@koda-sl/baker-cli 0.442.0 → 0.443.0-dev.043c1d4ac

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 (1581) hide show
  1. package/README.md +38 -23
  2. package/canvas/tiktok-captions-composition/index.html +5 -6
  3. package/canvas/tiktok-captions-composition/meta.json +5 -0
  4. package/dist/account-4H7QVBRK.js +80 -0
  5. package/dist/account-4H7QVBRK.js.map +1 -0
  6. package/dist/account-IEVEOFIK.js +49 -0
  7. package/dist/account-IEVEOFIK.js.map +1 -0
  8. package/dist/account-RDRK7NOE.js +79 -0
  9. package/dist/account-RDRK7NOE.js.map +1 -0
  10. package/dist/account-writes-AK42HGRM.js +66 -0
  11. package/dist/account-writes-AK42HGRM.js.map +1 -0
  12. package/dist/accounts-4CDRK4S4.js +75 -0
  13. package/dist/accounts-4CDRK4S4.js.map +1 -0
  14. package/dist/accounts-4TYIUVWY.js +77 -0
  15. package/dist/accounts-4TYIUVWY.js.map +1 -0
  16. package/dist/accounts-5QDKBZMH.js +115 -0
  17. package/dist/accounts-5QDKBZMH.js.map +1 -0
  18. package/dist/accounts-6COLJJHM.js +611 -0
  19. package/dist/accounts-6COLJJHM.js.map +1 -0
  20. package/dist/accounts-KYJO3JC6.js +114 -0
  21. package/dist/accounts-KYJO3JC6.js.map +1 -0
  22. package/dist/actions-PEI6ZQAG.js +55 -0
  23. package/dist/active-entities-YUSOUR5M.js +103 -0
  24. package/dist/active-entities-YUSOUR5M.js.map +1 -0
  25. package/dist/activities-ZVQOBHZH.js +74 -0
  26. package/dist/activities-ZVQOBHZH.js.map +1 -0
  27. package/dist/ad-group-writes-QQS4223F.js +170 -0
  28. package/dist/ad-group-writes-QQS4223F.js.map +1 -0
  29. package/dist/ad-groups-WGPDPUI2.js +68 -0
  30. package/dist/ad-groups-WGPDPUI2.js.map +1 -0
  31. package/dist/ad-writes-XE2IE4DS.js +174 -0
  32. package/dist/ad-writes-XE2IE4DS.js.map +1 -0
  33. package/dist/add-577QWMCF.js +97 -0
  34. package/dist/add-577QWMCF.js.map +1 -0
  35. package/dist/add-CUWAW7KG.js +105 -0
  36. package/dist/add-CUWAW7KG.js.map +1 -0
  37. package/dist/add-XDOQQCHS.js +104 -0
  38. package/dist/add-XDOQQCHS.js.map +1 -0
  39. package/dist/add-XEDSBYLM.js +280 -0
  40. package/dist/add-XEDSBYLM.js.map +1 -0
  41. package/dist/ads-BCOSQALY.js +77 -0
  42. package/dist/ads-BCOSQALY.js.map +1 -0
  43. package/dist/ads-H7GH7A26.js +113 -0
  44. package/dist/ads-H7GH7A26.js.map +1 -0
  45. package/dist/ads-TJ7ACFHG.js +40 -0
  46. package/dist/adsets-H7QT42U6.js +176 -0
  47. package/dist/adsets-H7QT42U6.js.map +1 -0
  48. package/dist/advertisers-WSNHNCBQ.js +116 -0
  49. package/dist/advertisers-WSNHNCBQ.js.map +1 -0
  50. package/dist/advertisers-YMHPZYNF.js +111 -0
  51. package/dist/advertisers-YMHPZYNF.js.map +1 -0
  52. package/dist/analytics-PT2GKCFU.js +1958 -0
  53. package/dist/analytics-PT2GKCFU.js.map +1 -0
  54. package/dist/analytics-ZVWUY66X.js +433 -0
  55. package/dist/analytics-ZVWUY66X.js.map +1 -0
  56. package/dist/animate-3Z7HXOLE.js +480 -0
  57. package/dist/animate-3Z7HXOLE.js.map +1 -0
  58. package/dist/assign-B26AJLGN.js +77 -0
  59. package/dist/assign-B26AJLGN.js.map +1 -0
  60. package/dist/audience-size-ZX565D5P.js +94 -0
  61. package/dist/audience-size-ZX565D5P.js.map +1 -0
  62. package/dist/audiences-HFRVIE2X.js +85 -0
  63. package/dist/audiences-HFRVIE2X.js.map +1 -0
  64. package/dist/audiences-JACGRBNN.js +78 -0
  65. package/dist/audiences-JACGRBNN.js.map +1 -0
  66. package/dist/audiences-TGD5US2M.js +268 -0
  67. package/dist/audiences-TGD5US2M.js.map +1 -0
  68. package/dist/audit-AD4ZZNJN.js +88 -0
  69. package/dist/audit-AD4ZZNJN.js.map +1 -0
  70. package/dist/audit-SAXVPGWS.js +151 -0
  71. package/dist/audit-SAXVPGWS.js.map +1 -0
  72. package/dist/autocomplete-6PYFCOMX.js +107 -0
  73. package/dist/autocomplete-6PYFCOMX.js.map +1 -0
  74. package/dist/avatars-2UQJXHPV.js +38 -0
  75. package/dist/bid-pricing-WSHACGX4.js +99 -0
  76. package/dist/bid-pricing-WSHACGX4.js.map +1 -0
  77. package/dist/brand-XBABUT52.js +22 -0
  78. package/dist/brief-KKNC32TA.js +478 -0
  79. package/dist/brief-KKNC32TA.js.map +1 -0
  80. package/dist/businesses-JBDQZZIG.js +53 -0
  81. package/dist/businesses-JBDQZZIG.js.map +1 -0
  82. package/dist/campaign-groups-G35366AW.js +95 -0
  83. package/dist/campaign-groups-G35366AW.js.map +1 -0
  84. package/dist/campaign-writes-SXLZFYF6.js +170 -0
  85. package/dist/campaign-writes-SXLZFYF6.js.map +1 -0
  86. package/dist/campaign-writes-ZQGN7FQ3.js +165 -0
  87. package/dist/campaign-writes-ZQGN7FQ3.js.map +1 -0
  88. package/dist/campaigns-GXUCHQ2S.js +109 -0
  89. package/dist/campaigns-GXUCHQ2S.js.map +1 -0
  90. package/dist/campaigns-WBEG5QA4.js +110 -0
  91. package/dist/campaigns-WBEG5QA4.js.map +1 -0
  92. package/dist/campaigns-WECN54WV.js +107 -0
  93. package/dist/campaigns-WECN54WV.js.map +1 -0
  94. package/dist/campaigns-YS3OGQXO.js +76 -0
  95. package/dist/campaigns-YS3OGQXO.js.map +1 -0
  96. package/dist/canvas-KEXE5P6S.js +46 -0
  97. package/dist/capabilities-74I5AQ36.js +144 -0
  98. package/dist/capabilities-74I5AQ36.js.map +1 -0
  99. package/dist/cards-4477BFEV.js +85 -0
  100. package/dist/cards-4477BFEV.js.map +1 -0
  101. package/dist/catalog-IQEQ5TGQ.js +66 -0
  102. package/dist/catalog-IQEQ5TGQ.js.map +1 -0
  103. package/dist/catalogs-BRXEDE56.js +128 -0
  104. package/dist/catalogs-BRXEDE56.js.map +1 -0
  105. package/dist/changes-6QBJMGJC.js +135 -0
  106. package/dist/changes-6QBJMGJC.js.map +1 -0
  107. package/dist/chatgpt-7W75X3ER.js +47 -0
  108. package/dist/chats-DWHF64IU.js +262 -0
  109. package/dist/chats-DWHF64IU.js.map +1 -0
  110. package/dist/chunk-27NMXSC3.js +486 -0
  111. package/dist/chunk-27NMXSC3.js.map +1 -0
  112. package/dist/chunk-2CD5ZP7M.js +6659 -0
  113. package/dist/chunk-2CD5ZP7M.js.map +1 -0
  114. package/dist/chunk-2TK4DEOE.js +74 -0
  115. package/dist/chunk-3RJ3VGJP.js +197 -0
  116. package/dist/chunk-3RJ3VGJP.js.map +1 -0
  117. package/dist/chunk-4NDCTLI5.js +191 -0
  118. package/dist/chunk-4NZ47VXO.js +137 -0
  119. package/dist/chunk-4NZ47VXO.js.map +1 -0
  120. package/dist/chunk-4SJDDGPV.js +1411 -0
  121. package/dist/chunk-4SJDDGPV.js.map +1 -0
  122. package/dist/chunk-5ARG3CQG.js +141 -0
  123. package/dist/chunk-5HYSKH77.js +315 -0
  124. package/dist/chunk-5HYSKH77.js.map +1 -0
  125. package/dist/chunk-5Z2KSVIV.js +67 -0
  126. package/dist/chunk-654U6NU6.js +534 -0
  127. package/dist/chunk-654U6NU6.js.map +1 -0
  128. package/dist/chunk-6B7VKFS4.js +172 -0
  129. package/dist/chunk-6G5K6ZC6.js +46 -0
  130. package/dist/chunk-73QKIIIR.js +23 -0
  131. package/dist/chunk-75FDTDLH.js +96 -0
  132. package/dist/chunk-75VNSKS3.js +455 -0
  133. package/dist/chunk-75VNSKS3.js.map +1 -0
  134. package/dist/chunk-7GPDUS3P.js +494 -0
  135. package/dist/chunk-7GPDUS3P.js.map +1 -0
  136. package/dist/chunk-7J6EHOH6.js +274 -0
  137. package/dist/chunk-7OFNN4CT.js +58 -0
  138. package/dist/chunk-7QJVPMVB.js +592 -0
  139. package/dist/chunk-7QJVPMVB.js.map +1 -0
  140. package/dist/chunk-AN447DQB.js +159 -0
  141. package/dist/chunk-AN447DQB.js.map +1 -0
  142. package/dist/chunk-BYDF22T4.js +346 -0
  143. package/dist/chunk-BYDF22T4.js.map +1 -0
  144. package/dist/chunk-C6U6UDHJ.js +106 -0
  145. package/dist/chunk-CLMM6P6B.js +1751 -0
  146. package/dist/chunk-CLMM6P6B.js.map +1 -0
  147. package/dist/chunk-DIY6QR3E.js +96 -0
  148. package/dist/chunk-EFSYTROP.js +94 -0
  149. package/dist/chunk-EIP4PYCL.js +496 -0
  150. package/dist/chunk-EIP4PYCL.js.map +1 -0
  151. package/dist/chunk-EZUG6WE2.js +60 -0
  152. package/dist/chunk-EZUG6WE2.js.map +1 -0
  153. package/dist/chunk-F2S5BLPE.js +97 -0
  154. package/dist/chunk-F2S5BLPE.js.map +1 -0
  155. package/dist/chunk-FEXDI4NM.js +103 -0
  156. package/dist/chunk-FHXIEMCG.js +382 -0
  157. package/dist/chunk-FTWJFDIN.js +23992 -0
  158. package/dist/chunk-FTWJFDIN.js.map +1 -0
  159. package/dist/chunk-FXED3VZK.js +174 -0
  160. package/dist/chunk-FXED3VZK.js.map +1 -0
  161. package/dist/chunk-GIJT3A5U.js +166 -0
  162. package/dist/chunk-GIJT3A5U.js.map +1 -0
  163. package/dist/chunk-H26L3OQY.js +42 -0
  164. package/dist/chunk-HIPDMQZ6.js +136 -0
  165. package/dist/chunk-HMEFD2CG.js +5163 -0
  166. package/dist/chunk-HMEFD2CG.js.map +1 -0
  167. package/dist/chunk-HO3IUJ4K.js +70 -0
  168. package/dist/chunk-HO3IUJ4K.js.map +1 -0
  169. package/dist/chunk-HXTGYOQC.js +813 -0
  170. package/dist/chunk-HXTGYOQC.js.map +1 -0
  171. package/dist/chunk-HYCIBVDW.js +98 -0
  172. package/dist/chunk-ICM2OXZV.js +304 -0
  173. package/dist/chunk-ICM2OXZV.js.map +1 -0
  174. package/dist/chunk-IFWP3ZDO.js +215 -0
  175. package/dist/chunk-IKGWQBKJ.js +422 -0
  176. package/dist/chunk-IKGWQBKJ.js.map +1 -0
  177. package/dist/chunk-IXKEWS7X.js +433 -0
  178. package/dist/chunk-JERXV5A3.js +26 -0
  179. package/dist/chunk-JM73NDCM.js +163 -0
  180. package/dist/chunk-JM73NDCM.js.map +1 -0
  181. package/dist/chunk-K3PN7TN5.js +84 -0
  182. package/dist/chunk-K3PN7TN5.js.map +1 -0
  183. package/dist/chunk-KLNKEVIY.js +136 -0
  184. package/dist/chunk-KNY76UGC.js +84 -0
  185. package/dist/chunk-KWAOTV7F.js +830 -0
  186. package/dist/chunk-L3OLEAJN.js +92 -0
  187. package/dist/chunk-L3OLEAJN.js.map +1 -0
  188. package/dist/chunk-LERTEZST.js +28 -0
  189. package/dist/chunk-LL2CD5WU.js +310 -0
  190. package/dist/chunk-LO6GEJ4Z.js +51 -0
  191. package/dist/chunk-LS5MTRFI.js +106 -0
  192. package/dist/chunk-LZ73CZGP.js +188 -0
  193. package/dist/chunk-MELOSESI.js +20 -0
  194. package/dist/chunk-MLU6STIN.js +66 -0
  195. package/dist/chunk-MLU6STIN.js.map +1 -0
  196. package/dist/chunk-MZL4H5PY.js +225 -0
  197. package/dist/chunk-MZL4H5PY.js.map +1 -0
  198. package/dist/chunk-NAWWC5I3.js +454 -0
  199. package/dist/chunk-NFSLRRIE.js +77 -0
  200. package/dist/chunk-NFSLRRIE.js.map +1 -0
  201. package/dist/chunk-NPE7EWBE.js +297 -0
  202. package/dist/chunk-NU7JSWVA.js +946 -0
  203. package/dist/chunk-NU7JSWVA.js.map +1 -0
  204. package/dist/chunk-OBDAYP2P.js +3155 -0
  205. package/dist/chunk-OBDAYP2P.js.map +1 -0
  206. package/dist/chunk-OC5IJSIW.js +420 -0
  207. package/dist/chunk-OC5IJSIW.js.map +1 -0
  208. package/dist/chunk-OKG6GX2F.js +169 -0
  209. package/dist/chunk-OTFHEHIU.js +1706 -0
  210. package/dist/chunk-OTFHEHIU.js.map +1 -0
  211. package/dist/chunk-PBA3YCZA.js +76 -0
  212. package/dist/chunk-PWGWMIIJ.js +25 -0
  213. package/dist/chunk-QHLB5V7J.js +19 -0
  214. package/dist/chunk-QJE6ZYGI.js +131 -0
  215. package/dist/chunk-QSN5MZGS.js +74 -0
  216. package/dist/chunk-QXZYAIWS.js +390 -0
  217. package/dist/chunk-QXZYAIWS.js.map +1 -0
  218. package/dist/chunk-RRUJQVWA.js +4372 -0
  219. package/dist/chunk-RRUJQVWA.js.map +1 -0
  220. package/dist/chunk-RSW6QJPH.js +217 -0
  221. package/dist/chunk-RX6F3GEA.js +610 -0
  222. package/dist/chunk-RX6F3GEA.js.map +1 -0
  223. package/dist/chunk-SBMIQDCX.js +175 -0
  224. package/dist/chunk-SJDPHVGE.js +363 -0
  225. package/dist/chunk-SJDPHVGE.js.map +1 -0
  226. package/dist/chunk-STIB5DR5.js +56 -0
  227. package/dist/chunk-TBEUMOEL.js +95 -0
  228. package/dist/chunk-TCNNOLVZ.js +207 -0
  229. package/dist/chunk-TCNNOLVZ.js.map +1 -0
  230. package/dist/chunk-TD2P4HBP.js +55 -0
  231. package/dist/chunk-URIYUZIN.js +111 -0
  232. package/dist/chunk-URIYUZIN.js.map +1 -0
  233. package/dist/chunk-VAJBWA2U.js +75 -0
  234. package/dist/chunk-VAJBWA2U.js.map +1 -0
  235. package/dist/chunk-VBHDZSI5.js +57 -0
  236. package/dist/chunk-VFIOJD5M.js +309 -0
  237. package/dist/chunk-VVZBBKRC.js +296 -0
  238. package/dist/chunk-VWCELTQE.js +1079 -0
  239. package/dist/chunk-VWCELTQE.js.map +1 -0
  240. package/dist/chunk-W3B4BHQU.js +31 -0
  241. package/dist/chunk-W3ZHJJVT.js +139 -0
  242. package/dist/chunk-W3ZHJJVT.js.map +1 -0
  243. package/dist/chunk-WS2GMOSG.js +74 -0
  244. package/dist/chunk-XBOK23HI.js +214 -0
  245. package/dist/chunk-XG3XCHN6.js +26 -0
  246. package/dist/chunk-XL3BMSYG.js +125 -0
  247. package/dist/chunk-XWH7CCBL.js +6065 -0
  248. package/dist/chunk-XWH7CCBL.js.map +1 -0
  249. package/dist/chunk-XYMPS526.js +622 -0
  250. package/dist/chunk-Y5ZGWLWP.js +2882 -0
  251. package/dist/chunk-Y5ZGWLWP.js.map +1 -0
  252. package/dist/chunk-YBMVHGY3.js +333 -0
  253. package/dist/chunk-ZJ47BR6X.js +337 -0
  254. package/dist/chunk-ZJ47BR6X.js.map +1 -0
  255. package/dist/chunk-ZNBDKK4Y.js +76 -0
  256. package/dist/chunk-ZNBDKK4Y.js.map +1 -0
  257. package/dist/chunk-ZXTW3TXY.js +133 -0
  258. package/dist/chunk-ZXTW3TXY.js.map +1 -0
  259. package/dist/claim-EIL4ZBSN.js +197 -0
  260. package/dist/claim-EIL4ZBSN.js.map +1 -0
  261. package/dist/cli.js +36 -37
  262. package/dist/cli.js.map +1 -1
  263. package/dist/client-VHN32ZRE.js +19 -0
  264. package/dist/code-YS6ZMGX3.js +76 -0
  265. package/dist/code-YS6ZMGX3.js.map +1 -0
  266. package/dist/companies-2UG7RDYN.js +195 -0
  267. package/dist/companies-2UG7RDYN.js.map +1 -0
  268. package/dist/complete-I4KRFYMD.js +81 -0
  269. package/dist/complete-I4KRFYMD.js.map +1 -0
  270. package/dist/config-CQN5FHMZ.js +88 -0
  271. package/dist/config-CQN5FHMZ.js.map +1 -0
  272. package/dist/connect-TA5W6YGW.js +36 -0
  273. package/dist/content-3ZPP4SW2.js +81 -0
  274. package/dist/content-3ZPP4SW2.js.map +1 -0
  275. package/dist/conversation-BJI54MI6.js +93 -0
  276. package/dist/conversation-BJI54MI6.js.map +1 -0
  277. package/dist/conversion-report-XQBJ6LG4.js +125 -0
  278. package/dist/conversion-report-XQBJ6LG4.js.map +1 -0
  279. package/dist/conversion-upload-command-JULHGVIR.js +438 -0
  280. package/dist/conversion-upload-command-JULHGVIR.js.map +1 -0
  281. package/dist/conversion-writes-UBCVXP2E.js +120 -0
  282. package/dist/conversion-writes-UBCVXP2E.js.map +1 -0
  283. package/dist/conversions-D236RTUK.js +76 -0
  284. package/dist/conversions-D236RTUK.js.map +1 -0
  285. package/dist/conversions-VJOJ5S4U.js +135 -0
  286. package/dist/conversions-VJOJ5S4U.js.map +1 -0
  287. package/dist/countries-FYHM3IMJ.js +82 -0
  288. package/dist/countries-FYHM3IMJ.js.map +1 -0
  289. package/dist/create-E7BIZNUC.js +130 -0
  290. package/dist/create-E7BIZNUC.js.map +1 -0
  291. package/dist/create-HKOO7O5L.js +59 -0
  292. package/dist/create-HKOO7O5L.js.map +1 -0
  293. package/dist/create-JLQCXAT2.js +207 -0
  294. package/dist/create-JLQCXAT2.js.map +1 -0
  295. package/dist/create-VY3RQXOY.js +235 -0
  296. package/dist/create-VY3RQXOY.js.map +1 -0
  297. package/dist/creatives-PSWCNY7U.js +87 -0
  298. package/dist/creatives-PSWCNY7U.js.map +1 -0
  299. package/dist/creatives-QXMBEA2V.js +51 -0
  300. package/dist/creatives-QXMBEA2V.js.map +1 -0
  301. package/dist/creatives-VXQQUH2F.js +182 -0
  302. package/dist/creatives-VXQQUH2F.js.map +1 -0
  303. package/dist/credentials-G5BJK7OR.js +1055 -0
  304. package/dist/credentials-G5BJK7OR.js.map +1 -0
  305. package/dist/critique-CMLAPVUB.js +1449 -0
  306. package/dist/critique-CMLAPVUB.js.map +1 -0
  307. package/dist/critique-O5VNNBPB.js +214 -0
  308. package/dist/critique-O5VNNBPB.js.map +1 -0
  309. package/dist/crm-CL7R67FT.js +224 -0
  310. package/dist/crm-CL7R67FT.js.map +1 -0
  311. package/dist/crm-GJCAM3DI.js +318 -0
  312. package/dist/crm-GJCAM3DI.js.map +1 -0
  313. package/dist/crop-2J4RKJ6B.js +113 -0
  314. package/dist/crop-2J4RKJ6B.js.map +1 -0
  315. package/dist/currency-DJDVIR3C.js +88 -0
  316. package/dist/currency-DJDVIR3C.js.map +1 -0
  317. package/dist/custom-conversions-6P555U2K.js +125 -0
  318. package/dist/custom-conversions-6P555U2K.js.map +1 -0
  319. package/dist/customers-4RJGRR2Y.js +56 -0
  320. package/dist/delete-3AV3ARMX.js +71 -0
  321. package/dist/delete-3AV3ARMX.js.map +1 -0
  322. package/dist/delete-4QXLTL24.js +63 -0
  323. package/dist/delete-4QXLTL24.js.map +1 -0
  324. package/dist/delete-A5XD52K4.js +69 -0
  325. package/dist/delete-A5XD52K4.js.map +1 -0
  326. package/dist/delete-IJNJTAGW.js +54 -0
  327. package/dist/delete-IJNJTAGW.js.map +1 -0
  328. package/dist/delete-MRM2S4Z5.js +71 -0
  329. package/dist/delete-MRM2S4Z5.js.map +1 -0
  330. package/dist/delete-R57JFJ3A.js +66 -0
  331. package/dist/delete-R57JFJ3A.js.map +1 -0
  332. package/dist/demographics-VMARSTTE.js +138 -0
  333. package/dist/demographics-VMARSTTE.js.map +1 -0
  334. package/dist/describe-6NVOWIBE.js +97 -0
  335. package/dist/describe-6NVOWIBE.js.map +1 -0
  336. package/dist/describe-P3PPIQME.js +97 -0
  337. package/dist/describe-P3PPIQME.js.map +1 -0
  338. package/dist/dimensions-EYAYO27I.js +101 -0
  339. package/dist/dimensions-EYAYO27I.js.map +1 -0
  340. package/dist/discard-Y2BKPW4Z.js +66 -0
  341. package/dist/discard-Y2BKPW4Z.js.map +1 -0
  342. package/dist/discover-M3ZKKFEL.js +172 -0
  343. package/dist/discover-M3ZKKFEL.js.map +1 -0
  344. package/dist/domain-YTHDTRWN.js +98 -0
  345. package/dist/domain-YTHDTRWN.js.map +1 -0
  346. package/dist/download-7T6HIJKD.js +299 -0
  347. package/dist/download-7T6HIJKD.js.map +1 -0
  348. package/dist/draft-ABGQYDHP.js +328 -0
  349. package/dist/draft-ABGQYDHP.js.map +1 -0
  350. package/dist/draft-BGUJDHXR.js +103 -0
  351. package/dist/draft-BGUJDHXR.js.map +1 -0
  352. package/dist/draft-KIBMVKSR.js +100 -0
  353. package/dist/draft-KIBMVKSR.js.map +1 -0
  354. package/dist/draft-KOLU5BRR.js +217 -0
  355. package/dist/draft-KOLU5BRR.js.map +1 -0
  356. package/dist/draft-MNFJ4G3C.js +281 -0
  357. package/dist/draft-MNFJ4G3C.js.map +1 -0
  358. package/dist/draft-U6CT6LCC.js +107 -0
  359. package/dist/draft-U6CT6LCC.js.map +1 -0
  360. package/dist/draft-YDY2Q2K6.js +233 -0
  361. package/dist/draft-YDY2Q2K6.js.map +1 -0
  362. package/dist/draft-ZVVUAMMQ.js +306 -0
  363. package/dist/draft-ZVVUAMMQ.js.map +1 -0
  364. package/dist/engine/index.d.ts +10 -0
  365. package/dist/engine/index.js +16 -17
  366. package/dist/env-KIP2J2UB.js +43 -0
  367. package/dist/experiment-LKK77YAN.js +1377 -0
  368. package/dist/experiment-LKK77YAN.js.map +1 -0
  369. package/dist/export-JQRMBJ7D.js +168 -0
  370. package/dist/export-JQRMBJ7D.js.map +1 -0
  371. package/dist/extract-7QKLME7Z.js +113 -0
  372. package/dist/extract-7QKLME7Z.js.map +1 -0
  373. package/dist/facets-UXN4MYPO.js +114 -0
  374. package/dist/facets-UXN4MYPO.js.map +1 -0
  375. package/dist/favorites-NSGF4OV5.js +178 -0
  376. package/dist/favorites-NSGF4OV5.js.map +1 -0
  377. package/dist/feed-RV4KPPXM.js +157 -0
  378. package/dist/feed-RV4KPPXM.js.map +1 -0
  379. package/dist/feedback-3FQYLADC.js +66 -0
  380. package/dist/feedback-3FQYLADC.js.map +1 -0
  381. package/dist/feedback-record-DTRZC73R.js +176 -0
  382. package/dist/feedback-record-DTRZC73R.js.map +1 -0
  383. package/dist/fetch-UTTJAOLC.js +171 -0
  384. package/dist/fetch-UTTJAOLC.js.map +1 -0
  385. package/dist/fetch-XF76JABV.js +139 -0
  386. package/dist/fetch-XF76JABV.js.map +1 -0
  387. package/dist/find-OTDIX6V4.js +134 -0
  388. package/dist/find-OTDIX6V4.js.map +1 -0
  389. package/dist/fit-KXHYKIA4.js +43 -0
  390. package/dist/flows-PB4K66NJ.js +244 -0
  391. package/dist/flows-PB4K66NJ.js.map +1 -0
  392. package/dist/follow-DUIEGDVK.js +82 -0
  393. package/dist/follow-DUIEGDVK.js.map +1 -0
  394. package/dist/follow-competitors-IT5ZVJPE.js +131 -0
  395. package/dist/follow-competitors-IT5ZVJPE.js.map +1 -0
  396. package/dist/following-RKC2FLHI.js +109 -0
  397. package/dist/following-RKC2FLHI.js.map +1 -0
  398. package/dist/fonts-NTOQS2KU.js +34 -0
  399. package/dist/forecast-RWDIDDWP.js +104 -0
  400. package/dist/forecast-RWDIDDWP.js.map +1 -0
  401. package/dist/funding-NYO65IMT.js +85 -0
  402. package/dist/funding-NYO65IMT.js.map +1 -0
  403. package/dist/funnel-XCKPRYTV.js +837 -0
  404. package/dist/funnel-XCKPRYTV.js.map +1 -0
  405. package/dist/ga4-UDQ2HA2J.js +55 -0
  406. package/dist/generate-DMQUS665.js +262 -0
  407. package/dist/generate-DMQUS665.js.map +1 -0
  408. package/dist/get-3L6W3E3T.js +59 -0
  409. package/dist/get-3L6W3E3T.js.map +1 -0
  410. package/dist/get-67IG7SZI.js +78 -0
  411. package/dist/get-67IG7SZI.js.map +1 -0
  412. package/dist/get-6WEYKOY6.js +63 -0
  413. package/dist/get-6WEYKOY6.js.map +1 -0
  414. package/dist/get-P743RPSI.js +63 -0
  415. package/dist/get-P743RPSI.js.map +1 -0
  416. package/dist/get-WO22OCMZ.js +54 -0
  417. package/dist/get-WO22OCMZ.js.map +1 -0
  418. package/dist/get-XN5ZGDIK.js +61 -0
  419. package/dist/get-XN5ZGDIK.js.map +1 -0
  420. package/dist/get-YIHTAMRT.js +92 -0
  421. package/dist/get-YIHTAMRT.js.map +1 -0
  422. package/dist/gif-53ULFVLR.js +94 -0
  423. package/dist/gif-53ULFVLR.js.map +1 -0
  424. package/dist/google-KIBLORXX.js +1872 -0
  425. package/dist/google-KIBLORXX.js.map +1 -0
  426. package/dist/google-KTO3PLEU.js +136 -0
  427. package/dist/google-KTO3PLEU.js.map +1 -0
  428. package/dist/group-EFZ3AJIE.js +43 -0
  429. package/dist/group-EFZ3AJIE.js.map +1 -0
  430. package/dist/group-GKWCCX66.js +43 -0
  431. package/dist/group-GKWCCX66.js.map +1 -0
  432. package/dist/gsc-P3QYGDV2.js +30 -0
  433. package/dist/history-PBFRKLU6.js +133 -0
  434. package/dist/history-PBFRKLU6.js.map +1 -0
  435. package/dist/history-Q3QCT64S.js +67 -0
  436. package/dist/history-Q3QCT64S.js.map +1 -0
  437. package/dist/hubspot-PMOZST7W.js +779 -0
  438. package/dist/hubspot-PMOZST7W.js.map +1 -0
  439. package/dist/icon-I43F77FV.js +137 -0
  440. package/dist/icon-I43F77FV.js.map +1 -0
  441. package/dist/ideas-PU7IAX6F.js +32 -0
  442. package/dist/images-QI2HTX6B.js +90 -0
  443. package/dist/improve-BCCU5AS6.js +86 -0
  444. package/dist/improve-BCCU5AS6.js.map +1 -0
  445. package/dist/ingest-BYJNFOOT.js +23 -0
  446. package/dist/ingest-ZQM47NVZ.js +107 -0
  447. package/dist/ingest-ZQM47NVZ.js.map +1 -0
  448. package/dist/insights-LNAXV2CG.js +122 -0
  449. package/dist/insights-LNAXV2CG.js.map +1 -0
  450. package/dist/insights-NZWSJKU4.js +423 -0
  451. package/dist/insights-NZWSJKU4.js.map +1 -0
  452. package/dist/inspect-CQH55Q6G.js +189 -0
  453. package/dist/inspect-CQH55Q6G.js.map +1 -0
  454. package/dist/inspiration-I4MMKAWA.js +53 -0
  455. package/dist/intent-ICKFJRT2.js +95 -0
  456. package/dist/intent-ICKFJRT2.js.map +1 -0
  457. package/dist/job-L7RJZMSG.js +202 -0
  458. package/dist/job-L7RJZMSG.js.map +1 -0
  459. package/dist/job-create-JUDAN52O.js +109 -0
  460. package/dist/job-create-JUDAN52O.js.map +1 -0
  461. package/dist/job-status-U43WE3RJ.js +74 -0
  462. package/dist/job-status-U43WE3RJ.js.map +1 -0
  463. package/dist/keep-55CPC7DG.js +78 -0
  464. package/dist/keep-55CPC7DG.js.map +1 -0
  465. package/dist/keyword-gap-NGPH32FN.js +130 -0
  466. package/dist/keyword-gap-NGPH32FN.js.map +1 -0
  467. package/dist/keyword-metrics-E3NJUSEQ.js +197 -0
  468. package/dist/keyword-metrics-E3NJUSEQ.js.map +1 -0
  469. package/dist/keywords-for-site-RH47P4GJ.js +124 -0
  470. package/dist/keywords-for-site-RH47P4GJ.js.map +1 -0
  471. package/dist/landing-4PA7GCPM.js +28 -0
  472. package/dist/landing-4PA7GCPM.js.map +1 -0
  473. package/dist/languages-JDYL2N5F.js +40 -0
  474. package/dist/languages-JDYL2N5F.js.map +1 -0
  475. package/dist/languages-JMVNOHMG.js +55 -0
  476. package/dist/languages-JMVNOHMG.js.map +1 -0
  477. package/dist/layerize-RPD6SNP6.js +190 -0
  478. package/dist/layerize-RPD6SNP6.js.map +1 -0
  479. package/dist/leads-7EVHMNUF.js +293 -0
  480. package/dist/leads-7EVHMNUF.js.map +1 -0
  481. package/dist/leads-I7BO5V7P.js +90 -0
  482. package/dist/leads-I7BO5V7P.js.map +1 -0
  483. package/dist/learn-HZU3QWNN.js +204 -0
  484. package/dist/library-ARKRLCNJ.js +109 -0
  485. package/dist/library-ARKRLCNJ.js.map +1 -0
  486. package/dist/lighthouse-NQBUCHTW.js +75 -0
  487. package/dist/lighthouse-NQBUCHTW.js.map +1 -0
  488. package/dist/line-item-writes-JSR53MID.js +208 -0
  489. package/dist/line-item-writes-JSR53MID.js.map +1 -0
  490. package/dist/line-items-2WFLKOOR.js +103 -0
  491. package/dist/line-items-2WFLKOOR.js.map +1 -0
  492. package/dist/link-AYXOJQDV.js +64 -0
  493. package/dist/link-AYXOJQDV.js.map +1 -0
  494. package/dist/linkedin-M2PVZYLV.js +1008 -0
  495. package/dist/linkedin-M2PVZYLV.js.map +1 -0
  496. package/dist/list-3OKEMUFD.js +151 -0
  497. package/dist/list-3OKEMUFD.js.map +1 -0
  498. package/dist/list-4MQC23JH.js +63 -0
  499. package/dist/list-4MQC23JH.js.map +1 -0
  500. package/dist/list-7MVBXOJT.js +51 -0
  501. package/dist/list-7MVBXOJT.js.map +1 -0
  502. package/dist/list-A5UCIR2J.js +65 -0
  503. package/dist/list-A5UCIR2J.js.map +1 -0
  504. package/dist/list-AL7N6X2P.js +50 -0
  505. package/dist/list-AL7N6X2P.js.map +1 -0
  506. package/dist/list-LI4OGQFW.js +57 -0
  507. package/dist/list-LI4OGQFW.js.map +1 -0
  508. package/dist/list-P7NAFN6J.js +76 -0
  509. package/dist/list-P7NAFN6J.js.map +1 -0
  510. package/dist/list-QGLIL7J6.js +303 -0
  511. package/dist/list-QGLIL7J6.js.map +1 -0
  512. package/dist/locations-2NKBJKBT.js +67 -0
  513. package/dist/locations-2NKBJKBT.js.map +1 -0
  514. package/dist/locations-S4U6IJIS.js +40 -0
  515. package/dist/locations-S4U6IJIS.js.map +1 -0
  516. package/dist/log-QHR2JNKW.js +92 -0
  517. package/dist/log-QHR2JNKW.js.map +1 -0
  518. package/dist/logo-2IP663QO.js +18 -0
  519. package/dist/lookup-XK45W2SH.js +22 -0
  520. package/dist/make-ANPR2D2L.js +516 -0
  521. package/dist/make-ANPR2D2L.js.map +1 -0
  522. package/dist/map-3BVFAP33.js +404 -0
  523. package/dist/map-3BVFAP33.js.map +1 -0
  524. package/dist/mcp-LH5KR6RO.js +476 -0
  525. package/dist/mcp-LH5KR6RO.js.map +1 -0
  526. package/dist/media-6CQYG4UY.js +89 -0
  527. package/dist/media-6CQYG4UY.js.map +1 -0
  528. package/dist/media-M7E6V2XU.js +15 -0
  529. package/dist/media-sources-3D246I3O.js +32 -0
  530. package/dist/members-4DUQHLZH.js +44 -0
  531. package/dist/members-4DUQHLZH.js.map +1 -0
  532. package/dist/meta-EZ4SY25M.js +69 -0
  533. package/dist/metrics-AY4RP54F.js +152 -0
  534. package/dist/metrics-AY4RP54F.js.map +1 -0
  535. package/dist/models-5NTC7A5G.js +155 -0
  536. package/dist/models-5NTC7A5G.js.map +1 -0
  537. package/dist/normalize-CD4PQRYY.js +138 -0
  538. package/dist/normalize-CD4PQRYY.js.map +1 -0
  539. package/dist/normalize-ICQF2AST.js +806 -0
  540. package/dist/normalize-ICQF2AST.js.map +1 -0
  541. package/dist/options-6TE5E34Z.js +121 -0
  542. package/dist/options-6TE5E34Z.js.map +1 -0
  543. package/dist/output-RAH3TSIL.js +24 -0
  544. package/dist/page-GS3WLT2C.js +105 -0
  545. package/dist/page-GS3WLT2C.js.map +1 -0
  546. package/dist/pages-FXYQLHSJ.js +66 -0
  547. package/dist/pages-FXYQLHSJ.js.map +1 -0
  548. package/dist/performance-7LQQCEAW.js +24 -0
  549. package/dist/pinterest-AUH7WBA7.js +96 -0
  550. package/dist/pinterest-AUH7WBA7.js.map +1 -0
  551. package/dist/pixels-TZPF746S.js +60 -0
  552. package/dist/pixels-TZPF746S.js.map +1 -0
  553. package/dist/pixels-ZFF4BGUH.js +108 -0
  554. package/dist/pixels-ZFF4BGUH.js.map +1 -0
  555. package/dist/preview-AD4GKYIA.js +169 -0
  556. package/dist/preview-AD4GKYIA.js.map +1 -0
  557. package/dist/promoted-tweet-writes-F76YIMB6.js +180 -0
  558. package/dist/promoted-tweet-writes-F76YIMB6.js.map +1 -0
  559. package/dist/promoted-tweets-EJL37P7K.js +119 -0
  560. package/dist/promoted-tweets-EJL37P7K.js.map +1 -0
  561. package/dist/properties-L2XIYQDS.js +101 -0
  562. package/dist/properties-L2XIYQDS.js.map +1 -0
  563. package/dist/publish-H5S2IKZP.js +322 -0
  564. package/dist/publish-H5S2IKZP.js.map +1 -0
  565. package/dist/query-CPZZNMDY.js +1341 -0
  566. package/dist/query-CPZZNMDY.js.map +1 -0
  567. package/dist/query-SGGBCHTF.js +236 -0
  568. package/dist/query-SGGBCHTF.js.map +1 -0
  569. package/dist/query-VTGVZQIO.js +247 -0
  570. package/dist/query-VTGVZQIO.js.map +1 -0
  571. package/dist/read-LSF7DYTG.js +140 -0
  572. package/dist/read-LSF7DYTG.js.map +1 -0
  573. package/dist/reddit-INGPFGP4.js +26 -0
  574. package/dist/refresh-MKSKISPX.js +94 -0
  575. package/dist/refresh-MKSKISPX.js.map +1 -0
  576. package/dist/release-J5LIAIZT.js +60 -0
  577. package/dist/release-J5LIAIZT.js.map +1 -0
  578. package/dist/relevant-pages-MTMFMBPD.js +99 -0
  579. package/dist/relevant-pages-MTMFMBPD.js.map +1 -0
  580. package/dist/remove-6LGGKMLJ.js +48 -0
  581. package/dist/remove-6LGGKMLJ.js.map +1 -0
  582. package/dist/remove-LYEK7VFV.js +50 -0
  583. package/dist/remove-LYEK7VFV.js.map +1 -0
  584. package/dist/reopen-FR4UBOG7.js +63 -0
  585. package/dist/reopen-FR4UBOG7.js.map +1 -0
  586. package/dist/rerun-3FEOYNG2.js +86 -0
  587. package/dist/rerun-3FEOYNG2.js.map +1 -0
  588. package/dist/research-PA53M335.js +59 -0
  589. package/dist/research-RPJSOWPT.js +226 -0
  590. package/dist/research-RPJSOWPT.js.map +1 -0
  591. package/dist/reset-H3ES4WV5.js +54 -0
  592. package/dist/reset-H3ES4WV5.js.map +1 -0
  593. package/dist/reset-RCYRE5WO.js +54 -0
  594. package/dist/reset-RCYRE5WO.js.map +1 -0
  595. package/dist/resolve-QIDQJCE6.js +121 -0
  596. package/dist/resolve-QIDQJCE6.js.map +1 -0
  597. package/dist/retry-PLLCFOJW.js +60 -0
  598. package/dist/retry-PLLCFOJW.js.map +1 -0
  599. package/dist/retry-WLVMR7XP.js +62 -0
  600. package/dist/retry-WLVMR7XP.js.map +1 -0
  601. package/dist/retry-failed-6HXPUVXJ.js +45 -0
  602. package/dist/retry-failed-6HXPUVXJ.js.map +1 -0
  603. package/dist/run-2IM2QOCI.js +61 -0
  604. package/dist/run-4D7ZCLMF.js +65 -0
  605. package/dist/run-4D7ZCLMF.js.map +1 -0
  606. package/dist/scaffold-ad-YYUVL4IP.js +1550 -0
  607. package/dist/scaffold-ad-YYUVL4IP.js.map +1 -0
  608. package/dist/scaffold-static-ad-SUEYXLOR.js +948 -0
  609. package/dist/scaffold-static-ad-SUEYXLOR.js.map +1 -0
  610. package/dist/scaffold-video-IBH2YJZD.js +874 -0
  611. package/dist/scaffold-video-IBH2YJZD.js.map +1 -0
  612. package/dist/schedule-O2K6M43V.js +66 -0
  613. package/dist/schedule-O2K6M43V.js.map +1 -0
  614. package/dist/schedule-RXUUCNNI.js +61 -0
  615. package/dist/schedule-RXUUCNNI.js.map +1 -0
  616. package/dist/scheduled-agents-2NCGSD76.js +49 -0
  617. package/dist/schema-6GR77VJG.js +63 -0
  618. package/dist/schema-6GR77VJG.js.map +1 -0
  619. package/dist/schema-SFODURN7.js +129 -0
  620. package/dist/schema-SFODURN7.js.map +1 -0
  621. package/dist/scrape-ETAMW43A.js +2241 -0
  622. package/dist/scrape-ETAMW43A.js.map +1 -0
  623. package/dist/screenshot-YCQF25ZB.js +102 -0
  624. package/dist/screenshot-YCQF25ZB.js.map +1 -0
  625. package/dist/search-742XSULP.js +224 -0
  626. package/dist/search-742XSULP.js.map +1 -0
  627. package/dist/search-7QVZOWSI.js +174 -0
  628. package/dist/search-7QVZOWSI.js.map +1 -0
  629. package/dist/search-MEEM4D3W.js +92 -0
  630. package/dist/search-MEEM4D3W.js.map +1 -0
  631. package/dist/search-OQNGSMUH.js +91 -0
  632. package/dist/search-OQNGSMUH.js.map +1 -0
  633. package/dist/search-XUIVHGAY.js +26 -0
  634. package/dist/seeds-N6FF5S4T.js +101 -0
  635. package/dist/seeds-N6FF5S4T.js.map +1 -0
  636. package/dist/select-ZWDEVAH2.js +95 -0
  637. package/dist/sends-WGJVQUMF.js +309 -0
  638. package/dist/sends-WGJVQUMF.js.map +1 -0
  639. package/dist/sequences-OIPVR7JL.js +146 -0
  640. package/dist/sequences-OIPVR7JL.js.map +1 -0
  641. package/dist/set-prompt-SBEOQGCF.js +187 -0
  642. package/dist/set-prompt-SBEOQGCF.js.map +1 -0
  643. package/dist/setup-links-XW4A6L2I.js +141 -0
  644. package/dist/setup-links-XW4A6L2I.js.map +1 -0
  645. package/dist/shared-HJDFNID4.js +31 -0
  646. package/dist/site-6UTQSYIK.js +177 -0
  647. package/dist/site-6UTQSYIK.js.map +1 -0
  648. package/dist/sitemaps-POPZJTAX.js +87 -0
  649. package/dist/sitemaps-POPZJTAX.js.map +1 -0
  650. package/dist/sites-262H6LM4.js +101 -0
  651. package/dist/sites-262H6LM4.js.map +1 -0
  652. package/dist/skills-6TQZLIMP.js +47 -0
  653. package/dist/skills-6TQZLIMP.js.map +1 -0
  654. package/dist/sources-QQNWQLUM.js +421 -0
  655. package/dist/sources-QQNWQLUM.js.map +1 -0
  656. package/dist/sources-UGMZFZ2E.js +30 -0
  657. package/dist/stale-QRO3M5R2.js +64 -0
  658. package/dist/stale-QRO3M5R2.js.map +1 -0
  659. package/dist/stats-NNXZMPZR.js +34 -0
  660. package/dist/status-NXGKJGH7.js +62 -0
  661. package/dist/status-NXGKJGH7.js.map +1 -0
  662. package/dist/sticker-4KMBSMP5.js +94 -0
  663. package/dist/sticker-4KMBSMP5.js.map +1 -0
  664. package/dist/stock-2YCDN3N6.js +179 -0
  665. package/dist/stock-2YCDN3N6.js.map +1 -0
  666. package/dist/studio-HUEBE6DS.js +49 -0
  667. package/dist/sync-CF7FVUQJ.js +54 -0
  668. package/dist/sync-CF7FVUQJ.js.map +1 -0
  669. package/dist/sync-RXS6BPLM.js +54 -0
  670. package/dist/sync-RXS6BPLM.js.map +1 -0
  671. package/dist/sync-ZSNUBYPM.js +265 -0
  672. package/dist/sync-ZSNUBYPM.js.map +1 -0
  673. package/dist/sync-definition-YBDM7D4M.js +54 -0
  674. package/dist/tag-manager-HREEYGVM.js +43 -0
  675. package/dist/tags-C65JB762.js +224 -0
  676. package/dist/tags-C65JB762.js.map +1 -0
  677. package/dist/tags-CMBKEXIZ.js +20 -0
  678. package/dist/tags-CMBKEXIZ.js.map +1 -0
  679. package/dist/tags-GFFQLLG2.js +20 -0
  680. package/dist/tags-GFFQLLG2.js.map +1 -0
  681. package/dist/tags-IJN2SPSM.js +20 -0
  682. package/dist/tags-IJN2SPSM.js.map +1 -0
  683. package/dist/tags-R3K35KTL.js +26 -0
  684. package/dist/targeting-constants-XJ2VOW7K.js +118 -0
  685. package/dist/targeting-constants-XJ2VOW7K.js.map +1 -0
  686. package/dist/targeting-criteria-IHBPLHSX.js +113 -0
  687. package/dist/targeting-criteria-IHBPLHSX.js.map +1 -0
  688. package/dist/targets-JH37NVJF.js +102 -0
  689. package/dist/targets-JH37NVJF.js.map +1 -0
  690. package/dist/templates-HXSHQ23T.js +178 -0
  691. package/dist/templates-HXSHQ23T.js.map +1 -0
  692. package/dist/testimonials-5QGCPZ6K.js +32 -0
  693. package/dist/top-companies-FJEFKVI7.js +108 -0
  694. package/dist/top-companies-FJEFKVI7.js.map +1 -0
  695. package/dist/translate-H7O5K3RC.js +457 -0
  696. package/dist/translate-H7O5K3RC.js.map +1 -0
  697. package/dist/triggers-SEOAAJSS.js +141 -0
  698. package/dist/triggers-SEOAAJSS.js.map +1 -0
  699. package/dist/tweets-ATP3FQAC.js +123 -0
  700. package/dist/tweets-ATP3FQAC.js.map +1 -0
  701. package/dist/unfollow-CBVPGPF7.js +46 -0
  702. package/dist/unfollow-CBVPGPF7.js.map +1 -0
  703. package/dist/unlink-UZDVSHBO.js +67 -0
  704. package/dist/unlink-UZDVSHBO.js.map +1 -0
  705. package/dist/unstage-4ZEULXEQ.js +95 -0
  706. package/dist/unstage-4ZEULXEQ.js.map +1 -0
  707. package/dist/unstage-CE5RRGM5.js +84 -0
  708. package/dist/unstage-CE5RRGM5.js.map +1 -0
  709. package/dist/update-DGZKEP6T.js +63 -0
  710. package/dist/update-DGZKEP6T.js.map +1 -0
  711. package/dist/update-JOS4ITAV.js +142 -0
  712. package/dist/update-JOS4ITAV.js.map +1 -0
  713. package/dist/update-JZ4I6WW7.js +98 -0
  714. package/dist/update-JZ4I6WW7.js.map +1 -0
  715. package/dist/update-ZXOG2V34.js +155 -0
  716. package/dist/update-ZXOG2V34.js.map +1 -0
  717. package/dist/upload-L5SYZB3X.js +150 -0
  718. package/dist/upload-L5SYZB3X.js.map +1 -0
  719. package/dist/upload-SSOPA7ZT.js +126 -0
  720. package/dist/upload-SSOPA7ZT.js.map +1 -0
  721. package/dist/upscale-YWRLFU22.js +109 -0
  722. package/dist/upscale-YWRLFU22.js.map +1 -0
  723. package/dist/url-options-QEWKRKZ3.js +127 -0
  724. package/dist/url-options-QEWKRKZ3.js.map +1 -0
  725. package/dist/url-params-OR5N5EWT.js +98 -0
  726. package/dist/url-params-OR5N5EWT.js.map +1 -0
  727. package/dist/use-UT2DIZOG.js +95 -0
  728. package/dist/use-UT2DIZOG.js.map +1 -0
  729. package/dist/validate-2PLHIP6I.js +90 -0
  730. package/dist/validate-2PLHIP6I.js.map +1 -0
  731. package/dist/variant-FLZJYGYL.js +338 -0
  732. package/dist/variant-FLZJYGYL.js.map +1 -0
  733. package/dist/videos-GIYDCCKR.js +39 -0
  734. package/dist/view-NPAG66QK.js +121 -0
  735. package/dist/view-NPAG66QK.js.map +1 -0
  736. package/dist/viewer-check-VN2JK2LW.js +70 -0
  737. package/dist/web-WUGLSULO.js +135 -0
  738. package/dist/web-WUGLSULO.js.map +1 -0
  739. package/dist/winners-I5BMATJZ.js +79 -0
  740. package/dist/winners-I5BMATJZ.js.map +1 -0
  741. package/dist/winning-ads-7QWEIMRU.js +62 -0
  742. package/dist/write-commands-ERKVRHTC.js +206 -0
  743. package/dist/write-commands-ERKVRHTC.js.map +1 -0
  744. package/dist/write-commands-SVJ43D7G.js +1015 -0
  745. package/dist/write-commands-SVJ43D7G.js.map +1 -0
  746. package/dist/write-commands-TAYGTJEZ.js +737 -0
  747. package/dist/write-commands-TAYGTJEZ.js.map +1 -0
  748. package/dist/write-commands-WTRSOSO3.js +713 -0
  749. package/dist/write-commands-WTRSOSO3.js.map +1 -0
  750. package/dist/x-OEAKQBB7.js +47 -0
  751. package/package.json +1 -1
  752. package/dist/account-5GT2BEST.js +0 -80
  753. package/dist/account-5GT2BEST.js.map +0 -1
  754. package/dist/account-S2RDGMMM.js +0 -81
  755. package/dist/account-S2RDGMMM.js.map +0 -1
  756. package/dist/account-YLZAL6W7.js +0 -50
  757. package/dist/account-YLZAL6W7.js.map +0 -1
  758. package/dist/account-writes-VBY7FJ7C.js +0 -67
  759. package/dist/account-writes-VBY7FJ7C.js.map +0 -1
  760. package/dist/accounts-4IIHAQGS.js +0 -116
  761. package/dist/accounts-4IIHAQGS.js.map +0 -1
  762. package/dist/accounts-E7TRNPFA.js +0 -115
  763. package/dist/accounts-E7TRNPFA.js.map +0 -1
  764. package/dist/accounts-GFJOGX7J.js +0 -613
  765. package/dist/accounts-GFJOGX7J.js.map +0 -1
  766. package/dist/accounts-INB4Z4LZ.js +0 -76
  767. package/dist/accounts-INB4Z4LZ.js.map +0 -1
  768. package/dist/accounts-NLL4QWKY.js +0 -78
  769. package/dist/accounts-NLL4QWKY.js.map +0 -1
  770. package/dist/actions-7XF5L4U3.js +0 -55
  771. package/dist/active-entities-IGQG5EZO.js +0 -104
  772. package/dist/active-entities-IGQG5EZO.js.map +0 -1
  773. package/dist/activities-MH4C4IVV.js +0 -75
  774. package/dist/activities-MH4C4IVV.js.map +0 -1
  775. package/dist/ad-group-writes-B64OBHQ4.js +0 -171
  776. package/dist/ad-group-writes-B64OBHQ4.js.map +0 -1
  777. package/dist/ad-groups-APCFB6SI.js +0 -69
  778. package/dist/ad-groups-APCFB6SI.js.map +0 -1
  779. package/dist/ad-writes-A7P772KD.js +0 -175
  780. package/dist/ad-writes-A7P772KD.js.map +0 -1
  781. package/dist/add-33WQDKGF.js +0 -106
  782. package/dist/add-33WQDKGF.js.map +0 -1
  783. package/dist/add-65OIGMD7.js +0 -99
  784. package/dist/add-65OIGMD7.js.map +0 -1
  785. package/dist/add-EW276CKL.js +0 -282
  786. package/dist/add-EW276CKL.js.map +0 -1
  787. package/dist/add-EXKVB5KR.js +0 -107
  788. package/dist/add-EXKVB5KR.js.map +0 -1
  789. package/dist/ads-A2HP6UVG.js +0 -114
  790. package/dist/ads-A2HP6UVG.js.map +0 -1
  791. package/dist/ads-H6NPLMNX.js +0 -78
  792. package/dist/ads-H6NPLMNX.js.map +0 -1
  793. package/dist/ads-IRE5RZCS.js +0 -40
  794. package/dist/adsets-UZJTGQQM.js +0 -153
  795. package/dist/adsets-UZJTGQQM.js.map +0 -1
  796. package/dist/advertisers-CFS2JAYJ.js +0 -113
  797. package/dist/advertisers-CFS2JAYJ.js.map +0 -1
  798. package/dist/advertisers-WQBPBK4D.js +0 -117
  799. package/dist/advertisers-WQBPBK4D.js.map +0 -1
  800. package/dist/analytics-L46XME7Y.js +0 -434
  801. package/dist/analytics-L46XME7Y.js.map +0 -1
  802. package/dist/analytics-UT7FQ6XA.js +0 -1959
  803. package/dist/analytics-UT7FQ6XA.js.map +0 -1
  804. package/dist/animate-S6ZU3723.js +0 -482
  805. package/dist/animate-S6ZU3723.js.map +0 -1
  806. package/dist/assign-XHHVXXOL.js +0 -79
  807. package/dist/assign-XHHVXXOL.js.map +0 -1
  808. package/dist/audience-size-6FR7WFVU.js +0 -95
  809. package/dist/audience-size-6FR7WFVU.js.map +0 -1
  810. package/dist/audiences-BN2LT7E6.js +0 -86
  811. package/dist/audiences-BN2LT7E6.js.map +0 -1
  812. package/dist/audiences-HQS6V7EV.js +0 -269
  813. package/dist/audiences-HQS6V7EV.js.map +0 -1
  814. package/dist/audiences-JVEXHN67.js +0 -79
  815. package/dist/audiences-JVEXHN67.js.map +0 -1
  816. package/dist/audit-7UDFEGZV.js +0 -152
  817. package/dist/audit-7UDFEGZV.js.map +0 -1
  818. package/dist/audit-YTRTNTAK.js +0 -89
  819. package/dist/audit-YTRTNTAK.js.map +0 -1
  820. package/dist/autocomplete-LAZ6FFG6.js +0 -108
  821. package/dist/autocomplete-LAZ6FFG6.js.map +0 -1
  822. package/dist/avatars-G54K55J3.js +0 -38
  823. package/dist/bid-pricing-EQKORHAA.js +0 -100
  824. package/dist/bid-pricing-EQKORHAA.js.map +0 -1
  825. package/dist/brand-ODTHWWFL.js +0 -22
  826. package/dist/brief-EA4DWOJW.js +0 -479
  827. package/dist/brief-EA4DWOJW.js.map +0 -1
  828. package/dist/businesses-QHNI7MSK.js +0 -54
  829. package/dist/businesses-QHNI7MSK.js.map +0 -1
  830. package/dist/campaign-groups-EJEGKHQD.js +0 -96
  831. package/dist/campaign-groups-EJEGKHQD.js.map +0 -1
  832. package/dist/campaign-writes-DZE43ZOC.js +0 -166
  833. package/dist/campaign-writes-DZE43ZOC.js.map +0 -1
  834. package/dist/campaign-writes-OX62FCEH.js +0 -171
  835. package/dist/campaign-writes-OX62FCEH.js.map +0 -1
  836. package/dist/campaigns-APRWHCGF.js +0 -111
  837. package/dist/campaigns-APRWHCGF.js.map +0 -1
  838. package/dist/campaigns-D2LYKUO2.js +0 -108
  839. package/dist/campaigns-D2LYKUO2.js.map +0 -1
  840. package/dist/campaigns-E3H4POUU.js +0 -77
  841. package/dist/campaigns-E3H4POUU.js.map +0 -1
  842. package/dist/campaigns-OPLRDMJW.js +0 -110
  843. package/dist/campaigns-OPLRDMJW.js.map +0 -1
  844. package/dist/canvas-M5HAG7VA.js +0 -46
  845. package/dist/capabilities-4Q4CMVIE.js +0 -146
  846. package/dist/capabilities-4Q4CMVIE.js.map +0 -1
  847. package/dist/cards-L37M7Q3L.js +0 -86
  848. package/dist/cards-L37M7Q3L.js.map +0 -1
  849. package/dist/catalog-HOWAUW2V.js +0 -67
  850. package/dist/catalog-HOWAUW2V.js.map +0 -1
  851. package/dist/catalogs-XBIQ4PNK.js +0 -129
  852. package/dist/catalogs-XBIQ4PNK.js.map +0 -1
  853. package/dist/changes-HCOPS4FF.js +0 -136
  854. package/dist/changes-HCOPS4FF.js.map +0 -1
  855. package/dist/chatgpt-PLKNBNVL.js +0 -47
  856. package/dist/chats-HELZHJO4.js +0 -264
  857. package/dist/chats-HELZHJO4.js.map +0 -1
  858. package/dist/chunk-3KQ5R3H7.js +0 -45
  859. package/dist/chunk-3KQ5R3H7.js.map +0 -1
  860. package/dist/chunk-4MU3U3SO.js +0 -103
  861. package/dist/chunk-4VKV3DNC.js +0 -23992
  862. package/dist/chunk-4VKV3DNC.js.map +0 -1
  863. package/dist/chunk-5HH4RGC4.js +0 -136
  864. package/dist/chunk-5HH4RGC4.js.map +0 -1
  865. package/dist/chunk-5NQIFCNX.js +0 -141
  866. package/dist/chunk-6CCDQO2F.js +0 -225
  867. package/dist/chunk-6CCDQO2F.js.map +0 -1
  868. package/dist/chunk-6FBZ5E6L.js +0 -96
  869. package/dist/chunk-6YWRJMGR.js +0 -309
  870. package/dist/chunk-73MCYA5Z.js +0 -310
  871. package/dist/chunk-7DQAVVUA.js +0 -130
  872. package/dist/chunk-7DQAVVUA.js.map +0 -1
  873. package/dist/chunk-A3PEJ3V3.js +0 -95
  874. package/dist/chunk-A57AHUNA.js +0 -28
  875. package/dist/chunk-ABELDLY3.js +0 -594
  876. package/dist/chunk-ABELDLY3.js.map +0 -1
  877. package/dist/chunk-AWICKT2B.js +0 -25
  878. package/dist/chunk-AYC2WM4P.js +0 -106
  879. package/dist/chunk-AYC2WM4P.js.map +0 -1
  880. package/dist/chunk-BDD2ILIT.js +0 -56
  881. package/dist/chunk-BSFTG66P.js +0 -2743
  882. package/dist/chunk-BSFTG66P.js.map +0 -1
  883. package/dist/chunk-BSUN6JMU.js +0 -215
  884. package/dist/chunk-CBEL3P22.js +0 -57
  885. package/dist/chunk-CSADPKPC.js +0 -161
  886. package/dist/chunk-CSADPKPC.js.map +0 -1
  887. package/dist/chunk-DPEQVHTX.js +0 -26
  888. package/dist/chunk-DQLBKU7G.js +0 -469
  889. package/dist/chunk-DQLBKU7G.js.map +0 -1
  890. package/dist/chunk-ECXNE6RJ.js +0 -622
  891. package/dist/chunk-EDFVATFW.js +0 -211
  892. package/dist/chunk-EDFVATFW.js.map +0 -1
  893. package/dist/chunk-EPK2GYLV.js +0 -214
  894. package/dist/chunk-EYO62URT.js +0 -172
  895. package/dist/chunk-F3WFP75M.js +0 -94
  896. package/dist/chunk-F6NJAHAZ.js +0 -19
  897. package/dist/chunk-F7HBCFUA.js +0 -188
  898. package/dist/chunk-FCTWXNRC.js +0 -365
  899. package/dist/chunk-FCTWXNRC.js.map +0 -1
  900. package/dist/chunk-FFZBW4CC.js +0 -297
  901. package/dist/chunk-FR345TDN.js +0 -577
  902. package/dist/chunk-FR345TDN.js.map +0 -1
  903. package/dist/chunk-FRVROFI6.js +0 -98
  904. package/dist/chunk-G32FXVQ6.js +0 -31
  905. package/dist/chunk-HA5D6US2.js +0 -26
  906. package/dist/chunk-HWWPDUZM.js +0 -217
  907. package/dist/chunk-IEULFYA2.js +0 -174
  908. package/dist/chunk-IEULFYA2.js.map +0 -1
  909. package/dist/chunk-IMZIECST.js +0 -830
  910. package/dist/chunk-IPF4P6ZQ.js +0 -392
  911. package/dist/chunk-IPF4P6ZQ.js.map +0 -1
  912. package/dist/chunk-IRHNWYDT.js +0 -106
  913. package/dist/chunk-JH7NHC5W.js +0 -169
  914. package/dist/chunk-JIHG6K7N.js +0 -30
  915. package/dist/chunk-JIHG6K7N.js.map +0 -1
  916. package/dist/chunk-JKDITP62.js +0 -1380
  917. package/dist/chunk-JKDITP62.js.map +0 -1
  918. package/dist/chunk-JMXBUIVI.js +0 -84
  919. package/dist/chunk-KHCN2QXV.js +0 -346
  920. package/dist/chunk-KHCN2QXV.js.map +0 -1
  921. package/dist/chunk-KY4MPR6R.js +0 -3155
  922. package/dist/chunk-KY4MPR6R.js.map +0 -1
  923. package/dist/chunk-L4DOL7L7.js +0 -125
  924. package/dist/chunk-L6PDFIND.js +0 -496
  925. package/dist/chunk-L6PDFIND.js.map +0 -1
  926. package/dist/chunk-L7HPNEKW.js +0 -304
  927. package/dist/chunk-L7HPNEKW.js.map +0 -1
  928. package/dist/chunk-LB3VYIS2.js +0 -141
  929. package/dist/chunk-LB3VYIS2.js.map +0 -1
  930. package/dist/chunk-LDVMMLRA.js +0 -106
  931. package/dist/chunk-LQ4HBQ2B.js +0 -433
  932. package/dist/chunk-LXUEWTHJ.js +0 -788
  933. package/dist/chunk-LXUEWTHJ.js.map +0 -1
  934. package/dist/chunk-LYZVLKRA.js +0 -175
  935. package/dist/chunk-MBKCUSMR.js +0 -6078
  936. package/dist/chunk-MBKCUSMR.js.map +0 -1
  937. package/dist/chunk-MPI3SWIT.js +0 -536
  938. package/dist/chunk-MPI3SWIT.js.map +0 -1
  939. package/dist/chunk-MXPFUDFR.js +0 -1024
  940. package/dist/chunk-MXPFUDFR.js.map +0 -1
  941. package/dist/chunk-N5SQSMMR.js +0 -229
  942. package/dist/chunk-N5SQSMMR.js.map +0 -1
  943. package/dist/chunk-NEONVKMJ.js +0 -455
  944. package/dist/chunk-NEONVKMJ.js.map +0 -1
  945. package/dist/chunk-NFSV3CDO.js +0 -6198
  946. package/dist/chunk-NFSV3CDO.js.map +0 -1
  947. package/dist/chunk-NGT6MARJ.js +0 -274
  948. package/dist/chunk-NGYKF4T6.js +0 -20
  949. package/dist/chunk-NMMKTPGI.js +0 -136
  950. package/dist/chunk-O4AXPEOE.js +0 -923
  951. package/dist/chunk-O4AXPEOE.js.map +0 -1
  952. package/dist/chunk-OPEMWO6C.js +0 -5096
  953. package/dist/chunk-OPEMWO6C.js.map +0 -1
  954. package/dist/chunk-OZLBLXTK.js +0 -74
  955. package/dist/chunk-PB4LQHL2.js +0 -4341
  956. package/dist/chunk-PB4LQHL2.js.map +0 -1
  957. package/dist/chunk-PDJZMQ7F.js +0 -316
  958. package/dist/chunk-PDJZMQ7F.js.map +0 -1
  959. package/dist/chunk-PNHDM76R.js +0 -74
  960. package/dist/chunk-PNHDM76R.js.map +0 -1
  961. package/dist/chunk-Q7UF4ERB.js +0 -74
  962. package/dist/chunk-QRXTDXMX.js +0 -129
  963. package/dist/chunk-QRXTDXMX.js.map +0 -1
  964. package/dist/chunk-QTERC4PG.js +0 -1700
  965. package/dist/chunk-QTERC4PG.js.map +0 -1
  966. package/dist/chunk-QYOPQRLI.js +0 -296
  967. package/dist/chunk-R34LJSPM.js +0 -42
  968. package/dist/chunk-R4ODZS43.js +0 -492
  969. package/dist/chunk-R4ODZS43.js.map +0 -1
  970. package/dist/chunk-RJAQEZVD.js +0 -23
  971. package/dist/chunk-RPFBZHHE.js +0 -55
  972. package/dist/chunk-SXRSLUW7.js +0 -454
  973. package/dist/chunk-T5RKIWPQ.js +0 -352
  974. package/dist/chunk-T5RKIWPQ.js.map +0 -1
  975. package/dist/chunk-TCSPJQ2X.js +0 -136
  976. package/dist/chunk-TD44SXQX.js +0 -58
  977. package/dist/chunk-TQAXOBKJ.js +0 -364
  978. package/dist/chunk-TQAXOBKJ.js.map +0 -1
  979. package/dist/chunk-TTFTS2SO.js +0 -131
  980. package/dist/chunk-UA5EUJXV.js +0 -51
  981. package/dist/chunk-W7OFLOZB.js +0 -46
  982. package/dist/chunk-WAQYXH2U.js +0 -76
  983. package/dist/chunk-WWD4PITU.js +0 -333
  984. package/dist/chunk-WZ5YRUQU.js +0 -12
  985. package/dist/chunk-WZ5YRUQU.js.map +0 -1
  986. package/dist/chunk-XEVVAGAG.js +0 -422
  987. package/dist/chunk-XEVVAGAG.js.map +0 -1
  988. package/dist/chunk-Y4JR4RDM.js +0 -74
  989. package/dist/chunk-YMOVI3WT.js +0 -382
  990. package/dist/chunk-YS6PCTPS.js +0 -96
  991. package/dist/chunk-YUP46PWY.js +0 -199
  992. package/dist/chunk-YUP46PWY.js.map +0 -1
  993. package/dist/chunk-Z4NYXXTP.js +0 -42
  994. package/dist/chunk-Z4NYXXTP.js.map +0 -1
  995. package/dist/chunk-Z5AUNK6P.js +0 -1709
  996. package/dist/chunk-Z5AUNK6P.js.map +0 -1
  997. package/dist/chunk-ZAFR46HG.js +0 -67
  998. package/dist/chunk-ZHW3O25C.js +0 -191
  999. package/dist/claim-CG2IMTHK.js +0 -199
  1000. package/dist/claim-CG2IMTHK.js.map +0 -1
  1001. package/dist/client-XKDFFS7O.js +0 -20
  1002. package/dist/code-JWIOO2AJ.js +0 -78
  1003. package/dist/code-JWIOO2AJ.js.map +0 -1
  1004. package/dist/companies-LQN4HUUH.js +0 -196
  1005. package/dist/companies-LQN4HUUH.js.map +0 -1
  1006. package/dist/complete-MKB27QP7.js +0 -82
  1007. package/dist/complete-MKB27QP7.js.map +0 -1
  1008. package/dist/config-LJOEAYFZ.js +0 -89
  1009. package/dist/config-LJOEAYFZ.js.map +0 -1
  1010. package/dist/connect-ATGYJNG4.js +0 -37
  1011. package/dist/content-Y2BJSXG6.js +0 -83
  1012. package/dist/content-Y2BJSXG6.js.map +0 -1
  1013. package/dist/conversation-EFNQM435.js +0 -94
  1014. package/dist/conversation-EFNQM435.js.map +0 -1
  1015. package/dist/conversion-report-EUSTSHPV.js +0 -126
  1016. package/dist/conversion-report-EUSTSHPV.js.map +0 -1
  1017. package/dist/conversion-upload-command-677OT5NZ.js +0 -432
  1018. package/dist/conversion-upload-command-677OT5NZ.js.map +0 -1
  1019. package/dist/conversion-writes-E7M6VHGB.js +0 -121
  1020. package/dist/conversion-writes-E7M6VHGB.js.map +0 -1
  1021. package/dist/conversions-BXZLEXHU.js +0 -136
  1022. package/dist/conversions-BXZLEXHU.js.map +0 -1
  1023. package/dist/conversions-FERAOXWG.js +0 -77
  1024. package/dist/conversions-FERAOXWG.js.map +0 -1
  1025. package/dist/countries-TKPX2GDH.js +0 -83
  1026. package/dist/countries-TKPX2GDH.js.map +0 -1
  1027. package/dist/create-HGMIWFVX.js +0 -132
  1028. package/dist/create-HGMIWFVX.js.map +0 -1
  1029. package/dist/create-LBJV3NPD.js +0 -209
  1030. package/dist/create-LBJV3NPD.js.map +0 -1
  1031. package/dist/create-QTPZ7PP7.js +0 -117
  1032. package/dist/create-QTPZ7PP7.js.map +0 -1
  1033. package/dist/create-SBIHEG25.js +0 -60
  1034. package/dist/create-SBIHEG25.js.map +0 -1
  1035. package/dist/creatives-CIOOFE3T.js +0 -88
  1036. package/dist/creatives-CIOOFE3T.js.map +0 -1
  1037. package/dist/creatives-MIUJAK4E.js +0 -49
  1038. package/dist/creatives-MIUJAK4E.js.map +0 -1
  1039. package/dist/creatives-QXR7QDXM.js +0 -183
  1040. package/dist/creatives-QXR7QDXM.js.map +0 -1
  1041. package/dist/credentials-CMVAKAUL.js +0 -1057
  1042. package/dist/credentials-CMVAKAUL.js.map +0 -1
  1043. package/dist/critique-LUB35ORK.js +0 -213
  1044. package/dist/critique-LUB35ORK.js.map +0 -1
  1045. package/dist/critique-XXCM7YAV.js +0 -1477
  1046. package/dist/critique-XXCM7YAV.js.map +0 -1
  1047. package/dist/crm-EGNVKQHB.js +0 -279
  1048. package/dist/crm-EGNVKQHB.js.map +0 -1
  1049. package/dist/crm-I6IQ5M55.js +0 -226
  1050. package/dist/crm-I6IQ5M55.js.map +0 -1
  1051. package/dist/crop-ES2IDPUL.js +0 -115
  1052. package/dist/crop-ES2IDPUL.js.map +0 -1
  1053. package/dist/currency-VFKYXFBM.js +0 -89
  1054. package/dist/currency-VFKYXFBM.js.map +0 -1
  1055. package/dist/custom-conversions-WPTEXOWR.js +0 -126
  1056. package/dist/custom-conversions-WPTEXOWR.js.map +0 -1
  1057. package/dist/customers-ACRYXALZ.js +0 -58
  1058. package/dist/delete-3AHBFPQJ.js +0 -68
  1059. package/dist/delete-3AHBFPQJ.js.map +0 -1
  1060. package/dist/delete-E7WYQN2L.js +0 -73
  1061. package/dist/delete-E7WYQN2L.js.map +0 -1
  1062. package/dist/delete-EJCB5MHV.js +0 -71
  1063. package/dist/delete-EJCB5MHV.js.map +0 -1
  1064. package/dist/delete-J677F4BG.js +0 -64
  1065. package/dist/delete-J677F4BG.js.map +0 -1
  1066. package/dist/delete-LVQ7R6DI.js +0 -73
  1067. package/dist/delete-LVQ7R6DI.js.map +0 -1
  1068. package/dist/delete-U4K6NIOE.js +0 -55
  1069. package/dist/delete-U4K6NIOE.js.map +0 -1
  1070. package/dist/demographics-RY6R6VWA.js +0 -139
  1071. package/dist/demographics-RY6R6VWA.js.map +0 -1
  1072. package/dist/describe-N36XDO4P.js +0 -99
  1073. package/dist/describe-N36XDO4P.js.map +0 -1
  1074. package/dist/describe-Q5OAJDYH.js +0 -99
  1075. package/dist/describe-Q5OAJDYH.js.map +0 -1
  1076. package/dist/dimensions-YIWQVFTO.js +0 -103
  1077. package/dist/dimensions-YIWQVFTO.js.map +0 -1
  1078. package/dist/discard-UO4DJNP3.js +0 -67
  1079. package/dist/discard-UO4DJNP3.js.map +0 -1
  1080. package/dist/discover-IASOLBUQ.js +0 -173
  1081. package/dist/discover-IASOLBUQ.js.map +0 -1
  1082. package/dist/domain-QBF4TBGL.js +0 -100
  1083. package/dist/domain-QBF4TBGL.js.map +0 -1
  1084. package/dist/download-DKFYGXEH.js +0 -301
  1085. package/dist/download-DKFYGXEH.js.map +0 -1
  1086. package/dist/draft-5ZZOTJZR.js +0 -282
  1087. package/dist/draft-5ZZOTJZR.js.map +0 -1
  1088. package/dist/draft-DKMUTG4F.js +0 -104
  1089. package/dist/draft-DKMUTG4F.js.map +0 -1
  1090. package/dist/draft-FMOQUVPP.js +0 -219
  1091. package/dist/draft-FMOQUVPP.js.map +0 -1
  1092. package/dist/draft-KFXJCKCH.js +0 -234
  1093. package/dist/draft-KFXJCKCH.js.map +0 -1
  1094. package/dist/draft-KJ6SH67P.js +0 -101
  1095. package/dist/draft-KJ6SH67P.js.map +0 -1
  1096. package/dist/draft-QW7EYFFU.js +0 -329
  1097. package/dist/draft-QW7EYFFU.js.map +0 -1
  1098. package/dist/draft-URMXE4U4.js +0 -101
  1099. package/dist/draft-URMXE4U4.js.map +0 -1
  1100. package/dist/draft-ZU7MZLIT.js +0 -300
  1101. package/dist/draft-ZU7MZLIT.js.map +0 -1
  1102. package/dist/env-ODWJOKNV.js +0 -44
  1103. package/dist/experiment-TUKKH6UJ.js +0 -1378
  1104. package/dist/experiment-TUKKH6UJ.js.map +0 -1
  1105. package/dist/export-WXFUVX6F.js +0 -170
  1106. package/dist/export-WXFUVX6F.js.map +0 -1
  1107. package/dist/extract-PY3J3WVF.js +0 -115
  1108. package/dist/extract-PY3J3WVF.js.map +0 -1
  1109. package/dist/facets-NUEIHCKA.js +0 -115
  1110. package/dist/facets-NUEIHCKA.js.map +0 -1
  1111. package/dist/favorites-JDFIYSV2.js +0 -180
  1112. package/dist/favorites-JDFIYSV2.js.map +0 -1
  1113. package/dist/feed-CYFNDBJS.js +0 -159
  1114. package/dist/feed-CYFNDBJS.js.map +0 -1
  1115. package/dist/feedback-E2P3NB7H.js +0 -68
  1116. package/dist/feedback-E2P3NB7H.js.map +0 -1
  1117. package/dist/feedback-record-IMCTEDOX.js +0 -137
  1118. package/dist/feedback-record-IMCTEDOX.js.map +0 -1
  1119. package/dist/fetch-ELSDT3NZ.js +0 -141
  1120. package/dist/fetch-ELSDT3NZ.js.map +0 -1
  1121. package/dist/fetch-NM7MD3CN.js +0 -172
  1122. package/dist/fetch-NM7MD3CN.js.map +0 -1
  1123. package/dist/find-HYMLZCKA.js +0 -136
  1124. package/dist/find-HYMLZCKA.js.map +0 -1
  1125. package/dist/fit-5WZ6NVSF.js +0 -44
  1126. package/dist/flows-ZEUUIXCS.js +0 -246
  1127. package/dist/flows-ZEUUIXCS.js.map +0 -1
  1128. package/dist/follow-RGJ76HHD.js +0 -84
  1129. package/dist/follow-RGJ76HHD.js.map +0 -1
  1130. package/dist/follow-competitors-JMNOP2ZT.js +0 -133
  1131. package/dist/follow-competitors-JMNOP2ZT.js.map +0 -1
  1132. package/dist/following-5GINRDTL.js +0 -111
  1133. package/dist/following-5GINRDTL.js.map +0 -1
  1134. package/dist/fonts-7U7I2TWV.js +0 -27
  1135. package/dist/forecast-PGDYFFKQ.js +0 -105
  1136. package/dist/forecast-PGDYFFKQ.js.map +0 -1
  1137. package/dist/funding-ED6PDKJF.js +0 -86
  1138. package/dist/funding-ED6PDKJF.js.map +0 -1
  1139. package/dist/funnel-IML4F5ZP.js +0 -838
  1140. package/dist/funnel-IML4F5ZP.js.map +0 -1
  1141. package/dist/ga4-QPEXE6YG.js +0 -55
  1142. package/dist/generate-VVTQCJRI.js +0 -264
  1143. package/dist/generate-VVTQCJRI.js.map +0 -1
  1144. package/dist/get-CZSESEHU.js +0 -61
  1145. package/dist/get-CZSESEHU.js.map +0 -1
  1146. package/dist/get-DEGOS3R6.js +0 -63
  1147. package/dist/get-DEGOS3R6.js.map +0 -1
  1148. package/dist/get-L3ZGUJJB.js +0 -65
  1149. package/dist/get-L3ZGUJJB.js.map +0 -1
  1150. package/dist/get-NX5DGSRP.js +0 -65
  1151. package/dist/get-NX5DGSRP.js.map +0 -1
  1152. package/dist/get-TL6UET23.js +0 -56
  1153. package/dist/get-TL6UET23.js.map +0 -1
  1154. package/dist/get-UNZMYRB6.js +0 -80
  1155. package/dist/get-UNZMYRB6.js.map +0 -1
  1156. package/dist/get-ZVRRZDUU.js +0 -94
  1157. package/dist/get-ZVRRZDUU.js.map +0 -1
  1158. package/dist/gif-MNBSPA64.js +0 -96
  1159. package/dist/gif-MNBSPA64.js.map +0 -1
  1160. package/dist/google-C2Z4XWRL.js +0 -1866
  1161. package/dist/google-C2Z4XWRL.js.map +0 -1
  1162. package/dist/google-LJSSLBP3.js +0 -138
  1163. package/dist/google-LJSSLBP3.js.map +0 -1
  1164. package/dist/group-7BGYA6LK.js +0 -44
  1165. package/dist/group-7BGYA6LK.js.map +0 -1
  1166. package/dist/group-MPYAKBH5.js +0 -44
  1167. package/dist/group-MPYAKBH5.js.map +0 -1
  1168. package/dist/gsc-LC5ADBA3.js +0 -30
  1169. package/dist/history-GPQE2ZYR.js +0 -68
  1170. package/dist/history-GPQE2ZYR.js.map +0 -1
  1171. package/dist/history-XTSLGMK6.js +0 -135
  1172. package/dist/history-XTSLGMK6.js.map +0 -1
  1173. package/dist/hubspot-GPTEZD3A.js +0 -781
  1174. package/dist/hubspot-GPTEZD3A.js.map +0 -1
  1175. package/dist/icon-YKMRIU7A.js +0 -139
  1176. package/dist/icon-YKMRIU7A.js.map +0 -1
  1177. package/dist/ideas-NEBJBIBM.js +0 -31
  1178. package/dist/images-ASWWS5TH.js +0 -90
  1179. package/dist/improve-VXDJGXTG.js +0 -88
  1180. package/dist/improve-VXDJGXTG.js.map +0 -1
  1181. package/dist/ingest-AW37RWJN.js +0 -109
  1182. package/dist/ingest-AW37RWJN.js.map +0 -1
  1183. package/dist/ingest-X7UPOCKP.js +0 -24
  1184. package/dist/insights-MHUV75RQ.js +0 -424
  1185. package/dist/insights-MHUV75RQ.js.map +0 -1
  1186. package/dist/insights-NLQXAW3F.js +0 -123
  1187. package/dist/insights-NLQXAW3F.js.map +0 -1
  1188. package/dist/inspect-TXVKPBAR.js +0 -191
  1189. package/dist/inspect-TXVKPBAR.js.map +0 -1
  1190. package/dist/inspiration-64DY3QWN.js +0 -53
  1191. package/dist/intent-3HY6DRHW.js +0 -96
  1192. package/dist/intent-3HY6DRHW.js.map +0 -1
  1193. package/dist/job-L73KC4TC.js +0 -203
  1194. package/dist/job-L73KC4TC.js.map +0 -1
  1195. package/dist/job-create-LR3EHWKO.js +0 -110
  1196. package/dist/job-create-LR3EHWKO.js.map +0 -1
  1197. package/dist/job-status-MSL4EAJT.js +0 -75
  1198. package/dist/job-status-MSL4EAJT.js.map +0 -1
  1199. package/dist/keep-XUATLR5B.js +0 -80
  1200. package/dist/keep-XUATLR5B.js.map +0 -1
  1201. package/dist/keyword-gap-DJAYVD4U.js +0 -131
  1202. package/dist/keyword-gap-DJAYVD4U.js.map +0 -1
  1203. package/dist/keyword-metrics-4FEFFTQO.js +0 -198
  1204. package/dist/keyword-metrics-4FEFFTQO.js.map +0 -1
  1205. package/dist/keywords-for-site-HIMEQY63.js +0 -125
  1206. package/dist/keywords-for-site-HIMEQY63.js.map +0 -1
  1207. package/dist/landing-KU3ILVB3.js +0 -28
  1208. package/dist/landing-KU3ILVB3.js.map +0 -1
  1209. package/dist/languages-4QYK5DMW.js +0 -56
  1210. package/dist/languages-4QYK5DMW.js.map +0 -1
  1211. package/dist/languages-L5E7WS77.js +0 -41
  1212. package/dist/languages-L5E7WS77.js.map +0 -1
  1213. package/dist/layerize-YAVLAXYM.js +0 -192
  1214. package/dist/layerize-YAVLAXYM.js.map +0 -1
  1215. package/dist/leads-DR3EK77T.js +0 -91
  1216. package/dist/leads-DR3EK77T.js.map +0 -1
  1217. package/dist/leads-PFPQOCBR.js +0 -286
  1218. package/dist/leads-PFPQOCBR.js.map +0 -1
  1219. package/dist/learn-D4D75X2Y.js +0 -204
  1220. package/dist/library-E2SJS7PT.js +0 -111
  1221. package/dist/library-E2SJS7PT.js.map +0 -1
  1222. package/dist/lighthouse-QMECKX4R.js +0 -76
  1223. package/dist/lighthouse-QMECKX4R.js.map +0 -1
  1224. package/dist/line-item-writes-XMDA7AZQ.js +0 -209
  1225. package/dist/line-item-writes-XMDA7AZQ.js.map +0 -1
  1226. package/dist/line-items-YGKTYKVE.js +0 -104
  1227. package/dist/line-items-YGKTYKVE.js.map +0 -1
  1228. package/dist/link-AOB3WGGN.js +0 -65
  1229. package/dist/link-AOB3WGGN.js.map +0 -1
  1230. package/dist/linkedin-WRJNY6NY.js +0 -1002
  1231. package/dist/linkedin-WRJNY6NY.js.map +0 -1
  1232. package/dist/list-66VKYGKM.js +0 -52
  1233. package/dist/list-66VKYGKM.js.map +0 -1
  1234. package/dist/list-6DZWRLDN.js +0 -59
  1235. package/dist/list-6DZWRLDN.js.map +0 -1
  1236. package/dist/list-6KJWGPPS.js +0 -67
  1237. package/dist/list-6KJWGPPS.js.map +0 -1
  1238. package/dist/list-GXCKA2AN.js +0 -153
  1239. package/dist/list-GXCKA2AN.js.map +0 -1
  1240. package/dist/list-KNHZPT7L.js +0 -65
  1241. package/dist/list-KNHZPT7L.js.map +0 -1
  1242. package/dist/list-LPETG6A6.js +0 -78
  1243. package/dist/list-LPETG6A6.js.map +0 -1
  1244. package/dist/list-WHJNWHSZ.js +0 -53
  1245. package/dist/list-WHJNWHSZ.js.map +0 -1
  1246. package/dist/list-YV5Z2J6U.js +0 -305
  1247. package/dist/list-YV5Z2J6U.js.map +0 -1
  1248. package/dist/locations-4FZYKG2A.js +0 -68
  1249. package/dist/locations-4FZYKG2A.js.map +0 -1
  1250. package/dist/locations-W32YE2KS.js +0 -41
  1251. package/dist/locations-W32YE2KS.js.map +0 -1
  1252. package/dist/log-YVW46HL7.js +0 -94
  1253. package/dist/log-YVW46HL7.js.map +0 -1
  1254. package/dist/logo-7O7VW5R3.js +0 -19
  1255. package/dist/lookup-Z2X5WAO6.js +0 -23
  1256. package/dist/make-Q6BQ7LNT.js +0 -505
  1257. package/dist/make-Q6BQ7LNT.js.map +0 -1
  1258. package/dist/map-VZM5C6DA.js +0 -406
  1259. package/dist/map-VZM5C6DA.js.map +0 -1
  1260. package/dist/mcp-KSJDALG6.js +0 -478
  1261. package/dist/mcp-KSJDALG6.js.map +0 -1
  1262. package/dist/media-7P66TUIR.js +0 -15
  1263. package/dist/media-JBQKYSRQ.js +0 -90
  1264. package/dist/media-JBQKYSRQ.js.map +0 -1
  1265. package/dist/media-sources-427U333M.js +0 -32
  1266. package/dist/members-ABGEFALK.js +0 -46
  1267. package/dist/members-ABGEFALK.js.map +0 -1
  1268. package/dist/meta-JH4FHVNX.js +0 -69
  1269. package/dist/metrics-ALSPX6EQ.js +0 -153
  1270. package/dist/metrics-ALSPX6EQ.js.map +0 -1
  1271. package/dist/models-7BM5BKXX.js +0 -157
  1272. package/dist/models-7BM5BKXX.js.map +0 -1
  1273. package/dist/normalize-DFK3DGGZ.js +0 -808
  1274. package/dist/normalize-DFK3DGGZ.js.map +0 -1
  1275. package/dist/normalize-NDR7YEQE.js +0 -140
  1276. package/dist/normalize-NDR7YEQE.js.map +0 -1
  1277. package/dist/options-G5VGH22X.js +0 -123
  1278. package/dist/options-G5VGH22X.js.map +0 -1
  1279. package/dist/output-ZLXBAA4O.js +0 -25
  1280. package/dist/page-L7BBMINT.js +0 -107
  1281. package/dist/page-L7BBMINT.js.map +0 -1
  1282. package/dist/pages-NBV35ECG.js +0 -67
  1283. package/dist/pages-NBV35ECG.js.map +0 -1
  1284. package/dist/performance-SOMZNPIG.js +0 -25
  1285. package/dist/pinterest-KXAZTRDP.js +0 -98
  1286. package/dist/pinterest-KXAZTRDP.js.map +0 -1
  1287. package/dist/pixels-DYWHXAJT.js +0 -109
  1288. package/dist/pixels-DYWHXAJT.js.map +0 -1
  1289. package/dist/pixels-UMS2QBUG.js +0 -61
  1290. package/dist/pixels-UMS2QBUG.js.map +0 -1
  1291. package/dist/preview-C5FER5SU.js +0 -170
  1292. package/dist/preview-C5FER5SU.js.map +0 -1
  1293. package/dist/promoted-tweet-writes-3PECZLQA.js +0 -181
  1294. package/dist/promoted-tweet-writes-3PECZLQA.js.map +0 -1
  1295. package/dist/promoted-tweets-GMV6WIWV.js +0 -120
  1296. package/dist/promoted-tweets-GMV6WIWV.js.map +0 -1
  1297. package/dist/properties-YAJQF577.js +0 -102
  1298. package/dist/properties-YAJQF577.js.map +0 -1
  1299. package/dist/publish-5WDUTTG5.js +0 -355
  1300. package/dist/publish-5WDUTTG5.js.map +0 -1
  1301. package/dist/query-TBWL52JI.js +0 -1342
  1302. package/dist/query-TBWL52JI.js.map +0 -1
  1303. package/dist/query-VESQSTQI.js +0 -237
  1304. package/dist/query-VESQSTQI.js.map +0 -1
  1305. package/dist/query-XZQSY62P.js +0 -248
  1306. package/dist/query-XZQSY62P.js.map +0 -1
  1307. package/dist/read-UMAWDVKX.js +0 -141
  1308. package/dist/read-UMAWDVKX.js.map +0 -1
  1309. package/dist/reddit-OPHQFRRC.js +0 -27
  1310. package/dist/refresh-U56RE7DI.js +0 -96
  1311. package/dist/refresh-U56RE7DI.js.map +0 -1
  1312. package/dist/release-P66DYNKQ.js +0 -61
  1313. package/dist/release-P66DYNKQ.js.map +0 -1
  1314. package/dist/relevant-pages-DSQQU6F7.js +0 -100
  1315. package/dist/relevant-pages-DSQQU6F7.js.map +0 -1
  1316. package/dist/remove-GRLXSDZC.js +0 -50
  1317. package/dist/remove-GRLXSDZC.js.map +0 -1
  1318. package/dist/remove-IRIP4OKM.js +0 -52
  1319. package/dist/remove-IRIP4OKM.js.map +0 -1
  1320. package/dist/reopen-PMIO7NJJ.js +0 -65
  1321. package/dist/reopen-PMIO7NJJ.js.map +0 -1
  1322. package/dist/rerun-V4O6TKBY.js +0 -84
  1323. package/dist/rerun-V4O6TKBY.js.map +0 -1
  1324. package/dist/research-MG3MESKH.js +0 -59
  1325. package/dist/research-RFPBKIVP.js +0 -228
  1326. package/dist/research-RFPBKIVP.js.map +0 -1
  1327. package/dist/reset-3HKXFAV7.js +0 -56
  1328. package/dist/reset-3HKXFAV7.js.map +0 -1
  1329. package/dist/reset-LQZA3CIB.js +0 -56
  1330. package/dist/reset-LQZA3CIB.js.map +0 -1
  1331. package/dist/resolve-H33CQAY4.js +0 -122
  1332. package/dist/resolve-H33CQAY4.js.map +0 -1
  1333. package/dist/retry-6F3YAVYQ.js +0 -64
  1334. package/dist/retry-6F3YAVYQ.js.map +0 -1
  1335. package/dist/retry-QWD3HWFP.js +0 -62
  1336. package/dist/retry-QWD3HWFP.js.map +0 -1
  1337. package/dist/retry-failed-7OAJ5TMD.js +0 -47
  1338. package/dist/retry-failed-7OAJ5TMD.js.map +0 -1
  1339. package/dist/run-CGZIVYLV.js +0 -67
  1340. package/dist/run-CGZIVYLV.js.map +0 -1
  1341. package/dist/run-PZF26R6H.js +0 -59
  1342. package/dist/scaffold-ad-AI6R4GDU.js +0 -1458
  1343. package/dist/scaffold-ad-AI6R4GDU.js.map +0 -1
  1344. package/dist/scaffold-static-ad-T7ZDHRB3.js +0 -944
  1345. package/dist/scaffold-static-ad-T7ZDHRB3.js.map +0 -1
  1346. package/dist/scaffold-video-R24U2WC7.js +0 -840
  1347. package/dist/scaffold-video-R24U2WC7.js.map +0 -1
  1348. package/dist/schedule-BK44B77G.js +0 -68
  1349. package/dist/schedule-BK44B77G.js.map +0 -1
  1350. package/dist/schedule-F2EEY4UK.js +0 -63
  1351. package/dist/schedule-F2EEY4UK.js.map +0 -1
  1352. package/dist/scheduled-agents-CIEAOWM6.js +0 -49
  1353. package/dist/schema-3B6FDPBF.js +0 -131
  1354. package/dist/schema-3B6FDPBF.js.map +0 -1
  1355. package/dist/schema-4FOZ5W35.js +0 -65
  1356. package/dist/schema-4FOZ5W35.js.map +0 -1
  1357. package/dist/scrape-P46M2J43.js +0 -2243
  1358. package/dist/scrape-P46M2J43.js.map +0 -1
  1359. package/dist/screenshot-6F7G3LN5.js +0 -104
  1360. package/dist/screenshot-6F7G3LN5.js.map +0 -1
  1361. package/dist/search-23LREBOG.js +0 -94
  1362. package/dist/search-23LREBOG.js.map +0 -1
  1363. package/dist/search-DNYAA6TT.js +0 -176
  1364. package/dist/search-DNYAA6TT.js.map +0 -1
  1365. package/dist/search-FORHMB7P.js +0 -27
  1366. package/dist/search-KQMPPO3X.js +0 -226
  1367. package/dist/search-KQMPPO3X.js.map +0 -1
  1368. package/dist/search-X4AKUB2K.js +0 -93
  1369. package/dist/search-X4AKUB2K.js.map +0 -1
  1370. package/dist/seeds-K4CHZ2HU.js +0 -103
  1371. package/dist/seeds-K4CHZ2HU.js.map +0 -1
  1372. package/dist/select-52K6KZGY.js +0 -95
  1373. package/dist/sends-UH2MZGCD.js +0 -310
  1374. package/dist/sends-UH2MZGCD.js.map +0 -1
  1375. package/dist/sequences-BXGO3NPA.js +0 -148
  1376. package/dist/sequences-BXGO3NPA.js.map +0 -1
  1377. package/dist/set-prompt-3IXP42AK.js +0 -186
  1378. package/dist/set-prompt-3IXP42AK.js.map +0 -1
  1379. package/dist/setup-links-OV6ALAUU.js +0 -143
  1380. package/dist/setup-links-OV6ALAUU.js.map +0 -1
  1381. package/dist/shared-VMV44VPB.js +0 -32
  1382. package/dist/site-MQ5ORTKV.js +0 -179
  1383. package/dist/site-MQ5ORTKV.js.map +0 -1
  1384. package/dist/sitemaps-LKCTG2WM.js +0 -88
  1385. package/dist/sitemaps-LKCTG2WM.js.map +0 -1
  1386. package/dist/sites-YHUF7G4Z.js +0 -102
  1387. package/dist/sites-YHUF7G4Z.js.map +0 -1
  1388. package/dist/skills-CG674XHN.js +0 -49
  1389. package/dist/skills-CG674XHN.js.map +0 -1
  1390. package/dist/sources-44THTN2Y.js +0 -422
  1391. package/dist/sources-44THTN2Y.js.map +0 -1
  1392. package/dist/sources-BQNCLGWT.js +0 -30
  1393. package/dist/stale-JGLP7BAC.js +0 -63
  1394. package/dist/stale-JGLP7BAC.js.map +0 -1
  1395. package/dist/stats-TO3J2FU6.js +0 -34
  1396. package/dist/status-NJ3SMBGS.js +0 -64
  1397. package/dist/status-NJ3SMBGS.js.map +0 -1
  1398. package/dist/sticker-YBOWSWMR.js +0 -96
  1399. package/dist/sticker-YBOWSWMR.js.map +0 -1
  1400. package/dist/stock-E6NMDSVI.js +0 -181
  1401. package/dist/stock-E6NMDSVI.js.map +0 -1
  1402. package/dist/studio-LHH62SZC.js +0 -49
  1403. package/dist/sync-2R5UKTHN.js +0 -56
  1404. package/dist/sync-2R5UKTHN.js.map +0 -1
  1405. package/dist/sync-AZRR5JNS.js +0 -266
  1406. package/dist/sync-AZRR5JNS.js.map +0 -1
  1407. package/dist/sync-ML7E5J22.js +0 -56
  1408. package/dist/sync-ML7E5J22.js.map +0 -1
  1409. package/dist/sync-definition-LBPI7P5F.js +0 -48
  1410. package/dist/tag-manager-D3YNI7JG.js +0 -43
  1411. package/dist/tags-BYGKXDDS.js +0 -21
  1412. package/dist/tags-BYGKXDDS.js.map +0 -1
  1413. package/dist/tags-OOQV4G2Y.js +0 -26
  1414. package/dist/tags-TKYXWGN4.js +0 -21
  1415. package/dist/tags-TKYXWGN4.js.map +0 -1
  1416. package/dist/tags-V732MEES.js +0 -226
  1417. package/dist/tags-V732MEES.js.map +0 -1
  1418. package/dist/tags-YLC46IXM.js +0 -21
  1419. package/dist/tags-YLC46IXM.js.map +0 -1
  1420. package/dist/targeting-constants-XT56MOGP.js +0 -119
  1421. package/dist/targeting-constants-XT56MOGP.js.map +0 -1
  1422. package/dist/targeting-criteria-24X3IIJS.js +0 -114
  1423. package/dist/targeting-criteria-24X3IIJS.js.map +0 -1
  1424. package/dist/targets-AKAN2HFY.js +0 -104
  1425. package/dist/targets-AKAN2HFY.js.map +0 -1
  1426. package/dist/templates-7MRVQTB2.js +0 -180
  1427. package/dist/templates-7MRVQTB2.js.map +0 -1
  1428. package/dist/testimonials-OIZMXEYZ.js +0 -32
  1429. package/dist/top-companies-3IG5FRQ2.js +0 -109
  1430. package/dist/top-companies-3IG5FRQ2.js.map +0 -1
  1431. package/dist/triggers-ZHNWHJG4.js +0 -143
  1432. package/dist/triggers-ZHNWHJG4.js.map +0 -1
  1433. package/dist/tweets-V5R5DUA2.js +0 -124
  1434. package/dist/tweets-V5R5DUA2.js.map +0 -1
  1435. package/dist/unfollow-RYDJDDAV.js +0 -48
  1436. package/dist/unfollow-RYDJDDAV.js.map +0 -1
  1437. package/dist/unlink-CS7QNOU2.js +0 -68
  1438. package/dist/unlink-CS7QNOU2.js.map +0 -1
  1439. package/dist/unstage-DDZ5F2Z6.js +0 -86
  1440. package/dist/unstage-DDZ5F2Z6.js.map +0 -1
  1441. package/dist/unstage-KPLOFKU5.js +0 -96
  1442. package/dist/unstage-KPLOFKU5.js.map +0 -1
  1443. package/dist/update-ASY63WIK.js +0 -157
  1444. package/dist/update-ASY63WIK.js.map +0 -1
  1445. package/dist/update-HA5IQCJ2.js +0 -99
  1446. package/dist/update-HA5IQCJ2.js.map +0 -1
  1447. package/dist/update-R3VD5DC3.js +0 -143
  1448. package/dist/update-R3VD5DC3.js.map +0 -1
  1449. package/dist/update-WMCBSNSD.js +0 -64
  1450. package/dist/update-WMCBSNSD.js.map +0 -1
  1451. package/dist/upload-ADEYBWTV.js +0 -152
  1452. package/dist/upload-ADEYBWTV.js.map +0 -1
  1453. package/dist/upload-WBNPIOVR.js +0 -128
  1454. package/dist/upload-WBNPIOVR.js.map +0 -1
  1455. package/dist/upscale-WYTZPUIA.js +0 -111
  1456. package/dist/upscale-WYTZPUIA.js.map +0 -1
  1457. package/dist/url-options-DOCH5AWX.js +0 -128
  1458. package/dist/url-options-DOCH5AWX.js.map +0 -1
  1459. package/dist/url-params-IYTU3MVV.js +0 -99
  1460. package/dist/url-params-IYTU3MVV.js.map +0 -1
  1461. package/dist/use-RGJMULXG.js +0 -97
  1462. package/dist/use-RGJMULXG.js.map +0 -1
  1463. package/dist/validate-T22BKIFK.js +0 -89
  1464. package/dist/validate-T22BKIFK.js.map +0 -1
  1465. package/dist/variant-3DBL2RDV.js +0 -339
  1466. package/dist/variant-3DBL2RDV.js.map +0 -1
  1467. package/dist/videos-7SB2CLZW.js +0 -39
  1468. package/dist/view-5QDCP7HF.js +0 -123
  1469. package/dist/view-5QDCP7HF.js.map +0 -1
  1470. package/dist/viewer-check-NGIMC2BR.js +0 -66
  1471. package/dist/web-IRWXTGE2.js +0 -136
  1472. package/dist/web-IRWXTGE2.js.map +0 -1
  1473. package/dist/winners-JSI4N26Y.js +0 -81
  1474. package/dist/winners-JSI4N26Y.js.map +0 -1
  1475. package/dist/winning-ads-XQZ6HEX5.js +0 -62
  1476. package/dist/write-commands-3C3TV2YC.js +0 -714
  1477. package/dist/write-commands-3C3TV2YC.js.map +0 -1
  1478. package/dist/write-commands-7WIG5UDU.js +0 -731
  1479. package/dist/write-commands-7WIG5UDU.js.map +0 -1
  1480. package/dist/write-commands-G7HHGAEE.js +0 -1009
  1481. package/dist/write-commands-G7HHGAEE.js.map +0 -1
  1482. package/dist/write-commands-ROQSZFXR.js +0 -207
  1483. package/dist/write-commands-ROQSZFXR.js.map +0 -1
  1484. package/dist/x-BLTCL6L3.js +0 -47
  1485. /package/dist/{actions-7XF5L4U3.js.map → actions-PEI6ZQAG.js.map} +0 -0
  1486. /package/dist/{ads-IRE5RZCS.js.map → ads-TJ7ACFHG.js.map} +0 -0
  1487. /package/dist/{avatars-G54K55J3.js.map → avatars-2UQJXHPV.js.map} +0 -0
  1488. /package/dist/{brand-ODTHWWFL.js.map → brand-XBABUT52.js.map} +0 -0
  1489. /package/dist/{canvas-M5HAG7VA.js.map → canvas-KEXE5P6S.js.map} +0 -0
  1490. /package/dist/{chatgpt-PLKNBNVL.js.map → chatgpt-7W75X3ER.js.map} +0 -0
  1491. /package/dist/{chunk-OZLBLXTK.js.map → chunk-2TK4DEOE.js.map} +0 -0
  1492. /package/dist/{chunk-ZHW3O25C.js.map → chunk-4NDCTLI5.js.map} +0 -0
  1493. /package/dist/{chunk-5NQIFCNX.js.map → chunk-5ARG3CQG.js.map} +0 -0
  1494. /package/dist/{chunk-ZAFR46HG.js.map → chunk-5Z2KSVIV.js.map} +0 -0
  1495. /package/dist/{chunk-EYO62URT.js.map → chunk-6B7VKFS4.js.map} +0 -0
  1496. /package/dist/{chunk-W7OFLOZB.js.map → chunk-6G5K6ZC6.js.map} +0 -0
  1497. /package/dist/{chunk-RJAQEZVD.js.map → chunk-73QKIIIR.js.map} +0 -0
  1498. /package/dist/{chunk-YS6PCTPS.js.map → chunk-75FDTDLH.js.map} +0 -0
  1499. /package/dist/{chunk-NGT6MARJ.js.map → chunk-7J6EHOH6.js.map} +0 -0
  1500. /package/dist/{chunk-TD44SXQX.js.map → chunk-7OFNN4CT.js.map} +0 -0
  1501. /package/dist/{chunk-LDVMMLRA.js.map → chunk-C6U6UDHJ.js.map} +0 -0
  1502. /package/dist/{chunk-6FBZ5E6L.js.map → chunk-DIY6QR3E.js.map} +0 -0
  1503. /package/dist/{chunk-F3WFP75M.js.map → chunk-EFSYTROP.js.map} +0 -0
  1504. /package/dist/{chunk-4MU3U3SO.js.map → chunk-FEXDI4NM.js.map} +0 -0
  1505. /package/dist/{chunk-YMOVI3WT.js.map → chunk-FHXIEMCG.js.map} +0 -0
  1506. /package/dist/{chunk-R34LJSPM.js.map → chunk-H26L3OQY.js.map} +0 -0
  1507. /package/dist/{chunk-NMMKTPGI.js.map → chunk-HIPDMQZ6.js.map} +0 -0
  1508. /package/dist/{chunk-FRVROFI6.js.map → chunk-HYCIBVDW.js.map} +0 -0
  1509. /package/dist/{chunk-BSUN6JMU.js.map → chunk-IFWP3ZDO.js.map} +0 -0
  1510. /package/dist/{chunk-LQ4HBQ2B.js.map → chunk-IXKEWS7X.js.map} +0 -0
  1511. /package/dist/{chunk-DPEQVHTX.js.map → chunk-JERXV5A3.js.map} +0 -0
  1512. /package/dist/{chunk-TCSPJQ2X.js.map → chunk-KLNKEVIY.js.map} +0 -0
  1513. /package/dist/{chunk-JMXBUIVI.js.map → chunk-KNY76UGC.js.map} +0 -0
  1514. /package/dist/{chunk-IMZIECST.js.map → chunk-KWAOTV7F.js.map} +0 -0
  1515. /package/dist/{chunk-A57AHUNA.js.map → chunk-LERTEZST.js.map} +0 -0
  1516. /package/dist/{chunk-73MCYA5Z.js.map → chunk-LL2CD5WU.js.map} +0 -0
  1517. /package/dist/{chunk-UA5EUJXV.js.map → chunk-LO6GEJ4Z.js.map} +0 -0
  1518. /package/dist/{chunk-IRHNWYDT.js.map → chunk-LS5MTRFI.js.map} +0 -0
  1519. /package/dist/{chunk-F7HBCFUA.js.map → chunk-LZ73CZGP.js.map} +0 -0
  1520. /package/dist/{chunk-NGYKF4T6.js.map → chunk-MELOSESI.js.map} +0 -0
  1521. /package/dist/{chunk-SXRSLUW7.js.map → chunk-NAWWC5I3.js.map} +0 -0
  1522. /package/dist/{chunk-FFZBW4CC.js.map → chunk-NPE7EWBE.js.map} +0 -0
  1523. /package/dist/{chunk-JH7NHC5W.js.map → chunk-OKG6GX2F.js.map} +0 -0
  1524. /package/dist/{chunk-WAQYXH2U.js.map → chunk-PBA3YCZA.js.map} +0 -0
  1525. /package/dist/{chunk-AWICKT2B.js.map → chunk-PWGWMIIJ.js.map} +0 -0
  1526. /package/dist/{chunk-F6NJAHAZ.js.map → chunk-QHLB5V7J.js.map} +0 -0
  1527. /package/dist/{chunk-TTFTS2SO.js.map → chunk-QJE6ZYGI.js.map} +0 -0
  1528. /package/dist/{chunk-Y4JR4RDM.js.map → chunk-QSN5MZGS.js.map} +0 -0
  1529. /package/dist/{chunk-HWWPDUZM.js.map → chunk-RSW6QJPH.js.map} +0 -0
  1530. /package/dist/{chunk-LYZVLKRA.js.map → chunk-SBMIQDCX.js.map} +0 -0
  1531. /package/dist/{chunk-BDD2ILIT.js.map → chunk-STIB5DR5.js.map} +0 -0
  1532. /package/dist/{chunk-A3PEJ3V3.js.map → chunk-TBEUMOEL.js.map} +0 -0
  1533. /package/dist/{chunk-RPFBZHHE.js.map → chunk-TD2P4HBP.js.map} +0 -0
  1534. /package/dist/{chunk-CBEL3P22.js.map → chunk-VBHDZSI5.js.map} +0 -0
  1535. /package/dist/{chunk-6YWRJMGR.js.map → chunk-VFIOJD5M.js.map} +0 -0
  1536. /package/dist/{chunk-QYOPQRLI.js.map → chunk-VVZBBKRC.js.map} +0 -0
  1537. /package/dist/{chunk-G32FXVQ6.js.map → chunk-W3B4BHQU.js.map} +0 -0
  1538. /package/dist/{chunk-Q7UF4ERB.js.map → chunk-WS2GMOSG.js.map} +0 -0
  1539. /package/dist/{chunk-EPK2GYLV.js.map → chunk-XBOK23HI.js.map} +0 -0
  1540. /package/dist/{chunk-HA5D6US2.js.map → chunk-XG3XCHN6.js.map} +0 -0
  1541. /package/dist/{chunk-L4DOL7L7.js.map → chunk-XL3BMSYG.js.map} +0 -0
  1542. /package/dist/{chunk-ECXNE6RJ.js.map → chunk-XYMPS526.js.map} +0 -0
  1543. /package/dist/{chunk-WWD4PITU.js.map → chunk-YBMVHGY3.js.map} +0 -0
  1544. /package/dist/{client-XKDFFS7O.js.map → client-VHN32ZRE.js.map} +0 -0
  1545. /package/dist/{connect-ATGYJNG4.js.map → connect-TA5W6YGW.js.map} +0 -0
  1546. /package/dist/{customers-ACRYXALZ.js.map → customers-4RJGRR2Y.js.map} +0 -0
  1547. /package/dist/{env-ODWJOKNV.js.map → env-KIP2J2UB.js.map} +0 -0
  1548. /package/dist/{fit-5WZ6NVSF.js.map → fit-KXHYKIA4.js.map} +0 -0
  1549. /package/dist/{fonts-7U7I2TWV.js.map → fonts-NTOQS2KU.js.map} +0 -0
  1550. /package/dist/{ga4-QPEXE6YG.js.map → ga4-UDQ2HA2J.js.map} +0 -0
  1551. /package/dist/{gsc-LC5ADBA3.js.map → gsc-P3QYGDV2.js.map} +0 -0
  1552. /package/dist/{ideas-NEBJBIBM.js.map → ideas-PU7IAX6F.js.map} +0 -0
  1553. /package/dist/{images-ASWWS5TH.js.map → images-QI2HTX6B.js.map} +0 -0
  1554. /package/dist/{ingest-X7UPOCKP.js.map → ingest-BYJNFOOT.js.map} +0 -0
  1555. /package/dist/{inspiration-64DY3QWN.js.map → inspiration-I4MMKAWA.js.map} +0 -0
  1556. /package/dist/{learn-D4D75X2Y.js.map → learn-HZU3QWNN.js.map} +0 -0
  1557. /package/dist/{logo-7O7VW5R3.js.map → logo-2IP663QO.js.map} +0 -0
  1558. /package/dist/{lookup-Z2X5WAO6.js.map → lookup-XK45W2SH.js.map} +0 -0
  1559. /package/dist/{media-7P66TUIR.js.map → media-M7E6V2XU.js.map} +0 -0
  1560. /package/dist/{media-sources-427U333M.js.map → media-sources-3D246I3O.js.map} +0 -0
  1561. /package/dist/{meta-JH4FHVNX.js.map → meta-EZ4SY25M.js.map} +0 -0
  1562. /package/dist/{output-ZLXBAA4O.js.map → output-RAH3TSIL.js.map} +0 -0
  1563. /package/dist/{performance-SOMZNPIG.js.map → performance-7LQQCEAW.js.map} +0 -0
  1564. /package/dist/{reddit-OPHQFRRC.js.map → reddit-INGPFGP4.js.map} +0 -0
  1565. /package/dist/{research-MG3MESKH.js.map → research-PA53M335.js.map} +0 -0
  1566. /package/dist/{run-PZF26R6H.js.map → run-2IM2QOCI.js.map} +0 -0
  1567. /package/dist/{scheduled-agents-CIEAOWM6.js.map → scheduled-agents-2NCGSD76.js.map} +0 -0
  1568. /package/dist/{search-FORHMB7P.js.map → search-XUIVHGAY.js.map} +0 -0
  1569. /package/dist/{select-52K6KZGY.js.map → select-ZWDEVAH2.js.map} +0 -0
  1570. /package/dist/{shared-VMV44VPB.js.map → shared-HJDFNID4.js.map} +0 -0
  1571. /package/dist/{sources-BQNCLGWT.js.map → sources-UGMZFZ2E.js.map} +0 -0
  1572. /package/dist/{stats-TO3J2FU6.js.map → stats-NNXZMPZR.js.map} +0 -0
  1573. /package/dist/{studio-LHH62SZC.js.map → studio-HUEBE6DS.js.map} +0 -0
  1574. /package/dist/{sync-definition-LBPI7P5F.js.map → sync-definition-YBDM7D4M.js.map} +0 -0
  1575. /package/dist/{tag-manager-D3YNI7JG.js.map → tag-manager-HREEYGVM.js.map} +0 -0
  1576. /package/dist/{tags-OOQV4G2Y.js.map → tags-R3K35KTL.js.map} +0 -0
  1577. /package/dist/{testimonials-OIZMXEYZ.js.map → testimonials-5QGCPZ6K.js.map} +0 -0
  1578. /package/dist/{videos-7SB2CLZW.js.map → videos-GIYDCCKR.js.map} +0 -0
  1579. /package/dist/{viewer-check-NGIMC2BR.js.map → viewer-check-VN2JK2LW.js.map} +0 -0
  1580. /package/dist/{winning-ads-XQZ6HEX5.js.map → winning-ads-7QWEIMRU.js.map} +0 -0
  1581. /package/dist/{x-BLTCL6L3.js.map → x-OEAKQBB7.js.map} +0 -0
