@popcraft/kit 2.1.0 → 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-L57N62FZ.js +0 -44
  1740. package/dist/chunks/builtin-2KABFNKJ.js +0 -121
  1741. package/dist/chunks/buy-credits-BNT7BUBQ.js +0 -80
  1742. package/dist/chunks/check-template-F2AIQCWR.js +0 -2413
  1743. package/dist/chunks/chunk-23EQT3YT.js +0 -103
  1744. package/dist/chunks/chunk-24YJGWFP.js +0 -63
  1745. package/dist/chunks/chunk-25BU7QKN.js +0 -222
  1746. package/dist/chunks/chunk-27ID6EWM.js +0 -161
  1747. package/dist/chunks/chunk-27WRHBHR.js +0 -1419
  1748. package/dist/chunks/chunk-2B6XFKTD.js +0 -149
  1749. package/dist/chunks/chunk-2C44UWL7.js +0 -98
  1750. package/dist/chunks/chunk-2CVZZQ77.js +0 -177
  1751. package/dist/chunks/chunk-2DDGS4JR.js +0 -168
  1752. package/dist/chunks/chunk-2EP4Y3ZR.js +0 -140
  1753. package/dist/chunks/chunk-2GCXTBVP.js +0 -141
  1754. package/dist/chunks/chunk-2HL4K523.js +0 -190
  1755. package/dist/chunks/chunk-2IVJAP3S.js +0 -86
  1756. package/dist/chunks/chunk-2KJX2AYU.js +0 -358
  1757. package/dist/chunks/chunk-2KOY4OZI.js +0 -213
  1758. package/dist/chunks/chunk-2L5XIM27.js +0 -191
  1759. package/dist/chunks/chunk-2MFR7LZS.js +0 -163
  1760. package/dist/chunks/chunk-2OJKHVID.js +0 -114
  1761. package/dist/chunks/chunk-2OR5VTZJ.js +0 -183
  1762. package/dist/chunks/chunk-2Q72SLND.js +0 -127
  1763. package/dist/chunks/chunk-2QMULBWC.js +0 -118
  1764. package/dist/chunks/chunk-2RWIQ7ZV.js +0 -76
  1765. package/dist/chunks/chunk-2SMQA32Q.js +0 -23
  1766. package/dist/chunks/chunk-2SYNCD3E.js +0 -140
  1767. package/dist/chunks/chunk-2UGQQPVP.js +0 -202
  1768. package/dist/chunks/chunk-2UQV5WBR.js +0 -45
  1769. package/dist/chunks/chunk-2VAC2DIC.js +0 -110
  1770. package/dist/chunks/chunk-2VJCC4DS.js +0 -198
  1771. package/dist/chunks/chunk-2VRFV2SY.js +0 -187
  1772. package/dist/chunks/chunk-2X4WUAUU.js +0 -33
  1773. package/dist/chunks/chunk-2YHYZW5D.js +0 -304
  1774. package/dist/chunks/chunk-3366XKXD.js +0 -23
  1775. package/dist/chunks/chunk-33EGA4M2.js +0 -197
  1776. package/dist/chunks/chunk-36HIL573.js +0 -327
  1777. package/dist/chunks/chunk-36U775DB.js +0 -898
  1778. package/dist/chunks/chunk-37F3TGAY.js +0 -167
  1779. package/dist/chunks/chunk-37FVLRRA.js +0 -238
  1780. package/dist/chunks/chunk-37MI2LBT.js +0 -81
  1781. package/dist/chunks/chunk-3ARWQFIH.js +0 -182
  1782. package/dist/chunks/chunk-3BHDG5Q7.js +0 -33
  1783. package/dist/chunks/chunk-3CYZJBTI.js +0 -112
  1784. package/dist/chunks/chunk-3D5C5SES.js +0 -91
  1785. package/dist/chunks/chunk-3D5XIB6H.js +0 -131
  1786. package/dist/chunks/chunk-3DKCOLDX.js +0 -179
  1787. package/dist/chunks/chunk-3DTE7VN4.js +0 -320
  1788. package/dist/chunks/chunk-3EE54DGX.js +0 -141
  1789. package/dist/chunks/chunk-3F3NSBR4.js +0 -89
  1790. package/dist/chunks/chunk-3F5E3O24.js +0 -23
  1791. package/dist/chunks/chunk-3G7SP7H7.js +0 -270
  1792. package/dist/chunks/chunk-3HK3G7QF.js +0 -59
  1793. package/dist/chunks/chunk-3K5AMEAU.js +0 -106
  1794. package/dist/chunks/chunk-3KKLYFJZ.js +0 -50
  1795. package/dist/chunks/chunk-3MJCYL7Q.js +0 -23
  1796. package/dist/chunks/chunk-3MXJF7OK.js +0 -267
  1797. package/dist/chunks/chunk-3NWJGNLF.js +0 -130
  1798. package/dist/chunks/chunk-3P6TG2F2.js +0 -76
  1799. package/dist/chunks/chunk-3PCGFLHJ.js +0 -115
  1800. package/dist/chunks/chunk-3RMNCSHT.js +0 -23
  1801. package/dist/chunks/chunk-3SAZP7EB.js +0 -140
  1802. package/dist/chunks/chunk-3SEMWQL5.js +0 -81
  1803. package/dist/chunks/chunk-3SF6LQJV.js +0 -242
  1804. package/dist/chunks/chunk-3T7CEZRR.js +0 -283
  1805. package/dist/chunks/chunk-3UE2M3HR.js +0 -172
  1806. package/dist/chunks/chunk-3X2VTCA5.js +0 -111
  1807. package/dist/chunks/chunk-3Z7N3KOX.js +0 -164
  1808. package/dist/chunks/chunk-3ZG47UWM.js +0 -80
  1809. package/dist/chunks/chunk-436356RI.js +0 -23
  1810. package/dist/chunks/chunk-443F72IC.js +0 -115
  1811. package/dist/chunks/chunk-446GLKGT.js +0 -110
  1812. package/dist/chunks/chunk-44YIOHBS.js +0 -85
  1813. package/dist/chunks/chunk-45F34PK5.js +0 -152
  1814. package/dist/chunks/chunk-45L3JX3D.js +0 -162
  1815. package/dist/chunks/chunk-45M5GG4K.js +0 -115
  1816. package/dist/chunks/chunk-466KSVPU.js +0 -344
  1817. package/dist/chunks/chunk-475WW77M.js +0 -232
  1818. package/dist/chunks/chunk-4AHAIPVC.js +0 -137
  1819. package/dist/chunks/chunk-4AMIIAUE.js +0 -298
  1820. package/dist/chunks/chunk-4CDH7TNE.js +0 -213
  1821. package/dist/chunks/chunk-4IKLIYRT.js +0 -188
  1822. package/dist/chunks/chunk-4JIXPNSB.js +0 -145
  1823. package/dist/chunks/chunk-4MDXMSYZ.js +0 -198
  1824. package/dist/chunks/chunk-4NPTFZEN.js +0 -198
  1825. package/dist/chunks/chunk-4PB3IIU3.js +0 -157
  1826. package/dist/chunks/chunk-4PE43UMZ.js +0 -99
  1827. package/dist/chunks/chunk-4RFOITJV.js +0 -165
  1828. package/dist/chunks/chunk-4SQAX77J.js +0 -84
  1829. package/dist/chunks/chunk-4TYEHBHL.js +0 -119
  1830. package/dist/chunks/chunk-4U6ATIBZ.js +0 -183
  1831. package/dist/chunks/chunk-4USWHVCG.js +0 -226
  1832. package/dist/chunks/chunk-4UVCHDLI.js +0 -297
  1833. package/dist/chunks/chunk-4W7WJJ6L.js +0 -190
  1834. package/dist/chunks/chunk-4YAFHVVF.js +0 -150
  1835. package/dist/chunks/chunk-4ZCMXZ33.js +0 -71
  1836. package/dist/chunks/chunk-4ZKRPY3P.js +0 -198
  1837. package/dist/chunks/chunk-527KVYNG.js +0 -151
  1838. package/dist/chunks/chunk-527YLHVJ.js +0 -104
  1839. package/dist/chunks/chunk-52RHQ266.js +0 -54
  1840. package/dist/chunks/chunk-54MWJTPJ.js +0 -311
  1841. package/dist/chunks/chunk-55IAWUQA.js +0 -171
  1842. package/dist/chunks/chunk-55WWHNAA.js +0 -130
  1843. package/dist/chunks/chunk-562WOR75.js +0 -126
  1844. package/dist/chunks/chunk-56ASYOHT.js +0 -292
  1845. package/dist/chunks/chunk-56FBKSQK.js +0 -41
  1846. package/dist/chunks/chunk-56YGNP4E.js +0 -170
  1847. package/dist/chunks/chunk-5DOPCIMH.js +0 -105
  1848. package/dist/chunks/chunk-5F77YUYC.js +0 -169
  1849. package/dist/chunks/chunk-5FZW3SRJ.js +0 -121
  1850. package/dist/chunks/chunk-5H455FPZ.js +0 -141
  1851. package/dist/chunks/chunk-5ILYEJE5.js +0 -728
  1852. package/dist/chunks/chunk-5J447A34.js +0 -83
  1853. package/dist/chunks/chunk-5KEZLKGO.js +0 -149
  1854. package/dist/chunks/chunk-5MOXLB2I.js +0 -33
  1855. package/dist/chunks/chunk-5N5COPEV.js +0 -53
  1856. package/dist/chunks/chunk-5NCB7WW3.js +0 -265
  1857. package/dist/chunks/chunk-5P74WMHY.js +0 -646
  1858. package/dist/chunks/chunk-5RY53E3Y.js +0 -218
  1859. package/dist/chunks/chunk-5WJSZFSJ.js +0 -142
  1860. package/dist/chunks/chunk-5XTNFTBR.js +0 -206
  1861. package/dist/chunks/chunk-62TYHJ6K.js +0 -684
  1862. package/dist/chunks/chunk-62UIS5XR.js +0 -124
  1863. package/dist/chunks/chunk-63BO3FQ7.js +0 -33
  1864. package/dist/chunks/chunk-63HYUX3Q.js +0 -197
  1865. package/dist/chunks/chunk-63VZUML7.js +0 -60
  1866. package/dist/chunks/chunk-6AWMWDWA.js +0 -2168
  1867. package/dist/chunks/chunk-6B4JAY2W.js +0 -33
  1868. package/dist/chunks/chunk-6BE3XWLO.js +0 -100
  1869. package/dist/chunks/chunk-6BNWZYWY.js +0 -23
  1870. package/dist/chunks/chunk-6DR3QBEH.js +0 -77
  1871. package/dist/chunks/chunk-6EARDATI.js +0 -28
  1872. package/dist/chunks/chunk-6ELF5PMH.js +0 -106
  1873. package/dist/chunks/chunk-6FWJPVAL.js +0 -366
  1874. package/dist/chunks/chunk-6GLHCY5B.js +0 -165
  1875. package/dist/chunks/chunk-6GOU57JH.js +0 -146
  1876. package/dist/chunks/chunk-6JUZHOBC.js +0 -209
  1877. package/dist/chunks/chunk-6LBZP5B4.js +0 -178
  1878. package/dist/chunks/chunk-6MBXWZ23.js +0 -197
  1879. package/dist/chunks/chunk-6N345TTB.js +0 -71
  1880. package/dist/chunks/chunk-6NT6TCA6.js +0 -111
  1881. package/dist/chunks/chunk-6NYRYJMU.js +0 -156
  1882. package/dist/chunks/chunk-6P54IKJU.js +0 -108
  1883. package/dist/chunks/chunk-6RLHZ4IX.js +0 -218
  1884. package/dist/chunks/chunk-6SD7WKSA.js +0 -100
  1885. package/dist/chunks/chunk-6SLAJVFR.js +0 -79
  1886. package/dist/chunks/chunk-6SWSXV54.js +0 -33
  1887. package/dist/chunks/chunk-6UFZ2IFU.js +0 -303
  1888. package/dist/chunks/chunk-6UYYTF7R.js +0 -336
  1889. package/dist/chunks/chunk-6WM5IKKK.js +0 -327
  1890. package/dist/chunks/chunk-6YUWJI4V.js +0 -33
  1891. package/dist/chunks/chunk-73G3CA44.js +0 -244
  1892. package/dist/chunks/chunk-73PWNINK.js +0 -90
  1893. package/dist/chunks/chunk-73Q3ANID.js +0 -137
  1894. package/dist/chunks/chunk-74EW7MMH.js +0 -172
  1895. package/dist/chunks/chunk-74XW6H7Q.js +0 -225
  1896. package/dist/chunks/chunk-75JDGJX6.js +0 -164
  1897. package/dist/chunks/chunk-77KO73AY.js +0 -136
  1898. package/dist/chunks/chunk-77TYCDYZ.js +0 -273
  1899. package/dist/chunks/chunk-77X2INRY.js +0 -255
  1900. package/dist/chunks/chunk-7AIQ3766.js +0 -128
  1901. package/dist/chunks/chunk-7AQCLR3T.js +0 -135
  1902. package/dist/chunks/chunk-7EAMVCEY.js +0 -84
  1903. package/dist/chunks/chunk-7EAXOL3J.js +0 -251
  1904. package/dist/chunks/chunk-7F6FNLZJ.js +0 -200
  1905. package/dist/chunks/chunk-7GMBQZEJ.js +0 -77
  1906. package/dist/chunks/chunk-7IJYCN4J.js +0 -261
  1907. package/dist/chunks/chunk-7NDZX6ZP.js +0 -41
  1908. package/dist/chunks/chunk-7PDSQVZ2.js +0 -96
  1909. package/dist/chunks/chunk-7PFCX2T5.js +0 -103
  1910. package/dist/chunks/chunk-7Q2ZZDOJ.js +0 -94
  1911. package/dist/chunks/chunk-7S5T2JOZ.js +0 -777
  1912. package/dist/chunks/chunk-7TENYKN2.js +0 -305
  1913. package/dist/chunks/chunk-7U4EEQ7R.js +0 -155
  1914. package/dist/chunks/chunk-7VACVBGC.js +0 -278
  1915. package/dist/chunks/chunk-7VTT5NMJ.js +0 -396
  1916. package/dist/chunks/chunk-A2II46S3.js +0 -33
  1917. package/dist/chunks/chunk-A2QKWFWA.js +0 -78
  1918. package/dist/chunks/chunk-A54BETHP.js +0 -969
  1919. package/dist/chunks/chunk-A5BC5FHL.js +0 -96
  1920. package/dist/chunks/chunk-A5LFAGGU.js +0 -112
  1921. package/dist/chunks/chunk-A6ALZITN.js +0 -284
  1922. package/dist/chunks/chunk-A6MWA4EO.js +0 -263
  1923. package/dist/chunks/chunk-A772FXBX.js +0 -147
  1924. package/dist/chunks/chunk-A7FEZMUV.js +0 -324
  1925. package/dist/chunks/chunk-ABHM3F53.js +0 -23
  1926. package/dist/chunks/chunk-ABRM2TFM.js +0 -78
  1927. package/dist/chunks/chunk-ADIC4LXZ.js +0 -138
  1928. package/dist/chunks/chunk-AEERKA44.js +0 -261
  1929. package/dist/chunks/chunk-AEOAUONK.js +0 -153
  1930. package/dist/chunks/chunk-AGOWRFCT.js +0 -107
  1931. package/dist/chunks/chunk-AHLGDDI5.js +0 -135
  1932. package/dist/chunks/chunk-AHMLIU6O.js +0 -93
  1933. package/dist/chunks/chunk-AI3TCRSH.js +0 -23
  1934. package/dist/chunks/chunk-AIEH7TPB.js +0 -256
  1935. package/dist/chunks/chunk-AIM5WRA3.js +0 -55
  1936. package/dist/chunks/chunk-AJ5Y7PW7.js +0 -10311
  1937. package/dist/chunks/chunk-AKM6UVKN.js +0 -45
  1938. package/dist/chunks/chunk-AN5MDA7Z.js +0 -119
  1939. package/dist/chunks/chunk-ANHVQ5AI.js +0 -53
  1940. package/dist/chunks/chunk-AQR4BMVD.js +0 -115
  1941. package/dist/chunks/chunk-ARAVVAQR.js +0 -133
  1942. package/dist/chunks/chunk-ARTXYFQO.js +0 -103
  1943. package/dist/chunks/chunk-AS3NVW6H.js +0 -45
  1944. package/dist/chunks/chunk-ASSQJ7Q4.js +0 -152
  1945. package/dist/chunks/chunk-AV35ES3A.js +0 -110
  1946. package/dist/chunks/chunk-AVJGYJOW.js +0 -109
  1947. package/dist/chunks/chunk-AVUXEOUX.js +0 -36
  1948. package/dist/chunks/chunk-AWERCN74.js +0 -305
  1949. package/dist/chunks/chunk-AWXE6VKT.js +0 -247
  1950. package/dist/chunks/chunk-AWYSNGC7.js +0 -103
  1951. package/dist/chunks/chunk-AYK3WKFQ.js +0 -287
  1952. package/dist/chunks/chunk-AZIYKULR.js +0 -68
  1953. package/dist/chunks/chunk-B2MCR5VB.js +0 -135
  1954. package/dist/chunks/chunk-B2NBL65Y.js +0 -152
  1955. package/dist/chunks/chunk-B37W6AQ4.js +0 -166
  1956. package/dist/chunks/chunk-B3JKXKC6.js +0 -80
  1957. package/dist/chunks/chunk-B3VJYWZH.js +0 -23
  1958. package/dist/chunks/chunk-B5LKXJ2W.js +0 -117
  1959. package/dist/chunks/chunk-B76ZVIY3.js +0 -360
  1960. package/dist/chunks/chunk-B7FAPJAV.js +0 -209
  1961. package/dist/chunks/chunk-B7PUQ7RY.js +0 -123
  1962. package/dist/chunks/chunk-BACTZC6M.js +0 -60
  1963. package/dist/chunks/chunk-BAGLKRLU.js +0 -90
  1964. package/dist/chunks/chunk-BB3TFMS7.js +0 -126
  1965. package/dist/chunks/chunk-BBFAXEHY.js +0 -146
  1966. package/dist/chunks/chunk-BDMUDZDZ.js +0 -130
  1967. package/dist/chunks/chunk-BDP4H5PN.js +0 -346
  1968. package/dist/chunks/chunk-BELQNEI6.js +0 -102
  1969. package/dist/chunks/chunk-BGIIAO6O.js +0 -198
  1970. package/dist/chunks/chunk-BKHKQIBY.js +0 -390
  1971. package/dist/chunks/chunk-BKKBPYDK.js +0 -158
  1972. package/dist/chunks/chunk-BMJIDVLE.js +0 -105
  1973. package/dist/chunks/chunk-BMYCZ7N6.js +0 -33
  1974. package/dist/chunks/chunk-BNNSJFHF.js +0 -228
  1975. package/dist/chunks/chunk-BNZ6NX3J.js +0 -283
  1976. package/dist/chunks/chunk-BOFEB3S5.js +0 -72
  1977. package/dist/chunks/chunk-BS3AKYPM.js +0 -84
  1978. package/dist/chunks/chunk-BSAHX5K7.js +0 -155
  1979. package/dist/chunks/chunk-BTNZPBQA.js +0 -45
  1980. package/dist/chunks/chunk-BUSENYGS.js +0 -23
  1981. package/dist/chunks/chunk-BVOADK5F.js +0 -261
  1982. package/dist/chunks/chunk-BVUM3ZHH.js +0 -100
  1983. package/dist/chunks/chunk-BWRADAOB.js +0 -391
  1984. package/dist/chunks/chunk-BXASUM6E.js +0 -23
  1985. package/dist/chunks/chunk-C3U2LD4H.js +0 -192
  1986. package/dist/chunks/chunk-C7CETYDS.js +0 -105
  1987. package/dist/chunks/chunk-C7VSPLVR.js +0 -251
  1988. package/dist/chunks/chunk-CAPB75TX.js +0 -156
  1989. package/dist/chunks/chunk-CAQTHUVN.js +0 -97
  1990. package/dist/chunks/chunk-CBMHGM2Q.js +0 -97
  1991. package/dist/chunks/chunk-CGHFGGLB.js +0 -84
  1992. package/dist/chunks/chunk-CHLT3ZU2.js +0 -118
  1993. package/dist/chunks/chunk-CI2LWHBN.js +0 -182
  1994. package/dist/chunks/chunk-CIRYNUZX.js +0 -171
  1995. package/dist/chunks/chunk-CJIPUYHG.js +0 -23
  1996. package/dist/chunks/chunk-CKCDQQH5.js +0 -97
  1997. package/dist/chunks/chunk-CMELXFQH.js +0 -133
  1998. package/dist/chunks/chunk-CMLGTPBE.js +0 -134
  1999. package/dist/chunks/chunk-CMRWSH5S.js +0 -166
  2000. package/dist/chunks/chunk-CNIZBQOT.js +0 -138
  2001. package/dist/chunks/chunk-COG4JNCC.js +0 -204
  2002. package/dist/chunks/chunk-COPPAUGS.js +0 -220
  2003. package/dist/chunks/chunk-CSKFPM5M.js +0 -106
  2004. package/dist/chunks/chunk-CSU54NQN.js +0 -36
  2005. package/dist/chunks/chunk-CVDA5FBN.js +0 -274
  2006. package/dist/chunks/chunk-CVG3NKLN.js +0 -232
  2007. package/dist/chunks/chunk-CXIW2O2Z.js +0 -77
  2008. package/dist/chunks/chunk-CXIZIYCI.js +0 -169
  2009. package/dist/chunks/chunk-CYAGVOKE.js +0 -87
  2010. package/dist/chunks/chunk-CYBVSKUR.js +0 -74
  2011. package/dist/chunks/chunk-CYNBIOBN.js +0 -53
  2012. package/dist/chunks/chunk-D2CJNWPW.js +0 -200
  2013. package/dist/chunks/chunk-D2GXASDO.js +0 -95
  2014. package/dist/chunks/chunk-D5YFHJST.js +0 -358
  2015. package/dist/chunks/chunk-D6IUY2FJ.js +0 -57
  2016. package/dist/chunks/chunk-DALVFOMJ.js +0 -86
  2017. package/dist/chunks/chunk-DE6LKZM6.js +0 -315
  2018. package/dist/chunks/chunk-DEPTFLN7.js +0 -170
  2019. package/dist/chunks/chunk-DFQJSIOV.js +0 -93
  2020. package/dist/chunks/chunk-DICD6Y3F.js +0 -46
  2021. package/dist/chunks/chunk-DKDMOMTU.js +0 -262
  2022. package/dist/chunks/chunk-DLGXZLSF.js +0 -172
  2023. package/dist/chunks/chunk-DNVFKCEZ.js +0 -23
  2024. package/dist/chunks/chunk-DNW3GK2V.js +0 -131
  2025. package/dist/chunks/chunk-DOVDYQPX.js +0 -266
  2026. package/dist/chunks/chunk-DOW7CALZ.js +0 -262
  2027. package/dist/chunks/chunk-DOYLYIOF.js +0 -123
  2028. package/dist/chunks/chunk-DRJQIBIN.js +0 -33
  2029. package/dist/chunks/chunk-DRSXECDF.js +0 -362
  2030. package/dist/chunks/chunk-DSDKJGZC.js +0 -87
  2031. package/dist/chunks/chunk-DUGRLZJG.js +0 -45
  2032. package/dist/chunks/chunk-DXCI2QR5.js +0 -71
  2033. package/dist/chunks/chunk-DYE425FJ.js +0 -200
  2034. package/dist/chunks/chunk-DYOPC6WI.js +0 -69
  2035. package/dist/chunks/chunk-E3HRYAFV.js +0 -23
  2036. package/dist/chunks/chunk-E3MWW2AV.js +0 -129
  2037. package/dist/chunks/chunk-EBUARYNF.js +0 -99
  2038. package/dist/chunks/chunk-EEDFR6IY.js +0 -242
  2039. package/dist/chunks/chunk-EJKVQYZI.js +0 -84
  2040. package/dist/chunks/chunk-EKYCEBO6.js +0 -260
  2041. package/dist/chunks/chunk-EPSIBYH7.js +0 -97
  2042. package/dist/chunks/chunk-ERTXON23.js +0 -277
  2043. package/dist/chunks/chunk-ESYCK7MX.js +0 -106
  2044. package/dist/chunks/chunk-ETQ4UWBY.js +0 -149
  2045. package/dist/chunks/chunk-ETSV4MHT.js +0 -114
  2046. package/dist/chunks/chunk-EVSQN45Z.js +0 -45
  2047. package/dist/chunks/chunk-EWJNEX67.js +0 -172
  2048. package/dist/chunks/chunk-EXTWUWAV.js +0 -30
  2049. package/dist/chunks/chunk-EZTBQMGZ.js +0 -180
  2050. package/dist/chunks/chunk-F2I2HTKK.js +0 -10754
  2051. package/dist/chunks/chunk-F2ISC4T3.js +0 -100
  2052. package/dist/chunks/chunk-F3RYQDXD.js +0 -177
  2053. package/dist/chunks/chunk-F57LCW67.js +0 -49
  2054. package/dist/chunks/chunk-F7AWOELA.js +0 -51
  2055. package/dist/chunks/chunk-F7RUX4R4.js +0 -135
  2056. package/dist/chunks/chunk-F7VMGDBP.js +0 -36
  2057. package/dist/chunks/chunk-FAIT7PJD.js +0 -33
  2058. package/dist/chunks/chunk-FAV5FMPV.js +0 -33
  2059. package/dist/chunks/chunk-FBEOYADR.js +0 -299
  2060. package/dist/chunks/chunk-FFGPL4GA.js +0 -497
  2061. package/dist/chunks/chunk-FHAOI4AG.js +0 -95
  2062. package/dist/chunks/chunk-FJG7GQ55.js +0 -220
  2063. package/dist/chunks/chunk-FJRX6YVS.js +0 -84
  2064. package/dist/chunks/chunk-FKSUNOG7.js +0 -77
  2065. package/dist/chunks/chunk-FLGPHEYX.js +0 -247
  2066. package/dist/chunks/chunk-FLYTHZWB.js +0 -181
  2067. package/dist/chunks/chunk-FM3YTNFF.js +0 -91
  2068. package/dist/chunks/chunk-FMA3R3ZM.js +0 -112
  2069. package/dist/chunks/chunk-FMGARITO.js +0 -152
  2070. package/dist/chunks/chunk-FNMGU7FR.js +0 -185
  2071. package/dist/chunks/chunk-FOQ2I2J2.js +0 -115
  2072. package/dist/chunks/chunk-FPPSE3T2.js +0 -160
  2073. package/dist/chunks/chunk-FRTQRPOM.js +0 -120
  2074. package/dist/chunks/chunk-FSXH7HDN.js +0 -208
  2075. package/dist/chunks/chunk-FW43K5J3.js +0 -184
  2076. package/dist/chunks/chunk-FYHVJ33S.js +0 -215
  2077. package/dist/chunks/chunk-FZKV6Z4A.js +0 -23
  2078. package/dist/chunks/chunk-G4I3IZBF.js +0 -130
  2079. package/dist/chunks/chunk-GAUENCLM.js +0 -112
  2080. package/dist/chunks/chunk-GBC7GQIK.js +0 -141
  2081. package/dist/chunks/chunk-GCAHASQX.js +0 -94
  2082. package/dist/chunks/chunk-GEL2RQK7.js +0 -150
  2083. package/dist/chunks/chunk-GFOLX7HF.js +0 -147
  2084. package/dist/chunks/chunk-GGRDK46S.js +0 -118
  2085. package/dist/chunks/chunk-GGUNE6OO.js +0 -108
  2086. package/dist/chunks/chunk-GHJTAIBK.js +0 -224
  2087. package/dist/chunks/chunk-GJAKDJH7.js +0 -157
  2088. package/dist/chunks/chunk-GK5JEV7Y.js +0 -45
  2089. package/dist/chunks/chunk-GK5UTF75.js +0 -195
  2090. package/dist/chunks/chunk-GKLT6KVR.js +0 -209
  2091. package/dist/chunks/chunk-GL5OYC77.js +0 -108
  2092. package/dist/chunks/chunk-GLFZOUJS.js +0 -125
  2093. package/dist/chunks/chunk-GPJHX5QY.js +0 -147
  2094. package/dist/chunks/chunk-GXBJNKWN.js +0 -168
  2095. package/dist/chunks/chunk-GXFAKW6Q.js +0 -78
  2096. package/dist/chunks/chunk-GZGIVW67.js +0 -154
  2097. package/dist/chunks/chunk-H3R4M6PS.js +0 -106
  2098. package/dist/chunks/chunk-H4ZU57HZ.js +0 -106
  2099. package/dist/chunks/chunk-H5QFA2U6.js +0 -159
  2100. package/dist/chunks/chunk-H5X4XBUC.js +0 -329
  2101. package/dist/chunks/chunk-HASFO4AV.js +0 -92
  2102. package/dist/chunks/chunk-HCGTMLND.js +0 -144
  2103. package/dist/chunks/chunk-HFBDMBLL.js +0 -73
  2104. package/dist/chunks/chunk-HFOZVQI5.js +0 -97
  2105. package/dist/chunks/chunk-HGN7BFAH.js +0 -99
  2106. package/dist/chunks/chunk-HH4FCRMK.js +0 -79
  2107. package/dist/chunks/chunk-HHEVIBXH.js +0 -266
  2108. package/dist/chunks/chunk-HKLRQJZG.js +0 -85
  2109. package/dist/chunks/chunk-HNSIM3ZI.js +0 -45
  2110. package/dist/chunks/chunk-HNXHUXW4.js +0 -176
  2111. package/dist/chunks/chunk-HOHQLFVP.js +0 -106
  2112. package/dist/chunks/chunk-HP7GXMD5.js +0 -63
  2113. package/dist/chunks/chunk-HPN4EOPF.js +0 -80
  2114. package/dist/chunks/chunk-HQFCHINA.js +0 -23
  2115. package/dist/chunks/chunk-HQUWHYZ4.js +0 -113
  2116. package/dist/chunks/chunk-HRNNQA2M.js +0 -159
  2117. package/dist/chunks/chunk-HTSI5OCD.js +0 -89
  2118. package/dist/chunks/chunk-HUCUBWB5.js +0 -45
  2119. package/dist/chunks/chunk-HVO2CLKU.js +0 -224
  2120. package/dist/chunks/chunk-HW2YJSZE.js +0 -30
  2121. package/dist/chunks/chunk-HWFLDKO6.js +0 -54
  2122. package/dist/chunks/chunk-HXEJXBFU.js +0 -198
  2123. package/dist/chunks/chunk-HZ7WQ3NT.js +0 -155
  2124. package/dist/chunks/chunk-HZWZDRFE.js +0 -86
  2125. package/dist/chunks/chunk-I235BG2Y.js +0 -77
  2126. package/dist/chunks/chunk-I3LCAEMF.js +0 -139
  2127. package/dist/chunks/chunk-I65VNWAA.js +0 -39
  2128. package/dist/chunks/chunk-I6ZVGGEU.js +0 -191
  2129. package/dist/chunks/chunk-I7TNXMFI.js +0 -62
  2130. package/dist/chunks/chunk-I7XEPKV6.js +0 -33
  2131. package/dist/chunks/chunk-IBLTKSLM.js +0 -30
  2132. package/dist/chunks/chunk-ICOSLTTT.js +0 -149
  2133. package/dist/chunks/chunk-ICSQ27FK.js +0 -154
  2134. package/dist/chunks/chunk-IE4QYA2P.js +0 -848
  2135. package/dist/chunks/chunk-IFERMYSH.js +0 -23
  2136. package/dist/chunks/chunk-IFI4EKT2.js +0 -304
  2137. package/dist/chunks/chunk-IIZQW3MK.js +0 -214
  2138. package/dist/chunks/chunk-ILCG7SVE.js +0 -74
  2139. package/dist/chunks/chunk-IO5H2QNX.js +0 -210
  2140. package/dist/chunks/chunk-IQ5562DC.js +0 -102
  2141. package/dist/chunks/chunk-IQ74IY22.js +0 -105
  2142. package/dist/chunks/chunk-IQH3SDBQ.js +0 -66
  2143. package/dist/chunks/chunk-IRUI55KL.js +0 -180
  2144. package/dist/chunks/chunk-ITYEIWQA.js +0 -133
  2145. package/dist/chunks/chunk-IUQBFAFZ.js +0 -100
  2146. package/dist/chunks/chunk-IUSRL6KN.js +0 -276
  2147. package/dist/chunks/chunk-IWIDO62I.js +0 -91
  2148. package/dist/chunks/chunk-IWLP6HLX.js +0 -312
  2149. package/dist/chunks/chunk-IX7S5TYR.js +0 -199
  2150. package/dist/chunks/chunk-J47B3TOF.js +0 -95
  2151. package/dist/chunks/chunk-J6CPQE65.js +0 -181
  2152. package/dist/chunks/chunk-J7AD65WM.js +0 -258
  2153. package/dist/chunks/chunk-J7TVHDFH.js +0 -169
  2154. package/dist/chunks/chunk-JALF2HB6.js +0 -1309
  2155. package/dist/chunks/chunk-JAYL2CDE.js +0 -193
  2156. package/dist/chunks/chunk-JC32ZGA3.js +0 -117
  2157. package/dist/chunks/chunk-JCKJ2VA3.js +0 -156
  2158. package/dist/chunks/chunk-JFVFPYDM.js +0 -153
  2159. package/dist/chunks/chunk-JJGHJPDG.js +0 -83
  2160. package/dist/chunks/chunk-JKJM4YWI.js +0 -47
  2161. package/dist/chunks/chunk-JLR4VIZR.js +0 -23
  2162. package/dist/chunks/chunk-JM7GPEVA.js +0 -42
  2163. package/dist/chunks/chunk-JP4AVA6V.js +0 -87
  2164. package/dist/chunks/chunk-JPPFX73K.js +0 -66
  2165. package/dist/chunks/chunk-JRA3NR3O.js +0 -156
  2166. package/dist/chunks/chunk-JROOJJKI.js +0 -290
  2167. package/dist/chunks/chunk-JSFRELJM.js +0 -195
  2168. package/dist/chunks/chunk-JV32Z3O6.js +0 -261
  2169. package/dist/chunks/chunk-JVDVSHC4.js +0 -93
  2170. package/dist/chunks/chunk-JVMTB34G.js +0 -23
  2171. package/dist/chunks/chunk-JW3QESLW.js +0 -23
  2172. package/dist/chunks/chunk-JWJXYLAO.js +0 -85
  2173. package/dist/chunks/chunk-JWVR2ENG.js +0 -146
  2174. package/dist/chunks/chunk-JZWRNDN3.js +0 -163
  2175. package/dist/chunks/chunk-K256KDZR.js +0 -81
  2176. package/dist/chunks/chunk-K47ZLTWU.js +0 -85
  2177. package/dist/chunks/chunk-K5D6V26P.js +0 -150
  2178. package/dist/chunks/chunk-K7BL7HYE.js +0 -101
  2179. package/dist/chunks/chunk-K7IU4C3L.js +0 -60
  2180. package/dist/chunks/chunk-KALLICLA.js +0 -23
  2181. package/dist/chunks/chunk-KAPR37X3.js +0 -121
  2182. package/dist/chunks/chunk-KB4HZY5J.js +0 -139
  2183. package/dist/chunks/chunk-KBN3WON2.js +0 -41
  2184. package/dist/chunks/chunk-KCQKXKRH.js +0 -70
  2185. package/dist/chunks/chunk-KCUEDG74.js +0 -74
  2186. package/dist/chunks/chunk-KDLFRCNM.js +0 -92
  2187. package/dist/chunks/chunk-KFQMFIK7.js +0 -33
  2188. package/dist/chunks/chunk-KGGMNSOQ.js +0 -107
  2189. package/dist/chunks/chunk-KGLKPAQJ.js +0 -111
  2190. package/dist/chunks/chunk-KHYJ6VBK.js +0 -96
  2191. package/dist/chunks/chunk-KKCEOGOU.js +0 -559
  2192. package/dist/chunks/chunk-KLZ5ANNR.js +0 -143
  2193. package/dist/chunks/chunk-KNJX2DKW.js +0 -44
  2194. package/dist/chunks/chunk-KNZBC77A.js +0 -100
  2195. package/dist/chunks/chunk-KPCIQROU.js +0 -93
  2196. package/dist/chunks/chunk-KPGWERVG.js +0 -23
  2197. package/dist/chunks/chunk-KQPSREFX.js +0 -33
  2198. package/dist/chunks/chunk-KS5CW6OV.js +0 -422
  2199. package/dist/chunks/chunk-KSFMBMCL.js +0 -79
  2200. package/dist/chunks/chunk-KSH7TLY5.js +0 -270
  2201. package/dist/chunks/chunk-KUEURX6J.js +0 -128
  2202. package/dist/chunks/chunk-KVDFKMKA.js +0 -685
  2203. package/dist/chunks/chunk-KWYE2JZM.js +0 -36
  2204. package/dist/chunks/chunk-KX3EQNHD.js +0 -331
  2205. package/dist/chunks/chunk-KXJGE4OO.js +0 -92
  2206. package/dist/chunks/chunk-KZ3RR4BG.js +0 -196
  2207. package/dist/chunks/chunk-KZJFBCDR.js +0 -172
  2208. package/dist/chunks/chunk-L2XSWVGX.js +0 -149
  2209. package/dist/chunks/chunk-L3O4SFYP.js +0 -334
  2210. package/dist/chunks/chunk-L4YCEEHU.js +0 -107
  2211. package/dist/chunks/chunk-L5UOCTLA.js +0 -23
  2212. package/dist/chunks/chunk-L7T35GA3.js +0 -146
  2213. package/dist/chunks/chunk-LBQPLZIV.js +0 -77
  2214. package/dist/chunks/chunk-LD2LMEBC.js +0 -279
  2215. package/dist/chunks/chunk-LD2NJHI6.js +0 -151
  2216. package/dist/chunks/chunk-LDOH5AH3.js +0 -151
  2217. package/dist/chunks/chunk-LF4U3RSY.js +0 -23
  2218. package/dist/chunks/chunk-LGHZF7KF.js +0 -368
  2219. package/dist/chunks/chunk-LH4HB44D.js +0 -45
  2220. package/dist/chunks/chunk-LIZE4A6Y.js +0 -120
  2221. package/dist/chunks/chunk-LK5EF2GV.js +0 -97
  2222. package/dist/chunks/chunk-LKKECKBE.js +0 -252
  2223. package/dist/chunks/chunk-LL6FUGXR.js +0 -1307
  2224. package/dist/chunks/chunk-LO6APKYY.js +0 -79
  2225. package/dist/chunks/chunk-LPLCNB3K.js +0 -48
  2226. package/dist/chunks/chunk-LQY5L6BY.js +0 -36
  2227. package/dist/chunks/chunk-LRE6BP35.js +0 -61
  2228. package/dist/chunks/chunk-LRTAPXXA.js +0 -97
  2229. package/dist/chunks/chunk-LSPX7TNM.js +0 -48
  2230. package/dist/chunks/chunk-LTG46B4G.js +0 -166
  2231. package/dist/chunks/chunk-LUHMDGL6.js +0 -77
  2232. package/dist/chunks/chunk-LULYWIOA.js +0 -41
  2233. package/dist/chunks/chunk-LVURHSP7.js +0 -111
  2234. package/dist/chunks/chunk-LWTSXSJ3.js +0 -176
  2235. package/dist/chunks/chunk-LXP2D7CA.js +0 -224
  2236. package/dist/chunks/chunk-LXRPLSRJ.js +0 -33
  2237. package/dist/chunks/chunk-LYQ2IV4W.js +0 -184
  2238. package/dist/chunks/chunk-M22KU3ZF.js +0 -79
  2239. package/dist/chunks/chunk-M2DMD7J2.js +0 -55
  2240. package/dist/chunks/chunk-MAVOP7BR.js +0 -1393
  2241. package/dist/chunks/chunk-MB7QV3S6.js +0 -226
  2242. package/dist/chunks/chunk-MBORBNFW.js +0 -157
  2243. package/dist/chunks/chunk-MBSCUH7L.js +0 -131
  2244. package/dist/chunks/chunk-MCZUCVKX.js +0 -160
  2245. package/dist/chunks/chunk-MGQMH7VC.js +0 -98
  2246. package/dist/chunks/chunk-MKCPA7KX.js +0 -1469
  2247. package/dist/chunks/chunk-MLRT7JJH.js +0 -133
  2248. package/dist/chunks/chunk-MN2DEX7T.js +0 -130
  2249. package/dist/chunks/chunk-MOOBNQNC.js +0 -150
  2250. package/dist/chunks/chunk-MOSFIK3G.js +0 -1136
  2251. package/dist/chunks/chunk-MQ6VKN7E.js +0 -23
  2252. package/dist/chunks/chunk-MQQDYTNL.js +0 -303
  2253. package/dist/chunks/chunk-MT2UVIWY.js +0 -136
  2254. package/dist/chunks/chunk-MVZPHOQJ.js +0 -124
  2255. package/dist/chunks/chunk-MWN7U25E.js +0 -104
  2256. package/dist/chunks/chunk-MX2O2WQO.js +0 -23
  2257. package/dist/chunks/chunk-MX5USRYA.js +0 -94
  2258. package/dist/chunks/chunk-MYWMQKCM.js +0 -83
  2259. package/dist/chunks/chunk-MZVLPRJI.js +0 -181
  2260. package/dist/chunks/chunk-MZYZLMYW.js +0 -150
  2261. package/dist/chunks/chunk-N3NSL7RL.js +0 -512
  2262. package/dist/chunks/chunk-N4VOVUIO.js +0 -129
  2263. package/dist/chunks/chunk-N52THCKE.js +0 -209
  2264. package/dist/chunks/chunk-N5W7TP7G.js +0 -122
  2265. package/dist/chunks/chunk-N7YEDUCG.js +0 -83
  2266. package/dist/chunks/chunk-NCR76XK7.js +0 -86
  2267. package/dist/chunks/chunk-NEI2DK3F.js +0 -122
  2268. package/dist/chunks/chunk-NFHEFVDH.js +0 -122
  2269. package/dist/chunks/chunk-NH2BXCQC.js +0 -90
  2270. package/dist/chunks/chunk-NIZ2XIJR.js +0 -197
  2271. package/dist/chunks/chunk-NJGM46N6.js +0 -170
  2272. package/dist/chunks/chunk-NK2QYBQN.js +0 -194
  2273. package/dist/chunks/chunk-NKOY3RUR.js +0 -191
  2274. package/dist/chunks/chunk-NMEPZLVP.js +0 -47
  2275. package/dist/chunks/chunk-NO2NAGMK.js +0 -209
  2276. package/dist/chunks/chunk-NOFDCJJO.js +0 -337
  2277. package/dist/chunks/chunk-NTVCHQOC.js +0 -293
  2278. package/dist/chunks/chunk-NUN36SFJ.js +0 -1834
  2279. package/dist/chunks/chunk-NVRA6J7C.js +0 -174
  2280. package/dist/chunks/chunk-NVSCPDTD.js +0 -151
  2281. package/dist/chunks/chunk-NX5F3UG7.js +0 -36
  2282. package/dist/chunks/chunk-O3645Y3R.js +0 -88
  2283. package/dist/chunks/chunk-O3KKTSMP.js +0 -178
  2284. package/dist/chunks/chunk-O3KYW23W.js +0 -70
  2285. package/dist/chunks/chunk-O3TZQ7RP.js +0 -119
  2286. package/dist/chunks/chunk-O5EHLUV7.js +0 -122
  2287. package/dist/chunks/chunk-OBEZO3KR.js +0 -55
  2288. package/dist/chunks/chunk-OCZ6KE5C.js +0 -272
  2289. package/dist/chunks/chunk-OEJNOVWX.js +0 -90
  2290. package/dist/chunks/chunk-OENSTQVK.js +0 -23
  2291. package/dist/chunks/chunk-OF32O4KG.js +0 -45
  2292. package/dist/chunks/chunk-OGI4CBVH.js +0 -150
  2293. package/dist/chunks/chunk-OGWLIR3U.js +0 -80
  2294. package/dist/chunks/chunk-OGWYVANH.js +0 -102
  2295. package/dist/chunks/chunk-OII55UKI.js +0 -226
  2296. package/dist/chunks/chunk-OIU3UN3R.js +0 -104
  2297. package/dist/chunks/chunk-OJJAE7BH.js +0 -98
  2298. package/dist/chunks/chunk-OJNXWYCJ.js +0 -94
  2299. package/dist/chunks/chunk-OJYMDMLY.js +0 -109
  2300. package/dist/chunks/chunk-OKCREPZO.js +0 -179
  2301. package/dist/chunks/chunk-OLG4NXUL.js +0 -155
  2302. package/dist/chunks/chunk-OOADUHA4.js +0 -225
  2303. package/dist/chunks/chunk-OQDIZDTP.js +0 -655
  2304. package/dist/chunks/chunk-OQHXUNQP.js +0 -23
  2305. package/dist/chunks/chunk-ORXCRCAW.js +0 -134
  2306. package/dist/chunks/chunk-OSIV3QKN.js +0 -221
  2307. package/dist/chunks/chunk-OT27PPNK.js +0 -92
  2308. package/dist/chunks/chunk-OU44LR2F.js +0 -42
  2309. package/dist/chunks/chunk-OU4FY5OY.js +0 -257
  2310. package/dist/chunks/chunk-OVWFMMCN.js +0 -136
  2311. package/dist/chunks/chunk-OWO4CC7W.js +0 -320
  2312. package/dist/chunks/chunk-OX5TN2WK.js +0 -164
  2313. package/dist/chunks/chunk-OXMBHTMI.js +0 -93
  2314. package/dist/chunks/chunk-OXQUTBAP.js +0 -78
  2315. package/dist/chunks/chunk-OYSOVYC7.js +0 -889
  2316. package/dist/chunks/chunk-OYVDJGVU.js +0 -589
  2317. package/dist/chunks/chunk-P3KC3MBY.js +0 -149
  2318. package/dist/chunks/chunk-P4PROG2O.js +0 -95
  2319. package/dist/chunks/chunk-P4QCOWSL.js +0 -101
  2320. package/dist/chunks/chunk-P5JHH2TZ.js +0 -94
  2321. package/dist/chunks/chunk-PCG7JS4H.js +0 -23
  2322. package/dist/chunks/chunk-PDQBN3FK.js +0 -103
  2323. package/dist/chunks/chunk-PHCWOHO5.js +0 -287
  2324. package/dist/chunks/chunk-PIUMJL2T.js +0 -125
  2325. package/dist/chunks/chunk-PMQ6LZZP.js +0 -192
  2326. package/dist/chunks/chunk-PNFJKB7J.js +0 -33
  2327. package/dist/chunks/chunk-PNK5JFD2.js +0 -122
  2328. package/dist/chunks/chunk-PPBOR6QN.js +0 -145
  2329. package/dist/chunks/chunk-PSNVRGK3.js +0 -23
  2330. package/dist/chunks/chunk-PSO4LEQJ.js +0 -169
  2331. package/dist/chunks/chunk-PUMNICD5.js +0 -179
  2332. package/dist/chunks/chunk-PVCN5UXN.js +0 -94
  2333. package/dist/chunks/chunk-PVKEEVSE.js +0 -95
  2334. package/dist/chunks/chunk-PW5IIUPA.js +0 -82
  2335. package/dist/chunks/chunk-PZTKJMMA.js +0 -33
  2336. package/dist/chunks/chunk-Q3BHR3JE.js +0 -90
  2337. package/dist/chunks/chunk-Q4MB3XEH.js +0 -231
  2338. package/dist/chunks/chunk-QDKSA73E.js +0 -109
  2339. package/dist/chunks/chunk-QDRLNWV4.js +0 -361
  2340. package/dist/chunks/chunk-QFHK7SXF.js +0 -160
  2341. package/dist/chunks/chunk-QGMNJLHN.js +0 -45
  2342. package/dist/chunks/chunk-QGTR4Q5T.js +0 -65
  2343. package/dist/chunks/chunk-QHJMB64R.js +0 -167
  2344. package/dist/chunks/chunk-QJZ6Q4AN.js +0 -237
  2345. package/dist/chunks/chunk-QKJDNOY5.js +0 -178
  2346. package/dist/chunks/chunk-QLGYTO2J.js +0 -88
  2347. package/dist/chunks/chunk-QMIVI6FX.js +0 -119
  2348. package/dist/chunks/chunk-QMTGZQR2.js +0 -161
  2349. package/dist/chunks/chunk-QMXRX5PA.js +0 -180
  2350. package/dist/chunks/chunk-QNGWZBIA.js +0 -147
  2351. package/dist/chunks/chunk-QNQ5WOXD.js +0 -187
  2352. package/dist/chunks/chunk-QOWKJTJL.js +0 -95
  2353. package/dist/chunks/chunk-QPLOMMMA.js +0 -301
  2354. package/dist/chunks/chunk-QQBKZG4U.js +0 -159
  2355. package/dist/chunks/chunk-QWMTPVAK.js +0 -239
  2356. package/dist/chunks/chunk-QZ43Y2C3.js +0 -108
  2357. package/dist/chunks/chunk-QZ5RSJBP.js +0 -140
  2358. package/dist/chunks/chunk-QZSJTTTL.js +0 -121
  2359. package/dist/chunks/chunk-R26VRQ5K.js +0 -163
  2360. package/dist/chunks/chunk-R3ZKSZEC.js +0 -110
  2361. package/dist/chunks/chunk-R43IQYWX.js +0 -30
  2362. package/dist/chunks/chunk-R62G6PVX.js +0 -128
  2363. package/dist/chunks/chunk-RAW3VIAA.js +0 -189
  2364. package/dist/chunks/chunk-RBSXSQOC.js +0 -152
  2365. package/dist/chunks/chunk-REXO5IA3.js +0 -44
  2366. package/dist/chunks/chunk-RH3QFVUG.js +0 -142
  2367. package/dist/chunks/chunk-RHGA4ZTG.js +0 -120
  2368. package/dist/chunks/chunk-RHUEQEAB.js +0 -97
  2369. package/dist/chunks/chunk-RKN2TBKN.js +0 -122
  2370. package/dist/chunks/chunk-RKP4ORYG.js +0 -33
  2371. package/dist/chunks/chunk-RKQIVE7D.js +0 -145
  2372. package/dist/chunks/chunk-RNCFS36M.js +0 -192
  2373. package/dist/chunks/chunk-RPK2HCAU.js +0 -95
  2374. package/dist/chunks/chunk-RPML6ANX.js +0 -187
  2375. package/dist/chunks/chunk-RRQHIO2L.js +0 -106
  2376. package/dist/chunks/chunk-RS65S54J.js +0 -120
  2377. package/dist/chunks/chunk-RSQR2PPT.js +0 -361
  2378. package/dist/chunks/chunk-RTK7HBLR.js +0 -100
  2379. package/dist/chunks/chunk-RUAU46IK.js +0 -49
  2380. package/dist/chunks/chunk-RVSWU6AR.js +0 -33
  2381. package/dist/chunks/chunk-RW23SLY3.js +0 -1845
  2382. package/dist/chunks/chunk-RWMLOVOC.js +0 -47
  2383. package/dist/chunks/chunk-RX3MTB5T.js +0 -23
  2384. package/dist/chunks/chunk-RZD2UYNQ.js +0 -70
  2385. package/dist/chunks/chunk-S4PDPSAH.js +0 -157
  2386. package/dist/chunks/chunk-S6THITKM.js +0 -146
  2387. package/dist/chunks/chunk-S7W77KFC.js +0 -71
  2388. package/dist/chunks/chunk-SGZJW4E4.js +0 -153
  2389. package/dist/chunks/chunk-SH7M4HGP.js +0 -115
  2390. package/dist/chunks/chunk-SHHJFEBG.js +0 -108
  2391. package/dist/chunks/chunk-SHHYLEBU.js +0 -166
  2392. package/dist/chunks/chunk-SJNGWZIR.js +0 -366
  2393. package/dist/chunks/chunk-SJWHNPI4.js +0 -82
  2394. package/dist/chunks/chunk-SN5ZWWDN.js +0 -118
  2395. package/dist/chunks/chunk-SPIXSUIC.js +0 -118
  2396. package/dist/chunks/chunk-ST7FXDY2.js +0 -36
  2397. package/dist/chunks/chunk-SU2Z5BH3.js +0 -112
  2398. package/dist/chunks/chunk-SWK7F6TT.js +0 -80
  2399. package/dist/chunks/chunk-SX2IYGA4.js +0 -73
  2400. package/dist/chunks/chunk-SXZCNCIR.js +0 -410
  2401. package/dist/chunks/chunk-SZBYVYIB.js +0 -201
  2402. package/dist/chunks/chunk-SZVFDTQJ.js +0 -165
  2403. package/dist/chunks/chunk-T4R3Y4CH.js +0 -161
  2404. package/dist/chunks/chunk-T5JOVCL6.js +0 -78
  2405. package/dist/chunks/chunk-T6IF4UIJ.js +0 -152
  2406. package/dist/chunks/chunk-T6XWJ2RZ.js +0 -45
  2407. package/dist/chunks/chunk-TA5VCADA.js +0 -230
  2408. package/dist/chunks/chunk-TAKQJXGE.js +0 -97
  2409. package/dist/chunks/chunk-TBH64O2A.js +0 -153
  2410. package/dist/chunks/chunk-TBINMUOD.js +0 -105
  2411. package/dist/chunks/chunk-TBQV4FX3.js +0 -234
  2412. package/dist/chunks/chunk-TD6HPWWN.js +0 -23
  2413. package/dist/chunks/chunk-TDA6F3TK.js +0 -212
  2414. package/dist/chunks/chunk-TDBWZARG.js +0 -75
  2415. package/dist/chunks/chunk-TDJS4IJD.js +0 -123
  2416. package/dist/chunks/chunk-TEQ35OXT.js +0 -78
  2417. package/dist/chunks/chunk-TEWUEL6S.js +0 -415
  2418. package/dist/chunks/chunk-THDKLGAW.js +0 -158
  2419. package/dist/chunks/chunk-THHWV7EM.js +0 -65
  2420. package/dist/chunks/chunk-THV7GCMK.js +0 -163
  2421. package/dist/chunks/chunk-THVVDFUM.js +0 -250
  2422. package/dist/chunks/chunk-TKHCSYYH.js +0 -382
  2423. package/dist/chunks/chunk-TMINOQWC.js +0 -177
  2424. package/dist/chunks/chunk-TTBFXIKU.js +0 -92
  2425. package/dist/chunks/chunk-TUOPRWKN.js +0 -152
  2426. package/dist/chunks/chunk-TV6L2CF5.js +0 -91
  2427. package/dist/chunks/chunk-TVRASEFS.js +0 -87
  2428. package/dist/chunks/chunk-TXIQZPXH.js +0 -274
  2429. package/dist/chunks/chunk-TXWKL5SC.js +0 -215
  2430. package/dist/chunks/chunk-TYAKVUUL.js +0 -282
  2431. package/dist/chunks/chunk-TYFUS7OB.js +0 -113
  2432. package/dist/chunks/chunk-U4WZSJKF.js +0 -207
  2433. package/dist/chunks/chunk-U6ZH5J5J.js +0 -147
  2434. package/dist/chunks/chunk-U74WLZ2F.js +0 -101
  2435. package/dist/chunks/chunk-U7DT3T6H.js +0 -248
  2436. package/dist/chunks/chunk-U7Y4WVD5.js +0 -89
  2437. package/dist/chunks/chunk-UCOVS4DT.js +0 -317
  2438. package/dist/chunks/chunk-UCVEN64Q.js +0 -97
  2439. package/dist/chunks/chunk-UEKZLLLH.js +0 -102
  2440. package/dist/chunks/chunk-UHC2NTVT.js +0 -23
  2441. package/dist/chunks/chunk-UJQ6B3FV.js +0 -378
  2442. package/dist/chunks/chunk-UKR2JOIQ.js +0 -104
  2443. package/dist/chunks/chunk-UMMMEHRB.js +0 -206
  2444. package/dist/chunks/chunk-UMNDBPWA.js +0 -214
  2445. package/dist/chunks/chunk-UNS4VVES.js +0 -23
  2446. package/dist/chunks/chunk-UPSWVFSY.js +0 -23
  2447. package/dist/chunks/chunk-UTZFVWV4.js +0 -231
  2448. package/dist/chunks/chunk-UVPJ74YL.js +0 -221
  2449. package/dist/chunks/chunk-UXRRAAKU.js +0 -462
  2450. package/dist/chunks/chunk-UXXUBADB.js +0 -260
  2451. package/dist/chunks/chunk-UYTFYNDU.js +0 -108
  2452. package/dist/chunks/chunk-UYVP644Z.js +0 -163
  2453. package/dist/chunks/chunk-UZR7CDLR.js +0 -338
  2454. package/dist/chunks/chunk-UZZWAOSY.js +0 -91
  2455. package/dist/chunks/chunk-V23O4US5.js +0 -185
  2456. package/dist/chunks/chunk-V27YLG5J.js +0 -23
  2457. package/dist/chunks/chunk-V3ZVAYRP.js +0 -23
  2458. package/dist/chunks/chunk-V42WDFD5.js +0 -84
  2459. package/dist/chunks/chunk-V6OTKUQD.js +0 -250
  2460. package/dist/chunks/chunk-VB2XMI2B.js +0 -81
  2461. package/dist/chunks/chunk-VBAZYASX.js +0 -80
  2462. package/dist/chunks/chunk-VBIT3APV.js +0 -304
  2463. package/dist/chunks/chunk-VBRR5NUY.js +0 -326
  2464. package/dist/chunks/chunk-VBZDZWBB.js +0 -217
  2465. package/dist/chunks/chunk-VCSFQXOX.js +0 -161
  2466. package/dist/chunks/chunk-VD6LEHFW.js +0 -77
  2467. package/dist/chunks/chunk-VDPAWCW2.js +0 -210
  2468. package/dist/chunks/chunk-VEYZM67G.js +0 -135
  2469. package/dist/chunks/chunk-VFJ7WKNC.js +0 -1574
  2470. package/dist/chunks/chunk-VFT4QULV.js +0 -231
  2471. package/dist/chunks/chunk-VGL2HH4E.js +0 -33
  2472. package/dist/chunks/chunk-VGOQQUXW.js +0 -94
  2473. package/dist/chunks/chunk-VGWDYWEW.js +0 -88
  2474. package/dist/chunks/chunk-VHRZIKV2.js +0 -97
  2475. package/dist/chunks/chunk-VHW5GHPL.js +0 -115
  2476. package/dist/chunks/chunk-VIYCQN7F.js +0 -217
  2477. package/dist/chunks/chunk-VJATKHCD.js +0 -105
  2478. package/dist/chunks/chunk-VMRYAFRR.js +0 -127
  2479. package/dist/chunks/chunk-VNGX6NTA.js +0 -182
  2480. package/dist/chunks/chunk-VNUWQ2WI.js +0 -45
  2481. package/dist/chunks/chunk-VPJ52UA4.js +0 -69
  2482. package/dist/chunks/chunk-VPWMP2SF.js +0 -112
  2483. package/dist/chunks/chunk-VQHHBUU6.js +0 -75
  2484. package/dist/chunks/chunk-VS676GID.js +0 -125
  2485. package/dist/chunks/chunk-VSKG3GLG.js +0 -100
  2486. package/dist/chunks/chunk-VSW2J5QS.js +0 -175
  2487. package/dist/chunks/chunk-VU2TX7LO.js +0 -130
  2488. package/dist/chunks/chunk-VUBSMTXJ.js +0 -139
  2489. package/dist/chunks/chunk-VUN3OC32.js +0 -78
  2490. package/dist/chunks/chunk-VZCKVXZ3.js +0 -81
  2491. package/dist/chunks/chunk-W23BM726.js +0 -106
  2492. package/dist/chunks/chunk-W23VYOPH.js +0 -117
  2493. package/dist/chunks/chunk-W2IFYZ6Y.js +0 -52
  2494. package/dist/chunks/chunk-W2XFB3AM.js +0 -102
  2495. package/dist/chunks/chunk-W3DV5ZMS.js +0 -36
  2496. package/dist/chunks/chunk-W3EODMLP.js +0 -277
  2497. package/dist/chunks/chunk-W3Z63YEY.js +0 -204
  2498. package/dist/chunks/chunk-W67D5WL3.js +0 -33
  2499. package/dist/chunks/chunk-W6KLJXE5.js +0 -80
  2500. package/dist/chunks/chunk-W6W5LPDB.js +0 -33
  2501. package/dist/chunks/chunk-W7AV7QI7.js +0 -165
  2502. package/dist/chunks/chunk-WA3B4ET6.js +0 -146
  2503. package/dist/chunks/chunk-WA3GCT5B.js +0 -237
  2504. package/dist/chunks/chunk-WB7JMXBS.js +0 -53
  2505. package/dist/chunks/chunk-WBFUNHEI.js +0 -84
  2506. package/dist/chunks/chunk-WBTVCIG7.js +0 -305
  2507. package/dist/chunks/chunk-WDICQYRM.js +0 -260
  2508. package/dist/chunks/chunk-WF3RIOMX.js +0 -342
  2509. package/dist/chunks/chunk-WH7LOBY5.js +0 -147
  2510. package/dist/chunks/chunk-WIJ3Y76O.js +0 -163
  2511. package/dist/chunks/chunk-WJOAYIP5.js +0 -170
  2512. package/dist/chunks/chunk-WL2IWSCM.js +0 -174
  2513. package/dist/chunks/chunk-WM6NYD4Y.js +0 -23
  2514. package/dist/chunks/chunk-WMOTNYVP.js +0 -351
  2515. package/dist/chunks/chunk-WNEHUIBA.js +0 -33
  2516. package/dist/chunks/chunk-WQTWOI3E.js +0 -652
  2517. package/dist/chunks/chunk-WRXOBHQJ.js +0 -206
  2518. package/dist/chunks/chunk-WS4M4KIF.js +0 -39
  2519. package/dist/chunks/chunk-WSDRTN4W.js +0 -13729
  2520. package/dist/chunks/chunk-WSIJZAZ5.js +0 -215
  2521. package/dist/chunks/chunk-WSSTJ6EA.js +0 -196
  2522. package/dist/chunks/chunk-WT26KVAL.js +0 -38
  2523. package/dist/chunks/chunk-WVPFMNA6.js +0 -181
  2524. package/dist/chunks/chunk-WXQOOIHR.js +0 -109
  2525. package/dist/chunks/chunk-X2EHTRQU.js +0 -1403
  2526. package/dist/chunks/chunk-X3SG5SZL.js +0 -240
  2527. package/dist/chunks/chunk-X4HFSLTU.js +0 -50
  2528. package/dist/chunks/chunk-X7XNAFV3.js +0 -358
  2529. package/dist/chunks/chunk-XAKHPVAA.js +0 -172
  2530. package/dist/chunks/chunk-XE4BNDID.js +0 -282
  2531. package/dist/chunks/chunk-XGIWDMBI.js +0 -235
  2532. package/dist/chunks/chunk-XMFDWT3S.js +0 -122
  2533. package/dist/chunks/chunk-XMK4ZETH.js +0 -194
  2534. package/dist/chunks/chunk-XNDFIFTP.js +0 -174
  2535. package/dist/chunks/chunk-XNNNKCKB.js +0 -162
  2536. package/dist/chunks/chunk-XOEDB3KZ.js +0 -33
  2537. package/dist/chunks/chunk-XOEXOCS5.js +0 -399
  2538. package/dist/chunks/chunk-XQWYFTSF.js +0 -98
  2539. package/dist/chunks/chunk-XRSRN5GF.js +0 -249
  2540. package/dist/chunks/chunk-XSK56WES.js +0 -780
  2541. package/dist/chunks/chunk-XSUWFR6J.js +0 -173
  2542. package/dist/chunks/chunk-XTYRZ42P.js +0 -41
  2543. package/dist/chunks/chunk-XULMSF4D.js +0 -307
  2544. package/dist/chunks/chunk-XUNAXRPO.js +0 -50
  2545. package/dist/chunks/chunk-XUP6QFCU.js +0 -33
  2546. package/dist/chunks/chunk-XVPYBMXF.js +0 -100
  2547. package/dist/chunks/chunk-XX4V47KC.js +0 -95
  2548. package/dist/chunks/chunk-XXDMK5QV.js +0 -626
  2549. package/dist/chunks/chunk-XXRBPM53.js +0 -175
  2550. package/dist/chunks/chunk-XYHCZIAJ.js +0 -145
  2551. package/dist/chunks/chunk-XZPTNWHN.js +0 -199
  2552. package/dist/chunks/chunk-XZTYDNW2.js +0 -123
  2553. package/dist/chunks/chunk-Y3FOUZRH.js +0 -104
  2554. package/dist/chunks/chunk-Y3RZUEJH.js +0 -48
  2555. package/dist/chunks/chunk-Y5MKADWD.js +0 -166
  2556. package/dist/chunks/chunk-Y6OWJM63.js +0 -33
  2557. package/dist/chunks/chunk-YBCMWM2I.js +0 -961
  2558. package/dist/chunks/chunk-YBMDS7RD.js +0 -70
  2559. package/dist/chunks/chunk-YBNAKWDL.js +0 -282
  2560. package/dist/chunks/chunk-YCYIAN4U.js +0 -82
  2561. package/dist/chunks/chunk-YDVSEPBY.js +0 -330
  2562. package/dist/chunks/chunk-YELQOEH7.js +0 -112
  2563. package/dist/chunks/chunk-YKEP7KHF.js +0 -83
  2564. package/dist/chunks/chunk-YL2MU2XU.js +0 -163
  2565. package/dist/chunks/chunk-YLLT5PNG.js +0 -123
  2566. package/dist/chunks/chunk-YNEK7T37.js +0 -298
  2567. package/dist/chunks/chunk-YP2OTLPB.js +0 -307
  2568. package/dist/chunks/chunk-YSBMPYIC.js +0 -255
  2569. package/dist/chunks/chunk-YSL4BGZN.js +0 -138
  2570. package/dist/chunks/chunk-YT2AZWFK.js +0 -33
  2571. package/dist/chunks/chunk-YUXBKQU6.js +0 -194
  2572. package/dist/chunks/chunk-YV64NFOM.js +0 -23
  2573. package/dist/chunks/chunk-YWZFUP2K.js +0 -93
  2574. package/dist/chunks/chunk-YX2FOHHV.js +0 -33
  2575. package/dist/chunks/chunk-YYTEN4JQ.js +0 -173
  2576. package/dist/chunks/chunk-Z2IW5ZIB.js +0 -375
  2577. package/dist/chunks/chunk-Z4NDG6JR.js +0 -55
  2578. package/dist/chunks/chunk-Z55AT36D.js +0 -23
  2579. package/dist/chunks/chunk-Z7CE223A.js +0 -139
  2580. package/dist/chunks/chunk-ZB62QBIP.js +0 -163
  2581. package/dist/chunks/chunk-ZBQMXT34.js +0 -45
  2582. package/dist/chunks/chunk-ZBQQC4XP.js +0 -117
  2583. package/dist/chunks/chunk-ZBTH66LL.js +0 -33
  2584. package/dist/chunks/chunk-ZC5444HF.js +0 -104
  2585. package/dist/chunks/chunk-ZCNTGAMP.js +0 -52
  2586. package/dist/chunks/chunk-ZDFPESWP.js +0 -95
  2587. package/dist/chunks/chunk-ZEEPBJUW.js +0 -161
  2588. package/dist/chunks/chunk-ZEHTZJSX.js +0 -101
  2589. package/dist/chunks/chunk-ZH6HSS7H.js +0 -188
  2590. package/dist/chunks/chunk-ZHGFDO25.js +0 -33
  2591. package/dist/chunks/chunk-ZIY74N2E.js +0 -49
  2592. package/dist/chunks/chunk-ZJ75E3SN.js +0 -176
  2593. package/dist/chunks/chunk-ZKKYBWOE.js +0 -102
  2594. package/dist/chunks/chunk-ZMV3PDIV.js +0 -177
  2595. package/dist/chunks/chunk-ZNHOJ2AI.js +0 -122
  2596. package/dist/chunks/chunk-ZOEOBUVH.js +0 -165
  2597. package/dist/chunks/chunk-ZUDSAO2Y.js +0 -99
  2598. package/dist/chunks/chunk-ZVF4Q7OT.js +0 -23
  2599. package/dist/chunks/chunk-ZXKDRMYH.js +0 -204
  2600. package/dist/chunks/chunk-ZYPXFAHK.js +0 -55
  2601. package/dist/chunks/client-5YHT2LFT.js +0 -168
  2602. package/dist/chunks/client-DKEVJUBO.js +0 -31
  2603. package/dist/chunks/client-X4WV5MUF.js +0 -47
  2604. package/dist/chunks/client-actions-IXHL55EC.js +0 -170
  2605. package/dist/chunks/components-5QFK265X.js +0 -78
  2606. package/dist/chunks/dangerous-K2SPGR2Y.js +0 -124
  2607. package/dist/chunks/delete-current-file-VUJCVLZC.js +0 -163
  2608. package/dist/chunks/editor-seams-T7AHRUWG.js +0 -183
  2609. package/dist/chunks/editor-store-FELQYM2Z.js +0 -148
  2610. package/dist/chunks/export-HJ7D743U.js +0 -67
  2611. package/dist/chunks/export-watermark-PDZ5WGB2.js +0 -157
  2612. package/dist/chunks/eyedropper-WUHURAJV.js +0 -355
  2613. package/dist/chunks/generate-media-5PS3WBKX.js +0 -255
  2614. package/dist/chunks/host-FA73ABKV.js +0 -246
  2615. package/dist/chunks/host-RKIGO4UH.js +0 -184
  2616. package/dist/chunks/integrations-AXQVIGIE.js +0 -125
  2617. package/dist/chunks/libraries-J2I3Q426.js +0 -311
  2618. package/dist/chunks/live-4MA5Q67T.js +0 -322
  2619. package/dist/chunks/lottie-AJJ4NYU4.js +0 -91
  2620. package/dist/chunks/media-tool-OTODQ4YZ.js +0 -237
  2621. package/dist/chunks/new-file-OFQ76B2U.js +0 -140
  2622. package/dist/chunks/next-commerce-LW5SVXCR.js +0 -74
  2623. package/dist/chunks/pdf-ZQCTTGWK.js +0 -1218
  2624. package/dist/chunks/player-check-QABL4BKG.js +0 -119
  2625. package/dist/chunks/plugin-Z53HLVRB.js +0 -131
  2626. package/dist/chunks/plugin-import-SPCL2G2X.js +0 -692
  2627. package/dist/chunks/presence-UQFANQ65.js +0 -137
  2628. package/dist/chunks/project-MXSKNTNS.js +0 -1601
  2629. package/dist/chunks/publish-site-RCPXZPWY.js +0 -167
  2630. package/dist/chunks/publish-store-OAWL33WD.js +0 -100
  2631. package/dist/chunks/raster-actions-KEQBVMDP.js +0 -233
  2632. package/dist/chunks/reference-images-A5FQLE3Y.js +0 -62
  2633. package/dist/chunks/registry-XLH3HYB3.js +0 -45
  2634. package/dist/chunks/resolvers-TGLUTY6W.js +0 -150
  2635. package/dist/chunks/runner-LSNUALXN.js +0 -3546
  2636. package/dist/chunks/store-J7Z2FM3C.js +0 -235
  2637. package/dist/chunks/storefront-PRX55OXX.js +0 -336
  2638. package/dist/chunks/storefront-prepare-LDV2TWWN.js +0 -33
  2639. package/dist/chunks/svg-export-VEVYIEZL.js +0 -84
  2640. package/dist/chunks/sync-MGCVDTZV.js +0 -162
  2641. package/dist/chunks/tabs-75FVDWJL.js +0 -320
  2642. package/dist/chunks/team-ISULSNCM.js +0 -47
  2643. package/dist/chunks/team-client-SVDR5YVA.js +0 -158
  2644. package/dist/chunks/tools-QS6BB4CW.js +0 -37
  2645. package/dist/chunks/tree-HUCRLBOI.js +0 -83
  2646. package/dist/chunks/ui-commands-FC25FUGC.js +0 -191
  2647. package/dist/chunks/versions-XOC7HIXU.js +0 -320
  2648. package/dist/chunks/web-F3DXKSBO.js +0 -186
