@koda-sl/baker-cli 0.453.0 → 0.454.0-dev.67ad219ab

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 (1293) hide show
  1. package/README.md +19 -20
  2. package/dist/account-BENZTU54.js +79 -0
  3. package/dist/account-TJPJXX5L.js +80 -0
  4. package/dist/account-WOEYURTR.js +49 -0
  5. package/dist/account-writes-QLHQ6QRN.js +66 -0
  6. package/dist/accounts-CIYRAWVY.js +114 -0
  7. package/dist/accounts-EKYHTEL5.js +611 -0
  8. package/dist/accounts-ILE6LUH2.js +115 -0
  9. package/dist/accounts-MZXNJ4FY.js +75 -0
  10. package/dist/accounts-RVRE3XSZ.js +77 -0
  11. package/dist/actions-SE4RT5VJ.js +55 -0
  12. package/dist/active-entities-NNSRMERA.js +103 -0
  13. package/dist/activities-IOIEQTVH.js +74 -0
  14. package/dist/ad-group-writes-TQCKLL34.js +170 -0
  15. package/dist/ad-groups-LZWSLBC5.js +68 -0
  16. package/dist/ad-writes-UH2WTTGA.js +174 -0
  17. package/dist/add-AYKM57Z4.js +97 -0
  18. package/dist/add-IBRKJ3YA.js +302 -0
  19. package/dist/add-IKO6F33F.js +104 -0
  20. package/dist/add-VHJNMLIZ.js +105 -0
  21. package/dist/ads-6GT5744J.js +113 -0
  22. package/dist/ads-QFCFTASQ.js +40 -0
  23. package/dist/ads-RJNNP6XJ.js +77 -0
  24. package/dist/adsets-XG64ZCJY.js +176 -0
  25. package/dist/advertisers-MWTH3NR4.js +120 -0
  26. package/dist/advertisers-XVGBLKB3.js +111 -0
  27. package/dist/analytics-M2YUE6P3.js +433 -0
  28. package/dist/analytics-YC2J5RTR.js +1958 -0
  29. package/dist/analytics-YC2J5RTR.js.map +1 -0
  30. package/dist/animate-RC3ZBLLZ.js +480 -0
  31. package/dist/assign-6MIMTPG6.js +77 -0
  32. package/dist/audience-size-LG3EJVUQ.js +94 -0
  33. package/dist/audiences-CDQPFZOH.js +78 -0
  34. package/dist/audiences-FEP7LYRA.js +85 -0
  35. package/dist/audiences-H3RVGETG.js +268 -0
  36. package/dist/audit-65M7ZYPF.js +88 -0
  37. package/dist/audit-NLSSM2KK.js +151 -0
  38. package/dist/autocomplete-FWTUDPDJ.js +111 -0
  39. package/dist/avatars-HSU7KUT3.js +38 -0
  40. package/dist/bid-pricing-SDJGBZQI.js +99 -0
  41. package/dist/brand-4E7GKZYV.js +22 -0
  42. package/dist/brief-2YLVLL3Q.js +477 -0
  43. package/dist/businesses-PJGOECA7.js +53 -0
  44. package/dist/campaign-groups-J3ZLWO6K.js +95 -0
  45. package/dist/campaign-writes-PIOQVLAI.js +170 -0
  46. package/dist/campaign-writes-UGUL5EDR.js +165 -0
  47. package/dist/campaigns-6ARLQJU2.js +109 -0
  48. package/dist/campaigns-IZZ4FCHQ.js +110 -0
  49. package/dist/campaigns-PFNTJHMX.js +107 -0
  50. package/dist/campaigns-ZU7FMRQ3.js +76 -0
  51. package/dist/canvas-EOHG44TK.js +46 -0
  52. package/dist/canvas-EOHG44TK.js.map +1 -0
  53. package/dist/capabilities-K3DVPGYB.js +144 -0
  54. package/dist/cards-PS3VNNX3.js +85 -0
  55. package/dist/catalog-O5U2VMKK.js +65 -0
  56. package/dist/catalogs-ALSH4R2K.js +128 -0
  57. package/dist/changes-KFQKVM3M.js +135 -0
  58. package/dist/chatgpt-NHGFCJYH.js +47 -0
  59. package/dist/chats-YRRTFHKK.js +262 -0
  60. package/dist/chunk-2ACGDQ2P.js +225 -0
  61. package/dist/chunk-33F4O6OO.js +296 -0
  62. package/dist/chunk-3ASE4O2H.js +111 -0
  63. package/dist/chunk-3J62OINP.js +310 -0
  64. package/dist/chunk-3REUG4QF.js +94 -0
  65. package/dist/chunk-3XZEAI7E.js +5189 -0
  66. package/dist/chunk-4BIU2YVF.js +274 -0
  67. package/dist/chunk-4CYUOGDC.js +496 -0
  68. package/dist/chunk-52KJDURD.js +174 -0
  69. package/dist/chunk-5BQCBI2G.js +214 -0
  70. package/dist/chunk-5J5NHV3X.js +486 -0
  71. package/dist/chunk-5SAQ7MNN.js +92 -0
  72. package/dist/chunk-5TYFAJY4.js +275 -0
  73. package/dist/chunk-5TYFAJY4.js.map +1 -0
  74. package/dist/chunk-5WW456MW.js +948 -0
  75. package/dist/chunk-63VMGEZI.js +172 -0
  76. package/dist/chunk-6C3ADYIW.js +440 -0
  77. package/dist/chunk-6K47VIWF.js +67 -0
  78. package/dist/chunk-6TDEGWZJ.js +75 -0
  79. package/dist/chunk-6TQHA2UF.js +1441 -0
  80. package/dist/chunk-7GZNYQ3Z.js +197 -0
  81. package/dist/chunk-7P2Y7OQF.js +136 -0
  82. package/dist/chunk-A7F3C6AJ.js +215 -0
  83. package/dist/chunk-A7F3C6AJ.js.map +1 -0
  84. package/dist/chunk-AW2UE5AI.js +125 -0
  85. package/dist/chunk-B7COZ237.js +96 -0
  86. package/dist/chunk-BDI5INZA.js +610 -0
  87. package/dist/chunk-BFBTBN66.js +830 -0
  88. package/dist/chunk-BPQARCYW.js +382 -0
  89. package/dist/chunk-CAMX6OHF.js +3182 -0
  90. package/dist/chunk-CAMX6OHF.js.map +1 -0
  91. package/dist/chunk-CEYPS4IS.js +4383 -0
  92. package/dist/chunk-CEYPS4IS.js.map +1 -0
  93. package/dist/chunk-CWW5ITFK.js +309 -0
  94. package/dist/chunk-DMA7XZLS.js +175 -0
  95. package/dist/chunk-DTKZEXIF.js +191 -0
  96. package/dist/chunk-E25X7QES.js +106 -0
  97. package/dist/chunk-E7GYHNQO.js +56 -0
  98. package/dist/chunk-EDU6N5NY.js +57 -0
  99. package/dist/chunk-EMLKO3AU.js +58 -0
  100. package/dist/chunk-EOIYM35Z.js +188 -0
  101. package/dist/chunk-F4IQVOOJ.js +494 -0
  102. package/dist/chunk-GLPKJMMO.js +28 -0
  103. package/dist/chunk-GLRM72PT.js +84 -0
  104. package/dist/chunk-H4VPQQN7.js +106 -0
  105. package/dist/chunk-HNBLXWWQ.js +26 -0
  106. package/dist/chunk-IDYAVGCS.js +6291 -0
  107. package/dist/chunk-IDYAVGCS.js.map +1 -0
  108. package/dist/chunk-II7LSCAH.js +160 -0
  109. package/dist/chunk-ITQWQINC.js +206 -0
  110. package/dist/chunk-IY3JSASS.js +455 -0
  111. package/dist/chunk-JCUKNC4M.js +141 -0
  112. package/dist/chunk-JCUKNC4M.js.map +1 -0
  113. package/dist/chunk-JFMMCONZ.js +23 -0
  114. package/dist/chunk-JGCYENVG.js +23992 -0
  115. package/dist/chunk-JGCYENVG.js.map +1 -0
  116. package/dist/chunk-JGST7KMB.js +139 -0
  117. package/dist/chunk-JIB3JWL7.js +363 -0
  118. package/dist/chunk-JTFZ5M3C.js +74 -0
  119. package/dist/chunk-JXOPTOVM.js +42 -0
  120. package/dist/chunk-K45KDAV7.js +98 -0
  121. package/dist/chunk-KFHLUX6M.js +541 -0
  122. package/dist/chunk-KKRN7XRQ.js +60 -0
  123. package/dist/chunk-KKT24G5X.js +20 -0
  124. package/dist/chunk-KKT24G5X.js.map +1 -0
  125. package/dist/chunk-KVHZLRNU.js +51 -0
  126. package/dist/chunk-L2ZNZSPV.js +55 -0
  127. package/dist/chunk-L4C4OPO2.js +31 -0
  128. package/dist/chunk-LAHBXTKI.js +297 -0
  129. package/dist/chunk-LX2VM245.js +74 -0
  130. package/dist/chunk-MJYRLGGI.js +304 -0
  131. package/dist/chunk-NJY65ACF.js +76 -0
  132. package/dist/chunk-NPW3LEAE.js +172 -0
  133. package/dist/chunk-NXJSPLN5.js +3147 -0
  134. package/dist/chunk-NXJSPLN5.js.map +1 -0
  135. package/dist/chunk-ODMRAEEP.js +159 -0
  136. package/dist/chunk-P5T7OZKV.js +26 -0
  137. package/dist/chunk-PLMHZLJ6.js +346 -0
  138. package/dist/chunk-Q4U3ENKF.js +1830 -0
  139. package/dist/chunk-Q5KR4RRB.js +207 -0
  140. package/dist/chunk-RASBZ6SN.js +103 -0
  141. package/dist/chunk-RE6ZIHDH.js +819 -0
  142. package/dist/chunk-RNHSGH44.js +84 -0
  143. package/dist/chunk-S2IOUC5B.js +1711 -0
  144. package/dist/chunk-S5MBDWB3.js +98 -0
  145. package/dist/chunk-SCG3FY3H.js +96 -0
  146. package/dist/chunk-SLE4FEFP.js +592 -0
  147. package/dist/chunk-TIL76IDK.js +136 -0
  148. package/dist/chunk-TQO6WNUH.js +166 -0
  149. package/dist/chunk-UK4DUS6I.js +52 -0
  150. package/dist/chunk-UK4DUS6I.js.map +1 -0
  151. package/dist/chunk-UOFHTLPD.js +433 -0
  152. package/dist/chunk-UXQ4YQ2O.js +66 -0
  153. package/dist/chunk-V4YMBLWX.js +1079 -0
  154. package/dist/chunk-V4YMBLWX.js.map +1 -0
  155. package/dist/chunk-W5FCTANB.js +169 -0
  156. package/dist/chunk-X7TD2MW7.js +509 -0
  157. package/dist/chunk-XDEQ3JIR.js +97 -0
  158. package/dist/chunk-XFGAUP5B.js +76 -0
  159. package/dist/chunk-XLNVBDP2.js +25 -0
  160. package/dist/chunk-XOSUSV2O.js +622 -0
  161. package/dist/chunk-XUNG5I2P.js +46 -0
  162. package/dist/chunk-XXBIY75O.js +74 -0
  163. package/dist/chunk-Y6YECJIC.js +6667 -0
  164. package/dist/chunk-Y6YECJIC.js.map +1 -0
  165. package/dist/chunk-YI34MMBL.js +534 -0
  166. package/dist/chunk-YORMRROI.js +337 -0
  167. package/dist/chunk-YYBQUXFX.js +333 -0
  168. package/dist/chunk-YZIZEPAQ.js +454 -0
  169. package/dist/chunk-YZIZEPAQ.js.map +1 -0
  170. package/dist/chunk-Z6DVODBW.js +19 -0
  171. package/dist/chunk-ZR55VIOO.js +133 -0
  172. package/dist/claim-Y72FU77H.js +197 -0
  173. package/dist/cli.js +40 -37
  174. package/dist/cli.js.map +1 -1
  175. package/dist/client-4H6FYKCS.js +19 -0
  176. package/dist/code-JRNGF4AQ.js +76 -0
  177. package/dist/companies-XEYBYAYB.js +195 -0
  178. package/dist/complete-ZANYQ6HF.js +81 -0
  179. package/dist/config-ON2KUCQT.js +88 -0
  180. package/dist/connect-VBCLYQF4.js +42 -0
  181. package/dist/content-QIEV6TB3.js +81 -0
  182. package/dist/conversation-XVGX7HL2.js +93 -0
  183. package/dist/conversion-report-RC7G5FYK.js +125 -0
  184. package/dist/conversion-upload-command-PEE3VQTU.js +438 -0
  185. package/dist/conversion-writes-W7ICHG76.js +120 -0
  186. package/dist/conversions-KF4AHFCY.js +135 -0
  187. package/dist/conversions-OI7JVWXC.js +76 -0
  188. package/dist/countries-DYGDGADD.js +82 -0
  189. package/dist/create-5ZYWRS65.js +59 -0
  190. package/dist/create-HOZVJTLQ.js +235 -0
  191. package/dist/create-O4HLNNZZ.js +130 -0
  192. package/dist/create-TH4PAKLA.js +207 -0
  193. package/dist/creatives-4NBWBNE3.js +51 -0
  194. package/dist/creatives-QCA5K3QN.js +182 -0
  195. package/dist/creatives-QWCZYDFX.js +87 -0
  196. package/dist/credentials-MF5KMPVX.js +1055 -0
  197. package/dist/credentials-MF5KMPVX.js.map +1 -0
  198. package/dist/critique-AWVCL2V3.js +213 -0
  199. package/dist/critique-JHTYUNM4.js +1449 -0
  200. package/dist/crm-7CJYHUOM.js +318 -0
  201. package/dist/crm-UGKYWOXB.js +224 -0
  202. package/dist/crop-HS55YINN.js +113 -0
  203. package/dist/currency-UIK2FQKD.js +88 -0
  204. package/dist/custom-conversions-NBZZO6CH.js +125 -0
  205. package/dist/customers-NIAOEYND.js +56 -0
  206. package/dist/decide-WPI5RC2Z.js +199 -0
  207. package/dist/decide-WPI5RC2Z.js.map +1 -0
  208. package/dist/delete-2LZGYUPS.js +66 -0
  209. package/dist/delete-7YUYMN6C.js +69 -0
  210. package/dist/delete-JUT3DSKM.js +54 -0
  211. package/dist/delete-KFY6CQNU.js +71 -0
  212. package/dist/delete-NQTQ3KDZ.js +71 -0
  213. package/dist/delete-W6U5RF5Q.js +63 -0
  214. package/dist/demographics-I7AAPHXO.js +138 -0
  215. package/dist/describe-GR23KX6I.js +97 -0
  216. package/dist/describe-H4WLDC3H.js +97 -0
  217. package/dist/dimensions-H47GQ7EG.js +101 -0
  218. package/dist/discard-WVDVBN64.js +66 -0
  219. package/dist/discover-TYVFSFBE.js +172 -0
  220. package/dist/domain-YOUKBS2S.js +98 -0
  221. package/dist/download-FST2EONO.js +299 -0
  222. package/dist/draft-2YWPCLWT.js +217 -0
  223. package/dist/draft-34F45F46.js +281 -0
  224. package/dist/draft-53B4DCWT.js +103 -0
  225. package/dist/draft-AGQGAQDL.js +100 -0
  226. package/dist/draft-AUJKE57P.js +328 -0
  227. package/dist/draft-F4TRTDSV.js +233 -0
  228. package/dist/draft-GIDPSFBJ.js +306 -0
  229. package/dist/draft-P5OM2FM4.js +107 -0
  230. package/dist/engine/index.js +14 -14
  231. package/dist/env-36PNRGN2.js +43 -0
  232. package/dist/experiment-3QBXTXD7.js +1377 -0
  233. package/dist/experiment-3QBXTXD7.js.map +1 -0
  234. package/dist/export-WFKV2OYY.js +168 -0
  235. package/dist/extract-QIVN46BW.js +113 -0
  236. package/dist/facets-R3PIL4VO.js +114 -0
  237. package/dist/favorites-Q3QVUTEF.js +178 -0
  238. package/dist/feed-2T3HP275.js +157 -0
  239. package/dist/feedback-NK63HSFT.js +66 -0
  240. package/dist/feedback-record-ANSY2BEC.js +175 -0
  241. package/dist/fetch-D57AS4RQ.js +139 -0
  242. package/dist/fetch-V4XGLUEZ.js +176 -0
  243. package/dist/find-7MSB5EHL.js +134 -0
  244. package/dist/fit-2GADEYRG.js +45 -0
  245. package/dist/flows-ZWQHM6U6.js +247 -0
  246. package/dist/follow-556YL7IJ.js +82 -0
  247. package/dist/follow-competitors-LNAJCROC.js +131 -0
  248. package/dist/following-V6QK3ROG.js +109 -0
  249. package/dist/fonts-CB44BCDC.js +34 -0
  250. package/dist/forecast-FKNCIFVA.js +104 -0
  251. package/dist/funding-NP22ZLBH.js +85 -0
  252. package/dist/funnel-VMV2JTRA.js +837 -0
  253. package/dist/funnel-VMV2JTRA.js.map +1 -0
  254. package/dist/ga4-T3IODHS2.js +55 -0
  255. package/dist/generate-VSAS3QA5.js +262 -0
  256. package/dist/get-77U4CN3V.js +63 -0
  257. package/dist/get-BNO4T5SH.js +56 -0
  258. package/dist/get-IUS3RB5H.js +92 -0
  259. package/dist/get-QWEQMBGA.js +59 -0
  260. package/dist/get-ST2ZAQR3.js +61 -0
  261. package/dist/get-UMFJ26TV.js +63 -0
  262. package/dist/get-VBB6GNOW.js +78 -0
  263. package/dist/gif-5PQMJHUZ.js +94 -0
  264. package/dist/google-2WSPNB7K.js +136 -0
  265. package/dist/google-ITIUG5PK.js +1872 -0
  266. package/dist/google-ads-TLZR2JRG.js +195 -0
  267. package/dist/group-4LZM3SOQ.js +43 -0
  268. package/dist/group-JSDECSRD.js +43 -0
  269. package/dist/gsc-3LQHAWWC.js +30 -0
  270. package/dist/history-NE4I5SEE.js +133 -0
  271. package/dist/history-VZIYKR7A.js +67 -0
  272. package/dist/hubspot-H2SYPIFD.js +779 -0
  273. package/dist/icon-LBWC5HYT.js +137 -0
  274. package/dist/ideas-LQUVKQKS.js +32 -0
  275. package/dist/images-T5GD4WFJ.js +90 -0
  276. package/dist/improve-RBY3HJ4Z.js +86 -0
  277. package/dist/ingest-DHSFUFHB.js +23 -0
  278. package/dist/ingest-YNNFZQF4.js +107 -0
  279. package/dist/insights-DO7CTSGR.js +122 -0
  280. package/dist/insights-JBRJWBZ2.js +423 -0
  281. package/dist/inspect-KELSQCLK.js +189 -0
  282. package/dist/inspiration-UUHVLEJ6.js +53 -0
  283. package/dist/intent-DRB4VZXP.js +95 -0
  284. package/dist/job-QFXKGFW4.js +202 -0
  285. package/dist/job-create-Q2OOGI7E.js +109 -0
  286. package/dist/job-status-SUO4X7UP.js +74 -0
  287. package/dist/keep-TZK5V4ZY.js +78 -0
  288. package/dist/keyword-gap-HZONPMCA.js +130 -0
  289. package/dist/keyword-metrics-6B6I4PN4.js +197 -0
  290. package/dist/keywords-for-site-BI6DHP7K.js +128 -0
  291. package/dist/landing-CSX5DZVJ.js +28 -0
  292. package/dist/languages-DR2PONQX.js +40 -0
  293. package/dist/languages-PEZHTXZX.js +55 -0
  294. package/dist/layerize-VYLLKEKU.js +190 -0
  295. package/dist/leads-3OAJRMWS.js +293 -0
  296. package/dist/leads-BL6GWOAG.js +90 -0
  297. package/dist/learn-2O6NKJCX.js +203 -0
  298. package/dist/library-TXRUECDM.js +109 -0
  299. package/dist/lighthouse-RLUZZOKE.js +75 -0
  300. package/dist/line-item-writes-O3AYCYIS.js +208 -0
  301. package/dist/line-items-NLFOGAAO.js +103 -0
  302. package/dist/link-YDGPKGM6.js +64 -0
  303. package/dist/linkedin-WBO6EPMB.js +1008 -0
  304. package/dist/list-BPSQWWLP.js +50 -0
  305. package/dist/list-BTS2E4UI.js +51 -0
  306. package/dist/list-DJOQQI6Y.js +63 -0
  307. package/dist/list-EJYJIIUY.js +151 -0
  308. package/dist/list-EPRACXON.js +57 -0
  309. package/dist/list-EVPBQSRL.js +65 -0
  310. package/dist/list-L7CZJZRS.js +76 -0
  311. package/dist/list-VBLCEHPO.js +303 -0
  312. package/dist/locations-SPFNXQGT.js +67 -0
  313. package/dist/locations-UGSAWLNK.js +40 -0
  314. package/dist/log-VG77KFB4.js +92 -0
  315. package/dist/logo-HUGNK27I.js +18 -0
  316. package/dist/lookup-MPFB5G7E.js +22 -0
  317. package/dist/make-DPQIVORE.js +593 -0
  318. package/dist/make-DPQIVORE.js.map +1 -0
  319. package/dist/map-XQHIM4IU.js +404 -0
  320. package/dist/map-XQHIM4IU.js.map +1 -0
  321. package/dist/mcp-LD6W2RSB.js +476 -0
  322. package/dist/media-A7UWIMMD.js +89 -0
  323. package/dist/media-T6H3CRXB.js +15 -0
  324. package/dist/media-sources-5S6IFOOS.js +32 -0
  325. package/dist/members-HI2MH5SY.js +44 -0
  326. package/dist/meta-ZN3LHUU3.js +69 -0
  327. package/dist/metrics-BK5JSR6I.js +152 -0
  328. package/dist/models-3LS4Q2MN.js +155 -0
  329. package/dist/normalize-DGZPN2OM.js +141 -0
  330. package/dist/normalize-X7SHHCQD.js +806 -0
  331. package/dist/options-FCWD257L.js +121 -0
  332. package/dist/output-OJITAE7Q.js +24 -0
  333. package/dist/page-NBFLD3L5.js +105 -0
  334. package/dist/pages-MPEWHREN.js +66 -0
  335. package/dist/performance-PI372VKJ.js +24 -0
  336. package/dist/pinterest-22ODL6Q5.js +96 -0
  337. package/dist/pixels-DDNYT7R4.js +60 -0
  338. package/dist/pixels-OASXHZAX.js +108 -0
  339. package/dist/preview-YK7RI76O.js +169 -0
  340. package/dist/promoted-tweet-writes-MDBNSHVZ.js +180 -0
  341. package/dist/promoted-tweets-YGENR6WV.js +119 -0
  342. package/dist/properties-6ME4XYT7.js +101 -0
  343. package/dist/publish-6T7IEXRD.js +322 -0
  344. package/dist/query-TUNPWBPS.js +247 -0
  345. package/dist/query-WC5I2S6Z.js +236 -0
  346. package/dist/query-X5L4AZSD.js +1341 -0
  347. package/dist/read-EPTLUQAT.js +140 -0
  348. package/dist/read-EPTLUQAT.js.map +1 -0
  349. package/dist/reddit-6UJUB2YN.js +26 -0
  350. package/dist/refresh-2IU3CVJO.js +94 -0
  351. package/dist/release-LUHIB4XJ.js +60 -0
  352. package/dist/relevant-pages-MJXI3LW7.js +99 -0
  353. package/dist/remove-BRUS6SUG.js +50 -0
  354. package/dist/remove-RGHZHRJF.js +48 -0
  355. package/dist/reopen-CQEGEBUP.js +63 -0
  356. package/dist/rerun-EXCTHG7R.js +85 -0
  357. package/dist/research-GCAWQBH5.js +262 -0
  358. package/dist/research-RIOSGFV2.js +62 -0
  359. package/dist/reset-GZWJLJIA.js +54 -0
  360. package/dist/reset-TZQLXUOT.js +54 -0
  361. package/dist/resolve-C3L4SMTW.js +121 -0
  362. package/dist/retry-4IZ5UQMO.js +60 -0
  363. package/dist/retry-OJER6P7D.js +62 -0
  364. package/dist/retry-failed-CEFUP2NC.js +45 -0
  365. package/dist/run-7PMBP5DC.js +65 -0
  366. package/dist/run-CRFK4Z6L.js +60 -0
  367. package/dist/scaffold-ad-WWK3HEII.js +1549 -0
  368. package/dist/scaffold-static-ad-JZFBZYCN.js +966 -0
  369. package/dist/scaffold-static-ad-JZFBZYCN.js.map +1 -0
  370. package/dist/scaffold-video-P5CYWG4Z.js +873 -0
  371. package/dist/schedule-LHLE7VFM.js +66 -0
  372. package/dist/schedule-Z66CE7MU.js +61 -0
  373. package/dist/scheduled-agents-HHRJ5Q46.js +49 -0
  374. package/dist/schema-CQCIYXEX.js +132 -0
  375. package/dist/schema-J23F2JAU.js +63 -0
  376. package/dist/scrape-3SETPPMM.js +2241 -0
  377. package/dist/screenshot-OV4DCO6W.js +102 -0
  378. package/dist/search-BHQQFJB5.js +26 -0
  379. package/dist/search-CYS7UK5T.js +224 -0
  380. package/dist/search-IDQCAKVR.js +174 -0
  381. package/dist/search-QKKK3H6U.js +91 -0
  382. package/dist/search-XWFMVJ4J.js +92 -0
  383. package/dist/seeds-DMT6OIMK.js +101 -0
  384. package/dist/select-2U66UMVQ.js +94 -0
  385. package/dist/sends-LNKJRME5.js +309 -0
  386. package/dist/sequences-4YSD3GH3.js +146 -0
  387. package/dist/set-prompt-NY3HV4KV.js +186 -0
  388. package/dist/setup-links-LJLWQVQ2.js +141 -0
  389. package/dist/shared-PAORAY6M.js +31 -0
  390. package/dist/site-F4TGY5OE.js +177 -0
  391. package/dist/sitemaps-XEMTLWYG.js +87 -0
  392. package/dist/sites-K755KMC2.js +101 -0
  393. package/dist/skills-S65DX7PQ.js +47 -0
  394. package/dist/sources-HZF7UXW6.js +30 -0
  395. package/dist/sources-XTNEWFHJ.js +421 -0
  396. package/dist/stale-NLXN7V3N.js +63 -0
  397. package/dist/stats-CZJKNCIZ.js +34 -0
  398. package/dist/status-M7RTOGLJ.js +62 -0
  399. package/dist/sticker-UQ2XPXIB.js +94 -0
  400. package/dist/stock-FKAD46O3.js +179 -0
  401. package/dist/studio-BHZSCE67.js +49 -0
  402. package/dist/sync-AAXI4RZD.js +54 -0
  403. package/dist/sync-E6BLPR6W.js +54 -0
  404. package/dist/sync-L4LK3QQS.js +265 -0
  405. package/dist/sync-definition-CAHBKD3F.js +53 -0
  406. package/dist/tag-manager-4LCQUQNJ.js +43 -0
  407. package/dist/tags-BVQNIIQU.js +20 -0
  408. package/dist/tags-QQ632HNZ.js +20 -0
  409. package/dist/tags-RSAVBZCB.js +20 -0
  410. package/dist/tags-TZIDBVTK.js +26 -0
  411. package/dist/tags-URQYAJMH.js +224 -0
  412. package/dist/targeting-constants-HKGJVLJ5.js +118 -0
  413. package/dist/targeting-criteria-J2V47AJP.js +113 -0
  414. package/dist/targets-H7YOEVOJ.js +102 -0
  415. package/dist/templates-WLSSRPZ4.js +178 -0
  416. package/dist/testimonials-A26T3NY3.js +32 -0
  417. package/dist/top-companies-26MYZU5T.js +108 -0
  418. package/dist/translate-BD6ULLLZ.js +598 -0
  419. package/dist/triggers-XFCQHRLA.js +141 -0
  420. package/dist/tweets-PPL2ZRV6.js +123 -0
  421. package/dist/unfollow-A6GAUIGZ.js +46 -0
  422. package/dist/unlink-XNZACHV3.js +67 -0
  423. package/dist/unstage-2HSBJ726.js +84 -0
  424. package/dist/unstage-B6ZGECFU.js +95 -0
  425. package/dist/update-2BYOVA5C.js +142 -0
  426. package/dist/update-EG4OSVE4.js +155 -0
  427. package/dist/update-RSYR6ABL.js +98 -0
  428. package/dist/update-SXVXLTND.js +63 -0
  429. package/dist/upload-HOJK4HT6.js +126 -0
  430. package/dist/upload-PH6ZWOIA.js +150 -0
  431. package/dist/upscale-R25SXKQI.js +109 -0
  432. package/dist/url-options-SK3CKY5H.js +127 -0
  433. package/dist/url-params-246VH6BJ.js +98 -0
  434. package/dist/use-WIFON4IC.js +95 -0
  435. package/dist/validate-JFL2PL54.js +89 -0
  436. package/dist/variant-EHLAO2EZ.js +338 -0
  437. package/dist/videos-5SPZWUWN.js +39 -0
  438. package/dist/view-JS33UZGE.js +121 -0
  439. package/dist/viewer-check-TKST6FWT.js +69 -0
  440. package/dist/web-ZDEM5O3C.js +140 -0
  441. package/dist/winners-SDADXE22.js +79 -0
  442. package/dist/winning-ads-SPPDT7JW.js +62 -0
  443. package/dist/winning-ads-SPPDT7JW.js.map +1 -0
  444. package/dist/write-commands-PKB23ZBZ.js +1015 -0
  445. package/dist/write-commands-VKKEGFTJ.js +713 -0
  446. package/dist/write-commands-WYET5424.js +737 -0
  447. package/dist/write-commands-X2IJUI5D.js +206 -0
  448. package/dist/x-CZOHX4T2.js +47 -0
  449. package/package.json +1 -1
  450. package/dist/account-F6MHQ64I.js +0 -80
  451. package/dist/account-HS7SDSEB.js +0 -79
  452. package/dist/account-IEVEOFIK.js +0 -49
  453. package/dist/account-writes-ISE4U2FQ.js +0 -66
  454. package/dist/accounts-3JKABIGU.js +0 -77
  455. package/dist/accounts-4CDRK4S4.js +0 -75
  456. package/dist/accounts-5QDKBZMH.js +0 -115
  457. package/dist/accounts-KYJO3JC6.js +0 -114
  458. package/dist/accounts-ZZONEKPU.js +0 -611
  459. package/dist/actions-VKHKHUUC.js +0 -55
  460. package/dist/active-entities-YUSOUR5M.js +0 -103
  461. package/dist/activities-ZVQOBHZH.js +0 -74
  462. package/dist/ad-group-writes-UU5NNKSO.js +0 -170
  463. package/dist/ad-groups-CGFXZNIA.js +0 -68
  464. package/dist/ad-writes-NALDYWOR.js +0 -174
  465. package/dist/add-53DDLTVG.js +0 -104
  466. package/dist/add-577QWMCF.js +0 -97
  467. package/dist/add-ATD4MBOO.js +0 -302
  468. package/dist/add-CUWAW7KG.js +0 -105
  469. package/dist/ads-6UEDYT3O.js +0 -113
  470. package/dist/ads-PV7GZXPR.js +0 -77
  471. package/dist/ads-QFAUJCWM.js +0 -40
  472. package/dist/adsets-Q5DWGANV.js +0 -176
  473. package/dist/advertisers-HYUASJAS.js +0 -120
  474. package/dist/advertisers-YMHPZYNF.js +0 -111
  475. package/dist/analytics-RQROMSQ3.js +0 -433
  476. package/dist/analytics-WLYXY5OT.js +0 -1976
  477. package/dist/analytics-WLYXY5OT.js.map +0 -1
  478. package/dist/animate-FWWHSYPL.js +0 -480
  479. package/dist/assign-7332DMG5.js +0 -77
  480. package/dist/audience-size-UYX5RPTA.js +0 -94
  481. package/dist/audiences-AMRFZRZ7.js +0 -78
  482. package/dist/audiences-HFRVIE2X.js +0 -85
  483. package/dist/audiences-VEKGLWBG.js +0 -268
  484. package/dist/audit-AD4ZZNJN.js +0 -88
  485. package/dist/audit-ZGTG7VRD.js +0 -151
  486. package/dist/autocomplete-LPG4WWTY.js +0 -111
  487. package/dist/avatars-HTQMIA2F.js +0 -38
  488. package/dist/bid-pricing-IK2C2IKE.js +0 -99
  489. package/dist/brand-3WCTQWWX.js +0 -22
  490. package/dist/brief-WDKTAKVA.js +0 -477
  491. package/dist/businesses-JBDQZZIG.js +0 -53
  492. package/dist/campaign-groups-6CJ45XMO.js +0 -95
  493. package/dist/campaign-writes-2MLRVFJK.js +0 -165
  494. package/dist/campaign-writes-SX52CJYW.js +0 -170
  495. package/dist/campaigns-D6B6Z67Y.js +0 -110
  496. package/dist/campaigns-DTH5ADA7.js +0 -107
  497. package/dist/campaigns-X3DPCCSN.js +0 -76
  498. package/dist/campaigns-ZVA7SUNN.js +0 -109
  499. package/dist/canvas-EJLQ27CK.js +0 -46
  500. package/dist/canvas-EJLQ27CK.js.map +0 -1
  501. package/dist/capabilities-VWJGP43K.js +0 -144
  502. package/dist/cards-4477BFEV.js +0 -85
  503. package/dist/catalog-BKQOAVR2.js +0 -65
  504. package/dist/catalogs-G3YEVG6S.js +0 -128
  505. package/dist/changes-TP7ZZHB3.js +0 -135
  506. package/dist/chatgpt-QNUN63YS.js +0 -47
  507. package/dist/chats-JOZKLOFU.js +0 -262
  508. package/dist/chunk-237WE5LX.js +0 -455
  509. package/dist/chunk-237WE5LX.js.map +0 -1
  510. package/dist/chunk-2BKVVCCV.js +0 -133
  511. package/dist/chunk-2TK4DEOE.js +0 -74
  512. package/dist/chunk-35XWJEWH.js +0 -274
  513. package/dist/chunk-3EUFAONS.js +0 -5189
  514. package/dist/chunk-3JCF3NK6.js +0 -57
  515. package/dist/chunk-3XPFBSD7.js +0 -275
  516. package/dist/chunk-3XPFBSD7.js.map +0 -1
  517. package/dist/chunk-4GOS37IA.js +0 -382
  518. package/dist/chunk-4JHUG6Y3.js +0 -172
  519. package/dist/chunk-4NDCTLI5.js +0 -191
  520. package/dist/chunk-4QEY2L6U.js +0 -486
  521. package/dist/chunk-54UVGFX3.js +0 -440
  522. package/dist/chunk-5PKB7LNI.js +0 -23
  523. package/dist/chunk-5RPU6KG5.js +0 -6667
  524. package/dist/chunk-5RPU6KG5.js.map +0 -1
  525. package/dist/chunk-5YGBRHO6.js +0 -96
  526. package/dist/chunk-5Z2KSVIV.js +0 -67
  527. package/dist/chunk-6B7VKFS4.js +0 -172
  528. package/dist/chunk-6G5K6ZC6.js +0 -46
  529. package/dist/chunk-6QJLVNGU.js +0 -541
  530. package/dist/chunk-75FDTDLH.js +0 -96
  531. package/dist/chunk-7OFNN4CT.js +0 -58
  532. package/dist/chunk-7ZHMGXE2.js +0 -819
  533. package/dist/chunk-BBDAVFTG.js +0 -3153
  534. package/dist/chunk-BBDAVFTG.js.map +0 -1
  535. package/dist/chunk-BNCW67EM.js +0 -534
  536. package/dist/chunk-C6U6UDHJ.js +0 -106
  537. package/dist/chunk-CHSNHVYF.js +0 -3182
  538. package/dist/chunk-CHSNHVYF.js.map +0 -1
  539. package/dist/chunk-D76QEIFG.js +0 -207
  540. package/dist/chunk-DGPLXY37.js +0 -103
  541. package/dist/chunk-DTD2IRDA.js +0 -149
  542. package/dist/chunk-DTD2IRDA.js.map +0 -1
  543. package/dist/chunk-DZSIUEGH.js +0 -136
  544. package/dist/chunk-E6KL5ZRN.js +0 -455
  545. package/dist/chunk-EFSYTROP.js +0 -94
  546. package/dist/chunk-EKCPMVZ3.js +0 -175
  547. package/dist/chunk-EUFCY63X.js +0 -6178
  548. package/dist/chunk-EUFCY63X.js.map +0 -1
  549. package/dist/chunk-F2S5BLPE.js +0 -97
  550. package/dist/chunk-F4CUV4FV.js +0 -509
  551. package/dist/chunk-G7HYW5TH.js +0 -304
  552. package/dist/chunk-GX6VAHY7.js +0 -830
  553. package/dist/chunk-H26L3OQY.js +0 -42
  554. package/dist/chunk-HQSCJYZO.js +0 -26
  555. package/dist/chunk-HRYOZUSK.js +0 -1711
  556. package/dist/chunk-HTW7FTP4.js +0 -45
  557. package/dist/chunk-HTW7FTP4.js.map +0 -1
  558. package/dist/chunk-IFWP3ZDO.js +0 -215
  559. package/dist/chunk-IFWP3ZDO.js.map +0 -1
  560. package/dist/chunk-JERXV5A3.js +0 -26
  561. package/dist/chunk-JYWZRDLZ.js +0 -297
  562. package/dist/chunk-K46X77UI.js +0 -51
  563. package/dist/chunk-KFE3S63W.js +0 -1441
  564. package/dist/chunk-KLBTXETO.js +0 -23992
  565. package/dist/chunk-KLBTXETO.js.map +0 -1
  566. package/dist/chunk-KLNKEVIY.js +0 -136
  567. package/dist/chunk-KNY76UGC.js +0 -84
  568. package/dist/chunk-KQTYTCKQ.js +0 -98
  569. package/dist/chunk-KRZV6VS2.js +0 -19
  570. package/dist/chunk-KS2QY6MK.js +0 -139
  571. package/dist/chunk-L27H2R2N.js +0 -174
  572. package/dist/chunk-LERTEZST.js +0 -28
  573. package/dist/chunk-LF2PIA67.js +0 -159
  574. package/dist/chunk-LLOOWRBB.js +0 -496
  575. package/dist/chunk-LS5MTRFI.js +0 -106
  576. package/dist/chunk-LYBXCXJB.js +0 -160
  577. package/dist/chunk-M4G3NKDB.js +0 -197
  578. package/dist/chunk-MM22NUA6.js +0 -169
  579. package/dist/chunk-MM5XO4MP.js +0 -433
  580. package/dist/chunk-MZ3SJ6FV.js +0 -310
  581. package/dist/chunk-MZL4H5PY.js +0 -225
  582. package/dist/chunk-NAWWC5I3.js +0 -454
  583. package/dist/chunk-NAWWC5I3.js.map +0 -1
  584. package/dist/chunk-NU7JSWVA.js +0 -946
  585. package/dist/chunk-PBA3YCZA.js +0 -76
  586. package/dist/chunk-PROV2XDR.js +0 -592
  587. package/dist/chunk-PWGWMIIJ.js +0 -25
  588. package/dist/chunk-PZ7EPJRF.js +0 -60
  589. package/dist/chunk-QSN5MZGS.js +0 -74
  590. package/dist/chunk-QZOS6FXW.js +0 -206
  591. package/dist/chunk-RNDPEHCH.js +0 -337
  592. package/dist/chunk-RX6F3GEA.js +0 -610
  593. package/dist/chunk-STIB5DR5.js +0 -56
  594. package/dist/chunk-T4DD5YMP.js +0 -166
  595. package/dist/chunk-TD2P4HBP.js +0 -55
  596. package/dist/chunk-TJFELVYS.js +0 -92
  597. package/dist/chunk-ULJ5RFOV.js +0 -76
  598. package/dist/chunk-VAJBWA2U.js +0 -75
  599. package/dist/chunk-VB6WJJR3.js +0 -1830
  600. package/dist/chunk-VFIOJD5M.js +0 -309
  601. package/dist/chunk-VVZBBKRC.js +0 -296
  602. package/dist/chunk-W3B4BHQU.js +0 -31
  603. package/dist/chunk-WNFIJAUO.js +0 -98
  604. package/dist/chunk-WS2GMOSG.js +0 -74
  605. package/dist/chunk-WTOYCUKH.js +0 -84
  606. package/dist/chunk-X7ZODEXJ.js +0 -36
  607. package/dist/chunk-X7ZODEXJ.js.map +0 -1
  608. package/dist/chunk-XBOK23HI.js +0 -214
  609. package/dist/chunk-XL3BMSYG.js +0 -125
  610. package/dist/chunk-XX53CHKP.js +0 -346
  611. package/dist/chunk-XXHMVDLL.js +0 -1079
  612. package/dist/chunk-XXHMVDLL.js.map +0 -1
  613. package/dist/chunk-YBMVHGY3.js +0 -333
  614. package/dist/chunk-YIWXHIVZ.js +0 -111
  615. package/dist/chunk-YKFEHWHC.js +0 -188
  616. package/dist/chunk-YTNJODFK.js +0 -494
  617. package/dist/chunk-Z6XEMPOZ.js +0 -363
  618. package/dist/chunk-ZIHEIVJC.js +0 -4410
  619. package/dist/chunk-ZIHEIVJC.js.map +0 -1
  620. package/dist/chunk-ZWKPXWS5.js +0 -622
  621. package/dist/chunk-ZZQXVYUY.js +0 -66
  622. package/dist/claim-ITPOQ2I7.js +0 -197
  623. package/dist/client-VHN32ZRE.js +0 -19
  624. package/dist/code-YS6ZMGX3.js +0 -76
  625. package/dist/companies-Y5HPLJF5.js +0 -195
  626. package/dist/complete-SRXMUS4R.js +0 -81
  627. package/dist/config-CQN5FHMZ.js +0 -88
  628. package/dist/connect-CRHMP3NK.js +0 -42
  629. package/dist/content-3ZPP4SW2.js +0 -81
  630. package/dist/conversation-BBOPGOMH.js +0 -93
  631. package/dist/conversion-report-N4HANYOB.js +0 -125
  632. package/dist/conversion-upload-command-AUF3LNTH.js +0 -438
  633. package/dist/conversion-writes-LW4HQKK5.js +0 -120
  634. package/dist/conversions-DH3Q6UTJ.js +0 -135
  635. package/dist/conversions-TS723AZV.js +0 -76
  636. package/dist/countries-ESAKTQAE.js +0 -82
  637. package/dist/create-CW5E5Y2S.js +0 -59
  638. package/dist/create-HOIUANHB.js +0 -207
  639. package/dist/create-M7TK4QUC.js +0 -235
  640. package/dist/create-ZWSKHSPD.js +0 -130
  641. package/dist/creatives-LLWNKS47.js +0 -51
  642. package/dist/creatives-QQZNCA6V.js +0 -182
  643. package/dist/creatives-UEPLNCPN.js +0 -87
  644. package/dist/credentials-CFKCUDES.js +0 -1055
  645. package/dist/credentials-CFKCUDES.js.map +0 -1
  646. package/dist/critique-AQDXRULE.js +0 -213
  647. package/dist/critique-ORSUUTHE.js +0 -1449
  648. package/dist/crm-EPSZEOD2.js +0 -318
  649. package/dist/crm-WNFEWAAM.js +0 -224
  650. package/dist/crop-2J4RKJ6B.js +0 -113
  651. package/dist/currency-XCGKQ7FE.js +0 -88
  652. package/dist/custom-conversions-2VLJGPRV.js +0 -125
  653. package/dist/customers-NZDE7V3P.js +0 -56
  654. package/dist/delete-3AV3ARMX.js +0 -71
  655. package/dist/delete-6RAKC62Z.js +0 -66
  656. package/dist/delete-7HMQBDFC.js +0 -54
  657. package/dist/delete-A5XD52K4.js +0 -69
  658. package/dist/delete-FKXR5ZOP.js +0 -63
  659. package/dist/delete-MRM2S4Z5.js +0 -71
  660. package/dist/demographics-PRZS2ZC4.js +0 -138
  661. package/dist/describe-6NVOWIBE.js +0 -97
  662. package/dist/describe-P3PPIQME.js +0 -97
  663. package/dist/dimensions-EYAYO27I.js +0 -101
  664. package/dist/discard-YLTMCFE6.js +0 -66
  665. package/dist/discover-BJPZNXUQ.js +0 -172
  666. package/dist/domain-Z533IR5M.js +0 -98
  667. package/dist/download-7T6HIJKD.js +0 -299
  668. package/dist/draft-3ZVCQSAG.js +0 -103
  669. package/dist/draft-4PURIMDM.js +0 -217
  670. package/dist/draft-5YAYCEYY.js +0 -107
  671. package/dist/draft-7ZWPABVG.js +0 -306
  672. package/dist/draft-KIBMVKSR.js +0 -100
  673. package/dist/draft-THPZFASM.js +0 -281
  674. package/dist/draft-YDY2Q2K6.js +0 -233
  675. package/dist/draft-ZXZEQRCL.js +0 -328
  676. package/dist/env-KIP2J2UB.js +0 -43
  677. package/dist/experiment-PYQPAZZN.js +0 -1397
  678. package/dist/experiment-PYQPAZZN.js.map +0 -1
  679. package/dist/export-JQRMBJ7D.js +0 -168
  680. package/dist/extract-7QKLME7Z.js +0 -113
  681. package/dist/facets-453OFMAM.js +0 -114
  682. package/dist/favorites-NSGF4OV5.js +0 -178
  683. package/dist/feed-RV4KPPXM.js +0 -157
  684. package/dist/feedback-JFV6BMJW.js +0 -66
  685. package/dist/feedback-record-HCOBRTY2.js +0 -175
  686. package/dist/fetch-44PPB6UO.js +0 -176
  687. package/dist/fetch-XF76JABV.js +0 -139
  688. package/dist/find-FRRHAPWX.js +0 -134
  689. package/dist/fit-7237F5EB.js +0 -45
  690. package/dist/flows-N7UZ4ZO5.js +0 -247
  691. package/dist/follow-FN7LV3WV.js +0 -82
  692. package/dist/follow-competitors-MKXFHLXB.js +0 -131
  693. package/dist/following-RKC2FLHI.js +0 -109
  694. package/dist/fonts-YW7SU5EY.js +0 -34
  695. package/dist/forecast-W57WFVDL.js +0 -104
  696. package/dist/funding-NYO65IMT.js +0 -85
  697. package/dist/funnel-VW542JTE.js +0 -394
  698. package/dist/funnel-VW542JTE.js.map +0 -1
  699. package/dist/ga4-DV2AXCSL.js +0 -55
  700. package/dist/generate-MMBYB44G.js +0 -262
  701. package/dist/get-2NA3LPCN.js +0 -78
  702. package/dist/get-3L6W3E3T.js +0 -59
  703. package/dist/get-6WEYKOY6.js +0 -63
  704. package/dist/get-MEGPYKQR.js +0 -56
  705. package/dist/get-P743RPSI.js +0 -63
  706. package/dist/get-XN5ZGDIK.js +0 -61
  707. package/dist/get-YIHTAMRT.js +0 -92
  708. package/dist/gif-53ULFVLR.js +0 -94
  709. package/dist/google-M7KEXVK5.js +0 -1872
  710. package/dist/google-QYYYSSXI.js +0 -136
  711. package/dist/google-ads-G2XD4RMT.js +0 -195
  712. package/dist/group-EFZ3AJIE.js +0 -43
  713. package/dist/group-GKWCCX66.js +0 -43
  714. package/dist/gsc-TAKOF7J5.js +0 -30
  715. package/dist/history-DBIEYQHY.js +0 -67
  716. package/dist/history-RCKMMUWI.js +0 -133
  717. package/dist/hubspot-CKS7F77W.js +0 -779
  718. package/dist/icon-L4RSS6PZ.js +0 -137
  719. package/dist/ideas-EYC6K33G.js +0 -32
  720. package/dist/images-2HJ7YKTH.js +0 -90
  721. package/dist/improve-BCCU5AS6.js +0 -86
  722. package/dist/ingest-26O5Q462.js +0 -23
  723. package/dist/ingest-RR5GAX3G.js +0 -107
  724. package/dist/insights-NZWSJKU4.js +0 -423
  725. package/dist/insights-ZIU6FJMS.js +0 -122
  726. package/dist/inspect-XPDUPSUP.js +0 -189
  727. package/dist/inspiration-S3DU4CMQ.js +0 -53
  728. package/dist/intent-E3UIVZBN.js +0 -95
  729. package/dist/job-L7RJZMSG.js +0 -202
  730. package/dist/job-create-JUDAN52O.js +0 -109
  731. package/dist/job-status-U43WE3RJ.js +0 -74
  732. package/dist/keep-55CPC7DG.js +0 -78
  733. package/dist/keyword-gap-BG6M665A.js +0 -130
  734. package/dist/keyword-metrics-KOPXTILA.js +0 -197
  735. package/dist/keywords-for-site-PONNELI5.js +0 -128
  736. package/dist/landing-RYRZ5VZ2.js +0 -28
  737. package/dist/languages-HORKPDNH.js +0 -40
  738. package/dist/languages-JSGWCC7Z.js +0 -55
  739. package/dist/layerize-RPD6SNP6.js +0 -190
  740. package/dist/leads-ARUWPHBM.js +0 -293
  741. package/dist/leads-R7YSJDIG.js +0 -90
  742. package/dist/learn-IZ6QKTCX.js +0 -203
  743. package/dist/library-ARKRLCNJ.js +0 -109
  744. package/dist/lighthouse-6ZC45E53.js +0 -75
  745. package/dist/line-item-writes-25FE22UX.js +0 -208
  746. package/dist/line-items-V522VKSU.js +0 -103
  747. package/dist/link-ZZZVDSUP.js +0 -64
  748. package/dist/linkedin-HXLYJVGI.js +0 -1008
  749. package/dist/list-7MVBXOJT.js +0 -51
  750. package/dist/list-A5UCIR2J.js +0 -65
  751. package/dist/list-AL7N6X2P.js +0 -50
  752. package/dist/list-HSXOTG5R.js +0 -151
  753. package/dist/list-KYEK3N34.js +0 -303
  754. package/dist/list-LI4OGQFW.js +0 -57
  755. package/dist/list-LKHHCQZU.js +0 -63
  756. package/dist/list-P7NAFN6J.js +0 -76
  757. package/dist/locations-74TPQWAT.js +0 -67
  758. package/dist/locations-J4G5RNPH.js +0 -40
  759. package/dist/log-6ELXS5EJ.js +0 -92
  760. package/dist/logo-Q5D7PZY6.js +0 -18
  761. package/dist/lookup-TCU2ZEZW.js +0 -22
  762. package/dist/make-2PV4B2TT.js +0 -596
  763. package/dist/make-2PV4B2TT.js.map +0 -1
  764. package/dist/map-SJLRAB5X.js +0 -404
  765. package/dist/map-SJLRAB5X.js.map +0 -1
  766. package/dist/mcp-W7DBSUF7.js +0 -476
  767. package/dist/media-53DJRC4N.js +0 -15
  768. package/dist/media-6CQYG4UY.js +0 -89
  769. package/dist/media-sources-M35YZQY5.js +0 -32
  770. package/dist/members-QXYMJQWU.js +0 -44
  771. package/dist/meta-A7KM6TF5.js +0 -69
  772. package/dist/metrics-SQDJ5NQO.js +0 -152
  773. package/dist/models-7U3GRYHF.js +0 -155
  774. package/dist/normalize-DYJLUBQP.js +0 -141
  775. package/dist/normalize-ICQF2AST.js +0 -806
  776. package/dist/options-77SHB5KA.js +0 -121
  777. package/dist/output-RAH3TSIL.js +0 -24
  778. package/dist/page-GS3WLT2C.js +0 -105
  779. package/dist/pages-FXYQLHSJ.js +0 -66
  780. package/dist/performance-VVTYUSTW.js +0 -24
  781. package/dist/pinterest-AUH7WBA7.js +0 -96
  782. package/dist/pixels-45A55MOP.js +0 -60
  783. package/dist/pixels-ZFF4BGUH.js +0 -108
  784. package/dist/plan-4QP2G7GV.js +0 -207
  785. package/dist/plan-4QP2G7GV.js.map +0 -1
  786. package/dist/preview-AD4GKYIA.js +0 -169
  787. package/dist/promoted-tweet-writes-QP37NMQC.js +0 -180
  788. package/dist/promoted-tweets-WPSM6MGX.js +0 -119
  789. package/dist/properties-L2XIYQDS.js +0 -101
  790. package/dist/publish-YF6ESBGQ.js +0 -322
  791. package/dist/query-IEZRY6HV.js +0 -1341
  792. package/dist/query-SGGBCHTF.js +0 -236
  793. package/dist/query-VTGVZQIO.js +0 -247
  794. package/dist/questionnaire-J56AATOX.js +0 -93
  795. package/dist/questionnaire-J56AATOX.js.map +0 -1
  796. package/dist/read-G5AC332V.js +0 -141
  797. package/dist/read-G5AC332V.js.map +0 -1
  798. package/dist/reddit-VC3IOFNC.js +0 -26
  799. package/dist/refresh-UXBCTVCG.js +0 -94
  800. package/dist/release-PP5S5QHD.js +0 -60
  801. package/dist/relevant-pages-OWMNUCP7.js +0 -99
  802. package/dist/remove-6LGGKMLJ.js +0 -48
  803. package/dist/remove-OUWQ7NPN.js +0 -50
  804. package/dist/reopen-KXAM5LVX.js +0 -63
  805. package/dist/rerun-ZVFP4FNN.js +0 -85
  806. package/dist/research-52CURSLR.js +0 -262
  807. package/dist/research-WEW3TISC.js +0 -62
  808. package/dist/reset-MVLV7GEB.js +0 -54
  809. package/dist/reset-RBL2NSDV.js +0 -54
  810. package/dist/resolve-JG3TGLCR.js +0 -121
  811. package/dist/retry-2B3V4CJO.js +0 -60
  812. package/dist/retry-Y3VUKOZ3.js +0 -62
  813. package/dist/retry-failed-6HXPUVXJ.js +0 -45
  814. package/dist/run-3BCAHPCW.js +0 -65
  815. package/dist/run-FZL7FYTL.js +0 -60
  816. package/dist/scaffold-ad-TL5URKZF.js +0 -1549
  817. package/dist/scaffold-static-ad-PN6RR3IP.js +0 -966
  818. package/dist/scaffold-static-ad-PN6RR3IP.js.map +0 -1
  819. package/dist/scaffold-video-LRTELU5X.js +0 -873
  820. package/dist/schedule-7QLWW5HA.js +0 -61
  821. package/dist/schedule-O2K6M43V.js +0 -66
  822. package/dist/scheduled-agents-HDALX27W.js +0 -49
  823. package/dist/schema-6GR77VJG.js +0 -63
  824. package/dist/schema-EY3Y3KFB.js +0 -132
  825. package/dist/scrape-ETAMW43A.js +0 -2241
  826. package/dist/screenshot-YCQF25ZB.js +0 -102
  827. package/dist/search-4XS7AO5R.js +0 -174
  828. package/dist/search-742XSULP.js +0 -224
  829. package/dist/search-MEEM4D3W.js +0 -92
  830. package/dist/search-OQNGSMUH.js +0 -91
  831. package/dist/search-UO5KJTYS.js +0 -26
  832. package/dist/seeds-N6FF5S4T.js +0 -101
  833. package/dist/select-J3QVFWVE.js +0 -94
  834. package/dist/sends-WGJVQUMF.js +0 -309
  835. package/dist/sequences-OIPVR7JL.js +0 -146
  836. package/dist/set-prompt-MEMSZEZK.js +0 -186
  837. package/dist/setup-links-4PCSBEJD.js +0 -141
  838. package/dist/shared-HJDFNID4.js +0 -31
  839. package/dist/site-IG62FRYT.js +0 -177
  840. package/dist/sitemaps-POPZJTAX.js +0 -87
  841. package/dist/sites-262H6LM4.js +0 -101
  842. package/dist/skills-6TQZLIMP.js +0 -47
  843. package/dist/sources-5YFONIJP.js +0 -30
  844. package/dist/sources-AM7SIZUY.js +0 -421
  845. package/dist/stale-UMI4XCKX.js +0 -63
  846. package/dist/stats-NNXZMPZR.js +0 -34
  847. package/dist/status-F4XMET7U.js +0 -62
  848. package/dist/sticker-4KMBSMP5.js +0 -94
  849. package/dist/stock-KXJ26BY4.js +0 -179
  850. package/dist/studio-EKIPLLHD.js +0 -49
  851. package/dist/sync-CF7FVUQJ.js +0 -54
  852. package/dist/sync-LXYAJ7SU.js +0 -54
  853. package/dist/sync-ZSNUBYPM.js +0 -265
  854. package/dist/sync-definition-WU6V5245.js +0 -53
  855. package/dist/tag-manager-JAAMOUGB.js +0 -43
  856. package/dist/tags-6WV3PQH5.js +0 -20
  857. package/dist/tags-FTOD6CYS.js +0 -20
  858. package/dist/tags-KXNOWUMN.js +0 -224
  859. package/dist/tags-PJRNCPQJ.js +0 -20
  860. package/dist/tags-R5JCZRAV.js +0 -26
  861. package/dist/targeting-constants-XJ2VOW7K.js +0 -118
  862. package/dist/targeting-criteria-HJ7YFAB2.js +0 -113
  863. package/dist/targets-RLZSBUCI.js +0 -102
  864. package/dist/templates-4SWUBLOC.js +0 -178
  865. package/dist/testimonials-YYLALSV4.js +0 -32
  866. package/dist/top-companies-SNOQQFUS.js +0 -108
  867. package/dist/translate-CZRVAEUQ.js +0 -598
  868. package/dist/triggers-MFDFO2Y4.js +0 -141
  869. package/dist/tweets-ATP3FQAC.js +0 -123
  870. package/dist/unfollow-CBVPGPF7.js +0 -46
  871. package/dist/unlink-BVDKP7VQ.js +0 -67
  872. package/dist/unstage-V7GMMOWR.js +0 -95
  873. package/dist/unstage-ZTOQEWRC.js +0 -84
  874. package/dist/update-R46SJ55S.js +0 -155
  875. package/dist/update-R572VWKO.js +0 -142
  876. package/dist/update-SQEWFFFG.js +0 -98
  877. package/dist/update-VVK6SWSI.js +0 -63
  878. package/dist/upload-L5SYZB3X.js +0 -150
  879. package/dist/upload-TUYWMS6E.js +0 -126
  880. package/dist/upscale-YWRLFU22.js +0 -109
  881. package/dist/url-options-GGXAL3J4.js +0 -127
  882. package/dist/url-params-CU3KVLI5.js +0 -98
  883. package/dist/use-UT2DIZOG.js +0 -95
  884. package/dist/validate-WPJXPGWS.js +0 -89
  885. package/dist/variant-FLZJYGYL.js +0 -338
  886. package/dist/videos-KGNLYRUS.js +0 -39
  887. package/dist/view-NPAG66QK.js +0 -121
  888. package/dist/viewer-check-45T2HLAH.js +0 -69
  889. package/dist/web-IEJBIF7U.js +0 -140
  890. package/dist/winners-I5BMATJZ.js +0 -79
  891. package/dist/winning-ads-GGQ3DZXX.js +0 -62
  892. package/dist/winning-ads-GGQ3DZXX.js.map +0 -1
  893. package/dist/write-commands-CT74VHH6.js +0 -737
  894. package/dist/write-commands-CXRXLXX2.js +0 -1015
  895. package/dist/write-commands-VWSLDBPT.js +0 -206
  896. package/dist/write-commands-WTRSOSO3.js +0 -713
  897. package/dist/x-WHE6PSDD.js +0 -47
  898. /package/dist/{account-HS7SDSEB.js.map → account-BENZTU54.js.map} +0 -0
  899. /package/dist/{account-F6MHQ64I.js.map → account-TJPJXX5L.js.map} +0 -0
  900. /package/dist/{account-IEVEOFIK.js.map → account-WOEYURTR.js.map} +0 -0
  901. /package/dist/{account-writes-ISE4U2FQ.js.map → account-writes-QLHQ6QRN.js.map} +0 -0
  902. /package/dist/{accounts-KYJO3JC6.js.map → accounts-CIYRAWVY.js.map} +0 -0
  903. /package/dist/{accounts-ZZONEKPU.js.map → accounts-EKYHTEL5.js.map} +0 -0
  904. /package/dist/{accounts-5QDKBZMH.js.map → accounts-ILE6LUH2.js.map} +0 -0
  905. /package/dist/{accounts-4CDRK4S4.js.map → accounts-MZXNJ4FY.js.map} +0 -0
  906. /package/dist/{accounts-3JKABIGU.js.map → accounts-RVRE3XSZ.js.map} +0 -0
  907. /package/dist/{actions-VKHKHUUC.js.map → actions-SE4RT5VJ.js.map} +0 -0
  908. /package/dist/{active-entities-YUSOUR5M.js.map → active-entities-NNSRMERA.js.map} +0 -0
  909. /package/dist/{activities-ZVQOBHZH.js.map → activities-IOIEQTVH.js.map} +0 -0
  910. /package/dist/{ad-group-writes-UU5NNKSO.js.map → ad-group-writes-TQCKLL34.js.map} +0 -0
  911. /package/dist/{ad-groups-CGFXZNIA.js.map → ad-groups-LZWSLBC5.js.map} +0 -0
  912. /package/dist/{ad-writes-NALDYWOR.js.map → ad-writes-UH2WTTGA.js.map} +0 -0
  913. /package/dist/{add-577QWMCF.js.map → add-AYKM57Z4.js.map} +0 -0
  914. /package/dist/{add-ATD4MBOO.js.map → add-IBRKJ3YA.js.map} +0 -0
  915. /package/dist/{add-53DDLTVG.js.map → add-IKO6F33F.js.map} +0 -0
  916. /package/dist/{add-CUWAW7KG.js.map → add-VHJNMLIZ.js.map} +0 -0
  917. /package/dist/{ads-6UEDYT3O.js.map → ads-6GT5744J.js.map} +0 -0
  918. /package/dist/{ads-QFAUJCWM.js.map → ads-QFCFTASQ.js.map} +0 -0
  919. /package/dist/{ads-PV7GZXPR.js.map → ads-RJNNP6XJ.js.map} +0 -0
  920. /package/dist/{adsets-Q5DWGANV.js.map → adsets-XG64ZCJY.js.map} +0 -0
  921. /package/dist/{advertisers-HYUASJAS.js.map → advertisers-MWTH3NR4.js.map} +0 -0
  922. /package/dist/{advertisers-YMHPZYNF.js.map → advertisers-XVGBLKB3.js.map} +0 -0
  923. /package/dist/{analytics-RQROMSQ3.js.map → analytics-M2YUE6P3.js.map} +0 -0
  924. /package/dist/{animate-FWWHSYPL.js.map → animate-RC3ZBLLZ.js.map} +0 -0
  925. /package/dist/{assign-7332DMG5.js.map → assign-6MIMTPG6.js.map} +0 -0
  926. /package/dist/{audience-size-UYX5RPTA.js.map → audience-size-LG3EJVUQ.js.map} +0 -0
  927. /package/dist/{audiences-AMRFZRZ7.js.map → audiences-CDQPFZOH.js.map} +0 -0
  928. /package/dist/{audiences-HFRVIE2X.js.map → audiences-FEP7LYRA.js.map} +0 -0
  929. /package/dist/{audiences-VEKGLWBG.js.map → audiences-H3RVGETG.js.map} +0 -0
  930. /package/dist/{audit-AD4ZZNJN.js.map → audit-65M7ZYPF.js.map} +0 -0
  931. /package/dist/{audit-ZGTG7VRD.js.map → audit-NLSSM2KK.js.map} +0 -0
  932. /package/dist/{autocomplete-LPG4WWTY.js.map → autocomplete-FWTUDPDJ.js.map} +0 -0
  933. /package/dist/{avatars-HTQMIA2F.js.map → avatars-HSU7KUT3.js.map} +0 -0
  934. /package/dist/{bid-pricing-IK2C2IKE.js.map → bid-pricing-SDJGBZQI.js.map} +0 -0
  935. /package/dist/{brand-3WCTQWWX.js.map → brand-4E7GKZYV.js.map} +0 -0
  936. /package/dist/{brief-WDKTAKVA.js.map → brief-2YLVLL3Q.js.map} +0 -0
  937. /package/dist/{businesses-JBDQZZIG.js.map → businesses-PJGOECA7.js.map} +0 -0
  938. /package/dist/{campaign-groups-6CJ45XMO.js.map → campaign-groups-J3ZLWO6K.js.map} +0 -0
  939. /package/dist/{campaign-writes-SX52CJYW.js.map → campaign-writes-PIOQVLAI.js.map} +0 -0
  940. /package/dist/{campaign-writes-2MLRVFJK.js.map → campaign-writes-UGUL5EDR.js.map} +0 -0
  941. /package/dist/{campaigns-ZVA7SUNN.js.map → campaigns-6ARLQJU2.js.map} +0 -0
  942. /package/dist/{campaigns-D6B6Z67Y.js.map → campaigns-IZZ4FCHQ.js.map} +0 -0
  943. /package/dist/{campaigns-DTH5ADA7.js.map → campaigns-PFNTJHMX.js.map} +0 -0
  944. /package/dist/{campaigns-X3DPCCSN.js.map → campaigns-ZU7FMRQ3.js.map} +0 -0
  945. /package/dist/{capabilities-VWJGP43K.js.map → capabilities-K3DVPGYB.js.map} +0 -0
  946. /package/dist/{cards-4477BFEV.js.map → cards-PS3VNNX3.js.map} +0 -0
  947. /package/dist/{catalog-BKQOAVR2.js.map → catalog-O5U2VMKK.js.map} +0 -0
  948. /package/dist/{catalogs-G3YEVG6S.js.map → catalogs-ALSH4R2K.js.map} +0 -0
  949. /package/dist/{changes-TP7ZZHB3.js.map → changes-KFQKVM3M.js.map} +0 -0
  950. /package/dist/{chatgpt-QNUN63YS.js.map → chatgpt-NHGFCJYH.js.map} +0 -0
  951. /package/dist/{chats-JOZKLOFU.js.map → chats-YRRTFHKK.js.map} +0 -0
  952. /package/dist/{chunk-MZL4H5PY.js.map → chunk-2ACGDQ2P.js.map} +0 -0
  953. /package/dist/{chunk-VVZBBKRC.js.map → chunk-33F4O6OO.js.map} +0 -0
  954. /package/dist/{chunk-YIWXHIVZ.js.map → chunk-3ASE4O2H.js.map} +0 -0
  955. /package/dist/{chunk-MZ3SJ6FV.js.map → chunk-3J62OINP.js.map} +0 -0
  956. /package/dist/{chunk-EFSYTROP.js.map → chunk-3REUG4QF.js.map} +0 -0
  957. /package/dist/{chunk-3EUFAONS.js.map → chunk-3XZEAI7E.js.map} +0 -0
  958. /package/dist/{chunk-35XWJEWH.js.map → chunk-4BIU2YVF.js.map} +0 -0
  959. /package/dist/{chunk-LLOOWRBB.js.map → chunk-4CYUOGDC.js.map} +0 -0
  960. /package/dist/{chunk-L27H2R2N.js.map → chunk-52KJDURD.js.map} +0 -0
  961. /package/dist/{chunk-XBOK23HI.js.map → chunk-5BQCBI2G.js.map} +0 -0
  962. /package/dist/{chunk-4QEY2L6U.js.map → chunk-5J5NHV3X.js.map} +0 -0
  963. /package/dist/{chunk-TJFELVYS.js.map → chunk-5SAQ7MNN.js.map} +0 -0
  964. /package/dist/{chunk-NU7JSWVA.js.map → chunk-5WW456MW.js.map} +0 -0
  965. /package/dist/{chunk-4JHUG6Y3.js.map → chunk-63VMGEZI.js.map} +0 -0
  966. /package/dist/{chunk-54UVGFX3.js.map → chunk-6C3ADYIW.js.map} +0 -0
  967. /package/dist/{chunk-5Z2KSVIV.js.map → chunk-6K47VIWF.js.map} +0 -0
  968. /package/dist/{chunk-VAJBWA2U.js.map → chunk-6TDEGWZJ.js.map} +0 -0
  969. /package/dist/{chunk-KFE3S63W.js.map → chunk-6TQHA2UF.js.map} +0 -0
  970. /package/dist/{chunk-M4G3NKDB.js.map → chunk-7GZNYQ3Z.js.map} +0 -0
  971. /package/dist/{chunk-KLNKEVIY.js.map → chunk-7P2Y7OQF.js.map} +0 -0
  972. /package/dist/{chunk-XL3BMSYG.js.map → chunk-AW2UE5AI.js.map} +0 -0
  973. /package/dist/{chunk-75FDTDLH.js.map → chunk-B7COZ237.js.map} +0 -0
  974. /package/dist/{chunk-RX6F3GEA.js.map → chunk-BDI5INZA.js.map} +0 -0
  975. /package/dist/{chunk-GX6VAHY7.js.map → chunk-BFBTBN66.js.map} +0 -0
  976. /package/dist/{chunk-4GOS37IA.js.map → chunk-BPQARCYW.js.map} +0 -0
  977. /package/dist/{chunk-VFIOJD5M.js.map → chunk-CWW5ITFK.js.map} +0 -0
  978. /package/dist/{chunk-EKCPMVZ3.js.map → chunk-DMA7XZLS.js.map} +0 -0
  979. /package/dist/{chunk-4NDCTLI5.js.map → chunk-DTKZEXIF.js.map} +0 -0
  980. /package/dist/{chunk-C6U6UDHJ.js.map → chunk-E25X7QES.js.map} +0 -0
  981. /package/dist/{chunk-STIB5DR5.js.map → chunk-E7GYHNQO.js.map} +0 -0
  982. /package/dist/{chunk-3JCF3NK6.js.map → chunk-EDU6N5NY.js.map} +0 -0
  983. /package/dist/{chunk-7OFNN4CT.js.map → chunk-EMLKO3AU.js.map} +0 -0
  984. /package/dist/{chunk-YKFEHWHC.js.map → chunk-EOIYM35Z.js.map} +0 -0
  985. /package/dist/{chunk-YTNJODFK.js.map → chunk-F4IQVOOJ.js.map} +0 -0
  986. /package/dist/{chunk-LERTEZST.js.map → chunk-GLPKJMMO.js.map} +0 -0
  987. /package/dist/{chunk-KNY76UGC.js.map → chunk-GLRM72PT.js.map} +0 -0
  988. /package/dist/{chunk-LS5MTRFI.js.map → chunk-H4VPQQN7.js.map} +0 -0
  989. /package/dist/{chunk-JERXV5A3.js.map → chunk-HNBLXWWQ.js.map} +0 -0
  990. /package/dist/{chunk-LYBXCXJB.js.map → chunk-II7LSCAH.js.map} +0 -0
  991. /package/dist/{chunk-QZOS6FXW.js.map → chunk-ITQWQINC.js.map} +0 -0
  992. /package/dist/{chunk-E6KL5ZRN.js.map → chunk-IY3JSASS.js.map} +0 -0
  993. /package/dist/{chunk-5PKB7LNI.js.map → chunk-JFMMCONZ.js.map} +0 -0
  994. /package/dist/{chunk-KS2QY6MK.js.map → chunk-JGST7KMB.js.map} +0 -0
  995. /package/dist/{chunk-Z6XEMPOZ.js.map → chunk-JIB3JWL7.js.map} +0 -0
  996. /package/dist/{chunk-QSN5MZGS.js.map → chunk-JTFZ5M3C.js.map} +0 -0
  997. /package/dist/{chunk-H26L3OQY.js.map → chunk-JXOPTOVM.js.map} +0 -0
  998. /package/dist/{chunk-KQTYTCKQ.js.map → chunk-K45KDAV7.js.map} +0 -0
  999. /package/dist/{chunk-6QJLVNGU.js.map → chunk-KFHLUX6M.js.map} +0 -0
  1000. /package/dist/{chunk-PZ7EPJRF.js.map → chunk-KKRN7XRQ.js.map} +0 -0
  1001. /package/dist/{chunk-K46X77UI.js.map → chunk-KVHZLRNU.js.map} +0 -0
  1002. /package/dist/{chunk-TD2P4HBP.js.map → chunk-L2ZNZSPV.js.map} +0 -0
  1003. /package/dist/{chunk-W3B4BHQU.js.map → chunk-L4C4OPO2.js.map} +0 -0
  1004. /package/dist/{chunk-JYWZRDLZ.js.map → chunk-LAHBXTKI.js.map} +0 -0
  1005. /package/dist/{chunk-WS2GMOSG.js.map → chunk-LX2VM245.js.map} +0 -0
  1006. /package/dist/{chunk-G7HYW5TH.js.map → chunk-MJYRLGGI.js.map} +0 -0
  1007. /package/dist/{chunk-PBA3YCZA.js.map → chunk-NJY65ACF.js.map} +0 -0
  1008. /package/dist/{chunk-6B7VKFS4.js.map → chunk-NPW3LEAE.js.map} +0 -0
  1009. /package/dist/{chunk-LF2PIA67.js.map → chunk-ODMRAEEP.js.map} +0 -0
  1010. /package/dist/{chunk-HQSCJYZO.js.map → chunk-P5T7OZKV.js.map} +0 -0
  1011. /package/dist/{chunk-XX53CHKP.js.map → chunk-PLMHZLJ6.js.map} +0 -0
  1012. /package/dist/{chunk-VB6WJJR3.js.map → chunk-Q4U3ENKF.js.map} +0 -0
  1013. /package/dist/{chunk-D76QEIFG.js.map → chunk-Q5KR4RRB.js.map} +0 -0
  1014. /package/dist/{chunk-DGPLXY37.js.map → chunk-RASBZ6SN.js.map} +0 -0
  1015. /package/dist/{chunk-7ZHMGXE2.js.map → chunk-RE6ZIHDH.js.map} +0 -0
  1016. /package/dist/{chunk-WTOYCUKH.js.map → chunk-RNHSGH44.js.map} +0 -0
  1017. /package/dist/{chunk-HRYOZUSK.js.map → chunk-S2IOUC5B.js.map} +0 -0
  1018. /package/dist/{chunk-WNFIJAUO.js.map → chunk-S5MBDWB3.js.map} +0 -0
  1019. /package/dist/{chunk-5YGBRHO6.js.map → chunk-SCG3FY3H.js.map} +0 -0
  1020. /package/dist/{chunk-PROV2XDR.js.map → chunk-SLE4FEFP.js.map} +0 -0
  1021. /package/dist/{chunk-DZSIUEGH.js.map → chunk-TIL76IDK.js.map} +0 -0
  1022. /package/dist/{chunk-T4DD5YMP.js.map → chunk-TQO6WNUH.js.map} +0 -0
  1023. /package/dist/{chunk-MM5XO4MP.js.map → chunk-UOFHTLPD.js.map} +0 -0
  1024. /package/dist/{chunk-ZZQXVYUY.js.map → chunk-UXQ4YQ2O.js.map} +0 -0
  1025. /package/dist/{chunk-MM22NUA6.js.map → chunk-W5FCTANB.js.map} +0 -0
  1026. /package/dist/{chunk-F4CUV4FV.js.map → chunk-X7TD2MW7.js.map} +0 -0
  1027. /package/dist/{chunk-F2S5BLPE.js.map → chunk-XDEQ3JIR.js.map} +0 -0
  1028. /package/dist/{chunk-ULJ5RFOV.js.map → chunk-XFGAUP5B.js.map} +0 -0
  1029. /package/dist/{chunk-PWGWMIIJ.js.map → chunk-XLNVBDP2.js.map} +0 -0
  1030. /package/dist/{chunk-ZWKPXWS5.js.map → chunk-XOSUSV2O.js.map} +0 -0
  1031. /package/dist/{chunk-6G5K6ZC6.js.map → chunk-XUNG5I2P.js.map} +0 -0
  1032. /package/dist/{chunk-2TK4DEOE.js.map → chunk-XXBIY75O.js.map} +0 -0
  1033. /package/dist/{chunk-BNCW67EM.js.map → chunk-YI34MMBL.js.map} +0 -0
  1034. /package/dist/{chunk-RNDPEHCH.js.map → chunk-YORMRROI.js.map} +0 -0
  1035. /package/dist/{chunk-YBMVHGY3.js.map → chunk-YYBQUXFX.js.map} +0 -0
  1036. /package/dist/{chunk-KRZV6VS2.js.map → chunk-Z6DVODBW.js.map} +0 -0
  1037. /package/dist/{chunk-2BKVVCCV.js.map → chunk-ZR55VIOO.js.map} +0 -0
  1038. /package/dist/{claim-ITPOQ2I7.js.map → claim-Y72FU77H.js.map} +0 -0
  1039. /package/dist/{client-VHN32ZRE.js.map → client-4H6FYKCS.js.map} +0 -0
  1040. /package/dist/{code-YS6ZMGX3.js.map → code-JRNGF4AQ.js.map} +0 -0
  1041. /package/dist/{companies-Y5HPLJF5.js.map → companies-XEYBYAYB.js.map} +0 -0
  1042. /package/dist/{complete-SRXMUS4R.js.map → complete-ZANYQ6HF.js.map} +0 -0
  1043. /package/dist/{config-CQN5FHMZ.js.map → config-ON2KUCQT.js.map} +0 -0
  1044. /package/dist/{connect-CRHMP3NK.js.map → connect-VBCLYQF4.js.map} +0 -0
  1045. /package/dist/{content-3ZPP4SW2.js.map → content-QIEV6TB3.js.map} +0 -0
  1046. /package/dist/{conversation-BBOPGOMH.js.map → conversation-XVGX7HL2.js.map} +0 -0
  1047. /package/dist/{conversion-report-N4HANYOB.js.map → conversion-report-RC7G5FYK.js.map} +0 -0
  1048. /package/dist/{conversion-upload-command-AUF3LNTH.js.map → conversion-upload-command-PEE3VQTU.js.map} +0 -0
  1049. /package/dist/{conversion-writes-LW4HQKK5.js.map → conversion-writes-W7ICHG76.js.map} +0 -0
  1050. /package/dist/{conversions-DH3Q6UTJ.js.map → conversions-KF4AHFCY.js.map} +0 -0
  1051. /package/dist/{conversions-TS723AZV.js.map → conversions-OI7JVWXC.js.map} +0 -0
  1052. /package/dist/{countries-ESAKTQAE.js.map → countries-DYGDGADD.js.map} +0 -0
  1053. /package/dist/{create-CW5E5Y2S.js.map → create-5ZYWRS65.js.map} +0 -0
  1054. /package/dist/{create-M7TK4QUC.js.map → create-HOZVJTLQ.js.map} +0 -0
  1055. /package/dist/{create-ZWSKHSPD.js.map → create-O4HLNNZZ.js.map} +0 -0
  1056. /package/dist/{create-HOIUANHB.js.map → create-TH4PAKLA.js.map} +0 -0
  1057. /package/dist/{creatives-LLWNKS47.js.map → creatives-4NBWBNE3.js.map} +0 -0
  1058. /package/dist/{creatives-QQZNCA6V.js.map → creatives-QCA5K3QN.js.map} +0 -0
  1059. /package/dist/{creatives-UEPLNCPN.js.map → creatives-QWCZYDFX.js.map} +0 -0
  1060. /package/dist/{critique-AQDXRULE.js.map → critique-AWVCL2V3.js.map} +0 -0
  1061. /package/dist/{critique-ORSUUTHE.js.map → critique-JHTYUNM4.js.map} +0 -0
  1062. /package/dist/{crm-EPSZEOD2.js.map → crm-7CJYHUOM.js.map} +0 -0
  1063. /package/dist/{crm-WNFEWAAM.js.map → crm-UGKYWOXB.js.map} +0 -0
  1064. /package/dist/{crop-2J4RKJ6B.js.map → crop-HS55YINN.js.map} +0 -0
  1065. /package/dist/{currency-XCGKQ7FE.js.map → currency-UIK2FQKD.js.map} +0 -0
  1066. /package/dist/{custom-conversions-2VLJGPRV.js.map → custom-conversions-NBZZO6CH.js.map} +0 -0
  1067. /package/dist/{customers-NZDE7V3P.js.map → customers-NIAOEYND.js.map} +0 -0
  1068. /package/dist/{delete-6RAKC62Z.js.map → delete-2LZGYUPS.js.map} +0 -0
  1069. /package/dist/{delete-A5XD52K4.js.map → delete-7YUYMN6C.js.map} +0 -0
  1070. /package/dist/{delete-7HMQBDFC.js.map → delete-JUT3DSKM.js.map} +0 -0
  1071. /package/dist/{delete-MRM2S4Z5.js.map → delete-KFY6CQNU.js.map} +0 -0
  1072. /package/dist/{delete-3AV3ARMX.js.map → delete-NQTQ3KDZ.js.map} +0 -0
  1073. /package/dist/{delete-FKXR5ZOP.js.map → delete-W6U5RF5Q.js.map} +0 -0
  1074. /package/dist/{demographics-PRZS2ZC4.js.map → demographics-I7AAPHXO.js.map} +0 -0
  1075. /package/dist/{describe-6NVOWIBE.js.map → describe-GR23KX6I.js.map} +0 -0
  1076. /package/dist/{describe-P3PPIQME.js.map → describe-H4WLDC3H.js.map} +0 -0
  1077. /package/dist/{dimensions-EYAYO27I.js.map → dimensions-H47GQ7EG.js.map} +0 -0
  1078. /package/dist/{discard-YLTMCFE6.js.map → discard-WVDVBN64.js.map} +0 -0
  1079. /package/dist/{discover-BJPZNXUQ.js.map → discover-TYVFSFBE.js.map} +0 -0
  1080. /package/dist/{domain-Z533IR5M.js.map → domain-YOUKBS2S.js.map} +0 -0
  1081. /package/dist/{download-7T6HIJKD.js.map → download-FST2EONO.js.map} +0 -0
  1082. /package/dist/{draft-4PURIMDM.js.map → draft-2YWPCLWT.js.map} +0 -0
  1083. /package/dist/{draft-THPZFASM.js.map → draft-34F45F46.js.map} +0 -0
  1084. /package/dist/{draft-3ZVCQSAG.js.map → draft-53B4DCWT.js.map} +0 -0
  1085. /package/dist/{draft-KIBMVKSR.js.map → draft-AGQGAQDL.js.map} +0 -0
  1086. /package/dist/{draft-ZXZEQRCL.js.map → draft-AUJKE57P.js.map} +0 -0
  1087. /package/dist/{draft-YDY2Q2K6.js.map → draft-F4TRTDSV.js.map} +0 -0
  1088. /package/dist/{draft-7ZWPABVG.js.map → draft-GIDPSFBJ.js.map} +0 -0
  1089. /package/dist/{draft-5YAYCEYY.js.map → draft-P5OM2FM4.js.map} +0 -0
  1090. /package/dist/{env-KIP2J2UB.js.map → env-36PNRGN2.js.map} +0 -0
  1091. /package/dist/{export-JQRMBJ7D.js.map → export-WFKV2OYY.js.map} +0 -0
  1092. /package/dist/{extract-7QKLME7Z.js.map → extract-QIVN46BW.js.map} +0 -0
  1093. /package/dist/{facets-453OFMAM.js.map → facets-R3PIL4VO.js.map} +0 -0
  1094. /package/dist/{favorites-NSGF4OV5.js.map → favorites-Q3QVUTEF.js.map} +0 -0
  1095. /package/dist/{feed-RV4KPPXM.js.map → feed-2T3HP275.js.map} +0 -0
  1096. /package/dist/{feedback-JFV6BMJW.js.map → feedback-NK63HSFT.js.map} +0 -0
  1097. /package/dist/{feedback-record-HCOBRTY2.js.map → feedback-record-ANSY2BEC.js.map} +0 -0
  1098. /package/dist/{fetch-XF76JABV.js.map → fetch-D57AS4RQ.js.map} +0 -0
  1099. /package/dist/{fetch-44PPB6UO.js.map → fetch-V4XGLUEZ.js.map} +0 -0
  1100. /package/dist/{find-FRRHAPWX.js.map → find-7MSB5EHL.js.map} +0 -0
  1101. /package/dist/{fit-7237F5EB.js.map → fit-2GADEYRG.js.map} +0 -0
  1102. /package/dist/{flows-N7UZ4ZO5.js.map → flows-ZWQHM6U6.js.map} +0 -0
  1103. /package/dist/{follow-FN7LV3WV.js.map → follow-556YL7IJ.js.map} +0 -0
  1104. /package/dist/{follow-competitors-MKXFHLXB.js.map → follow-competitors-LNAJCROC.js.map} +0 -0
  1105. /package/dist/{following-RKC2FLHI.js.map → following-V6QK3ROG.js.map} +0 -0
  1106. /package/dist/{fonts-YW7SU5EY.js.map → fonts-CB44BCDC.js.map} +0 -0
  1107. /package/dist/{forecast-W57WFVDL.js.map → forecast-FKNCIFVA.js.map} +0 -0
  1108. /package/dist/{funding-NYO65IMT.js.map → funding-NP22ZLBH.js.map} +0 -0
  1109. /package/dist/{ga4-DV2AXCSL.js.map → ga4-T3IODHS2.js.map} +0 -0
  1110. /package/dist/{generate-MMBYB44G.js.map → generate-VSAS3QA5.js.map} +0 -0
  1111. /package/dist/{get-6WEYKOY6.js.map → get-77U4CN3V.js.map} +0 -0
  1112. /package/dist/{get-MEGPYKQR.js.map → get-BNO4T5SH.js.map} +0 -0
  1113. /package/dist/{get-YIHTAMRT.js.map → get-IUS3RB5H.js.map} +0 -0
  1114. /package/dist/{get-3L6W3E3T.js.map → get-QWEQMBGA.js.map} +0 -0
  1115. /package/dist/{get-XN5ZGDIK.js.map → get-ST2ZAQR3.js.map} +0 -0
  1116. /package/dist/{get-P743RPSI.js.map → get-UMFJ26TV.js.map} +0 -0
  1117. /package/dist/{get-2NA3LPCN.js.map → get-VBB6GNOW.js.map} +0 -0
  1118. /package/dist/{gif-53ULFVLR.js.map → gif-5PQMJHUZ.js.map} +0 -0
  1119. /package/dist/{google-QYYYSSXI.js.map → google-2WSPNB7K.js.map} +0 -0
  1120. /package/dist/{google-M7KEXVK5.js.map → google-ITIUG5PK.js.map} +0 -0
  1121. /package/dist/{google-ads-G2XD4RMT.js.map → google-ads-TLZR2JRG.js.map} +0 -0
  1122. /package/dist/{group-GKWCCX66.js.map → group-4LZM3SOQ.js.map} +0 -0
  1123. /package/dist/{group-EFZ3AJIE.js.map → group-JSDECSRD.js.map} +0 -0
  1124. /package/dist/{gsc-TAKOF7J5.js.map → gsc-3LQHAWWC.js.map} +0 -0
  1125. /package/dist/{history-RCKMMUWI.js.map → history-NE4I5SEE.js.map} +0 -0
  1126. /package/dist/{history-DBIEYQHY.js.map → history-VZIYKR7A.js.map} +0 -0
  1127. /package/dist/{hubspot-CKS7F77W.js.map → hubspot-H2SYPIFD.js.map} +0 -0
  1128. /package/dist/{icon-L4RSS6PZ.js.map → icon-LBWC5HYT.js.map} +0 -0
  1129. /package/dist/{ideas-EYC6K33G.js.map → ideas-LQUVKQKS.js.map} +0 -0
  1130. /package/dist/{images-2HJ7YKTH.js.map → images-T5GD4WFJ.js.map} +0 -0
  1131. /package/dist/{improve-BCCU5AS6.js.map → improve-RBY3HJ4Z.js.map} +0 -0
  1132. /package/dist/{ingest-26O5Q462.js.map → ingest-DHSFUFHB.js.map} +0 -0
  1133. /package/dist/{ingest-RR5GAX3G.js.map → ingest-YNNFZQF4.js.map} +0 -0
  1134. /package/dist/{insights-ZIU6FJMS.js.map → insights-DO7CTSGR.js.map} +0 -0
  1135. /package/dist/{insights-NZWSJKU4.js.map → insights-JBRJWBZ2.js.map} +0 -0
  1136. /package/dist/{inspect-XPDUPSUP.js.map → inspect-KELSQCLK.js.map} +0 -0
  1137. /package/dist/{inspiration-S3DU4CMQ.js.map → inspiration-UUHVLEJ6.js.map} +0 -0
  1138. /package/dist/{intent-E3UIVZBN.js.map → intent-DRB4VZXP.js.map} +0 -0
  1139. /package/dist/{job-L7RJZMSG.js.map → job-QFXKGFW4.js.map} +0 -0
  1140. /package/dist/{job-create-JUDAN52O.js.map → job-create-Q2OOGI7E.js.map} +0 -0
  1141. /package/dist/{job-status-U43WE3RJ.js.map → job-status-SUO4X7UP.js.map} +0 -0
  1142. /package/dist/{keep-55CPC7DG.js.map → keep-TZK5V4ZY.js.map} +0 -0
  1143. /package/dist/{keyword-gap-BG6M665A.js.map → keyword-gap-HZONPMCA.js.map} +0 -0
  1144. /package/dist/{keyword-metrics-KOPXTILA.js.map → keyword-metrics-6B6I4PN4.js.map} +0 -0
  1145. /package/dist/{keywords-for-site-PONNELI5.js.map → keywords-for-site-BI6DHP7K.js.map} +0 -0
  1146. /package/dist/{landing-RYRZ5VZ2.js.map → landing-CSX5DZVJ.js.map} +0 -0
  1147. /package/dist/{languages-HORKPDNH.js.map → languages-DR2PONQX.js.map} +0 -0
  1148. /package/dist/{languages-JSGWCC7Z.js.map → languages-PEZHTXZX.js.map} +0 -0
  1149. /package/dist/{layerize-RPD6SNP6.js.map → layerize-VYLLKEKU.js.map} +0 -0
  1150. /package/dist/{leads-ARUWPHBM.js.map → leads-3OAJRMWS.js.map} +0 -0
  1151. /package/dist/{leads-R7YSJDIG.js.map → leads-BL6GWOAG.js.map} +0 -0
  1152. /package/dist/{learn-IZ6QKTCX.js.map → learn-2O6NKJCX.js.map} +0 -0
  1153. /package/dist/{library-ARKRLCNJ.js.map → library-TXRUECDM.js.map} +0 -0
  1154. /package/dist/{lighthouse-6ZC45E53.js.map → lighthouse-RLUZZOKE.js.map} +0 -0
  1155. /package/dist/{line-item-writes-25FE22UX.js.map → line-item-writes-O3AYCYIS.js.map} +0 -0
  1156. /package/dist/{line-items-V522VKSU.js.map → line-items-NLFOGAAO.js.map} +0 -0
  1157. /package/dist/{link-ZZZVDSUP.js.map → link-YDGPKGM6.js.map} +0 -0
  1158. /package/dist/{linkedin-HXLYJVGI.js.map → linkedin-WBO6EPMB.js.map} +0 -0
  1159. /package/dist/{list-AL7N6X2P.js.map → list-BPSQWWLP.js.map} +0 -0
  1160. /package/dist/{list-7MVBXOJT.js.map → list-BTS2E4UI.js.map} +0 -0
  1161. /package/dist/{list-LKHHCQZU.js.map → list-DJOQQI6Y.js.map} +0 -0
  1162. /package/dist/{list-HSXOTG5R.js.map → list-EJYJIIUY.js.map} +0 -0
  1163. /package/dist/{list-LI4OGQFW.js.map → list-EPRACXON.js.map} +0 -0
  1164. /package/dist/{list-A5UCIR2J.js.map → list-EVPBQSRL.js.map} +0 -0
  1165. /package/dist/{list-P7NAFN6J.js.map → list-L7CZJZRS.js.map} +0 -0
  1166. /package/dist/{list-KYEK3N34.js.map → list-VBLCEHPO.js.map} +0 -0
  1167. /package/dist/{locations-74TPQWAT.js.map → locations-SPFNXQGT.js.map} +0 -0
  1168. /package/dist/{locations-J4G5RNPH.js.map → locations-UGSAWLNK.js.map} +0 -0
  1169. /package/dist/{log-6ELXS5EJ.js.map → log-VG77KFB4.js.map} +0 -0
  1170. /package/dist/{logo-Q5D7PZY6.js.map → logo-HUGNK27I.js.map} +0 -0
  1171. /package/dist/{lookup-TCU2ZEZW.js.map → lookup-MPFB5G7E.js.map} +0 -0
  1172. /package/dist/{mcp-W7DBSUF7.js.map → mcp-LD6W2RSB.js.map} +0 -0
  1173. /package/dist/{media-6CQYG4UY.js.map → media-A7UWIMMD.js.map} +0 -0
  1174. /package/dist/{media-53DJRC4N.js.map → media-T6H3CRXB.js.map} +0 -0
  1175. /package/dist/{media-sources-M35YZQY5.js.map → media-sources-5S6IFOOS.js.map} +0 -0
  1176. /package/dist/{members-QXYMJQWU.js.map → members-HI2MH5SY.js.map} +0 -0
  1177. /package/dist/{meta-A7KM6TF5.js.map → meta-ZN3LHUU3.js.map} +0 -0
  1178. /package/dist/{metrics-SQDJ5NQO.js.map → metrics-BK5JSR6I.js.map} +0 -0
  1179. /package/dist/{models-7U3GRYHF.js.map → models-3LS4Q2MN.js.map} +0 -0
  1180. /package/dist/{normalize-DYJLUBQP.js.map → normalize-DGZPN2OM.js.map} +0 -0
  1181. /package/dist/{normalize-ICQF2AST.js.map → normalize-X7SHHCQD.js.map} +0 -0
  1182. /package/dist/{options-77SHB5KA.js.map → options-FCWD257L.js.map} +0 -0
  1183. /package/dist/{output-RAH3TSIL.js.map → output-OJITAE7Q.js.map} +0 -0
  1184. /package/dist/{page-GS3WLT2C.js.map → page-NBFLD3L5.js.map} +0 -0
  1185. /package/dist/{pages-FXYQLHSJ.js.map → pages-MPEWHREN.js.map} +0 -0
  1186. /package/dist/{performance-VVTYUSTW.js.map → performance-PI372VKJ.js.map} +0 -0
  1187. /package/dist/{pinterest-AUH7WBA7.js.map → pinterest-22ODL6Q5.js.map} +0 -0
  1188. /package/dist/{pixels-45A55MOP.js.map → pixels-DDNYT7R4.js.map} +0 -0
  1189. /package/dist/{pixels-ZFF4BGUH.js.map → pixels-OASXHZAX.js.map} +0 -0
  1190. /package/dist/{preview-AD4GKYIA.js.map → preview-YK7RI76O.js.map} +0 -0
  1191. /package/dist/{promoted-tweet-writes-QP37NMQC.js.map → promoted-tweet-writes-MDBNSHVZ.js.map} +0 -0
  1192. /package/dist/{promoted-tweets-WPSM6MGX.js.map → promoted-tweets-YGENR6WV.js.map} +0 -0
  1193. /package/dist/{properties-L2XIYQDS.js.map → properties-6ME4XYT7.js.map} +0 -0
  1194. /package/dist/{publish-YF6ESBGQ.js.map → publish-6T7IEXRD.js.map} +0 -0
  1195. /package/dist/{query-VTGVZQIO.js.map → query-TUNPWBPS.js.map} +0 -0
  1196. /package/dist/{query-SGGBCHTF.js.map → query-WC5I2S6Z.js.map} +0 -0
  1197. /package/dist/{query-IEZRY6HV.js.map → query-X5L4AZSD.js.map} +0 -0
  1198. /package/dist/{reddit-VC3IOFNC.js.map → reddit-6UJUB2YN.js.map} +0 -0
  1199. /package/dist/{refresh-UXBCTVCG.js.map → refresh-2IU3CVJO.js.map} +0 -0
  1200. /package/dist/{release-PP5S5QHD.js.map → release-LUHIB4XJ.js.map} +0 -0
  1201. /package/dist/{relevant-pages-OWMNUCP7.js.map → relevant-pages-MJXI3LW7.js.map} +0 -0
  1202. /package/dist/{remove-OUWQ7NPN.js.map → remove-BRUS6SUG.js.map} +0 -0
  1203. /package/dist/{remove-6LGGKMLJ.js.map → remove-RGHZHRJF.js.map} +0 -0
  1204. /package/dist/{reopen-KXAM5LVX.js.map → reopen-CQEGEBUP.js.map} +0 -0
  1205. /package/dist/{rerun-ZVFP4FNN.js.map → rerun-EXCTHG7R.js.map} +0 -0
  1206. /package/dist/{research-52CURSLR.js.map → research-GCAWQBH5.js.map} +0 -0
  1207. /package/dist/{research-WEW3TISC.js.map → research-RIOSGFV2.js.map} +0 -0
  1208. /package/dist/{reset-MVLV7GEB.js.map → reset-GZWJLJIA.js.map} +0 -0
  1209. /package/dist/{reset-RBL2NSDV.js.map → reset-TZQLXUOT.js.map} +0 -0
  1210. /package/dist/{resolve-JG3TGLCR.js.map → resolve-C3L4SMTW.js.map} +0 -0
  1211. /package/dist/{retry-2B3V4CJO.js.map → retry-4IZ5UQMO.js.map} +0 -0
  1212. /package/dist/{retry-Y3VUKOZ3.js.map → retry-OJER6P7D.js.map} +0 -0
  1213. /package/dist/{retry-failed-6HXPUVXJ.js.map → retry-failed-CEFUP2NC.js.map} +0 -0
  1214. /package/dist/{run-3BCAHPCW.js.map → run-7PMBP5DC.js.map} +0 -0
  1215. /package/dist/{run-FZL7FYTL.js.map → run-CRFK4Z6L.js.map} +0 -0
  1216. /package/dist/{scaffold-ad-TL5URKZF.js.map → scaffold-ad-WWK3HEII.js.map} +0 -0
  1217. /package/dist/{scaffold-video-LRTELU5X.js.map → scaffold-video-P5CYWG4Z.js.map} +0 -0
  1218. /package/dist/{schedule-O2K6M43V.js.map → schedule-LHLE7VFM.js.map} +0 -0
  1219. /package/dist/{schedule-7QLWW5HA.js.map → schedule-Z66CE7MU.js.map} +0 -0
  1220. /package/dist/{scheduled-agents-HDALX27W.js.map → scheduled-agents-HHRJ5Q46.js.map} +0 -0
  1221. /package/dist/{schema-EY3Y3KFB.js.map → schema-CQCIYXEX.js.map} +0 -0
  1222. /package/dist/{schema-6GR77VJG.js.map → schema-J23F2JAU.js.map} +0 -0
  1223. /package/dist/{scrape-ETAMW43A.js.map → scrape-3SETPPMM.js.map} +0 -0
  1224. /package/dist/{screenshot-YCQF25ZB.js.map → screenshot-OV4DCO6W.js.map} +0 -0
  1225. /package/dist/{search-UO5KJTYS.js.map → search-BHQQFJB5.js.map} +0 -0
  1226. /package/dist/{search-742XSULP.js.map → search-CYS7UK5T.js.map} +0 -0
  1227. /package/dist/{search-4XS7AO5R.js.map → search-IDQCAKVR.js.map} +0 -0
  1228. /package/dist/{search-OQNGSMUH.js.map → search-QKKK3H6U.js.map} +0 -0
  1229. /package/dist/{search-MEEM4D3W.js.map → search-XWFMVJ4J.js.map} +0 -0
  1230. /package/dist/{seeds-N6FF5S4T.js.map → seeds-DMT6OIMK.js.map} +0 -0
  1231. /package/dist/{select-J3QVFWVE.js.map → select-2U66UMVQ.js.map} +0 -0
  1232. /package/dist/{sends-WGJVQUMF.js.map → sends-LNKJRME5.js.map} +0 -0
  1233. /package/dist/{sequences-OIPVR7JL.js.map → sequences-4YSD3GH3.js.map} +0 -0
  1234. /package/dist/{set-prompt-MEMSZEZK.js.map → set-prompt-NY3HV4KV.js.map} +0 -0
  1235. /package/dist/{setup-links-4PCSBEJD.js.map → setup-links-LJLWQVQ2.js.map} +0 -0
  1236. /package/dist/{shared-HJDFNID4.js.map → shared-PAORAY6M.js.map} +0 -0
  1237. /package/dist/{site-IG62FRYT.js.map → site-F4TGY5OE.js.map} +0 -0
  1238. /package/dist/{sitemaps-POPZJTAX.js.map → sitemaps-XEMTLWYG.js.map} +0 -0
  1239. /package/dist/{sites-262H6LM4.js.map → sites-K755KMC2.js.map} +0 -0
  1240. /package/dist/{skills-6TQZLIMP.js.map → skills-S65DX7PQ.js.map} +0 -0
  1241. /package/dist/{sources-5YFONIJP.js.map → sources-HZF7UXW6.js.map} +0 -0
  1242. /package/dist/{sources-AM7SIZUY.js.map → sources-XTNEWFHJ.js.map} +0 -0
  1243. /package/dist/{stale-UMI4XCKX.js.map → stale-NLXN7V3N.js.map} +0 -0
  1244. /package/dist/{stats-NNXZMPZR.js.map → stats-CZJKNCIZ.js.map} +0 -0
  1245. /package/dist/{status-F4XMET7U.js.map → status-M7RTOGLJ.js.map} +0 -0
  1246. /package/dist/{sticker-4KMBSMP5.js.map → sticker-UQ2XPXIB.js.map} +0 -0
  1247. /package/dist/{stock-KXJ26BY4.js.map → stock-FKAD46O3.js.map} +0 -0
  1248. /package/dist/{studio-EKIPLLHD.js.map → studio-BHZSCE67.js.map} +0 -0
  1249. /package/dist/{sync-LXYAJ7SU.js.map → sync-AAXI4RZD.js.map} +0 -0
  1250. /package/dist/{sync-CF7FVUQJ.js.map → sync-E6BLPR6W.js.map} +0 -0
  1251. /package/dist/{sync-ZSNUBYPM.js.map → sync-L4LK3QQS.js.map} +0 -0
  1252. /package/dist/{sync-definition-WU6V5245.js.map → sync-definition-CAHBKD3F.js.map} +0 -0
  1253. /package/dist/{tag-manager-JAAMOUGB.js.map → tag-manager-4LCQUQNJ.js.map} +0 -0
  1254. /package/dist/{tags-FTOD6CYS.js.map → tags-BVQNIIQU.js.map} +0 -0
  1255. /package/dist/{tags-PJRNCPQJ.js.map → tags-QQ632HNZ.js.map} +0 -0
  1256. /package/dist/{tags-6WV3PQH5.js.map → tags-RSAVBZCB.js.map} +0 -0
  1257. /package/dist/{tags-R5JCZRAV.js.map → tags-TZIDBVTK.js.map} +0 -0
  1258. /package/dist/{tags-KXNOWUMN.js.map → tags-URQYAJMH.js.map} +0 -0
  1259. /package/dist/{targeting-constants-XJ2VOW7K.js.map → targeting-constants-HKGJVLJ5.js.map} +0 -0
  1260. /package/dist/{targeting-criteria-HJ7YFAB2.js.map → targeting-criteria-J2V47AJP.js.map} +0 -0
  1261. /package/dist/{targets-RLZSBUCI.js.map → targets-H7YOEVOJ.js.map} +0 -0
  1262. /package/dist/{templates-4SWUBLOC.js.map → templates-WLSSRPZ4.js.map} +0 -0
  1263. /package/dist/{testimonials-YYLALSV4.js.map → testimonials-A26T3NY3.js.map} +0 -0
  1264. /package/dist/{top-companies-SNOQQFUS.js.map → top-companies-26MYZU5T.js.map} +0 -0
  1265. /package/dist/{translate-CZRVAEUQ.js.map → translate-BD6ULLLZ.js.map} +0 -0
  1266. /package/dist/{triggers-MFDFO2Y4.js.map → triggers-XFCQHRLA.js.map} +0 -0
  1267. /package/dist/{tweets-ATP3FQAC.js.map → tweets-PPL2ZRV6.js.map} +0 -0
  1268. /package/dist/{unfollow-CBVPGPF7.js.map → unfollow-A6GAUIGZ.js.map} +0 -0
  1269. /package/dist/{unlink-BVDKP7VQ.js.map → unlink-XNZACHV3.js.map} +0 -0
  1270. /package/dist/{unstage-ZTOQEWRC.js.map → unstage-2HSBJ726.js.map} +0 -0
  1271. /package/dist/{unstage-V7GMMOWR.js.map → unstage-B6ZGECFU.js.map} +0 -0
  1272. /package/dist/{update-R572VWKO.js.map → update-2BYOVA5C.js.map} +0 -0
  1273. /package/dist/{update-R46SJ55S.js.map → update-EG4OSVE4.js.map} +0 -0
  1274. /package/dist/{update-SQEWFFFG.js.map → update-RSYR6ABL.js.map} +0 -0
  1275. /package/dist/{update-VVK6SWSI.js.map → update-SXVXLTND.js.map} +0 -0
  1276. /package/dist/{upload-TUYWMS6E.js.map → upload-HOJK4HT6.js.map} +0 -0
  1277. /package/dist/{upload-L5SYZB3X.js.map → upload-PH6ZWOIA.js.map} +0 -0
  1278. /package/dist/{upscale-YWRLFU22.js.map → upscale-R25SXKQI.js.map} +0 -0
  1279. /package/dist/{url-options-GGXAL3J4.js.map → url-options-SK3CKY5H.js.map} +0 -0
  1280. /package/dist/{url-params-CU3KVLI5.js.map → url-params-246VH6BJ.js.map} +0 -0
  1281. /package/dist/{use-UT2DIZOG.js.map → use-WIFON4IC.js.map} +0 -0
  1282. /package/dist/{validate-WPJXPGWS.js.map → validate-JFL2PL54.js.map} +0 -0
  1283. /package/dist/{variant-FLZJYGYL.js.map → variant-EHLAO2EZ.js.map} +0 -0
  1284. /package/dist/{videos-KGNLYRUS.js.map → videos-5SPZWUWN.js.map} +0 -0
  1285. /package/dist/{view-NPAG66QK.js.map → view-JS33UZGE.js.map} +0 -0
  1286. /package/dist/{viewer-check-45T2HLAH.js.map → viewer-check-TKST6FWT.js.map} +0 -0
  1287. /package/dist/{web-IEJBIF7U.js.map → web-ZDEM5O3C.js.map} +0 -0
  1288. /package/dist/{winners-I5BMATJZ.js.map → winners-SDADXE22.js.map} +0 -0
  1289. /package/dist/{write-commands-CXRXLXX2.js.map → write-commands-PKB23ZBZ.js.map} +0 -0
  1290. /package/dist/{write-commands-WTRSOSO3.js.map → write-commands-VKKEGFTJ.js.map} +0 -0
  1291. /package/dist/{write-commands-CT74VHH6.js.map → write-commands-WYET5424.js.map} +0 -0
  1292. /package/dist/{write-commands-VWSLDBPT.js.map → write-commands-X2IJUI5D.js.map} +0 -0
  1293. /package/dist/{x-WHE6PSDD.js.map → x-CZOHX4T2.js.map} +0 -0
@@ -1,2241 +0,0 @@
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