@@ -0,0 +1,2241 @@
1
+ import {
2
+ INSPIRATION_HINTS
3
+ } from "./chunk-EFSYTROP.js";
4
+ import {
5
+ perceptualHash
6
+ } from "./chunk-DGCUPJZD.js";
7
+ import "./chunk-XBOK23HI.js";
8
+ import "./chunk-IFWP3ZDO.js";
9
+ import {
10
+ captureBudgetMs,
11
+ captureProxyCredentials,
12
+ isProxyFailure,
13
+ nextPlannedRoute,
14
+ plannedRoutes,
15
+ refuseNonPublicUrl,
16
+ shouldEscalate
17
+ } from "./chunk-NAWWC5I3.js";
18
+ import {
19
+ registerSchema,
20
+ writeJson
21
+ } from "./chunk-NU7JSWVA.js";
22
+ import "./chunk-YQSBHWOI.js";
23
+
24
+ // src/commands/landing/inspiration/scrape.ts
25
+ import { defineCommand } from "citty";
26
+
27
+ // src/engine/landing-library/proxyFailure.ts
28
+ var PROXY_STATUS = 407;
29
+ var PROXY_NET_ERRORS = [
30
+ "ERR_TUNNEL_CONNECTION_FAILED",
31
+ "ERR_PROXY_CONNECTION_FAILED",
32
+ "ERR_PROXY_AUTH_REQUESTED",
33
+ "ERR_PROXY_CERTIFICATE_INVALID",
34
+ "ERR_UNEXPECTED_PROXY_AUTH",
35
+ "ERR_MANDATORY_PROXY_CONFIGURATION_FAILED",
36
+ "ERR_HTTPS_PROXY_TUNNEL_RESPONSE_REDIRECT"
37
+ ];
38
+ var PROXY_UNAVAILABLE_MESSAGE = "We couldn't reach this page just now. Please try adding it again.";
39
+ function describeProxyFailure(error) {
40
+ const raw = error instanceof Error ? error.message : typeof error === "string" ? error : "";
41
+ if (!raw) return null;
42
+ const netError = /net::(ERR_[A-Z0-9_]+)/.exec(raw)?.[1];
43
+ if (!netError || !PROXY_NET_ERRORS.includes(netError)) return null;
44
+ return { code: "PROXY_UNAVAILABLE", message: PROXY_UNAVAILABLE_MESSAGE };
45
+ }
46
+
47
+ // src/engine/landing-library/unreachable.ts
48
+ var NET_ERROR_REASONS = [
49
+ {
50
+ prefixes: ["ERR_NAME_NOT_RESOLVED", "ERR_NAME_RESOLUTION_FAILED"],
51
+ message: "We couldn't find this site \u2014 check the address is spelled right."
52
+ },
53
+ {
54
+ prefixes: ["ERR_SSL_", "ERR_CERT_", "ERR_TLS_", "ERR_BAD_SSL_"],
55
+ message: "This site's secure connection is broken, so no browser can open it \u2014 including ours. That's a fault on their side, not something you can fix here."
56
+ },
57
+ {
58
+ prefixes: ["ERR_TOO_MANY_REDIRECTS"],
59
+ message: "This site kept redirecting us and never settled on a page."
60
+ },
61
+ {
62
+ prefixes: ["ERR_BLOCKED_BY_", "ERR_ACCESS_DENIED"],
63
+ message: "This site refused our visit, so we couldn't read the page."
64
+ },
65
+ {
66
+ prefixes: [
67
+ "ERR_CONNECTION_",
68
+ "ERR_ADDRESS_UNREACHABLE",
69
+ "ERR_EMPTY_RESPONSE",
70
+ "ERR_NETWORK_CHANGED",
71
+ "ERR_INTERNET_DISCONNECTED",
72
+ "ERR_SOCKET_NOT_CONNECTED",
73
+ "ERR_TIMED_OUT"
74
+ ],
75
+ // No "try again later" here. This resolves to `SITE_UNREACHABLE`, which the
76
+ // corpus files as not worth re-running, so inviting a retry would promise
77
+ // something the retry surface then declines to do.
78
+ message: "This site didn't respond, so we couldn't read the page."
79
+ }
80
+ ];
81
+ var GENERIC_UNREACHABLE = "We couldn't open this site, so there was no page to study.";
82
+ var TOO_SLOW = "This site took too long to load, so we stopped waiting. Try again later.";
83
+ function describeUnreachableSite(error) {
84
+ const raw = error instanceof Error ? error.message : typeof error === "string" ? error : "";
85
+ if (!raw) return null;
86
+ const netError = /net::(ERR_[A-Z0-9_]+)/.exec(raw)?.[1];
87
+ if (netError) {
88
+ const reason = NET_ERROR_REASONS.find(
89
+ (candidate) => candidate.prefixes.some((prefix) => netError.startsWith(prefix))
90
+ );
91
+ return { code: "SITE_UNREACHABLE", message: reason?.message ?? GENERIC_UNREACHABLE };
92
+ }
93
+ if (/Timeout \d+ms exceeded/.test(raw) || raw.includes("page.goto: Timeout")) {
94
+ return { code: "SITE_TOO_SLOW", message: TOO_SLOW };
95
+ }
96
+ return null;
97
+ }
98
+ function netErrorName(error) {
99
+ const raw = error instanceof Error ? error.message : typeof error === "string" ? error : "";
100
+ return raw ? /net::(ERR_[A-Z0-9_]+)/.exec(raw)?.[1] ?? null : null;
101
+ }
102
+
103
+ // src/engine/landing-library/blocked.ts
104
+ var CHALLENGE_PHRASES = [
105
+ "just a moment",
106
+ "attention required",
107
+ "verify you are human",
108
+ "checking your browser",
109
+ "enable javascript and cookies to continue",
110
+ "unusual traffic",
111
+ "access denied",
112
+ "you have been blocked",
113
+ "request unsuccessful",
114
+ "are you a robot",
115
+ "security check",
116
+ "ddos protection",
117
+ "captcha"
118
+ ];
119
+ var CHALLENGE_MARKERS = ["cf-browser-verification", "cf_chl_", "px-captcha", "_incapsula_", "distil_r_captcha"];
120
+ function detectBlockedPage(page) {
121
+ if (page.status === PROXY_STATUS) {
122
+ return { code: "PROXY_UNAVAILABLE", message: PROXY_UNAVAILABLE_MESSAGE };
123
+ }
124
+ if (page.status !== null && page.status >= 400) {
125
+ return {
126
+ code: "HTTP_ERROR",
127
+ message: `The site returned ${page.status} instead of the page \u2014 it may be blocking automated visits.`
128
+ };
129
+ }
130
+ const haystack = `${page.title}
131
+ ${page.bodyText.slice(0, 2e3)}`.toLowerCase();
132
+ const phrase = CHALLENGE_PHRASES.find((candidate) => haystack.includes(candidate));
133
+ if (phrase) {
134
+ return { code: "BOT_CHALLENGE", message: "The site showed a security check instead of the page." };
135
+ }
136
+ const html = page.html?.toLowerCase() ?? "";
137
+ if (CHALLENGE_MARKERS.some((marker) => html.includes(marker))) {
138
+ return { code: "BOT_CHALLENGE", message: "The site showed a security check instead of the page." };
139
+ }
140
+ return null;
141
+ }
142
+ var BlockedPageError = class extends Error {
143
+ code;
144
+ constructor(blocked) {
145
+ super(blocked.message);
146
+ this.name = "BlockedPageError";
147
+ this.code = blocked.code;
148
+ }
149
+ };
150
+ var CaptureFailureError = class extends Error {
151
+ failure;
152
+ /**
153
+ * Which rungs were tried, and what each of them said.
154
+ *
155
+ * Carried out of the engine because nothing downstream could otherwise tell a
156
+ * page refused from three different addresses apart from one refused once —
157
+ * and those two call for opposite conclusions about whether to try again.
158
+ *
159
+ * It is also the only way to see the rollout fail silently. The E2B image
160
+ * installs the CLI at build time, so until the template is rebuilt a Runtime
161
+ * runs an older binary that ignores the credentials Convex hands it. That
162
+ * capture returns an envelope with **no rungs at all** — indistinguishable,
163
+ * from the outside, from a page that simply was not worth escalating.
164
+ *
165
+ * Deliberately thin: tier names and status codes only, so nothing here can
166
+ * carry a credential or the raw browser text that once reached a user.
167
+ */
168
+ rungs;
169
+ constructor(failure, rungs = []) {
170
+ super(failure.message);
171
+ this.name = "CaptureFailureError";
172
+ this.failure = failure;
173
+ this.rungs = rungs;
174
+ }
175
+ };
176
+ var LOCAL_ADDRESS_REFUSAL = "That address only opens from inside your own network, so there is nothing there for us to read. A reference page has to be live on the web.";
177
+ var NODE_LEVEL_UNREACHABLE = ["econnrefused", "enotfound", "getaddrinfo"];
178
+ var UNREACHABLE_MESSAGE = "We couldn't reach this page \u2014 the site didn't answer, or its security certificate isn't one we can read.";
179
+ var TOO_SLOW_MESSAGE = "This page took too long to load, so we stopped waiting for it.";
180
+ var CAPTURE_FAILED_MESSAGE = "We couldn't read this page.";
181
+ function classifyCaptureFailure(error) {
182
+ if (error instanceof CaptureFailureError) return error.failure;
183
+ if (error instanceof BlockedPageError) {
184
+ return { code: error.code, message: error.message };
185
+ }
186
+ const proxyFailure = describeProxyFailure(error);
187
+ if (proxyFailure) return proxyFailure;
188
+ const unreachable = describeUnreachableSite(error);
189
+ if (unreachable) return unreachable;
190
+ const message = (error instanceof Error ? error.message : String(error)).toLowerCase();
191
+ if (NODE_LEVEL_UNREACHABLE.some((marker) => message.includes(marker))) {
192
+ return { code: "SITE_UNREACHABLE", message: UNREACHABLE_MESSAGE };
193
+ }
194
+ if (message.includes("timeout") && message.includes("exceeded")) {
195
+ return { code: "SITE_TOO_SLOW", message: TOO_SLOW_MESSAGE };
196
+ }
197
+ return { code: "CAPTURE_FAILED", message: CAPTURE_FAILED_MESSAGE };
198
+ }
199
+
200
+ // src/engine/landing-library/run.ts
201
+ import { mkdir, writeFile as writeFile2 } from "fs/promises";
202
+ import path2 from "path";
203
+
204
+ // ../proxy/src/preflight.ts
205
+ import http from "http";
206
+ function classifyPreflightStatus(status) {
207
+ if (status === 200) return { usable: true };
208
+ if (status === 407) return { usable: false, problem: "auth" };
209
+ return { usable: false, problem: "unreachable" };
210
+ }
211
+ async function preflightProxyRoute(route, options = {}) {
212
+ if (route.kind !== "proxy") return { usable: true };
213
+ const timeoutMs = options.timeoutMs ?? 8e3;
214
+ const target = options.target ?? "example.com:443";
215
+ const endpoint = new URL(route.server);
216
+ const auth = Buffer.from(`${route.username}:${route.password}`).toString("base64");
217
+ return await new Promise((resolve) => {
218
+ const settle = (result) => {
219
+ request.destroy();
220
+ resolve(result);
221
+ };
222
+ const request = http.request({
223
+ host: endpoint.hostname,
224
+ port: Number(endpoint.port),
225
+ method: "CONNECT",
226
+ path: target,
227
+ headers: { "Proxy-Authorization": `Basic ${auth}`, Host: target },
228
+ timeout: timeoutMs
229
+ });
230
+ request.on("connect", (response, socket) => {
231
+ socket.destroy();
232
+ settle(classifyPreflightStatus(response.statusCode));
233
+ });
234
+ request.on("response", (response) => {
235
+ response.destroy();
236
+ settle(classifyPreflightStatus(response.statusCode));
237
+ });
238
+ request.on("timeout", () => settle({ usable: false, problem: "timeout" }));
239
+ request.on("error", () => settle({ usable: false, problem: "unreachable" }));
240
+ request.end();
241
+ });
242
+ }
243
+
244
+ // src/engine/landing-library/browser.ts
245
+ import { createRequire } from "module";
246
+ var require_ = createRequire(import.meta.url);
247
+ var pwSpecifier = ["play", "wright"].join("");
248
+ var DESKTOP_VIEWPORT = { width: 1440, height: 900 };
249
+ var MOBILE_VIEWPORT = { width: 390, height: 844 };
250
+ var DEVICE_SCALE_FACTOR = 2;
251
+ async function launchBrowser(route = { kind: "direct" }) {
252
+ const playwright = require_(pwSpecifier);
253
+ return await playwright.chromium.launch({
254
+ headless: true,
255
+ args: ["--hide-scrollbars", "--disable-blink-features=AutomationControlled", "--mute-audio"],
256
+ ...route.kind === "proxy" ? { proxy: { server: route.server, username: route.username, password: route.password } } : {}
257
+ });
258
+ }
259
+ async function newPage(browser, viewport, opts = { motion: false }) {
260
+ const context = await browser.newContext({
261
+ viewport,
262
+ deviceScaleFactor: DEVICE_SCALE_FACTOR,
263
+ // We read third-party marketing pages and send them nothing — no cookies we
264
+ // own, no credentials, no form posts — so the usual reason to refuse a bad
265
+ // certificate (an attacker between us and a session we care about) does not
266
+ // apply. Refusing one instead makes a whole class of real sites permanently
267
+ // uncapturable: `growthspree.com` and `arcus.so` both fail the handshake,
268
+ // and `inspiration scrape` is the escalation the whole repo points agents at
269
+ // when `WebFetch` fails, so it inheriting the same blind spot means there is
270
+ // no route to those pages at all. Every capture therefore records that the
271
+ // certificate was not validated — see `PrepareResult.security`.
272
+ ignoreHTTPSErrors: true,
273
+ // Still captures freeze motion so screenshots are reproducible; the motion
274
+ // pass re-opens a context with animation enabled.
275
+ reducedMotion: opts.motion ? "no-preference" : "reduce",
276
+ userAgent: viewport.width < 500 ? "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36"
277
+ });
278
+ const page = await context.newPage();
279
+ return { context, page };
280
+ }
281
+
282
+ // src/engine/landing-library/usedCss.ts
283
+ async function collectUsedCss(page, selector) {
284
+ const collected = await page.evaluate(inPageCollectUsedCss, selector);
285
+ const extra = [];
286
+ for (const href of collected.unreadableHrefs) {
287
+ const text = await fetchStylesheet(page, href);
288
+ if (text) extra.push(`/* ${href} */
289
+ ${text}`);
290
+ }
291
+ return { ...collected, css: [collected.css, ...extra].filter(Boolean).join("\n\n") };
292
+ }
293
+ async function fetchStylesheet(page, href) {
294
+ try {
295
+ const response = await page.request.get(href, { timeout: 1e4 });
296
+ if (!response.ok()) return null;
297
+ return await response.text();
298
+ } catch {
299
+ return null;
300
+ }
301
+ }
302
+ var inPageCollectUsedCss = (selector) => {
303
+ const root = document.querySelector(selector);
304
+ const empty = {
305
+ css: "",
306
+ variables: "",
307
+ inheritedSeed: "",
308
+ unreadableHrefs: [],
309
+ stats: { totalRules: 0, keptRules: 0, fontFaces: 0, keyframes: 0 }
310
+ };
311
+ if (!root) return empty;
312
+ const INHERITED = [
313
+ "color",
314
+ "font-family",
315
+ "font-size",
316
+ "font-weight",
317
+ "line-height",
318
+ "letter-spacing",
319
+ "text-align",
320
+ "background-color",
321
+ "-webkit-font-smoothing"
322
+ ];
323
+ const unreadableHrefs = [];
324
+ const kept = [];
325
+ const fontFaces = [];
326
+ const keyframesByName = /* @__PURE__ */ new Map();
327
+ let totalRules = 0;
328
+ let keptStyleRules = 0;
329
+ const matchesInSection = (selectorText) => {
330
+ for (const part of selectorText.split(",")) {
331
+ const base = part.replace(/::[a-zA-Z-]+(\([^)]*\))?/g, "").replace(/:(hover|focus|focus-visible|focus-within|active|visited|target|checked|disabled)\b/g, "").trim();
332
+ if (!base) continue;
333
+ try {
334
+ if (root.matches(base) || root.querySelector(base)) return true;
335
+ } catch {
336
+ return true;
337
+ }
338
+ }
339
+ return false;
340
+ };
341
+ const walk = (rules, sink) => {
342
+ for (const rule of Array.from(rules)) {
343
+ totalRules++;
344
+ if (rule instanceof CSSStyleRule) {
345
+ if (matchesInSection(rule.selectorText)) {
346
+ sink.push(rule.cssText);
347
+ keptStyleRules++;
348
+ }
349
+ continue;
350
+ }
351
+ if (rule instanceof CSSFontFaceRule) {
352
+ fontFaces.push(rule.cssText);
353
+ continue;
354
+ }
355
+ if (rule instanceof CSSKeyframesRule) {
356
+ keyframesByName.set(rule.name, rule.cssText);
357
+ continue;
358
+ }
359
+ const grouping = rule instanceof CSSMediaRule || rule instanceof CSSSupportsRule || typeof CSSLayerBlockRule !== "undefined" && rule instanceof CSSLayerBlockRule || typeof CSSContainerRule !== "undefined" && rule instanceof CSSContainerRule;
360
+ if (grouping) {
361
+ const inner = [];
362
+ walk(rule.cssRules, inner);
363
+ if (inner.length === 0) continue;
364
+ const condition = rule.conditionText ?? "";
365
+ const prelude = rule instanceof CSSMediaRule ? `@media ${condition}` : rule.cssText.split("{")[0]?.trim();
366
+ sink.push(`${prelude} {
367
+ ${inner.join("\n")}
368
+ }`);
369
+ }
370
+ }
371
+ };
372
+ for (const sheet of Array.from(document.styleSheets)) {
373
+ const owner = sheet.ownerNode;
374
+ if (owner?.hasAttribute?.("data-baker-freeze")) continue;
375
+ try {
376
+ walk(sheet.cssRules, kept);
377
+ } catch {
378
+ if (sheet.href) unreadableHrefs.push(sheet.href);
379
+ }
380
+ }
381
+ const keptText = kept.join("\n");
382
+ const usedKeyframes = [];
383
+ for (const [name, text] of keyframesByName) {
384
+ if (new RegExp(`(^|[\\s:,])${name}([\\s;,}]|$)`).test(keptText)) usedKeyframes.push(text);
385
+ }
386
+ const rootStyle = getComputedStyle(root);
387
+ const variableDeclarations = [];
388
+ for (const property of Array.from(rootStyle)) {
389
+ if (!property.startsWith("--")) continue;
390
+ const value = rootStyle.getPropertyValue(property).trim();
391
+ if (value) variableDeclarations.push(` ${property}: ${value};`);
392
+ }
393
+ const seed = INHERITED.map((property) => ` ${property}: ${rootStyle.getPropertyValue(property)};`).join("\n");
394
+ return {
395
+ css: [...fontFaces, ...usedKeyframes, ...kept].join("\n"),
396
+ variables: variableDeclarations.length ? `:root {
397
+ ${variableDeclarations.join("\n")}
398
+ }` : "",
399
+ inheritedSeed: seed,
400
+ unreadableHrefs,
401
+ stats: {
402
+ totalRules,
403
+ keptRules: keptStyleRules,
404
+ fontFaces: fontFaces.length,
405
+ keyframes: usedKeyframes.length
406
+ }
407
+ };
408
+ };
409
+
410
+ // src/engine/landing-library/bundle.ts
411
+ async function buildSectionBundle(page, selector, pageUrl) {
412
+ const used = await collectUsedCss(page, selector);
413
+ const extracted = await page.evaluate(inPageExtractMarkup, {
414
+ selector,
415
+ pageUrl,
416
+ rootAttribute: SECTION_ROOT_ATTRIBUTE
417
+ });
418
+ const css = [
419
+ "*, *::before, *::after { box-sizing: border-box; }",
420
+ "html, body { margin: 0; padding: 0; }",
421
+ used.variables,
422
+ `body {
423
+ ${used.inheritedSeed}
424
+ }`,
425
+ used.css
426
+ ].filter(Boolean).join("\n\n");
427
+ const html = `<!doctype html>
428
+ <html ${extracted.rootAttributes}>
429
+ <head>
430
+ <meta charset="utf-8">
431
+ <meta name="viewport" content="width=device-width, initial-scale=1">
432
+ <title>Section from ${escapeHtml(extracted.host)}</title>
433
+ <style>
434
+ ${css}
435
+ </style>
436
+ </head>
437
+ <body ${extracted.bodyAttributes}>
438
+ ${wrapInLayoutContext(extracted.html, extracted.layoutContext)}
439
+ </body>
440
+ </html>
441
+ `;
442
+ return { html, css, assetUrls: extracted.assetUrls, stats: used.stats };
443
+ }
444
+ function escapeHtml(value) {
445
+ return value.replace(/[&<>"]/g, (c) => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;" })[c] ?? c);
446
+ }
447
+ var SECTION_ROOT_ATTRIBUTE = "data-baker-section-root";
448
+ function wrapInLayoutContext(html, context) {
449
+ let wrapped = context.width > 0 && context.width < context.viewportWidth ? `<div style="width:${context.width}px;margin:0 auto;">
450
+ ${html}
451
+ </div>` : html;
452
+ for (const ancestor of [...context.ancestors].reverse()) {
453
+ const attributes = ancestor.attributes ? ` ${ancestor.attributes}` : "";
454
+ const container = ancestor.containerType && ancestor.containerType !== "normal" ? `container-type:${ancestor.containerType};${ancestor.containerName && ancestor.containerName !== "none" ? `container-name:${ancestor.containerName};` : ""}` : "";
455
+ wrapped = `<${ancestor.tag}${attributes} style="${NEUTRALIZED_ANCESTOR_STYLE}${container}">
456
+ ${wrapped}
457
+ </${ancestor.tag}>`;
458
+ }
459
+ return wrapped;
460
+ }
461
+ var NEUTRALIZED_ANCESTOR_STYLE = [
462
+ "display:block !important",
463
+ "position:static !important",
464
+ "margin:0 !important",
465
+ "padding:0 !important",
466
+ "border:0 !important",
467
+ "width:auto !important",
468
+ "min-width:0 !important",
469
+ "max-width:none !important",
470
+ "height:auto !important",
471
+ "min-height:0 !important",
472
+ "max-height:none !important",
473
+ "transform:none !important",
474
+ "overflow:visible !important",
475
+ ""
476
+ ].join(";");
477
+ var inPageExtractMarkup = ({
478
+ selector,
479
+ pageUrl,
480
+ rootAttribute
481
+ }) => {
482
+ const root = document.querySelector(selector);
483
+ const emptyContext = { ancestors: [], width: 0, viewportWidth: 0 };
484
+ const serializeAttributes = (element) => {
485
+ if (!element) return "";
486
+ return Array.from(element.attributes).filter((attribute) => attribute.name !== "style").map((attribute) => `${attribute.name}="${attribute.value.replace(/"/g, "&quot;")}"`).join(" ");
487
+ };
488
+ const rootAttributes = serializeAttributes(document.documentElement) || 'lang="en"';
489
+ const bodyAttributes = serializeAttributes(document.body);
490
+ if (!root) {
491
+ return {
492
+ html: "",
493
+ assetUrls: [],
494
+ host: "",
495
+ layoutContext: emptyContext,
496
+ rootAttributes,
497
+ bodyAttributes
498
+ };
499
+ }
500
+ const ancestors = [];
501
+ for (let ancestor = root.parentElement; ancestor && ancestor !== document.body; ) {
502
+ const style = getComputedStyle(ancestor);
503
+ ancestors.unshift({
504
+ tag: /^[a-zA-Z][a-zA-Z0-9-]*$/.test(ancestor.tagName) ? ancestor.tagName.toLowerCase() : "div",
505
+ attributes: Array.from(ancestor.attributes).filter((a) => a.name === "class" || a.name === "id" || a.name.startsWith("data-")).map((a) => `${a.name}="${a.value.replace(/"/g, "&quot;")}"`).join(" "),
506
+ containerType: style.containerType,
507
+ containerName: style.containerName
508
+ });
509
+ ancestor = ancestor.parentElement;
510
+ }
511
+ const layoutContext = {
512
+ ancestors,
513
+ width: Math.round(root.getBoundingClientRect().width),
514
+ viewportWidth: window.innerWidth
515
+ };
516
+ const absolute = (value) => {
517
+ try {
518
+ return new URL(value, pageUrl).href;
519
+ } catch {
520
+ return value;
521
+ }
522
+ };
523
+ const clone = root.cloneNode(true);
524
+ clone.setAttribute(rootAttribute, "");
525
+ const assetUrls = /* @__PURE__ */ new Set();
526
+ for (const element of [clone, ...Array.from(clone.querySelectorAll("*"))]) {
527
+ for (const attribute of ["src", "href", "poster"]) {
528
+ const value = element.getAttribute(attribute);
529
+ if (!value || value.startsWith("data:") || value.startsWith("#")) continue;
530
+ const url = absolute(value);
531
+ element.setAttribute(attribute, url);
532
+ if (attribute !== "href" || element.tagName === "LINK") assetUrls.add(url);
533
+ }
534
+ const srcset = element.getAttribute("srcset");
535
+ if (srcset) {
536
+ element.setAttribute(
537
+ "srcset",
538
+ srcset.split(",").map((candidate) => {
539
+ const [url, descriptor] = candidate.trim().split(/\s+/, 2);
540
+ if (!url) return candidate;
541
+ const resolved = absolute(url);
542
+ assetUrls.add(resolved);
543
+ return descriptor ? `${resolved} ${descriptor}` : resolved;
544
+ }).join(", ")
545
+ );
546
+ }
547
+ const style = element.getAttribute("style");
548
+ if (style?.includes("url(")) {
549
+ element.setAttribute(
550
+ "style",
551
+ style.replace(/url\((['"]?)([^'")]+)\1\)/g, (_match, quote, url) => {
552
+ if (url.startsWith("data:")) return `url(${quote}${url}${quote})`;
553
+ const resolved = absolute(url);
554
+ assetUrls.add(resolved);
555
+ return `url(${quote}${resolved}${quote})`;
556
+ })
557
+ );
558
+ }
559
+ }
560
+ return {
561
+ html: clone.outerHTML,
562
+ assetUrls: Array.from(assetUrls),
563
+ host: location.host,
564
+ layoutContext,
565
+ rootAttributes,
566
+ bodyAttributes
567
+ };
568
+ };
569
+
570
+ // src/engine/landing-library/capture.ts
571
+ async function captureSection(page, section) {
572
+ const locator = page.locator(section.selector).first();
573
+ if (await locator.count().catch(() => 0)) {
574
+ const shot = await locator.screenshot({ type: "png", timeout: 15e3 }).catch(() => null);
575
+ if (shot) return shot;
576
+ }
577
+ const doc = await page.evaluate(() => ({
578
+ width: Math.max(document.documentElement.scrollWidth, document.body?.scrollWidth ?? 0),
579
+ height: Math.max(document.documentElement.scrollHeight, document.body?.scrollHeight ?? 0)
580
+ }));
581
+ const width = Math.min(section.rect.width, doc.width - section.rect.left);
582
+ const height = Math.min(section.rect.height, doc.height - section.rect.top);
583
+ if (width <= 0 || height <= 0) return null;
584
+ return await page.screenshot({
585
+ type: "png",
586
+ clip: { x: section.rect.left, y: section.rect.top, width, height },
587
+ timeout: 15e3
588
+ }).catch(() => null);
589
+ }
590
+ async function captureSectionOnMobile(page, section) {
591
+ const locator = page.locator(section.selector).first();
592
+ if (!await locator.count().catch(() => 0)) return null;
593
+ if (!await locator.isVisible().catch(() => false)) return null;
594
+ return await locator.screenshot({ type: "png", timeout: 15e3 }).catch(() => null);
595
+ }
596
+
597
+ // src/engine/landing-library/escalation.ts
598
+ var CAPTURE_RESERVE_MS = 18e4;
599
+ function attemptSignal(outcome) {
600
+ const code = outcome.failure.code;
601
+ return {
602
+ challenge: code === "BOT_CHALLENGE",
603
+ status: outcome.status,
604
+ netError: outcome.netError,
605
+ timedOut: code === "SITE_TOO_SLOW"
606
+ };
607
+ }
608
+ function ambiguousProxyTimeout(outcome) {
609
+ return outcome.route.kind === "proxy" && outcome.failure.code === "SITE_TOO_SLOW" && outcome.status === null && outcome.netError === null;
610
+ }
611
+ function asProxyFailure(outcome, problem) {
612
+ return {
613
+ ...outcome,
614
+ failure: { code: "PROXY_UNAVAILABLE", message: PROXY_UNAVAILABLE_MESSAGE },
615
+ // Borrowing Chromium's own vocabulary so `isProxyFailure` recognises this
616
+ // without having to learn a second way of being told the same thing.
617
+ netError: problem === "auth" ? "ERR_PROXY_AUTH_REQUESTED" : "ERR_PROXY_CONNECTION_FAILED"
618
+ };
619
+ }
620
+ function nextRoute(args) {
621
+ const last = args.attempts[args.attempts.length - 1];
622
+ if (!last) return { next: null, reason: "ladder_exhausted" };
623
+ const brokenProxy = isProxyFailure(attemptSignal(last));
624
+ if (!brokenProxy && !shouldEscalate(attemptSignal(last))) {
625
+ return { next: null, reason: "site_fault_is_final" };
626
+ }
627
+ const next = nextPlannedRoute(
628
+ args.routes,
629
+ args.attempts.map((attempt) => ({
630
+ tier: attempt.route.kind === "proxy" ? attempt.route.tier : "direct",
631
+ proxyFailure: isProxyFailure(attemptSignal(attempt))
632
+ }))
633
+ );
634
+ if (!next) return { next: null, reason: args.routes.length === 1 ? "not_configured" : "ladder_exhausted" };
635
+ if (args.remainingMs < args.reserveMs + args.navTimeoutMs) {
636
+ return { next: null, reason: "out_of_budget" };
637
+ }
638
+ return { next, reason: "escalate" };
639
+ }
640
+ function reportableFailure(attempts) {
641
+ const siteVerdicts = attempts.filter((attempt) => !isProxyFailure(attemptSignal(attempt)));
642
+ const chosen = siteVerdicts.find((attempt) => attempt.status !== null) ?? siteVerdicts[siteVerdicts.length - 1] ?? attempts[attempts.length - 1];
643
+ if (!chosen) throw new Error("reportableFailure called with no attempts");
644
+ return chosen.failure;
645
+ }
646
+
647
+ // src/engine/landing-library/fidelity.ts
648
+ import sharp from "sharp";
649
+ var COMPARISON_SIZE = 32;
650
+ function pixelSimilarity(a, b) {
651
+ const length = Math.min(a.length, b.length);
652
+ if (length === 0) return 0;
653
+ let total = 0;
654
+ for (let i = 0; i < length; i++) {
655
+ total += Math.abs((a[i] ?? 0) - (b[i] ?? 0));
656
+ }
657
+ return 1 - total / (length * 255);
658
+ }
659
+ async function scoreFidelity(live, rendered) {
660
+ const [liveMeta, renderedMeta] = await Promise.all([sharp(live).metadata(), sharp(rendered).metadata()]);
661
+ const liveSize = { width: liveMeta.width ?? 0, height: liveMeta.height ?? 0 };
662
+ const renderedSize = { width: renderedMeta.width ?? 0, height: renderedMeta.height ?? 0 };
663
+ const [livePixels, renderedPixels] = await Promise.all([toGreyGrid(live), toGreyGrid(rendered)]);
664
+ const score = pixelSimilarity(livePixels, renderedPixels);
665
+ const heightRatio = liveSize.height > 0 && renderedSize.height > 0 ? Math.min(liveSize.height, renderedSize.height) / Math.max(liveSize.height, renderedSize.height) : 0;
666
+ return {
667
+ score,
668
+ liveSize,
669
+ renderedSize,
670
+ ...heightRatio < 0.8 ? { note: `height differs by ${Math.round((1 - heightRatio) * 100)}% \u2014 the bundle reflowed` } : {}
671
+ };
672
+ }
673
+ async function toGreyGrid(image) {
674
+ const raw = await sharp(image).greyscale().resize(COMPARISON_SIZE, COMPARISON_SIZE, { fit: "fill" }).raw().toBuffer();
675
+ return new Uint8Array(raw);
676
+ }
677
+
678
+ // src/engine/landing-library/motion.ts
679
+ var EMPTY_MOTION = {
680
+ hasMotion: false,
681
+ // `none` rather than "no motion": it is the `MOTION_KINDS` member for this,
682
+ // so a section with no movement is findable by the same facet as everything
683
+ // else instead of being a special case only prose describes.
684
+ summary: "none",
685
+ entrance: [],
686
+ hover: [],
687
+ scroll: [],
688
+ loop: [],
689
+ libraries: [],
690
+ respectsReducedMotion: false
691
+ };
692
+ function isWorthFilming(motion) {
693
+ return motion.entrance.length + motion.scroll.length + motion.loop.length > 0;
694
+ }
695
+ async function collectMotion(page, selector) {
696
+ const raw = await page.evaluate(inPageCollectMotion, selector).catch(() => null);
697
+ if (!raw) return EMPTY_MOTION;
698
+ return { ...raw, summary: summarizeMotion(raw) };
699
+ }
700
+ var HOVER_TRANSFORMS = /* @__PURE__ */ new Set(["lift", "grow", "tilt", "shift", "spin", "shadow", "animate"]);
701
+ var KEYFRAME_PATTERNS = [
702
+ [/marquee|ticker|scroll(ing)?-?(x|left|right)/, "marquee"],
703
+ [/parallax/, "parallax"],
704
+ [/sticky|pin(ned)?/, "sticky-pin"],
705
+ [/count(er|up)/, "counter"],
706
+ [/zoom|scale|pulse|grow/, "zoom"],
707
+ [/fade|opacity|appear/, "fade"],
708
+ [/slide|translate|in-?(left|right|up|down)/, "slide-in"]
709
+ ];
710
+ function toMotionKinds(kind, channel) {
711
+ if (channel === "hover") return [HOVER_TRANSFORMS.has(kind) ? "hover-lift" : "fade"];
712
+ const name = kind.toLowerCase();
713
+ const matched = KEYFRAME_PATTERNS.filter(([pattern]) => pattern.test(name)).map(([, motionKind]) => motionKind);
714
+ if (matched.length > 0) return matched;
715
+ return [channel === "loop" ? "marquee" : "scroll-reveal"];
716
+ }
717
+ function motionKindsOf(motion) {
718
+ const kinds = /* @__PURE__ */ new Set();
719
+ const collect = (effects, channel) => {
720
+ for (const effect of effects) {
721
+ for (const kind of toMotionKinds(effect.kind, channel)) kinds.add(kind);
722
+ }
723
+ };
724
+ collect(motion.entrance, "entrance");
725
+ collect(motion.hover, "hover");
726
+ collect(motion.scroll, "scroll");
727
+ collect(motion.loop, "loop");
728
+ const delays = new Set(motion.entrance.map((effect) => effect.delayMs ?? 0).filter((ms) => ms > 0));
729
+ if (delays.size > 1) kinds.add("stagger");
730
+ return [...kinds];
731
+ }
732
+ function summarizeMotion(motion) {
733
+ const kinds = motionKindsOf(motion);
734
+ if (kinds.length === 0 && motion.libraries.length === 0) return "none";
735
+ const parts = [...kinds];
736
+ if (motion.libraries.length > 0) parts.push(`via ${motion.libraries.join("/")}`);
737
+ return parts.join(", ") + (motion.respectsReducedMotion ? "" : " (ignores reduced-motion)");
738
+ }
739
+ var inPageCollectMotion = (selector) => {
740
+ const root = document.querySelector(selector);
741
+ const empty = {
742
+ hasMotion: false,
743
+ entrance: [],
744
+ hover: [],
745
+ scroll: [],
746
+ loop: [],
747
+ libraries: [],
748
+ respectsReducedMotion: false
749
+ };
750
+ if (!root) return empty;
751
+ const entrance = [];
752
+ const hover = [];
753
+ const scroll = [];
754
+ const loop = [];
755
+ const keyframesByName = /* @__PURE__ */ new Map();
756
+ let respectsReducedMotion = false;
757
+ const inSection = (selectorText) => {
758
+ for (const part of selectorText.split(",")) {
759
+ const base = part.replace(/::[a-zA-Z-]+(\([^)]*\))?/g, "").replace(/:(hover|focus|focus-visible|focus-within|active|visited|target|checked|disabled)\b/g, "").trim();
760
+ if (!base) continue;
761
+ try {
762
+ if (root.matches(base) || root.querySelector(base)) return true;
763
+ } catch {
764
+ return true;
765
+ }
766
+ }
767
+ return false;
768
+ };
769
+ const toMs = (value) => {
770
+ const first = value.split(",")[0]?.trim() ?? "";
771
+ if (first.endsWith("ms")) return Number.parseFloat(first);
772
+ if (first.endsWith("s")) return Number.parseFloat(first) * 1e3;
773
+ return void 0;
774
+ };
775
+ const classifyKeyframes = (body) => {
776
+ const text = body.toLowerCase();
777
+ const fades = /opacity\s*:\s*0(\.0+)?\s*[;}]/.test(text);
778
+ if (/translatey\(\s*-?\d/.test(text)) {
779
+ const upward = /translatey\(\s*(\d|\.)/.test(text);
780
+ return fades ? upward ? "fade-up" : "fade-down" : upward ? "slide-up" : "slide-down";
781
+ }
782
+ if (/translatex\(\s*-?\d/.test(text)) return fades ? "fade-in-x" : "slide-in-x";
783
+ if (/scale\(/.test(text)) return fades ? "fade-zoom" : "zoom";
784
+ if (/rotate\(/.test(text)) return "spin";
785
+ if (fades) return "fade";
786
+ return "animate";
787
+ };
788
+ const classifyHover = (style) => {
789
+ const transform = style.transform ?? "";
790
+ if (/translatey\(\s*-/i.test(transform)) return "lift";
791
+ if (/scale\(\s*(1\.\d|[2-9])/i.test(transform)) return "grow";
792
+ if (/rotate\(/i.test(transform)) return "tilt";
793
+ if (transform && transform !== "none") return "shift";
794
+ if (style.boxShadow) return "shadow";
795
+ if (style.opacity) return "dim";
796
+ if (style.backgroundColor || style.color) return "recolor";
797
+ return null;
798
+ };
799
+ const readStyleRule = (rule, insideScrollTimeline) => {
800
+ const style = rule.style;
801
+ const isHover = /:hover\b/.test(rule.selectorText);
802
+ if (isHover) {
803
+ const kind = classifyHover(style);
804
+ if (!kind || !inSection(rule.selectorText)) return;
805
+ hover.push({
806
+ kind,
807
+ selector: rule.selectorText.slice(0, 120),
808
+ durationMs: toMs(style.transitionDuration ?? ""),
809
+ easing: style.transitionTimingFunction || void 0
810
+ });
811
+ return;
812
+ }
813
+ const animationName = style.animationName;
814
+ if (!animationName || animationName === "none") return;
815
+ if (!inSection(rule.selectorText)) return;
816
+ const effect = {
817
+ kind: animationName,
818
+ selector: rule.selectorText.slice(0, 120),
819
+ durationMs: toMs(style.animationDuration ?? ""),
820
+ delayMs: toMs(style.animationDelay ?? ""),
821
+ easing: style.animationTimingFunction || void 0
822
+ };
823
+ const infinite = (style.animationIterationCount ?? "").includes("infinite");
824
+ const scrollDriven = insideScrollTimeline || Boolean(style.getPropertyValue("animation-timeline"));
825
+ if (scrollDriven) scroll.push(effect);
826
+ else if (infinite) loop.push(effect);
827
+ else entrance.push(effect);
828
+ };
829
+ const walk = (rules, insideScrollTimeline) => {
830
+ for (const rule of Array.from(rules)) {
831
+ if (rule instanceof CSSKeyframesRule) {
832
+ keyframesByName.set(rule.name, rule.cssText);
833
+ continue;
834
+ }
835
+ if (rule instanceof CSSStyleRule) {
836
+ try {
837
+ readStyleRule(rule, insideScrollTimeline);
838
+ } catch {
839
+ }
840
+ continue;
841
+ }
842
+ if (rule instanceof CSSMediaRule) {
843
+ if (rule.conditionText.includes("prefers-reduced-motion")) {
844
+ respectsReducedMotion = true;
845
+ continue;
846
+ }
847
+ walk(rule.cssRules, insideScrollTimeline);
848
+ continue;
849
+ }
850
+ const grouping = rule;
851
+ if (grouping.cssRules) walk(grouping.cssRules, insideScrollTimeline);
852
+ }
853
+ };
854
+ for (const sheet of Array.from(document.styleSheets)) {
855
+ if (sheet.ownerNode?.hasAttribute?.("data-baker-freeze")) continue;
856
+ try {
857
+ walk(sheet.cssRules, false);
858
+ } catch {
859
+ }
860
+ }
861
+ for (const effect of [...entrance, ...loop, ...scroll]) {
862
+ const body = keyframesByName.get(effect.kind);
863
+ if (!body) continue;
864
+ const classified = classifyKeyframes(body);
865
+ effect.kind = loop.includes(effect) && classified.startsWith("slide") ? "marquee" : classified;
866
+ }
867
+ const libraries = [];
868
+ const scoped = window ?? {};
869
+ if (scoped.gsap || document.querySelector("[data-gsap]")) libraries.push("gsap");
870
+ if (document.querySelector("[data-framer-name], [data-projection-id]")) libraries.push("framer-motion");
871
+ if (document.querySelector("[data-aos]")) libraries.push("aos");
872
+ if (scoped.Lenis || document.querySelector("[data-lenis]")) libraries.push("lenis");
873
+ if (document.querySelector("[data-scroll], [data-scroll-container]")) libraries.push("locomotive");
874
+ return {
875
+ hasMotion: entrance.length + hover.length + scroll.length + loop.length + libraries.length > 0,
876
+ entrance: entrance.slice(0, 12),
877
+ hover: hover.slice(0, 12),
878
+ scroll: scroll.slice(0, 12),
879
+ loop: loop.slice(0, 12),
880
+ libraries,
881
+ respectsReducedMotion
882
+ };
883
+ };
884
+
885
+ // src/engine/landing-library/motionTake.ts
886
+ import sharp2 from "sharp";
887
+
888
+ // src/engine/landing-library/certificate.ts
889
+ function formatDate(unixSeconds) {
890
+ return new Date(unixSeconds * 1e3).toLocaleDateString("en-GB", {
891
+ day: "numeric",
892
+ month: "long",
893
+ year: "numeric"
894
+ });
895
+ }
896
+ function describeCapturedCertificate(details, now = Date.now()) {
897
+ if (!details) {
898
+ return {
899
+ certificateValidated: false,
900
+ certificate: null,
901
+ certificateNotes: ["This page was served over an unencrypted connection, so nothing about it could be verified."]
902
+ };
903
+ }
904
+ const notes = [];
905
+ if (details.validTo !== void 0 && details.validTo * 1e3 < now) {
906
+ notes.push(`The site's security certificate expired on ${formatDate(details.validTo)}.`);
907
+ }
908
+ if (details.validFrom !== void 0 && details.validFrom * 1e3 > now) {
909
+ notes.push(`The site's security certificate is not valid until ${formatDate(details.validFrom)}.`);
910
+ }
911
+ return { certificateValidated: false, certificate: details, certificateNotes: notes };
912
+ }
913
+
914
+ // src/engine/landing-library/prepare.ts
915
+ function isNavigationTeardown(error) {
916
+ const message = error instanceof Error ? error.message : typeof error === "string" ? error : "";
917
+ return message.includes("Execution context was destroyed") || message.includes("Cannot find context with specified id") || message.includes("frame was detached") || message.includes("has been closed");
918
+ }
919
+ var CONSENT_SELECTORS = [
920
+ "#onetrust-accept-btn-handler",
921
+ "#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll",
922
+ "button#didomi-notice-agree-button",
923
+ "[aria-label='Accept all']",
924
+ "[data-testid='uc-accept-all-button']",
925
+ ".cc-allow",
926
+ ".cookie-accept"
927
+ ];
928
+ var CONSENT_TEXTS = ["Accept all", "Accept All", "Allow all", "I agree", "Got it", "Aceptar todo"];
929
+ var CONSENT_HOSTS = [
930
+ "transcend-cdn.com",
931
+ "cookielaw.org",
932
+ "onetrust.com",
933
+ "cookiebot.com",
934
+ "osano.com",
935
+ "trustarc.com",
936
+ "truste.com",
937
+ "usercentrics.eu",
938
+ "didomi.io",
939
+ "privacy-center.org",
940
+ "iubenda.com",
941
+ "termly.io",
942
+ "cookieyes.com",
943
+ "sp-prod.net",
944
+ "quantcast.com",
945
+ "consensu.org",
946
+ "ketch.com",
947
+ "secureprivacy.ai",
948
+ "civicuk.com"
949
+ ];
950
+ async function blockConsentManagers(page) {
951
+ await page.route("**/*", (route) => {
952
+ let host = "";
953
+ try {
954
+ host = new URL(route.request().url()).host;
955
+ } catch {
956
+ return route.continue();
957
+ }
958
+ const isConsentVendor = CONSENT_HOSTS.some((vendor) => host === vendor || host.endsWith(`.${vendor}`));
959
+ return isConsentVendor ? route.abort() : route.continue();
960
+ });
961
+ }
962
+ var ignore = () => void 0;
963
+ async function preparePage(page, url, timeoutMs) {
964
+ const documentStatus = trackMainDocumentStatus(page);
965
+ try {
966
+ const response = await page.goto(url, { waitUntil: "domcontentloaded", timeout: timeoutMs });
967
+ await settleNavigation(page);
968
+ await page.waitForLoadState("networkidle", { timeout: 8e3 }).catch(ignore);
969
+ await dismissConsent(page, 4e3);
970
+ await scrollThroughPage(page);
971
+ await dismissConsent(page, 1e3);
972
+ await acrossNavigation(
973
+ page,
974
+ () => page.evaluate(async () => {
975
+ await document.fonts.ready;
976
+ })
977
+ );
978
+ await freezeMotion(page);
979
+ await unpinOverlays(page);
980
+ const measured = await acrossNavigation(
981
+ page,
982
+ () => page.evaluate(() => ({
983
+ finalUrl: location.href,
984
+ title: document.title,
985
+ documentHeight: Math.max(document.documentElement.scrollHeight, document.body?.scrollHeight ?? 0),
986
+ bodyText: (document.body?.innerText ?? "").slice(0, 2e3)
987
+ }))
988
+ );
989
+ const served = documentStatus.lastResponse() ?? response;
990
+ const certificate = await served?.securityDetails().catch(() => null);
991
+ return {
992
+ ...measured,
993
+ status: documentStatus.last() ?? response?.status() ?? null,
994
+ security: describeCapturedCertificate(certificate)
995
+ };
996
+ } finally {
997
+ documentStatus.stop();
998
+ }
999
+ }
1000
+ function trackMainDocumentStatus(page) {
1001
+ let status = null;
1002
+ let last = null;
1003
+ const onResponse = (response) => {
1004
+ const request = response.request();
1005
+ if (request.resourceType() !== "document" || request.frame() !== page.mainFrame()) return;
1006
+ const code = response.status();
1007
+ if (code >= 300 && code < 400) return;
1008
+ status = code;
1009
+ last = response;
1010
+ };
1011
+ page.on("response", onResponse);
1012
+ return { last: () => status, lastResponse: () => last, stop: () => page.off("response", onResponse) };
1013
+ }
1014
+ var NAVIGATION_QUIET_MS = 1500;
1015
+ var NAVIGATION_SETTLE_BUDGET_MS = 2e4;
1016
+ async function settleNavigation(page, budgetMs = NAVIGATION_SETTLE_BUDGET_MS) {
1017
+ let lastNavigatedAt = Date.now();
1018
+ const onNavigated = (frame) => {
1019
+ if (frame === page.mainFrame()) lastNavigatedAt = Date.now();
1020
+ };
1021
+ page.on("framenavigated", onNavigated);
1022
+ try {
1023
+ const deadline = Date.now() + budgetMs;
1024
+ while (Date.now() < deadline && Date.now() - lastNavigatedAt < NAVIGATION_QUIET_MS) {
1025
+ await page.waitForTimeout(250);
1026
+ }
1027
+ } finally {
1028
+ page.off("framenavigated", onNavigated);
1029
+ }
1030
+ }
1031
+ async function acrossNavigation(page, run) {
1032
+ try {
1033
+ return await run();
1034
+ } catch (error) {
1035
+ if (!isNavigationTeardown(error)) throw error;
1036
+ await settleNavigation(page);
1037
+ return await run();
1038
+ }
1039
+ }
1040
+ async function settleConsent(page) {
1041
+ await dismissConsent(page, 4e3);
1042
+ await page.mouse.wheel(0, 400).catch(ignore);
1043
+ await page.waitForTimeout(1500);
1044
+ await dismissConsent(page, 2e3);
1045
+ await page.evaluate(() => window.scrollTo(0, 0)).catch(ignore);
1046
+ }
1047
+ async function dismissConsent(page, waitForBannerMs) {
1048
+ await page.locator(CONSENT_SELECTORS.join(", ")).first().waitFor({ state: "attached", timeout: waitForBannerMs }).catch(ignore);
1049
+ for (const selector of CONSENT_SELECTORS) {
1050
+ const found = page.locator(selector).first();
1051
+ if (!await found.count().catch(() => 0)) continue;
1052
+ await found.click({ timeout: 2e3, force: true }).catch(ignore);
1053
+ await page.waitForTimeout(400);
1054
+ return;
1055
+ }
1056
+ for (const text of CONSENT_TEXTS) {
1057
+ const button = page.getByRole("button", { name: text, exact: false }).first();
1058
+ if (!await button.count().catch(() => 0)) continue;
1059
+ if (!await button.isVisible().catch(() => false)) continue;
1060
+ await button.click({ timeout: 2e3, force: true }).catch(ignore);
1061
+ await page.waitForTimeout(400);
1062
+ return;
1063
+ }
1064
+ }
1065
+ async function scrollThroughPage(page) {
1066
+ await acrossNavigation(
1067
+ page,
1068
+ () => page.evaluate(async () => {
1069
+ const step = 600;
1070
+ const pause = () => new Promise((resolve) => setTimeout(resolve, 250));
1071
+ for (let i = 0; i < 40; i++) {
1072
+ window.scrollBy(0, step);
1073
+ await pause();
1074
+ const reachedBottom = window.scrollY + window.innerHeight >= document.documentElement.scrollHeight - 2;
1075
+ if (reachedBottom) break;
1076
+ }
1077
+ window.scrollTo(0, 0);
1078
+ await pause();
1079
+ })
1080
+ );
1081
+ await page.waitForTimeout(500);
1082
+ }
1083
+ var MAX_HEADER_HEIGHT = 220;
1084
+ function inPageUnpinOverlays(maxHeaderHeight) {
1085
+ window.scrollTo(0, 0);
1086
+ for (const element of Array.from(document.querySelectorAll("*"))) {
1087
+ const position = getComputedStyle(element).position;
1088
+ if (position === "sticky") {
1089
+ element.style.setProperty("position", "static", "important");
1090
+ continue;
1091
+ }
1092
+ if (position !== "fixed") continue;
1093
+ const rect = element.getBoundingClientRect();
1094
+ const isTopAnchoredHeader = rect.top <= 8 && rect.height > 0 && rect.height <= maxHeaderHeight;
1095
+ if (isTopAnchoredHeader) {
1096
+ element.style.setProperty("position", "absolute", "important");
1097
+ element.style.setProperty("bottom", "auto", "important");
1098
+ } else {
1099
+ element.style.setProperty("display", "none", "important");
1100
+ }
1101
+ }
1102
+ }
1103
+ async function unpinOverlays(page) {
1104
+ await acrossNavigation(page, () => page.evaluate(inPageUnpinOverlays, MAX_HEADER_HEIGHT));
1105
+ await page.waitForTimeout(250);
1106
+ }
1107
+ async function freezeMotion(page) {
1108
+ await acrossNavigation(
1109
+ page,
1110
+ () => page.evaluate(() => {
1111
+ const highestTimer = window.setTimeout(() => void 0, 0);
1112
+ for (let id = 1; id <= highestTimer; id++) window.clearInterval(id);
1113
+ const style = document.createElement("style");
1114
+ style.setAttribute("data-baker-freeze", "true");
1115
+ style.textContent = `*, *::before, *::after {
1116
+ animation-play-state: paused !important;
1117
+ animation-delay: 0s !important;
1118
+ transition: none !important;
1119
+ }`;
1120
+ document.head.appendChild(style);
1121
+ for (const video of Array.from(document.querySelectorAll("video"))) {
1122
+ video.pause();
1123
+ }
1124
+ })
1125
+ );
1126
+ await page.waitForTimeout(250);
1127
+ }
1128
+
1129
+ // src/engine/landing-library/geometry.ts
1130
+ function adaptiveGapThreshold(bands) {
1131
+ const sorted = [...bands].sort((a, b) => a.top - b.top);
1132
+ const gaps = [];
1133
+ for (let i = 0; i < sorted.length - 1; i++) {
1134
+ const current = sorted[i];
1135
+ const next = sorted[i + 1];
1136
+ if (!current || !next) continue;
1137
+ if (next.top > current.bottom) {
1138
+ const gap = next.top - current.bottom;
1139
+ if (gap < 200) gaps.push(gap);
1140
+ }
1141
+ }
1142
+ gaps.sort((a, b) => a - b);
1143
+ const p75 = gaps[Math.floor(gaps.length * 0.75)];
1144
+ if (p75 === void 0) return 15;
1145
+ return Math.max(10, Math.min(50, p75));
1146
+ }
1147
+ function bandsCollide(a, b, margin, maxGap) {
1148
+ const shrunkA = { top: a.top + margin, bottom: a.bottom - margin };
1149
+ const shrunkB = { top: b.top + margin, bottom: b.bottom - margin };
1150
+ const overlaps = shrunkA.top <= shrunkB.bottom && shrunkA.bottom >= shrunkB.top || shrunkB.top <= shrunkA.bottom && shrunkB.bottom >= shrunkA.top;
1151
+ if (overlaps) return true;
1152
+ const gap = Math.min(Math.abs(shrunkA.bottom - shrunkB.top), Math.abs(shrunkB.bottom - shrunkA.top));
1153
+ return gap <= maxGap;
1154
+ }
1155
+ function shouldPromoteToParent(group) {
1156
+ const isRunt = group.childCount < 3 || group.height < 80;
1157
+ return isRunt && group.parentHeight < 1600;
1158
+ }
1159
+
1160
+ // src/engine/landing-library/segment.ts
1161
+ async function installPageRuntime(page) {
1162
+ await page.addInitScript({
1163
+ content: `
1164
+ window.__name = window.__name || function (target) { return target; };
1165
+ window.__bakerGeom = {
1166
+ adaptiveGapThreshold: ${adaptiveGapThreshold.toString()},
1167
+ bandsCollide: ${bandsCollide.toString()},
1168
+ shouldPromoteToParent: ${shouldPromoteToParent.toString()},
1169
+ };`
1170
+ });
1171
+ }
1172
+ async function segmentPage(page, options) {
1173
+ return await page.evaluate(inPageSegment, options);
1174
+ }
1175
+ var inPageSegment = (options) => {
1176
+ const geom = window.__bakerGeom;
1177
+ const scrollX = window.scrollX;
1178
+ const scrollY = window.scrollY;
1179
+ const docWidth = Math.max(document.documentElement.scrollWidth, document.body?.scrollWidth ?? 0);
1180
+ const docHeight = Math.max(document.documentElement.scrollHeight, document.body?.scrollHeight ?? 0);
1181
+ const rectOf = (element) => {
1182
+ const r = element.getBoundingClientRect();
1183
+ const top = Math.max(0, Math.round(r.top + scrollY));
1184
+ const left = Math.max(0, Math.round(r.left + scrollX));
1185
+ return {
1186
+ top,
1187
+ left,
1188
+ bottom: Math.min(docHeight, Math.round(r.bottom + scrollY)),
1189
+ right: Math.min(docWidth, Math.round(r.right + scrollX))
1190
+ };
1191
+ };
1192
+ const syntheticRect = (element) => {
1193
+ const children = Array.from(element.children);
1194
+ if (children.length === 0) return null;
1195
+ let top = Number.POSITIVE_INFINITY;
1196
+ let left = Number.POSITIVE_INFINITY;
1197
+ let bottom = Number.NEGATIVE_INFINITY;
1198
+ let right = Number.NEGATIVE_INFINITY;
1199
+ for (const child of children) {
1200
+ const r = rectOf(child);
1201
+ if (r.bottom - r.top <= 0 && r.right - r.left <= 0) continue;
1202
+ top = Math.min(top, r.top);
1203
+ left = Math.min(left, r.left);
1204
+ bottom = Math.max(bottom, r.bottom);
1205
+ right = Math.max(right, r.right);
1206
+ }
1207
+ if (!Number.isFinite(top) || !Number.isFinite(bottom)) return null;
1208
+ return { top, left, bottom, right };
1209
+ };
1210
+ const boxOf = (element) => {
1211
+ const style = getComputedStyle(element);
1212
+ const r = style.display === "contents" ? syntheticRect(element) : rectOf(element);
1213
+ if (!r) return null;
1214
+ return { ...r, height: r.bottom - r.top, width: r.right - r.left };
1215
+ };
1216
+ const hasHiddenAncestor = (element) => {
1217
+ let current = element;
1218
+ while (current && current !== document.documentElement) {
1219
+ const style = getComputedStyle(current);
1220
+ if (style.display === "none" || style.visibility === "hidden" || Number(style.opacity) === 0) return true;
1221
+ current = current.parentElement;
1222
+ }
1223
+ return false;
1224
+ };
1225
+ const isClippedByAncestor = (element, box) => {
1226
+ let parent = element.parentElement;
1227
+ while (parent && parent !== document.documentElement) {
1228
+ const style = getComputedStyle(parent);
1229
+ const clips = style.overflow === "hidden" || style.overflowX === "hidden" || style.overflowY === "hidden" || style.overflow === "clip";
1230
+ if (clips) {
1231
+ const p = rectOf(parent);
1232
+ const intersects = box.left < p.right && box.right > p.left && box.top < p.bottom && box.bottom > p.top;
1233
+ if (!intersects) return true;
1234
+ }
1235
+ parent = parent.parentElement;
1236
+ }
1237
+ return false;
1238
+ };
1239
+ const directText = (element) => {
1240
+ let text = "";
1241
+ for (const node of Array.from(element.childNodes)) {
1242
+ if (node.nodeType === 3) text += node.textContent ?? "";
1243
+ }
1244
+ return text.trim();
1245
+ };
1246
+ const NON_COPY_TAGS = /* @__PURE__ */ new Set(["SCRIPT", "STYLE", "NOSCRIPT", "TEMPLATE"]);
1247
+ const visibleText = (root) => {
1248
+ let text = "";
1249
+ const hiddenCache = /* @__PURE__ */ new Map();
1250
+ const isHidden = (element) => {
1251
+ const cached = hiddenCache.get(element);
1252
+ if (cached !== void 0) return cached;
1253
+ const style = getComputedStyle(element);
1254
+ const hidden = style.display === "none" || style.visibility === "hidden";
1255
+ hiddenCache.set(element, hidden);
1256
+ return hidden;
1257
+ };
1258
+ const walker = document.createTreeWalker(root, NodeFilter.SHOW_TEXT, {
1259
+ acceptNode: (node) => {
1260
+ let parent = node.parentElement;
1261
+ while (parent) {
1262
+ if (NON_COPY_TAGS.has(parent.tagName) || isHidden(parent)) return NodeFilter.FILTER_REJECT;
1263
+ if (parent === root) break;
1264
+ parent = parent.parentElement;
1265
+ }
1266
+ return NodeFilter.FILTER_ACCEPT;
1267
+ }
1268
+ });
1269
+ while (walker.nextNode() && text.length < 400) {
1270
+ text += ` ${walker.currentNode.textContent ?? ""}`;
1271
+ }
1272
+ return text.replace(/\s+/g, " ").trim();
1273
+ };
1274
+ const GRAPHIC_TAGS = /* @__PURE__ */ new Set(["img", "svg", "video", "picture", "canvas", "iframe"]);
1275
+ const hasBackgroundImage = (element) => {
1276
+ const bg = getComputedStyle(element).backgroundImage;
1277
+ return Boolean(bg) && bg !== "none" && bg.includes("url(");
1278
+ };
1279
+ const isContentLeaf = (element) => {
1280
+ const tag = element.tagName.toLowerCase();
1281
+ if (GRAPHIC_TAGS.has(tag)) return true;
1282
+ if (directText(element).length > 0) return true;
1283
+ return hasBackgroundImage(element);
1284
+ };
1285
+ const selectorFor = (element) => {
1286
+ const parts = [];
1287
+ let current = element;
1288
+ while (current && current !== document.documentElement) {
1289
+ const tag = current.tagName.toLowerCase();
1290
+ if (tag === "body") {
1291
+ parts.unshift("body");
1292
+ break;
1293
+ }
1294
+ const parent = current.parentElement;
1295
+ if (!parent) {
1296
+ parts.unshift(tag);
1297
+ break;
1298
+ }
1299
+ const sameTag = Array.from(parent.children).filter((c) => c.tagName === current?.tagName);
1300
+ const position = sameTag.indexOf(current) + 1;
1301
+ parts.unshift(sameTag.length > 1 ? `${tag}:nth-of-type(${position})` : tag);
1302
+ current = parent;
1303
+ }
1304
+ return parts.join(" > ");
1305
+ };
1306
+ const leaves = [];
1307
+ const all = document.querySelectorAll("*");
1308
+ const limit = Math.min(all.length, options.maxElements);
1309
+ for (let i = 0; i < limit; i++) {
1310
+ const element = all[i];
1311
+ if (!element) continue;
1312
+ const tag = element.tagName.toLowerCase();
1313
+ if (tag === "script" || tag === "style" || tag === "noscript" || tag === "link" || tag === "head") continue;
1314
+ if (!isContentLeaf(element)) continue;
1315
+ const box = boxOf(element);
1316
+ if (!box || box.height <= 0 || box.width <= 0) continue;
1317
+ if (box.height > options.maxSectionHeight) continue;
1318
+ if (hasHiddenAncestor(element)) continue;
1319
+ if (isClippedByAncestor(element, box)) continue;
1320
+ leaves.push({
1321
+ element,
1322
+ top: box.top,
1323
+ bottom: box.bottom,
1324
+ left: box.left,
1325
+ right: box.right,
1326
+ height: box.height
1327
+ });
1328
+ }
1329
+ if (leaves.length === 0) return [];
1330
+ const gapThreshold = geom.adaptiveGapThreshold(leaves.map((l) => ({ top: l.top, bottom: l.bottom })));
1331
+ const commonAncestor = (elements) => {
1332
+ let ancestor = elements[0] ?? null;
1333
+ while (ancestor && !elements.every((e) => ancestor?.contains(e))) {
1334
+ ancestor = ancestor.parentElement;
1335
+ }
1336
+ return ancestor;
1337
+ };
1338
+ const abandon = (members) => members.map((m) => ({ ...m, sealed: true }));
1339
+ const findCoveringAncestor = (start, bounds) => {
1340
+ let element = start;
1341
+ while (element) {
1342
+ const box = boxOf(element);
1343
+ if (!box) return null;
1344
+ if (box.height > options.maxSectionHeight) return null;
1345
+ const covers = box.top <= bounds.top && box.bottom >= bounds.bottom && box.left <= bounds.left && box.right >= bounds.right;
1346
+ if (covers) return { element, box };
1347
+ if (!element.parentElement || element.parentElement === document.documentElement) return null;
1348
+ element = element.parentElement;
1349
+ }
1350
+ return null;
1351
+ };
1352
+ const mergeBucket = (members) => {
1353
+ const bounds = {
1354
+ top: Math.min(...members.map((m) => m.top)),
1355
+ bottom: Math.max(...members.map((m) => m.bottom)),
1356
+ left: Math.min(...members.map((m) => m.left)),
1357
+ right: Math.max(...members.map((m) => m.right))
1358
+ };
1359
+ const covering = findCoveringAncestor(commonAncestor(members.map((m) => m.root)), bounds);
1360
+ if (!covering) return abandon(members);
1361
+ return [
1362
+ {
1363
+ root: covering.element,
1364
+ top: covering.box.top,
1365
+ bottom: covering.box.bottom,
1366
+ left: covering.box.left,
1367
+ right: covering.box.right,
1368
+ height: covering.box.height,
1369
+ leaves: members.flatMap((m) => m.leaves),
1370
+ sealed: false
1371
+ }
1372
+ ];
1373
+ };
1374
+ const clusterOnce = (groups2) => {
1375
+ const buckets = [];
1376
+ for (const group of groups2) {
1377
+ if (group.sealed) {
1378
+ buckets.push([group]);
1379
+ continue;
1380
+ }
1381
+ const target = buckets.find(
1382
+ (bucket) => bucket.some(
1383
+ (member) => !member.sealed && geom.bandsCollide(
1384
+ { top: member.top, bottom: member.bottom },
1385
+ { top: group.top, bottom: group.bottom },
1386
+ options.collisionMargin,
1387
+ gapThreshold
1388
+ )
1389
+ )
1390
+ );
1391
+ if (target) target.push(group);
1392
+ else buckets.push([group]);
1393
+ }
1394
+ if (buckets.length === groups2.length) return groups2;
1395
+ return buckets.flatMap((bucket) => bucket.length === 1 ? [bucket[0]] : mergeBucket(bucket));
1396
+ };
1397
+ let groups = leaves.map((leaf) => ({
1398
+ root: leaf.element,
1399
+ top: leaf.top,
1400
+ bottom: leaf.bottom,
1401
+ left: leaf.left,
1402
+ right: leaf.right,
1403
+ height: leaf.height,
1404
+ leaves: [leaf],
1405
+ sealed: false
1406
+ }));
1407
+ for (let pass = 0; pass < 40; pass++) {
1408
+ const next = clusterOnce(groups);
1409
+ if (next.length === groups.length) break;
1410
+ groups = next;
1411
+ }
1412
+ for (let pass = 0; pass < 10; pass++) {
1413
+ let promoted = false;
1414
+ groups = groups.map((group) => {
1415
+ const parent = group.root.parentElement;
1416
+ if (!parent || parent === document.documentElement || parent === document.body) return group;
1417
+ const parentBox = boxOf(parent);
1418
+ if (!parentBox) return group;
1419
+ if (!geom.shouldPromoteToParent({
1420
+ childCount: group.leaves.length,
1421
+ height: group.height,
1422
+ parentHeight: parentBox.height
1423
+ })) {
1424
+ return group;
1425
+ }
1426
+ promoted = true;
1427
+ return {
1428
+ ...group,
1429
+ root: parent,
1430
+ top: parentBox.top,
1431
+ bottom: parentBox.bottom,
1432
+ left: parentBox.left,
1433
+ right: parentBox.right,
1434
+ height: parentBox.height
1435
+ };
1436
+ });
1437
+ if (!promoted) break;
1438
+ groups = clusterOnce(groups);
1439
+ }
1440
+ const sameBox = (a, b) => Math.abs(a.top - b.top) <= 4 && Math.abs(a.bottom - b.bottom) <= 4 && Math.abs(a.left - b.left) <= 4 && Math.abs(a.right - b.right) <= 4;
1441
+ const containsBox = (outer, inner) => outer.top - 4 <= inner.top && outer.bottom + 4 >= inner.bottom && outer.left - 4 <= inner.left && outer.right + 4 >= inner.right;
1442
+ const deduped = [];
1443
+ const area = (g) => (g.right - g.left) * g.height;
1444
+ for (const group of groups.slice().sort((a, b) => area(b) - area(a) || b.leaves.length - a.leaves.length)) {
1445
+ const duplicate = deduped.some(
1446
+ (kept) => kept.root === group.root || kept.root.contains(group.root) || sameBox(kept, group) || containsBox(kept, group)
1447
+ );
1448
+ if (!duplicate) deduped.push(group);
1449
+ }
1450
+ return deduped.filter((group) => group.height > 0 && group.right - group.left > 0).sort((a, b) => a.top - b.top).map((group, index) => ({
1451
+ index,
1452
+ selector: selectorFor(group.root),
1453
+ rect: {
1454
+ top: group.top,
1455
+ left: group.left,
1456
+ width: group.right - group.left,
1457
+ height: group.height
1458
+ },
1459
+ leafCount: group.leaves.length,
1460
+ textPreview: visibleText(group.root).slice(0, 200)
1461
+ }));
1462
+ };
1463
+
1464
+ // src/engine/landing-library/motionTake.ts
1465
+ var FRAME_TIMES_MS = [0, 120, 260, 450, 800, 1400];
1466
+ var FRAME_WIDTH = 460;
1467
+ var GRID_COLUMNS = 3;
1468
+ var LABEL_HEIGHT = 22;
1469
+ var FRAME_MARGIN_PX = 16;
1470
+ function clampToViewport(box, viewport) {
1471
+ const left = Math.max(0, Math.min(box.left, viewport.width));
1472
+ const top = Math.max(0, Math.min(box.top, viewport.height));
1473
+ const width = Math.min(box.width - (left - box.left), viewport.width - left);
1474
+ const height = Math.min(box.height - (top - box.top), viewport.height - top);
1475
+ if (width < 1 || height < 1) return null;
1476
+ return { left, top, width, height };
1477
+ }
1478
+ async function captureMotionTake(browser, url, selector, timeoutMs = 45e3) {
1479
+ const { context, page } = await newPage(browser, DESKTOP_VIEWPORT, { motion: true });
1480
+ try {
1481
+ await blockConsentManagers(page);
1482
+ await installPageRuntime(page);
1483
+ await page.goto(url, { waitUntil: "domcontentloaded", timeout: timeoutMs });
1484
+ await settleNavigation(page);
1485
+ await page.waitForLoadState("networkidle", { timeout: 8e3 }).catch(() => void 0);
1486
+ await settleConsent(page);
1487
+ const target = page.locator(selector).first();
1488
+ if (!await target.count().catch(() => 0)) return null;
1489
+ await page.evaluate((sectionSelector) => {
1490
+ const element = document.querySelector(sectionSelector);
1491
+ if (!element) return;
1492
+ const top = element.getBoundingClientRect().top + window.scrollY;
1493
+ window.scrollTo({ top: Math.max(0, top - window.innerHeight - 200), behavior: "instant" });
1494
+ }, selector);
1495
+ await page.waitForTimeout(600);
1496
+ const clip = await aimAtSection(page, selector);
1497
+ if (!clip) return null;
1498
+ await hideFloatingFurniture(page, selector);
1499
+ const frames = [];
1500
+ let previous = 0;
1501
+ for (const time of FRAME_TIMES_MS) {
1502
+ await page.waitForTimeout(Math.max(0, time - previous));
1503
+ previous = time;
1504
+ const shot = await page.screenshot({
1505
+ type: "png",
1506
+ timeout: 1e4,
1507
+ clip: { x: clip.left, y: clip.top, width: clip.width, height: clip.height }
1508
+ }).catch(() => null);
1509
+ if (shot) frames.push(shot);
1510
+ }
1511
+ if (frames.length === 0) return null;
1512
+ return { filmstrip: await composeFilmstrip(frames), frameCount: frames.length };
1513
+ } catch {
1514
+ return null;
1515
+ } finally {
1516
+ await context.close();
1517
+ }
1518
+ }
1519
+ async function aimAtSection(page, selector) {
1520
+ const box = await page.evaluate(
1521
+ ([sectionSelector, margin]) => {
1522
+ const element = document.querySelector(sectionSelector);
1523
+ if (!element) return null;
1524
+ const before = element.getBoundingClientRect();
1525
+ window.scrollTo({ top: Math.max(0, before.top + window.scrollY - margin), behavior: "instant" });
1526
+ const after = element.getBoundingClientRect();
1527
+ return {
1528
+ left: after.left,
1529
+ top: after.top - margin,
1530
+ width: after.width,
1531
+ height: after.height + margin,
1532
+ viewport: { width: window.innerWidth, height: window.innerHeight }
1533
+ };
1534
+ },
1535
+ [selector, FRAME_MARGIN_PX]
1536
+ );
1537
+ if (!box) return null;
1538
+ return clampToViewport(box, box.viewport);
1539
+ }
1540
+ async function hideFloatingFurniture(page, selector) {
1541
+ await page.evaluate((sectionSelector) => {
1542
+ const target = document.querySelector(sectionSelector);
1543
+ if (!target) return;
1544
+ for (const element of Array.from(document.querySelectorAll("*"))) {
1545
+ const position = getComputedStyle(element).position;
1546
+ if (position !== "fixed" && position !== "sticky") continue;
1547
+ if (element.contains(target) || target.contains(element) || element === target) continue;
1548
+ element.style.setProperty("visibility", "hidden", "important");
1549
+ }
1550
+ }, selector);
1551
+ }
1552
+ async function composeFilmstrip(frames) {
1553
+ const scaled = await Promise.all(frames.map((frame) => sharp2(frame).resize({ width: FRAME_WIDTH }).png().toBuffer()));
1554
+ const first = await sharp2(scaled[0]).metadata();
1555
+ const frameHeight = first.height ?? 300;
1556
+ const cellHeight = frameHeight + LABEL_HEIGHT;
1557
+ const rows = Math.ceil(scaled.length / GRID_COLUMNS);
1558
+ const width = FRAME_WIDTH * Math.min(GRID_COLUMNS, scaled.length);
1559
+ const composites = scaled.flatMap((frame, index) => {
1560
+ const column = index % GRID_COLUMNS;
1561
+ const row = Math.floor(index / GRID_COLUMNS);
1562
+ const label = Buffer.from(
1563
+ `<svg width="${FRAME_WIDTH}" height="${LABEL_HEIGHT}">
1564
+ <rect width="100%" height="100%" fill="#111827"/>
1565
+ <text x="8" y="15" font-family="monospace" font-size="12" fill="#f9fafb">+${FRAME_TIMES_MS[index] ?? 0}ms</text>
1566
+ </svg>`
1567
+ );
1568
+ return [
1569
+ { input: label, left: column * FRAME_WIDTH, top: row * cellHeight },
1570
+ { input: frame, left: column * FRAME_WIDTH, top: row * cellHeight + LABEL_HEIGHT }
1571
+ ];
1572
+ });
1573
+ return await sharp2({
1574
+ create: {
1575
+ width,
1576
+ height: cellHeight * rows,
1577
+ channels: 3,
1578
+ background: { r: 17, g: 24, b: 39 }
1579
+ }
1580
+ }).composite(composites).png().toBuffer();
1581
+ }
1582
+
1583
+ // src/engine/landing-library/renderBundle.ts
1584
+ var SETTLE_ANIMATIONS_CSS = `*, *::before, *::after {
1585
+ animation-play-state: running !important;
1586
+ animation-delay: 0s !important;
1587
+ animation-duration: 1ms !important;
1588
+ animation-iteration-count: 1 !important;
1589
+ animation-fill-mode: forwards !important;
1590
+ transition: none !important;
1591
+ }`;
1592
+ async function renderBundleToPng(browser, html, viewportWidth, options = {}) {
1593
+ const { wholePage = false, timeoutMs = 2e4 } = options;
1594
+ const { context, page } = await newPage(browser, { width: viewportWidth, height: 900 });
1595
+ try {
1596
+ await page.setContent(html, { waitUntil: "load", timeout: timeoutMs });
1597
+ await page.addStyleTag({ content: SETTLE_ANIMATIONS_CSS });
1598
+ await page.evaluate(async () => {
1599
+ await document.fonts.ready;
1600
+ });
1601
+ await page.waitForTimeout(300);
1602
+ if (!wholePage) {
1603
+ for (const selector of [`[${SECTION_ROOT_ATTRIBUTE}]`, "body > *"]) {
1604
+ const target = page.locator(selector).first();
1605
+ if (!await target.count()) continue;
1606
+ const shot = await target.screenshot({ type: "png", timeout: timeoutMs }).catch(() => null);
1607
+ if (shot) return shot;
1608
+ }
1609
+ }
1610
+ return await page.screenshot({ type: "png", fullPage: true }).catch(() => null);
1611
+ } catch {
1612
+ return null;
1613
+ } finally {
1614
+ await context.close();
1615
+ }
1616
+ }
1617
+
1618
+ // src/engine/landing-library/report.ts
1619
+ import { writeFile } from "fs/promises";
1620
+ import path from "path";
1621
+ async function writeCaptureReport(manifest, outDir) {
1622
+ const file = path.join(outDir, "report.html");
1623
+ await writeFile(file, renderReport(manifest));
1624
+ return file;
1625
+ }
1626
+ function escapeHtml2(value) {
1627
+ return value.replace(
1628
+ /[&<>"']/g,
1629
+ (character) => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" })[character] ?? character
1630
+ );
1631
+ }
1632
+ function fidelityTone(fidelity) {
1633
+ if (fidelity === null) return "unknown";
1634
+ if (fidelity >= 0.95) return "good";
1635
+ if (fidelity >= 0.85) return "fair";
1636
+ return "poor";
1637
+ }
1638
+ function medianFidelity(sections) {
1639
+ const scored = sections.map((section) => section.fidelity).filter((value) => value !== null).sort((a, b) => a - b);
1640
+ return scored.length === 0 ? null : scored[Math.floor(scored.length / 2)] ?? null;
1641
+ }
1642
+ function formatFidelity(fidelity) {
1643
+ return fidelity === null ? "\u2014" : fidelity.toFixed(2);
1644
+ }
1645
+ function renderSection(section) {
1646
+ const tone = fidelityTone(section.fidelity);
1647
+ const rendered = section.bundle ? section.bundle.replace(/section\.html$/, "section-rendered.png") : null;
1648
+ const shot = (label, src, note) => {
1649
+ if (!src) return `<figure class="shot empty"><figcaption>${label} \u2014 none</figcaption></figure>`;
1650
+ return `<figure class="shot">
1651
+ <figcaption>${label}${note ? ` <span class="note">${escapeHtml2(note)}</span>` : ""}</figcaption>
1652
+ <a href="${escapeHtml2(src)}" target="_blank" rel="noopener"><img src="${escapeHtml2(src)}" alt="" loading="lazy"></a>
1653
+ </figure>`;
1654
+ };
1655
+ return `<section class="card">
1656
+ <header>
1657
+ <h2><span class="index">${String(section.index).padStart(2, "0")}</span> ${section.rect.width}\xD7${section.rect.height}</h2>
1658
+ <span class="badge ${tone}">fidelity ${formatFidelity(section.fidelity)}</span>
1659
+ ${section.fidelityNote ? `<span class="badge warn">${escapeHtml2(section.fidelityNote)}</span>` : ""}
1660
+ ${section.motion.hasMotion ? `<span class="badge motion">${escapeHtml2(section.motion.summary)}</span>` : ""}
1661
+ </header>
1662
+ <p class="preview">${escapeHtml2(section.textPreview.slice(0, 220)) || "<em>no text</em>"}</p>
1663
+ <div class="shots">
1664
+ ${shot("Live", section.desktopShot)}
1665
+ ${shot("Reproduction", rendered, "rendered from the extracted bundle")}
1666
+ ${shot("Mobile", section.mobileShot)}
1667
+ </div>
1668
+ ${section.motionFilmstrip ? `<div class="filmstrip">${shot("Motion \u2014 six frames, left to right", section.motionFilmstrip)}</div>` : ""}
1669
+ <footer>
1670
+ <code>${escapeHtml2(section.selector)}</code>
1671
+ ${section.bundle ? `<a href="${escapeHtml2(section.bundle)}" target="_blank" rel="noopener">open the standalone bundle \u2192</a>` : ""}
1672
+ </footer>
1673
+ </section>`;
1674
+ }
1675
+ function renderReport(manifest) {
1676
+ const median = medianFidelity(manifest.sections);
1677
+ const moving = manifest.sections.filter((section) => section.motionFilmstrip !== null).length;
1678
+ return `<!doctype html>
1679
+ <html lang="en">
1680
+ <head>
1681
+ <meta charset="utf-8">
1682
+ <meta name="viewport" content="width=device-width, initial-scale=1">
1683
+ <title>Capture report \u2014 ${escapeHtml2(manifest.title || manifest.url)}</title>
1684
+ <style>
1685
+ :root { color-scheme: light dark; --line: #e5e7eb; --muted: #6b7280; --bg: #fafafa; --card: #fff; }
1686
+ @media (prefers-color-scheme: dark) {
1687
+ :root { --line: #27272a; --muted: #a1a1aa; --bg: #09090b; --card: #131316; }
1688
+ }
1689
+ * { box-sizing: border-box; }
1690
+ body { margin: 0; padding: 24px; background: var(--bg);
1691
+ font: 14px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
1692
+ h1 { margin: 0 0 4px; font-size: 20px; }
1693
+ a { color: inherit; }
1694
+ .sub { color: var(--muted); margin: 0 0 20px; }
1695
+ .stats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
1696
+ .stat { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--card); }
1697
+ .stat b { display: block; font-size: 18px; }
1698
+ .stat span { color: var(--muted); font-size: 12px; }
1699
+ .card { border: 1px solid var(--line); border-radius: 12px; background: var(--card);
1700
+ padding: 16px; margin-bottom: 16px; }
1701
+ .card header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
1702
+ .card h2 { font-size: 15px; margin: 0; font-weight: 600; }
1703
+ .index { display: inline-block; min-width: 26px; color: var(--muted); }
1704
+ .badge { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); }
1705
+ .badge.good { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
1706
+ .badge.fair { background: #fef3c7; color: #92400e; border-color: #fde68a; }
1707
+ .badge.poor { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
1708
+ .badge.warn { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
1709
+ .badge.motion { background: #ede9fe; color: #5b21b6; border-color: #ddd6fe; }
1710
+ .preview { color: var(--muted); margin: 0 0 12px; font-size: 13px; }
1711
+ .shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; align-items: start; }
1712
+ .filmstrip { margin-top: 12px; }
1713
+ figure { margin: 0; }
1714
+ figcaption { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
1715
+ figcaption .note { opacity: .75; }
1716
+ .shot img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px;
1717
+ background: #fff; display: block; }
1718
+ .shot.empty { border: 1px dashed var(--line); border-radius: 8px; padding: 20px; text-align: center; }
1719
+ .card footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px;
1720
+ font-size: 12px; color: var(--muted); }
1721
+ code { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
1722
+ </style>
1723
+ </head>
1724
+ <body>
1725
+ <h1>${escapeHtml2(manifest.title || "Capture report")}</h1>
1726
+ <p class="sub"><a href="${escapeHtml2(manifest.finalUrl)}" target="_blank" rel="noopener">${escapeHtml2(manifest.finalUrl)}</a> \xB7 captured ${escapeHtml2(manifest.capturedAt)}</p>
1727
+
1728
+ <div class="stats">
1729
+ <div class="stat"><b>${manifest.sections.length}</b><span>sections</span></div>
1730
+ <div class="stat"><b>${formatFidelity(median)}</b><span>median fidelity</span></div>
1731
+ <div class="stat"><b>${formatFidelity(manifest.page.fidelity)}</b><span>whole page</span></div>
1732
+ <div class="stat"><b>${moving}</b><span>filmed moving</span></div>
1733
+ <div class="stat"><b>${manifest.documentHeight}px</b><span>page height</span></div>
1734
+ </div>
1735
+
1736
+ <section class="card">
1737
+ <header>
1738
+ <h2>Whole page</h2>
1739
+ <span class="badge ${fidelityTone(manifest.page.fidelity)}">fidelity ${formatFidelity(manifest.page.fidelity)}</span>
1740
+ </header>
1741
+ <p class="preview">The same extractor rooted at &lt;body&gt; \u2014 one standalone file that should render like the original.</p>
1742
+ <div class="shots">
1743
+ <figure class="shot"><figcaption>Live</figcaption><a href="full-page.png" target="_blank" rel="noopener"><img src="full-page.png" alt="" loading="lazy"></a></figure>
1744
+ ${manifest.page.bundle ? `<figure class="shot"><figcaption>Reproduction <span class="note">from page.html</span></figcaption><a href="page-rendered.png" target="_blank" rel="noopener"><img src="page-rendered.png" alt="" loading="lazy"></a></figure>` : `<figure class="shot empty"><figcaption>Reproduction \u2014 none</figcaption></figure>`}
1745
+ </div>
1746
+ </section>
1747
+
1748
+ ${manifest.sections.map(renderSection).join("\n")}
1749
+ </body>
1750
+ </html>
1751
+ `;
1752
+ }
1753
+
1754
+ // src/engine/landing-library/types.ts
1755
+ var DEFAULT_SEGMENT_OPTIONS = {
1756
+ maxSectionHeight: 2160,
1757
+ collisionMargin: 2,
1758
+ maxElements: 15e3
1759
+ };
1760
+
1761
+ // src/engine/landing-library/run.ts
1762
+ async function reproducePage(args) {
1763
+ const { browser, page, outDir, pageUrl, livePageShot } = args;
1764
+ const built = await buildSectionBundle(page, "body", pageUrl).catch(() => null);
1765
+ if (!built) return { bundle: null, fidelity: null };
1766
+ await writeFile2(path2.join(outDir, "page.html"), built.html);
1767
+ const rendered = await renderBundleToPng(browser, built.html, DESKTOP_VIEWPORT.width, {
1768
+ wholePage: true,
1769
+ timeoutMs: 6e4
1770
+ });
1771
+ if (!rendered || !livePageShot) return { bundle: "page.html", fidelity: null };
1772
+ await writeFile2(path2.join(outDir, "page-rendered.png"), rendered);
1773
+ const { score, note } = await scoreFidelity(livePageShot, rendered);
1774
+ return { bundle: "page.html", fidelity: score, ...note ? { fidelityNote: note } : {} };
1775
+ }
1776
+ async function captureOneSection(args) {
1777
+ const { browser, page, candidate, sectionsDir, outDir, pageUrl, withCode } = args;
1778
+ const dir = path2.join(sectionsDir, String(candidate.index).padStart(2, "0"));
1779
+ await mkdir(dir, { recursive: true });
1780
+ const desktop = await captureSection(page, candidate);
1781
+ if (desktop) await writeFile2(path2.join(dir, "desktop.png"), desktop);
1782
+ const visualHash = desktop ? await perceptualHash(desktop) : null;
1783
+ const motion = await collectMotion(page, candidate.selector);
1784
+ const built = withCode ? await buildSectionBundle(page, candidate.selector, pageUrl) : null;
1785
+ let fidelity = null;
1786
+ let fidelityNote;
1787
+ if (built) {
1788
+ await writeFile2(path2.join(dir, "section.html"), built.html);
1789
+ const rendered = await renderBundleToPng(browser, built.html, DESKTOP_VIEWPORT.width);
1790
+ if (rendered && desktop) {
1791
+ await writeFile2(path2.join(dir, "section-rendered.png"), rendered);
1792
+ const result = await scoreFidelity(desktop, rendered);
1793
+ fidelity = result.score;
1794
+ fidelityNote = result.note;
1795
+ }
1796
+ }
1797
+ return {
1798
+ ...candidate,
1799
+ desktopShot: desktop ? path2.relative(outDir, path2.join(dir, "desktop.png")) : null,
1800
+ mobileShot: null,
1801
+ bundle: built ? path2.relative(outDir, path2.join(dir, "section.html")) : null,
1802
+ fidelity,
1803
+ ...fidelityNote ? { fidelityNote } : {},
1804
+ ...built ? { cssStats: built.stats } : {},
1805
+ motion,
1806
+ motionFilmstrip: null,
1807
+ visualHash
1808
+ };
1809
+ }
1810
+ async function captureMobileShots(args) {
1811
+ const { browser, sections, sectionsDir, outDir, pageUrl, timeoutMs } = args;
1812
+ const mobile = await newPage(browser, MOBILE_VIEWPORT);
1813
+ try {
1814
+ await blockConsentManagers(mobile.page);
1815
+ await installPageRuntime(mobile.page);
1816
+ await preparePage(mobile.page, pageUrl, timeoutMs);
1817
+ for (const section of sections) {
1818
+ const shot = await captureSectionOnMobile(mobile.page, section);
1819
+ if (!shot) continue;
1820
+ const file = path2.join(sectionsDir, String(section.index).padStart(2, "0"), "mobile.png");
1821
+ await writeFile2(file, shot);
1822
+ section.mobileShot = path2.relative(outDir, file);
1823
+ }
1824
+ } finally {
1825
+ await mobile.context.close();
1826
+ }
1827
+ }
1828
+ var MOTION_CONCURRENCY = 3;
1829
+ async function captureMotionTakes(args) {
1830
+ const { browser, sections, sectionsDir, outDir, pageUrl, log } = args;
1831
+ const moving = sections.filter((section) => isWorthFilming(section.motion));
1832
+ if (moving.length === 0) return;
1833
+ log(`filming ${moving.length} moving sections`);
1834
+ const filmOne = async (section) => {
1835
+ const take = await captureMotionTake(browser, pageUrl, section.selector).catch(() => null);
1836
+ if (!take) return;
1837
+ const dir = path2.join(sectionsDir, String(section.index).padStart(2, "0"));
1838
+ const file = path2.join(dir, "motion-filmstrip.png");
1839
+ await writeFile2(file, take.filmstrip);
1840
+ section.motionFilmstrip = path2.relative(outDir, file);
1841
+ log(` [${section.index}] ${section.motion.summary}`);
1842
+ };
1843
+ const queue = [...moving];
1844
+ await Promise.all(
1845
+ Array.from({ length: Math.min(MOTION_CONCURRENCY, queue.length) }, async () => {
1846
+ for (let next = queue.shift(); next; next = queue.shift()) {
1847
+ await filmOne(next);
1848
+ }
1849
+ })
1850
+ );
1851
+ }
1852
+ async function openPageVia(route, url, timeoutMs) {
1853
+ const startedAt = Date.now();
1854
+ const browser = await launchBrowser(route);
1855
+ let status = null;
1856
+ try {
1857
+ const { context, page } = await newPage(browser, DESKTOP_VIEWPORT);
1858
+ await blockConsentManagers(page);
1859
+ await installPageRuntime(page);
1860
+ const prepared = await preparePage(page, url, timeoutMs);
1861
+ status = prepared.status;
1862
+ const blocked = detectBlockedPage({
1863
+ status: prepared.status,
1864
+ title: prepared.title,
1865
+ bodyText: prepared.bodyText,
1866
+ html: await page.content().catch(() => "")
1867
+ });
1868
+ if (blocked) throw new BlockedPageError(blocked);
1869
+ return { ok: true, browser, context, page, prepared };
1870
+ } catch (error) {
1871
+ await browser.close().catch(() => void 0);
1872
+ return {
1873
+ ok: false,
1874
+ outcome: {
1875
+ route,
1876
+ failure: classifyCaptureFailure(error),
1877
+ status,
1878
+ netError: netErrorName(error),
1879
+ elapsedMs: Date.now() - startedAt
1880
+ }
1881
+ };
1882
+ }
1883
+ }
1884
+ async function captureAlternateViews(args) {
1885
+ const { browser, sections, sectionsDir, outDir, pageUrl, timeoutMs, withMobile, withMotion, log } = args;
1886
+ if (withMobile) {
1887
+ log("capturing mobile");
1888
+ await captureMobileShots({ browser, sections, sectionsDir, outDir, pageUrl, timeoutMs });
1889
+ }
1890
+ if (withMotion) {
1891
+ await captureMotionTakes({ browser, sections, sectionsDir, outDir, pageUrl, log });
1892
+ }
1893
+ }
1894
+ async function reproduceWholePage(args) {
1895
+ const { browser, page, outDir, pageUrl, withCode, log } = args;
1896
+ const fullPage = await page.screenshot({ type: "png", fullPage: true }).catch(() => null);
1897
+ if (fullPage) await writeFile2(path2.join(outDir, "full-page.png"), fullPage);
1898
+ if (!withCode) return { bundle: null, fidelity: null };
1899
+ const reproduction = await reproducePage({ browser, page, outDir, pageUrl, livePageShot: fullPage });
1900
+ log(`page reproduction: ${reproduction.fidelity === null ? "unavailable" : reproduction.fidelity.toFixed(2)}`);
1901
+ return reproduction;
1902
+ }
1903
+ async function captureSections(args) {
1904
+ const { browser, page, sectionsDir, outDir, pageUrl, withCode, log } = args;
1905
+ log("segmenting");
1906
+ const candidates = await segmentPage(page, DEFAULT_SEGMENT_OPTIONS);
1907
+ log(`found ${candidates.length} sections`);
1908
+ const sections = [];
1909
+ for (const candidate of candidates) {
1910
+ const section = await captureOneSection({
1911
+ browser,
1912
+ page,
1913
+ candidate,
1914
+ sectionsDir,
1915
+ outDir,
1916
+ pageUrl,
1917
+ withCode
1918
+ });
1919
+ sections.push(section);
1920
+ log(
1921
+ ` [${candidate.index}] ${candidate.rect.width}x${candidate.rect.height}${section.fidelity === null ? "" : ` fidelity=${section.fidelity.toFixed(2)}`} \u2014 ${candidate.textPreview.slice(0, 50)}`
1922
+ );
1923
+ }
1924
+ return sections;
1925
+ }
1926
+ function rungReport(outcome) {
1927
+ return {
1928
+ tier: outcome.route.kind === "proxy" ? outcome.route.tier : "direct",
1929
+ code: outcome.failure.code,
1930
+ status: outcome.status
1931
+ };
1932
+ }
1933
+ async function resolveAmbiguousTimeout(outcome, log) {
1934
+ if (!ambiguousProxyTimeout(outcome)) return outcome;
1935
+ const verdict = await preflightProxyRoute(outcome.route).catch(() => null);
1936
+ if (!verdict || verdict.usable) return outcome;
1937
+ log(`that timeout was our own route, not the site (${verdict.problem}) \u2014 carrying on up the ladder`);
1938
+ return asProxyFailure(outcome, verdict.problem);
1939
+ }
1940
+ async function openViaLadder(args) {
1941
+ const { url, routes, timeoutMs, deadline, log } = args;
1942
+ const attempts = [];
1943
+ for (let route = routes[0] ?? { kind: "direct" }; route; ) {
1944
+ log(`loading ${url}${route.kind === "proxy" ? ` (retrying via ${route.tier})` : ""}`);
1945
+ const attempt = await openPageVia(route, url, timeoutMs);
1946
+ if (attempt.ok) {
1947
+ return { opened: attempt, attempts, tier: route.kind === "proxy" ? route.tier : "direct" };
1948
+ }
1949
+ attempts.push(await resolveAmbiguousTimeout(attempt.outcome, log));
1950
+ const decision = nextRoute({
1951
+ routes,
1952
+ attempts,
1953
+ remainingMs: deadline ? deadline - Date.now() : Number.POSITIVE_INFINITY,
1954
+ reserveMs: CAPTURE_RESERVE_MS,
1955
+ navTimeoutMs: timeoutMs
1956
+ });
1957
+ if (!decision.next) {
1958
+ log(`giving up after ${attempts.length} attempt(s) \u2014 ${decision.reason}`);
1959
+ break;
1960
+ }
1961
+ route = decision.next;
1962
+ }
1963
+ throw new CaptureFailureError(reportableFailure(attempts), attempts.map(rungReport));
1964
+ }
1965
+ async function scrapeLanding(options) {
1966
+ const timeoutMs = options.timeoutMs ?? 45e3;
1967
+ const log = options.onProgress ?? (() => void 0);
1968
+ const sectionsDir = path2.join(options.outDir, "sections");
1969
+ const nonPublic = refuseNonPublicUrl(options.url);
1970
+ if (nonPublic) {
1971
+ throw new BlockedPageError({
1972
+ code: "HTTP_ERROR",
1973
+ message: nonPublic === "unparseable" ? "That doesn't look like a web address we can open." : LOCAL_ADDRESS_REFUSAL
1974
+ });
1975
+ }
1976
+ const { opened, attempts, tier } = await openViaLadder({
1977
+ url: options.url,
1978
+ routes: plannedRoutes(options.url, options.proxyCredentials ?? {}),
1979
+ timeoutMs,
1980
+ deadline: options.budgetMs ? Date.now() + options.budgetMs : null,
1981
+ log
1982
+ });
1983
+ const { browser, context, page, prepared } = opened;
1984
+ const escalated = attempts.length > 0;
1985
+ const withMotion = options.motion !== false && !escalated;
1986
+ const renderBrowser = options.code === false ? null : await launchBrowser();
1987
+ try {
1988
+ await mkdir(sectionsDir, { recursive: true });
1989
+ const sections = await captureSections({
1990
+ browser: renderBrowser ?? browser,
1991
+ page,
1992
+ sectionsDir,
1993
+ outDir: options.outDir,
1994
+ pageUrl: prepared.finalUrl,
1995
+ withCode: options.code !== false,
1996
+ log
1997
+ });
1998
+ const reproduction = await reproduceWholePage({
1999
+ browser: renderBrowser ?? browser,
2000
+ page,
2001
+ outDir: options.outDir,
2002
+ pageUrl: prepared.finalUrl,
2003
+ withCode: options.code !== false,
2004
+ log
2005
+ });
2006
+ await context.close();
2007
+ await captureAlternateViews({
2008
+ browser,
2009
+ sections,
2010
+ sectionsDir,
2011
+ outDir: options.outDir,
2012
+ pageUrl: prepared.finalUrl,
2013
+ timeoutMs,
2014
+ withMobile: options.mobile !== false,
2015
+ withMotion,
2016
+ log
2017
+ });
2018
+ const manifest = {
2019
+ url: options.url,
2020
+ finalUrl: prepared.finalUrl,
2021
+ title: prepared.title,
2022
+ documentHeight: prepared.documentHeight,
2023
+ viewport: DESKTOP_VIEWPORT,
2024
+ capturedAt: (/* @__PURE__ */ new Date()).toISOString(),
2025
+ sections,
2026
+ page: reproduction,
2027
+ security: prepared.security,
2028
+ captureTier: tier
2029
+ };
2030
+ await writeFile2(path2.join(options.outDir, "manifest.json"), `${JSON.stringify(manifest, null, 2)}
2031
+ `);
2032
+ if (options.report !== false) {
2033
+ const reportPath = await writeCaptureReport(manifest, options.outDir);
2034
+ log(`report: ${reportPath}`);
2035
+ }
2036
+ return manifest;
2037
+ } finally {
2038
+ await browser.close();
2039
+ if (renderBrowser) await renderBrowser.close();
2040
+ }
2041
+ }
2042
+
2043
+ // src/commands/landing/inspiration/captureOut.ts
2044
+ import { existsSync } from "fs";
2045
+ import path3 from "path";
2046
+ var SCRATCH_DIR = ".baker";
2047
+ function isWithin(parent, target) {
2048
+ const relative = path3.relative(parent, target);
2049
+ return relative === "" || !relative.startsWith("..") && !path3.isAbsolute(relative);
2050
+ }
2051
+ function findRepoRoot(from) {
2052
+ let dir = path3.resolve(from);
2053
+ for (; ; ) {
2054
+ if (existsSync(path3.join(dir, ".git"))) return dir;
2055
+ const parent = path3.dirname(dir);
2056
+ if (parent === dir) return null;
2057
+ dir = parent;
2058
+ }
2059
+ }
2060
+ function checkCaptureOut(out, options) {
2061
+ const { cwd, repoRoot } = options;
2062
+ const resolved = path3.resolve(cwd, out);
2063
+ if (repoRoot === null || !isWithin(repoRoot, resolved)) return { ok: true };
2064
+ const scratch = path3.join(repoRoot, SCRATCH_DIR);
2065
+ if (isWithin(scratch, resolved)) return { ok: true };
2066
+ const suggestion = path3.posix.join(SCRATCH_DIR, "teardowns", path3.basename(resolved) || "capture");
2067
+ return {
2068
+ ok: false,
2069
+ error: {
2070
+ code: "CAPTURE_OUT_NOT_SCRATCH",
2071
+ message: `A capture has to be written to ${SCRATCH_DIR}/ inside this workspace. It is reference material for this turn, and anywhere else it becomes a permanent part of the client's files.`,
2072
+ fix: {
2073
+ action: "retry_with_changes",
2074
+ explanation: `Re-run with --out ${suggestion}.`
2075
+ },
2076
+ retryable: false
2077
+ }
2078
+ };
2079
+ }
2080
+
2081
+ // src/commands/landing/inspiration/scrape.ts
2082
+ var RETRYABLE_FAILURES = /* @__PURE__ */ new Set([
2083
+ "SITE_TOO_SLOW",
2084
+ "CAPTURE_FAILED",
2085
+ // Ours, not the site's. Filing it as final is exactly how a mistyped password
2086
+ // would blacklist a page that was never actually judged.
2087
+ "PROXY_UNAVAILABLE"
2088
+ ]);
2089
+ function captureHints(args) {
2090
+ const { manifest, outDir, report } = args;
2091
+ const shots = manifest.sections.filter((section) => section.desktopShot !== null).length;
2092
+ const anyScored = manifest.sections.some((section) => section.fidelity !== null);
2093
+ const hints = [];
2094
+ if (manifest.security.certificateNotes.length > 0) {
2095
+ hints.push(
2096
+ `Captured anyway, but this site's certificate did not check out: ${manifest.security.certificateNotes.join(" ")} Treat the page as a design reference only \u2014 do not repeat its claims, prices or customer names.`
2097
+ );
2098
+ }
2099
+ if (shots === 0) {
2100
+ hints.push(
2101
+ `No section screenshots were produced, so there is nothing to look at in ${outDir}/sections/. Treat this capture as unusable rather than designing from the counts.`
2102
+ );
2103
+ } else {
2104
+ hints.push(
2105
+ report ? `Read ${outDir}/report.html \u2014 every section side by side${anyScored ? " with its fidelity score" : ""}.` : `Read the section screenshots in ${outDir}/sections/*/desktop.png before you design.`,
2106
+ `${shots} of ${manifest.sections.length} sections captured to ${outDir}/sections/ \u2014 look at them, then decide which the client's page actually needs.`
2107
+ );
2108
+ }
2109
+ hints.push(INSPIRATION_HINTS.structureNotCopy, INSPIRATION_HINTS.adapt);
2110
+ return hints;
2111
+ }
2112
+ registerSchema({
2113
+ command: "landing.inspiration.scrape",
2114
+ description: "Start here when the user points at a specific page and wants it now: capture one landing page into a directory of section screenshots, standalone HTML bundles, a whole-page reproduction and motion filmstrips. Returns when the capture is done, unlike `add`. Read the screenshots.",
2115
+ args: {
2116
+ url: { type: "string", description: "Page to capture", required: true },
2117
+ out: { type: "string", description: "Output directory under .baker/", required: true },
2118
+ mobile: { type: "boolean", description: "Phone-viewport pass. `--no-mobile` to skip", required: false },
2119
+ code: {
2120
+ type: "boolean",
2121
+ description: "Standalone HTML+CSS bundles and fidelity scores. `--no-code` to segment and screenshot only",
2122
+ required: false
2123
+ },
2124
+ motion: {
2125
+ type: "boolean",
2126
+ description: "Film sections that move. `--no-motion` to skip \u2014 the single biggest lever on runtime",
2127
+ required: false
2128
+ },
2129
+ report: { type: "boolean", description: "Write report.html. `--no-report` to skip", required: false }
2130
+ }
2131
+ });
2132
+ var scrapeCommand = defineCommand({
2133
+ meta: {
2134
+ name: "scrape",
2135
+ description: "Capture a landing page to a directory, now. Example: baker landing inspiration scrape https://linear.app --out .baker/inspiration/linear.app"
2136
+ },
2137
+ args: {
2138
+ url: { type: "positional", description: "Page to capture", required: true },
2139
+ out: { type: "string", description: "Output directory, under .baker/", required: true },
2140
+ mobile: {
2141
+ type: "boolean",
2142
+ description: "Phone-viewport pass (--no-mobile to skip)",
2143
+ required: false,
2144
+ default: true
2145
+ },
2146
+ code: { type: "boolean", description: "Bundles + fidelity (--no-code to skip)", required: false, default: true },
2147
+ motion: {
2148
+ type: "boolean",
2149
+ description: "Film moving sections (--no-motion to skip)",
2150
+ required: false,
2151
+ default: true
2152
+ },
2153
+ report: { type: "boolean", description: "Write report.html (--no-report to skip)", required: false, default: true }
2154
+ },
2155
+ run: async ({ args }) => {
2156
+ const location2 = checkCaptureOut(args.out, {
2157
+ cwd: process.cwd(),
2158
+ repoRoot: findRepoRoot(process.cwd())
2159
+ });
2160
+ if (!location2.ok) {
2161
+ writeJson({ ok: false, error: location2.error });
2162
+ process.exit(1);
2163
+ }
2164
+ try {
2165
+ const manifest = await scrapeLanding({
2166
+ url: args.url,
2167
+ outDir: args.out,
2168
+ mobile: args.mobile,
2169
+ code: args.code,
2170
+ motion: args.motion,
2171
+ report: args.report,
2172
+ // Both come from the environment, never from a flag — see their docs in
2173
+ // `src/env.ts`. Absent credentials this is the direct route only, which
2174
+ // is exactly the behaviour that shipped before the ladder existed.
2175
+ proxyCredentials: captureProxyCredentials(),
2176
+ budgetMs: captureBudgetMs() ?? void 0,
2177
+ // Progress goes to stderr so stdout stays a clean JSON envelope.
2178
+ onProgress: (message) => process.stderr.write(`${message}
2179
+ `)
2180
+ });
2181
+ const scored = manifest.sections.map((section) => section.fidelity).filter((value) => value !== null).sort((a, b) => a - b);
2182
+ writeJson({
2183
+ ok: true,
2184
+ data: {
2185
+ title: manifest.title,
2186
+ sections: manifest.sections.length,
2187
+ medianFidelity: scored.length > 0 ? scored[Math.floor(scored.length / 2)] : null,
2188
+ pageFidelity: manifest.page.fidelity,
2189
+ out: args.out,
2190
+ report: args.report ? `${args.out}/report.html` : null,
2191
+ // Never omitted, and that is the point: an envelope without it is a
2192
+ // capture that ran a build predating the ladder, which is otherwise
2193
+ // indistinguishable from one that took the direct route and is the
2194
+ // exact silence the E2B template rebuild is easy to forget about.
2195
+ capture_tier: manifest.captureTier,
2196
+ // Compact by default, but never omitted: a capture that could not
2197
+ // verify who served the page is worth less as evidence, and the
2198
+ // reader has to be told without going looking for it.
2199
+ certificate_verified: false,
2200
+ ...manifest.security.certificateNotes.length > 0 ? { certificate_notes: manifest.security.certificateNotes } : {}
2201
+ },
2202
+ hints: captureHints({ manifest, outDir: args.out, report: args.report })
2203
+ });
2204
+ } catch (error) {
2205
+ const failure = classifyCaptureFailure(error);
2206
+ process.stderr.write(`[landing.inspiration.scrape] ${failure.code}: ${String(error)}
2207
+ `);
2208
+ writeJson({
2209
+ ok: false,
2210
+ error: {
2211
+ code: failure.code,
2212
+ message: failure.message,
2213
+ // Which addresses were tried and what each was told. One rung means
2214
+ // the failure was final wherever we stood; three mean the page turned
2215
+ // us away from three different places, which is a fact about the page.
2216
+ // **Absent** means this Runtime is running a CLI that predates the
2217
+ // ladder — the one way the rollout fails without anything looking
2218
+ // wrong.
2219
+ ...error instanceof CaptureFailureError && error.rungs.length > 0 ? { rungs: error.rungs } : {},
2220
+ // Degrade, don't abort: one unreadable reference is never a reason to
2221
+ // abandon the job it was research for. `retryable` is the decision
2222
+ // the agent would otherwise have to guess at.
2223
+ fix: RETRYABLE_FAILURES.has(failure.code) ? {
2224
+ action: "Retry once with --no-motion, which is roughly half the work.",
2225
+ explanation: "This looks temporary. If the second attempt fails too, carry on with the references you can reach and tell the user this one page was unavailable.",
2226
+ retryable: true
2227
+ } : {
2228
+ action: "Do not retry this page \u2014 work from the references you can reach.",
2229
+ explanation: "This page cannot be read by an automated reader, and running it again will fail the same way. Tell the user this one page was unavailable and continue with the rest.",
2230
+ retryable: false
2231
+ }
2232
+ }
2233
+ });
2234
+ process.exit(1);
2235
+ }
2236
+ }
2237
+ });
2238
+ export {
2239
+ scrapeCommand
2240
+ };
2241
+ //# sourceMappingURL=scrape-ETAMW43A.js.map