@@ -0,0 +1,3546 @@
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-WTBI33QZ.js";
29
+ import "./chunk-V3I4KSGP.js";
30
+ import {
31
+ registerBuiltinTools
32
+ } from "./chunk-FHESI2IC.js";
33
+ import {
34
+ registerDangerousCommands
35
+ } from "./chunk-4TSXXYYE.js";
36
+ import "./chunk-OIXYUUP5.js";
37
+ import {
38
+ editBlockReason,
39
+ editorToolContext
40
+ } from "./chunk-BJGEGGQH.js";
41
+ import "./chunk-KQPUYQY2.js";
42
+ import "./chunk-EFDY2CAU.js";
43
+ import "./chunk-HS2OB37Z.js";
44
+ import "./chunk-UD5NRN4U.js";
45
+ import "./chunk-NFM6Y2II.js";
46
+ import "./chunk-VJWGIX35.js";
47
+ import "./chunk-66FTYOPY.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-HS2Z7QL6.js";
57
+ import {
58
+ HYPERY_PAYMENT_SOURCE_HEADER,
59
+ paymentSourceHeaders
60
+ } from "./chunk-5IMOKCRL.js";
61
+ import {
62
+ allTools,
63
+ getTool,
64
+ runTool,
65
+ toolSpecs
66
+ } from "./chunk-V2UXRPWO.js";
67
+ import {
68
+ external_exports
69
+ } from "./chunk-Z5OEPBFF.js";
70
+ import {
71
+ provideAgentCapability
72
+ } from "./chunk-RH3CBWVE.js";
73
+ import {
74
+ defineCommand
75
+ } from "./chunk-FLOXTSFB.js";
76
+ import "./chunk-XPTCDD7W.js";
77
+ import "./chunk-ORFEGQ2J.js";
78
+ import "./chunk-O64QIUGC.js";
79
+ import "./chunk-EZEIVLC6.js";
80
+ import "./chunk-VRLULK3N.js";
81
+ import "./chunk-BTKMDAAV.js";
82
+ import "./chunk-BKDJXEUD.js";
83
+ import "./chunk-HBBCFHNF.js";
84
+ import "./chunk-44UEFX4Z.js";
85
+ import "./chunk-SKMB75CJ.js";
86
+ import "./chunk-WY7VKGAH.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-AOQSFWM6.js";
99
+ import "./chunk-MQTCBQFK.js";
100
+ import "./chunk-YKJ2W33C.js";
101
+ import "./chunk-HNGLOJHT.js";
102
+ import "./chunk-I4YWQRCU.js";
103
+ import {
104
+ activeHyperyTeamId
105
+ } from "./chunk-Z2QKY7J6.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-IMKXXY52.js";
113
+ import {
114
+ useEditorStore
115
+ } from "./chunk-INFXT3Z6.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-UUIYNBZI.js";
177
+ import "./chunk-5AHFTM4R.js";
178
+ import "./chunk-XGC2MJQ3.js";
179
+ import "./chunk-RHTGAFKD.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-E3E2EQSX.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
+ };