@popcraft/kit 2.1.1 → 2.2.0

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-P7HGVCNW.js +44 -0
  2. package/dist/chunks/builtin-OP2QEWQT.js +121 -0
  3. package/dist/chunks/buy-credits-GVYXITE4.js +80 -0
  4. package/dist/chunks/check-template-H6HUSULC.js +2413 -0
  5. package/dist/chunks/chunk-232JPN6K.js +30 -0
  6. package/dist/chunks/chunk-236VRFNF.js +80 -0
  7. package/dist/chunks/chunk-23WZ2JTZ.js +307 -0
  8. package/dist/chunks/chunk-24QBLXUT.js +33 -0
  9. package/dist/chunks/chunk-254PZENJ.js +230 -0
  10. package/dist/chunks/chunk-25BTP5XI.js +134 -0
  11. package/dist/chunks/chunk-26F45VJK.js +104 -0
  12. package/dist/chunks/chunk-27CKXG6V.js +173 -0
  13. package/dist/chunks/chunk-2AG3G42Y.js +95 -0
  14. package/dist/chunks/chunk-2AWMOQUQ.js +157 -0
  15. package/dist/chunks/chunk-2E7QKXJ3.js +165 -0
  16. package/dist/chunks/chunk-2EXFPK42.js +366 -0
  17. package/dist/chunks/chunk-2JMQABRK.js +81 -0
  18. package/dist/chunks/chunk-2JPLPDLG.js +90 -0
  19. package/dist/chunks/chunk-2KQDZAUO.js +185 -0
  20. package/dist/chunks/chunk-2LXIPCFK.js +23 -0
  21. package/dist/chunks/chunk-2M6ITBP6.js +55 -0
  22. package/dist/chunks/chunk-2MKFRDDJ.js +33 -0
  23. package/dist/chunks/chunk-2MUUP2H2.js +97 -0
  24. package/dist/chunks/chunk-2NN2C64Q.js +93 -0
  25. package/dist/chunks/chunk-2P2P5NBM.js +777 -0
  26. package/dist/chunks/chunk-2RLLO2WI.js +135 -0
  27. package/dist/chunks/chunk-2SJELAFX.js +101 -0
  28. package/dist/chunks/chunk-2UB7ARZR.js +366 -0
  29. package/dist/chunks/chunk-2W3OUES3.js +104 -0
  30. package/dist/chunks/chunk-2WODX4XD.js +160 -0
  31. package/dist/chunks/chunk-2XB6SNOJ.js +59 -0
  32. package/dist/chunks/chunk-2YLTXTWI.js +23 -0
  33. package/dist/chunks/chunk-2YQRZ6NY.js +151 -0
  34. package/dist/chunks/chunk-2Z5TIWKN.js +48 -0
  35. package/dist/chunks/chunk-2ZN7ARWZ.js +250 -0
  36. package/dist/chunks/chunk-343E2AXU.js +1845 -0
  37. package/dist/chunks/chunk-34IK3L2Y.js +151 -0
  38. package/dist/chunks/chunk-37X3DJV7.js +163 -0
  39. package/dist/chunks/chunk-3A3BT525.js +287 -0
  40. package/dist/chunks/chunk-3B65XJA3.js +117 -0
  41. package/dist/chunks/chunk-3BAD36OY.js +78 -0
  42. package/dist/chunks/chunk-3CXUVMS4.js +154 -0
  43. package/dist/chunks/chunk-3EDABVEH.js +160 -0
  44. package/dist/chunks/chunk-3GZXNZP5.js +161 -0
  45. package/dist/chunks/chunk-3HUM5A67.js +65 -0
  46. package/dist/chunks/chunk-3JPB7MEH.js +149 -0
  47. package/dist/chunks/chunk-3JVXPXA4.js +180 -0
  48. package/dist/chunks/chunk-3K4RKE3I.js +146 -0
  49. package/dist/chunks/chunk-3K73U5TN.js +141 -0
  50. package/dist/chunks/chunk-3L3LYVMP.js +214 -0
  51. package/dist/chunks/chunk-3LPTEW6W.js +41 -0
  52. package/dist/chunks/chunk-3M3ZUF4B.js +327 -0
  53. package/dist/chunks/chunk-3OYOBCGJ.js +50 -0
  54. package/dist/chunks/chunk-3RWBLQWQ.js +378 -0
  55. package/dist/chunks/chunk-3RXUEBJI.js +52 -0
  56. package/dist/chunks/chunk-3T4M4ZJV.js +115 -0
  57. package/dist/chunks/chunk-3V6HHIRE.js +77 -0
  58. package/dist/chunks/chunk-3VCQLJAV.js +119 -0
  59. package/dist/chunks/chunk-3WBZA5H6.js +23 -0
  60. package/dist/chunks/chunk-3X6JBMNH.js +94 -0
  61. package/dist/chunks/chunk-3XWR2LME.js +96 -0
  62. package/dist/chunks/chunk-3XYFHJEQ.js +119 -0
  63. package/dist/chunks/chunk-3YBH6MTN.js +215 -0
  64. package/dist/chunks/chunk-3ZSSNZCD.js +177 -0
  65. package/dist/chunks/chunk-433D2YRC.js +120 -0
  66. package/dist/chunks/chunk-44EUV6SD.js +45 -0
  67. package/dist/chunks/chunk-45FM5ERK.js +150 -0
  68. package/dist/chunks/chunk-45ZUNYKO.js +23 -0
  69. package/dist/chunks/chunk-47BZUIVR.js +261 -0
  70. package/dist/chunks/chunk-4DDAOMTB.js +41 -0
  71. package/dist/chunks/chunk-4DEPBCX6.js +260 -0
  72. package/dist/chunks/chunk-4ECY4ZZB.js +33 -0
  73. package/dist/chunks/chunk-4EHXL56W.js +152 -0
  74. package/dist/chunks/chunk-4F2PRH55.js +78 -0
  75. package/dist/chunks/chunk-4FGSR3AO.js +84 -0
  76. package/dist/chunks/chunk-4GBJGZ3K.js +49 -0
  77. package/dist/chunks/chunk-4HBIGS6D.js +248 -0
  78. package/dist/chunks/chunk-4IIA7CG7.js +53 -0
  79. package/dist/chunks/chunk-4INRU2WD.js +45 -0
  80. package/dist/chunks/chunk-4IY2XN3W.js +65 -0
  81. package/dist/chunks/chunk-4M4HM4EG.js +108 -0
  82. package/dist/chunks/chunk-4MXDGF4R.js +969 -0
  83. package/dist/chunks/chunk-4N3RAKVR.js +181 -0
  84. package/dist/chunks/chunk-4ODJ6OYO.js +112 -0
  85. package/dist/chunks/chunk-4PA7JP3A.js +33 -0
  86. package/dist/chunks/chunk-4Q3AZTH4.js +110 -0
  87. package/dist/chunks/chunk-4QIPSKGK.js +60 -0
  88. package/dist/chunks/chunk-4QVPSRVQ.js +95 -0
  89. package/dist/chunks/chunk-4RIAXUQV.js +312 -0
  90. package/dist/chunks/chunk-4RPYGPF7.js +78 -0
  91. package/dist/chunks/chunk-4SOJ2SOD.js +93 -0
  92. package/dist/chunks/chunk-4T44SXRJ.js +13744 -0
  93. package/dist/chunks/chunk-4VHZUXZB.js +152 -0
  94. package/dist/chunks/chunk-4VJTVQZL.js +76 -0
  95. package/dist/chunks/chunk-553ONKEO.js +129 -0
  96. package/dist/chunks/chunk-55JQ5CMZ.js +117 -0
  97. package/dist/chunks/chunk-564CGLTJ.js +149 -0
  98. package/dist/chunks/chunk-57D55SBH.js +368 -0
  99. package/dist/chunks/chunk-5FTL3SIP.js +23 -0
  100. package/dist/chunks/chunk-5GSO32LF.js +112 -0
  101. package/dist/chunks/chunk-5JPHNO4N.js +375 -0
  102. package/dist/chunks/chunk-5K6BAG3U.js +84 -0
  103. package/dist/chunks/chunk-5KR3ZJLV.js +42 -0
  104. package/dist/chunks/chunk-5LJDGR5Q.js +304 -0
  105. package/dist/chunks/chunk-5M32EYWF.js +97 -0
  106. package/dist/chunks/chunk-5NSFMPTP.js +23 -0
  107. package/dist/chunks/chunk-5OUSH5MJ.js +137 -0
  108. package/dist/chunks/chunk-5RI2JDDG.js +97 -0
  109. package/dist/chunks/chunk-5RI6QE43.js +118 -0
  110. package/dist/chunks/chunk-5SZMSXGL.js +87 -0
  111. package/dist/chunks/chunk-5UD7AZLZ.js +33 -0
  112. package/dist/chunks/chunk-5VO7AMIQ.js +298 -0
  113. package/dist/chunks/chunk-5VPKBYAJ.js +84 -0
  114. package/dist/chunks/chunk-5WA6K27L.js +23 -0
  115. package/dist/chunks/chunk-5WZDTHUW.js +358 -0
  116. package/dist/chunks/chunk-5XGDQXS3.js +106 -0
  117. package/dist/chunks/chunk-62KQFT4J.js +179 -0
  118. package/dist/chunks/chunk-62XDLAW3.js +303 -0
  119. package/dist/chunks/chunk-64SY4VEJ.js +204 -0
  120. package/dist/chunks/chunk-663DZEKI.js +147 -0
  121. package/dist/chunks/chunk-66EQVVNR.js +150 -0
  122. package/dist/chunks/chunk-66U3PKET.js +195 -0
  123. package/dist/chunks/chunk-6F4Z5SKZ.js +178 -0
  124. package/dist/chunks/chunk-6GGTRQKZ.js +83 -0
  125. package/dist/chunks/chunk-6H7YLXOA.js +282 -0
  126. package/dist/chunks/chunk-6IM5GAHO.js +206 -0
  127. package/dist/chunks/chunk-6J7ACHJY.js +174 -0
  128. package/dist/chunks/chunk-6LNA56E2.js +55 -0
  129. package/dist/chunks/chunk-6MEGFLIJ.js +91 -0
  130. package/dist/chunks/chunk-6MWHL723.js +101 -0
  131. package/dist/chunks/chunk-6OIZXOCP.js +33 -0
  132. package/dist/chunks/chunk-6SSTDRHX.js +272 -0
  133. package/dist/chunks/chunk-6USWM2QK.js +95 -0
  134. package/dist/chunks/chunk-6X4L3AUZ.js +33 -0
  135. package/dist/chunks/chunk-6XQAWMJ6.js +112 -0
  136. package/dist/chunks/chunk-6YBUKPY4.js +160 -0
  137. package/dist/chunks/chunk-6YLE4LD5.js +121 -0
  138. package/dist/chunks/chunk-6YUELUON.js +185 -0
  139. package/dist/chunks/chunk-73KBL7PU.js +336 -0
  140. package/dist/chunks/chunk-74SHSQ3G.js +256 -0
  141. package/dist/chunks/chunk-76HKJ5QS.js +249 -0
  142. package/dist/chunks/chunk-76ODNIHD.js +80 -0
  143. package/dist/chunks/chunk-76OJD5AJ.js +131 -0
  144. package/dist/chunks/chunk-76XTGAVB.js +70 -0
  145. package/dist/chunks/chunk-7BTAAD7P.js +84 -0
  146. package/dist/chunks/chunk-7BU7M5KC.js +49 -0
  147. package/dist/chunks/chunk-7CJCJ7Y6.js +225 -0
  148. package/dist/chunks/chunk-7D4YCHZW.js +172 -0
  149. package/dist/chunks/chunk-7DP7RWQP.js +172 -0
  150. package/dist/chunks/chunk-7EMCIFOY.js +163 -0
  151. package/dist/chunks/chunk-7EZYNIS6.js +320 -0
  152. package/dist/chunks/chunk-7HB2QKD4.js +284 -0
  153. package/dist/chunks/chunk-7HLYL2NY.js +122 -0
  154. package/dist/chunks/chunk-7IAUWAYR.js +23 -0
  155. package/dist/chunks/chunk-7J6DX5VO.js +157 -0
  156. package/dist/chunks/chunk-7KFK67RI.js +166 -0
  157. package/dist/chunks/chunk-7KXL5VKS.js +168 -0
  158. package/dist/chunks/chunk-7LOI2O7T.js +92 -0
  159. package/dist/chunks/chunk-7M6ZZ63G.js +136 -0
  160. package/dist/chunks/chunk-7ME5JJQZ.js +33 -0
  161. package/dist/chunks/chunk-7QI4OZKV.js +146 -0
  162. package/dist/chunks/chunk-7QLRGLDX.js +209 -0
  163. package/dist/chunks/chunk-7UHFQAR2.js +105 -0
  164. package/dist/chunks/chunk-7V5JY5YF.js +153 -0
  165. package/dist/chunks/chunk-7XLJZIIH.js +155 -0
  166. package/dist/chunks/chunk-7XXFXOJJ.js +93 -0
  167. package/dist/chunks/chunk-7YJQNULZ.js +422 -0
  168. package/dist/chunks/chunk-7ZH6F3HL.js +195 -0
  169. package/dist/chunks/chunk-7ZVMLB2S.js +317 -0
  170. package/dist/chunks/chunk-A53Z5YQK.js +315 -0
  171. package/dist/chunks/chunk-ACGT5VLK.js +1136 -0
  172. package/dist/chunks/chunk-AGHBMVXG.js +146 -0
  173. package/dist/chunks/chunk-AJNO272E.js +169 -0
  174. package/dist/chunks/chunk-ALZRIFBR.js +161 -0
  175. package/dist/chunks/chunk-AMEU66HZ.js +97 -0
  176. package/dist/chunks/chunk-AMIFNIPG.js +55 -0
  177. package/dist/chunks/chunk-AND5FL2K.js +171 -0
  178. package/dist/chunks/chunk-ANDBBN46.js +10754 -0
  179. package/dist/chunks/chunk-ANXQHGF3.js +47 -0
  180. package/dist/chunks/chunk-AO2UAQTX.js +159 -0
  181. package/dist/chunks/chunk-AOXKD5EF.js +202 -0
  182. package/dist/chunks/chunk-AP336WOR.js +110 -0
  183. package/dist/chunks/chunk-APVN7BVI.js +147 -0
  184. package/dist/chunks/chunk-AQPM4BFQ.js +45 -0
  185. package/dist/chunks/chunk-AUCKAFKE.js +149 -0
  186. package/dist/chunks/chunk-AVNXH6XE.js +108 -0
  187. package/dist/chunks/chunk-AVRYOM7T.js +50 -0
  188. package/dist/chunks/chunk-AWZVQM3X.js +305 -0
  189. package/dist/chunks/chunk-AXQ4RELD.js +86 -0
  190. package/dist/chunks/chunk-AZ4HQLN2.js +133 -0
  191. package/dist/chunks/chunk-AZ7Y2BN2.js +235 -0
  192. package/dist/chunks/chunk-B4JUX4UQ.js +626 -0
  193. package/dist/chunks/chunk-B5WBQEXS.js +45 -0
  194. package/dist/chunks/chunk-B7PBO75X.js +171 -0
  195. package/dist/chunks/chunk-B7Q2RRLB.js +155 -0
  196. package/dist/chunks/chunk-BBS3FWVS.js +351 -0
  197. package/dist/chunks/chunk-BBSXHAB6.js +79 -0
  198. package/dist/chunks/chunk-BCJODA5P.js +123 -0
  199. package/dist/chunks/chunk-BEMIKCDS.js +183 -0
  200. package/dist/chunks/chunk-BFRRASKD.js +73 -0
  201. package/dist/chunks/chunk-BGBKFAEP.js +258 -0
  202. package/dist/chunks/chunk-BH2AKXBV.js +45 -0
  203. package/dist/chunks/chunk-BH4ZUMW3.js +231 -0
  204. package/dist/chunks/chunk-BIVOC77W.js +191 -0
  205. package/dist/chunks/chunk-BJPZZCMG.js +23 -0
  206. package/dist/chunks/chunk-BK3CBOBD.js +685 -0
  207. package/dist/chunks/chunk-BKCI6WDN.js +118 -0
  208. package/dist/chunks/chunk-BOHNTUCB.js +305 -0
  209. package/dist/chunks/chunk-BOS4DZM4.js +167 -0
  210. package/dist/chunks/chunk-BPTR672Y.js +140 -0
  211. package/dist/chunks/chunk-BQIEIWAT.js +415 -0
  212. package/dist/chunks/chunk-BRMNHQ3O.js +30 -0
  213. package/dist/chunks/chunk-BSUFO4EL.js +23 -0
  214. package/dist/chunks/chunk-BTNIFCOJ.js +156 -0
  215. package/dist/chunks/chunk-BVGABALZ.js +23 -0
  216. package/dist/chunks/chunk-BVXSXZJS.js +121 -0
  217. package/dist/chunks/chunk-BWFSRYDL.js +66 -0
  218. package/dist/chunks/chunk-BWVTUSCO.js +164 -0
  219. package/dist/chunks/chunk-BZNM6LZD.js +147 -0
  220. package/dist/chunks/chunk-C2V2L5U2.js +134 -0
  221. package/dist/chunks/chunk-C2WWEWTJ.js +346 -0
  222. package/dist/chunks/chunk-C4EESUZZ.js +1309 -0
  223. package/dist/chunks/chunk-C6OKNNN4.js +51 -0
  224. package/dist/chunks/chunk-C6QQQ6EH.js +155 -0
  225. package/dist/chunks/chunk-CB2Q7LTE.js +100 -0
  226. package/dist/chunks/chunk-CCJHXHXE.js +41 -0
  227. package/dist/chunks/chunk-CCLG57SM.js +99 -0
  228. package/dist/chunks/chunk-CG43LWCM.js +111 -0
  229. package/dist/chunks/chunk-CH4IHJLG.js +128 -0
  230. package/dist/chunks/chunk-CHINI7UI.js +119 -0
  231. package/dist/chunks/chunk-CHIV625L.js +82 -0
  232. package/dist/chunks/chunk-CILHGZFQ.js +100 -0
  233. package/dist/chunks/chunk-CINVJP6W.js +301 -0
  234. package/dist/chunks/chunk-CLGO6SHN.js +110 -0
  235. package/dist/chunks/chunk-CMLQWKQZ.js +122 -0
  236. package/dist/chunks/chunk-CPRDN2OI.js +88 -0
  237. package/dist/chunks/chunk-CQK7XU6S.js +166 -0
  238. package/dist/chunks/chunk-CTMD42TV.js +135 -0
  239. package/dist/chunks/chunk-CVWSUCHL.js +60 -0
  240. package/dist/chunks/chunk-CWOCHKQW.js +114 -0
  241. package/dist/chunks/chunk-CZAG3JSE.js +103 -0
  242. package/dist/chunks/chunk-D3HKYVAU.js +231 -0
  243. package/dist/chunks/chunk-D3IKQQCF.js +70 -0
  244. package/dist/chunks/chunk-D3YFOMNZ.js +146 -0
  245. package/dist/chunks/chunk-D4PJM7B5.js +120 -0
  246. package/dist/chunks/chunk-D4RFDMYE.js +154 -0
  247. package/dist/chunks/chunk-D5AUTMUO.js +278 -0
  248. package/dist/chunks/chunk-D5RMPV2W.js +75 -0
  249. package/dist/chunks/chunk-D7SIOPXR.js +161 -0
  250. package/dist/chunks/chunk-D7Z6ZQ6F.js +217 -0
  251. package/dist/chunks/chunk-DB7CHK3N.js +10311 -0
  252. package/dist/chunks/chunk-DBCMNUWX.js +33 -0
  253. package/dist/chunks/chunk-DBEREBBV.js +184 -0
  254. package/dist/chunks/chunk-DBJIDJUL.js +213 -0
  255. package/dist/chunks/chunk-DC5OVIWB.js +232 -0
  256. package/dist/chunks/chunk-DCSC3C22.js +105 -0
  257. package/dist/chunks/chunk-DDPPF7PJ.js +170 -0
  258. package/dist/chunks/chunk-DDT72U47.js +191 -0
  259. package/dist/chunks/chunk-DED4WDP4.js +82 -0
  260. package/dist/chunks/chunk-DFZDC6A3.js +70 -0
  261. package/dist/chunks/chunk-DJ3WXFYD.js +92 -0
  262. package/dist/chunks/chunk-DJBRZ6BY.js +239 -0
  263. package/dist/chunks/chunk-DJZDI75L.js +131 -0
  264. package/dist/chunks/chunk-DMKBT4V6.js +497 -0
  265. package/dist/chunks/chunk-DMLMVAAU.js +94 -0
  266. package/dist/chunks/chunk-DNMCF2Q6.js +71 -0
  267. package/dist/chunks/chunk-DO6IOBBC.js +231 -0
  268. package/dist/chunks/chunk-DOJ4VZL6.js +23 -0
  269. package/dist/chunks/chunk-DOZTKRCA.js +74 -0
  270. package/dist/chunks/chunk-DQEUUDJ2.js +77 -0
  271. package/dist/chunks/chunk-DRUOP6C5.js +106 -0
  272. package/dist/chunks/chunk-DSOGSLRQ.js +23 -0
  273. package/dist/chunks/chunk-DSZSDJ4R.js +45 -0
  274. package/dist/chunks/chunk-DUWCIVBJ.js +53 -0
  275. package/dist/chunks/chunk-DVPBPDE5.js +23 -0
  276. package/dist/chunks/chunk-DWN5NE2Y.js +138 -0
  277. package/dist/chunks/chunk-DX5SGTH4.js +97 -0
  278. package/dist/chunks/chunk-DY3NSYIE.js +79 -0
  279. package/dist/chunks/chunk-DZYZWHET.js +111 -0
  280. package/dist/chunks/chunk-E2O3Z26A.js +135 -0
  281. package/dist/chunks/chunk-E4DHDZJX.js +147 -0
  282. package/dist/chunks/chunk-E4NXTX3J.js +358 -0
  283. package/dist/chunks/chunk-E6DS6ZXV.js +98 -0
  284. package/dist/chunks/chunk-E7MJ2KJ3.js +103 -0
  285. package/dist/chunks/chunk-EA65JFUM.js +77 -0
  286. package/dist/chunks/chunk-EACL2MQ6.js +87 -0
  287. package/dist/chunks/chunk-EE6A5TVL.js +199 -0
  288. package/dist/chunks/chunk-EEKY53K5.js +190 -0
  289. package/dist/chunks/chunk-EGNAFJZD.js +107 -0
  290. package/dist/chunks/chunk-EIEPNBGE.js +122 -0
  291. package/dist/chunks/chunk-EJI34M56.js +130 -0
  292. package/dist/chunks/chunk-EK7LWMGO.js +113 -0
  293. package/dist/chunks/chunk-ELULTHTA.js +133 -0
  294. package/dist/chunks/chunk-EM66TMTT.js +125 -0
  295. package/dist/chunks/chunk-EMT2CW3I.js +120 -0
  296. package/dist/chunks/chunk-EMVSQ7CI.js +94 -0
  297. package/dist/chunks/chunk-ENXAN7XE.js +156 -0
  298. package/dist/chunks/chunk-EP2Y2DQC.js +163 -0
  299. package/dist/chunks/chunk-ERZEKYYH.js +156 -0
  300. package/dist/chunks/chunk-ES5U6G4M.js +133 -0
  301. package/dist/chunks/chunk-ESDUFVIK.js +214 -0
  302. package/dist/chunks/chunk-ETZZQLKJ.js +173 -0
  303. package/dist/chunks/chunk-EV5YIF6W.js +100 -0
  304. package/dist/chunks/chunk-EYADU6RF.js +232 -0
  305. package/dist/chunks/chunk-EZ6XSCEC.js +255 -0
  306. package/dist/chunks/chunk-F3JHDAZD.js +74 -0
  307. package/dist/chunks/chunk-F4EXOPKX.js +53 -0
  308. package/dist/chunks/chunk-F4JQM2YN.js +180 -0
  309. package/dist/chunks/chunk-F7X7HLCM.js +128 -0
  310. package/dist/chunks/chunk-FA55CRIQ.js +71 -0
  311. package/dist/chunks/chunk-FCQZHDKG.js +1393 -0
  312. package/dist/chunks/chunk-FCT3BNU2.js +33 -0
  313. package/dist/chunks/chunk-FDH7SAXS.js +97 -0
  314. package/dist/chunks/chunk-FDU3OEWK.js +139 -0
  315. package/dist/chunks/chunk-FEW6TQHR.js +106 -0
  316. package/dist/chunks/chunk-FGKTSLP6.js +261 -0
  317. package/dist/chunks/chunk-FIDDNY44.js +142 -0
  318. package/dist/chunks/chunk-FIGCPMPD.js +279 -0
  319. package/dist/chunks/chunk-FJS77M7O.js +23 -0
  320. package/dist/chunks/chunk-FPHA46LG.js +125 -0
  321. package/dist/chunks/chunk-FQCQJ4X6.js +90 -0
  322. package/dist/chunks/chunk-FQOSX6M3.js +293 -0
  323. package/dist/chunks/chunk-FROSRXOO.js +165 -0
  324. package/dist/chunks/chunk-FWYL3DVO.js +164 -0
  325. package/dist/chunks/chunk-FWZ2MM4M.js +192 -0
  326. package/dist/chunks/chunk-FXLJ65BX.js +96 -0
  327. package/dist/chunks/chunk-FZWV3XLC.js +209 -0
  328. package/dist/chunks/chunk-G3QHCUHD.js +166 -0
  329. package/dist/chunks/chunk-G4EW4JEB.js +252 -0
  330. package/dist/chunks/chunk-GB3CW6KJ.js +94 -0
  331. package/dist/chunks/chunk-GEFNY23G.js +156 -0
  332. package/dist/chunks/chunk-GFFM7JNX.js +91 -0
  333. package/dist/chunks/chunk-GHP4JVKZ.js +81 -0
  334. package/dist/chunks/chunk-GL2O4CFH.js +161 -0
  335. package/dist/chunks/chunk-GMOQFOUA.js +362 -0
  336. package/dist/chunks/chunk-GMP2ADQB.js +247 -0
  337. package/dist/chunks/chunk-GOMIIZ7X.js +225 -0
  338. package/dist/chunks/chunk-GOY3UUMQ.js +181 -0
  339. package/dist/chunks/chunk-GP2KYOTR.js +221 -0
  340. package/dist/chunks/chunk-GQKHH5WV.js +99 -0
  341. package/dist/chunks/chunk-GQUOFO76.js +240 -0
  342. package/dist/chunks/chunk-GR6Z7H2W.js +361 -0
  343. package/dist/chunks/chunk-GRNKV4NB.js +106 -0
  344. package/dist/chunks/chunk-GS2BMAIN.js +290 -0
  345. package/dist/chunks/chunk-GTUYVBHO.js +194 -0
  346. package/dist/chunks/chunk-GVFGE722.js +139 -0
  347. package/dist/chunks/chunk-GWWBXGJL.js +77 -0
  348. package/dist/chunks/chunk-GXR3FNUC.js +261 -0
  349. package/dist/chunks/chunk-GZVTPHEP.js +33 -0
  350. package/dist/chunks/chunk-H4E7LE4H.js +36 -0
  351. package/dist/chunks/chunk-H4PYX3BF.js +150 -0
  352. package/dist/chunks/chunk-H4TOZ5XA.js +23 -0
  353. package/dist/chunks/chunk-H4YXVXL5.js +187 -0
  354. package/dist/chunks/chunk-H6MRXGSE.js +92 -0
  355. package/dist/chunks/chunk-H6U4FULE.js +111 -0
  356. package/dist/chunks/chunk-H6WLCH5B.js +23 -0
  357. package/dist/chunks/chunk-HFOQDU5Q.js +33 -0
  358. package/dist/chunks/chunk-HHBL4SID.js +152 -0
  359. package/dist/chunks/chunk-HILGW43I.js +175 -0
  360. package/dist/chunks/chunk-HINLQ5FN.js +77 -0
  361. package/dist/chunks/chunk-HIQ5FD7H.js +197 -0
  362. package/dist/chunks/chunk-HM5HH5TI.js +201 -0
  363. package/dist/chunks/chunk-HS4TY3IN.js +257 -0
  364. package/dist/chunks/chunk-HSAZMXS2.js +95 -0
  365. package/dist/chunks/chunk-HUNNJ6ES.js +61 -0
  366. package/dist/chunks/chunk-HUVOXNJR.js +41 -0
  367. package/dist/chunks/chunk-HVLMLDRF.js +145 -0
  368. package/dist/chunks/chunk-HY6S2AIG.js +112 -0
  369. package/dist/chunks/chunk-HYAJTIZK.js +33 -0
  370. package/dist/chunks/chunk-HZ26TER2.js +337 -0
  371. package/dist/chunks/chunk-HZ4ZINRT.js +130 -0
  372. package/dist/chunks/chunk-HZQBV3B7.js +165 -0
  373. package/dist/chunks/chunk-I5DDNMWU.js +106 -0
  374. package/dist/chunks/chunk-IAXDJGOY.js +55 -0
  375. package/dist/chunks/chunk-ICLUTKAM.js +1469 -0
  376. package/dist/chunks/chunk-IEVGG3CN.js +106 -0
  377. package/dist/chunks/chunk-IEXR4RMV.js +81 -0
  378. package/dist/chunks/chunk-II25EN7C.js +327 -0
  379. package/dist/chunks/chunk-IJKHCEDP.js +23 -0
  380. package/dist/chunks/chunk-IJW6NZ7R.js +84 -0
  381. package/dist/chunks/chunk-IPZKQHV5.js +192 -0
  382. package/dist/chunks/chunk-IRC7IGY2.js +78 -0
  383. package/dist/chunks/chunk-IRTVKCPC.js +33 -0
  384. package/dist/chunks/chunk-IS4V3CH3.js +100 -0
  385. package/dist/chunks/chunk-IUTJYV2B.js +80 -0
  386. package/dist/chunks/chunk-IVHLMGCI.js +153 -0
  387. package/dist/chunks/chunk-IWYN2VSX.js +157 -0
  388. package/dist/chunks/chunk-IXICLNCX.js +283 -0
  389. package/dist/chunks/chunk-IYR3JOTM.js +23 -0
  390. package/dist/chunks/chunk-IZTX3TRV.js +331 -0
  391. package/dist/chunks/chunk-J2ISIGMW.js +206 -0
  392. package/dist/chunks/chunk-J2OYBVX2.js +182 -0
  393. package/dist/chunks/chunk-J33JUOHJ.js +109 -0
  394. package/dist/chunks/chunk-J3CH5WEW.js +45 -0
  395. package/dist/chunks/chunk-J3P4VJU6.js +98 -0
  396. package/dist/chunks/chunk-J5O27P5U.js +215 -0
  397. package/dist/chunks/chunk-J7CQPIXR.js +33 -0
  398. package/dist/chunks/chunk-JAPNXFKI.js +144 -0
  399. package/dist/chunks/chunk-JBMMFKLN.js +118 -0
  400. package/dist/chunks/chunk-JCHF4BZI.js +39 -0
  401. package/dist/chunks/chunk-JCOXZDBL.js +396 -0
  402. package/dist/chunks/chunk-JE6A5KYI.js +188 -0
  403. package/dist/chunks/chunk-JF622NIZ.js +33 -0
  404. package/dist/chunks/chunk-JGUP4Y6M.js +188 -0
  405. package/dist/chunks/chunk-JIDGAP2O.js +208 -0
  406. package/dist/chunks/chunk-JIKCTH7S.js +150 -0
  407. package/dist/chunks/chunk-JJH4XNFL.js +53 -0
  408. package/dist/chunks/chunk-JJICGVJS.js +282 -0
  409. package/dist/chunks/chunk-JM35MJS6.js +71 -0
  410. package/dist/chunks/chunk-JNGSPD6Q.js +283 -0
  411. package/dist/chunks/chunk-JQRG5YJY.js +90 -0
  412. package/dist/chunks/chunk-JQWHMCFS.js +177 -0
  413. package/dist/chunks/chunk-JTQOOGOU.js +90 -0
  414. package/dist/chunks/chunk-JTTD3JF4.js +224 -0
  415. package/dist/chunks/chunk-JXFAJCMT.js +94 -0
  416. package/dist/chunks/chunk-K3QXEBAV.js +200 -0
  417. package/dist/chunks/chunk-K5RZQMN5.js +103 -0
  418. package/dist/chunks/chunk-K6RI56DF.js +221 -0
  419. package/dist/chunks/chunk-K7GYFWU5.js +187 -0
  420. package/dist/chunks/chunk-K7KZ7JR5.js +196 -0
  421. package/dist/chunks/chunk-KB7B55QF.js +122 -0
  422. package/dist/chunks/chunk-KBDAOBBV.js +102 -0
  423. package/dist/chunks/chunk-KEEH6TVP.js +36 -0
  424. package/dist/chunks/chunk-KFERD2HE.js +122 -0
  425. package/dist/chunks/chunk-KK3JGDZY.js +898 -0
  426. package/dist/chunks/chunk-KKDC2EPV.js +143 -0
  427. package/dist/chunks/chunk-KLETGLJV.js +212 -0
  428. package/dist/chunks/chunk-KPGJXUHT.js +126 -0
  429. package/dist/chunks/chunk-KPNHE4SY.js +207 -0
  430. package/dist/chunks/chunk-KQ46VGI5.js +92 -0
  431. package/dist/chunks/chunk-KQJ3Y5UD.js +169 -0
  432. package/dist/chunks/chunk-KR3FQZ6X.js +97 -0
  433. package/dist/chunks/chunk-KRWX4P5B.js +102 -0
  434. package/dist/chunks/chunk-KTNYMUWX.js +130 -0
  435. package/dist/chunks/chunk-KU25J6OH.js +163 -0
  436. package/dist/chunks/chunk-KVHASP3S.js +140 -0
  437. package/dist/chunks/chunk-KVSJ4OH6.js +104 -0
  438. package/dist/chunks/chunk-KWXSHPCE.js +33 -0
  439. package/dist/chunks/chunk-KX55ZJSE.js +187 -0
  440. package/dist/chunks/chunk-KXASSF7P.js +124 -0
  441. package/dist/chunks/chunk-KZOIGDPE.js +49 -0
  442. package/dist/chunks/chunk-L7IAIQ7O.js +360 -0
  443. package/dist/chunks/chunk-L7Q2OMHE.js +162 -0
  444. package/dist/chunks/chunk-LAICVOYN.js +105 -0
  445. package/dist/chunks/chunk-LAZVB6CO.js +33 -0
  446. package/dist/chunks/chunk-LD26OUB7.js +85 -0
  447. package/dist/chunks/chunk-LFOH2U3T.js +139 -0
  448. package/dist/chunks/chunk-LGHQAN5T.js +100 -0
  449. package/dist/chunks/chunk-LHP5DYVJ.js +83 -0
  450. package/dist/chunks/chunk-LIEJFG4E.js +589 -0
  451. package/dist/chunks/chunk-LITR3HMT.js +131 -0
  452. package/dist/chunks/chunk-LIUIZ6NP.js +559 -0
  453. package/dist/chunks/chunk-LIWQUS22.js +23 -0
  454. package/dist/chunks/chunk-LJ2VUD7X.js +273 -0
  455. package/dist/chunks/chunk-LJ753BVJ.js +101 -0
  456. package/dist/chunks/chunk-LKX4IQVL.js +127 -0
  457. package/dist/chunks/chunk-LLCTZPMT.js +33 -0
  458. package/dist/chunks/chunk-LLS72RU3.js +242 -0
  459. package/dist/chunks/chunk-LMI32EL4.js +652 -0
  460. package/dist/chunks/chunk-LNCNNU5T.js +123 -0
  461. package/dist/chunks/chunk-LNX7VARO.js +33 -0
  462. package/dist/chunks/chunk-LQKGG4AD.js +226 -0
  463. package/dist/chunks/chunk-LRRPKUC4.js +199 -0
  464. package/dist/chunks/chunk-LU3FXAWS.js +167 -0
  465. package/dist/chunks/chunk-LUEICVWA.js +33 -0
  466. package/dist/chunks/chunk-LUGF4T2J.js +102 -0
  467. package/dist/chunks/chunk-LWA3WWCP.js +210 -0
  468. package/dist/chunks/chunk-LY2UFM4A.js +78 -0
  469. package/dist/chunks/chunk-M45MLETT.js +255 -0
  470. package/dist/chunks/chunk-M4F3HHVB.js +81 -0
  471. package/dist/chunks/chunk-M5TJ7DQD.js +198 -0
  472. package/dist/chunks/chunk-M6U54BJD.js +23 -0
  473. package/dist/chunks/chunk-MA43GPNE.js +263 -0
  474. package/dist/chunks/chunk-MBCP6QXI.js +1403 -0
  475. package/dist/chunks/chunk-MCTK4GI2.js +152 -0
  476. package/dist/chunks/chunk-MD67HL7L.js +23 -0
  477. package/dist/chunks/chunk-MF25VPWI.js +172 -0
  478. package/dist/chunks/chunk-MFBV7GLZ.js +66 -0
  479. package/dist/chunks/chunk-MILBJUCM.js +206 -0
  480. package/dist/chunks/chunk-MISY6CSG.js +95 -0
  481. package/dist/chunks/chunk-MK335LLP.js +250 -0
  482. package/dist/chunks/chunk-MK6EHYKM.js +277 -0
  483. package/dist/chunks/chunk-MKHERIRB.js +190 -0
  484. package/dist/chunks/chunk-MKWGQZUS.js +23 -0
  485. package/dist/chunks/chunk-MLORFEWQ.js +54 -0
  486. package/dist/chunks/chunk-MLXBTGYX.js +85 -0
  487. package/dist/chunks/chunk-MQGIAQDS.js +46 -0
  488. package/dist/chunks/chunk-MUM4K6QV.js +146 -0
  489. package/dist/chunks/chunk-MUVM2AYN.js +138 -0
  490. package/dist/chunks/chunk-MWSZ2GSB.js +237 -0
  491. package/dist/chunks/chunk-MWXGNXJO.js +104 -0
  492. package/dist/chunks/chunk-MXWI3AMJ.js +247 -0
  493. package/dist/chunks/chunk-MZK6PFQ3.js +95 -0
  494. package/dist/chunks/chunk-MZXRFMRG.js +179 -0
  495. package/dist/chunks/chunk-N3XYJTUB.js +77 -0
  496. package/dist/chunks/chunk-N4CO5FZ3.js +228 -0
  497. package/dist/chunks/chunk-N4VB4ZMB.js +298 -0
  498. package/dist/chunks/chunk-N5VELXBD.js +163 -0
  499. package/dist/chunks/chunk-N7LJZGSZ.js +106 -0
  500. package/dist/chunks/chunk-NAHIVTUT.js +655 -0
  501. package/dist/chunks/chunk-NCTE7257.js +361 -0
  502. package/dist/chunks/chunk-ND4VUD5P.js +115 -0
  503. package/dist/chunks/chunk-NEMWI7N4.js +85 -0
  504. package/dist/chunks/chunk-NESWJC5O.js +130 -0
  505. package/dist/chunks/chunk-NFRGPSPW.js +262 -0
  506. package/dist/chunks/chunk-NFTBNLRV.js +115 -0
  507. package/dist/chunks/chunk-NGHMYAF4.js +238 -0
  508. package/dist/chunks/chunk-NGUIU3YY.js +270 -0
  509. package/dist/chunks/chunk-NH6O2MJ7.js +152 -0
  510. package/dist/chunks/chunk-NIJM36CN.js +33 -0
  511. package/dist/chunks/chunk-NIUGDI2G.js +260 -0
  512. package/dist/chunks/chunk-NIVSES62.js +115 -0
  513. package/dist/chunks/chunk-NKF4VROX.js +107 -0
  514. package/dist/chunks/chunk-NKYJVU32.js +89 -0
  515. package/dist/chunks/chunk-NN53ITDU.js +410 -0
  516. package/dist/chunks/chunk-NNJIRWES.js +88 -0
  517. package/dist/chunks/chunk-NONVU4DV.js +267 -0
  518. package/dist/chunks/chunk-NPCKJH7A.js +89 -0
  519. package/dist/chunks/chunk-NUHH2ASY.js +94 -0
  520. package/dist/chunks/chunk-NV2KXYJ6.js +176 -0
  521. package/dist/chunks/chunk-NYTID2GK.js +163 -0
  522. package/dist/chunks/chunk-NZWOBFWA.js +176 -0
  523. package/dist/chunks/chunk-O2G4BJSR.js +36 -0
  524. package/dist/chunks/chunk-O346NN3I.js +244 -0
  525. package/dist/chunks/chunk-O3KSJKT7.js +262 -0
  526. package/dist/chunks/chunk-O456EAOJ.js +222 -0
  527. package/dist/chunks/chunk-O4OVMVWF.js +303 -0
  528. package/dist/chunks/chunk-O5C5UQ5N.js +108 -0
  529. package/dist/chunks/chunk-O6GGXAIH.js +146 -0
  530. package/dist/chunks/chunk-OB7EBP6P.js +90 -0
  531. package/dist/chunks/chunk-OHK7MJSZ.js +48 -0
  532. package/dist/chunks/chunk-OIOYOIVX.js +141 -0
  533. package/dist/chunks/chunk-OJ2MLEIA.js +292 -0
  534. package/dist/chunks/chunk-OJ2RCAFX.js +83 -0
  535. package/dist/chunks/chunk-OJTOU7HQ.js +175 -0
  536. package/dist/chunks/chunk-OLHSUE4L.js +184 -0
  537. package/dist/chunks/chunk-OMHE5MKX.js +42 -0
  538. package/dist/chunks/chunk-OMOIKSUL.js +74 -0
  539. package/dist/chunks/chunk-ONBG65ZT.js +33 -0
  540. package/dist/chunks/chunk-OQX5DNMO.js +123 -0
  541. package/dist/chunks/chunk-OR2A4Y3E.js +33 -0
  542. package/dist/chunks/chunk-OS5R7D7I.js +69 -0
  543. package/dist/chunks/chunk-OTZ5MCJV.js +191 -0
  544. package/dist/chunks/chunk-OUWD2UHC.js +163 -0
  545. package/dist/chunks/chunk-OV3VJPST.js +83 -0
  546. package/dist/chunks/chunk-OXFJONTX.js +86 -0
  547. package/dist/chunks/chunk-OXGFMWHZ.js +462 -0
  548. package/dist/chunks/chunk-OYB5WMIB.js +115 -0
  549. package/dist/chunks/chunk-OZIWFXTX.js +178 -0
  550. package/dist/chunks/chunk-P2KOQFYL.js +45 -0
  551. package/dist/chunks/chunk-P2O53PB5.js +23 -0
  552. package/dist/chunks/chunk-P434OFXO.js +218 -0
  553. package/dist/chunks/chunk-P5CB42NR.js +127 -0
  554. package/dist/chunks/chunk-P5VQIVEE.js +45 -0
  555. package/dist/chunks/chunk-P6QPLC7J.js +63 -0
  556. package/dist/chunks/chunk-P6YUPPZ6.js +200 -0
  557. package/dist/chunks/chunk-P737E5EZ.js +99 -0
  558. package/dist/chunks/chunk-P7QYPLI5.js +136 -0
  559. package/dist/chunks/chunk-PCOKFICX.js +159 -0
  560. package/dist/chunks/chunk-PDETCOJ2.js +182 -0
  561. package/dist/chunks/chunk-PDTKFBOS.js +118 -0
  562. package/dist/chunks/chunk-PGDRUNGD.js +45 -0
  563. package/dist/chunks/chunk-PIROW62E.js +91 -0
  564. package/dist/chunks/chunk-PIX7TFED.js +282 -0
  565. package/dist/chunks/chunk-PKM35VMW.js +125 -0
  566. package/dist/chunks/chunk-PKSPCQDC.js +47 -0
  567. package/dist/chunks/chunk-PLKPNZZR.js +153 -0
  568. package/dist/chunks/chunk-PNKSB57L.js +149 -0
  569. package/dist/chunks/chunk-PQ5MJB5R.js +198 -0
  570. package/dist/chunks/chunk-PRKNEM43.js +79 -0
  571. package/dist/chunks/chunk-PSCI6WC4.js +218 -0
  572. package/dist/chunks/chunk-PSGBCPQX.js +169 -0
  573. package/dist/chunks/chunk-PTBFHGGV.js +304 -0
  574. package/dist/chunks/chunk-PUDMMXT5.js +23 -0
  575. package/dist/chunks/chunk-PVRUET6K.js +177 -0
  576. package/dist/chunks/chunk-PYEK2IEG.js +197 -0
  577. package/dist/chunks/chunk-PYTXSGU2.js +128 -0
  578. package/dist/chunks/chunk-PZ34IMTO.js +217 -0
  579. package/dist/chunks/chunk-PZILMUNF.js +45 -0
  580. package/dist/chunks/chunk-Q23EUNUX.js +129 -0
  581. package/dist/chunks/chunk-Q3TVIDAE.js +45 -0
  582. package/dist/chunks/chunk-Q6G26NE6.js +115 -0
  583. package/dist/chunks/chunk-Q6QQ6UWS.js +33 -0
  584. package/dist/chunks/chunk-Q7NECXOH.js +47 -0
  585. package/dist/chunks/chunk-QD4AOF36.js +121 -0
  586. package/dist/chunks/chunk-QD4LPM5S.js +390 -0
  587. package/dist/chunks/chunk-QE5ONYHF.js +81 -0
  588. package/dist/chunks/chunk-QETWMTHI.js +1834 -0
  589. package/dist/chunks/chunk-QF5FA4SS.js +261 -0
  590. package/dist/chunks/chunk-QFUXNPWE.js +165 -0
  591. package/dist/chunks/chunk-QILUML7U.js +45 -0
  592. package/dist/chunks/chunk-QK2FBDKB.js +151 -0
  593. package/dist/chunks/chunk-QKCIGYH4.js +120 -0
  594. package/dist/chunks/chunk-QLRX3OHU.js +89 -0
  595. package/dist/chunks/chunk-QMTOESK2.js +92 -0
  596. package/dist/chunks/chunk-QNGEKTRF.js +276 -0
  597. package/dist/chunks/chunk-QNVOXQGE.js +274 -0
  598. package/dist/chunks/chunk-QOOYE3UI.js +140 -0
  599. package/dist/chunks/chunk-QPKK6N3T.js +33 -0
  600. package/dist/chunks/chunk-QPXUJZ6H.js +28 -0
  601. package/dist/chunks/chunk-QRRRIYJL.js +342 -0
  602. package/dist/chunks/chunk-QRTDHMOF.js +91 -0
  603. package/dist/chunks/chunk-QRYL2X7D.js +152 -0
  604. package/dist/chunks/chunk-QTMLJSEN.js +45 -0
  605. package/dist/chunks/chunk-QUJG2IRA.js +266 -0
  606. package/dist/chunks/chunk-QUN6Q563.js +102 -0
  607. package/dist/chunks/chunk-QV6NLK7B.js +23 -0
  608. package/dist/chunks/chunk-QWXWAHAV.js +147 -0
  609. package/dist/chunks/chunk-R47VLQ2W.js +158 -0
  610. package/dist/chunks/chunk-R6T2HWLA.js +178 -0
  611. package/dist/chunks/chunk-R7A55SQV.js +251 -0
  612. package/dist/chunks/chunk-R7CMKFJ5.js +45 -0
  613. package/dist/chunks/chunk-RBMFM2NL.js +334 -0
  614. package/dist/chunks/chunk-REGNTUS7.js +117 -0
  615. package/dist/chunks/chunk-RHDQEWRS.js +80 -0
  616. package/dist/chunks/chunk-RIQE3H35.js +307 -0
  617. package/dist/chunks/chunk-RISTF5XZ.js +44 -0
  618. package/dist/chunks/chunk-RJYYMQ7B.js +287 -0
  619. package/dist/chunks/chunk-RSHGVTNM.js +38 -0
  620. package/dist/chunks/chunk-RTN34ALF.js +158 -0
  621. package/dist/chunks/chunk-RUJHUWFW.js +100 -0
  622. package/dist/chunks/chunk-RVPM5U7W.js +93 -0
  623. package/dist/chunks/chunk-RWV2AUGJ.js +176 -0
  624. package/dist/chunks/chunk-RXHUGE4Q.js +23 -0
  625. package/dist/chunks/chunk-RXP5QGRN.js +23 -0
  626. package/dist/chunks/chunk-RZHD6LSK.js +177 -0
  627. package/dist/chunks/chunk-RZT3BV2C.js +87 -0
  628. package/dist/chunks/chunk-S2COOTF7.js +169 -0
  629. package/dist/chunks/chunk-S2N5G3PG.js +105 -0
  630. package/dist/chunks/chunk-S2Y6XWMM.js +200 -0
  631. package/dist/chunks/chunk-S3A7ZJWA.js +80 -0
  632. package/dist/chunks/chunk-S4T4AFL2.js +270 -0
  633. package/dist/chunks/chunk-S4V3JKVX.js +174 -0
  634. package/dist/chunks/chunk-S4WT4733.js +153 -0
  635. package/dist/chunks/chunk-S5QG6CA6.js +150 -0
  636. package/dist/chunks/chunk-S65YZTEA.js +194 -0
  637. package/dist/chunks/chunk-S6HDVUGS.js +166 -0
  638. package/dist/chunks/chunk-S6RFXZCL.js +33 -0
  639. package/dist/chunks/chunk-S7KJ4F75.js +135 -0
  640. package/dist/chunks/chunk-SB2WMWUU.js +2168 -0
  641. package/dist/chunks/chunk-SBDPOIDA.js +150 -0
  642. package/dist/chunks/chunk-SCFIVDY6.js +137 -0
  643. package/dist/chunks/chunk-SDAYLYON.js +68 -0
  644. package/dist/chunks/chunk-SFOOVYFM.js +54 -0
  645. package/dist/chunks/chunk-SGAINMPP.js +329 -0
  646. package/dist/chunks/chunk-SK2N6MPC.js +320 -0
  647. package/dist/chunks/chunk-SUA2I3OK.js +108 -0
  648. package/dist/chunks/chunk-SVCTCSWK.js +1419 -0
  649. package/dist/chunks/chunk-SVI5T722.js +168 -0
  650. package/dist/chunks/chunk-SWPV2B72.js +646 -0
  651. package/dist/chunks/chunk-SXBDSYJ5.js +23 -0
  652. package/dist/chunks/chunk-T2AXZEDB.js +220 -0
  653. package/dist/chunks/chunk-T2UI5BGK.js +159 -0
  654. package/dist/chunks/chunk-T3BQ3OPN.js +100 -0
  655. package/dist/chunks/chunk-T47J7UUI.js +23 -0
  656. package/dist/chunks/chunk-T4IWHWT3.js +237 -0
  657. package/dist/chunks/chunk-T57KDVBZ.js +813 -0
  658. package/dist/chunks/chunk-T5EYOUW5.js +126 -0
  659. package/dist/chunks/chunk-T6T7BR5H.js +86 -0
  660. package/dist/chunks/chunk-T7HIEXQU.js +192 -0
  661. package/dist/chunks/chunk-T7HXNLLO.js +110 -0
  662. package/dist/chunks/chunk-TDSIJP4X.js +76 -0
  663. package/dist/chunks/chunk-TEWEZCXP.js +234 -0
  664. package/dist/chunks/chunk-TFDDYXXR.js +179 -0
  665. package/dist/chunks/chunk-TFURQOKN.js +36 -0
  666. package/dist/chunks/chunk-TGCLG522.js +358 -0
  667. package/dist/chunks/chunk-TGRUAEMN.js +71 -0
  668. package/dist/chunks/chunk-THMSIPJE.js +100 -0
  669. package/dist/chunks/chunk-THON6ABE.js +109 -0
  670. package/dist/chunks/chunk-TJBB2465.js +98 -0
  671. package/dist/chunks/chunk-TJBUKKAQ.js +198 -0
  672. package/dist/chunks/chunk-TJIXMSHS.js +344 -0
  673. package/dist/chunks/chunk-TKDE477C.js +33 -0
  674. package/dist/chunks/chunk-TPFFY23U.js +226 -0
  675. package/dist/chunks/chunk-TPOATIHU.js +62 -0
  676. package/dist/chunks/chunk-TQI3A27Y.js +36 -0
  677. package/dist/chunks/chunk-TR5F4YFK.js +112 -0
  678. package/dist/chunks/chunk-TRCXXBYA.js +36 -0
  679. package/dist/chunks/chunk-TRXBGG2O.js +79 -0
  680. package/dist/chunks/chunk-TU4FXWYL.js +114 -0
  681. package/dist/chunks/chunk-TUZCYNI5.js +251 -0
  682. package/dist/chunks/chunk-U2E5CWVR.js +109 -0
  683. package/dist/chunks/chunk-U2XHFLH5.js +147 -0
  684. package/dist/chunks/chunk-U34HW2KC.js +124 -0
  685. package/dist/chunks/chunk-U5L6VZ4I.js +97 -0
  686. package/dist/chunks/chunk-UAFB7ECL.js +52 -0
  687. package/dist/chunks/chunk-UB6FXMUR.js +95 -0
  688. package/dist/chunks/chunk-UDCXMCH6.js +399 -0
  689. package/dist/chunks/chunk-UDGYSKPP.js +108 -0
  690. package/dist/chunks/chunk-UDPFQMCY.js +172 -0
  691. package/dist/chunks/chunk-UEBIOT56.js +157 -0
  692. package/dist/chunks/chunk-UEDU652O.js +135 -0
  693. package/dist/chunks/chunk-UEGZZA5M.js +91 -0
  694. package/dist/chunks/chunk-UFIAFT4T.js +209 -0
  695. package/dist/chunks/chunk-UHOF4QSF.js +78 -0
  696. package/dist/chunks/chunk-UHZKFDEG.js +220 -0
  697. package/dist/chunks/chunk-UJHNBGIO.js +104 -0
  698. package/dist/chunks/chunk-UJMGZRP6.js +684 -0
  699. package/dist/chunks/chunk-UMBZTJ7W.js +260 -0
  700. package/dist/chunks/chunk-UMFRJT35.js +170 -0
  701. package/dist/chunks/chunk-UMRGUFSF.js +115 -0
  702. package/dist/chunks/chunk-UNMYF5W3.js +105 -0
  703. package/dist/chunks/chunk-URD2KX5V.js +133 -0
  704. package/dist/chunks/chunk-USJBGXTU.js +164 -0
  705. package/dist/chunks/chunk-USZ66YQA.js +103 -0
  706. package/dist/chunks/chunk-UT5JJUVQ.js +194 -0
  707. package/dist/chunks/chunk-UTHLZDPV.js +36 -0
  708. package/dist/chunks/chunk-UTSV5SGR.js +145 -0
  709. package/dist/chunks/chunk-UUHOM7FJ.js +213 -0
  710. package/dist/chunks/chunk-UVAGXV3O.js +136 -0
  711. package/dist/chunks/chunk-UWE33IML.js +117 -0
  712. package/dist/chunks/chunk-V2B2EZAX.js +55 -0
  713. package/dist/chunks/chunk-V2JBXMTY.js +50 -0
  714. package/dist/chunks/chunk-V3HREQDD.js +151 -0
  715. package/dist/chunks/chunk-V4QMEREP.js +324 -0
  716. package/dist/chunks/chunk-V4R4VLSA.js +104 -0
  717. package/dist/chunks/chunk-VA3JRTZH.js +145 -0
  718. package/dist/chunks/chunk-VA4G54QR.js +161 -0
  719. package/dist/chunks/chunk-VAXEY544.js +196 -0
  720. package/dist/chunks/chunk-VDB7WBZH.js +57 -0
  721. package/dist/chunks/chunk-VFZH6OY7.js +224 -0
  722. package/dist/chunks/chunk-VG2C74EU.js +112 -0
  723. package/dist/chunks/chunk-VGTBYJOB.js +113 -0
  724. package/dist/chunks/chunk-VH3WJQ7E.js +311 -0
  725. package/dist/chunks/chunk-VH7L7QPL.js +23 -0
  726. package/dist/chunks/chunk-VIOIYGLW.js +77 -0
  727. package/dist/chunks/chunk-VK7W6S3G.js +197 -0
  728. package/dist/chunks/chunk-VMW3P7IQ.js +100 -0
  729. package/dist/chunks/chunk-VNG7PDAU.js +209 -0
  730. package/dist/chunks/chunk-VNKVB7XC.js +119 -0
  731. package/dist/chunks/chunk-VPM3Z3F5.js +848 -0
  732. package/dist/chunks/chunk-VPXBJL5D.js +197 -0
  733. package/dist/chunks/chunk-VQZUKN5I.js +72 -0
  734. package/dist/chunks/chunk-VT4G2LR3.js +512 -0
  735. package/dist/chunks/chunk-VTG5WZTR.js +196 -0
  736. package/dist/chunks/chunk-VTZWDEYX.js +106 -0
  737. package/dist/chunks/chunk-VU2FJSY7.js +149 -0
  738. package/dist/chunks/chunk-VU2Y4FWA.js +63 -0
  739. package/dist/chunks/chunk-VU6QLVLA.js +1307 -0
  740. package/dist/chunks/chunk-VUQTM6NQ.js +36 -0
  741. package/dist/chunks/chunk-VVMFTLLI.js +266 -0
  742. package/dist/chunks/chunk-VWRUXXLB.js +123 -0
  743. package/dist/chunks/chunk-VWTIZYAP.js +96 -0
  744. package/dist/chunks/chunk-W2KFYWZG.js +23 -0
  745. package/dist/chunks/chunk-W4NNVV5O.js +99 -0
  746. package/dist/chunks/chunk-W5BXYVS5.js +30 -0
  747. package/dist/chunks/chunk-W6F3N75S.js +122 -0
  748. package/dist/chunks/chunk-W6XUUX34.js +174 -0
  749. package/dist/chunks/chunk-WAX7DR6Z.js +163 -0
  750. package/dist/chunks/chunk-WB6ELFJF.js +39 -0
  751. package/dist/chunks/chunk-WBP4GZOC.js +141 -0
  752. package/dist/chunks/chunk-WBUWSKY5.js +48 -0
  753. package/dist/chunks/chunk-WCHFSAUJ.js +84 -0
  754. package/dist/chunks/chunk-WDGYIQMP.js +60 -0
  755. package/dist/chunks/chunk-WEG6KKNW.js +123 -0
  756. package/dist/chunks/chunk-WEMU7K3A.js +84 -0
  757. package/dist/chunks/chunk-WHC6IXSA.js +165 -0
  758. package/dist/chunks/chunk-WHMLU2GF.js +382 -0
  759. package/dist/chunks/chunk-WHZPKE5Z.js +77 -0
  760. package/dist/chunks/chunk-WJTAZDXO.js +23 -0
  761. package/dist/chunks/chunk-WKGJV6C6.js +23 -0
  762. package/dist/chunks/chunk-WL5WIHJ5.js +183 -0
  763. package/dist/chunks/chunk-WLTMSKQ7.js +85 -0
  764. package/dist/chunks/chunk-WMDFQIDT.js +338 -0
  765. package/dist/chunks/chunk-WPIUKML2.js +111 -0
  766. package/dist/chunks/chunk-WQ3CQLHS.js +152 -0
  767. package/dist/chunks/chunk-WQJDPTO2.js +69 -0
  768. package/dist/chunks/chunk-WRMY2DBM.js +304 -0
  769. package/dist/chunks/chunk-WSMRKH2W.js +299 -0
  770. package/dist/chunks/chunk-WTLULNGI.js +140 -0
  771. package/dist/chunks/chunk-WWVQZ2AJ.js +1574 -0
  772. package/dist/chunks/chunk-WXO5IHVY.js +193 -0
  773. package/dist/chunks/chunk-WYX324N7.js +112 -0
  774. package/dist/chunks/chunk-WZPTTAWY.js +79 -0
  775. package/dist/chunks/chunk-WZTZZKEZ.js +149 -0
  776. package/dist/chunks/chunk-X6YOSBZ5.js +139 -0
  777. package/dist/chunks/chunk-X7XRHC24.js +23 -0
  778. package/dist/chunks/chunk-XBU35NXR.js +103 -0
  779. package/dist/chunks/chunk-XBW63WMN.js +189 -0
  780. package/dist/chunks/chunk-XCJSNC7Y.js +93 -0
  781. package/dist/chunks/chunk-XEBTT7C3.js +170 -0
  782. package/dist/chunks/chunk-XFQ2ROXL.js +83 -0
  783. package/dist/chunks/chunk-XFZVGVD7.js +86 -0
  784. package/dist/chunks/chunk-XG4NLNDI.js +78 -0
  785. package/dist/chunks/chunk-XGDLERD6.js +80 -0
  786. package/dist/chunks/chunk-XH2LIJHE.js +182 -0
  787. package/dist/chunks/chunk-XHO7AUTU.js +118 -0
  788. package/dist/chunks/chunk-XI75ZE63.js +82 -0
  789. package/dist/chunks/chunk-XJ2ZBDGL.js +102 -0
  790. package/dist/chunks/chunk-XJ62OCLL.js +88 -0
  791. package/dist/chunks/chunk-XJC7MBAZ.js +391 -0
  792. package/dist/chunks/chunk-XKDE7RWF.js +181 -0
  793. package/dist/chunks/chunk-XKWNWA2X.js +330 -0
  794. package/dist/chunks/chunk-XLBXUDAX.js +145 -0
  795. package/dist/chunks/chunk-XMXPUYCT.js +97 -0
  796. package/dist/chunks/chunk-XNG7RNUS.js +107 -0
  797. package/dist/chunks/chunk-XOQZRSWZ.js +41 -0
  798. package/dist/chunks/chunk-XPI7EIXP.js +109 -0
  799. package/dist/chunks/chunk-XRA4WJPB.js +122 -0
  800. package/dist/chunks/chunk-XRJZ5N6V.js +73 -0
  801. package/dist/chunks/chunk-XRMKZ736.js +138 -0
  802. package/dist/chunks/chunk-XSF3ZCDK.js +198 -0
  803. package/dist/chunks/chunk-XSJN3Q27.js +242 -0
  804. package/dist/chunks/chunk-XTU5IYCQ.js +33 -0
  805. package/dist/chunks/chunk-XWCOQH6C.js +101 -0
  806. package/dist/chunks/chunk-Y35W43D6.js +33 -0
  807. package/dist/chunks/chunk-Y6CNJEHQ.js +75 -0
  808. package/dist/chunks/chunk-Y6JKDUMD.js +23 -0
  809. package/dist/chunks/chunk-Y6MASFMO.js +106 -0
  810. package/dist/chunks/chunk-Y7WR6DX6.js +84 -0
  811. package/dist/chunks/chunk-YAQ5CEGU.js +326 -0
  812. package/dist/chunks/chunk-YAYLX46E.js +210 -0
  813. package/dist/chunks/chunk-YEKYDL7I.js +170 -0
  814. package/dist/chunks/chunk-YF7DEARA.js +265 -0
  815. package/dist/chunks/chunk-YFRIDDST.js +215 -0
  816. package/dist/chunks/chunk-YH6WAICE.js +23 -0
  817. package/dist/chunks/chunk-YIF3XPIY.js +23 -0
  818. package/dist/chunks/chunk-YJR3OXSM.js +80 -0
  819. package/dist/chunks/chunk-YJZH6FLI.js +97 -0
  820. package/dist/chunks/chunk-YKCEJMW7.js +961 -0
  821. package/dist/chunks/chunk-YLR3P4QG.js +204 -0
  822. package/dist/chunks/chunk-YO4C4RH6.js +172 -0
  823. package/dist/chunks/chunk-YO4DREYC.js +23 -0
  824. package/dist/chunks/chunk-YOEG2FRM.js +122 -0
  825. package/dist/chunks/chunk-YP7TMAFR.js +141 -0
  826. package/dist/chunks/chunk-YPEUYSTS.js +166 -0
  827. package/dist/chunks/chunk-YQ7QCFC7.js +94 -0
  828. package/dist/chunks/chunk-YQIONW6M.js +23 -0
  829. package/dist/chunks/chunk-YTGESAHQ.js +108 -0
  830. package/dist/chunks/chunk-YUFSTD2O.js +209 -0
  831. package/dist/chunks/chunk-YUOP2C4O.js +98 -0
  832. package/dist/chunks/chunk-YWNTECRB.js +30 -0
  833. package/dist/chunks/chunk-YWSZKMG7.js +97 -0
  834. package/dist/chunks/chunk-YXYCRF6Y.js +180 -0
  835. package/dist/chunks/chunk-YZUQPY6J.js +95 -0
  836. package/dist/chunks/chunk-Z3MGB55W.js +87 -0
  837. package/dist/chunks/chunk-Z3ZGWNDW.js +105 -0
  838. package/dist/chunks/chunk-Z5RTHTOQ.js +33 -0
  839. package/dist/chunks/chunk-ZA2PVV5T.js +142 -0
  840. package/dist/chunks/chunk-ZABKVMQD.js +226 -0
  841. package/dist/chunks/chunk-ZAQWKZDY.js +95 -0
  842. package/dist/chunks/chunk-ZBBKMGEX.js +130 -0
  843. package/dist/chunks/chunk-ZBLNKI3K.js +155 -0
  844. package/dist/chunks/chunk-ZBPDWI4I.js +23 -0
  845. package/dist/chunks/chunk-ZC2XZTJE.js +162 -0
  846. package/dist/chunks/chunk-ZCHSEL4O.js +889 -0
  847. package/dist/chunks/chunk-ZCKUJDTW.js +172 -0
  848. package/dist/chunks/chunk-ZGXLFVTE.js +198 -0
  849. package/dist/chunks/chunk-ZHN5E2CT.js +297 -0
  850. package/dist/chunks/chunk-ZLMS3353.js +181 -0
  851. package/dist/chunks/chunk-ZNQ6KXXN.js +44 -0
  852. package/dist/chunks/chunk-ZO22CMZA.js +70 -0
  853. package/dist/chunks/chunk-ZPAZHPYR.js +130 -0
  854. package/dist/chunks/chunk-ZRKB5KS4.js +728 -0
  855. package/dist/chunks/chunk-ZRWZ3WCB.js +102 -0
  856. package/dist/chunks/chunk-ZSOZ4CCH.js +277 -0
  857. package/dist/chunks/chunk-ZT5GYT7R.js +93 -0
  858. package/dist/chunks/chunk-ZWTFS3UU.js +224 -0
  859. package/dist/chunks/chunk-ZX5HUXUW.js +274 -0
  860. package/dist/chunks/chunk-ZYOHYK2O.js +204 -0
  861. package/dist/chunks/chunk-ZYS3VQNF.js +23 -0
  862. package/dist/chunks/chunk-ZYXVJLUJ.js +305 -0
  863. package/dist/chunks/client-5MPHAP7J.js +168 -0
  864. package/dist/chunks/client-TSA4TGQ5.js +47 -0
  865. package/dist/chunks/client-WCFTZTY2.js +31 -0
  866. package/dist/chunks/client-actions-CCKVMLJZ.js +170 -0
  867. package/dist/chunks/components-5P7CUB67.js +78 -0
  868. package/dist/chunks/dangerous-U5GLX7R3.js +124 -0
  869. package/dist/chunks/delete-current-file-JKWGH4IU.js +163 -0
  870. package/dist/chunks/editor-seams-RDIHV43B.js +183 -0
  871. package/dist/chunks/editor-store-KWONP5ZB.js +148 -0
  872. package/dist/chunks/export-CPB3VOWI.js +67 -0
  873. package/dist/chunks/export-watermark-T6CSJ4DR.js +157 -0
  874. package/dist/chunks/eyedropper-EO4IV2KR.js +355 -0
  875. package/dist/chunks/generate-media-T7QM2TDD.js +255 -0
  876. package/dist/chunks/host-BYFDVBSS.js +184 -0
  877. package/dist/chunks/host-TW6A434C.js +246 -0
  878. package/dist/chunks/integrations-7BI2Q4JX.js +125 -0
  879. package/dist/chunks/libraries-IPT76YJS.js +311 -0
  880. package/dist/chunks/live-GIVKQPCU.js +322 -0
  881. package/dist/chunks/lottie-DZ2DAK74.js +91 -0
  882. package/dist/chunks/media-tool-2XRWNH6L.js +237 -0
  883. package/dist/chunks/new-file-N2L36DKP.js +140 -0
  884. package/dist/chunks/next-commerce-RMHADXAE.js +74 -0
  885. package/dist/chunks/pdf-KRFLICBG.js +1218 -0
  886. package/dist/chunks/player-check-BZACCNI5.js +119 -0
  887. package/dist/chunks/plugin-W2SRE3A4.js +131 -0
  888. package/dist/chunks/plugin-import-BWXNXHYC.js +692 -0
  889. package/dist/chunks/presence-RSPTSAU6.js +137 -0
  890. package/dist/chunks/project-524HCDOW.js +1601 -0
  891. package/dist/chunks/publish-site-PKLAWL25.js +167 -0
  892. package/dist/chunks/publish-store-YOIXMVO2.js +100 -0
  893. package/dist/chunks/raster-actions-TQNM7AVM.js +233 -0
  894. package/dist/chunks/reference-images-LMW5RE5H.js +62 -0
  895. package/dist/chunks/registry-D4UHV32V.js +49 -0
  896. package/dist/chunks/resolvers-S2CHKOZA.js +150 -0
  897. package/dist/chunks/runner-Z7CRYDBM.js +3546 -0
  898. package/dist/chunks/store-3QXOA3HT.js +235 -0
  899. package/dist/chunks/storefront-TTANJUZ5.js +336 -0
  900. package/dist/chunks/storefront-prepare-VE2VOSS4.js +33 -0
  901. package/dist/chunks/svg-export-GYW5LSD3.js +84 -0
  902. package/dist/chunks/sync-C6IK4KY6.js +162 -0
  903. package/dist/chunks/tabs-WEUBSQYH.js +320 -0
  904. package/dist/chunks/team-6BOZI223.js +47 -0
  905. package/dist/chunks/team-client-KG5XDJA3.js +158 -0
  906. package/dist/chunks/tools-TU2H4X22.js +37 -0
  907. package/dist/chunks/tree-KJ5BCFC3.js +83 -0
  908. package/dist/chunks/ui-commands-B7VEBEFW.js +191 -0
  909. package/dist/chunks/versions-2HU2MF3F.js +320 -0
  910. package/dist/chunks/web-36EK3KIL.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-TSLSDIZ7.js +0 -44
  1740. package/dist/chunks/builtin-H6YOIATP.js +0 -121
  1741. package/dist/chunks/buy-credits-JFWH2FVN.js +0 -80
  1742. package/dist/chunks/check-template-VFEXYV4M.js +0 -2413
  1743. package/dist/chunks/chunk-22F7EPVX.js +0 -172
  1744. package/dist/chunks/chunk-22KJ3JZL.js +0 -270
  1745. package/dist/chunks/chunk-235FEKZK.js +0 -135
  1746. package/dist/chunks/chunk-23OUPS7W.js +0 -33
  1747. package/dist/chunks/chunk-25PISO2F.js +0 -23
  1748. package/dist/chunks/chunk-2BKPA6Y4.js +0 -282
  1749. package/dist/chunks/chunk-2FGIORXE.js +0 -210
  1750. package/dist/chunks/chunk-2G7XPWMP.js +0 -239
  1751. package/dist/chunks/chunk-2IX5ZIH6.js +0 -84
  1752. package/dist/chunks/chunk-2LBRUUPE.js +0 -198
  1753. package/dist/chunks/chunk-2LOXSABB.js +0 -89
  1754. package/dist/chunks/chunk-2LQELHXE.js +0 -152
  1755. package/dist/chunks/chunk-2MLPQPYI.js +0 -225
  1756. package/dist/chunks/chunk-2MYE2LS3.js +0 -104
  1757. package/dist/chunks/chunk-2NAHHBYS.js +0 -258
  1758. package/dist/chunks/chunk-2OQZUCPX.js +0 -75
  1759. package/dist/chunks/chunk-2PKIXGRF.js +0 -23
  1760. package/dist/chunks/chunk-2PUOT7D7.js +0 -23
  1761. package/dist/chunks/chunk-2Q2RQ6GW.js +0 -140
  1762. package/dist/chunks/chunk-2QVNKB4B.js +0 -55
  1763. package/dist/chunks/chunk-2RFZTHNF.js +0 -41
  1764. package/dist/chunks/chunk-2RGKPXH2.js +0 -338
  1765. package/dist/chunks/chunk-2W3JZOAF.js +0 -33
  1766. package/dist/chunks/chunk-2YJGU3KV.js +0 -152
  1767. package/dist/chunks/chunk-2YSZ7YDC.js +0 -250
  1768. package/dist/chunks/chunk-2ZPQT6WR.js +0 -131
  1769. package/dist/chunks/chunk-325D2VTB.js +0 -84
  1770. package/dist/chunks/chunk-33LZDK5M.js +0 -115
  1771. package/dist/chunks/chunk-355O4WLG.js +0 -168
  1772. package/dist/chunks/chunk-35BBAOTL.js +0 -165
  1773. package/dist/chunks/chunk-36SCCSEM.js +0 -247
  1774. package/dist/chunks/chunk-3AKH5JDC.js +0 -54
  1775. package/dist/chunks/chunk-3BRSTTBH.js +0 -777
  1776. package/dist/chunks/chunk-3BYZEUZ3.js +0 -23
  1777. package/dist/chunks/chunk-3C3JKOXN.js +0 -153
  1778. package/dist/chunks/chunk-3C623QFF.js +0 -23
  1779. package/dist/chunks/chunk-3IF2EY7N.js +0 -23
  1780. package/dist/chunks/chunk-3INKHOQC.js +0 -146
  1781. package/dist/chunks/chunk-3IVTLWWG.js +0 -218
  1782. package/dist/chunks/chunk-3JOTA7EB.js +0 -1419
  1783. package/dist/chunks/chunk-3NDSXFU2.js +0 -23
  1784. package/dist/chunks/chunk-3NLSCMZW.js +0 -74
  1785. package/dist/chunks/chunk-3NPBD6AS.js +0 -121
  1786. package/dist/chunks/chunk-3NT5PMWJ.js +0 -23
  1787. package/dist/chunks/chunk-3OHYWADH.js +0 -170
  1788. package/dist/chunks/chunk-3QJCMOGK.js +0 -106
  1789. package/dist/chunks/chunk-3RTFJ6PY.js +0 -47
  1790. package/dist/chunks/chunk-3S7LAQFC.js +0 -80
  1791. package/dist/chunks/chunk-3SPKZSYF.js +0 -135
  1792. package/dist/chunks/chunk-3TACXVZV.js +0 -77
  1793. package/dist/chunks/chunk-3TP7DUPG.js +0 -191
  1794. package/dist/chunks/chunk-3VM5BRMC.js +0 -95
  1795. package/dist/chunks/chunk-3YDD45FM.js +0 -90
  1796. package/dist/chunks/chunk-3YICBU43.js +0 -234
  1797. package/dist/chunks/chunk-3YONJZXI.js +0 -121
  1798. package/dist/chunks/chunk-3YSCPNDM.js +0 -215
  1799. package/dist/chunks/chunk-3YXONWIJ.js +0 -91
  1800. package/dist/chunks/chunk-444FZ7QE.js +0 -185
  1801. package/dist/chunks/chunk-45IX6H4R.js +0 -206
  1802. package/dist/chunks/chunk-4ABKTEOV.js +0 -111
  1803. package/dist/chunks/chunk-4BCVARIN.js +0 -82
  1804. package/dist/chunks/chunk-4ID6VIDT.js +0 -174
  1805. package/dist/chunks/chunk-4ISDJG43.js +0 -23
  1806. package/dist/chunks/chunk-4J76WO5T.js +0 -163
  1807. package/dist/chunks/chunk-4JBKMOSA.js +0 -33
  1808. package/dist/chunks/chunk-4KP4OZWA.js +0 -262
  1809. package/dist/chunks/chunk-4LFZGFPQ.js +0 -320
  1810. package/dist/chunks/chunk-4LKYD4XB.js +0 -197
  1811. package/dist/chunks/chunk-4LSVSFRI.js +0 -49
  1812. package/dist/chunks/chunk-4NEKRODJ.js +0 -102
  1813. package/dist/chunks/chunk-4NFBAFW6.js +0 -189
  1814. package/dist/chunks/chunk-4NPNWZMA.js +0 -159
  1815. package/dist/chunks/chunk-4ONQ7YOK.js +0 -123
  1816. package/dist/chunks/chunk-4QAZMJ5Z.js +0 -88
  1817. package/dist/chunks/chunk-4S3KLOPA.js +0 -166
  1818. package/dist/chunks/chunk-4SAGDNBJ.js +0 -106
  1819. package/dist/chunks/chunk-4SLOWKGS.js +0 -94
  1820. package/dist/chunks/chunk-4SX3ZZX7.js +0 -180
  1821. package/dist/chunks/chunk-4TGLGW3X.js +0 -153
  1822. package/dist/chunks/chunk-4TSMYNCF.js +0 -224
  1823. package/dist/chunks/chunk-4TSXXYYE.js +0 -422
  1824. package/dist/chunks/chunk-4V4CIANZ.js +0 -97
  1825. package/dist/chunks/chunk-4WTOALP4.js +0 -101
  1826. package/dist/chunks/chunk-4XBJA2NU.js +0 -36
  1827. package/dist/chunks/chunk-4XL6STAO.js +0 -78
  1828. package/dist/chunks/chunk-4XTFD5BC.js +0 -77
  1829. package/dist/chunks/chunk-4XVR2ZWY.js +0 -33
  1830. package/dist/chunks/chunk-4Y3BWUBH.js +0 -23
  1831. package/dist/chunks/chunk-4Y4GZHUB.js +0 -92
  1832. package/dist/chunks/chunk-4YSL6MDN.js +0 -312
  1833. package/dist/chunks/chunk-4ZMSAPTD.js +0 -122
  1834. package/dist/chunks/chunk-52H7XQSY.js +0 -378
  1835. package/dist/chunks/chunk-52ISSBB2.js +0 -23
  1836. package/dist/chunks/chunk-52NCJHSX.js +0 -36
  1837. package/dist/chunks/chunk-54YT4UBV.js +0 -197
  1838. package/dist/chunks/chunk-56Z5S2H3.js +0 -77
  1839. package/dist/chunks/chunk-57HS45KP.js +0 -214
  1840. package/dist/chunks/chunk-5AABYA2Q.js +0 -81
  1841. package/dist/chunks/chunk-5BSKHZL5.js +0 -290
  1842. package/dist/chunks/chunk-5GIP3ZC5.js +0 -23
  1843. package/dist/chunks/chunk-5HQKCBJY.js +0 -128
  1844. package/dist/chunks/chunk-5I2HWOFO.js +0 -172
  1845. package/dist/chunks/chunk-5IMOKCRL.js +0 -55
  1846. package/dist/chunks/chunk-5JXKH2PJ.js +0 -197
  1847. package/dist/chunks/chunk-5LAGG32N.js +0 -115
  1848. package/dist/chunks/chunk-5MAU4MW2.js +0 -237
  1849. package/dist/chunks/chunk-5NWEWIKW.js +0 -81
  1850. package/dist/chunks/chunk-5QEWPMQN.js +0 -97
  1851. package/dist/chunks/chunk-5QW2KWH5.js +0 -80
  1852. package/dist/chunks/chunk-5RH44KS3.js +0 -206
  1853. package/dist/chunks/chunk-5TGZDBRL.js +0 -55
  1854. package/dist/chunks/chunk-5XHC5QXQ.js +0 -183
  1855. package/dist/chunks/chunk-63AZPKZY.js +0 -113
  1856. package/dist/chunks/chunk-63DMJTBC.js +0 -390
  1857. package/dist/chunks/chunk-66EUO47D.js +0 -274
  1858. package/dist/chunks/chunk-66FTYOPY.js +0 -889
  1859. package/dist/chunks/chunk-67S2TFAZ.js +0 -108
  1860. package/dist/chunks/chunk-6A24MSQG.js +0 -33
  1861. package/dist/chunks/chunk-6AKTTKMG.js +0 -80
  1862. package/dist/chunks/chunk-6BHXTA3Q.js +0 -96
  1863. package/dist/chunks/chunk-6D3OV6IZ.js +0 -69
  1864. package/dist/chunks/chunk-6EG6J2P6.js +0 -94
  1865. package/dist/chunks/chunk-6F467OQG.js +0 -118
  1866. package/dist/chunks/chunk-6FYR3LXN.js +0 -106
  1867. package/dist/chunks/chunk-6GMHMYZ2.js +0 -23
  1868. package/dist/chunks/chunk-6HGWZM2J.js +0 -89
  1869. package/dist/chunks/chunk-6JCHPGNL.js +0 -265
  1870. package/dist/chunks/chunk-6LX4QTGY.js +0 -33
  1871. package/dist/chunks/chunk-6MXPW2VC.js +0 -106
  1872. package/dist/chunks/chunk-6R6AFZWK.js +0 -97
  1873. package/dist/chunks/chunk-6UVXJ7F4.js +0 -30
  1874. package/dist/chunks/chunk-6XT4SR2D.js +0 -155
  1875. package/dist/chunks/chunk-6Z3G6CE4.js +0 -71
  1876. package/dist/chunks/chunk-6Z5AE6UQ.js +0 -231
  1877. package/dist/chunks/chunk-6Z6JN2HB.js +0 -23
  1878. package/dist/chunks/chunk-75QDBS6R.js +0 -149
  1879. package/dist/chunks/chunk-7AEK44HQ.js +0 -41
  1880. package/dist/chunks/chunk-7BNKFBTW.js +0 -161
  1881. package/dist/chunks/chunk-7CYLOIOR.js +0 -120
  1882. package/dist/chunks/chunk-7D2JIX5U.js +0 -101
  1883. package/dist/chunks/chunk-7EJGSZY5.js +0 -462
  1884. package/dist/chunks/chunk-7ILLYRJB.js +0 -99
  1885. package/dist/chunks/chunk-7J6LG54K.js +0 -277
  1886. package/dist/chunks/chunk-7KX55PR3.js +0 -166
  1887. package/dist/chunks/chunk-7MXXUPXE.js +0 -361
  1888. package/dist/chunks/chunk-7N6GIZ2U.js +0 -45
  1889. package/dist/chunks/chunk-7NITLL3X.js +0 -209
  1890. package/dist/chunks/chunk-7NU2LVIW.js +0 -181
  1891. package/dist/chunks/chunk-7NZQ6ZNS.js +0 -130
  1892. package/dist/chunks/chunk-7T5DGKE2.js +0 -23
  1893. package/dist/chunks/chunk-7TA6UP6H.js +0 -97
  1894. package/dist/chunks/chunk-7TXRRPVP.js +0 -114
  1895. package/dist/chunks/chunk-7UR2AVH6.js +0 -231
  1896. package/dist/chunks/chunk-7VZNAJDE.js +0 -127
  1897. package/dist/chunks/chunk-7Y3N4NZJ.js +0 -108
  1898. package/dist/chunks/chunk-A3NYPXQB.js +0 -122
  1899. package/dist/chunks/chunk-A7TBWA7W.js +0 -191
  1900. package/dist/chunks/chunk-ABINQ255.js +0 -187
  1901. package/dist/chunks/chunk-AC6NUJPA.js +0 -87
  1902. package/dist/chunks/chunk-ACXNAMGE.js +0 -217
  1903. package/dist/chunks/chunk-AE7Z2AWZ.js +0 -346
  1904. package/dist/chunks/chunk-AFSFS2OI.js +0 -90
  1905. package/dist/chunks/chunk-AHUA6SPE.js +0 -38
  1906. package/dist/chunks/chunk-AIN4X4H3.js +0 -41
  1907. package/dist/chunks/chunk-AIRXT2AD.js +0 -71
  1908. package/dist/chunks/chunk-AJGGGIWQ.js +0 -52
  1909. package/dist/chunks/chunk-AK7UJ6CK.js +0 -257
  1910. package/dist/chunks/chunk-AKXA2UD3.js +0 -97
  1911. package/dist/chunks/chunk-AL75JJYB.js +0 -77
  1912. package/dist/chunks/chunk-AM4KEFB2.js +0 -133
  1913. package/dist/chunks/chunk-ANC7YPKQ.js +0 -157
  1914. package/dist/chunks/chunk-ANHRRLQ5.js +0 -78
  1915. package/dist/chunks/chunk-AOQSFWM6.js +0 -10311
  1916. package/dist/chunks/chunk-APVMCNFK.js +0 -47
  1917. package/dist/chunks/chunk-AQ36XI6S.js +0 -76
  1918. package/dist/chunks/chunk-ARAK3JWY.js +0 -157
  1919. package/dist/chunks/chunk-ARP35JOS.js +0 -1136
  1920. package/dist/chunks/chunk-ASD2QKKQ.js +0 -45
  1921. package/dist/chunks/chunk-ASEZAAT2.js +0 -217
  1922. package/dist/chunks/chunk-ATNUI5G2.js +0 -342
  1923. package/dist/chunks/chunk-ATYZR3TG.js +0 -626
  1924. package/dist/chunks/chunk-AVR3I67Z.js +0 -33
  1925. package/dist/chunks/chunk-AVYZ66I7.js +0 -303
  1926. package/dist/chunks/chunk-AW3NMN6C.js +0 -410
  1927. package/dist/chunks/chunk-AWSUAGTZ.js +0 -329
  1928. package/dist/chunks/chunk-AX6BRMJK.js +0 -276
  1929. package/dist/chunks/chunk-AYLIUYXK.js +0 -95
  1930. package/dist/chunks/chunk-B3GYGDSG.js +0 -188
  1931. package/dist/chunks/chunk-B3TSSGWD.js +0 -107
  1932. package/dist/chunks/chunk-B5WQ66YF.js +0 -235
  1933. package/dist/chunks/chunk-B6ECJSQO.js +0 -36
  1934. package/dist/chunks/chunk-B6MHGBYB.js +0 -23
  1935. package/dist/chunks/chunk-BAMAOKNK.js +0 -91
  1936. package/dist/chunks/chunk-BBCSYOHW.js +0 -95
  1937. package/dist/chunks/chunk-BBN7V7TM.js +0 -33
  1938. package/dist/chunks/chunk-BCCXENQK.js +0 -94
  1939. package/dist/chunks/chunk-BDBV7IFG.js +0 -194
  1940. package/dist/chunks/chunk-BDGPZDRM.js +0 -140
  1941. package/dist/chunks/chunk-BELNTFRN.js +0 -159
  1942. package/dist/chunks/chunk-BFDN4WOF.js +0 -232
  1943. package/dist/chunks/chunk-BJGEGGQH.js +0 -684
  1944. package/dist/chunks/chunk-BKDJXEUD.js +0 -1845
  1945. package/dist/chunks/chunk-BL3DKSHQ.js +0 -111
  1946. package/dist/chunks/chunk-BMMWBGH6.js +0 -174
  1947. package/dist/chunks/chunk-BPHEJQP7.js +0 -87
  1948. package/dist/chunks/chunk-BQ7ISNFW.js +0 -172
  1949. package/dist/chunks/chunk-BUPCT2ZO.js +0 -244
  1950. package/dist/chunks/chunk-BVVWI2W2.js +0 -152
  1951. package/dist/chunks/chunk-BWM5I6T7.js +0 -146
  1952. package/dist/chunks/chunk-BYEJQ35G.js +0 -163
  1953. package/dist/chunks/chunk-C2DMIEQB.js +0 -100
  1954. package/dist/chunks/chunk-C2Y4FS3O.js +0 -123
  1955. package/dist/chunks/chunk-C4Z6XOH2.js +0 -66
  1956. package/dist/chunks/chunk-C6X2LYLT.js +0 -119
  1957. package/dist/chunks/chunk-C7CKP2D3.js +0 -112
  1958. package/dist/chunks/chunk-C7GBJS24.js +0 -152
  1959. package/dist/chunks/chunk-C7SYL5YW.js +0 -168
  1960. package/dist/chunks/chunk-C7WYBNAG.js +0 -139
  1961. package/dist/chunks/chunk-CBXOZOD6.js +0 -84
  1962. package/dist/chunks/chunk-CCFW3NHS.js +0 -190
  1963. package/dist/chunks/chunk-CEMTTNYZ.js +0 -150
  1964. package/dist/chunks/chunk-CF6WBRWU.js +0 -283
  1965. package/dist/chunks/chunk-CFLETTFC.js +0 -112
  1966. package/dist/chunks/chunk-CGDZZTXM.js +0 -270
  1967. package/dist/chunks/chunk-CLT2CPOR.js +0 -199
  1968. package/dist/chunks/chunk-CN4NSN5T.js +0 -71
  1969. package/dist/chunks/chunk-CP4OXO2E.js +0 -110
  1970. package/dist/chunks/chunk-CP56EIVS.js +0 -23
  1971. package/dist/chunks/chunk-CPQ3QQAM.js +0 -260
  1972. package/dist/chunks/chunk-CTRJP5UA.js +0 -190
  1973. package/dist/chunks/chunk-CV5M7GBY.js +0 -326
  1974. package/dist/chunks/chunk-CVNPMUA3.js +0 -115
  1975. package/dist/chunks/chunk-CWK2C7VF.js +0 -176
  1976. package/dist/chunks/chunk-CXJIKBFI.js +0 -97
  1977. package/dist/chunks/chunk-CYBIAZCA.js +0 -151
  1978. package/dist/chunks/chunk-CYRYQLHD.js +0 -179
  1979. package/dist/chunks/chunk-CZ5UEKR2.js +0 -283
  1980. package/dist/chunks/chunk-CZ6P3YBE.js +0 -133
  1981. package/dist/chunks/chunk-D2EO535O.js +0 -375
  1982. package/dist/chunks/chunk-D4G2FZHO.js +0 -33
  1983. package/dist/chunks/chunk-D4NGIS4E.js +0 -194
  1984. package/dist/chunks/chunk-D4NTA4HK.js +0 -119
  1985. package/dist/chunks/chunk-D6OTVNKE.js +0 -252
  1986. package/dist/chunks/chunk-D7C5KL3Z.js +0 -92
  1987. package/dist/chunks/chunk-D7YTBTI4.js +0 -231
  1988. package/dist/chunks/chunk-DB3G6FPI.js +0 -78
  1989. package/dist/chunks/chunk-DC6DJOTF.js +0 -135
  1990. package/dist/chunks/chunk-DCFH4M6G.js +0 -133
  1991. package/dist/chunks/chunk-DF4YW3RK.js +0 -47
  1992. package/dist/chunks/chunk-DFSIFWIO.js +0 -127
  1993. package/dist/chunks/chunk-DGRCX4VF.js +0 -112
  1994. package/dist/chunks/chunk-DHMAWUZF.js +0 -91
  1995. package/dist/chunks/chunk-DHQGPRGS.js +0 -65
  1996. package/dist/chunks/chunk-DJI3QSA5.js +0 -287
  1997. package/dist/chunks/chunk-DKM5YJWZ.js +0 -251
  1998. package/dist/chunks/chunk-DLZPRTL4.js +0 -214
  1999. package/dist/chunks/chunk-DMC4TTXA.js +0 -125
  2000. package/dist/chunks/chunk-DNMCO7OC.js +0 -154
  2001. package/dist/chunks/chunk-DNSOYQMP.js +0 -125
  2002. package/dist/chunks/chunk-DOB6UHVL.js +0 -136
  2003. package/dist/chunks/chunk-DPGZGAMN.js +0 -277
  2004. package/dist/chunks/chunk-DPXIHO3N.js +0 -101
  2005. package/dist/chunks/chunk-DQ6DCFJW.js +0 -117
  2006. package/dist/chunks/chunk-DQVYRURD.js +0 -172
  2007. package/dist/chunks/chunk-DSM7BTW3.js +0 -898
  2008. package/dist/chunks/chunk-DTDCIHK7.js +0 -274
  2009. package/dist/chunks/chunk-DUQCVGVA.js +0 -98
  2010. package/dist/chunks/chunk-DWSQANEY.js +0 -139
  2011. package/dist/chunks/chunk-DXGCWLV3.js +0 -112
  2012. package/dist/chunks/chunk-DYBXCHQT.js +0 -151
  2013. package/dist/chunks/chunk-DZUWPAR6.js +0 -263
  2014. package/dist/chunks/chunk-E2AHTGDJ.js +0 -169
  2015. package/dist/chunks/chunk-E2CAA2IT.js +0 -170
  2016. package/dist/chunks/chunk-E2KDHY2S.js +0 -105
  2017. package/dist/chunks/chunk-E325RANG.js +0 -80
  2018. package/dist/chunks/chunk-E3FMI2D5.js +0 -358
  2019. package/dist/chunks/chunk-E4HJFILK.js +0 -95
  2020. package/dist/chunks/chunk-E63JU2IC.js +0 -154
  2021. package/dist/chunks/chunk-E6E3D5C6.js +0 -232
  2022. package/dist/chunks/chunk-EF4SGQIV.js +0 -130
  2023. package/dist/chunks/chunk-EFNM5MEU.js +0 -45
  2024. package/dist/chunks/chunk-EFP2BOWS.js +0 -166
  2025. package/dist/chunks/chunk-EJA5WPYZ.js +0 -102
  2026. package/dist/chunks/chunk-EJY6GUJY.js +0 -180
  2027. package/dist/chunks/chunk-EKVZURLF.js +0 -299
  2028. package/dist/chunks/chunk-EMA57G3X.js +0 -57
  2029. package/dist/chunks/chunk-EMMBFSU3.js +0 -142
  2030. package/dist/chunks/chunk-ENCRJFHO.js +0 -70
  2031. package/dist/chunks/chunk-EOFXX6RY.js +0 -209
  2032. package/dist/chunks/chunk-EPQSVBY2.js +0 -93
  2033. package/dist/chunks/chunk-ERMVLMCC.js +0 -305
  2034. package/dist/chunks/chunk-ESUGFKTB.js +0 -337
  2035. package/dist/chunks/chunk-ET4PP27Q.js +0 -88
  2036. package/dist/chunks/chunk-EXGD6GG4.js +0 -110
  2037. package/dist/chunks/chunk-EY3FW2CF.js +0 -336
  2038. package/dist/chunks/chunk-F2ABG4UU.js +0 -279
  2039. package/dist/chunks/chunk-F2EN6I5C.js +0 -100
  2040. package/dist/chunks/chunk-F7NNXWRZ.js +0 -150
  2041. package/dist/chunks/chunk-FBJ6SAWS.js +0 -106
  2042. package/dist/chunks/chunk-FCFAJAYR.js +0 -80
  2043. package/dist/chunks/chunk-FCNIZD4O.js +0 -181
  2044. package/dist/chunks/chunk-FD3XIFXK.js +0 -181
  2045. package/dist/chunks/chunk-FFMINBSO.js +0 -147
  2046. package/dist/chunks/chunk-FGBNS4EK.js +0 -209
  2047. package/dist/chunks/chunk-FGFLFP6C.js +0 -358
  2048. package/dist/chunks/chunk-FHESI2IC.js +0 -28
  2049. package/dist/chunks/chunk-FIDUMHOK.js +0 -73
  2050. package/dist/chunks/chunk-FJP7PR4K.js +0 -1469
  2051. package/dist/chunks/chunk-FKSBCSPM.js +0 -97
  2052. package/dist/chunks/chunk-FLVPDRDN.js +0 -156
  2053. package/dist/chunks/chunk-FMC6L2XE.js +0 -284
  2054. package/dist/chunks/chunk-FMFSNMHK.js +0 -267
  2055. package/dist/chunks/chunk-FN3RSPL5.js +0 -83
  2056. package/dist/chunks/chunk-FNVY7WKW.js +0 -155
  2057. package/dist/chunks/chunk-FO6UJPNG.js +0 -208
  2058. package/dist/chunks/chunk-FQ4CWKWA.js +0 -324
  2059. package/dist/chunks/chunk-FQIU5P7Y.js +0 -106
  2060. package/dist/chunks/chunk-FQVG73TB.js +0 -45
  2061. package/dist/chunks/chunk-FRB4LVDS.js +0 -163
  2062. package/dist/chunks/chunk-FSQI5WFE.js +0 -187
  2063. package/dist/chunks/chunk-FSVUPYFQ.js +0 -33
  2064. package/dist/chunks/chunk-FXJKOSCN.js +0 -59
  2065. package/dist/chunks/chunk-FY7YNCAL.js +0 -85
  2066. package/dist/chunks/chunk-FZDCTQXH.js +0 -84
  2067. package/dist/chunks/chunk-G36AY2BY.js +0 -161
  2068. package/dist/chunks/chunk-G3BNYGFG.js +0 -45
  2069. package/dist/chunks/chunk-G5LEQFTU.js +0 -50
  2070. package/dist/chunks/chunk-G5SMD5ER.js +0 -282
  2071. package/dist/chunks/chunk-G6IMCITC.js +0 -175
  2072. package/dist/chunks/chunk-G7JKZHQ6.js +0 -162
  2073. package/dist/chunks/chunk-GBBLW5YI.js +0 -112
  2074. package/dist/chunks/chunk-GBK7GE2W.js +0 -172
  2075. package/dist/chunks/chunk-GCABWNQZ.js +0 -87
  2076. package/dist/chunks/chunk-GCGKGBN6.js +0 -45
  2077. package/dist/chunks/chunk-GCKWFU4H.js +0 -106
  2078. package/dist/chunks/chunk-GCMMCEL6.js +0 -45
  2079. package/dist/chunks/chunk-GEGKV36L.js +0 -95
  2080. package/dist/chunks/chunk-GFCU5X4N.js +0 -90
  2081. package/dist/chunks/chunk-GIMDWCKQ.js +0 -95
  2082. package/dist/chunks/chunk-GJGG2YY5.js +0 -23
  2083. package/dist/chunks/chunk-GK3TICCH.js +0 -177
  2084. package/dist/chunks/chunk-GKSYZ2IR.js +0 -33
  2085. package/dist/chunks/chunk-GLNPCJQ4.js +0 -91
  2086. package/dist/chunks/chunk-GMY4HEOJ.js +0 -170
  2087. package/dist/chunks/chunk-GPG2LPJS.js +0 -213
  2088. package/dist/chunks/chunk-GQBCOZYP.js +0 -255
  2089. package/dist/chunks/chunk-GQD7GFT4.js +0 -23
  2090. package/dist/chunks/chunk-GULRAEGN.js +0 -115
  2091. package/dist/chunks/chunk-GUV4ZZYS.js +0 -141
  2092. package/dist/chunks/chunk-GVS3QU5W.js +0 -75
  2093. package/dist/chunks/chunk-GWE3FQXV.js +0 -117
  2094. package/dist/chunks/chunk-GWSLCMSD.js +0 -23
  2095. package/dist/chunks/chunk-GX4AASIE.js +0 -63
  2096. package/dist/chunks/chunk-H2CIRYBJ.js +0 -90
  2097. package/dist/chunks/chunk-H2HQGUDG.js +0 -147
  2098. package/dist/chunks/chunk-H5H3ZPRR.js +0 -149
  2099. package/dist/chunks/chunk-H6BZQ6UK.js +0 -134
  2100. package/dist/chunks/chunk-HBELYGHD.js +0 -102
  2101. package/dist/chunks/chunk-HC2IYOD2.js +0 -92
  2102. package/dist/chunks/chunk-HCAORKTJ.js +0 -238
  2103. package/dist/chunks/chunk-HDJFM4P2.js +0 -23
  2104. package/dist/chunks/chunk-HDRN6QDB.js +0 -315
  2105. package/dist/chunks/chunk-HDRZININ.js +0 -149
  2106. package/dist/chunks/chunk-HFGFQFUE.js +0 -83
  2107. package/dist/chunks/chunk-HG2Z32MP.js +0 -162
  2108. package/dist/chunks/chunk-HGP3AZA6.js +0 -85
  2109. package/dist/chunks/chunk-HHO5Y6CL.js +0 -163
  2110. package/dist/chunks/chunk-HHXFTSND.js +0 -330
  2111. package/dist/chunks/chunk-HIW6EAKH.js +0 -99
  2112. package/dist/chunks/chunk-HOZ6BTHX.js +0 -104
  2113. package/dist/chunks/chunk-HP52JYE2.js +0 -33
  2114. package/dist/chunks/chunk-HPHQ4KKN.js +0 -50
  2115. package/dist/chunks/chunk-HRXB4S66.js +0 -102
  2116. package/dist/chunks/chunk-HS2OB37Z.js +0 -13744
  2117. package/dist/chunks/chunk-HS2Z7QL6.js +0 -198
  2118. package/dist/chunks/chunk-HSYBJYFV.js +0 -165
  2119. package/dist/chunks/chunk-HU73CC64.js +0 -106
  2120. package/dist/chunks/chunk-HW35MHMP.js +0 -226
  2121. package/dist/chunks/chunk-HWP4LATJ.js +0 -36
  2122. package/dist/chunks/chunk-HX6H6W5L.js +0 -33
  2123. package/dist/chunks/chunk-HXM37GJZ.js +0 -138
  2124. package/dist/chunks/chunk-HYCADEBD.js +0 -261
  2125. package/dist/chunks/chunk-HZEN6T63.js +0 -145
  2126. package/dist/chunks/chunk-HZVXXISD.js +0 -33
  2127. package/dist/chunks/chunk-I46X2JB4.js +0 -396
  2128. package/dist/chunks/chunk-I4M2MC7H.js +0 -198
  2129. package/dist/chunks/chunk-I5H2XKO4.js +0 -177
  2130. package/dist/chunks/chunk-I72LUTZF.js +0 -297
  2131. package/dist/chunks/chunk-I742QHYK.js +0 -33
  2132. package/dist/chunks/chunk-IB55G6FQ.js +0 -228
  2133. package/dist/chunks/chunk-ICBRHKKT.js +0 -320
  2134. package/dist/chunks/chunk-ICXXKXWI.js +0 -100
  2135. package/dist/chunks/chunk-IEL6NNGC.js +0 -108
  2136. package/dist/chunks/chunk-IHN3Y5LH.js +0 -177
  2137. package/dist/chunks/chunk-IJ6V47OH.js +0 -78
  2138. package/dist/chunks/chunk-IJHSAD5T.js +0 -94
  2139. package/dist/chunks/chunk-IKQVH64B.js +0 -53
  2140. package/dist/chunks/chunk-IMKXXY52.js +0 -200
  2141. package/dist/chunks/chunk-INFXT3Z6.js +0 -10754
  2142. package/dist/chunks/chunk-INHXJSXS.js +0 -108
  2143. package/dist/chunks/chunk-IODAFC6O.js +0 -94
  2144. package/dist/chunks/chunk-IT3RBOMM.js +0 -317
  2145. package/dist/chunks/chunk-ITKIK6CV.js +0 -327
  2146. package/dist/chunks/chunk-IV7V5VXL.js +0 -33
  2147. package/dist/chunks/chunk-IWOVPQ6Y.js +0 -80
  2148. package/dist/chunks/chunk-IWQC7G7G.js +0 -129
  2149. package/dist/chunks/chunk-IWS7DQSK.js +0 -130
  2150. package/dist/chunks/chunk-IZVCXMHQ.js +0 -103
  2151. package/dist/chunks/chunk-J3GF4KOK.js +0 -36
  2152. package/dist/chunks/chunk-J6HP7J5C.js +0 -147
  2153. package/dist/chunks/chunk-JD2DXOW3.js +0 -160
  2154. package/dist/chunks/chunk-JD6IPGZL.js +0 -60
  2155. package/dist/chunks/chunk-JFFJDXHN.js +0 -48
  2156. package/dist/chunks/chunk-JGI2FYR3.js +0 -87
  2157. package/dist/chunks/chunk-JMMO725N.js +0 -137
  2158. package/dist/chunks/chunk-JMVDHXB6.js +0 -100
  2159. package/dist/chunks/chunk-JN2PBVZB.js +0 -54
  2160. package/dist/chunks/chunk-JQLYDLQ3.js +0 -301
  2161. package/dist/chunks/chunk-JRNBMQZG.js +0 -23
  2162. package/dist/chunks/chunk-JSMAHMOV.js +0 -88
  2163. package/dist/chunks/chunk-JTGY44YR.js +0 -97
  2164. package/dist/chunks/chunk-JTXP2MBW.js +0 -39
  2165. package/dist/chunks/chunk-JVCJARRI.js +0 -45
  2166. package/dist/chunks/chunk-JWTKVK2V.js +0 -237
  2167. package/dist/chunks/chunk-JY43CRRJ.js +0 -33
  2168. package/dist/chunks/chunk-JYNTWZXB.js +0 -191
  2169. package/dist/chunks/chunk-JZXATUDC.js +0 -169
  2170. package/dist/chunks/chunk-K2NNE3B4.js +0 -146
  2171. package/dist/chunks/chunk-K2NZOERC.js +0 -84
  2172. package/dist/chunks/chunk-K4E7GE7O.js +0 -159
  2173. package/dist/chunks/chunk-K7PGQIN6.js +0 -141
  2174. package/dist/chunks/chunk-KA2XCC2O.js +0 -107
  2175. package/dist/chunks/chunk-KA3C5TIW.js +0 -1307
  2176. package/dist/chunks/chunk-KBHADD3D.js +0 -100
  2177. package/dist/chunks/chunk-KBLBETHM.js +0 -30
  2178. package/dist/chunks/chunk-KD6GLJR6.js +0 -156
  2179. package/dist/chunks/chunk-KD7ORVMP.js +0 -226
  2180. package/dist/chunks/chunk-KE7N4TN5.js +0 -194
  2181. package/dist/chunks/chunk-KEH2XH7J.js +0 -139
  2182. package/dist/chunks/chunk-KGBWBPDW.js +0 -185
  2183. package/dist/chunks/chunk-KGXZH52R.js +0 -84
  2184. package/dist/chunks/chunk-KJD3NTUE.js +0 -81
  2185. package/dist/chunks/chunk-KJO2KSQW.js +0 -48
  2186. package/dist/chunks/chunk-KLCE4OXR.js +0 -79
  2187. package/dist/chunks/chunk-KMTXOPWI.js +0 -304
  2188. package/dist/chunks/chunk-KNIEAN7D.js +0 -108
  2189. package/dist/chunks/chunk-KOA5PZ6D.js +0 -165
  2190. package/dist/chunks/chunk-KPOW74WO.js +0 -728
  2191. package/dist/chunks/chunk-KPQWP6TZ.js +0 -131
  2192. package/dist/chunks/chunk-KQAZSHOI.js +0 -220
  2193. package/dist/chunks/chunk-KQPUYQY2.js +0 -512
  2194. package/dist/chunks/chunk-KR3VSRCX.js +0 -157
  2195. package/dist/chunks/chunk-KRXQLBLC.js +0 -221
  2196. package/dist/chunks/chunk-KSR3DYDM.js +0 -179
  2197. package/dist/chunks/chunk-KVS6QF5H.js +0 -39
  2198. package/dist/chunks/chunk-KVYLDCSL.js +0 -161
  2199. package/dist/chunks/chunk-KZKWTVDV.js +0 -156
  2200. package/dist/chunks/chunk-KZPB53I4.js +0 -163
  2201. package/dist/chunks/chunk-L2Q676X4.js +0 -240
  2202. package/dist/chunks/chunk-L5W7LITT.js +0 -122
  2203. package/dist/chunks/chunk-LAFKD4T5.js +0 -81
  2204. package/dist/chunks/chunk-LBSPU6F5.js +0 -176
  2205. package/dist/chunks/chunk-LEDOJVRA.js +0 -213
  2206. package/dist/chunks/chunk-LEGYDN46.js +0 -123
  2207. package/dist/chunks/chunk-LELC4V7D.js +0 -81
  2208. package/dist/chunks/chunk-LHDNKVL5.js +0 -86
  2209. package/dist/chunks/chunk-LHZ6CGZN.js +0 -138
  2210. package/dist/chunks/chunk-LIPC3OPX.js +0 -135
  2211. package/dist/chunks/chunk-LJ7U2U37.js +0 -161
  2212. package/dist/chunks/chunk-LJKONMOY.js +0 -209
  2213. package/dist/chunks/chunk-LKBL3QLU.js +0 -230
  2214. package/dist/chunks/chunk-LLOQWBAE.js +0 -45
  2215. package/dist/chunks/chunk-LMPRJDWH.js +0 -261
  2216. package/dist/chunks/chunk-LODA7N22.js +0 -175
  2217. package/dist/chunks/chunk-LOXBH74Y.js +0 -79
  2218. package/dist/chunks/chunk-LPEYYDHA.js +0 -183
  2219. package/dist/chunks/chunk-LQLI3MHM.js +0 -23
  2220. package/dist/chunks/chunk-LU2PAB4U.js +0 -111
  2221. package/dist/chunks/chunk-LUAXVHMG.js +0 -122
  2222. package/dist/chunks/chunk-LURW43PC.js +0 -78
  2223. package/dist/chunks/chunk-LVVJRWEC.js +0 -589
  2224. package/dist/chunks/chunk-LWALQVKN.js +0 -33
  2225. package/dist/chunks/chunk-LYUYF2CZ.js +0 -33
  2226. package/dist/chunks/chunk-LYX2MSCP.js +0 -334
  2227. package/dist/chunks/chunk-LZVUBD6T.js +0 -358
  2228. package/dist/chunks/chunk-M2GXFIDR.js +0 -113
  2229. package/dist/chunks/chunk-M4GKQPAD.js +0 -164
  2230. package/dist/chunks/chunk-M64I5GG5.js +0 -104
  2231. package/dist/chunks/chunk-M6NDVWQF.js +0 -293
  2232. package/dist/chunks/chunk-M73W4ZQL.js +0 -218
  2233. package/dist/chunks/chunk-MAIKVPLD.js +0 -53
  2234. package/dist/chunks/chunk-MAVW7O5D.js +0 -150
  2235. package/dist/chunks/chunk-MBXXM3KV.js +0 -97
  2236. package/dist/chunks/chunk-MCMCCS4W.js +0 -204
  2237. package/dist/chunks/chunk-MCMET72P.js +0 -118
  2238. package/dist/chunks/chunk-MDD4PFHF.js +0 -125
  2239. package/dist/chunks/chunk-MEBBTUXG.js +0 -107
  2240. package/dist/chunks/chunk-MHMNPPPX.js +0 -133
  2241. package/dist/chunks/chunk-MHVAWPLB.js +0 -104
  2242. package/dist/chunks/chunk-MHWSZAJG.js +0 -198
  2243. package/dist/chunks/chunk-MIIRGL4R.js +0 -126
  2244. package/dist/chunks/chunk-MMRT5F3K.js +0 -164
  2245. package/dist/chunks/chunk-MQ6V2UZ3.js +0 -49
  2246. package/dist/chunks/chunk-MS5IBTDF.js +0 -344
  2247. package/dist/chunks/chunk-MXZJVYTC.js +0 -242
  2248. package/dist/chunks/chunk-MZHAVPZB.js +0 -123
  2249. package/dist/chunks/chunk-MZTYDIIR.js +0 -192
  2250. package/dist/chunks/chunk-N3LPIVR6.js +0 -272
  2251. package/dist/chunks/chunk-N5EPZOB5.js +0 -23
  2252. package/dist/chunks/chunk-N6JYJXIC.js +0 -110
  2253. package/dist/chunks/chunk-NAYP5Y2B.js +0 -146
  2254. package/dist/chunks/chunk-NCR2DSAW.js +0 -118
  2255. package/dist/chunks/chunk-NELM4YKZ.js +0 -212
  2256. package/dist/chunks/chunk-NHJQEYVA.js +0 -226
  2257. package/dist/chunks/chunk-NL5GCMG6.js +0 -23
  2258. package/dist/chunks/chunk-NMN4ULNZ.js +0 -251
  2259. package/dist/chunks/chunk-NNGYKDTU.js +0 -84
  2260. package/dist/chunks/chunk-NOYL3SF5.js +0 -44
  2261. package/dist/chunks/chunk-NP4MMXWL.js +0 -53
  2262. package/dist/chunks/chunk-NSHSFX3F.js +0 -298
  2263. package/dist/chunks/chunk-NSRABPT6.js +0 -41
  2264. package/dist/chunks/chunk-NTXT3O4J.js +0 -157
  2265. package/dist/chunks/chunk-NUB5BCTZ.js +0 -184
  2266. package/dist/chunks/chunk-NV4HHIJK.js +0 -80
  2267. package/dist/chunks/chunk-NVKOYOT7.js +0 -77
  2268. package/dist/chunks/chunk-NYKRONTO.js +0 -169
  2269. package/dist/chunks/chunk-O32OFBRQ.js +0 -247
  2270. package/dist/chunks/chunk-O3MOIWLZ.js +0 -109
  2271. package/dist/chunks/chunk-O4JXZSCV.js +0 -109
  2272. package/dist/chunks/chunk-O5S6RCNR.js +0 -147
  2273. package/dist/chunks/chunk-O64QIUGC.js +0 -961
  2274. package/dist/chunks/chunk-O6W5C6XY.js +0 -143
  2275. package/dist/chunks/chunk-O736UVB7.js +0 -103
  2276. package/dist/chunks/chunk-OCTF75G4.js +0 -83
  2277. package/dist/chunks/chunk-OF2LIVZK.js +0 -150
  2278. package/dist/chunks/chunk-OFMZOJP4.js +0 -178
  2279. package/dist/chunks/chunk-OHHZSBBS.js +0 -1574
  2280. package/dist/chunks/chunk-OIHM6WQL.js +0 -497
  2281. package/dist/chunks/chunk-OINDNCAQ.js +0 -122
  2282. package/dist/chunks/chunk-OIXYUUP5.js +0 -969
  2283. package/dist/chunks/chunk-OKTJUKRI.js +0 -155
  2284. package/dist/chunks/chunk-OLDHIFJY.js +0 -368
  2285. package/dist/chunks/chunk-OMBTROFJ.js +0 -100
  2286. package/dist/chunks/chunk-OMXHVOOA.js +0 -103
  2287. package/dist/chunks/chunk-ONPV6QWK.js +0 -33
  2288. package/dist/chunks/chunk-ONXYXSYQ.js +0 -559
  2289. package/dist/chunks/chunk-ORFEGQ2J.js +0 -1834
  2290. package/dist/chunks/chunk-ORU4ZQRY.js +0 -215
  2291. package/dist/chunks/chunk-OTKL67ZX.js +0 -207
  2292. package/dist/chunks/chunk-OVMLERIX.js +0 -118
  2293. package/dist/chunks/chunk-OY5UOH5Z.js +0 -304
  2294. package/dist/chunks/chunk-OYHYTKSI.js +0 -172
  2295. package/dist/chunks/chunk-P2CRN534.js +0 -278
  2296. package/dist/chunks/chunk-P2DJAKEY.js +0 -106
  2297. package/dist/chunks/chunk-P2YZ5T34.js +0 -225
  2298. package/dist/chunks/chunk-P3EA6V2K.js +0 -85
  2299. package/dist/chunks/chunk-P3OGLKVJ.js +0 -33
  2300. package/dist/chunks/chunk-P6B36XB7.js +0 -30
  2301. package/dist/chunks/chunk-P7AD3YMN.js +0 -256
  2302. package/dist/chunks/chunk-PBLBJDKR.js +0 -156
  2303. package/dist/chunks/chunk-PBXLB3PH.js +0 -115
  2304. package/dist/chunks/chunk-PDLD6UJH.js +0 -98
  2305. package/dist/chunks/chunk-PFQNQVIE.js +0 -92
  2306. package/dist/chunks/chunk-PFSRAPDL.js +0 -134
  2307. package/dist/chunks/chunk-PGWIJOUE.js +0 -105
  2308. package/dist/chunks/chunk-PHKZR7RG.js +0 -196
  2309. package/dist/chunks/chunk-PHYCJF33.js +0 -100
  2310. package/dist/chunks/chunk-PKRXZ7DA.js +0 -163
  2311. package/dist/chunks/chunk-PLDTTKWC.js +0 -196
  2312. package/dist/chunks/chunk-PMHWTWRA.js +0 -149
  2313. package/dist/chunks/chunk-PMLVPCF3.js +0 -655
  2314. package/dist/chunks/chunk-PNLRWU6Z.js +0 -42
  2315. package/dist/chunks/chunk-POCNJOJJ.js +0 -169
  2316. package/dist/chunks/chunk-PPWXKBL4.js +0 -204
  2317. package/dist/chunks/chunk-PQXQISBE.js +0 -204
  2318. package/dist/chunks/chunk-PV7452YW.js +0 -99
  2319. package/dist/chunks/chunk-PWVPU5HY.js +0 -303
  2320. package/dist/chunks/chunk-PY6VBRGD.js +0 -120
  2321. package/dist/chunks/chunk-PYMQC264.js +0 -62
  2322. package/dist/chunks/chunk-Q2I35XQ2.js +0 -60
  2323. package/dist/chunks/chunk-Q3DL7R35.js +0 -160
  2324. package/dist/chunks/chunk-Q4YO35AI.js +0 -187
  2325. package/dist/chunks/chunk-Q557FTIH.js +0 -23
  2326. package/dist/chunks/chunk-Q57R5BMX.js +0 -48
  2327. package/dist/chunks/chunk-Q5SVJLKR.js +0 -100
  2328. package/dist/chunks/chunk-Q7QFVO3X.js +0 -36
  2329. package/dist/chunks/chunk-QDRY7WF4.js +0 -200
  2330. package/dist/chunks/chunk-QED52AIX.js +0 -102
  2331. package/dist/chunks/chunk-QF6CALRO.js +0 -382
  2332. package/dist/chunks/chunk-QIS76ZNJ.js +0 -361
  2333. package/dist/chunks/chunk-QLPTEOER.js +0 -105
  2334. package/dist/chunks/chunk-QM4VNS7Y.js +0 -130
  2335. package/dist/chunks/chunk-QMIRCEK7.js +0 -33
  2336. package/dist/chunks/chunk-QNDMWEPA.js +0 -305
  2337. package/dist/chunks/chunk-QP5M5VIG.js +0 -147
  2338. package/dist/chunks/chunk-QQUOKLFU.js +0 -163
  2339. package/dist/chunks/chunk-QRJUGG2U.js +0 -79
  2340. package/dist/chunks/chunk-QU47H2UD.js +0 -68
  2341. package/dist/chunks/chunk-QUDDGWMU.js +0 -282
  2342. package/dist/chunks/chunk-QZENWZT3.js +0 -195
  2343. package/dist/chunks/chunk-R2VZ3DHO.js +0 -170
  2344. package/dist/chunks/chunk-R3BOETXR.js +0 -197
  2345. package/dist/chunks/chunk-R3HLIQCO.js +0 -137
  2346. package/dist/chunks/chunk-R4VFVORH.js +0 -307
  2347. package/dist/chunks/chunk-R6IJD62C.js +0 -122
  2348. package/dist/chunks/chunk-R7IIQNX4.js +0 -1403
  2349. package/dist/chunks/chunk-RA4VYYSU.js +0 -93
  2350. package/dist/chunks/chunk-RA5BS2IW.js +0 -152
  2351. package/dist/chunks/chunk-RAIVDSOS.js +0 -198
  2352. package/dist/chunks/chunk-RAPIX2KF.js +0 -23
  2353. package/dist/chunks/chunk-RARZOUT4.js +0 -99
  2354. package/dist/chunks/chunk-RB36M3HB.js +0 -415
  2355. package/dist/chunks/chunk-RBOCSHB3.js +0 -142
  2356. package/dist/chunks/chunk-RBXB45RB.js +0 -100
  2357. package/dist/chunks/chunk-RCTH22WV.js +0 -23
  2358. package/dist/chunks/chunk-RFWMVJ5B.js +0 -118
  2359. package/dist/chunks/chunk-RH3CBWVE.js +0 -199
  2360. package/dist/chunks/chunk-RHTGAFKD.js +0 -805
  2361. package/dist/chunks/chunk-RIBYGK4Z.js +0 -76
  2362. package/dist/chunks/chunk-RJAIACQZ.js +0 -70
  2363. package/dist/chunks/chunk-RL5CEUPL.js +0 -266
  2364. package/dist/chunks/chunk-RL6JNMJ2.js +0 -149
  2365. package/dist/chunks/chunk-RLIQBPDF.js +0 -23
  2366. package/dist/chunks/chunk-RLKXTA4X.js +0 -83
  2367. package/dist/chunks/chunk-RLRI6WAH.js +0 -84
  2368. package/dist/chunks/chunk-RMUB2YD7.js +0 -77
  2369. package/dist/chunks/chunk-RNAVFS66.js +0 -23
  2370. package/dist/chunks/chunk-RNHXXSPU.js +0 -45
  2371. package/dist/chunks/chunk-RNXRNDND.js +0 -45
  2372. package/dist/chunks/chunk-ROQYAHDT.js +0 -646
  2373. package/dist/chunks/chunk-RU42BEZF.js +0 -119
  2374. package/dist/chunks/chunk-RUBQBHHO.js +0 -72
  2375. package/dist/chunks/chunk-RV7JJ357.js +0 -220
  2376. package/dist/chunks/chunk-RVT2MATB.js +0 -1393
  2377. package/dist/chunks/chunk-RVZQBLHI.js +0 -33
  2378. package/dist/chunks/chunk-RW6W4HYU.js +0 -182
  2379. package/dist/chunks/chunk-RYMBZCTD.js +0 -164
  2380. package/dist/chunks/chunk-RZC4JLQZ.js +0 -124
  2381. package/dist/chunks/chunk-S24TIGBB.js +0 -109
  2382. package/dist/chunks/chunk-S4UWIXN6.js +0 -95
  2383. package/dist/chunks/chunk-S52LY3UR.js +0 -136
  2384. package/dist/chunks/chunk-S5AEYTNP.js +0 -93
  2385. package/dist/chunks/chunk-S5S3N5XN.js +0 -23
  2386. package/dist/chunks/chunk-S6PPXMO6.js +0 -42
  2387. package/dist/chunks/chunk-S73KBRCM.js +0 -184
  2388. package/dist/chunks/chunk-SAAE46DR.js +0 -307
  2389. package/dist/chunks/chunk-SADIHGAO.js +0 -198
  2390. package/dist/chunks/chunk-SB77S2YD.js +0 -182
  2391. package/dist/chunks/chunk-SBZJSPF5.js +0 -77
  2392. package/dist/chunks/chunk-SDNKO4IV.js +0 -144
  2393. package/dist/chunks/chunk-SFEKANHA.js +0 -298
  2394. package/dist/chunks/chunk-SFRNPBO6.js +0 -122
  2395. package/dist/chunks/chunk-SGDHGVXK.js +0 -152
  2396. package/dist/chunks/chunk-SKMB75CJ.js +0 -104
  2397. package/dist/chunks/chunk-SMB4E2GQ.js +0 -261
  2398. package/dist/chunks/chunk-SMO2MUYJ.js +0 -209
  2399. package/dist/chunks/chunk-SPHWPTAV.js +0 -250
  2400. package/dist/chunks/chunk-SQB5O7YE.js +0 -171
  2401. package/dist/chunks/chunk-SQEK3ST7.js +0 -192
  2402. package/dist/chunks/chunk-SR6X6GKD.js +0 -103
  2403. package/dist/chunks/chunk-SS4YLL4I.js +0 -78
  2404. package/dist/chunks/chunk-STUC6FRK.js +0 -224
  2405. package/dist/chunks/chunk-SUVMMN6N.js +0 -86
  2406. package/dist/chunks/chunk-SWIYXVEI.js +0 -79
  2407. package/dist/chunks/chunk-SWPLD6BP.js +0 -173
  2408. package/dist/chunks/chunk-SXR7XU4I.js +0 -96
  2409. package/dist/chunks/chunk-T472GBPT.js +0 -174
  2410. package/dist/chunks/chunk-T5FDQKSP.js +0 -115
  2411. package/dist/chunks/chunk-T7L2KPO4.js +0 -83
  2412. package/dist/chunks/chunk-TA3DWSMR.js +0 -73
  2413. package/dist/chunks/chunk-TAJW3QID.js +0 -262
  2414. package/dist/chunks/chunk-TCPP5RWC.js +0 -161
  2415. package/dist/chunks/chunk-TFJRLYPC.js +0 -153
  2416. package/dist/chunks/chunk-TGDJVJSI.js +0 -52
  2417. package/dist/chunks/chunk-THHWIUUA.js +0 -399
  2418. package/dist/chunks/chunk-TJEB6B5P.js +0 -249
  2419. package/dist/chunks/chunk-TJXACX4L.js +0 -224
  2420. package/dist/chunks/chunk-TMIRLRD5.js +0 -200
  2421. package/dist/chunks/chunk-TMVZESYU.js +0 -111
  2422. package/dist/chunks/chunk-TMZ726BR.js +0 -167
  2423. package/dist/chunks/chunk-TQ7KIYHM.js +0 -149
  2424. package/dist/chunks/chunk-TRRSY6W3.js +0 -145
  2425. package/dist/chunks/chunk-TTNVHG7J.js +0 -151
  2426. package/dist/chunks/chunk-TUBD4ATK.js +0 -86
  2427. package/dist/chunks/chunk-TVO6OQO2.js +0 -242
  2428. package/dist/chunks/chunk-TWAWCRWC.js +0 -139
  2429. package/dist/chunks/chunk-TWXPGGXQ.js +0 -86
  2430. package/dist/chunks/chunk-TYCPYQXK.js +0 -104
  2431. package/dist/chunks/chunk-U2F7JQG7.js +0 -141
  2432. package/dist/chunks/chunk-U33EC5HQ.js +0 -131
  2433. package/dist/chunks/chunk-U3PVDOFC.js +0 -165
  2434. package/dist/chunks/chunk-U4CMDICS.js +0 -150
  2435. package/dist/chunks/chunk-U5YBGRIV.js +0 -74
  2436. package/dist/chunks/chunk-U67MBU5A.js +0 -171
  2437. package/dist/chunks/chunk-U7LC6ZA6.js +0 -103
  2438. package/dist/chunks/chunk-U7VFBOMW.js +0 -188
  2439. package/dist/chunks/chunk-UBXL5GZD.js +0 -192
  2440. package/dist/chunks/chunk-UBZ2ONVZ.js +0 -145
  2441. package/dist/chunks/chunk-UCXTAFZZ.js +0 -123
  2442. package/dist/chunks/chunk-UD5R2EL4.js +0 -273
  2443. package/dist/chunks/chunk-UDLLUAYU.js +0 -112
  2444. package/dist/chunks/chunk-UDODVDRN.js +0 -685
  2445. package/dist/chunks/chunk-UFINQ424.js +0 -23
  2446. package/dist/chunks/chunk-UFX2GXEN.js +0 -91
  2447. package/dist/chunks/chunk-UI5JV3L4.js +0 -70
  2448. package/dist/chunks/chunk-UIQ7OCCB.js +0 -94
  2449. package/dist/chunks/chunk-UPK4JITG.js +0 -60
  2450. package/dist/chunks/chunk-USIUSDOQ.js +0 -141
  2451. package/dist/chunks/chunk-UUIYNBZI.js +0 -292
  2452. package/dist/chunks/chunk-UVUBIGZD.js +0 -93
  2453. package/dist/chunks/chunk-UWHAZ5GX.js +0 -55
  2454. package/dist/chunks/chunk-UWJXVK2J.js +0 -153
  2455. package/dist/chunks/chunk-V2P2TGQT.js +0 -145
  2456. package/dist/chunks/chunk-V2UXRPWO.js +0 -130
  2457. package/dist/chunks/chunk-V4UPAMMQ.js +0 -331
  2458. package/dist/chunks/chunk-V4ZZ7CS5.js +0 -391
  2459. package/dist/chunks/chunk-V6ZVJORK.js +0 -304
  2460. package/dist/chunks/chunk-V7KZI5TG.js +0 -44
  2461. package/dist/chunks/chunk-VAJC5RBD.js +0 -41
  2462. package/dist/chunks/chunk-VAWZT6Y5.js +0 -195
  2463. package/dist/chunks/chunk-VEWXW5HQ.js +0 -848
  2464. package/dist/chunks/chunk-VGJ7EEHV.js +0 -115
  2465. package/dist/chunks/chunk-VI5TZGMO.js +0 -33
  2466. package/dist/chunks/chunk-VILHHVVE.js +0 -128
  2467. package/dist/chunks/chunk-VIXJRH33.js +0 -261
  2468. package/dist/chunks/chunk-VJPXMFBY.js +0 -128
  2469. package/dist/chunks/chunk-VM7VI5VA.js +0 -105
  2470. package/dist/chunks/chunk-VMD5ODI7.js +0 -311
  2471. package/dist/chunks/chunk-VMTJMB5Z.js +0 -97
  2472. package/dist/chunks/chunk-VNYATM7I.js +0 -221
  2473. package/dist/chunks/chunk-VO565ZH2.js +0 -23
  2474. package/dist/chunks/chunk-VOHLU5A7.js +0 -49
  2475. package/dist/chunks/chunk-VP7QPGZP.js +0 -260
  2476. package/dist/chunks/chunk-VQEX5T4I.js +0 -33
  2477. package/dist/chunks/chunk-VQKPFKTW.js +0 -23
  2478. package/dist/chunks/chunk-VRBHPWCQ.js +0 -70
  2479. package/dist/chunks/chunk-VT5CUNX3.js +0 -150
  2480. package/dist/chunks/chunk-VWOTSH7H.js +0 -152
  2481. package/dist/chunks/chunk-VWYW2DTK.js +0 -177
  2482. package/dist/chunks/chunk-VZPXWDMX.js +0 -33
  2483. package/dist/chunks/chunk-W26KGDLO.js +0 -146
  2484. package/dist/chunks/chunk-W2BV5BMO.js +0 -360
  2485. package/dist/chunks/chunk-W6EIDQ7S.js +0 -120
  2486. package/dist/chunks/chunk-W6PNQ4E4.js +0 -45
  2487. package/dist/chunks/chunk-W75QCBCV.js +0 -351
  2488. package/dist/chunks/chunk-W7HWYLOF.js +0 -23
  2489. package/dist/chunks/chunk-W7IAHYST.js +0 -362
  2490. package/dist/chunks/chunk-WA7ZDNWY.js +0 -69
  2491. package/dist/chunks/chunk-WAEU27TH.js +0 -98
  2492. package/dist/chunks/chunk-WAVENQRO.js +0 -23
  2493. package/dist/chunks/chunk-WAYWFXXB.js +0 -179
  2494. package/dist/chunks/chunk-WBYGOPQL.js +0 -82
  2495. package/dist/chunks/chunk-WCF4FV5X.js +0 -146
  2496. package/dist/chunks/chunk-WCQ7LVLM.js +0 -108
  2497. package/dist/chunks/chunk-WDE45UKB.js +0 -95
  2498. package/dist/chunks/chunk-WEKUFG2H.js +0 -23
  2499. package/dist/chunks/chunk-WEKUUO4T.js +0 -33
  2500. package/dist/chunks/chunk-WF2TS6JG.js +0 -126
  2501. package/dist/chunks/chunk-WFIOZCBS.js +0 -167
  2502. package/dist/chunks/chunk-WK4L2YAM.js +0 -90
  2503. package/dist/chunks/chunk-WKE7ZZDF.js +0 -45
  2504. package/dist/chunks/chunk-WLK2ZNFT.js +0 -287
  2505. package/dist/chunks/chunk-WM7DKIXE.js +0 -147
  2506. package/dist/chunks/chunk-WNXEFXPH.js +0 -110
  2507. package/dist/chunks/chunk-WO5PG2HF.js +0 -36
  2508. package/dist/chunks/chunk-WOULEKKE.js +0 -122
  2509. package/dist/chunks/chunk-WP57R54N.js +0 -166
  2510. package/dist/chunks/chunk-WQW4OQ4V.js +0 -93
  2511. package/dist/chunks/chunk-WR5EM3YA.js +0 -30
  2512. package/dist/chunks/chunk-WR6U2V2U.js +0 -178
  2513. package/dist/chunks/chunk-WREOHLQD.js +0 -45
  2514. package/dist/chunks/chunk-WTBI33QZ.js +0 -2168
  2515. package/dist/chunks/chunk-WVAXCXH2.js +0 -366
  2516. package/dist/chunks/chunk-WVH54XSA.js +0 -33
  2517. package/dist/chunks/chunk-WXAXA2U2.js +0 -166
  2518. package/dist/chunks/chunk-WY7VKGAH.js +0 -176
  2519. package/dist/chunks/chunk-WYXAOAKZ.js +0 -95
  2520. package/dist/chunks/chunk-WZVFQAPV.js +0 -33
  2521. package/dist/chunks/chunk-X525UKAJ.js +0 -158
  2522. package/dist/chunks/chunk-X5XQWXW3.js +0 -78
  2523. package/dist/chunks/chunk-X6W3OFT6.js +0 -45
  2524. package/dist/chunks/chunk-X6WC6UB2.js +0 -173
  2525. package/dist/chunks/chunk-X74FX5AY.js +0 -151
  2526. package/dist/chunks/chunk-X77ESFUL.js +0 -77
  2527. package/dist/chunks/chunk-X7HG63Z6.js +0 -136
  2528. package/dist/chunks/chunk-XDBUIXXW.js +0 -36
  2529. package/dist/chunks/chunk-XFRCONOK.js +0 -23
  2530. package/dist/chunks/chunk-XG5TP5ZZ.js +0 -61
  2531. package/dist/chunks/chunk-XL5M4VPW.js +0 -46
  2532. package/dist/chunks/chunk-XNIGJLOQ.js +0 -82
  2533. package/dist/chunks/chunk-XPVRE3M6.js +0 -66
  2534. package/dist/chunks/chunk-XPZZA66T.js +0 -23
  2535. package/dist/chunks/chunk-XQNELUDS.js +0 -33
  2536. package/dist/chunks/chunk-XQQ722CJ.js +0 -63
  2537. package/dist/chunks/chunk-XRHOGZRN.js +0 -120
  2538. package/dist/chunks/chunk-XSKXJX6J.js +0 -135
  2539. package/dist/chunks/chunk-XTPP7SAM.js +0 -23
  2540. package/dist/chunks/chunk-XVMA44YI.js +0 -65
  2541. package/dist/chunks/chunk-Y2E4VI2G.js +0 -89
  2542. package/dist/chunks/chunk-Y2XCDNZE.js +0 -140
  2543. package/dist/chunks/chunk-Y37RQPXI.js +0 -180
  2544. package/dist/chunks/chunk-Y3MHUXVL.js +0 -51
  2545. package/dist/chunks/chunk-Y4BFZLMI.js +0 -248
  2546. package/dist/chunks/chunk-Y4PAQJJB.js +0 -129
  2547. package/dist/chunks/chunk-Y5P752JT.js +0 -117
  2548. package/dist/chunks/chunk-Y6COPGTK.js +0 -1309
  2549. package/dist/chunks/chunk-Y7QLVSSD.js +0 -130
  2550. package/dist/chunks/chunk-YA2ZW7CR.js +0 -117
  2551. package/dist/chunks/chunk-YAAZDJBL.js +0 -163
  2552. package/dist/chunks/chunk-YAGVOQB4.js +0 -50
  2553. package/dist/chunks/chunk-YC5BROLP.js +0 -33
  2554. package/dist/chunks/chunk-YC673WDD.js +0 -85
  2555. package/dist/chunks/chunk-YFLHEBHI.js +0 -181
  2556. package/dist/chunks/chunk-YGDJHREC.js +0 -124
  2557. package/dist/chunks/chunk-YGMBSJT3.js +0 -260
  2558. package/dist/chunks/chunk-YIJVTT6M.js +0 -23
  2559. package/dist/chunks/chunk-YIKINIAU.js +0 -160
  2560. package/dist/chunks/chunk-YIOQBG7Y.js +0 -102
  2561. package/dist/chunks/chunk-YKJ2W33C.js +0 -305
  2562. package/dist/chunks/chunk-YL57SFRK.js +0 -222
  2563. package/dist/chunks/chunk-YOBNMW2P.js +0 -92
  2564. package/dist/chunks/chunk-YPAFREZN.js +0 -366
  2565. package/dist/chunks/chunk-YPVCYDTZ.js +0 -105
  2566. package/dist/chunks/chunk-YQ2QDNDJ.js +0 -96
  2567. package/dist/chunks/chunk-YQV75JLA.js +0 -266
  2568. package/dist/chunks/chunk-YSLZPCOH.js +0 -119
  2569. package/dist/chunks/chunk-YXNGBYXP.js +0 -140
  2570. package/dist/chunks/chunk-YYCD4UKR.js +0 -158
  2571. package/dist/chunks/chunk-YYHIVGOM.js +0 -79
  2572. package/dist/chunks/chunk-YYLL2WD2.js +0 -94
  2573. package/dist/chunks/chunk-YZPEJD6G.js +0 -71
  2574. package/dist/chunks/chunk-Z2QKY7J6.js +0 -210
  2575. package/dist/chunks/chunk-Z3DBBAID.js +0 -182
  2576. package/dist/chunks/chunk-Z4RAW5RQ.js +0 -105
  2577. package/dist/chunks/chunk-Z5FF7IQS.js +0 -215
  2578. package/dist/chunks/chunk-Z5MXYHEB.js +0 -165
  2579. package/dist/chunks/chunk-Z7XHECOH.js +0 -178
  2580. package/dist/chunks/chunk-ZAFQXZAR.js +0 -121
  2581. package/dist/chunks/chunk-ZBASK5BH.js +0 -138
  2582. package/dist/chunks/chunk-ZCDSZPCP.js +0 -155
  2583. package/dist/chunks/chunk-ZGYD6KT5.js +0 -255
  2584. package/dist/chunks/chunk-ZIPCAQIG.js +0 -23
  2585. package/dist/chunks/chunk-ZJ7B7YKU.js +0 -98
  2586. package/dist/chunks/chunk-ZJGYMU6A.js +0 -53
  2587. package/dist/chunks/chunk-ZL7ERYHT.js +0 -101
  2588. package/dist/chunks/chunk-ZLL7FMNB.js +0 -97
  2589. package/dist/chunks/chunk-ZLNJCXUE.js +0 -327
  2590. package/dist/chunks/chunk-ZMMQNZD6.js +0 -55
  2591. package/dist/chunks/chunk-ZOHSJLGA.js +0 -206
  2592. package/dist/chunks/chunk-ZOSNGXVU.js +0 -193
  2593. package/dist/chunks/chunk-ZQOVQIKH.js +0 -652
  2594. package/dist/chunks/chunk-ZT5L3K4V.js +0 -109
  2595. package/dist/chunks/chunk-ZTFG6JL3.js +0 -112
  2596. package/dist/chunks/chunk-ZULIAVTH.js +0 -114
  2597. package/dist/chunks/chunk-ZVBPCTQU.js +0 -202
  2598. package/dist/chunks/chunk-ZXR7CVPG.js +0 -201
  2599. package/dist/chunks/chunk-ZZNPN4FE.js +0 -74
  2600. package/dist/chunks/chunk-ZZWU4UKF.js +0 -93
  2601. package/dist/chunks/client-5JG76IRY.js +0 -31
  2602. package/dist/chunks/client-J2CEFNNJ.js +0 -168
  2603. package/dist/chunks/client-USADLBHL.js +0 -47
  2604. package/dist/chunks/client-actions-BDMDUTKV.js +0 -170
  2605. package/dist/chunks/components-R2D3UTW2.js +0 -78
  2606. package/dist/chunks/dangerous-CSMKGMH5.js +0 -124
  2607. package/dist/chunks/delete-current-file-IPFR4LGR.js +0 -163
  2608. package/dist/chunks/editor-seams-V6QN3NRV.js +0 -183
  2609. package/dist/chunks/editor-store-LFC7Q6FA.js +0 -148
  2610. package/dist/chunks/export-ZWF4Q7SZ.js +0 -67
  2611. package/dist/chunks/export-watermark-4B3VT33V.js +0 -157
  2612. package/dist/chunks/eyedropper-NQV6WLIO.js +0 -355
  2613. package/dist/chunks/generate-media-667HC3DS.js +0 -255
  2614. package/dist/chunks/host-MI5OA5ON.js +0 -184
  2615. package/dist/chunks/host-WFZOO3JZ.js +0 -246
  2616. package/dist/chunks/integrations-TKAQTJ4W.js +0 -125
  2617. package/dist/chunks/libraries-PVZQHBBL.js +0 -311
  2618. package/dist/chunks/live-E3E2EQSX.js +0 -322
  2619. package/dist/chunks/lottie-EFY3WPC6.js +0 -91
  2620. package/dist/chunks/media-tool-X7NIB5IC.js +0 -237
  2621. package/dist/chunks/new-file-MGITD74I.js +0 -140
  2622. package/dist/chunks/next-commerce-IFNKONWU.js +0 -74
  2623. package/dist/chunks/pdf-HAC4JSHV.js +0 -1218
  2624. package/dist/chunks/player-check-H7XGXXWB.js +0 -119
  2625. package/dist/chunks/plugin-3YMDASGH.js +0 -131
  2626. package/dist/chunks/plugin-import-NJ2ZP5RO.js +0 -692
  2627. package/dist/chunks/presence-WTXABWRA.js +0 -137
  2628. package/dist/chunks/project-AMUIERR4.js +0 -1601
  2629. package/dist/chunks/publish-site-QROHMC5W.js +0 -167
  2630. package/dist/chunks/publish-store-XTLNNMHO.js +0 -100
  2631. package/dist/chunks/raster-actions-LFNRYKTH.js +0 -233
  2632. package/dist/chunks/reference-images-DB2IDEWE.js +0 -62
  2633. package/dist/chunks/registry-4M4N3IQT.js +0 -49
  2634. package/dist/chunks/resolvers-RPGPN4SR.js +0 -150
  2635. package/dist/chunks/runner-DEH434GQ.js +0 -3546
  2636. package/dist/chunks/store-VBOC3NDV.js +0 -235
  2637. package/dist/chunks/storefront-ROZDVGKJ.js +0 -336
  2638. package/dist/chunks/storefront-prepare-4GVMVMLY.js +0 -33
  2639. package/dist/chunks/svg-export-CNQLK5RK.js +0 -84
  2640. package/dist/chunks/sync-4O2XASRY.js +0 -162
  2641. package/dist/chunks/tabs-KO6KUDKI.js +0 -320
  2642. package/dist/chunks/team-O2EEUEUW.js +0 -47
  2643. package/dist/chunks/team-client-RTB6EDGA.js +0 -158
  2644. package/dist/chunks/tools-2HIPIKFT.js +0 -37
  2645. package/dist/chunks/tree-Q4SOEAM2.js +0 -83
  2646. package/dist/chunks/ui-commands-L2H7GUOZ.js +0 -191
  2647. package/dist/chunks/versions-A2OXUUBN.js +0 -320
  2648. package/dist/chunks/web-PFNWTIRX.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-SB2WMWUU.js";
