@koda-sl/baker-cli 0.545.0 → 0.546.0-dev.a72c87f73

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 (859) hide show
  1. package/dist/account-IG3U6UXZ.js +82 -0
  2. package/dist/account-IGWCS2VJ.js +82 -0
  3. package/dist/account-reads-LOCJMS35.js +219 -0
  4. package/dist/account-users-H4VP43RZ.js +64 -0
  5. package/dist/account-writes-BSSKSTZ2.js +68 -0
  6. package/dist/accounts-C4PNBT5X.js +701 -0
  7. package/dist/accounts-GPTG4XW5.js +80 -0
  8. package/dist/actions-F7YO5I27.js +55 -0
  9. package/dist/activecampaign-S4E46SA6.js +938 -0
  10. package/dist/ad-group-writes-KMB3OMJG.js +172 -0
  11. package/dist/ad-groups-E67CNQS4.js +70 -0
  12. package/dist/ad-writes-FNMKNFUN.js +176 -0
  13. package/dist/add-LROKBWW4.js +107 -0
  14. package/dist/add-SG5XWFRN.js +305 -0
  15. package/dist/ads-4LASBP4G.js +79 -0
  16. package/dist/ads-7ICT2D4M.js +48 -0
  17. package/dist/advertisers-IQMTOR4D.js +123 -0
  18. package/dist/analytics-6DSJ6WHO.js +2437 -0
  19. package/dist/analytics-D6S5LW2F.js +447 -0
  20. package/dist/animate-OWXAT2RK.js +480 -0
  21. package/dist/assign-TMG6FDLW.js +80 -0
  22. package/dist/audience-size-KPJOSG5W.js +76 -0
  23. package/dist/audiences-3R574STZ.js +280 -0
  24. package/dist/audit-35TDKIGY.js +154 -0
  25. package/dist/autocomplete-T63KPKRZ.js +114 -0
  26. package/dist/avatars-AVK4S3HS.js +38 -0
  27. package/dist/bid-pricing-O5IK37CL.js +103 -0
  28. package/dist/brand-SG6VOHF4.js +22 -0
  29. package/dist/brief-RWA6MXTN.js +543 -0
  30. package/dist/campaign-groups-SSZISPJ5.js +99 -0
  31. package/dist/campaign-writes-74KDZ7RR.js +168 -0
  32. package/dist/campaign-writes-Z2J24SUZ.js +176 -0
  33. package/dist/campaigns-43OS6EUG.js +78 -0
  34. package/dist/campaigns-B5TSL3UD.js +113 -0
  35. package/dist/campaigns-TFNPOQEW.js +111 -0
  36. package/dist/canvas-4LSM4Y5I.js +46 -0
  37. package/dist/capabilities-CTKSS7AI.js +147 -0
  38. package/dist/catalog-7LINLVVY.js +66 -0
  39. package/dist/catalogs-IR22RGZD.js +130 -0
  40. package/dist/changes-JAGWBHQC.js +143 -0
  41. package/dist/chatgpt-NE2RBMFK.js +47 -0
  42. package/dist/chats-6TRVVEBG.js +449 -0
  43. package/dist/check-DZGMLLRL.js +107 -0
  44. package/dist/chunk-2DQC4XSN.js +224 -0
  45. package/dist/chunk-3BWT5YDD.js +57 -0
  46. package/dist/chunk-3EUITH4J.js +638 -0
  47. package/dist/chunk-3J5ZTJGN.js +163 -0
  48. package/dist/chunk-3OFLYMPK.js +547 -0
  49. package/dist/chunk-4IRJ5JXA.js +46 -0
  50. package/dist/chunk-5IFFPSEN.js +225 -0
  51. package/dist/chunk-5YNGVEX2.js +23 -0
  52. package/dist/chunk-64ALJ6TJ.js +274 -0
  53. package/dist/chunk-6OIKNJ7G.js +26 -0
  54. package/dist/chunk-7L3Z2GDZ.js +61 -0
  55. package/dist/chunk-7LYJVM7L.js +377 -0
  56. package/dist/chunk-7UFV6H7J.js +167 -0
  57. package/dist/chunk-AGVLJLOT.js +203 -0
  58. package/dist/chunk-B3CDNANO.js +843 -0
  59. package/dist/chunk-BNI5DAB7.js +783 -0
  60. package/dist/chunk-BRT5IG7N.js +438 -0
  61. package/dist/chunk-CXRS5YLB.js +150 -0
  62. package/dist/chunk-CY6EPTJA.js +191 -0
  63. package/dist/chunk-CZ4Q3I25.js +2209 -0
  64. package/dist/chunk-E5H7JIWB.js +3510 -0
  65. package/dist/chunk-EGW3D3RW.js +207 -0
  66. package/dist/chunk-EPLSDHBT.js +8954 -0
  67. package/dist/chunk-F2VUMTCJ.js +103 -0
  68. package/dist/chunk-F3CZFUXZ.js +3187 -0
  69. package/dist/chunk-F3CZFUXZ.js.map +1 -0
  70. package/dist/chunk-FLF2CIL2.js +66 -0
  71. package/dist/chunk-FM4YT7QA.js +156 -0
  72. package/dist/chunk-FUIPDGGH.js +197 -0
  73. package/dist/chunk-G47B4DOH.js +910 -0
  74. package/dist/chunk-G6J6AWTE.js +5471 -0
  75. package/dist/chunk-GCZK4BMB.js +5368 -0
  76. package/dist/chunk-GVYJOHX5.js +455 -0
  77. package/dist/chunk-H4CLWLYF.js +4269 -0
  78. package/dist/chunk-H4CLWLYF.js.map +1 -0
  79. package/dist/chunk-ICEYCLRU.js +679 -0
  80. package/dist/chunk-IDFTXHRQ.js +275 -0
  81. package/dist/chunk-J2RUOIME.js +494 -0
  82. package/dist/chunk-JBNT444M.js +285 -0
  83. package/dist/chunk-K4IPXVVC.js +430 -0
  84. package/dist/chunk-K4IPXVVC.js.map +1 -0
  85. package/dist/chunk-KAUP6ONR.js +89 -0
  86. package/dist/chunk-KTO2Y3DI.js +1646 -0
  87. package/dist/chunk-KVYXHWX2.js +249 -0
  88. package/dist/chunk-L7AJMZ6Z.js +24026 -0
  89. package/dist/chunk-L7AJMZ6Z.js.map +1 -0
  90. package/dist/chunk-LDFM37DM.js +148 -0
  91. package/dist/chunk-LHC6OHQ6.js +857 -0
  92. package/dist/chunk-LQOJBPKV.js +142 -0
  93. package/dist/chunk-METHLFNZ.js +63 -0
  94. package/dist/chunk-MGOSJSDV.js +51 -0
  95. package/dist/chunk-O34P4WD5.js +604 -0
  96. package/dist/chunk-O5V2KBI4.js +387 -0
  97. package/dist/chunk-OO7Y2NMT.js +685 -0
  98. package/dist/chunk-P3AHGZH2.js +170 -0
  99. package/dist/chunk-P6FMQHJJ.js +131 -0
  100. package/dist/chunk-Q6LCL67T.js +1518 -0
  101. package/dist/chunk-Q7G5CWH6.js +169 -0
  102. package/dist/chunk-RA73BVUX.js +392 -0
  103. package/dist/chunk-S6ZCFRL5.js +19 -0
  104. package/dist/chunk-SIKCVWM3.js +76 -0
  105. package/dist/chunk-SIWXWRAD.js +831 -0
  106. package/dist/chunk-UKIS6BLM.js +7800 -0
  107. package/dist/chunk-UKIS6BLM.js.map +1 -0
  108. package/dist/chunk-UNIJPTDU.js +344 -0
  109. package/dist/chunk-UXFRUYTR.js +91 -0
  110. package/dist/chunk-V4UJERGL.js +64 -0
  111. package/dist/chunk-W46BM7HF.js +334 -0
  112. package/dist/chunk-WH7CATSZ.js +930 -0
  113. package/dist/chunk-WM2PLENG.js +1902 -0
  114. package/dist/chunk-XU6XQPNM.js +1919 -0
  115. package/dist/chunk-YKFGXS26.js +228 -0
  116. package/dist/chunk-YQB66YKJ.js +98 -0
  117. package/dist/chunk-YZKZQXRX.js +297 -0
  118. package/dist/chunk-ZDHWB32Y.js +91 -0
  119. package/dist/chunk-ZOYNCIRB.js +479 -0
  120. package/dist/claim-PTCFUZM2.js +200 -0
  121. package/dist/cli.js +31 -31
  122. package/dist/companies-STCBOG5Z.js +198 -0
  123. package/dist/company-4CE7CGNC.js +308 -0
  124. package/dist/complete-R4A7LBOQ.js +84 -0
  125. package/dist/connect-4VLRGTAM.js +45 -0
  126. package/dist/conversation-JS52LHCZ.js +96 -0
  127. package/dist/conversion-report-R4KJI4VA.js +127 -0
  128. package/dist/conversion-upload-command-WCLWA27O.js +439 -0
  129. package/dist/conversion-writes-XIQEIDPS.js +122 -0
  130. package/dist/conversions-IYEF6WZP.js +140 -0
  131. package/dist/conversions-RMBQNW3T.js +78 -0
  132. package/dist/create-6I7SRQHV.js +135 -0
  133. package/dist/create-JYBMK5JH.js +210 -0
  134. package/dist/create-MPUAOJQB.js +62 -0
  135. package/dist/create-W7L5B374.js +239 -0
  136. package/dist/creatives-EPXJ2PDV.js +223 -0
  137. package/dist/creatives-PP6Z2T6Z.js +58 -0
  138. package/dist/credentials-R4BZ76RD.js +290 -0
  139. package/dist/critique-ICVRILIZ.js +232 -0
  140. package/dist/critique-OTIGYFZU.js +1451 -0
  141. package/dist/crm-5JFMA2YB.js +227 -0
  142. package/dist/crm-PRTHRLXM.js +323 -0
  143. package/dist/currency-BY647ZB7.js +88 -0
  144. package/dist/customers-5EWPVKJV.js +65 -0
  145. package/dist/delete-5EWH2SQQ.js +57 -0
  146. package/dist/delete-V2FBPIN7.js +69 -0
  147. package/dist/delete-ZWUCKXI5.js +67 -0
  148. package/dist/demographics-2YCVAAPH.js +141 -0
  149. package/dist/discard-N7K3UQ7M.js +69 -0
  150. package/dist/discover-TAJUFO5R.js +172 -0
  151. package/dist/domain-YYTNWNSF.js +101 -0
  152. package/dist/download-JMJRYJ37.js +172 -0
  153. package/dist/draft-KQACMPH2.js +313 -0
  154. package/dist/draft-PENVOYCI.js +220 -0
  155. package/dist/draft-RGSDXFFT.js +408 -0
  156. package/dist/draft-SKEGKHIK.js +288 -0
  157. package/dist/draft-UOMHLIVY.js +342 -0
  158. package/dist/engine/index.js +8 -8
  159. package/dist/experiments-W5D7ERVJ.js +236 -0
  160. package/dist/facets-FUNOZ6JS.js +117 -0
  161. package/dist/feedback-OVZFH7UV.js +115 -0
  162. package/dist/feedback-record-DKDR3XHH.js +269 -0
  163. package/dist/fetch-QKP23NSX.js +204 -0
  164. package/dist/fit-PZPU2IZZ.js +65 -0
  165. package/dist/flows-GBMZJX4R.js +250 -0
  166. package/dist/fonts-2YY5465Q.js +39 -0
  167. package/dist/forecast-7B75GCRH.js +121 -0
  168. package/dist/forecast-VOND3WVO.js +169 -0
  169. package/dist/funnel-G4CMJ2C4.js +397 -0
  170. package/dist/generate-SW5KLHXG.js +263 -0
  171. package/dist/get-44VNCDBQ.js +59 -0
  172. package/dist/get-ZPJFKFHL.js +82 -0
  173. package/dist/google-VYARAUQH.js +3270 -0
  174. package/dist/google-ads-BKDTCXUS.js +198 -0
  175. package/dist/history-7DF5HFJT.js +69 -0
  176. package/dist/history-NEKVFRGQ.js +102 -0
  177. package/dist/history-YU6HH574.js +153 -0
  178. package/dist/hubspot-Q3ZQODAX.js +782 -0
  179. package/dist/ideas-75LW4KBY.js +45 -0
  180. package/dist/images-7FS4KEGU.js +92 -0
  181. package/dist/ingest-MHH5OQP4.js +27 -0
  182. package/dist/ingest-S5OS6WIU.js +123 -0
  183. package/dist/insights-YVV5MHPQ.js +132 -0
  184. package/dist/inspect-PIFZILBU.js +192 -0
  185. package/dist/inspiration-KL27O45N.js +53 -0
  186. package/dist/intent-GIAQDMHF.js +95 -0
  187. package/dist/keyword-gap-NZF75XGF.js +130 -0
  188. package/dist/keyword-metrics-H5M5I3N4.js +200 -0
  189. package/dist/keywords-for-site-RILBDULX.js +131 -0
  190. package/dist/landing-H5KY6F7K.js +28 -0
  191. package/dist/languages-GGNN7FEK.js +40 -0
  192. package/dist/leads-WCWH4C73.js +115 -0
  193. package/dist/learn-RUZUBNQZ.js +207 -0
  194. package/dist/line-item-writes-5Z3AEUV2.js +211 -0
  195. package/dist/line-items-IYSM2NEA.js +107 -0
  196. package/dist/link-KRNL5O7Z.js +67 -0
  197. package/dist/linkedin-GZIYAH4C.js +1330 -0
  198. package/dist/linkedin-person-PMXUBPVL.js +139 -0
  199. package/dist/list-ALQGX6JI.js +67 -0
  200. package/dist/list-I37IE3NN.js +154 -0
  201. package/dist/list-JD5T6CGQ.js +306 -0
  202. package/dist/locations-7RYEWKJO.js +69 -0
  203. package/dist/locations-BU4ZGWAS.js +40 -0
  204. package/dist/log-JWUFDOG6.js +95 -0
  205. package/dist/make-QCGOTYNW.js +1367 -0
  206. package/dist/map-EYKEY4VA.js +436 -0
  207. package/dist/mcp-P2PZCFFJ.js +729 -0
  208. package/dist/media-sources-UUNS3LES.js +35 -0
  209. package/dist/members-XTW5F5N5.js +47 -0
  210. package/dist/metrics-Z75Q2FHP.js +152 -0
  211. package/dist/models-X2IXXAD6.js +155 -0
  212. package/dist/normalize-P2UQIQOX.js +144 -0
  213. package/dist/options-2OK4LBAD.js +125 -0
  214. package/dist/organization-I5AIPZEH.js +949 -0
  215. package/dist/performance-4UPNHWC2.js +5565 -0
  216. package/dist/performance-H5FJQBOP.js +27 -0
  217. package/dist/pixels-DBSPNHIE.js +62 -0
  218. package/dist/promoted-tweet-writes-V5N5JDYQ.js +183 -0
  219. package/dist/promoted-tweets-ZSNBS3QQ.js +119 -0
  220. package/dist/publish-M6U72N3H.js +344 -0
  221. package/dist/query-NMQKS4MY.js +62 -0
  222. package/dist/reddit-AZMVTHPR.js +29 -0
  223. package/dist/refresh-42TJTJSN.js +97 -0
  224. package/dist/release-VT6TNWUV.js +63 -0
  225. package/dist/relevant-pages-JRIDJL4L.js +99 -0
  226. package/dist/remove-YW25PRT4.js +53 -0
  227. package/dist/reopen-WGTMBOHK.js +66 -0
  228. package/dist/rerun-O7P5LMC4.js +96 -0
  229. package/dist/research-IQWYPRBV.js +265 -0
  230. package/dist/research-WYNVU26K.js +75 -0
  231. package/dist/reset-4YPVS6QU.js +57 -0
  232. package/dist/reset-NF6K4NHK.js +57 -0
  233. package/dist/resolve-GB4ORVSB.js +124 -0
  234. package/dist/retry-LKJVOXVX.js +65 -0
  235. package/dist/retry-W3NSNNDV.js +63 -0
  236. package/dist/revenue-KHUWJPMJ.js +91 -0
  237. package/dist/rules-HMAONF3A.js +99 -0
  238. package/dist/rules-add-BP5XSD23.js +465 -0
  239. package/dist/run-EBCP5VIQ.js +71 -0
  240. package/dist/run-QP7JP2H4.js +69 -0
  241. package/dist/scaffold-ad-JVDV7FET.js +1513 -0
  242. package/dist/scaffold-static-ad-VD3KXMHT.js +1011 -0
  243. package/dist/scaffold-video-X3YR6APK.js +885 -0
  244. package/dist/schedule-7OKUUJHO.js +64 -0
  245. package/dist/scheduled-agents-N6FDAL7K.js +55 -0
  246. package/dist/schema-6O6CJTT5.js +135 -0
  247. package/dist/scrape-U6DIREQ2.js +2241 -0
  248. package/dist/scrape-U6DIREQ2.js.map +1 -0
  249. package/dist/search-WGOCL2KW.js +177 -0
  250. package/dist/select-6PVDRJQJ.js +110 -0
  251. package/dist/set-prompt-EDM7CPME.js +199 -0
  252. package/dist/setup-links-Z2KIKKJM.js +144 -0
  253. package/dist/shopify-AANLSYQY.js +3980 -0
  254. package/dist/site-6HHZJW2S.js +180 -0
  255. package/dist/sources-72AAZL4C.js +30 -0
  256. package/dist/sources-VRWQ65G6.js +457 -0
  257. package/dist/stale-KO6NQVR4.js +90 -0
  258. package/dist/status-QRO7U5K2.js +65 -0
  259. package/dist/studio-OV2ZY5W3.js +49 -0
  260. package/dist/sync-AQZ7JYEG.js +57 -0
  261. package/dist/sync-definition-OKSJA6MA.js +70 -0
  262. package/dist/tags-5GFUNIIK.js +23 -0
  263. package/dist/tags-DIFC2HFB.js +23 -0
  264. package/dist/tags-M26JKN2F.js +23 -0
  265. package/dist/tags-QFEG7LJV.js +26 -0
  266. package/dist/tags-ZWYUQYWT.js +227 -0
  267. package/dist/targeting-criteria-UQMPM2K5.js +113 -0
  268. package/dist/targets-YCVILKKZ.js +106 -0
  269. package/dist/testimonials-SJQJDEK4.js +32 -0
  270. package/dist/themes-RRLYZ46U.js +95 -0
  271. package/dist/top-companies-LPYM65KX.js +111 -0
  272. package/dist/transcript-D2IQWUSP.js +165 -0
  273. package/dist/translate-CPDFHEI4.js +603 -0
  274. package/dist/triggers-543HDVJK.js +144 -0
  275. package/dist/unlink-DQGU7K7V.js +70 -0
  276. package/dist/unstage-7UQU4MQT.js +88 -0
  277. package/dist/update-DGIBKKIB.js +155 -0
  278. package/dist/update-FEZ3EVTA.js +66 -0
  279. package/dist/update-QF6WBJU7.js +101 -0
  280. package/dist/update-RY3GU5QI.js +192 -0
  281. package/dist/upload-VMDGQ4HS.js +130 -0
  282. package/dist/url-options-2TQCGD2W.js +131 -0
  283. package/dist/url-params-LMC2DRHP.js +101 -0
  284. package/dist/validate-TLWEN4IL.js +125 -0
  285. package/dist/videos-GFOHRAJ7.js +41 -0
  286. package/dist/view-ZT3SAZKQ.js +121 -0
  287. package/dist/view-ZT3SAZKQ.js.map +1 -0
  288. package/dist/viewer-check-EKDFC7LQ.js +83 -0
  289. package/dist/web-L7LF6FLF.js +173 -0
  290. package/dist/winning-ads-RUS4NE5C.js +86 -0
  291. package/dist/write-commands-2JYDSXAX.js +1525 -0
  292. package/dist/x-HLZUSGJT.js +47 -0
  293. package/package.json +1 -1
  294. package/dist/account-2HJ4GKHN.js +0 -82
  295. package/dist/account-6GKPLNDY.js +0 -82
  296. package/dist/account-reads-X36NPCX5.js +0 -219
  297. package/dist/account-users-FGL3DZES.js +0 -64
  298. package/dist/account-writes-FZ3KCJZY.js +0 -68
  299. package/dist/accounts-PKSW3DBQ.js +0 -80
  300. package/dist/accounts-S5C6MZFO.js +0 -701
  301. package/dist/actions-ARN3OFB7.js +0 -55
  302. package/dist/activecampaign-3YJC3H2R.js +0 -938
  303. package/dist/ad-group-writes-XGG3WQEO.js +0 -172
  304. package/dist/ad-groups-GZIPUN64.js +0 -70
  305. package/dist/ad-writes-2VTRWQLW.js +0 -176
  306. package/dist/add-CNYKQD7B.js +0 -107
  307. package/dist/add-IABKHM5N.js +0 -305
  308. package/dist/ads-LNWALF6G.js +0 -79
  309. package/dist/ads-UXHJCUTX.js +0 -48
  310. package/dist/advertisers-UT7EJ6YS.js +0 -123
  311. package/dist/analytics-COUVH7MV.js +0 -447
  312. package/dist/analytics-EHUUNMGZ.js +0 -2437
  313. package/dist/animate-DM4OUJMR.js +0 -480
  314. package/dist/assign-FWT5QQDF.js +0 -80
  315. package/dist/audience-size-YI2RLIG7.js +0 -76
  316. package/dist/audiences-7D5VPOWF.js +0 -280
  317. package/dist/audit-BPRRCIWN.js +0 -154
  318. package/dist/autocomplete-OD6SHZZH.js +0 -114
  319. package/dist/avatars-FFFPCH6D.js +0 -38
  320. package/dist/bid-pricing-JF557IO2.js +0 -103
  321. package/dist/brand-ZUYJWKI3.js +0 -22
  322. package/dist/brief-CJDBD5GJ.js +0 -543
  323. package/dist/campaign-groups-VCT6ZH66.js +0 -99
  324. package/dist/campaign-writes-H22P6YPW.js +0 -176
  325. package/dist/campaign-writes-YOHDMYDT.js +0 -168
  326. package/dist/campaigns-265JXD2Z.js +0 -78
  327. package/dist/campaigns-7EGRZ3V6.js +0 -113
  328. package/dist/campaigns-ORK5BYAM.js +0 -111
  329. package/dist/canvas-FW5F3KZJ.js +0 -46
  330. package/dist/capabilities-ISW7XT44.js +0 -147
  331. package/dist/catalog-DPUQBZZ7.js +0 -66
  332. package/dist/catalogs-SBXFAD3X.js +0 -130
  333. package/dist/changes-HXVZUJMH.js +0 -143
  334. package/dist/chatgpt-UXJPCGZU.js +0 -47
  335. package/dist/chats-FH3DQNYD.js +0 -449
  336. package/dist/check-QC5RHS3Z.js +0 -107
  337. package/dist/chunk-2AC5GJHC.js +0 -455
  338. package/dist/chunk-2VSUMGJV.js +0 -89
  339. package/dist/chunk-4D73PLXU.js +0 -843
  340. package/dist/chunk-4S5ZAG4S.js +0 -63
  341. package/dist/chunk-5MMJPUBH.js +0 -387
  342. package/dist/chunk-5Y2XPKW2.js +0 -156
  343. package/dist/chunk-6HCYCMIH.js +0 -61
  344. package/dist/chunk-6R2BQ6FK.js +0 -344
  345. package/dist/chunk-7P74QKVC.js +0 -297
  346. package/dist/chunk-7SJU6PQ7.js +0 -604
  347. package/dist/chunk-A37TIYFD.js +0 -91
  348. package/dist/chunk-A6NVGPCZ.js +0 -479
  349. package/dist/chunk-AK7CL5IW.js +0 -334
  350. package/dist/chunk-AOT3UZBM.js +0 -930
  351. package/dist/chunk-D2ZAZGQH.js +0 -547
  352. package/dist/chunk-DYTBVVQX.js +0 -679
  353. package/dist/chunk-EB76M4ZH.js +0 -19
  354. package/dist/chunk-EBWOLUII.js +0 -24026
  355. package/dist/chunk-EBWOLUII.js.map +0 -1
  356. package/dist/chunk-EOMY5SUJ.js +0 -783
  357. package/dist/chunk-EY5WWPPZ.js +0 -1902
  358. package/dist/chunk-EZKT5YGX.js +0 -23
  359. package/dist/chunk-FVDC6AKZ.js +0 -150
  360. package/dist/chunk-GN7K3NPI.js +0 -148
  361. package/dist/chunk-GQAKWQAV.js +0 -224
  362. package/dist/chunk-HBDWE7WK.js +0 -98
  363. package/dist/chunk-HETNOUE4.js +0 -377
  364. package/dist/chunk-HFAT5S5B.js +0 -170
  365. package/dist/chunk-HQ3I2QVT.js +0 -275
  366. package/dist/chunk-IN5UCEJD.js +0 -91
  367. package/dist/chunk-JAC6JVCI.js +0 -26
  368. package/dist/chunk-JLLGXYOZ.js +0 -857
  369. package/dist/chunk-JY3OJBKZ.js +0 -3510
  370. package/dist/chunk-KBZRG6IK.js +0 -429
  371. package/dist/chunk-KBZRG6IK.js.map +0 -1
  372. package/dist/chunk-KCRBAMFU.js +0 -392
  373. package/dist/chunk-KIXVHP2C.js +0 -1919
  374. package/dist/chunk-KTY7H44G.js +0 -831
  375. package/dist/chunk-LKOMEXUB.js +0 -51
  376. package/dist/chunk-LVKAMWKJ.js +0 -163
  377. package/dist/chunk-LWCGQNVU.js +0 -685
  378. package/dist/chunk-MCJ5I5LR.js +0 -3187
  379. package/dist/chunk-MCJ5I5LR.js.map +0 -1
  380. package/dist/chunk-MSMTG6OC.js +0 -4269
  381. package/dist/chunk-MSMTG6OC.js.map +0 -1
  382. package/dist/chunk-MZPS46OR.js +0 -76
  383. package/dist/chunk-N4AIJQ4W.js +0 -438
  384. package/dist/chunk-NBWZVBDG.js +0 -131
  385. package/dist/chunk-OKB2EAJH.js +0 -8954
  386. package/dist/chunk-OT2MN5UR.js +0 -169
  387. package/dist/chunk-OZR3KUJ3.js +0 -57
  388. package/dist/chunk-P3VY5JEM.js +0 -274
  389. package/dist/chunk-PXGR3VGW.js +0 -1646
  390. package/dist/chunk-QK3HMAVU.js +0 -5471
  391. package/dist/chunk-R65V26HH.js +0 -7770
  392. package/dist/chunk-R65V26HH.js.map +0 -1
  393. package/dist/chunk-RHEWQB5O.js +0 -638
  394. package/dist/chunk-RP36XHWT.js +0 -46
  395. package/dist/chunk-RXOQZA4K.js +0 -66
  396. package/dist/chunk-SEHJ7Y7J.js +0 -207
  397. package/dist/chunk-SNWFM2DB.js +0 -228
  398. package/dist/chunk-TAGRKRFI.js +0 -103
  399. package/dist/chunk-TARINRA4.js +0 -1518
  400. package/dist/chunk-TNZUMU55.js +0 -167
  401. package/dist/chunk-TP2NS5SG.js +0 -191
  402. package/dist/chunk-UOXC3XA5.js +0 -494
  403. package/dist/chunk-UQA6Z23M.js +0 -142
  404. package/dist/chunk-VOUCQ2YW.js +0 -64
  405. package/dist/chunk-WJ5AHR4K.js +0 -2209
  406. package/dist/chunk-WOE4TZHJ.js +0 -285
  407. package/dist/chunk-XYNQMRNX.js +0 -5368
  408. package/dist/chunk-YEISVDKW.js +0 -203
  409. package/dist/chunk-YNLWSP5E.js +0 -910
  410. package/dist/chunk-ZEUAJAKN.js +0 -225
  411. package/dist/chunk-ZUUVWWB5.js +0 -197
  412. package/dist/chunk-ZVAZFHH7.js +0 -249
  413. package/dist/claim-FBL5VBYZ.js +0 -200
  414. package/dist/companies-URRCAJZE.js +0 -198
  415. package/dist/company-LDCNUPHZ.js +0 -308
  416. package/dist/complete-3UGPO444.js +0 -84
  417. package/dist/connect-M5KPZQWE.js +0 -45
  418. package/dist/conversation-S7YANZJR.js +0 -96
  419. package/dist/conversion-report-RB2MU7UD.js +0 -127
  420. package/dist/conversion-upload-command-HFZYKVXA.js +0 -439
  421. package/dist/conversion-writes-56AIPXPK.js +0 -122
  422. package/dist/conversions-NRX76ZIT.js +0 -78
  423. package/dist/conversions-QZL4DSJO.js +0 -140
  424. package/dist/create-56PJRLMA.js +0 -62
  425. package/dist/create-OE5MRW3X.js +0 -210
  426. package/dist/create-RL7PRIDY.js +0 -239
  427. package/dist/create-Y6YVJ5L4.js +0 -135
  428. package/dist/creatives-ESVH63AP.js +0 -223
  429. package/dist/creatives-URHXATY6.js +0 -58
  430. package/dist/credentials-O6QSB7ZR.js +0 -290
  431. package/dist/critique-EWJBOCXQ.js +0 -1451
  432. package/dist/critique-PTGGXRFG.js +0 -232
  433. package/dist/crm-F6RGNQH5.js +0 -323
  434. package/dist/crm-GLPOO22Q.js +0 -227
  435. package/dist/currency-CHBV6WIO.js +0 -88
  436. package/dist/customers-Q76FCWYO.js +0 -65
  437. package/dist/delete-ODFDZCL3.js +0 -57
  438. package/dist/delete-OVMPDGWQ.js +0 -69
  439. package/dist/delete-XN7N4S4H.js +0 -67
  440. package/dist/demographics-IY5RI55Z.js +0 -141
  441. package/dist/discard-GKIA5FML.js +0 -69
  442. package/dist/discover-ZU2DAV23.js +0 -172
  443. package/dist/domain-WGXA7OXV.js +0 -101
  444. package/dist/download-DYYNUGLX.js +0 -172
  445. package/dist/draft-EWGNZUU4.js +0 -288
  446. package/dist/draft-EX2I6UJB.js +0 -313
  447. package/dist/draft-GKI6MB7L.js +0 -342
  448. package/dist/draft-R7BNWMBR.js +0 -408
  449. package/dist/draft-VYIRZO3E.js +0 -220
  450. package/dist/experiments-6DOKWFH4.js +0 -236
  451. package/dist/facets-ZU5DT2QW.js +0 -117
  452. package/dist/feedback-RIUBM557.js +0 -115
  453. package/dist/feedback-record-3VVAUCOH.js +0 -269
  454. package/dist/fetch-T6TZCU74.js +0 -204
  455. package/dist/fit-YPOHTM7Y.js +0 -65
  456. package/dist/flows-CKVEZFF2.js +0 -250
  457. package/dist/fonts-3J3UVZ2E.js +0 -39
  458. package/dist/forecast-372Q6KQZ.js +0 -169
  459. package/dist/forecast-JEAFUR2O.js +0 -121
  460. package/dist/funnel-FBTNPTS7.js +0 -397
  461. package/dist/generate-JQIK3UYS.js +0 -263
  462. package/dist/get-5N5FCGNH.js +0 -59
  463. package/dist/get-EXHUQT65.js +0 -82
  464. package/dist/google-JHTOX6WM.js +0 -3270
  465. package/dist/google-ads-ZAYRCG2D.js +0 -198
  466. package/dist/history-4ULZ4BVV.js +0 -153
  467. package/dist/history-6J3XRNTZ.js +0 -102
  468. package/dist/history-VNLS2TKB.js +0 -69
  469. package/dist/hubspot-ZEHWWJHK.js +0 -782
  470. package/dist/ideas-SB6546GI.js +0 -45
  471. package/dist/images-LEZYVE7R.js +0 -92
  472. package/dist/ingest-4OOTCOLO.js +0 -123
  473. package/dist/ingest-KNJCCIBG.js +0 -27
  474. package/dist/insights-XY6II7TX.js +0 -132
  475. package/dist/inspect-MHKEYNIC.js +0 -192
  476. package/dist/inspiration-CSN3AXDD.js +0 -53
  477. package/dist/intent-5QUPPZNI.js +0 -95
  478. package/dist/keyword-gap-IG3EFLDH.js +0 -130
  479. package/dist/keyword-metrics-EL7MO3H6.js +0 -200
  480. package/dist/keywords-for-site-I7KJLZ2I.js +0 -131
  481. package/dist/landing-Z3QGJYM3.js +0 -28
  482. package/dist/languages-LNHWSCMT.js +0 -40
  483. package/dist/leads-WQCTZYKT.js +0 -115
  484. package/dist/learn-6KW6TUVL.js +0 -207
  485. package/dist/line-item-writes-B2KSP36W.js +0 -211
  486. package/dist/line-items-3ICE5DBI.js +0 -107
  487. package/dist/link-QRQ34ZDH.js +0 -67
  488. package/dist/linkedin-D4RKHQPS.js +0 -1330
  489. package/dist/linkedin-person-Y5TCUOXS.js +0 -139
  490. package/dist/list-6HZVHA6T.js +0 -154
  491. package/dist/list-CHYJ53JD.js +0 -306
  492. package/dist/list-XAMJSOGI.js +0 -67
  493. package/dist/locations-64JNCQID.js +0 -69
  494. package/dist/locations-KVAAO7LD.js +0 -40
  495. package/dist/log-PLXGA74X.js +0 -95
  496. package/dist/make-EP4YSN26.js +0 -1367
  497. package/dist/map-CAFMAMPP.js +0 -436
  498. package/dist/mcp-DDWSXLU7.js +0 -729
  499. package/dist/media-sources-J5FXYPV5.js +0 -35
  500. package/dist/members-ZA7S5KWP.js +0 -47
  501. package/dist/metrics-MXGA3EFS.js +0 -152
  502. package/dist/models-Z6SUHWKI.js +0 -155
  503. package/dist/normalize-ZHM2ZVXZ.js +0 -144
  504. package/dist/options-JTMDZECY.js +0 -125
  505. package/dist/organization-5OJEJEQV.js +0 -949
  506. package/dist/performance-AHVTOYTM.js +0 -5565
  507. package/dist/performance-S273NSUB.js +0 -27
  508. package/dist/pixels-H642RPK4.js +0 -62
  509. package/dist/promoted-tweet-writes-UF6LYMH4.js +0 -183
  510. package/dist/promoted-tweets-Z4GG6D7P.js +0 -119
  511. package/dist/publish-YQ6MHS7P.js +0 -344
  512. package/dist/query-FT2BA3WH.js +0 -62
  513. package/dist/reddit-YWYRZBL2.js +0 -29
  514. package/dist/refresh-TEXTTECA.js +0 -97
  515. package/dist/release-3JDETBZI.js +0 -63
  516. package/dist/relevant-pages-OCHLUV5K.js +0 -99
  517. package/dist/remove-KZTSU4K2.js +0 -53
  518. package/dist/reopen-GIJSFNDH.js +0 -66
  519. package/dist/rerun-6UZNOPUG.js +0 -96
  520. package/dist/research-TMKG4NQJ.js +0 -75
  521. package/dist/research-XA2IJ2XV.js +0 -265
  522. package/dist/reset-7VL6WJLE.js +0 -57
  523. package/dist/reset-HLZ6JHGY.js +0 -57
  524. package/dist/resolve-H2QW3U5Y.js +0 -124
  525. package/dist/retry-MIZ67MPP.js +0 -65
  526. package/dist/retry-WSWW6EJT.js +0 -63
  527. package/dist/revenue-LTU7HRT2.js +0 -91
  528. package/dist/rules-BGBCUUPH.js +0 -99
  529. package/dist/rules-add-SZT2MSOD.js +0 -465
  530. package/dist/run-FHGT4UQ7.js +0 -69
  531. package/dist/run-XUDGECLL.js +0 -71
  532. package/dist/scaffold-ad-VXNO3SQP.js +0 -1513
  533. package/dist/scaffold-static-ad-FT55VV3T.js +0 -1011
  534. package/dist/scaffold-video-V7WX5AWZ.js +0 -885
  535. package/dist/schedule-BNRLEFMZ.js +0 -64
  536. package/dist/scheduled-agents-MAXXXJ7W.js +0 -55
  537. package/dist/schema-YADPD54K.js +0 -135
  538. package/dist/scrape-3PWNMK4D.js +0 -2241
  539. package/dist/scrape-3PWNMK4D.js.map +0 -1
  540. package/dist/search-56ORG4PL.js +0 -177
  541. package/dist/select-DON4DMNM.js +0 -110
  542. package/dist/set-prompt-J22TUCRU.js +0 -199
  543. package/dist/setup-links-CHODCBYH.js +0 -144
  544. package/dist/shopify-FCYU4AR6.js +0 -3980
  545. package/dist/site-BF3Q26W5.js +0 -180
  546. package/dist/sources-SLCYAWTZ.js +0 -457
  547. package/dist/sources-VHHC6YQM.js +0 -30
  548. package/dist/stale-GLVTL2ZK.js +0 -90
  549. package/dist/status-E3RA644P.js +0 -65
  550. package/dist/studio-6ZXUKA4G.js +0 -49
  551. package/dist/sync-6QCDDJMO.js +0 -57
  552. package/dist/sync-definition-DXNHGY5E.js +0 -70
  553. package/dist/tags-AMZSQJJ2.js +0 -26
  554. package/dist/tags-KW7PG2TR.js +0 -23
  555. package/dist/tags-MGV5KG6I.js +0 -23
  556. package/dist/tags-TM27EIAL.js +0 -23
  557. package/dist/tags-VWGKVGZD.js +0 -227
  558. package/dist/targeting-criteria-FT3G4HAW.js +0 -113
  559. package/dist/targets-XLVHWO6Z.js +0 -106
  560. package/dist/testimonials-INXY7CXU.js +0 -32
  561. package/dist/themes-R3A6IVQN.js +0 -95
  562. package/dist/top-companies-MNX3GBCP.js +0 -111
  563. package/dist/transcript-GIAOWCTO.js +0 -165
  564. package/dist/translate-JEQ4K4AH.js +0 -603
  565. package/dist/triggers-KDXLDZ23.js +0 -144
  566. package/dist/unlink-PNBSDLBQ.js +0 -70
  567. package/dist/unstage-X2PDLT5O.js +0 -88
  568. package/dist/update-4JGHSQVZ.js +0 -66
  569. package/dist/update-4XUQN4LK.js +0 -101
  570. package/dist/update-TJTDFWER.js +0 -155
  571. package/dist/update-URU4TO2F.js +0 -192
  572. package/dist/upload-TO5EPTVD.js +0 -130
  573. package/dist/url-options-YZ6UG3NY.js +0 -131
  574. package/dist/url-params-533CWJH3.js +0 -101
  575. package/dist/validate-XF6HU7D4.js +0 -125
  576. package/dist/videos-KYZ4CUOB.js +0 -41
  577. package/dist/view-VFZUL5UL.js +0 -121
  578. package/dist/view-VFZUL5UL.js.map +0 -1
  579. package/dist/viewer-check-U5GUU34Z.js +0 -83
  580. package/dist/web-ZYMSMIV6.js +0 -173
  581. package/dist/winning-ads-BCN5RVAE.js +0 -86
  582. package/dist/write-commands-PZZ72PNL.js +0 -1525
  583. package/dist/x-DLEZYTAU.js +0 -47
  584. /package/dist/{account-2HJ4GKHN.js.map → account-IG3U6UXZ.js.map} +0 -0
  585. /package/dist/{account-6GKPLNDY.js.map → account-IGWCS2VJ.js.map} +0 -0
  586. /package/dist/{account-reads-X36NPCX5.js.map → account-reads-LOCJMS35.js.map} +0 -0
  587. /package/dist/{account-users-FGL3DZES.js.map → account-users-H4VP43RZ.js.map} +0 -0
  588. /package/dist/{account-writes-FZ3KCJZY.js.map → account-writes-BSSKSTZ2.js.map} +0 -0
  589. /package/dist/{accounts-S5C6MZFO.js.map → accounts-C4PNBT5X.js.map} +0 -0
  590. /package/dist/{accounts-PKSW3DBQ.js.map → accounts-GPTG4XW5.js.map} +0 -0
  591. /package/dist/{actions-ARN3OFB7.js.map → actions-F7YO5I27.js.map} +0 -0
  592. /package/dist/{activecampaign-3YJC3H2R.js.map → activecampaign-S4E46SA6.js.map} +0 -0
  593. /package/dist/{ad-group-writes-XGG3WQEO.js.map → ad-group-writes-KMB3OMJG.js.map} +0 -0
  594. /package/dist/{ad-groups-GZIPUN64.js.map → ad-groups-E67CNQS4.js.map} +0 -0
  595. /package/dist/{ad-writes-2VTRWQLW.js.map → ad-writes-FNMKNFUN.js.map} +0 -0
  596. /package/dist/{add-CNYKQD7B.js.map → add-LROKBWW4.js.map} +0 -0
  597. /package/dist/{add-IABKHM5N.js.map → add-SG5XWFRN.js.map} +0 -0
  598. /package/dist/{ads-LNWALF6G.js.map → ads-4LASBP4G.js.map} +0 -0
  599. /package/dist/{ads-UXHJCUTX.js.map → ads-7ICT2D4M.js.map} +0 -0
  600. /package/dist/{advertisers-UT7EJ6YS.js.map → advertisers-IQMTOR4D.js.map} +0 -0
  601. /package/dist/{analytics-EHUUNMGZ.js.map → analytics-6DSJ6WHO.js.map} +0 -0
  602. /package/dist/{analytics-COUVH7MV.js.map → analytics-D6S5LW2F.js.map} +0 -0
  603. /package/dist/{animate-DM4OUJMR.js.map → animate-OWXAT2RK.js.map} +0 -0
  604. /package/dist/{assign-FWT5QQDF.js.map → assign-TMG6FDLW.js.map} +0 -0
  605. /package/dist/{audience-size-YI2RLIG7.js.map → audience-size-KPJOSG5W.js.map} +0 -0
  606. /package/dist/{audiences-7D5VPOWF.js.map → audiences-3R574STZ.js.map} +0 -0
  607. /package/dist/{audit-BPRRCIWN.js.map → audit-35TDKIGY.js.map} +0 -0
  608. /package/dist/{autocomplete-OD6SHZZH.js.map → autocomplete-T63KPKRZ.js.map} +0 -0
  609. /package/dist/{avatars-FFFPCH6D.js.map → avatars-AVK4S3HS.js.map} +0 -0
  610. /package/dist/{bid-pricing-JF557IO2.js.map → bid-pricing-O5IK37CL.js.map} +0 -0
  611. /package/dist/{brand-ZUYJWKI3.js.map → brand-SG6VOHF4.js.map} +0 -0
  612. /package/dist/{brief-CJDBD5GJ.js.map → brief-RWA6MXTN.js.map} +0 -0
  613. /package/dist/{campaign-groups-VCT6ZH66.js.map → campaign-groups-SSZISPJ5.js.map} +0 -0
  614. /package/dist/{campaign-writes-YOHDMYDT.js.map → campaign-writes-74KDZ7RR.js.map} +0 -0
  615. /package/dist/{campaign-writes-H22P6YPW.js.map → campaign-writes-Z2J24SUZ.js.map} +0 -0
  616. /package/dist/{campaigns-265JXD2Z.js.map → campaigns-43OS6EUG.js.map} +0 -0
  617. /package/dist/{campaigns-7EGRZ3V6.js.map → campaigns-B5TSL3UD.js.map} +0 -0
  618. /package/dist/{campaigns-ORK5BYAM.js.map → campaigns-TFNPOQEW.js.map} +0 -0
  619. /package/dist/{canvas-FW5F3KZJ.js.map → canvas-4LSM4Y5I.js.map} +0 -0
  620. /package/dist/{capabilities-ISW7XT44.js.map → capabilities-CTKSS7AI.js.map} +0 -0
  621. /package/dist/{catalog-DPUQBZZ7.js.map → catalog-7LINLVVY.js.map} +0 -0
  622. /package/dist/{catalogs-SBXFAD3X.js.map → catalogs-IR22RGZD.js.map} +0 -0
  623. /package/dist/{changes-HXVZUJMH.js.map → changes-JAGWBHQC.js.map} +0 -0
  624. /package/dist/{chatgpt-UXJPCGZU.js.map → chatgpt-NE2RBMFK.js.map} +0 -0
  625. /package/dist/{chats-FH3DQNYD.js.map → chats-6TRVVEBG.js.map} +0 -0
  626. /package/dist/{check-QC5RHS3Z.js.map → check-DZGMLLRL.js.map} +0 -0
  627. /package/dist/{chunk-GQAKWQAV.js.map → chunk-2DQC4XSN.js.map} +0 -0
  628. /package/dist/{chunk-OZR3KUJ3.js.map → chunk-3BWT5YDD.js.map} +0 -0
  629. /package/dist/{chunk-RHEWQB5O.js.map → chunk-3EUITH4J.js.map} +0 -0
  630. /package/dist/{chunk-LVKAMWKJ.js.map → chunk-3J5ZTJGN.js.map} +0 -0
  631. /package/dist/{chunk-D2ZAZGQH.js.map → chunk-3OFLYMPK.js.map} +0 -0
  632. /package/dist/{chunk-RP36XHWT.js.map → chunk-4IRJ5JXA.js.map} +0 -0
  633. /package/dist/{chunk-ZEUAJAKN.js.map → chunk-5IFFPSEN.js.map} +0 -0
  634. /package/dist/{chunk-EZKT5YGX.js.map → chunk-5YNGVEX2.js.map} +0 -0
  635. /package/dist/{chunk-P3VY5JEM.js.map → chunk-64ALJ6TJ.js.map} +0 -0
  636. /package/dist/{chunk-JAC6JVCI.js.map → chunk-6OIKNJ7G.js.map} +0 -0
  637. /package/dist/{chunk-6HCYCMIH.js.map → chunk-7L3Z2GDZ.js.map} +0 -0
  638. /package/dist/{chunk-HETNOUE4.js.map → chunk-7LYJVM7L.js.map} +0 -0
  639. /package/dist/{chunk-TNZUMU55.js.map → chunk-7UFV6H7J.js.map} +0 -0
  640. /package/dist/{chunk-YEISVDKW.js.map → chunk-AGVLJLOT.js.map} +0 -0
  641. /package/dist/{chunk-4D73PLXU.js.map → chunk-B3CDNANO.js.map} +0 -0
  642. /package/dist/{chunk-EOMY5SUJ.js.map → chunk-BNI5DAB7.js.map} +0 -0
  643. /package/dist/{chunk-N4AIJQ4W.js.map → chunk-BRT5IG7N.js.map} +0 -0
  644. /package/dist/{chunk-FVDC6AKZ.js.map → chunk-CXRS5YLB.js.map} +0 -0
  645. /package/dist/{chunk-TP2NS5SG.js.map → chunk-CY6EPTJA.js.map} +0 -0
  646. /package/dist/{chunk-WJ5AHR4K.js.map → chunk-CZ4Q3I25.js.map} +0 -0
  647. /package/dist/{chunk-JY3OJBKZ.js.map → chunk-E5H7JIWB.js.map} +0 -0
  648. /package/dist/{chunk-SEHJ7Y7J.js.map → chunk-EGW3D3RW.js.map} +0 -0
  649. /package/dist/{chunk-OKB2EAJH.js.map → chunk-EPLSDHBT.js.map} +0 -0
  650. /package/dist/{chunk-TAGRKRFI.js.map → chunk-F2VUMTCJ.js.map} +0 -0
  651. /package/dist/{chunk-RXOQZA4K.js.map → chunk-FLF2CIL2.js.map} +0 -0
  652. /package/dist/{chunk-5Y2XPKW2.js.map → chunk-FM4YT7QA.js.map} +0 -0
  653. /package/dist/{chunk-ZUUVWWB5.js.map → chunk-FUIPDGGH.js.map} +0 -0
  654. /package/dist/{chunk-YNLWSP5E.js.map → chunk-G47B4DOH.js.map} +0 -0
  655. /package/dist/{chunk-QK3HMAVU.js.map → chunk-G6J6AWTE.js.map} +0 -0
  656. /package/dist/{chunk-XYNQMRNX.js.map → chunk-GCZK4BMB.js.map} +0 -0
  657. /package/dist/{chunk-2AC5GJHC.js.map → chunk-GVYJOHX5.js.map} +0 -0
  658. /package/dist/{chunk-DYTBVVQX.js.map → chunk-ICEYCLRU.js.map} +0 -0
  659. /package/dist/{chunk-HQ3I2QVT.js.map → chunk-IDFTXHRQ.js.map} +0 -0
  660. /package/dist/{chunk-UOXC3XA5.js.map → chunk-J2RUOIME.js.map} +0 -0
  661. /package/dist/{chunk-WOE4TZHJ.js.map → chunk-JBNT444M.js.map} +0 -0
  662. /package/dist/{chunk-2VSUMGJV.js.map → chunk-KAUP6ONR.js.map} +0 -0
  663. /package/dist/{chunk-PXGR3VGW.js.map → chunk-KTO2Y3DI.js.map} +0 -0
  664. /package/dist/{chunk-ZVAZFHH7.js.map → chunk-KVYXHWX2.js.map} +0 -0
  665. /package/dist/{chunk-GN7K3NPI.js.map → chunk-LDFM37DM.js.map} +0 -0
  666. /package/dist/{chunk-JLLGXYOZ.js.map → chunk-LHC6OHQ6.js.map} +0 -0
  667. /package/dist/{chunk-UQA6Z23M.js.map → chunk-LQOJBPKV.js.map} +0 -0
  668. /package/dist/{chunk-4S5ZAG4S.js.map → chunk-METHLFNZ.js.map} +0 -0
  669. /package/dist/{chunk-LKOMEXUB.js.map → chunk-MGOSJSDV.js.map} +0 -0
  670. /package/dist/{chunk-7SJU6PQ7.js.map → chunk-O34P4WD5.js.map} +0 -0
  671. /package/dist/{chunk-5MMJPUBH.js.map → chunk-O5V2KBI4.js.map} +0 -0
  672. /package/dist/{chunk-LWCGQNVU.js.map → chunk-OO7Y2NMT.js.map} +0 -0
  673. /package/dist/{chunk-HFAT5S5B.js.map → chunk-P3AHGZH2.js.map} +0 -0
  674. /package/dist/{chunk-NBWZVBDG.js.map → chunk-P6FMQHJJ.js.map} +0 -0
  675. /package/dist/{chunk-TARINRA4.js.map → chunk-Q6LCL67T.js.map} +0 -0
  676. /package/dist/{chunk-OT2MN5UR.js.map → chunk-Q7G5CWH6.js.map} +0 -0
  677. /package/dist/{chunk-KCRBAMFU.js.map → chunk-RA73BVUX.js.map} +0 -0
  678. /package/dist/{chunk-EB76M4ZH.js.map → chunk-S6ZCFRL5.js.map} +0 -0
  679. /package/dist/{chunk-MZPS46OR.js.map → chunk-SIKCVWM3.js.map} +0 -0
  680. /package/dist/{chunk-KTY7H44G.js.map → chunk-SIWXWRAD.js.map} +0 -0
  681. /package/dist/{chunk-6R2BQ6FK.js.map → chunk-UNIJPTDU.js.map} +0 -0
  682. /package/dist/{chunk-A37TIYFD.js.map → chunk-UXFRUYTR.js.map} +0 -0
  683. /package/dist/{chunk-VOUCQ2YW.js.map → chunk-V4UJERGL.js.map} +0 -0
  684. /package/dist/{chunk-AK7CL5IW.js.map → chunk-W46BM7HF.js.map} +0 -0
  685. /package/dist/{chunk-AOT3UZBM.js.map → chunk-WH7CATSZ.js.map} +0 -0
  686. /package/dist/{chunk-EY5WWPPZ.js.map → chunk-WM2PLENG.js.map} +0 -0
  687. /package/dist/{chunk-KIXVHP2C.js.map → chunk-XU6XQPNM.js.map} +0 -0
  688. /package/dist/{chunk-SNWFM2DB.js.map → chunk-YKFGXS26.js.map} +0 -0
  689. /package/dist/{chunk-HBDWE7WK.js.map → chunk-YQB66YKJ.js.map} +0 -0
  690. /package/dist/{chunk-7P74QKVC.js.map → chunk-YZKZQXRX.js.map} +0 -0
  691. /package/dist/{chunk-IN5UCEJD.js.map → chunk-ZDHWB32Y.js.map} +0 -0
  692. /package/dist/{chunk-A6NVGPCZ.js.map → chunk-ZOYNCIRB.js.map} +0 -0
  693. /package/dist/{claim-FBL5VBYZ.js.map → claim-PTCFUZM2.js.map} +0 -0
  694. /package/dist/{companies-URRCAJZE.js.map → companies-STCBOG5Z.js.map} +0 -0
  695. /package/dist/{company-LDCNUPHZ.js.map → company-4CE7CGNC.js.map} +0 -0
  696. /package/dist/{complete-3UGPO444.js.map → complete-R4A7LBOQ.js.map} +0 -0
  697. /package/dist/{connect-M5KPZQWE.js.map → connect-4VLRGTAM.js.map} +0 -0
  698. /package/dist/{conversation-S7YANZJR.js.map → conversation-JS52LHCZ.js.map} +0 -0
  699. /package/dist/{conversion-report-RB2MU7UD.js.map → conversion-report-R4KJI4VA.js.map} +0 -0
  700. /package/dist/{conversion-upload-command-HFZYKVXA.js.map → conversion-upload-command-WCLWA27O.js.map} +0 -0
  701. /package/dist/{conversion-writes-56AIPXPK.js.map → conversion-writes-XIQEIDPS.js.map} +0 -0
  702. /package/dist/{conversions-QZL4DSJO.js.map → conversions-IYEF6WZP.js.map} +0 -0
  703. /package/dist/{conversions-NRX76ZIT.js.map → conversions-RMBQNW3T.js.map} +0 -0
  704. /package/dist/{create-Y6YVJ5L4.js.map → create-6I7SRQHV.js.map} +0 -0
  705. /package/dist/{create-OE5MRW3X.js.map → create-JYBMK5JH.js.map} +0 -0
  706. /package/dist/{create-56PJRLMA.js.map → create-MPUAOJQB.js.map} +0 -0
  707. /package/dist/{create-RL7PRIDY.js.map → create-W7L5B374.js.map} +0 -0
  708. /package/dist/{creatives-ESVH63AP.js.map → creatives-EPXJ2PDV.js.map} +0 -0
  709. /package/dist/{creatives-URHXATY6.js.map → creatives-PP6Z2T6Z.js.map} +0 -0
  710. /package/dist/{credentials-O6QSB7ZR.js.map → credentials-R4BZ76RD.js.map} +0 -0
  711. /package/dist/{critique-PTGGXRFG.js.map → critique-ICVRILIZ.js.map} +0 -0
  712. /package/dist/{critique-EWJBOCXQ.js.map → critique-OTIGYFZU.js.map} +0 -0
  713. /package/dist/{crm-GLPOO22Q.js.map → crm-5JFMA2YB.js.map} +0 -0
  714. /package/dist/{crm-F6RGNQH5.js.map → crm-PRTHRLXM.js.map} +0 -0
  715. /package/dist/{currency-CHBV6WIO.js.map → currency-BY647ZB7.js.map} +0 -0
  716. /package/dist/{customers-Q76FCWYO.js.map → customers-5EWPVKJV.js.map} +0 -0
  717. /package/dist/{delete-ODFDZCL3.js.map → delete-5EWH2SQQ.js.map} +0 -0
  718. /package/dist/{delete-OVMPDGWQ.js.map → delete-V2FBPIN7.js.map} +0 -0
  719. /package/dist/{delete-XN7N4S4H.js.map → delete-ZWUCKXI5.js.map} +0 -0
  720. /package/dist/{demographics-IY5RI55Z.js.map → demographics-2YCVAAPH.js.map} +0 -0
  721. /package/dist/{discard-GKIA5FML.js.map → discard-N7K3UQ7M.js.map} +0 -0
  722. /package/dist/{discover-ZU2DAV23.js.map → discover-TAJUFO5R.js.map} +0 -0
  723. /package/dist/{domain-WGXA7OXV.js.map → domain-YYTNWNSF.js.map} +0 -0
  724. /package/dist/{download-DYYNUGLX.js.map → download-JMJRYJ37.js.map} +0 -0
  725. /package/dist/{draft-EX2I6UJB.js.map → draft-KQACMPH2.js.map} +0 -0
  726. /package/dist/{draft-VYIRZO3E.js.map → draft-PENVOYCI.js.map} +0 -0
  727. /package/dist/{draft-R7BNWMBR.js.map → draft-RGSDXFFT.js.map} +0 -0
  728. /package/dist/{draft-EWGNZUU4.js.map → draft-SKEGKHIK.js.map} +0 -0
  729. /package/dist/{draft-GKI6MB7L.js.map → draft-UOMHLIVY.js.map} +0 -0
  730. /package/dist/{experiments-6DOKWFH4.js.map → experiments-W5D7ERVJ.js.map} +0 -0
  731. /package/dist/{facets-ZU5DT2QW.js.map → facets-FUNOZ6JS.js.map} +0 -0
  732. /package/dist/{feedback-RIUBM557.js.map → feedback-OVZFH7UV.js.map} +0 -0
  733. /package/dist/{feedback-record-3VVAUCOH.js.map → feedback-record-DKDR3XHH.js.map} +0 -0
  734. /package/dist/{fetch-T6TZCU74.js.map → fetch-QKP23NSX.js.map} +0 -0
  735. /package/dist/{fit-YPOHTM7Y.js.map → fit-PZPU2IZZ.js.map} +0 -0
  736. /package/dist/{flows-CKVEZFF2.js.map → flows-GBMZJX4R.js.map} +0 -0
  737. /package/dist/{fonts-3J3UVZ2E.js.map → fonts-2YY5465Q.js.map} +0 -0
  738. /package/dist/{forecast-JEAFUR2O.js.map → forecast-7B75GCRH.js.map} +0 -0
  739. /package/dist/{forecast-372Q6KQZ.js.map → forecast-VOND3WVO.js.map} +0 -0
  740. /package/dist/{funnel-FBTNPTS7.js.map → funnel-G4CMJ2C4.js.map} +0 -0
  741. /package/dist/{generate-JQIK3UYS.js.map → generate-SW5KLHXG.js.map} +0 -0
  742. /package/dist/{get-5N5FCGNH.js.map → get-44VNCDBQ.js.map} +0 -0
  743. /package/dist/{get-EXHUQT65.js.map → get-ZPJFKFHL.js.map} +0 -0
  744. /package/dist/{google-JHTOX6WM.js.map → google-VYARAUQH.js.map} +0 -0
  745. /package/dist/{google-ads-ZAYRCG2D.js.map → google-ads-BKDTCXUS.js.map} +0 -0
  746. /package/dist/{history-VNLS2TKB.js.map → history-7DF5HFJT.js.map} +0 -0
  747. /package/dist/{history-6J3XRNTZ.js.map → history-NEKVFRGQ.js.map} +0 -0
  748. /package/dist/{history-4ULZ4BVV.js.map → history-YU6HH574.js.map} +0 -0
  749. /package/dist/{hubspot-ZEHWWJHK.js.map → hubspot-Q3ZQODAX.js.map} +0 -0
  750. /package/dist/{ideas-SB6546GI.js.map → ideas-75LW4KBY.js.map} +0 -0
  751. /package/dist/{images-LEZYVE7R.js.map → images-7FS4KEGU.js.map} +0 -0
  752. /package/dist/{ingest-KNJCCIBG.js.map → ingest-MHH5OQP4.js.map} +0 -0
  753. /package/dist/{ingest-4OOTCOLO.js.map → ingest-S5OS6WIU.js.map} +0 -0
  754. /package/dist/{insights-XY6II7TX.js.map → insights-YVV5MHPQ.js.map} +0 -0
  755. /package/dist/{inspect-MHKEYNIC.js.map → inspect-PIFZILBU.js.map} +0 -0
  756. /package/dist/{inspiration-CSN3AXDD.js.map → inspiration-KL27O45N.js.map} +0 -0
  757. /package/dist/{intent-5QUPPZNI.js.map → intent-GIAQDMHF.js.map} +0 -0
  758. /package/dist/{keyword-gap-IG3EFLDH.js.map → keyword-gap-NZF75XGF.js.map} +0 -0
  759. /package/dist/{keyword-metrics-EL7MO3H6.js.map → keyword-metrics-H5M5I3N4.js.map} +0 -0
  760. /package/dist/{keywords-for-site-I7KJLZ2I.js.map → keywords-for-site-RILBDULX.js.map} +0 -0
  761. /package/dist/{landing-Z3QGJYM3.js.map → landing-H5KY6F7K.js.map} +0 -0
  762. /package/dist/{languages-LNHWSCMT.js.map → languages-GGNN7FEK.js.map} +0 -0
  763. /package/dist/{leads-WQCTZYKT.js.map → leads-WCWH4C73.js.map} +0 -0
  764. /package/dist/{learn-6KW6TUVL.js.map → learn-RUZUBNQZ.js.map} +0 -0
  765. /package/dist/{line-item-writes-B2KSP36W.js.map → line-item-writes-5Z3AEUV2.js.map} +0 -0
  766. /package/dist/{line-items-3ICE5DBI.js.map → line-items-IYSM2NEA.js.map} +0 -0
  767. /package/dist/{link-QRQ34ZDH.js.map → link-KRNL5O7Z.js.map} +0 -0
  768. /package/dist/{linkedin-D4RKHQPS.js.map → linkedin-GZIYAH4C.js.map} +0 -0
  769. /package/dist/{linkedin-person-Y5TCUOXS.js.map → linkedin-person-PMXUBPVL.js.map} +0 -0
  770. /package/dist/{list-XAMJSOGI.js.map → list-ALQGX6JI.js.map} +0 -0
  771. /package/dist/{list-6HZVHA6T.js.map → list-I37IE3NN.js.map} +0 -0
  772. /package/dist/{list-CHYJ53JD.js.map → list-JD5T6CGQ.js.map} +0 -0
  773. /package/dist/{locations-64JNCQID.js.map → locations-7RYEWKJO.js.map} +0 -0
  774. /package/dist/{locations-KVAAO7LD.js.map → locations-BU4ZGWAS.js.map} +0 -0
  775. /package/dist/{log-PLXGA74X.js.map → log-JWUFDOG6.js.map} +0 -0
  776. /package/dist/{make-EP4YSN26.js.map → make-QCGOTYNW.js.map} +0 -0
  777. /package/dist/{map-CAFMAMPP.js.map → map-EYKEY4VA.js.map} +0 -0
  778. /package/dist/{mcp-DDWSXLU7.js.map → mcp-P2PZCFFJ.js.map} +0 -0
  779. /package/dist/{media-sources-J5FXYPV5.js.map → media-sources-UUNS3LES.js.map} +0 -0
  780. /package/dist/{members-ZA7S5KWP.js.map → members-XTW5F5N5.js.map} +0 -0
  781. /package/dist/{metrics-MXGA3EFS.js.map → metrics-Z75Q2FHP.js.map} +0 -0
  782. /package/dist/{models-Z6SUHWKI.js.map → models-X2IXXAD6.js.map} +0 -0
  783. /package/dist/{normalize-ZHM2ZVXZ.js.map → normalize-P2UQIQOX.js.map} +0 -0
  784. /package/dist/{options-JTMDZECY.js.map → options-2OK4LBAD.js.map} +0 -0
  785. /package/dist/{organization-5OJEJEQV.js.map → organization-I5AIPZEH.js.map} +0 -0
  786. /package/dist/{performance-AHVTOYTM.js.map → performance-4UPNHWC2.js.map} +0 -0
  787. /package/dist/{performance-S273NSUB.js.map → performance-H5FJQBOP.js.map} +0 -0
  788. /package/dist/{pixels-H642RPK4.js.map → pixels-DBSPNHIE.js.map} +0 -0
  789. /package/dist/{promoted-tweet-writes-UF6LYMH4.js.map → promoted-tweet-writes-V5N5JDYQ.js.map} +0 -0
  790. /package/dist/{promoted-tweets-Z4GG6D7P.js.map → promoted-tweets-ZSNBS3QQ.js.map} +0 -0
  791. /package/dist/{publish-YQ6MHS7P.js.map → publish-M6U72N3H.js.map} +0 -0
  792. /package/dist/{query-FT2BA3WH.js.map → query-NMQKS4MY.js.map} +0 -0
  793. /package/dist/{reddit-YWYRZBL2.js.map → reddit-AZMVTHPR.js.map} +0 -0
  794. /package/dist/{refresh-TEXTTECA.js.map → refresh-42TJTJSN.js.map} +0 -0
  795. /package/dist/{release-3JDETBZI.js.map → release-VT6TNWUV.js.map} +0 -0
  796. /package/dist/{relevant-pages-OCHLUV5K.js.map → relevant-pages-JRIDJL4L.js.map} +0 -0
  797. /package/dist/{remove-KZTSU4K2.js.map → remove-YW25PRT4.js.map} +0 -0
  798. /package/dist/{reopen-GIJSFNDH.js.map → reopen-WGTMBOHK.js.map} +0 -0
  799. /package/dist/{rerun-6UZNOPUG.js.map → rerun-O7P5LMC4.js.map} +0 -0
  800. /package/dist/{research-XA2IJ2XV.js.map → research-IQWYPRBV.js.map} +0 -0
  801. /package/dist/{research-TMKG4NQJ.js.map → research-WYNVU26K.js.map} +0 -0
  802. /package/dist/{reset-7VL6WJLE.js.map → reset-4YPVS6QU.js.map} +0 -0
  803. /package/dist/{reset-HLZ6JHGY.js.map → reset-NF6K4NHK.js.map} +0 -0
  804. /package/dist/{resolve-H2QW3U5Y.js.map → resolve-GB4ORVSB.js.map} +0 -0
  805. /package/dist/{retry-MIZ67MPP.js.map → retry-LKJVOXVX.js.map} +0 -0
  806. /package/dist/{retry-WSWW6EJT.js.map → retry-W3NSNNDV.js.map} +0 -0
  807. /package/dist/{revenue-LTU7HRT2.js.map → revenue-KHUWJPMJ.js.map} +0 -0
  808. /package/dist/{rules-BGBCUUPH.js.map → rules-HMAONF3A.js.map} +0 -0
  809. /package/dist/{rules-add-SZT2MSOD.js.map → rules-add-BP5XSD23.js.map} +0 -0
  810. /package/dist/{run-XUDGECLL.js.map → run-EBCP5VIQ.js.map} +0 -0
  811. /package/dist/{run-FHGT4UQ7.js.map → run-QP7JP2H4.js.map} +0 -0
  812. /package/dist/{scaffold-ad-VXNO3SQP.js.map → scaffold-ad-JVDV7FET.js.map} +0 -0
  813. /package/dist/{scaffold-static-ad-FT55VV3T.js.map → scaffold-static-ad-VD3KXMHT.js.map} +0 -0
  814. /package/dist/{scaffold-video-V7WX5AWZ.js.map → scaffold-video-X3YR6APK.js.map} +0 -0
  815. /package/dist/{schedule-BNRLEFMZ.js.map → schedule-7OKUUJHO.js.map} +0 -0
  816. /package/dist/{scheduled-agents-MAXXXJ7W.js.map → scheduled-agents-N6FDAL7K.js.map} +0 -0
  817. /package/dist/{schema-YADPD54K.js.map → schema-6O6CJTT5.js.map} +0 -0
  818. /package/dist/{search-56ORG4PL.js.map → search-WGOCL2KW.js.map} +0 -0
  819. /package/dist/{select-DON4DMNM.js.map → select-6PVDRJQJ.js.map} +0 -0
  820. /package/dist/{set-prompt-J22TUCRU.js.map → set-prompt-EDM7CPME.js.map} +0 -0
  821. /package/dist/{setup-links-CHODCBYH.js.map → setup-links-Z2KIKKJM.js.map} +0 -0
  822. /package/dist/{shopify-FCYU4AR6.js.map → shopify-AANLSYQY.js.map} +0 -0
  823. /package/dist/{site-BF3Q26W5.js.map → site-6HHZJW2S.js.map} +0 -0
  824. /package/dist/{sources-VHHC6YQM.js.map → sources-72AAZL4C.js.map} +0 -0
  825. /package/dist/{sources-SLCYAWTZ.js.map → sources-VRWQ65G6.js.map} +0 -0
  826. /package/dist/{stale-GLVTL2ZK.js.map → stale-KO6NQVR4.js.map} +0 -0
  827. /package/dist/{status-E3RA644P.js.map → status-QRO7U5K2.js.map} +0 -0
  828. /package/dist/{studio-6ZXUKA4G.js.map → studio-OV2ZY5W3.js.map} +0 -0
  829. /package/dist/{sync-6QCDDJMO.js.map → sync-AQZ7JYEG.js.map} +0 -0
  830. /package/dist/{sync-definition-DXNHGY5E.js.map → sync-definition-OKSJA6MA.js.map} +0 -0
  831. /package/dist/{tags-KW7PG2TR.js.map → tags-5GFUNIIK.js.map} +0 -0
  832. /package/dist/{tags-MGV5KG6I.js.map → tags-DIFC2HFB.js.map} +0 -0
  833. /package/dist/{tags-TM27EIAL.js.map → tags-M26JKN2F.js.map} +0 -0
  834. /package/dist/{tags-AMZSQJJ2.js.map → tags-QFEG7LJV.js.map} +0 -0
  835. /package/dist/{tags-VWGKVGZD.js.map → tags-ZWYUQYWT.js.map} +0 -0
  836. /package/dist/{targeting-criteria-FT3G4HAW.js.map → targeting-criteria-UQMPM2K5.js.map} +0 -0
  837. /package/dist/{targets-XLVHWO6Z.js.map → targets-YCVILKKZ.js.map} +0 -0
  838. /package/dist/{testimonials-INXY7CXU.js.map → testimonials-SJQJDEK4.js.map} +0 -0
  839. /package/dist/{themes-R3A6IVQN.js.map → themes-RRLYZ46U.js.map} +0 -0
  840. /package/dist/{top-companies-MNX3GBCP.js.map → top-companies-LPYM65KX.js.map} +0 -0
  841. /package/dist/{transcript-GIAOWCTO.js.map → transcript-D2IQWUSP.js.map} +0 -0
  842. /package/dist/{translate-JEQ4K4AH.js.map → translate-CPDFHEI4.js.map} +0 -0
  843. /package/dist/{triggers-KDXLDZ23.js.map → triggers-543HDVJK.js.map} +0 -0
  844. /package/dist/{unlink-PNBSDLBQ.js.map → unlink-DQGU7K7V.js.map} +0 -0
  845. /package/dist/{unstage-X2PDLT5O.js.map → unstage-7UQU4MQT.js.map} +0 -0
  846. /package/dist/{update-TJTDFWER.js.map → update-DGIBKKIB.js.map} +0 -0
  847. /package/dist/{update-4JGHSQVZ.js.map → update-FEZ3EVTA.js.map} +0 -0
  848. /package/dist/{update-4XUQN4LK.js.map → update-QF6WBJU7.js.map} +0 -0
  849. /package/dist/{update-URU4TO2F.js.map → update-RY3GU5QI.js.map} +0 -0
  850. /package/dist/{upload-TO5EPTVD.js.map → upload-VMDGQ4HS.js.map} +0 -0
  851. /package/dist/{url-options-YZ6UG3NY.js.map → url-options-2TQCGD2W.js.map} +0 -0
  852. /package/dist/{url-params-533CWJH3.js.map → url-params-LMC2DRHP.js.map} +0 -0
  853. /package/dist/{validate-XF6HU7D4.js.map → validate-TLWEN4IL.js.map} +0 -0
  854. /package/dist/{videos-KYZ4CUOB.js.map → videos-GFOHRAJ7.js.map} +0 -0
  855. /package/dist/{viewer-check-U5GUU34Z.js.map → viewer-check-EKDFC7LQ.js.map} +0 -0
  856. /package/dist/{web-ZYMSMIV6.js.map → web-L7LF6FLF.js.map} +0 -0
  857. /package/dist/{winning-ads-BCN5RVAE.js.map → winning-ads-RUS4NE5C.js.map} +0 -0
  858. /package/dist/{write-commands-PZZ72PNL.js.map → write-commands-2JYDSXAX.js.map} +0 -0
  859. /package/dist/{x-DLEZYTAU.js.map → x-HLZUSGJT.js.map} +0 -0
