@koda-sl/baker-cli 0.534.0-dev.911a80433 → 0.534.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (865) hide show
  1. package/dist/account-2UXZ6CZJ.js +82 -0
  2. package/dist/account-OWMJG4IW.js +82 -0
  3. package/dist/account-reads-W2GAN335.js +219 -0
  4. package/dist/account-users-WLTQNPL7.js +64 -0
  5. package/dist/account-writes-TNADUSHW.js +68 -0
  6. package/dist/accounts-D3SQTZB7.js +701 -0
  7. package/dist/accounts-HRQFOTBJ.js +80 -0
  8. package/dist/actions-VJXED57L.js +55 -0
  9. package/dist/activecampaign-TNJIQA4C.js +938 -0
  10. package/dist/ad-group-writes-7BGCZA3M.js +172 -0
  11. package/dist/ad-groups-A6GU6EW5.js +70 -0
  12. package/dist/ad-writes-CEMCUDU2.js +176 -0
  13. package/dist/add-DRTKSLEQ.js +107 -0
  14. package/dist/add-LBHISK44.js +305 -0
  15. package/dist/ads-4EVKVAMR.js +48 -0
  16. package/dist/ads-OY455VCX.js +79 -0
  17. package/dist/advertisers-G6DZRBOK.js +123 -0
  18. package/dist/analytics-ANG42PKM.js +2437 -0
  19. package/dist/analytics-UI4AKUSF.js +447 -0
  20. package/dist/animate-KCSICY2N.js +480 -0
  21. package/dist/assign-5DFH6HBV.js +80 -0
  22. package/dist/audience-size-P6WIXOB3.js +76 -0
  23. package/dist/audiences-4ASLCNOF.js +280 -0
  24. package/dist/audit-LA4BSLXV.js +154 -0
  25. package/dist/autocomplete-XMG6E7TG.js +114 -0
  26. package/dist/avatars-4IFN4GZD.js +38 -0
  27. package/dist/bid-pricing-JEOG2Q3L.js +103 -0
  28. package/dist/brand-C6HUAK74.js +22 -0
  29. package/dist/brief-5BCPPBU3.js +543 -0
  30. package/dist/campaign-groups-IYQZSICZ.js +99 -0
  31. package/dist/campaign-writes-CVOOPZ35.js +176 -0
  32. package/dist/campaign-writes-YXI5UOPH.js +168 -0
  33. package/dist/campaigns-FW4WVD25.js +113 -0
  34. package/dist/campaigns-QMFHNG3N.js +111 -0
  35. package/dist/campaigns-TX37WHVL.js +78 -0
  36. package/dist/canvas-U7MZXZKR.js +46 -0
  37. package/dist/capabilities-7643Y2HU.js +147 -0
  38. package/dist/catalog-FLWVVX2U.js +66 -0
  39. package/dist/catalogs-YNIUP2AH.js +130 -0
  40. package/dist/changes-QUKBZVB3.js +135 -0
  41. package/dist/chatgpt-TIUBMATF.js +47 -0
  42. package/dist/chats-BGLAG4Q7.js +279 -0
  43. package/dist/check-MN5ZQ7RX.js +107 -0
  44. package/dist/chunk-2UJ5ABI6.js +604 -0
  45. package/dist/chunk-2XRFWXSA.js +103 -0
  46. package/dist/chunk-3OSBCYKA.js +8954 -0
  47. package/dist/chunk-3QQHPRRB.js +89 -0
  48. package/dist/chunk-3WTCMBDC.js +1518 -0
  49. package/dist/chunk-44ZRCSR7.js +228 -0
  50. package/dist/chunk-46YLDIQG.js +4254 -0
  51. package/dist/chunk-46YLDIQG.js.map +1 -0
  52. package/dist/chunk-4QITYZUH.js +163 -0
  53. package/dist/chunk-4XNF52NU.js +429 -0
  54. package/dist/chunk-4Y7IJ2PU.js +5368 -0
  55. package/dist/chunk-53BTYIMJ.js +91 -0
  56. package/dist/chunk-56OEYUJU.js +61 -0
  57. package/dist/chunk-5N47LB7X.js +285 -0
  58. package/dist/chunk-5UBFYJHF.js +170 -0
  59. package/dist/chunk-6PMJU7IU.js +169 -0
  60. package/dist/chunk-7I65KXU7.js +98 -0
  61. package/dist/chunk-BXUUKRMM.js +46 -0
  62. package/dist/chunk-BZTAEZLT.js +51 -0
  63. package/dist/chunk-CJQ77HO5.js +1646 -0
  64. package/dist/chunk-CKTVRR3D.js +57 -0
  65. package/dist/chunk-COS3TPHX.js +377 -0
  66. package/dist/chunk-CQ6HBFOB.js +23 -0
  67. package/dist/chunk-DWW5QSUF.js +638 -0
  68. package/dist/chunk-ENUCJ6AO.js +148 -0
  69. package/dist/chunk-ES3PWGS3.js +438 -0
  70. package/dist/chunk-FJDSL4O5.js +910 -0
  71. package/dist/chunk-FSTDWVXG.js +455 -0
  72. package/dist/chunk-FUR7R4D7.js +249 -0
  73. package/dist/chunk-HTT7RBRC.js +846 -0
  74. package/dist/chunk-HVJJEQDQ.js +7234 -0
  75. package/dist/chunk-I3LRC33M.js +5471 -0
  76. package/dist/chunk-I7AYMJZA.js +783 -0
  77. package/dist/chunk-IU5K42Q3.js +831 -0
  78. package/dist/chunk-JAC6JVCI.js +26 -0
  79. package/dist/chunk-JEUFRIYS.js +297 -0
  80. package/dist/chunk-KITVYLEX.js +843 -0
  81. package/dist/chunk-L4LNS54Y.js +138 -0
  82. package/dist/chunk-L4LNS54Y.js.map +1 -0
  83. package/dist/chunk-L5VVKIMB.js +203 -0
  84. package/dist/chunk-M2MJ52HS.js +676 -0
  85. package/dist/chunk-MBSAHNMJ.js +547 -0
  86. package/dist/chunk-MCJ5I5LR.js +3187 -0
  87. package/dist/chunk-MCJ5I5LR.js.map +1 -0
  88. package/dist/chunk-MHZIOOT5.js +197 -0
  89. package/dist/chunk-MIRPLAFD.js +1902 -0
  90. package/dist/chunk-MNOCC5AL.js +207 -0
  91. package/dist/chunk-MZPS46OR.js +76 -0
  92. package/dist/chunk-NZUMNTAT.js +3510 -0
  93. package/dist/chunk-OXLB5M5M.js +592 -0
  94. package/dist/chunk-OYNBUT5X.js +479 -0
  95. package/dist/chunk-PIAG4UJT.js +274 -0
  96. package/dist/chunk-PV2JVXFM.js +66 -0
  97. package/dist/chunk-QKNPF6ZD.js +24026 -0
  98. package/dist/chunk-QKNPF6ZD.js.map +1 -0
  99. package/dist/chunk-QOBA6PHB.js +131 -0
  100. package/dist/chunk-R6WEPF63.js +19 -0
  101. package/dist/chunk-RQB4XLSF.js +2209 -0
  102. package/dist/chunk-RRC7F3QQ.js +1919 -0
  103. package/dist/chunk-S6VFDNSQ.js +63 -0
  104. package/dist/chunk-SF52UGHZ.js +225 -0
  105. package/dist/chunk-SG2TDQEE.js +150 -0
  106. package/dist/chunk-SWFZJROM.js +64 -0
  107. package/dist/chunk-T33M3PK7.js +930 -0
  108. package/dist/chunk-TNKKK7XD.js +224 -0
  109. package/dist/chunk-TNOOWNN7.js +91 -0
  110. package/dist/chunk-UAB4CYBH.js +191 -0
  111. package/dist/chunk-UBDY5RE4.js +387 -0
  112. package/dist/chunk-UCNIJ2IW.js +494 -0
  113. package/dist/chunk-UFUYTWEF.js +344 -0
  114. package/dist/chunk-UROKPFIS.js +142 -0
  115. package/dist/chunk-VP4PO7FW.js +392 -0
  116. package/dist/chunk-WRTG3KXU.js +156 -0
  117. package/dist/chunk-WWLZ5RRU.js +319 -0
  118. package/dist/chunk-YE4RCEEJ.js +167 -0
  119. package/dist/chunk-YO54MA7R.js +275 -0
  120. package/dist/claim-2JNNC66N.js +200 -0
  121. package/dist/cli.js +32 -32
  122. package/dist/companies-4NJU5TLU.js +198 -0
  123. package/dist/company-QOYWS4W6.js +308 -0
  124. package/dist/complete-7FX2K3PV.js +84 -0
  125. package/dist/connect-H2HSPMRT.js +45 -0
  126. package/dist/conversation-4M7YMQOL.js +96 -0
  127. package/dist/conversion-report-G5JMZNYV.js +127 -0
  128. package/dist/conversion-upload-command-43PZFYT7.js +439 -0
  129. package/dist/conversion-writes-JQQCCGPO.js +122 -0
  130. package/dist/conversions-UO4CQNF6.js +78 -0
  131. package/dist/conversions-Z7FW7CFT.js +140 -0
  132. package/dist/create-4SFO4AQZ.js +62 -0
  133. package/dist/create-D5MA64KL.js +239 -0
  134. package/dist/create-GJ4ZMY3A.js +210 -0
  135. package/dist/create-QVY6DSYM.js +135 -0
  136. package/dist/creatives-NTAKM5TG.js +58 -0
  137. package/dist/creatives-R3XILT6D.js +223 -0
  138. package/dist/credentials-EQRB6XGZ.js +290 -0
  139. package/dist/critique-4YRRUNAU.js +1451 -0
  140. package/dist/critique-JCU2ATT6.js +232 -0
  141. package/dist/crm-AF6XOOSF.js +323 -0
  142. package/dist/crm-LSMFGR6R.js +227 -0
  143. package/dist/currency-4KNOOZUU.js +88 -0
  144. package/dist/customers-MM3VIZNA.js +59 -0
  145. package/dist/delete-CO2YBPTI.js +67 -0
  146. package/dist/delete-D7HTW32U.js +57 -0
  147. package/dist/delete-JUPBYK3H.js +69 -0
  148. package/dist/demographics-DK5JDY6M.js +141 -0
  149. package/dist/discard-DEJOM62Y.js +69 -0
  150. package/dist/discover-U6YLVLTF.js +172 -0
  151. package/dist/domain-MBOMV3CQ.js +101 -0
  152. package/dist/download-KN2I55SA.js +172 -0
  153. package/dist/draft-BMNBT37B.js +283 -0
  154. package/dist/draft-CGPVRRKC.js +335 -0
  155. package/dist/draft-F74OIT5O.js +310 -0
  156. package/dist/draft-FIEZWBIX.js +308 -0
  157. package/dist/draft-HZ5T6NOI.js +220 -0
  158. package/dist/engine/index.js +8 -8
  159. package/dist/experiments-YNJZCMQM.js +236 -0
  160. package/dist/facets-Y4OACBMC.js +117 -0
  161. package/dist/feedback-I5FZZAJR.js +115 -0
  162. package/dist/feedback-record-U2O24ITU.js +269 -0
  163. package/dist/fetch-XU6QVWMS.js +179 -0
  164. package/dist/fit-IHUUFCGI.js +65 -0
  165. package/dist/flows-WSCIMXQX.js +250 -0
  166. package/dist/fonts-3QW7EDHE.js +39 -0
  167. package/dist/forecast-2WVHMSZP.js +169 -0
  168. package/dist/forecast-F25LSCM5.js +121 -0
  169. package/dist/funnel-35DYDBJH.js +397 -0
  170. package/dist/generate-Z7AROAES.js +263 -0
  171. package/dist/get-4CAX33L2.js +59 -0
  172. package/dist/get-N7X75ZJO.js +82 -0
  173. package/dist/google-M6XR7YGT.js +3267 -0
  174. package/dist/google-ads-NCSMNNND.js +198 -0
  175. package/dist/gsc-GQFI6I2D.js +30 -0
  176. package/dist/history-FGQ2H7XH.js +69 -0
  177. package/dist/history-LTOFKBMJ.js +136 -0
  178. package/dist/history-VJ254UXF.js +102 -0
  179. package/dist/hubspot-W2NM75YK.js +782 -0
  180. package/dist/ideas-54KFDNDM.js +45 -0
  181. package/dist/images-JOEVCCP6.js +92 -0
  182. package/dist/ingest-6R7XUL46.js +27 -0
  183. package/dist/ingest-VCIH5QDR.js +123 -0
  184. package/dist/insights-UXUUOQB7.js +132 -0
  185. package/dist/inspect-MGOR77FP.js +192 -0
  186. package/dist/intent-FZWPRUCI.js +95 -0
  187. package/dist/keyword-gap-4ECYPWXJ.js +130 -0
  188. package/dist/keyword-metrics-SBIRN5KC.js +200 -0
  189. package/dist/keywords-for-site-TLNPJHT2.js +131 -0
  190. package/dist/landing-ZICSVWKF.js +28 -0
  191. package/dist/languages-VNZQ5USL.js +40 -0
  192. package/dist/leads-JUQFNK55.js +115 -0
  193. package/dist/learn-A6BT25LQ.js +207 -0
  194. package/dist/line-item-writes-NW7A6HNH.js +211 -0
  195. package/dist/line-items-OAG3QMDE.js +107 -0
  196. package/dist/link-4VJ7FSOA.js +67 -0
  197. package/dist/linkedin-CKOWKD4M.js +1328 -0
  198. package/dist/linkedin-person-C22IDK7S.js +139 -0
  199. package/dist/list-2DKLO6AO.js +67 -0
  200. package/dist/list-CDDXHMJQ.js +306 -0
  201. package/dist/list-ZORO7PFP.js +154 -0
  202. package/dist/locations-4RDUHKVR.js +69 -0
  203. package/dist/locations-HATR6PSC.js +40 -0
  204. package/dist/log-OSJHKHPV.js +95 -0
  205. package/dist/make-JPXGF44U.js +1367 -0
  206. package/dist/map-PMGZDXAN.js +436 -0
  207. package/dist/mcp-MOOOTRYG.js +729 -0
  208. package/dist/media-sources-5OYCKQ5J.js +35 -0
  209. package/dist/members-QG5IP5HM.js +47 -0
  210. package/dist/metrics-R4YS2JL6.js +152 -0
  211. package/dist/models-RJMZV5SH.js +155 -0
  212. package/dist/normalize-LATTXSL3.js +144 -0
  213. package/dist/options-KALH5TB7.js +125 -0
  214. package/dist/organization-AGCF7DUJ.js +949 -0
  215. package/dist/performance-SITVZQWX.js +5565 -0
  216. package/dist/performance-YNXPUSGJ.js +27 -0
  217. package/dist/pixels-TYJVE377.js +62 -0
  218. package/dist/promoted-tweet-writes-NAHPJ3VD.js +183 -0
  219. package/dist/promoted-tweets-2XQ4MWAC.js +119 -0
  220. package/dist/publish-UITYPUBD.js +344 -0
  221. package/dist/query-JOYRNM4O.js +231 -0
  222. package/dist/query-JOYRNM4O.js.map +1 -0
  223. package/dist/query-RE7NB2BK.js +62 -0
  224. package/dist/reddit-6XIARCTX.js +29 -0
  225. package/dist/refresh-6UCN7PDX.js +97 -0
  226. package/dist/release-IN65L23O.js +63 -0
  227. package/dist/relevant-pages-W7IM6YQW.js +99 -0
  228. package/dist/remove-X3XWVE2M.js +53 -0
  229. package/dist/reopen-RMMQ55CH.js +66 -0
  230. package/dist/rerun-HCGLAUYW.js +96 -0
  231. package/dist/research-LZBPCXIW.js +72 -0
  232. package/dist/research-W5KUOBXZ.js +265 -0
  233. package/dist/reset-MUWXTLIB.js +57 -0
  234. package/dist/reset-VQNKXFAF.js +57 -0
  235. package/dist/resolve-DMGWLMTC.js +124 -0
  236. package/dist/retry-YI4YLYTQ.js +63 -0
  237. package/dist/retry-ZQUJPKQH.js +65 -0
  238. package/dist/revenue-6YZAOMF6.js +91 -0
  239. package/dist/rules-FHVZEN4D.js +99 -0
  240. package/dist/rules-add-7X46VTIJ.js +465 -0
  241. package/dist/run-2CSG6NIY.js +71 -0
  242. package/dist/run-TA6HYFKZ.js +69 -0
  243. package/dist/scaffold-ad-AQK4PX7C.js +1513 -0
  244. package/dist/scaffold-static-ad-ORMMKUWY.js +1011 -0
  245. package/dist/scaffold-video-525OYZYI.js +885 -0
  246. package/dist/schedule-TMTLYULK.js +64 -0
  247. package/dist/scheduled-agents-TS3WLRCM.js +55 -0
  248. package/dist/schema-6S5ZEPBS.js +135 -0
  249. package/dist/search-LTUUAGZG.js +177 -0
  250. package/dist/select-XAC7G4ZT.js +110 -0
  251. package/dist/set-prompt-H3UEDJWS.js +199 -0
  252. package/dist/setup-links-6ANVKZCE.js +144 -0
  253. package/dist/shopify-6ISTKZCA.js +3958 -0
  254. package/dist/site-OIV55MGO.js +180 -0
  255. package/dist/sitemaps-VYLDUI4L.js +77 -0
  256. package/dist/sitemaps-VYLDUI4L.js.map +1 -0
  257. package/dist/sites-HM7ZCGCZ.js +97 -0
  258. package/dist/sites-HM7ZCGCZ.js.map +1 -0
  259. package/dist/sources-5L4S5BQV.js +457 -0
  260. package/dist/sources-GLJWZFHZ.js +30 -0
  261. package/dist/stale-TPLB2P4E.js +90 -0
  262. package/dist/status-TD7ISXC5.js +65 -0
  263. package/dist/studio-IDNM42JP.js +49 -0
  264. package/dist/sync-PVIFUXX3.js +57 -0
  265. package/dist/sync-definition-K5TJORL5.js +70 -0
  266. package/dist/tags-3HB7N5WB.js +23 -0
  267. package/dist/tags-DG3XQ4SF.js +227 -0
  268. package/dist/tags-T4EN6XYE.js +23 -0
  269. package/dist/tags-T6THTVNP.js +26 -0
  270. package/dist/tags-XY6R2VJ6.js +23 -0
  271. package/dist/targeting-criteria-CL472KJO.js +113 -0
  272. package/dist/targets-7AQMSO6H.js +106 -0
  273. package/dist/testimonials-4QWVSEPU.js +32 -0
  274. package/dist/themes-ZTM4OVGK.js +95 -0
  275. package/dist/top-companies-PMFYOAFK.js +111 -0
  276. package/dist/transcript-YWFYNFWX.js +165 -0
  277. package/dist/translate-R2DXDXUY.js +603 -0
  278. package/dist/triggers-JKXISN45.js +144 -0
  279. package/dist/unlink-IUAFDLBT.js +70 -0
  280. package/dist/unstage-ZYT5RNLK.js +88 -0
  281. package/dist/update-23Q4T2J5.js +155 -0
  282. package/dist/update-74VME6PN.js +66 -0
  283. package/dist/update-O22DAZVX.js +192 -0
  284. package/dist/update-QAWK3O7L.js +101 -0
  285. package/dist/upload-WASRCKS4.js +130 -0
  286. package/dist/url-options-M7RX2TD4.js +131 -0
  287. package/dist/url-params-E5ON6W2N.js +101 -0
  288. package/dist/validate-FGETFHYN.js +125 -0
  289. package/dist/videos-SS2Y6FJF.js +41 -0
  290. package/dist/viewer-check-CWS6OVM7.js +83 -0
  291. package/dist/web-HT22JFQR.js +143 -0
  292. package/dist/winning-ads-FXTP4PWZ.js +86 -0
  293. package/dist/write-commands-5YVQKO7E.js +1525 -0
  294. package/dist/x-KEMAY75C.js +47 -0
  295. package/package.json +1 -1
  296. package/dist/account-BRRFMDXZ.js +0 -82
  297. package/dist/account-MQI7EZBH.js +0 -82
  298. package/dist/account-reads-K6YDAOHX.js +0 -219
  299. package/dist/account-users-QS54ZEOD.js +0 -64
  300. package/dist/account-writes-PGGGP26M.js +0 -68
  301. package/dist/accounts-H3U7LARM.js +0 -80
  302. package/dist/accounts-IW62WBX5.js +0 -701
  303. package/dist/actions-2CUQFZNA.js +0 -55
  304. package/dist/activecampaign-WAMDVBUO.js +0 -938
  305. package/dist/ad-group-writes-ROUU6BHU.js +0 -172
  306. package/dist/ad-groups-Y2BSRLIN.js +0 -70
  307. package/dist/ad-writes-NF4LCGVP.js +0 -176
  308. package/dist/add-4P3CUHAN.js +0 -305
  309. package/dist/add-UHWRBSFE.js +0 -107
  310. package/dist/ads-CPMX3L4A.js +0 -79
  311. package/dist/ads-TDN7OYSU.js +0 -48
  312. package/dist/advertisers-6CHV5N2V.js +0 -123
  313. package/dist/analytics-4GTUW42V.js +0 -2437
  314. package/dist/analytics-MV2RQ6KR.js +0 -447
  315. package/dist/animate-EOSLSA7F.js +0 -480
  316. package/dist/assign-RN5DGDS2.js +0 -80
  317. package/dist/audience-size-7DYMCXDM.js +0 -76
  318. package/dist/audiences-VMGB2JZG.js +0 -280
  319. package/dist/audit-7U7G2JKS.js +0 -154
  320. package/dist/autocomplete-E6YHJ3HH.js +0 -114
  321. package/dist/avatars-6JHVTSXH.js +0 -38
  322. package/dist/bid-pricing-J3OJK4J3.js +0 -103
  323. package/dist/brand-3EAQFDYN.js +0 -22
  324. package/dist/brief-ADGCGC3H.js +0 -543
  325. package/dist/campaign-groups-GN7D5UXE.js +0 -99
  326. package/dist/campaign-writes-HKWI6GYU.js +0 -168
  327. package/dist/campaign-writes-UORRIIWY.js +0 -176
  328. package/dist/campaigns-5I76AV7F.js +0 -113
  329. package/dist/campaigns-BEXDLBT3.js +0 -111
  330. package/dist/campaigns-GONROKTU.js +0 -78
  331. package/dist/canvas-CHV34G62.js +0 -46
  332. package/dist/capabilities-VKBIQ2BR.js +0 -147
  333. package/dist/catalog-VXANSX2O.js +0 -66
  334. package/dist/catalogs-LXEM7NNC.js +0 -130
  335. package/dist/changes-4OYC4NMW.js +0 -135
  336. package/dist/chatgpt-XV6CVKLN.js +0 -47
  337. package/dist/chats-W35ZPZEW.js +0 -279
  338. package/dist/check-3D63D4ZT.js +0 -107
  339. package/dist/chunk-2PC26XRF.js +0 -592
  340. package/dist/chunk-2UZHRLLO.js +0 -148
  341. package/dist/chunk-45EERHDB.js +0 -783
  342. package/dist/chunk-55B4AJY3.js +0 -249
  343. package/dist/chunk-56UWXQEN.js +0 -392
  344. package/dist/chunk-5G5QFFJY.js +0 -275
  345. package/dist/chunk-5GHKZLID.js +0 -438
  346. package/dist/chunk-5HGAO4ZI.js +0 -89
  347. package/dist/chunk-5YN53OAA.js +0 -61
  348. package/dist/chunk-6CCEEVXJ.js +0 -285
  349. package/dist/chunk-6HGLQJ6A.js +0 -638
  350. package/dist/chunk-6OIKNJ7G.js +0 -26
  351. package/dist/chunk-6OXENBTF.js +0 -74
  352. package/dist/chunk-6OXENBTF.js.map +0 -1
  353. package/dist/chunk-6QGBBX7F.js +0 -46
  354. package/dist/chunk-6RTZPBAT.js +0 -19
  355. package/dist/chunk-7MY3QHGA.js +0 -203
  356. package/dist/chunk-AH6TDWYS.js +0 -3510
  357. package/dist/chunk-BKOUVU6X.js +0 -547
  358. package/dist/chunk-CBQPKCFE.js +0 -170
  359. package/dist/chunk-CWZ2ODJQ.js +0 -57
  360. package/dist/chunk-DBPPTM3W.js +0 -24026
  361. package/dist/chunk-DBPPTM3W.js.map +0 -1
  362. package/dist/chunk-DGZYZWMK.js +0 -843
  363. package/dist/chunk-DMA67YC3.js +0 -344
  364. package/dist/chunk-DT3V5EGL.js +0 -2209
  365. package/dist/chunk-DYOUJERF.js +0 -7234
  366. package/dist/chunk-E3FMS5DA.js +0 -297
  367. package/dist/chunk-EIRGJD3Q.js +0 -167
  368. package/dist/chunk-F3CZFUXZ.js +0 -3187
  369. package/dist/chunk-F3CZFUXZ.js.map +0 -1
  370. package/dist/chunk-G3MEYGXC.js +0 -1518
  371. package/dist/chunk-G3MN4HIX.js +0 -831
  372. package/dist/chunk-G53CUQZV.js +0 -207
  373. package/dist/chunk-GPZVYXJZ.js +0 -455
  374. package/dist/chunk-HGHVNUJT.js +0 -156
  375. package/dist/chunk-IZABTTW5.js +0 -228
  376. package/dist/chunk-J3HA4RFY.js +0 -51
  377. package/dist/chunk-JGOYO7I2.js +0 -103
  378. package/dist/chunk-JUF6Q5X7.js +0 -8954
  379. package/dist/chunk-KAAYVKBH.js +0 -479
  380. package/dist/chunk-KUM36NSV.js +0 -429
  381. package/dist/chunk-MHSVWQK6.js +0 -91
  382. package/dist/chunk-MTV2RSGY.js +0 -63
  383. package/dist/chunk-MUS2UTWU.js +0 -4254
  384. package/dist/chunk-MUS2UTWU.js.map +0 -1
  385. package/dist/chunk-N4BK6OKX.js +0 -91
  386. package/dist/chunk-NP3FPCPN.js +0 -377
  387. package/dist/chunk-OAXQPLTG.js +0 -604
  388. package/dist/chunk-OI2CKYAQ.js +0 -846
  389. package/dist/chunk-QUYDMAQN.js +0 -169
  390. package/dist/chunk-RIA5RXPL.js +0 -387
  391. package/dist/chunk-S556LOAP.js +0 -930
  392. package/dist/chunk-SIKCVWM3.js +0 -76
  393. package/dist/chunk-SOS4QFLE.js +0 -5471
  394. package/dist/chunk-T65Y7N7H.js +0 -225
  395. package/dist/chunk-T75WL56Z.js +0 -224
  396. package/dist/chunk-TGCDXZ5X.js +0 -910
  397. package/dist/chunk-TOUF5ME6.js +0 -1646
  398. package/dist/chunk-TWCS6FSC.js +0 -191
  399. package/dist/chunk-UPXPBA4W.js +0 -676
  400. package/dist/chunk-URMAEVZO.js +0 -150
  401. package/dist/chunk-UUWUJ64R.js +0 -197
  402. package/dist/chunk-VGUGFRWF.js +0 -494
  403. package/dist/chunk-VYJLS64A.js +0 -1902
  404. package/dist/chunk-WEQZ563U.js +0 -319
  405. package/dist/chunk-WUCTGDV7.js +0 -163
  406. package/dist/chunk-XCRYRVKK.js +0 -5368
  407. package/dist/chunk-XJ5TX772.js +0 -131
  408. package/dist/chunk-XPIBSDG4.js +0 -274
  409. package/dist/chunk-Y6MLSN6W.js +0 -1919
  410. package/dist/chunk-YBFZJ5EB.js +0 -66
  411. package/dist/chunk-YR3OPPUE.js +0 -142
  412. package/dist/chunk-YXQFCQX2.js +0 -64
  413. package/dist/chunk-Z3Y67AH6.js +0 -98
  414. package/dist/chunk-ZKRRYVDG.js +0 -23
  415. package/dist/claim-DWGPEVJN.js +0 -200
  416. package/dist/companies-3VT7OJAA.js +0 -198
  417. package/dist/company-XEPW45AT.js +0 -308
  418. package/dist/complete-AEX34ICU.js +0 -84
  419. package/dist/connect-TF4FCXDV.js +0 -45
  420. package/dist/conversation-6WWZMPAB.js +0 -96
  421. package/dist/conversion-report-I6R2FDCD.js +0 -127
  422. package/dist/conversion-upload-command-QD6MGLY4.js +0 -439
  423. package/dist/conversion-writes-H2JOAORW.js +0 -122
  424. package/dist/conversions-D46PQRWF.js +0 -140
  425. package/dist/conversions-WGW43FUE.js +0 -78
  426. package/dist/create-7WV7XWZV.js +0 -62
  427. package/dist/create-OUZZLPQK.js +0 -210
  428. package/dist/create-QRT6O5PN.js +0 -135
  429. package/dist/create-WSEYNFTP.js +0 -239
  430. package/dist/creatives-BSZY7VDQ.js +0 -223
  431. package/dist/creatives-DBDFDHX7.js +0 -58
  432. package/dist/credentials-P7GQYIE3.js +0 -290
  433. package/dist/critique-6F4FWQN5.js +0 -232
  434. package/dist/critique-X2YDOMON.js +0 -1451
  435. package/dist/crm-O6YG6777.js +0 -227
  436. package/dist/crm-VNAUSVC5.js +0 -323
  437. package/dist/currency-UVT3HEZT.js +0 -88
  438. package/dist/customers-VJ3TXILQ.js +0 -59
  439. package/dist/delete-3H377GOM.js +0 -67
  440. package/dist/delete-EH3XL26Z.js +0 -57
  441. package/dist/delete-QYSOAVP4.js +0 -69
  442. package/dist/demographics-GKJZ5PV2.js +0 -141
  443. package/dist/discard-46RALLBO.js +0 -69
  444. package/dist/discover-C4TG7JP7.js +0 -172
  445. package/dist/domain-JNNWJNQE.js +0 -101
  446. package/dist/download-3R5IHN5F.js +0 -172
  447. package/dist/draft-3L4SNDGO.js +0 -283
  448. package/dist/draft-EADHX7XL.js +0 -335
  449. package/dist/draft-TAM7IUPH.js +0 -220
  450. package/dist/draft-VSXBSXSX.js +0 -308
  451. package/dist/draft-XCYSZWA6.js +0 -310
  452. package/dist/experiments-JVGAKWFA.js +0 -236
  453. package/dist/facets-JG44XXAT.js +0 -117
  454. package/dist/feedback-3JCNU6MT.js +0 -115
  455. package/dist/feedback-record-7WXGKXNS.js +0 -269
  456. package/dist/fetch-SLDDORH4.js +0 -179
  457. package/dist/fit-GNQHRKP7.js +0 -65
  458. package/dist/flows-NRPABVUJ.js +0 -250
  459. package/dist/fonts-VN2QXPAQ.js +0 -39
  460. package/dist/forecast-SIX6AAVX.js +0 -121
  461. package/dist/forecast-ZXOSLITM.js +0 -169
  462. package/dist/funnel-QEZWKSFR.js +0 -397
  463. package/dist/generate-HOMLLUCN.js +0 -263
  464. package/dist/get-BXMLPLIC.js +0 -82
  465. package/dist/get-NF3SPPVX.js +0 -59
  466. package/dist/google-XVSL3XAB.js +0 -3267
  467. package/dist/google-ads-5NBAMFPB.js +0 -198
  468. package/dist/gsc-72AFO6B4.js +0 -30
  469. package/dist/history-2U5OXDV7.js +0 -102
  470. package/dist/history-A6KMJRPZ.js +0 -69
  471. package/dist/history-IDVWUSYU.js +0 -136
  472. package/dist/hubspot-YPBNNVHC.js +0 -782
  473. package/dist/ideas-4Q7YBUGC.js +0 -45
  474. package/dist/images-BRBSRYEX.js +0 -92
  475. package/dist/ingest-AIOFOAQE.js +0 -27
  476. package/dist/ingest-HPEBFXCP.js +0 -123
  477. package/dist/insights-TR5EQAMA.js +0 -132
  478. package/dist/inspect-ITKB2QT3.js +0 -192
  479. package/dist/intent-E6HKRMNE.js +0 -95
  480. package/dist/keyword-gap-D4WAEJAH.js +0 -130
  481. package/dist/keyword-metrics-4UDT5GNW.js +0 -200
  482. package/dist/keywords-for-site-YQAQQIHJ.js +0 -131
  483. package/dist/landing-6JAIZH4H.js +0 -28
  484. package/dist/languages-AUAZIVL4.js +0 -40
  485. package/dist/leads-6XZRTPJL.js +0 -115
  486. package/dist/learn-VQGATNB4.js +0 -207
  487. package/dist/line-item-writes-TRTDQ55N.js +0 -211
  488. package/dist/line-items-SC73GQLQ.js +0 -107
  489. package/dist/link-ODLNZTZC.js +0 -67
  490. package/dist/linkedin-HPZP4MGS.js +0 -1328
  491. package/dist/linkedin-person-ELEPEST5.js +0 -139
  492. package/dist/list-26EOYW37.js +0 -154
  493. package/dist/list-GLN62MRB.js +0 -67
  494. package/dist/list-YLPOXOCI.js +0 -306
  495. package/dist/locations-D5N75BUK.js +0 -69
  496. package/dist/locations-P5PTCRSF.js +0 -40
  497. package/dist/log-66XLWNCD.js +0 -95
  498. package/dist/make-3ADCSNFC.js +0 -1367
  499. package/dist/map-3SGKGWSY.js +0 -436
  500. package/dist/mcp-ZSPJE3Y6.js +0 -729
  501. package/dist/media-sources-UBQCVRGK.js +0 -35
  502. package/dist/members-76XFDSMX.js +0 -47
  503. package/dist/metrics-XCD3IJSM.js +0 -152
  504. package/dist/models-WNK7Z6TR.js +0 -155
  505. package/dist/normalize-VC7HUODA.js +0 -144
  506. package/dist/options-5BPPM5N3.js +0 -125
  507. package/dist/organization-PXND43LQ.js +0 -949
  508. package/dist/performance-DDZOJ5GD.js +0 -5565
  509. package/dist/performance-Q25RDNM6.js +0 -27
  510. package/dist/pixels-KRK2B7M3.js +0 -62
  511. package/dist/promoted-tweet-writes-LIFJFF7N.js +0 -183
  512. package/dist/promoted-tweets-H5RMRQD2.js +0 -119
  513. package/dist/publish-LBHYEZW3.js +0 -344
  514. package/dist/query-A53T6QJF.js +0 -62
  515. package/dist/query-NDOYOIHL.js +0 -247
  516. package/dist/query-NDOYOIHL.js.map +0 -1
  517. package/dist/reddit-H4R23K27.js +0 -29
  518. package/dist/refresh-3QKUSERK.js +0 -97
  519. package/dist/release-JMYTQZLK.js +0 -63
  520. package/dist/relevant-pages-DOCKQEMZ.js +0 -99
  521. package/dist/remove-F7GEZMKB.js +0 -53
  522. package/dist/reopen-Y557X6IX.js +0 -66
  523. package/dist/rerun-RWBKQGVF.js +0 -96
  524. package/dist/research-3OJ5UZER.js +0 -265
  525. package/dist/research-AYO522XS.js +0 -72
  526. package/dist/reset-BL7M4LL7.js +0 -57
  527. package/dist/reset-PMVUQTYU.js +0 -57
  528. package/dist/resolve-CSWSGGK6.js +0 -124
  529. package/dist/retry-MVOPE2O2.js +0 -65
  530. package/dist/retry-WT46B5SC.js +0 -63
  531. package/dist/revenue-ZLE645Z5.js +0 -91
  532. package/dist/rules-Q6HWHFVU.js +0 -99
  533. package/dist/rules-add-7EPXWSQV.js +0 -465
  534. package/dist/run-4DE5XUVB.js +0 -71
  535. package/dist/run-PAND6N4V.js +0 -69
  536. package/dist/scaffold-ad-44INCR5V.js +0 -1513
  537. package/dist/scaffold-static-ad-ATXP44TE.js +0 -1011
  538. package/dist/scaffold-video-L4FQWQ5A.js +0 -885
  539. package/dist/schedule-CSE2XFFF.js +0 -64
  540. package/dist/scheduled-agents-NXHXQZBO.js +0 -55
  541. package/dist/schema-QITMY7ZE.js +0 -135
  542. package/dist/search-HOYOSX2H.js +0 -177
  543. package/dist/select-E5TP7JR6.js +0 -110
  544. package/dist/set-prompt-QGV3IUIP.js +0 -199
  545. package/dist/setup-links-HQ6WVKEP.js +0 -144
  546. package/dist/shopify-6MLRXSC2.js +0 -3958
  547. package/dist/site-5B44TV46.js +0 -180
  548. package/dist/sitemaps-6A6JFBV4.js +0 -87
  549. package/dist/sitemaps-6A6JFBV4.js.map +0 -1
  550. package/dist/sites-PZLE5FFV.js +0 -101
  551. package/dist/sites-PZLE5FFV.js.map +0 -1
  552. package/dist/sources-OMINR6RG.js +0 -30
  553. package/dist/sources-PNEWSEBG.js +0 -457
  554. package/dist/stale-G2BPCBYZ.js +0 -90
  555. package/dist/status-QNXQNAKH.js +0 -65
  556. package/dist/studio-BNYFU6ZH.js +0 -49
  557. package/dist/sync-OYOS7HQL.js +0 -57
  558. package/dist/sync-definition-2VEFGHYK.js +0 -70
  559. package/dist/tags-56H6O7ZL.js +0 -26
  560. package/dist/tags-CYR2IPEJ.js +0 -23
  561. package/dist/tags-RBUYBAA6.js +0 -227
  562. package/dist/tags-WVJNOATS.js +0 -23
  563. package/dist/tags-ZTVOZOYP.js +0 -23
  564. package/dist/targeting-criteria-EZNZOUAE.js +0 -113
  565. package/dist/targets-CU7IUPV2.js +0 -106
  566. package/dist/testimonials-THJJYQ42.js +0 -32
  567. package/dist/themes-TSEMQ4EJ.js +0 -95
  568. package/dist/top-companies-W6DA3MZQ.js +0 -111
  569. package/dist/transcript-KZ74PK23.js +0 -165
  570. package/dist/translate-FQOYDETZ.js +0 -603
  571. package/dist/triggers-OJKTDJSV.js +0 -144
  572. package/dist/unlink-ZE7464NK.js +0 -70
  573. package/dist/unstage-RGIPGM3E.js +0 -88
  574. package/dist/update-2VYVJCY2.js +0 -192
  575. package/dist/update-63MMKPHI.js +0 -155
  576. package/dist/update-JHWPEJN7.js +0 -66
  577. package/dist/update-WHHAH4IE.js +0 -101
  578. package/dist/upload-7XG5LU7C.js +0 -130
  579. package/dist/url-options-2BGF2D5E.js +0 -131
  580. package/dist/url-params-FBDTXQGY.js +0 -101
  581. package/dist/validate-Z3SRQKSO.js +0 -125
  582. package/dist/videos-4TLBI3E3.js +0 -41
  583. package/dist/viewer-check-ELVSS3DM.js +0 -83
  584. package/dist/web-LDR6HO5M.js +0 -143
  585. package/dist/winning-ads-7SWUVUDA.js +0 -86
  586. package/dist/write-commands-24FRMQW4.js +0 -1525
  587. package/dist/x-UOGRWXET.js +0 -47
  588. /package/dist/{account-BRRFMDXZ.js.map → account-2UXZ6CZJ.js.map} +0 -0
  589. /package/dist/{account-MQI7EZBH.js.map → account-OWMJG4IW.js.map} +0 -0
  590. /package/dist/{account-reads-K6YDAOHX.js.map → account-reads-W2GAN335.js.map} +0 -0
  591. /package/dist/{account-users-QS54ZEOD.js.map → account-users-WLTQNPL7.js.map} +0 -0
  592. /package/dist/{account-writes-PGGGP26M.js.map → account-writes-TNADUSHW.js.map} +0 -0
  593. /package/dist/{accounts-IW62WBX5.js.map → accounts-D3SQTZB7.js.map} +0 -0
  594. /package/dist/{accounts-H3U7LARM.js.map → accounts-HRQFOTBJ.js.map} +0 -0
  595. /package/dist/{actions-2CUQFZNA.js.map → actions-VJXED57L.js.map} +0 -0
  596. /package/dist/{activecampaign-WAMDVBUO.js.map → activecampaign-TNJIQA4C.js.map} +0 -0
  597. /package/dist/{ad-group-writes-ROUU6BHU.js.map → ad-group-writes-7BGCZA3M.js.map} +0 -0
  598. /package/dist/{ad-groups-Y2BSRLIN.js.map → ad-groups-A6GU6EW5.js.map} +0 -0
  599. /package/dist/{ad-writes-NF4LCGVP.js.map → ad-writes-CEMCUDU2.js.map} +0 -0
  600. /package/dist/{add-UHWRBSFE.js.map → add-DRTKSLEQ.js.map} +0 -0
  601. /package/dist/{add-4P3CUHAN.js.map → add-LBHISK44.js.map} +0 -0
  602. /package/dist/{ads-TDN7OYSU.js.map → ads-4EVKVAMR.js.map} +0 -0
  603. /package/dist/{ads-CPMX3L4A.js.map → ads-OY455VCX.js.map} +0 -0
  604. /package/dist/{advertisers-6CHV5N2V.js.map → advertisers-G6DZRBOK.js.map} +0 -0
  605. /package/dist/{analytics-4GTUW42V.js.map → analytics-ANG42PKM.js.map} +0 -0
  606. /package/dist/{analytics-MV2RQ6KR.js.map → analytics-UI4AKUSF.js.map} +0 -0
  607. /package/dist/{animate-EOSLSA7F.js.map → animate-KCSICY2N.js.map} +0 -0
  608. /package/dist/{assign-RN5DGDS2.js.map → assign-5DFH6HBV.js.map} +0 -0
  609. /package/dist/{audience-size-7DYMCXDM.js.map → audience-size-P6WIXOB3.js.map} +0 -0
  610. /package/dist/{audiences-VMGB2JZG.js.map → audiences-4ASLCNOF.js.map} +0 -0
  611. /package/dist/{audit-7U7G2JKS.js.map → audit-LA4BSLXV.js.map} +0 -0
  612. /package/dist/{autocomplete-E6YHJ3HH.js.map → autocomplete-XMG6E7TG.js.map} +0 -0
  613. /package/dist/{avatars-6JHVTSXH.js.map → avatars-4IFN4GZD.js.map} +0 -0
  614. /package/dist/{bid-pricing-J3OJK4J3.js.map → bid-pricing-JEOG2Q3L.js.map} +0 -0
  615. /package/dist/{brand-3EAQFDYN.js.map → brand-C6HUAK74.js.map} +0 -0
  616. /package/dist/{brief-ADGCGC3H.js.map → brief-5BCPPBU3.js.map} +0 -0
  617. /package/dist/{campaign-groups-GN7D5UXE.js.map → campaign-groups-IYQZSICZ.js.map} +0 -0
  618. /package/dist/{campaign-writes-UORRIIWY.js.map → campaign-writes-CVOOPZ35.js.map} +0 -0
  619. /package/dist/{campaign-writes-HKWI6GYU.js.map → campaign-writes-YXI5UOPH.js.map} +0 -0
  620. /package/dist/{campaigns-5I76AV7F.js.map → campaigns-FW4WVD25.js.map} +0 -0
  621. /package/dist/{campaigns-BEXDLBT3.js.map → campaigns-QMFHNG3N.js.map} +0 -0
  622. /package/dist/{campaigns-GONROKTU.js.map → campaigns-TX37WHVL.js.map} +0 -0
  623. /package/dist/{canvas-CHV34G62.js.map → canvas-U7MZXZKR.js.map} +0 -0
  624. /package/dist/{capabilities-VKBIQ2BR.js.map → capabilities-7643Y2HU.js.map} +0 -0
  625. /package/dist/{catalog-VXANSX2O.js.map → catalog-FLWVVX2U.js.map} +0 -0
  626. /package/dist/{catalogs-LXEM7NNC.js.map → catalogs-YNIUP2AH.js.map} +0 -0
  627. /package/dist/{changes-4OYC4NMW.js.map → changes-QUKBZVB3.js.map} +0 -0
  628. /package/dist/{chatgpt-XV6CVKLN.js.map → chatgpt-TIUBMATF.js.map} +0 -0
  629. /package/dist/{chats-W35ZPZEW.js.map → chats-BGLAG4Q7.js.map} +0 -0
  630. /package/dist/{check-3D63D4ZT.js.map → check-MN5ZQ7RX.js.map} +0 -0
  631. /package/dist/{chunk-OAXQPLTG.js.map → chunk-2UJ5ABI6.js.map} +0 -0
  632. /package/dist/{chunk-JGOYO7I2.js.map → chunk-2XRFWXSA.js.map} +0 -0
  633. /package/dist/{chunk-JUF6Q5X7.js.map → chunk-3OSBCYKA.js.map} +0 -0
  634. /package/dist/{chunk-5HGAO4ZI.js.map → chunk-3QQHPRRB.js.map} +0 -0
  635. /package/dist/{chunk-G3MEYGXC.js.map → chunk-3WTCMBDC.js.map} +0 -0
  636. /package/dist/{chunk-IZABTTW5.js.map → chunk-44ZRCSR7.js.map} +0 -0
  637. /package/dist/{chunk-WUCTGDV7.js.map → chunk-4QITYZUH.js.map} +0 -0
  638. /package/dist/{chunk-KUM36NSV.js.map → chunk-4XNF52NU.js.map} +0 -0
  639. /package/dist/{chunk-XCRYRVKK.js.map → chunk-4Y7IJ2PU.js.map} +0 -0
  640. /package/dist/{chunk-MHSVWQK6.js.map → chunk-53BTYIMJ.js.map} +0 -0
  641. /package/dist/{chunk-5YN53OAA.js.map → chunk-56OEYUJU.js.map} +0 -0
  642. /package/dist/{chunk-6CCEEVXJ.js.map → chunk-5N47LB7X.js.map} +0 -0
  643. /package/dist/{chunk-CBQPKCFE.js.map → chunk-5UBFYJHF.js.map} +0 -0
  644. /package/dist/{chunk-QUYDMAQN.js.map → chunk-6PMJU7IU.js.map} +0 -0
  645. /package/dist/{chunk-Z3Y67AH6.js.map → chunk-7I65KXU7.js.map} +0 -0
  646. /package/dist/{chunk-6QGBBX7F.js.map → chunk-BXUUKRMM.js.map} +0 -0
  647. /package/dist/{chunk-J3HA4RFY.js.map → chunk-BZTAEZLT.js.map} +0 -0
  648. /package/dist/{chunk-TOUF5ME6.js.map → chunk-CJQ77HO5.js.map} +0 -0
  649. /package/dist/{chunk-CWZ2ODJQ.js.map → chunk-CKTVRR3D.js.map} +0 -0
  650. /package/dist/{chunk-NP3FPCPN.js.map → chunk-COS3TPHX.js.map} +0 -0
  651. /package/dist/{chunk-ZKRRYVDG.js.map → chunk-CQ6HBFOB.js.map} +0 -0
  652. /package/dist/{chunk-6HGLQJ6A.js.map → chunk-DWW5QSUF.js.map} +0 -0
  653. /package/dist/{chunk-2UZHRLLO.js.map → chunk-ENUCJ6AO.js.map} +0 -0
  654. /package/dist/{chunk-5GHKZLID.js.map → chunk-ES3PWGS3.js.map} +0 -0
  655. /package/dist/{chunk-TGCDXZ5X.js.map → chunk-FJDSL4O5.js.map} +0 -0
  656. /package/dist/{chunk-GPZVYXJZ.js.map → chunk-FSTDWVXG.js.map} +0 -0
  657. /package/dist/{chunk-55B4AJY3.js.map → chunk-FUR7R4D7.js.map} +0 -0
  658. /package/dist/{chunk-OI2CKYAQ.js.map → chunk-HTT7RBRC.js.map} +0 -0
  659. /package/dist/{chunk-DYOUJERF.js.map → chunk-HVJJEQDQ.js.map} +0 -0
  660. /package/dist/{chunk-SOS4QFLE.js.map → chunk-I3LRC33M.js.map} +0 -0
  661. /package/dist/{chunk-45EERHDB.js.map → chunk-I7AYMJZA.js.map} +0 -0
  662. /package/dist/{chunk-G3MN4HIX.js.map → chunk-IU5K42Q3.js.map} +0 -0
  663. /package/dist/{chunk-6OIKNJ7G.js.map → chunk-JAC6JVCI.js.map} +0 -0
  664. /package/dist/{chunk-E3FMS5DA.js.map → chunk-JEUFRIYS.js.map} +0 -0
  665. /package/dist/{chunk-DGZYZWMK.js.map → chunk-KITVYLEX.js.map} +0 -0
  666. /package/dist/{chunk-7MY3QHGA.js.map → chunk-L5VVKIMB.js.map} +0 -0
  667. /package/dist/{chunk-UPXPBA4W.js.map → chunk-M2MJ52HS.js.map} +0 -0
  668. /package/dist/{chunk-BKOUVU6X.js.map → chunk-MBSAHNMJ.js.map} +0 -0
  669. /package/dist/{chunk-UUWUJ64R.js.map → chunk-MHZIOOT5.js.map} +0 -0
  670. /package/dist/{chunk-VYJLS64A.js.map → chunk-MIRPLAFD.js.map} +0 -0
  671. /package/dist/{chunk-G53CUQZV.js.map → chunk-MNOCC5AL.js.map} +0 -0
  672. /package/dist/{chunk-SIKCVWM3.js.map → chunk-MZPS46OR.js.map} +0 -0
  673. /package/dist/{chunk-AH6TDWYS.js.map → chunk-NZUMNTAT.js.map} +0 -0
  674. /package/dist/{chunk-2PC26XRF.js.map → chunk-OXLB5M5M.js.map} +0 -0
  675. /package/dist/{chunk-KAAYVKBH.js.map → chunk-OYNBUT5X.js.map} +0 -0
  676. /package/dist/{chunk-XPIBSDG4.js.map → chunk-PIAG4UJT.js.map} +0 -0
  677. /package/dist/{chunk-YBFZJ5EB.js.map → chunk-PV2JVXFM.js.map} +0 -0
  678. /package/dist/{chunk-XJ5TX772.js.map → chunk-QOBA6PHB.js.map} +0 -0
  679. /package/dist/{chunk-6RTZPBAT.js.map → chunk-R6WEPF63.js.map} +0 -0
  680. /package/dist/{chunk-DT3V5EGL.js.map → chunk-RQB4XLSF.js.map} +0 -0
  681. /package/dist/{chunk-Y6MLSN6W.js.map → chunk-RRC7F3QQ.js.map} +0 -0
  682. /package/dist/{chunk-MTV2RSGY.js.map → chunk-S6VFDNSQ.js.map} +0 -0
  683. /package/dist/{chunk-T65Y7N7H.js.map → chunk-SF52UGHZ.js.map} +0 -0
  684. /package/dist/{chunk-URMAEVZO.js.map → chunk-SG2TDQEE.js.map} +0 -0
  685. /package/dist/{chunk-YXQFCQX2.js.map → chunk-SWFZJROM.js.map} +0 -0
  686. /package/dist/{chunk-S556LOAP.js.map → chunk-T33M3PK7.js.map} +0 -0
  687. /package/dist/{chunk-T75WL56Z.js.map → chunk-TNKKK7XD.js.map} +0 -0
  688. /package/dist/{chunk-N4BK6OKX.js.map → chunk-TNOOWNN7.js.map} +0 -0
  689. /package/dist/{chunk-TWCS6FSC.js.map → chunk-UAB4CYBH.js.map} +0 -0
  690. /package/dist/{chunk-RIA5RXPL.js.map → chunk-UBDY5RE4.js.map} +0 -0
  691. /package/dist/{chunk-VGUGFRWF.js.map → chunk-UCNIJ2IW.js.map} +0 -0
  692. /package/dist/{chunk-DMA67YC3.js.map → chunk-UFUYTWEF.js.map} +0 -0
  693. /package/dist/{chunk-YR3OPPUE.js.map → chunk-UROKPFIS.js.map} +0 -0
  694. /package/dist/{chunk-56UWXQEN.js.map → chunk-VP4PO7FW.js.map} +0 -0
  695. /package/dist/{chunk-HGHVNUJT.js.map → chunk-WRTG3KXU.js.map} +0 -0
  696. /package/dist/{chunk-WEQZ563U.js.map → chunk-WWLZ5RRU.js.map} +0 -0
  697. /package/dist/{chunk-EIRGJD3Q.js.map → chunk-YE4RCEEJ.js.map} +0 -0
  698. /package/dist/{chunk-5G5QFFJY.js.map → chunk-YO54MA7R.js.map} +0 -0
  699. /package/dist/{claim-DWGPEVJN.js.map → claim-2JNNC66N.js.map} +0 -0
  700. /package/dist/{companies-3VT7OJAA.js.map → companies-4NJU5TLU.js.map} +0 -0
  701. /package/dist/{company-XEPW45AT.js.map → company-QOYWS4W6.js.map} +0 -0
  702. /package/dist/{complete-AEX34ICU.js.map → complete-7FX2K3PV.js.map} +0 -0
  703. /package/dist/{connect-TF4FCXDV.js.map → connect-H2HSPMRT.js.map} +0 -0
  704. /package/dist/{conversation-6WWZMPAB.js.map → conversation-4M7YMQOL.js.map} +0 -0
  705. /package/dist/{conversion-report-I6R2FDCD.js.map → conversion-report-G5JMZNYV.js.map} +0 -0
  706. /package/dist/{conversion-upload-command-QD6MGLY4.js.map → conversion-upload-command-43PZFYT7.js.map} +0 -0
  707. /package/dist/{conversion-writes-H2JOAORW.js.map → conversion-writes-JQQCCGPO.js.map} +0 -0
  708. /package/dist/{conversions-WGW43FUE.js.map → conversions-UO4CQNF6.js.map} +0 -0
  709. /package/dist/{conversions-D46PQRWF.js.map → conversions-Z7FW7CFT.js.map} +0 -0
  710. /package/dist/{create-7WV7XWZV.js.map → create-4SFO4AQZ.js.map} +0 -0
  711. /package/dist/{create-WSEYNFTP.js.map → create-D5MA64KL.js.map} +0 -0
  712. /package/dist/{create-OUZZLPQK.js.map → create-GJ4ZMY3A.js.map} +0 -0
  713. /package/dist/{create-QRT6O5PN.js.map → create-QVY6DSYM.js.map} +0 -0
  714. /package/dist/{creatives-DBDFDHX7.js.map → creatives-NTAKM5TG.js.map} +0 -0
  715. /package/dist/{creatives-BSZY7VDQ.js.map → creatives-R3XILT6D.js.map} +0 -0
  716. /package/dist/{credentials-P7GQYIE3.js.map → credentials-EQRB6XGZ.js.map} +0 -0
  717. /package/dist/{critique-X2YDOMON.js.map → critique-4YRRUNAU.js.map} +0 -0
  718. /package/dist/{critique-6F4FWQN5.js.map → critique-JCU2ATT6.js.map} +0 -0
  719. /package/dist/{crm-VNAUSVC5.js.map → crm-AF6XOOSF.js.map} +0 -0
  720. /package/dist/{crm-O6YG6777.js.map → crm-LSMFGR6R.js.map} +0 -0
  721. /package/dist/{currency-UVT3HEZT.js.map → currency-4KNOOZUU.js.map} +0 -0
  722. /package/dist/{customers-VJ3TXILQ.js.map → customers-MM3VIZNA.js.map} +0 -0
  723. /package/dist/{delete-3H377GOM.js.map → delete-CO2YBPTI.js.map} +0 -0
  724. /package/dist/{delete-EH3XL26Z.js.map → delete-D7HTW32U.js.map} +0 -0
  725. /package/dist/{delete-QYSOAVP4.js.map → delete-JUPBYK3H.js.map} +0 -0
  726. /package/dist/{demographics-GKJZ5PV2.js.map → demographics-DK5JDY6M.js.map} +0 -0
  727. /package/dist/{discard-46RALLBO.js.map → discard-DEJOM62Y.js.map} +0 -0
  728. /package/dist/{discover-C4TG7JP7.js.map → discover-U6YLVLTF.js.map} +0 -0
  729. /package/dist/{domain-JNNWJNQE.js.map → domain-MBOMV3CQ.js.map} +0 -0
  730. /package/dist/{download-3R5IHN5F.js.map → download-KN2I55SA.js.map} +0 -0
  731. /package/dist/{draft-3L4SNDGO.js.map → draft-BMNBT37B.js.map} +0 -0
  732. /package/dist/{draft-EADHX7XL.js.map → draft-CGPVRRKC.js.map} +0 -0
  733. /package/dist/{draft-XCYSZWA6.js.map → draft-F74OIT5O.js.map} +0 -0
  734. /package/dist/{draft-VSXBSXSX.js.map → draft-FIEZWBIX.js.map} +0 -0
  735. /package/dist/{draft-TAM7IUPH.js.map → draft-HZ5T6NOI.js.map} +0 -0
  736. /package/dist/{experiments-JVGAKWFA.js.map → experiments-YNJZCMQM.js.map} +0 -0
  737. /package/dist/{facets-JG44XXAT.js.map → facets-Y4OACBMC.js.map} +0 -0
  738. /package/dist/{feedback-3JCNU6MT.js.map → feedback-I5FZZAJR.js.map} +0 -0
  739. /package/dist/{feedback-record-7WXGKXNS.js.map → feedback-record-U2O24ITU.js.map} +0 -0
  740. /package/dist/{fetch-SLDDORH4.js.map → fetch-XU6QVWMS.js.map} +0 -0
  741. /package/dist/{fit-GNQHRKP7.js.map → fit-IHUUFCGI.js.map} +0 -0
  742. /package/dist/{flows-NRPABVUJ.js.map → flows-WSCIMXQX.js.map} +0 -0
  743. /package/dist/{fonts-VN2QXPAQ.js.map → fonts-3QW7EDHE.js.map} +0 -0
  744. /package/dist/{forecast-ZXOSLITM.js.map → forecast-2WVHMSZP.js.map} +0 -0
  745. /package/dist/{forecast-SIX6AAVX.js.map → forecast-F25LSCM5.js.map} +0 -0
  746. /package/dist/{funnel-QEZWKSFR.js.map → funnel-35DYDBJH.js.map} +0 -0
  747. /package/dist/{generate-HOMLLUCN.js.map → generate-Z7AROAES.js.map} +0 -0
  748. /package/dist/{get-NF3SPPVX.js.map → get-4CAX33L2.js.map} +0 -0
  749. /package/dist/{get-BXMLPLIC.js.map → get-N7X75ZJO.js.map} +0 -0
  750. /package/dist/{google-XVSL3XAB.js.map → google-M6XR7YGT.js.map} +0 -0
  751. /package/dist/{google-ads-5NBAMFPB.js.map → google-ads-NCSMNNND.js.map} +0 -0
  752. /package/dist/{gsc-72AFO6B4.js.map → gsc-GQFI6I2D.js.map} +0 -0
  753. /package/dist/{history-A6KMJRPZ.js.map → history-FGQ2H7XH.js.map} +0 -0
  754. /package/dist/{history-IDVWUSYU.js.map → history-LTOFKBMJ.js.map} +0 -0
  755. /package/dist/{history-2U5OXDV7.js.map → history-VJ254UXF.js.map} +0 -0
  756. /package/dist/{hubspot-YPBNNVHC.js.map → hubspot-W2NM75YK.js.map} +0 -0
  757. /package/dist/{ideas-4Q7YBUGC.js.map → ideas-54KFDNDM.js.map} +0 -0
  758. /package/dist/{images-BRBSRYEX.js.map → images-JOEVCCP6.js.map} +0 -0
  759. /package/dist/{ingest-AIOFOAQE.js.map → ingest-6R7XUL46.js.map} +0 -0
  760. /package/dist/{ingest-HPEBFXCP.js.map → ingest-VCIH5QDR.js.map} +0 -0
  761. /package/dist/{insights-TR5EQAMA.js.map → insights-UXUUOQB7.js.map} +0 -0
  762. /package/dist/{inspect-ITKB2QT3.js.map → inspect-MGOR77FP.js.map} +0 -0
  763. /package/dist/{intent-E6HKRMNE.js.map → intent-FZWPRUCI.js.map} +0 -0
  764. /package/dist/{keyword-gap-D4WAEJAH.js.map → keyword-gap-4ECYPWXJ.js.map} +0 -0
  765. /package/dist/{keyword-metrics-4UDT5GNW.js.map → keyword-metrics-SBIRN5KC.js.map} +0 -0
  766. /package/dist/{keywords-for-site-YQAQQIHJ.js.map → keywords-for-site-TLNPJHT2.js.map} +0 -0
  767. /package/dist/{landing-6JAIZH4H.js.map → landing-ZICSVWKF.js.map} +0 -0
  768. /package/dist/{languages-AUAZIVL4.js.map → languages-VNZQ5USL.js.map} +0 -0
  769. /package/dist/{leads-6XZRTPJL.js.map → leads-JUQFNK55.js.map} +0 -0
  770. /package/dist/{learn-VQGATNB4.js.map → learn-A6BT25LQ.js.map} +0 -0
  771. /package/dist/{line-item-writes-TRTDQ55N.js.map → line-item-writes-NW7A6HNH.js.map} +0 -0
  772. /package/dist/{line-items-SC73GQLQ.js.map → line-items-OAG3QMDE.js.map} +0 -0
  773. /package/dist/{link-ODLNZTZC.js.map → link-4VJ7FSOA.js.map} +0 -0
  774. /package/dist/{linkedin-HPZP4MGS.js.map → linkedin-CKOWKD4M.js.map} +0 -0
  775. /package/dist/{linkedin-person-ELEPEST5.js.map → linkedin-person-C22IDK7S.js.map} +0 -0
  776. /package/dist/{list-GLN62MRB.js.map → list-2DKLO6AO.js.map} +0 -0
  777. /package/dist/{list-YLPOXOCI.js.map → list-CDDXHMJQ.js.map} +0 -0
  778. /package/dist/{list-26EOYW37.js.map → list-ZORO7PFP.js.map} +0 -0
  779. /package/dist/{locations-D5N75BUK.js.map → locations-4RDUHKVR.js.map} +0 -0
  780. /package/dist/{locations-P5PTCRSF.js.map → locations-HATR6PSC.js.map} +0 -0
  781. /package/dist/{log-66XLWNCD.js.map → log-OSJHKHPV.js.map} +0 -0
  782. /package/dist/{make-3ADCSNFC.js.map → make-JPXGF44U.js.map} +0 -0
  783. /package/dist/{map-3SGKGWSY.js.map → map-PMGZDXAN.js.map} +0 -0
  784. /package/dist/{mcp-ZSPJE3Y6.js.map → mcp-MOOOTRYG.js.map} +0 -0
  785. /package/dist/{media-sources-UBQCVRGK.js.map → media-sources-5OYCKQ5J.js.map} +0 -0
  786. /package/dist/{members-76XFDSMX.js.map → members-QG5IP5HM.js.map} +0 -0
  787. /package/dist/{metrics-XCD3IJSM.js.map → metrics-R4YS2JL6.js.map} +0 -0
  788. /package/dist/{models-WNK7Z6TR.js.map → models-RJMZV5SH.js.map} +0 -0
  789. /package/dist/{normalize-VC7HUODA.js.map → normalize-LATTXSL3.js.map} +0 -0
  790. /package/dist/{options-5BPPM5N3.js.map → options-KALH5TB7.js.map} +0 -0
  791. /package/dist/{organization-PXND43LQ.js.map → organization-AGCF7DUJ.js.map} +0 -0
  792. /package/dist/{performance-DDZOJ5GD.js.map → performance-SITVZQWX.js.map} +0 -0
  793. /package/dist/{performance-Q25RDNM6.js.map → performance-YNXPUSGJ.js.map} +0 -0
  794. /package/dist/{pixels-KRK2B7M3.js.map → pixels-TYJVE377.js.map} +0 -0
  795. /package/dist/{promoted-tweet-writes-LIFJFF7N.js.map → promoted-tweet-writes-NAHPJ3VD.js.map} +0 -0
  796. /package/dist/{promoted-tweets-H5RMRQD2.js.map → promoted-tweets-2XQ4MWAC.js.map} +0 -0
  797. /package/dist/{publish-LBHYEZW3.js.map → publish-UITYPUBD.js.map} +0 -0
  798. /package/dist/{query-A53T6QJF.js.map → query-RE7NB2BK.js.map} +0 -0
  799. /package/dist/{reddit-H4R23K27.js.map → reddit-6XIARCTX.js.map} +0 -0
  800. /package/dist/{refresh-3QKUSERK.js.map → refresh-6UCN7PDX.js.map} +0 -0
  801. /package/dist/{release-JMYTQZLK.js.map → release-IN65L23O.js.map} +0 -0
  802. /package/dist/{relevant-pages-DOCKQEMZ.js.map → relevant-pages-W7IM6YQW.js.map} +0 -0
  803. /package/dist/{remove-F7GEZMKB.js.map → remove-X3XWVE2M.js.map} +0 -0
  804. /package/dist/{reopen-Y557X6IX.js.map → reopen-RMMQ55CH.js.map} +0 -0
  805. /package/dist/{rerun-RWBKQGVF.js.map → rerun-HCGLAUYW.js.map} +0 -0
  806. /package/dist/{research-AYO522XS.js.map → research-LZBPCXIW.js.map} +0 -0
  807. /package/dist/{research-3OJ5UZER.js.map → research-W5KUOBXZ.js.map} +0 -0
  808. /package/dist/{reset-BL7M4LL7.js.map → reset-MUWXTLIB.js.map} +0 -0
  809. /package/dist/{reset-PMVUQTYU.js.map → reset-VQNKXFAF.js.map} +0 -0
  810. /package/dist/{resolve-CSWSGGK6.js.map → resolve-DMGWLMTC.js.map} +0 -0
  811. /package/dist/{retry-WT46B5SC.js.map → retry-YI4YLYTQ.js.map} +0 -0
  812. /package/dist/{retry-MVOPE2O2.js.map → retry-ZQUJPKQH.js.map} +0 -0
  813. /package/dist/{revenue-ZLE645Z5.js.map → revenue-6YZAOMF6.js.map} +0 -0
  814. /package/dist/{rules-Q6HWHFVU.js.map → rules-FHVZEN4D.js.map} +0 -0
  815. /package/dist/{rules-add-7EPXWSQV.js.map → rules-add-7X46VTIJ.js.map} +0 -0
  816. /package/dist/{run-4DE5XUVB.js.map → run-2CSG6NIY.js.map} +0 -0
  817. /package/dist/{run-PAND6N4V.js.map → run-TA6HYFKZ.js.map} +0 -0
  818. /package/dist/{scaffold-ad-44INCR5V.js.map → scaffold-ad-AQK4PX7C.js.map} +0 -0
  819. /package/dist/{scaffold-static-ad-ATXP44TE.js.map → scaffold-static-ad-ORMMKUWY.js.map} +0 -0
  820. /package/dist/{scaffold-video-L4FQWQ5A.js.map → scaffold-video-525OYZYI.js.map} +0 -0
  821. /package/dist/{schedule-CSE2XFFF.js.map → schedule-TMTLYULK.js.map} +0 -0
  822. /package/dist/{scheduled-agents-NXHXQZBO.js.map → scheduled-agents-TS3WLRCM.js.map} +0 -0
  823. /package/dist/{schema-QITMY7ZE.js.map → schema-6S5ZEPBS.js.map} +0 -0
  824. /package/dist/{search-HOYOSX2H.js.map → search-LTUUAGZG.js.map} +0 -0
  825. /package/dist/{select-E5TP7JR6.js.map → select-XAC7G4ZT.js.map} +0 -0
  826. /package/dist/{set-prompt-QGV3IUIP.js.map → set-prompt-H3UEDJWS.js.map} +0 -0
  827. /package/dist/{setup-links-HQ6WVKEP.js.map → setup-links-6ANVKZCE.js.map} +0 -0
  828. /package/dist/{shopify-6MLRXSC2.js.map → shopify-6ISTKZCA.js.map} +0 -0
  829. /package/dist/{site-5B44TV46.js.map → site-OIV55MGO.js.map} +0 -0
  830. /package/dist/{sources-PNEWSEBG.js.map → sources-5L4S5BQV.js.map} +0 -0
  831. /package/dist/{sources-OMINR6RG.js.map → sources-GLJWZFHZ.js.map} +0 -0
  832. /package/dist/{stale-G2BPCBYZ.js.map → stale-TPLB2P4E.js.map} +0 -0
  833. /package/dist/{status-QNXQNAKH.js.map → status-TD7ISXC5.js.map} +0 -0
  834. /package/dist/{studio-BNYFU6ZH.js.map → studio-IDNM42JP.js.map} +0 -0
  835. /package/dist/{sync-OYOS7HQL.js.map → sync-PVIFUXX3.js.map} +0 -0
  836. /package/dist/{sync-definition-2VEFGHYK.js.map → sync-definition-K5TJORL5.js.map} +0 -0
  837. /package/dist/{tags-CYR2IPEJ.js.map → tags-3HB7N5WB.js.map} +0 -0
  838. /package/dist/{tags-RBUYBAA6.js.map → tags-DG3XQ4SF.js.map} +0 -0
  839. /package/dist/{tags-ZTVOZOYP.js.map → tags-T4EN6XYE.js.map} +0 -0
  840. /package/dist/{tags-56H6O7ZL.js.map → tags-T6THTVNP.js.map} +0 -0
  841. /package/dist/{tags-WVJNOATS.js.map → tags-XY6R2VJ6.js.map} +0 -0
  842. /package/dist/{targeting-criteria-EZNZOUAE.js.map → targeting-criteria-CL472KJO.js.map} +0 -0
  843. /package/dist/{targets-CU7IUPV2.js.map → targets-7AQMSO6H.js.map} +0 -0
  844. /package/dist/{testimonials-THJJYQ42.js.map → testimonials-4QWVSEPU.js.map} +0 -0
  845. /package/dist/{themes-TSEMQ4EJ.js.map → themes-ZTM4OVGK.js.map} +0 -0
  846. /package/dist/{top-companies-W6DA3MZQ.js.map → top-companies-PMFYOAFK.js.map} +0 -0
  847. /package/dist/{transcript-KZ74PK23.js.map → transcript-YWFYNFWX.js.map} +0 -0
  848. /package/dist/{translate-FQOYDETZ.js.map → translate-R2DXDXUY.js.map} +0 -0
  849. /package/dist/{triggers-OJKTDJSV.js.map → triggers-JKXISN45.js.map} +0 -0
  850. /package/dist/{unlink-ZE7464NK.js.map → unlink-IUAFDLBT.js.map} +0 -0
  851. /package/dist/{unstage-RGIPGM3E.js.map → unstage-ZYT5RNLK.js.map} +0 -0
  852. /package/dist/{update-63MMKPHI.js.map → update-23Q4T2J5.js.map} +0 -0
  853. /package/dist/{update-JHWPEJN7.js.map → update-74VME6PN.js.map} +0 -0
  854. /package/dist/{update-2VYVJCY2.js.map → update-O22DAZVX.js.map} +0 -0
  855. /package/dist/{update-WHHAH4IE.js.map → update-QAWK3O7L.js.map} +0 -0
  856. /package/dist/{upload-7XG5LU7C.js.map → upload-WASRCKS4.js.map} +0 -0
  857. /package/dist/{url-options-2BGF2D5E.js.map → url-options-M7RX2TD4.js.map} +0 -0
  858. /package/dist/{url-params-FBDTXQGY.js.map → url-params-E5ON6W2N.js.map} +0 -0
  859. /package/dist/{validate-Z3SRQKSO.js.map → validate-FGETFHYN.js.map} +0 -0
  860. /package/dist/{videos-4TLBI3E3.js.map → videos-SS2Y6FJF.js.map} +0 -0
  861. /package/dist/{viewer-check-ELVSS3DM.js.map → viewer-check-CWS6OVM7.js.map} +0 -0
  862. /package/dist/{web-LDR6HO5M.js.map → web-HT22JFQR.js.map} +0 -0
  863. /package/dist/{winning-ads-7SWUVUDA.js.map → winning-ads-FXTP4PWZ.js.map} +0 -0
  864. /package/dist/{write-commands-24FRMQW4.js.map → write-commands-5YVQKO7E.js.map} +0 -0
  865. /package/dist/{x-UOGRWXET.js.map → x-KEMAY75C.js.map} +0 -0
@@ -0,0 +1,843 @@
1
+ import {
2
+ AD_PLACEMENTS
3
+ } from "./chunk-MCJ5I5LR.js";
4
+ import {
5
+ hasOpenRouterKey,
6
+ openRouterKey
7
+ } from "./chunk-VPF5A7CM.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-KITVYLEX.js.map