29
+ import "./chunk-V3I4KSGP.js";
30
+ import {
31
+ registerBuiltinTools
32
+ } from "./chunk-QPXUJZ6H.js";
33
+ import {
34
+ registerDangerousCommands
35
+ } from "./chunk-7YJQNULZ.js";
36
+ import "./chunk-4MXDGF4R.js";
37
+ import {
38
+ editBlockReason,
39
+ editorToolContext
40
+ } from "./chunk-UJMGZRP6.js";
41
+ import "./chunk-VT4G2LR3.js";
42
+ import "./chunk-EFDY2CAU.js";
43
+ import "./chunk-4T44SXRJ.js";
44
+ import "./chunk-UD5NRN4U.js";
45
+ import "./chunk-NFM6Y2II.js";
46
+ import "./chunk-VJWGIX35.js";
47
+ import "./chunk-ZCHSEL4O.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-K7KZ7JR5.js";
57
+ import {
58
+ HYPERY_PAYMENT_SOURCE_HEADER,
59
+ paymentSourceHeaders
60
+ } from "./chunk-AMIFNIPG.js";
61
+ import {
62
+ allTools,
63
+ getTool,
64
+ runTool,
65
+ toolSpecs
66
+ } from "./chunk-NESWJC5O.js";
67
+ import {
68
+ external_exports
69
+ } from "./chunk-Z5OEPBFF.js";
70
+ import {
71
+ provideAgentCapability
72
+ } from "./chunk-EE6A5TVL.js";
73
+ import {
74
+ defineCommand
75
+ } from "./chunk-FLOXTSFB.js";
76
+ import "./chunk-XPTCDD7W.js";
77
+ import "./chunk-QETWMTHI.js";
78
+ import "./chunk-YKCEJMW7.js";
79
+ import "./chunk-EZEIVLC6.js";
80
+ import "./chunk-VRLULK3N.js";
81
+ import "./chunk-BTKMDAAV.js";
82
+ import "./chunk-343E2AXU.js";
83
+ import "./chunk-HBBCFHNF.js";
84
+ import "./chunk-44UEFX4Z.js";
85
+ import "./chunk-UJHNBGIO.js";
86
+ import "./chunk-NV2KXYJ6.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-DB7CHK3N.js";
99
+ import "./chunk-MQTCBQFK.js";
100
+ import "./chunk-BOHNTUCB.js";
101
+ import "./chunk-HNGLOJHT.js";
102
+ import "./chunk-I4YWQRCU.js";
103
+ import {
104
+ activeHyperyTeamId
105
+ } from "./chunk-YAYLX46E.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-S2Y6XWMM.js";
113
+ import {
114
+ useEditorStore
115
+ } from "./chunk-ANDBBN46.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-OJ2MLEIA.js";
177
+ import "./chunk-5AHFTM4R.js";
178
+ import "./chunk-XGC2MJQ3.js";
179
+ import "./chunk-T57KDVBZ.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-GIVKQPCU.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
+ };