@@ -0,0 +1,843 @@
1
+ import {
2
+ AD_PLACEMENTS
3
+ } from "./chunk-F3CZFUXZ.js";
4
+ import {
5
+ hasOpenRouterKey,
6
+ openRouterKey
7
+ } from "./chunk-E54435XT.js";
8
+
9
+ // src/engine/creative-rules/select.ts
10
+ import { createHash } from "crypto";
11
+ function platformFamily(name) {
12
+ const platform = AD_PLACEMENTS.find((p) => p.id === name)?.platform ?? name;
13
+ return platform.startsWith("google_") ? "google" : platform;
14
+ }
15
+ function runsOn(scoped, runs) {
16
+ return runs.some((run) => scoped.some((name) => name === run || platformFamily(name) === platformFamily(run)));
17
+ }
18
+ var RULES_CHARS = 12e3;
19
+ var STRENGTH_ORDER = { never: 0, must: 1, prefer: 2 };
20
+ function holdsFor(rule, target) {
21
+ const { kinds, products, platforms } = rule.scope;
22
+ if (kinds?.length && target.kind && !kinds.includes(target.kind)) return false;
23
+ if (products?.length && target.product && !products.includes(target.product)) return false;
24
+ const runs = target.platforms?.length ? target.platforms : target.platform ? [target.platform] : [];
25
+ if (platforms?.length && runs.length > 0 && !runsOn(platforms, runs)) return false;
26
+ return true;
27
+ }
28
+ function byStrength(a, b) {
29
+ return STRENGTH_ORDER[a.strength] - STRENGTH_ORDER[b.strength] || Number(a.origin === "declared") - Number(b.origin === "declared") || (b.source.date ?? "").localeCompare(a.source.date ?? "");
30
+ }
31
+ function selectRules(rules, target, waived = []) {
32
+ const held = rules.filter((r) => r.status === "active" && !waived.includes(r.id) && holdsFor(r, target)).sort(byStrength);
33
+ const picked = [];
34
+ let used = 0;
35
+ for (const rule of held) {
36
+ used += rule.text.length + (rule.source.quote?.length ?? 0);
37
+ if (used > RULES_CHARS && picked.length > 0) break;
38
+ picked.push(rule);
39
+ }
40
+ return picked;
41
+ }
42
+ function rulesDigest(rules) {
43
+ const canonical = [...rules].map((r) => [r.id, r.strength, r.applies, r.text, r.check ?? null]).sort((a, b) => String(a[0]).localeCompare(String(b[0])));
44
+ return createHash("sha256").update(JSON.stringify(canonical)).digest("hex").slice(0, 12);
45
+ }
46
+ var RULES_OPEN = "<company_rules>";
47
+ var RULES_CLOSE = "</company_rules>";
48
+ function rulesBlock(rules, intro) {
49
+ if (rules.length === 0) return "";
50
+ const lines = rules.map((r) => {
51
+ const quote = r.source.quote && r.source.quote !== r.text ? ` (their words: "${r.source.quote}")` : "";
52
+ return `- [${r.strength}] ${r.id}: ${r.text}${quote}`;
53
+ });
54
+ const lead = intro ?? "The company's standing rules for its ads: a never or a must is a requirement, a prefer is its taste.";
55
+ return [RULES_OPEN, lead, ...lines, RULES_CLOSE].join("\n");
56
+ }
57
+ function withoutRulesBlocks(text) {
58
+ if (!text.includes(RULES_OPEN)) return text;
59
+ return text.replace(new RegExp(`\\s*${RULES_OPEN}[\\s\\S]*?${RULES_CLOSE.replace("/", "\\/")}`, "g"), "");
60
+ }
61
+ function withoutRulesDeep(value) {
62
+ if (typeof value === "string") return withoutRulesBlocks(value);
63
+ if (Array.isArray(value)) return value.map(withoutRulesDeep);
64
+ if (value && typeof value === "object") {
65
+ return Object.fromEntries(Object.entries(value).map(([k, v]) => [k, withoutRulesDeep(v)]));
66
+ }
67
+ return value;
68
+ }
69
+ var BRIEF_RULES = 8;
70
+ function briefRules(rules) {
71
+ return rules.filter(
72
+ (r) => r.origin === "learned" ? r.applies === "picture" || r.applies === "cast" || r.applies === "logo" : r.applies === "cast" || r.applies === "logo"
73
+ ).slice(0, BRIEF_RULES);
74
+ }
75
+
76
+ // src/engine/nodes/local/lib/render-review.ts
77
+ import { execFile } from "child_process";
78
+ import { mkdtemp, readdir, readFile, rm } from "fs/promises";
79
+ import { tmpdir } from "os";
80
+ import path from "path";
81
+ import { promisify } from "util";
82
+ import { z } from "zod";
83
+
84
+ // src/engine/nodes/local/lib/rules-findings.ts
85
+ var SEEN_IN_A_STILL = /* @__PURE__ */ new Set(["copy", "picture", "cast", "logo", "any"]);
86
+ var reviewedRules = (rules) => rules.filter((r) => r.origin === "learned" && SEEN_IN_A_STILL.has(r.applies));
87
+ function buildRulesReviewPrompt(opts) {
88
+ const ids = reviewedRules(opts.rules).map((r) => r.id);
89
+ return [
90
+ `These are the finished sizes of ONE ad, in this order: ${opts.formats.join(", ")}.`,
91
+ `Check the ad against each of the company's rules above (${ids.join(", ")}). A rule is broken only when you can plainly see it broken on the ad as it is: its words as they print, what the picture shows, who appears, the logo. A rule about something this ad does not show is not broken. Never report anything that is not one of these rules.`,
92
+ 'For each rule broken, give its id exactly, the size you see it on, and in under twenty words what on the ad breaks it. Reply with only this JSON: {"broken":[{"rule":"<rule id>","format":"4:5","what":"..."}]}; {"broken":[]} when the ad keeps every rule.'
93
+ ].join("\n");
94
+ }
95
+ function rulesSystem(rules) {
96
+ return rulesBlock(
97
+ reviewedRules(rules),
98
+ "You check finished ads against the company's own standing rules for every ad. A never or a must is a requirement; a prefer is its taste. The rules, each with its id:"
99
+ );
100
+ }
101
+ var ELEMENT = {
102
+ copy: "copy",
103
+ logo: "logo",
104
+ picture: "picture",
105
+ cast: "picture",
106
+ any: "picture",
107
+ voice: "other",
108
+ sound: "other",
109
+ subtitles: "other"
110
+ };
111
+ function classifyRuleFindings(json, rules) {
112
+ const broken = json?.broken;
113
+ if (!Array.isArray(broken)) return [];
114
+ return broken.flatMap((raw) => {
115
+ const entry = raw ?? {};
116
+ const rule = rules.find((r) => r.id === entry.rule);
117
+ const what = typeof entry.what === "string" ? entry.what.trim() : "";
118
+ if (!rule || !what) return [];
119
+ const format = typeof entry.format === "string" && entry.format.trim() ? `${entry.format.trim()}: ` : "";
120
+ const kind = {
121
+ item: "rule",
122
+ element: ELEMENT[rule.applies],
123
+ defect: "other",
124
+ edges: [],
125
+ rule: rule.id
126
+ };
127
+ return [
128
+ {
129
+ severity: rule.strength === "prefer" ? "warning" : "blocking",
130
+ what: `${format}breaks ${rule.id} (${rule.text}): ${what}`,
131
+ kind
132
+ }
133
+ ];
134
+ });
135
+ }
136
+ var HEARD = /* @__PURE__ */ new Set(["voice", "sound", "subtitles", "copy", "any"]);
137
+ var heardRules = (rules) => rules.filter((r) => r.origin === "learned" && HEARD.has(r.applies));
138
+
139
+ // src/engine/nodes/local/lib/render-review.ts
140
+ var RENDER_REVIEW_MODEL = "~google/gemini-pro-latest";
141
+ var RENDER_REVIEW_FRAMES = 12;
142
+ var RENDER_REVIEW_WIDTH = 1024;
143
+ var RENDER_WATCH_MODEL = "~google/gemini-flash-latest";
144
+ function usageFrom(model, body) {
145
+ const usage = body?.usage;
146
+ if (!usage) return null;
147
+ const positive = (value) => typeof value === "number" && Number.isFinite(value) && value > 0 ? value : null;
148
+ return {
149
+ model,
150
+ inputTokens: usage.prompt_tokens ?? 0,
151
+ outputTokens: usage.completion_tokens ?? 0,
152
+ costUsd: positive(usage.cost) ?? positive(usage.cost_details?.upstream_inference_cost) ?? 0
153
+ };
154
+ }
155
+ var WATCH_MAX_BYTES = 60 * 1024 * 1024;
156
+ var STATIC_REVIEW_ITEMS = [
157
+ "text",
158
+ "logo",
159
+ "layout",
160
+ "safe_zone",
161
+ "picture",
162
+ "subject",
163
+ "person",
164
+ "people",
165
+ "one_idea",
166
+ "thumbnail",
167
+ "concept",
168
+ "viewer",
169
+ "proof",
170
+ "sizes",
171
+ "native",
172
+ "rule",
173
+ "other"
174
+ ];
175
+ var FINDING_ELEMENTS = ["copy", "button", "logo", "scene_text", "picture", "other"];
176
+ var FINDING_DEFECTS = ["cut", "missing", "unreadable", "other"];
177
+ var FRAME_EDGES = ["top", "bottom", "left", "right"];
178
+ function sceneAt(windows, atS) {
179
+ return windows.find((w) => atS >= w.startS && atS < w.endS)?.file;
180
+ }
181
+ function reviewFrameTimes(durationS, frames) {
182
+ const n = Math.max(2, frames);
183
+ const last = Math.max(0, durationS - 0.15);
184
+ const step = last / (n - 1);
185
+ return Array.from({ length: n }, (_, i) => Math.round(i * step * 100) / 100);
186
+ }
187
+ function buildFrameGrabArgs(video, atS, out) {
188
+ return [
189
+ "-v",
190
+ "error",
191
+ "-ss",
192
+ String(atS),
193
+ "-i",
194
+ video,
195
+ "-frames:v",
196
+ "1",
197
+ "-vf",
198
+ `scale=${RENDER_REVIEW_WIDTH}:-2`,
199
+ out,
200
+ "-y"
201
+ ];
202
+ }
203
+ var FrameReview = z.object({
204
+ /** Something in shot that could not happen, or is being done wrong. */
205
+ impossible: z.array(z.string()).default([]),
206
+ /** Objects present in frame that belong to no part of the scene. */
207
+ strays: z.array(z.string()).default([])
208
+ });
209
+ var ReelReview = z.object({
210
+ /** Whether the people the script treats as one person stay one person. */
211
+ cast_is_consistent: z.boolean().default(true),
212
+ cast_note: z.string().default(""),
213
+ /** Whether the advertiser's mark is visible anywhere. */
214
+ brand_mark_visible: z.boolean().default(false),
215
+ /** Whether the last frames close the ad rather than trailing off. */
216
+ ends_on_a_close: z.boolean().default(false),
217
+ ending_note: z.string().default(""),
218
+ /** Whether the ad ever cuts away from the presenter to show anything. */
219
+ shows_more_than_a_face: z.boolean().default(true),
220
+ shows_note: z.string().default("")
221
+ });
222
+ function buildFrameReviewPrompt(opts) {
223
+ const subject = opts.subject ? ` The advertiser is ${opts.subject}.` : "";
224
+ return `This is ONE frame from a video advertisement.${subject}
225
+
226
+ Answer only about what is visible in THIS frame. Do not judge whether the ad is good, and do not comment on style, mood or lighting.
227
+
228
+ 1. IMPOSSIBLE OR WRONG. Is anything shown that could not physically happen, or that shows the job being done incorrectly? Judge the PROCEDURE, not only the physics: equipment resting where it would never rest, a component fitted to nothing, someone handling a part in a way that would damage it, an object at the wrong scale beside a person, a body with a limb missing or duplicated.
229
+ 2. STRAYS. Is any object present that belongs to no part of the scene \u2014 floating, unattached, or cut off from whatever should hold it?
230
+
231
+ Report only what you can actually see. An empty list is the right answer for a clean frame. Keep each item under twelve words.
232
+
233
+ Reply with only this JSON: {"impossible":[],"strays":[]}`;
234
+ }
235
+ function buildReelReviewPrompt(opts) {
236
+ const subject = opts.subject ? ` The advertiser is ${opts.subject}.` : "";
237
+ const script = opts.script ? `
238
+
239
+ The voiceover says, in order:
240
+ ${opts.script}` : "";
241
+ return `These frames are sampled in order from one video advertisement.${subject}` + script + `
242
+
243
+ Answer only about what is visible.
244
+
245
+ 1. CAST. Do the people stay the same people? If the script speaks about one customer and the frames show different faces in that role, say so and count them.
246
+ 2. BRAND. Is the advertiser's logo or wordmark visible in ANY frame? Answer yes only if you can actually see a mark \u2014 a colour is not a mark.
247
+ 3. ENDING. Do the final frames close the advertisement \u2014 a call to action, a mark, a card \u2014 or does the picture simply carry on and stop?
248
+ 4. WHAT IT SHOWS. Does the advertisement ever cut away from the person to show the thing it is selling, or its result? Answer false if every frame is the same person with only the framing changed, and nothing is ever shown.
249
+
250
+ Reply with only this JSON:
251
+ {"cast_is_consistent":true,"cast_note":"","brand_mark_visible":false,"ends_on_a_close":false,"ending_note":"","shows_more_than_a_face":true,"shows_note":""}`;
252
+ }
253
+ function parseReviewJson(raw) {
254
+ const fenced = raw.match(/```(?:json)?\s*([\s\S]*?)```/);
255
+ const body = (fenced?.[1] ?? raw).trim();
256
+ const start = body.indexOf("{");
257
+ const end = body.lastIndexOf("}");
258
+ if (start === -1 || end === -1 || end < start) return null;
259
+ const json = body.slice(start, end + 1);
260
+ for (const candidate of [json, json.replace(UNCLOSED_NUMBERS, "[$1]}")]) {
261
+ try {
262
+ return JSON.parse(candidate);
263
+ } catch {
264
+ }
265
+ }
266
+ return boxListOf(json.replace(UNCLOSED_NUMBERS, "[$1]}"));
267
+ }
268
+ var UNCLOSED_NUMBERS = /\[(\s*-?\d+(?:\.\d+)?(?:\s*,\s*-?\d+(?:\.\d+)?)*)\s*\}/g;
269
+ var BOX_LIST = /^\{\s*"items"\s*:\s*\[/;
270
+ function closingQuote(text, open) {
271
+ for (let i = open + 1; i < text.length; i++) {
272
+ if (text[i] === "\\") i++;
273
+ else if (text[i] === '"') return i;
274
+ }
275
+ return text.length;
276
+ }
277
+ function objectsIn(text) {
278
+ const out = [];
279
+ let end = 0;
280
+ let depth = 0;
281
+ let from = 0;
282
+ for (let i = 0; i < text.length; i++) {
283
+ const ch = text[i];
284
+ if (ch === '"') i = closingQuote(text, i);
285
+ else if (ch === "{") {
286
+ if (depth === 0) from = i;
287
+ depth++;
288
+ } else if (ch === "}" && depth > 0) {
289
+ depth--;
290
+ if (depth === 0) {
291
+ out.push(text.slice(from, i + 1));
292
+ end = i + 1;
293
+ }
294
+ }
295
+ }
296
+ return { objects: out, end, open: depth > 0 };
297
+ }
298
+ function boxListOf(json) {
299
+ const list = json.match(BOX_LIST);
300
+ if (!list) return null;
301
+ const seen = /* @__PURE__ */ new Set();
302
+ const items = [];
303
+ const body = json.slice(list[0].length);
304
+ const scan = objectsIn(body);
305
+ if (scan.open || !body.slice(scan.end).includes("]")) return null;
306
+ for (const object of scan.objects) {
307
+ let item;
308
+ try {
309
+ item = JSON.parse(object);
310
+ } catch {
311
+ return null;
312
+ }
313
+ const key = JSON.stringify(item);
314
+ if (seen.has(key)) continue;
315
+ seen.add(key);
316
+ items.push(item);
317
+ }
318
+ return items.length > 0 ? { items } : null;
319
+ }
320
+ var normalise = (s) => s.toLowerCase().replace(/[^a-z0-9 ]/g, " ").replace(/\s+/g, " ").trim();
321
+ var ANATOMY = /\b(finger|fingers|hand|hands|thumb|limb|leg|legs|arm|arms|foot|feet|anatomy)\b/i;
322
+ function collapseRepeats(frames) {
323
+ const seen = /* @__PURE__ */ new Map();
324
+ for (const frame of frames) {
325
+ const parsed = FrameReview.safeParse(frame.json);
326
+ if (!parsed.success) continue;
327
+ for (const item of [...parsed.data.impossible, ...parsed.data.strays]) {
328
+ const text = item.trim();
329
+ const key = normalise(text);
330
+ if (!key) continue;
331
+ const hit = seen.get(key);
332
+ if (hit) hit.at.push(frame.at);
333
+ else seen.set(key, { what: text, at: [frame.at] });
334
+ }
335
+ }
336
+ return [...seen.values()];
337
+ }
338
+ function classifyFrameFindings(frames, windows = []) {
339
+ const seen = collapseRepeats(frames);
340
+ const anatomy = seen.filter((f) => ANATOMY.test(f.what));
341
+ const rest = seen.filter((f) => !ANATOMY.test(f.what));
342
+ const findings = rest.map((f) => {
343
+ const scene = sceneAt(windows, f.at[0]);
344
+ return {
345
+ severity: "blocking",
346
+ what: `At ${f.at.map((s) => `${s}s`).join(", ")}${scene ? ` (${scene})` : ""}: ${f.what}`,
347
+ ...scene ? { scene } : {}
348
+ };
349
+ });
350
+ if (anatomy.length > 0) {
351
+ const at = [...new Set(anatomy.flatMap((f) => f.at))].sort((a, b) => a - b);
352
+ findings.push({
353
+ severity: "blocking",
354
+ what: `Malformed hands or limbs in ${at.length} of ${frames.length} sampled frames (${at.map((s) => `${s}s${sceneAt(windows, s) ? ` \u2192 ${sceneAt(windows, s)}` : ""}`).join(", ")}): ${anatomy.map((f) => f.what).join(" ")} Re-render those beats \u2014 keep hands out of frame, or away from the object being held.`
355
+ });
356
+ }
357
+ return findings;
358
+ }
359
+ function buildWatchReviewPrompt(opts) {
360
+ const market = opts.market?.trim();
361
+ const heard = heardRules(opts.rules ?? []);
362
+ const rules = heard.length > 0 ? `${rulesBlock(heard, "5. RULES. The company holds every ad to its own rules, each with its id:")}
363
+ For each rule this video plainly breaks, in what is said, how it sounds, its subtitles or what is shown, give its id exactly, the timestamp and what breaks it. A rule about something this video does not do is not broken.
364
+ ` : "";
365
+ return `Watch and LISTEN to this advertisement, then answer about the things that only exist in motion and in sound.
366
+ 1. SPOKEN VARIETY. ${market ? `The ad is set in ${market}. ` : ""}Does the speaker's accent belong there? Quote the words you heard that show it \u2014 a phonetic marker beats an impression.
367
+ 2. VOICE AND MOUTH. Does the voice belong to the mouth on screen, in timing and in person?
368
+ 3. CUTS. Do the shot changes hold, or does something jump, repeat or stutter between them?
369
+ 4. DEFECTS. List anything else wrong, each with the exact timestamp where it happens \u2014 a moment maps to the shot that produced it, and a defect without one is a complaint rather than an instruction.
370
+ ` + rules + `Answer JSON only: {"spoken_variety_matches":true|false,"variety_note":"...","voice_matches_mouth":true|false,"mouth_note":"...","cuts_are_clean":true|false,"cuts_note":"...","defects":[{"at":"MM:SS.s","kind":"cut|lipsync|audio|visual","what":"..."}]${heard.length > 0 ? ',"rules_broken":[{"rule":"<rule id>","at":"MM:SS.s","what":"..."}]' : ""}}`;
371
+ }
372
+ var WatchReview = z.object({
373
+ spoken_variety_matches: z.boolean(),
374
+ variety_note: z.string().default(""),
375
+ voice_matches_mouth: z.boolean(),
376
+ mouth_note: z.string().default(""),
377
+ cuts_are_clean: z.boolean(),
378
+ cuts_note: z.string().default("")
379
+ });
380
+ var WatchDefects = z.object({
381
+ defects: z.array(
382
+ z.object({
383
+ at: z.string().default(""),
384
+ kind: z.string().default(""),
385
+ what: z.string().default("")
386
+ })
387
+ ).default([])
388
+ });
389
+ function classifyWatchRules(json, rules, windows) {
390
+ const broken = json?.rules_broken;
391
+ if (!Array.isArray(broken)) return [];
392
+ return broken.flatMap((raw) => {
393
+ const entry = raw ?? {};
394
+ const at = typeof entry.at === "string" ? entry.at.trim() : "";
395
+ const [finding] = classifyRuleFindings({ broken: [{ ...raw, format: at }] }, heardRules(rules));
396
+ if (!finding) return [];
397
+ const moment = parseMoment(at);
398
+ const scene = moment === null ? void 0 : sceneAt(windows, moment);
399
+ return [{ ...finding, ...scene ? { scene } : {} }];
400
+ });
401
+ }
402
+ function parseMoment(at) {
403
+ const trimmed = at.trim();
404
+ const clock = /^(\d+):(\d+(?:\.\d+)?)$/.exec(trimmed);
405
+ if (clock) return Number(clock[1]) * 60 + Number(clock[2]);
406
+ const plain = Number(trimmed.replace(/s$/i, ""));
407
+ return Number.isFinite(plain) ? plain : null;
408
+ }
409
+ function classifyWatchDefects(json, windows) {
410
+ const parsed = WatchDefects.safeParse(json);
411
+ if (!parsed.success) return [];
412
+ return parsed.data.defects.filter((d) => d.what.trim()).map((d) => {
413
+ const at = parseMoment(d.at);
414
+ const scene = at === null ? void 0 : sceneAt(windows, at);
415
+ const when = d.at.trim() ? ` at ${d.at.trim()}` : "";
416
+ return {
417
+ severity: "warning",
418
+ what: `${d.what.trim()}${when}${d.kind.trim() ? ` (${d.kind.trim()})` : ""}.`,
419
+ ...scene ? { scene } : {}
420
+ };
421
+ });
422
+ }
423
+ var FidelityReview = z.object({
424
+ delivers_the_ask: z.boolean(),
425
+ missing: z.array(z.string()).default([]),
426
+ contradicted: z.array(z.string()).default([])
427
+ });
428
+ function buildFidelityPrompt(brief) {
429
+ return `Someone asked for an advertisement in these words:
430
+
431
+ """${brief.trim()}"""
432
+
433
+ Watch and LISTEN to the video, then answer only this: does it deliver what they asked for? Judge the request as it was written \u2014 not what would make a good ad, and not what you would have made. Two lists: what they asked for that is NOT in the video, and what the video does that CONTRADICTS what they asked for. Quote their own words in each entry so the answer can be checked. Empty lists when it delivers.
434
+ Answer JSON only: {"delivers_the_ask":true|false,"missing":["..."],"contradicted":["..."]}`;
435
+ }
436
+ function classifyFidelityFindings(json) {
437
+ const parsed = FidelityReview.safeParse(json);
438
+ if (!parsed.success) return [];
439
+ const r = parsed.data;
440
+ if (r.delivers_the_ask) return [];
441
+ return [...r.missing, ...r.contradicted].map((entry) => entry.trim()).filter(Boolean).map((what) => ({ severity: "blocking", what: `Not what was asked for: ${what}.` }));
442
+ }
443
+ function classifyWatchFindings(json) {
444
+ const parsed = WatchReview.safeParse(json);
445
+ if (!parsed.success) return [];
446
+ const r = parsed.data;
447
+ const findings = [];
448
+ if (!r.spoken_variety_matches) {
449
+ findings.push({
450
+ severity: "blocking",
451
+ what: `The voice speaks the wrong variety of the language${r.variety_note.trim() ? `: ${r.variety_note.trim()}` : ""}. A pinned voice cannot fix this \u2014 the re-voicing is speech-to-speech and carries the accent across, so state the market on the ad and let the clip prompt name the accent.`
452
+ });
453
+ }
454
+ if (!r.voice_matches_mouth) {
455
+ findings.push({
456
+ severity: "blocking",
457
+ what: `The voice does not match the mouth${r.mouth_note.trim() ? `: ${r.mouth_note.trim()}` : ""}. A person visibly speaking under a track that is not theirs reads as bad dubbing.`
458
+ });
459
+ }
460
+ if (!r.cuts_are_clean) {
461
+ findings.push({
462
+ severity: "warning",
463
+ what: `The cuts do not hold${r.cuts_note.trim() ? `: ${r.cuts_note.trim()}` : ""}.`
464
+ });
465
+ }
466
+ return findings;
467
+ }
468
+ function classifyReelFindings(json) {
469
+ const parsed = ReelReview.safeParse(json);
470
+ if (!parsed.success) return [];
471
+ const r = parsed.data;
472
+ const findings = [];
473
+ if (!r.cast_is_consistent) {
474
+ findings.push({
475
+ severity: "blocking",
476
+ what: `The cast changes between shots${r.cast_note.trim() ? `: ${r.cast_note.trim()}` : ""}. One customer played by several faces reads as stock footage. Ground the frames on one identity (\`baker avatars\`) or write the beats so the subject is never the same person twice.`
477
+ });
478
+ }
479
+ if (!r.brand_mark_visible) {
480
+ findings.push({
481
+ severity: "warning",
482
+ what: "No brand mark is visible in any frame. THIS IS NOT A RE-RENDER: the mark is drawn by the caption composition as an ordinary `<img>`, never generated as a picture \u2014 so fix the mark itself (a bad path, or an SVG whose geometry clips its own wordmark) or the `.brand-mark` / `.endcard-logo` rules in `<composition>/index.html`, then re-run. Every clip comes back from the cache and only the composition pass renders again, so it costs seconds and no generation."
483
+ });
484
+ }
485
+ if (!r.shows_more_than_a_face) {
486
+ findings.push({
487
+ severity: "blocking",
488
+ what: `The ad never shows what it is selling${r.shows_note.trim() ? `: ${r.shows_note.trim()}` : ""} \u2014 every frame is the same person with only the framing changed. Give the middle beats their own picture (the bill, the roof, the install, the house) and set \`cast: false\` on them.`
489
+ });
490
+ }
491
+ if (!r.ends_on_a_close) {
492
+ findings.push({
493
+ severity: "warning",
494
+ what: `The video does not close${r.ending_note.trim() ? `: ${r.ending_note.trim()}` : ""} \u2014 it runs on and stops. Give the last beat a call to action, and keep its shot short enough that the picture ends with the read.`
495
+ });
496
+ }
497
+ return findings;
498
+ }
499
+ function videoPathFromOutput(output) {
500
+ const refs = Array.isArray(output) ? output : [output];
501
+ let found = null;
502
+ for (const ref of refs) {
503
+ const r = ref;
504
+ if (!r || typeof r !== "object") continue;
505
+ const isVideo = r.kind === "video" || typeof r.mime === "string" && r.mime.startsWith("video/");
506
+ if (isVideo && typeof r.path === "string" && r.path) found = r.path;
507
+ }
508
+ return found;
509
+ }
510
+ function parseVolume(volumedetect, key) {
511
+ const raw = new RegExp(`${key}:\\s*(-?(?:inf|[\\d.]+)) dB`).exec(volumedetect)?.[1];
512
+ if (raw === void 0) return Number.NaN;
513
+ if (raw === "-inf") return Number.NEGATIVE_INFINITY;
514
+ return Number.parseFloat(raw);
515
+ }
516
+ function classifyAudio(volumedetect, hasAudioStream) {
517
+ if (!hasAudioStream) {
518
+ return [
519
+ {
520
+ severity: "blocking",
521
+ what: "The finished video has no audio track at all \u2014 no voice, no music, nothing. An ad that plays silent in a feed is not an ad."
522
+ }
523
+ ];
524
+ }
525
+ const mean = parseVolume(volumedetect, "mean_volume");
526
+ const max = parseVolume(volumedetect, "max_volume");
527
+ const findings = [];
528
+ if (mean === Number.NEGATIVE_INFINITY || max === Number.NEGATIVE_INFINITY) {
529
+ return [
530
+ {
531
+ severity: "blocking",
532
+ what: "The finished video has an audio track, but it is completely silent \u2014 digital zero from start to end. An ad that plays silent in a feed is not an ad."
533
+ }
534
+ ];
535
+ }
536
+ if (Number.isFinite(mean) && mean < -30) {
537
+ findings.push({
538
+ severity: "warning",
539
+ what: `The mix is very quiet (${mean} dB average). On a phone at half volume this is close to silence \u2014 check the music bed is not ducked into nothing under the voice.`
540
+ });
541
+ }
542
+ if (Number.isFinite(max) && max > -0.5) {
543
+ findings.push({
544
+ severity: "warning",
545
+ what: `The mix peaks at ${max} dB, which is at or over the ceiling \u2014 the voice will distort on a phone speaker. Bring the loudest track down a few dB.`
546
+ });
547
+ }
548
+ return findings;
549
+ }
550
+ var RENDER_REVIEW_UNAVAILABLE = "The render was NOT reviewed \u2014 no model gateway key in this environment. Watch it yourself before sending it on.";
551
+ var RULE_FRAME_STEP = 3;
552
+ async function framesAgainstRules(grabbed, checkStills) {
553
+ if (!checkStills) return [];
554
+ const sampled = grabbed.filter((_, i) => i % RULE_FRAME_STEP === 0);
555
+ const found = await checkStills(
556
+ sampled.map((f) => f.image),
557
+ sampled.map((f) => `the frame at ${f.at.toFixed(1)}s`)
558
+ ).catch(() => null);
559
+ return found ?? [
560
+ {
561
+ severity: "warning",
562
+ what: "The frames were not checked against the company's rules (the model did not answer): read them against `rules` in the brief yourself."
563
+ }
564
+ ];
565
+ }
566
+ var REVIEW_CONCURRENCY = 3;
567
+ async function mapWithLimit(items, limit, fn) {
568
+ const out = new Array(items.length);
569
+ let next = 0;
570
+ await Promise.all(
571
+ Array.from({ length: Math.min(limit, items.length) }, async () => {
572
+ for (let i = next++; i < items.length; i = next++) {
573
+ out[i] = await fn(items[i]);
574
+ }
575
+ })
576
+ );
577
+ return out;
578
+ }
579
+ var execFileAsync = promisify(execFile);
580
+ async function measureAudio(video) {
581
+ const streams = await execFileAsync(
582
+ "ffprobe",
583
+ ["-v", "error", "-select_streams", "a", "-show_entries", "stream=codec_type", "-of", "csv=p=0", video],
584
+ { timeout: 2e4 }
585
+ ).catch(() => null);
586
+ if (!streams) return [];
587
+ const hasAudio = streams.stdout.trim().length > 0;
588
+ if (!hasAudio) return classifyAudio("", false);
589
+ const vol = await execFileAsync("ffmpeg", ["-i", video, "-map", "0:a:0", "-af", "volumedetect", "-f", "null", "-"], {
590
+ timeout: 12e4,
591
+ maxBuffer: 8 * 1024 * 1024
592
+ }).catch((e) => ({ stdout: "", stderr: e.stderr ?? "" }));
593
+ return classifyAudio(vol.stderr ?? "", true);
594
+ }
595
+ async function videoDuration(video) {
596
+ try {
597
+ const { stdout } = await execFileAsync(
598
+ "ffprobe",
599
+ ["-v", "error", "-show_entries", "format=duration", "-of", "default=nw=1:nk=1", video],
600
+ { timeout: 2e4 }
601
+ );
602
+ const seconds = Number.parseFloat(stdout.trim());
603
+ return Number.isFinite(seconds) && seconds > 0 ? seconds : null;
604
+ } catch {
605
+ return null;
606
+ }
607
+ }
608
+ async function askGateway(model, parts, timeoutMs, spent, reasoning, extra = {}, system) {
609
+ const key = openRouterKey();
610
+ if (!key) return null;
611
+ try {
612
+ const response = await fetch("https://openrouter.ai/api/v1/chat/completions", {
613
+ method: "POST",
614
+ headers: { "content-type": "application/json", authorization: `Bearer ${key}` },
615
+ body: JSON.stringify({
616
+ model,
617
+ messages: [...system ? [{ role: "system", content: system }] : [], { role: "user", content: parts }],
618
+ usage: { include: true },
619
+ ...reasoning ? { reasoning } : {},
620
+ ...extra
621
+ }),
622
+ signal: AbortSignal.timeout(timeoutMs)
623
+ });
624
+ if (!response.ok) return null;
625
+ const body = await response.json();
626
+ const usage = usageFrom(model, body);
627
+ if (usage) spent(usage);
628
+ const text = body.choices?.[0]?.message?.content;
629
+ return text ? parseReviewJson(text) : null;
630
+ } catch {
631
+ return null;
632
+ }
633
+ }
634
+ async function askVideo(video, prompt, spent) {
635
+ let bytes;
636
+ try {
637
+ bytes = await readFile(video);
638
+ } catch {
639
+ return null;
640
+ }
641
+ if (bytes.byteLength > WATCH_MAX_BYTES) return null;
642
+ return await askGateway(
643
+ RENDER_WATCH_MODEL,
644
+ [
645
+ { type: "text", text: prompt },
646
+ { type: "video_url", video_url: { url: `data:video/mp4;base64,${bytes.toString("base64")}` } }
647
+ ],
648
+ 6e5,
649
+ spent
650
+ );
651
+ }
652
+ async function ask(images, prompt, spent) {
653
+ return await askGateway(
654
+ RENDER_REVIEW_MODEL,
655
+ [
656
+ { type: "text", text: prompt },
657
+ ...images.map(
658
+ (b64) => ({ type: "image_url", image_url: { url: `data:image/jpeg;base64,${b64}` } })
659
+ )
660
+ ],
661
+ 18e4,
662
+ spent
663
+ );
664
+ }
665
+ async function askAboutStills(images, prompt, onSpend) {
666
+ if (!hasOpenRouterKey()) return null;
667
+ return await ask(images, prompt, (usage) => onSpend?.(usage));
668
+ }
669
+ async function askAboutImages(model, images, prompt, onSpend, timeoutMs = 6e4, reasoning, system, request = {}) {
670
+ if (!hasOpenRouterKey()) return null;
671
+ return await askGateway(
672
+ model,
673
+ [
674
+ { type: "text", text: prompt },
675
+ ...images.map(
676
+ (b64) => ({ type: "image_url", image_url: { url: `data:image/jpeg;base64,${b64}` } })
677
+ )
678
+ ],
679
+ timeoutMs,
680
+ (usage) => onSpend?.(usage),
681
+ reasoning,
682
+ request,
683
+ system
684
+ );
685
+ }
686
+ async function askAboutText(model, prompt, onSpend, opts = {}) {
687
+ if (!hasOpenRouterKey()) return null;
688
+ return await askGateway(
689
+ model,
690
+ [{ type: "text", text: prompt }],
691
+ opts.timeoutMs ?? 6e4,
692
+ (usage) => onSpend?.(usage),
693
+ void 0,
694
+ opts.request
695
+ );
696
+ }
697
+ async function reviewRenderedVideo(opts) {
698
+ if (!hasOpenRouterKey()) return null;
699
+ const duration = await videoDuration(opts.video);
700
+ if (duration === null) return null;
701
+ const spent = (usage) => opts.onSpend?.(usage);
702
+ const dir = await mkdtemp(path.join(tmpdir(), "baker-review-"));
703
+ try {
704
+ const grabbed = [];
705
+ for (const [i, at] of reviewFrameTimes(duration, RENDER_REVIEW_FRAMES).entries()) {
706
+ const out = path.join(dir, `f${String(i).padStart(2, "0")}.jpg`);
707
+ try {
708
+ await execFileAsync("ffmpeg", buildFrameGrabArgs(opts.video, at, out), { timeout: 3e4 });
709
+ grabbed.push({ at, image: await readFile(out, { encoding: "base64" }) });
710
+ } catch {
711
+ }
712
+ }
713
+ if (grabbed.length === 0) return null;
714
+ const reel = await ask(
715
+ grabbed.map((f) => f.image),
716
+ buildReelReviewPrompt({ subject: opts.subject, script: opts.script }),
717
+ spent
718
+ );
719
+ const framePrompt = buildFrameReviewPrompt({ subject: opts.subject });
720
+ const perFrame = await mapWithLimit(grabbed, REVIEW_CONCURRENCY, async (f) => ({
721
+ at: f.at,
722
+ json: await ask([f.image], framePrompt, spent)
723
+ }));
724
+ const unread = perFrame.filter((f) => f.json === null).length;
725
+ if (unread === perFrame.length && reel === null) return null;
726
+ const watch = await askVideo(
727
+ opts.video,
728
+ buildWatchReviewPrompt({
729
+ market: opts.market,
730
+ script: opts.script,
731
+ ...opts.rules ? { rules: opts.rules } : {}
732
+ }),
733
+ spent
734
+ );
735
+ const ruled = await framesAgainstRules(grabbed, opts.checkStills);
736
+ const fidelity = opts.brief?.trim() ? await askVideo(opts.video, buildFidelityPrompt(opts.brief), spent) : null;
737
+ const findings = [
738
+ ...classifyFrameFindings(perFrame, opts.windows ?? []),
739
+ ...classifyReelFindings(reel),
740
+ ...classifyWatchFindings(watch),
741
+ ...classifyWatchDefects(watch, opts.windows ?? []),
742
+ ...classifyWatchRules(watch, opts.rules ?? [], opts.windows ?? []),
743
+ ...ruled,
744
+ ...classifyFidelityFindings(fidelity),
745
+ // Measured, not judged: a model looking at frames cannot hear the mix.
746
+ ...await measureAudio(opts.video)
747
+ ];
748
+ findings.push(
749
+ ...unreviewedNotes({
750
+ watched: watch !== null,
751
+ fidelityAsked: Boolean(opts.brief?.trim()),
752
+ fidelityRead: fidelity !== null,
753
+ unread,
754
+ frames: perFrame.length
755
+ })
756
+ );
757
+ return findings;
758
+ } finally {
759
+ await rm(dir, { recursive: true, force: true });
760
+ }
761
+ }
762
+ async function reviewContextBeside(canvasPath) {
763
+ const raw = await readFile(path.join(path.dirname(canvasPath), "prompt.json"), "utf-8").catch(() => null);
764
+ if (!raw) return {};
765
+ try {
766
+ const blueprint = JSON.parse(raw);
767
+ const global = blueprint.global ?? {};
768
+ const text = (value) => typeof value === "string" && value.trim() ? value.trim() : void 0;
769
+ return {
770
+ ...text(global.market) ? { market: text(global.market) } : {},
771
+ ...text(global.branding?.name) ? { subject: text(global.branding?.name) } : {},
772
+ ...text(global.transcript) ? { script: text(global.transcript) } : {}
773
+ };
774
+ } catch {
775
+ return {};
776
+ }
777
+ }
778
+ async function sceneWindowsBeside(canvasPath) {
779
+ const dir = path.join(path.dirname(canvasPath), "scenes");
780
+ const files = await readdir(dir).catch(() => null);
781
+ if (!files) return [];
782
+ const windows = [];
783
+ for (const name of files.filter((f) => f.endsWith(".json")).sort()) {
784
+ const raw = await readFile(path.join(dir, name), "utf-8").catch(() => null);
785
+ if (!raw) continue;
786
+ try {
787
+ const scene = JSON.parse(raw);
788
+ if (typeof scene.start_s === "number" && typeof scene.end_s === "number") {
789
+ windows.push({ file: `scenes/${name}`, startS: scene.start_s, endS: scene.end_s });
790
+ }
791
+ } catch {
792
+ }
793
+ }
794
+ return windows;
795
+ }
796
+ function unreviewedNotes(state) {
797
+ const notes = [];
798
+ if (!state.watched) {
799
+ notes.push({
800
+ severity: "warning",
801
+ what: "Nobody watched the finished video end to end \u2014 the accent, the voice against the mouth and the cuts are unchecked. The frame-by-frame review still ran."
802
+ });
803
+ }
804
+ if (state.fidelityAsked && !state.fidelityRead) {
805
+ notes.push({
806
+ severity: "warning",
807
+ what: "The video was not checked against what you asked for \u2014 only against whether it is well made. A well-made ad of the wrong brief passes every other check here."
808
+ });
809
+ }
810
+ if (state.unread > 0) {
811
+ notes.push({
812
+ severity: "warning",
813
+ what: `${state.unread} of ${state.frames} frames could not be reviewed \u2014 that part of the video is unchecked.`
814
+ });
815
+ }
816
+ return notes;
817
+ }
818
+
819
+ export {
820
+ selectRules,
821
+ rulesDigest,
822
+ rulesBlock,
823
+ withoutRulesDeep,
824
+ briefRules,
825
+ reviewedRules,
826
+ buildRulesReviewPrompt,
827
+ rulesSystem,
828
+ classifyRuleFindings,
829
+ RENDER_REVIEW_MODEL,
830
+ STATIC_REVIEW_ITEMS,
831
+ FINDING_ELEMENTS,
832
+ FINDING_DEFECTS,
833
+ FRAME_EDGES,
834
+ videoPathFromOutput,
835
+ RENDER_REVIEW_UNAVAILABLE,
836
+ askAboutStills,
837
+ askAboutImages,
838
+ askAboutText,
839
+ reviewRenderedVideo,
840
+ reviewContextBeside,
841
+ sceneWindowsBeside
842
+ };
843
+ //# sourceMappingURL=chunk-B3CDNANO.js.map