@koda-sl/baker-cli 0.889.0 → 0.890.0-dev.5a8543f63

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 (901) hide show
  1. package/README.md +1 -1
  2. package/dist/account-EPISWQXN.js +84 -0
  3. package/dist/account-RLE73GWJ.js +82 -0
  4. package/dist/account-reads-NIYUPB4Q.js +231 -0
  5. package/dist/account-users-ZAHAMJY3.js +70 -0
  6. package/dist/account-writes-VQG2DIL2.js +68 -0
  7. package/dist/accounts-FDWK2Z3I.js +122 -0
  8. package/dist/accounts-VX4F6AND.js +571 -0
  9. package/dist/accounts-X7T2363C.js +82 -0
  10. package/dist/actions-NZCXIKX6.js +55 -0
  11. package/dist/activecampaign-BHRKCXM2.js +936 -0
  12. package/dist/ad-group-writes-6NSPVPO2.js +172 -0
  13. package/dist/ad-groups-XPFBEDTX.js +70 -0
  14. package/dist/ad-writes-ZFT6N6L4.js +176 -0
  15. package/dist/add-2Y56PJTG.js +109 -0
  16. package/dist/add-ELMTGPZJ.js +663 -0
  17. package/dist/add-IREFV3CU.js +662 -0
  18. package/dist/ads-444TBIHR.js +48 -0
  19. package/dist/ads-MF3RBGLM.js +79 -0
  20. package/dist/advertisers-YZ4DZN5I.js +155 -0
  21. package/dist/alerts-566QNP6R.js +154 -0
  22. package/dist/analytics-PUDWRGO2.js +462 -0
  23. package/dist/analytics-ZSJW3WQM.js +2805 -0
  24. package/dist/animate-BXJTVL3A.js +482 -0
  25. package/dist/assign-26RJHFHN.js +84 -0
  26. package/dist/audience-size-R4ICYDR2.js +138 -0
  27. package/dist/audiences-H54RA555.js +280 -0
  28. package/dist/audit-XDM4OVLZ.js +156 -0
  29. package/dist/autocomplete-A3PU2QH4.js +118 -0
  30. package/dist/avatars-MNBYCXEB.js +38 -0
  31. package/dist/bid-pricing-GFVZNBYJ.js +105 -0
  32. package/dist/brief-YLDCRURO.js +512 -0
  33. package/dist/campaign-groups-KWFQRWIG.js +119 -0
  34. package/dist/campaign-writes-5CEFKZV5.js +176 -0
  35. package/dist/campaign-writes-LULJQAZY.js +170 -0
  36. package/dist/campaigns-444D7YJ7.js +78 -0
  37. package/dist/campaigns-4JVCQH7B.js +194 -0
  38. package/dist/campaigns-UE5EBYD5.js +111 -0
  39. package/dist/canvas-3QROYD2F.js +48 -0
  40. package/dist/capabilities-VWOFXKTM.js +185 -0
  41. package/dist/catalog-OU7OVKPX.js +90 -0
  42. package/dist/catalogs-F33HX4RG.js +130 -0
  43. package/dist/changes-RQEDNLIX.js +288 -0
  44. package/dist/chatgpt-GEBWPTMO.js +47 -0
  45. package/dist/chats-R4AETDGO.js +730 -0
  46. package/dist/check-M2Q3NP5Y.js +55 -0
  47. package/dist/chunk-26PCRPMS.js +142 -0
  48. package/dist/chunk-2GSVULQQ.js +746 -0
  49. package/dist/chunk-2KP34BGG.js +9127 -0
  50. package/dist/chunk-2ZR6ZEXO.js +3378 -0
  51. package/dist/chunk-36EP3NUV.js +915 -0
  52. package/dist/chunk-37ZFOL3T.js +285 -0
  53. package/dist/chunk-3RHLXSE6.js +531 -0
  54. package/dist/chunk-3RHLXSE6.js.map +1 -0
  55. package/dist/chunk-423PBTX5.js +155 -0
  56. package/dist/chunk-4QG6UJOJ.js +341 -0
  57. package/dist/chunk-4R4J4H2G.js +197 -0
  58. package/dist/chunk-5GAL274H.js +147 -0
  59. package/dist/chunk-5ZFH74JL.js +89 -0
  60. package/dist/chunk-6LAJPHZV.js +405 -0
  61. package/dist/chunk-72HHO63O.js +7856 -0
  62. package/dist/chunk-7XFLQX2F.js +863 -0
  63. package/dist/chunk-7YYB62Q6.js +46 -0
  64. package/dist/chunk-A6DAGR3A.js +51 -0
  65. package/dist/chunk-ABSCXA3F.js +505 -0
  66. package/dist/chunk-AQGK3JDK.js +3252 -0
  67. package/dist/chunk-AQGK3JDK.js.map +1 -0
  68. package/dist/chunk-BFMO7YQ2.js +547 -0
  69. package/dist/chunk-BM6U6YLL.js +1124 -0
  70. package/dist/chunk-BYRXLPBO.js +4655 -0
  71. package/dist/chunk-BYRXLPBO.js.map +1 -0
  72. package/dist/chunk-CDWPTAKO.js +252 -0
  73. package/dist/chunk-CQGA6W4H.js +26 -0
  74. package/dist/chunk-DCEARGAC.js +64 -0
  75. package/dist/chunk-DWXBB5DL.js +6340 -0
  76. package/dist/chunk-ENRXB5EU.js +23 -0
  77. package/dist/chunk-FKZSHI75.js +749 -0
  78. package/dist/chunk-HO4OU5GT.js +152 -0
  79. package/dist/chunk-HQ2GNVOL.js +10430 -0
  80. package/dist/chunk-IHASMZN7.js +604 -0
  81. package/dist/chunk-JN3M5WM5.js +224 -0
  82. package/dist/chunk-KK6JTXF7.js +723 -0
  83. package/dist/chunk-KMAPSDST.js +91 -0
  84. package/dist/chunk-LFKF6LGU.js +660 -0
  85. package/dist/chunk-M5ZGKKHB.js +63 -0
  86. package/dist/chunk-M7WIPSV3.js +550 -0
  87. package/dist/chunk-MEGGLBZJ.js +685 -0
  88. package/dist/chunk-MMSSU5GU.js +329 -0
  89. package/dist/chunk-NCHZMV67.js +509 -0
  90. package/dist/chunk-NZ67XYON.js +303 -0
  91. package/dist/chunk-ODZ6UGC6.js +76 -0
  92. package/dist/chunk-OF2L7YGJ.js +131 -0
  93. package/dist/chunk-OF2L7YGJ.js.map +1 -0
  94. package/dist/chunk-OXC5TCEK.js +1577 -0
  95. package/dist/chunk-PAGDHHRH.js +1883 -0
  96. package/dist/chunk-PHF76O2A.js +313 -0
  97. package/dist/chunk-PNNRAXEV.js +170 -0
  98. package/dist/chunk-PQZBKJI7.js +884 -0
  99. package/dist/chunk-PYK6MBHA.js +411 -0
  100. package/dist/chunk-Q3V2PZTL.js +375 -0
  101. package/dist/chunk-R2UE6S4P.js +127 -0
  102. package/dist/chunk-RD4WRFOX.js +260 -0
  103. package/dist/chunk-S3C6YEJR.js +175 -0
  104. package/dist/chunk-SKA63C4W.js +337 -0
  105. package/dist/chunk-TAI5ETVR.js +78 -0
  106. package/dist/chunk-TDWIAG56.js +170 -0
  107. package/dist/chunk-TDYNWCL3.js +202 -0
  108. package/dist/chunk-TWE44ERO.js +24026 -0
  109. package/dist/chunk-TWE44ERO.js.map +1 -0
  110. package/dist/chunk-U6VDR7JT.js +91 -0
  111. package/dist/chunk-UJXWYARJ.js +163 -0
  112. package/dist/chunk-UKETWBTK.js +430 -0
  113. package/dist/chunk-UQBLW6AJ.js +103 -0
  114. package/dist/chunk-V4LQLLV7.js +1862 -0
  115. package/dist/chunk-V52PW3C3.js +732 -0
  116. package/dist/chunk-VGCNADUM.js +479 -0
  117. package/dist/chunk-WQ3O2CNQ.js +423 -0
  118. package/dist/chunk-XAENYR2X.js +262 -0
  119. package/dist/chunk-XL6IIZZT.js +374 -0
  120. package/dist/chunk-XZSEZMIJ.js +86 -0
  121. package/dist/chunk-Y42IKJUR.js +274 -0
  122. package/dist/chunk-YOLHBAFQ.js +98 -0
  123. package/dist/chunk-YYR2V4P2.js +398 -0
  124. package/dist/claim-BKL4MHXW.js +219 -0
  125. package/dist/cli.js +35 -35
  126. package/dist/companies-QZRJKCET.js +37 -0
  127. package/dist/company-Y3LFFHAB.js +312 -0
  128. package/dist/complete-BFTQNO5T.js +88 -0
  129. package/dist/connect-EDIGCMRS.js +47 -0
  130. package/dist/conversation-2BPDJF32.js +101 -0
  131. package/dist/conversion-report-6DLSLJC5.js +130 -0
  132. package/dist/conversion-upload-command-HSPAW6UV.js +459 -0
  133. package/dist/conversion-writes-4H2LTWBX.js +194 -0
  134. package/dist/conversions-FFAOHLGH.js +142 -0
  135. package/dist/conversions-L37NR2WG.js +78 -0
  136. package/dist/create-4KBZXG2M.js +357 -0
  137. package/dist/create-CGDCPZZC.js +66 -0
  138. package/dist/create-KS3DTRLE.js +220 -0
  139. package/dist/create-M7WZG6JL.js +191 -0
  140. package/dist/creatives-4CTI4QFC.js +48 -0
  141. package/dist/creatives-6XETXYDO.js +236 -0
  142. package/dist/credentials-EJT7WQ2Y.js +292 -0
  143. package/dist/critique-KQXZUAX6.js +231 -0
  144. package/dist/crm-EW6P2TH5.js +419 -0
  145. package/dist/crm-PZAO2DRD.js +328 -0
  146. package/dist/currency-H3R26VU4.js +91 -0
  147. package/dist/customers-K7HQKTTV.js +70 -0
  148. package/dist/data-JRLTQ2ZL.js +665 -0
  149. package/dist/delete-LIF5L55A.js +72 -0
  150. package/dist/delete-OC2LTWO5.js +61 -0
  151. package/dist/delete-WKOWX2ED.js +71 -0
  152. package/dist/demographics-QA2F6OXW.js +146 -0
  153. package/dist/discard-AE7I4F7U.js +73 -0
  154. package/dist/discover-6FNEE7XD.js +191 -0
  155. package/dist/domain-EU6O7ZOF.js +105 -0
  156. package/dist/download-T4EYBZ5O.js +175 -0
  157. package/dist/draft-BF5J26YI.js +390 -0
  158. package/dist/draft-DMLYCHOD.js +428 -0
  159. package/dist/draft-F2MRYZ2E.js +584 -0
  160. package/dist/draft-JBOP6VO5.js +228 -0
  161. package/dist/draft-JMMX67IN.js +340 -0
  162. package/dist/draft-PQRO7SXV.js +643 -0
  163. package/dist/engine/index.js +10 -10
  164. package/dist/experiments-4YCLHCKM.js +242 -0
  165. package/dist/extract-E7G2WUXY.js +178 -0
  166. package/dist/facets-7G6S4LOF.js +161 -0
  167. package/dist/feedback-ZFZLQE77.js +154 -0
  168. package/dist/fetch-C6J2DDRV.js +488 -0
  169. package/dist/fit-2DLVM7BM.js +70 -0
  170. package/dist/flows-XP5BUFQN.js +406 -0
  171. package/dist/forecast-7EEMDWGW.js +190 -0
  172. package/dist/forecast-LFMI2NRN.js +123 -0
  173. package/dist/funnel-TSV2MCCD.js +702 -0
  174. package/dist/generate-4SNNAXXW.js +265 -0
  175. package/dist/get-2IJ7MQYN.js +115 -0
  176. package/dist/get-GFEHTI6S.js +78 -0
  177. package/dist/google-7EYWYVHZ.js +165 -0
  178. package/dist/google-QKCCBY3U.js +3809 -0
  179. package/dist/google-ads-EHKUZPQ2.js +231 -0
  180. package/dist/history-7VIUDUWI.js +204 -0
  181. package/dist/history-RERPC5DK.js +156 -0
  182. package/dist/history-XXU52KPZ.js +109 -0
  183. package/dist/hubspot-IJBHLBN6.js +1047 -0
  184. package/dist/ideas-WNWJDDSK.js +50 -0
  185. package/dist/images-GYHMQ2XY.js +92 -0
  186. package/dist/ingest-4EUUKCKH.js +32 -0
  187. package/dist/ingest-PIFUJ32K.js +163 -0
  188. package/dist/insights-E3VPRDIZ.js +151 -0
  189. package/dist/inspect-C4ECCQPM.js +39 -0
  190. package/dist/intent-7AY7ISL3.js +97 -0
  191. package/dist/keyword-gap-4LVY3I2W.js +173 -0
  192. package/dist/keyword-metrics-EF7I4LX6.js +235 -0
  193. package/dist/keywords-for-site-3S7HUEOK.js +135 -0
  194. package/dist/languages-ILBO7WGO.js +41 -0
  195. package/dist/layerize-LMVMY3WA.js +199 -0
  196. package/dist/leads-HVQE3XT3.js +138 -0
  197. package/dist/learn-NV4SRFQ2.js +214 -0
  198. package/dist/library-ZMRZKIP3.js +234 -0
  199. package/dist/line-item-writes-4V4E3RPV.js +213 -0
  200. package/dist/line-items-FKLEDOGM.js +107 -0
  201. package/dist/link-OFRPGKBJ.js +71 -0
  202. package/dist/linkedin-DV3NLAYR.js +1517 -0
  203. package/dist/linkedin-person-UX22W7Q4.js +143 -0
  204. package/dist/list-XPSK56ZV.js +227 -0
  205. package/dist/list-XXGX3UTA.js +90 -0
  206. package/dist/list-YRTLE3TY.js +321 -0
  207. package/dist/locations-HAEZGVNR.js +41 -0
  208. package/dist/locations-ZV6EK2BK.js +69 -0
  209. package/dist/log-VK4XQH2E.js +99 -0
  210. package/dist/make-ZWWFIHS7.js +1392 -0
  211. package/dist/map-X5Z5SKBH.js +520 -0
  212. package/dist/mcp-DZ6GP3W4.js +1028 -0
  213. package/dist/media-sources-HCG7F3LK.js +35 -0
  214. package/dist/members-2OW2E4V5.js +51 -0
  215. package/dist/meta-OTEBUJM5.js +152 -0
  216. package/dist/metrics-D6ECYE4M.js +193 -0
  217. package/dist/models-TVAUSO3P.js +155 -0
  218. package/dist/normalize-DUAM27CB.js +146 -0
  219. package/dist/options-TNMBBMG4.js +127 -0
  220. package/dist/organization-FNJETQM6.js +950 -0
  221. package/dist/people-QVLLTFQH.js +162 -0
  222. package/dist/people-ZICXKKAT.js +172 -0
  223. package/dist/performance-EMLMEURS.js +6361 -0
  224. package/dist/performance-K4T6F6BN.js +29 -0
  225. package/dist/pipedrive-462PVHZG.js +534 -0
  226. package/dist/pixels-NGCNKAV5.js +62 -0
  227. package/dist/preview-WNAADREE.js +151 -0
  228. package/dist/promoted-tweet-writes-3SF76O6D.js +185 -0
  229. package/dist/promoted-tweets-RCXRBBHU.js +119 -0
  230. package/dist/publish-O2DSFXAI.js +431 -0
  231. package/dist/query-OZ3E7BEL.js +68 -0
  232. package/dist/reddit-QTEDTC6G.js +31 -0
  233. package/dist/refresh-5OOWS5UO.js +101 -0
  234. package/dist/release-X4CIJZ5I.js +67 -0
  235. package/dist/relevant-pages-UT2RWLPT.js +101 -0
  236. package/dist/remove-DFXKRRKA.js +55 -0
  237. package/dist/reopen-TUZU472P.js +70 -0
  238. package/dist/rerun-EPOZ5TFN.js +102 -0
  239. package/dist/research-MKVG5CMO.js +78 -0
  240. package/dist/research-VSEWUT7M.js +267 -0
  241. package/dist/reset-5SW6JO5I.js +59 -0
  242. package/dist/reset-LWKGQRSL.js +59 -0
  243. package/dist/resolve-4QCC47Y7.js +126 -0
  244. package/dist/retry-3IOHNLAY.js +67 -0
  245. package/dist/retry-6KJWEBVL.js +67 -0
  246. package/dist/revenue-SFTLUVCP.js +100 -0
  247. package/dist/rules-UEZ47CLD.js +164 -0
  248. package/dist/run-UYW237LG.js +79 -0
  249. package/dist/run-ZCF34L47.js +74 -0
  250. package/dist/scaffold-ad-VRICMVNY.js +1604 -0
  251. package/dist/scaffold-static-ad-4N5SUIOM.js +999 -0
  252. package/dist/scaffold-video-GIUUM2IK.js +890 -0
  253. package/dist/schedule-KNY746WC.js +66 -0
  254. package/dist/scheduled-agents-SRGNGVN5.js +59 -0
  255. package/dist/schema-AGDLXVIA.js +241 -0
  256. package/dist/schema-VBDTM46Q.js +137 -0
  257. package/dist/search-C7XWAVEN.js +230 -0
  258. package/dist/search-terms-OJHLE5K6.js +413 -0
  259. package/dist/select-C4JVPFJW.js +135 -0
  260. package/dist/set-QUEAN5H3.js +287 -0
  261. package/dist/set-prompt-W4SQM5RG.js +205 -0
  262. package/dist/setup-links-DUPXAVFA.js +146 -0
  263. package/dist/shopify-FEV7E7MV.js +4034 -0
  264. package/dist/site-DR2CFTHG.js +182 -0
  265. package/dist/sources-3NP3RF3T.js +491 -0
  266. package/dist/sources-3VQNUCVO.js +30 -0
  267. package/dist/stale-2SWWHH3Y.js +93 -0
  268. package/dist/status-PTK2QKZO.js +69 -0
  269. package/dist/stock-K5B22TUG.js +214 -0
  270. package/dist/studio-EUAQLXPF.js +49 -0
  271. package/dist/sync-CUE4VAMR.js +59 -0
  272. package/dist/sync-definition-XXAXCBBH.js +75 -0
  273. package/dist/tags-6QWS5TKQ.js +25 -0
  274. package/dist/tags-CGYJV5GB.js +194 -0
  275. package/dist/tags-IN3T7VGA.js +25 -0
  276. package/dist/tags-L4CZ4MDI.js +26 -0
  277. package/dist/tags-OVBEQMWV.js +25 -0
  278. package/dist/targeting-criteria-65JJBXGQ.js +113 -0
  279. package/dist/targets-T6233OVH.js +111 -0
  280. package/dist/testimonials-DXOW3S5R.js +32 -0
  281. package/dist/themes-FEYSJ7YX.js +103 -0
  282. package/dist/top-companies-DL7W7P23.js +251 -0
  283. package/dist/transcript-GG2XSKBR.js +169 -0
  284. package/dist/translate-IG6CZNKV.js +608 -0
  285. package/dist/triggers-NOH4ADIB.js +149 -0
  286. package/dist/unlink-Q7YPAUPD.js +74 -0
  287. package/dist/unstage-STPX5ZGN.js +93 -0
  288. package/dist/update-FZFFGPOY.js +70 -0
  289. package/dist/update-KOLPK3NQ.js +194 -0
  290. package/dist/update-THF3APVR.js +176 -0
  291. package/dist/update-XDIPHKSG.js +238 -0
  292. package/dist/upload-6HNL7RGJ.js +194 -0
  293. package/dist/upload-6HNL7RGJ.js.map +1 -0
  294. package/dist/upload-OENUWNCT.js +186 -0
  295. package/dist/upscale-PTKBZNR7.js +163 -0
  296. package/dist/url-options-VMLLSDWB.js +137 -0
  297. package/dist/url-params-YRITELRG.js +103 -0
  298. package/dist/use-SKBB26IU.js +117 -0
  299. package/dist/validate-247ZT7O3.js +181 -0
  300. package/dist/videos-5IDJFLV6.js +41 -0
  301. package/dist/viewer-check-4XHHLMNP.js +90 -0
  302. package/dist/visuals-2AQOAJHB.js +130 -0
  303. package/dist/web-DVZYXENJ.js +234 -0
  304. package/dist/winning-ads-2TFLIGYY.js +88 -0
  305. package/dist/write-commands-FQMTN4EJ.js +1556 -0
  306. package/dist/x-XLL3T5BT.js +47 -0
  307. package/package.json +1 -1
  308. package/dist/account-TOEH3E4V.js +0 -84
  309. package/dist/account-YLJRCKJD.js +0 -82
  310. package/dist/account-reads-QUKBCJ4I.js +0 -231
  311. package/dist/account-users-PRK7NXU4.js +0 -70
  312. package/dist/account-writes-WKG326GF.js +0 -68
  313. package/dist/accounts-HM2MOUCS.js +0 -571
  314. package/dist/accounts-HYSK5RVA.js +0 -122
  315. package/dist/accounts-VXJACI73.js +0 -82
  316. package/dist/actions-J4X5CD5U.js +0 -55
  317. package/dist/activecampaign-7E7FKMA2.js +0 -936
  318. package/dist/ad-group-writes-7D72YSZ3.js +0 -172
  319. package/dist/ad-groups-RKWIK443.js +0 -70
  320. package/dist/ad-writes-MVXTFP3G.js +0 -176
  321. package/dist/add-4EEJRILN.js +0 -663
  322. package/dist/add-CHJQ5W2O.js +0 -109
  323. package/dist/add-VKDDINLM.js +0 -662
  324. package/dist/ads-IZVXCAGD.js +0 -48
  325. package/dist/ads-OXSPFP7L.js +0 -79
  326. package/dist/advertisers-WTKSQCBD.js +0 -155
  327. package/dist/alerts-RC5HDS3D.js +0 -154
  328. package/dist/analytics-G7WXLSAB.js +0 -462
  329. package/dist/analytics-L2HEARYU.js +0 -2805
  330. package/dist/animate-M3NETBDU.js +0 -482
  331. package/dist/assign-NPJZFHPC.js +0 -84
  332. package/dist/audience-size-WKZGMCNU.js +0 -138
  333. package/dist/audiences-GQ3GFJGU.js +0 -280
  334. package/dist/audit-22DQDYDI.js +0 -156
  335. package/dist/autocomplete-YFF4WBEQ.js +0 -118
  336. package/dist/avatars-NLNOFORD.js +0 -38
  337. package/dist/bid-pricing-VVNXSHXS.js +0 -105
  338. package/dist/brief-ZTPOODB7.js +0 -512
  339. package/dist/campaign-groups-TUDQ27PF.js +0 -119
  340. package/dist/campaign-writes-4UXSPUWW.js +0 -170
  341. package/dist/campaign-writes-IYMSDPNS.js +0 -176
  342. package/dist/campaigns-7VPDCXNP.js +0 -111
  343. package/dist/campaigns-FNM4TOFC.js +0 -194
  344. package/dist/campaigns-MRQ6WXG7.js +0 -78
  345. package/dist/canvas-SRHL5ZHR.js +0 -48
  346. package/dist/capabilities-42OXSLHU.js +0 -185
  347. package/dist/catalog-F3HNLFJH.js +0 -90
  348. package/dist/catalogs-HW3VY4KU.js +0 -130
  349. package/dist/changes-6OHBEPGF.js +0 -288
  350. package/dist/chatgpt-2UCND7NY.js +0 -47
  351. package/dist/chats-5UPQ6F34.js +0 -730
  352. package/dist/check-5KREXPY7.js +0 -55
  353. package/dist/chunk-26BRCSWQ.js +0 -155
  354. package/dist/chunk-3HF745ZU.js +0 -405
  355. package/dist/chunk-3HKFU57Z.js +0 -78
  356. package/dist/chunk-3UZA2TVE.js +0 -64
  357. package/dist/chunk-3Z3DQD3S.js +0 -604
  358. package/dist/chunk-4J7GY4V4.js +0 -375
  359. package/dist/chunk-4SYBNYE2.js +0 -170
  360. package/dist/chunk-4VRVRA3E.js +0 -660
  361. package/dist/chunk-5SCUCAPZ.js +0 -863
  362. package/dist/chunk-5VGV7WYL.js +0 -86
  363. package/dist/chunk-655LRQK3.js +0 -63
  364. package/dist/chunk-6FXEUO2G.js +0 -26
  365. package/dist/chunk-6U5P7U2K.js +0 -3378
  366. package/dist/chunk-7KVXTJNE.js +0 -7856
  367. package/dist/chunk-7NKF4JLL.js +0 -10430
  368. package/dist/chunk-AK3TLOI2.js +0 -746
  369. package/dist/chunk-B55CVNVK.js +0 -98
  370. package/dist/chunk-BMCISGEJ.js +0 -262
  371. package/dist/chunk-BMNC4WMK.js +0 -303
  372. package/dist/chunk-BU5M3VGB.js +0 -103
  373. package/dist/chunk-C6HUH6FG.js +0 -430
  374. package/dist/chunk-CF22TBGU.js +0 -6340
  375. package/dist/chunk-CFZDQED4.js +0 -91
  376. package/dist/chunk-CRJKO2GW.js +0 -260
  377. package/dist/chunk-CXUWSUPP.js +0 -685
  378. package/dist/chunk-CXVNM264.js +0 -46
  379. package/dist/chunk-D5VJDPVW.js +0 -915
  380. package/dist/chunk-EJRVEUZW.js +0 -274
  381. package/dist/chunk-FRSG3BBL.js +0 -411
  382. package/dist/chunk-GWMIDTCA.js +0 -723
  383. package/dist/chunk-H2FLV4R7.js +0 -24026
  384. package/dist/chunk-H2FLV4R7.js.map +0 -1
  385. package/dist/chunk-HPCP3RIC.js +0 -89
  386. package/dist/chunk-HQGQW37N.js +0 -1124
  387. package/dist/chunk-HRS4W6A7.js +0 -329
  388. package/dist/chunk-ID2ULDOJ.js +0 -91
  389. package/dist/chunk-KOF2WH6V.js +0 -479
  390. package/dist/chunk-LBN6JRAN.js +0 -51
  391. package/dist/chunk-LGKMYNAW.js +0 -131
  392. package/dist/chunk-LGKMYNAW.js.map +0 -1
  393. package/dist/chunk-LGY43BST.js +0 -884
  394. package/dist/chunk-LQPWLCPL.js +0 -175
  395. package/dist/chunk-MOOTQZZB.js +0 -398
  396. package/dist/chunk-MV2HPZMW.js +0 -550
  397. package/dist/chunk-MVNXGETW.js +0 -749
  398. package/dist/chunk-NB5OR67T.js +0 -1883
  399. package/dist/chunk-NCS4E4YX.js +0 -3252
  400. package/dist/chunk-NCS4E4YX.js.map +0 -1
  401. package/dist/chunk-NESWSXLV.js +0 -505
  402. package/dist/chunk-NF5D3VYI.js +0 -337
  403. package/dist/chunk-NGYRPA7Y.js +0 -76
  404. package/dist/chunk-OE57TJBJ.js +0 -9127
  405. package/dist/chunk-OGG7DKN5.js +0 -1577
  406. package/dist/chunk-ONHHXBOH.js +0 -252
  407. package/dist/chunk-ORKQSFNI.js +0 -23
  408. package/dist/chunk-OXYSXFF3.js +0 -285
  409. package/dist/chunk-P7YPWBEV.js +0 -531
  410. package/dist/chunk-P7YPWBEV.js.map +0 -1
  411. package/dist/chunk-QI6ALVEZ.js +0 -313
  412. package/dist/chunk-QPLB53AQ.js +0 -224
  413. package/dist/chunk-RRSGZYWO.js +0 -202
  414. package/dist/chunk-S4S54FZU.js +0 -547
  415. package/dist/chunk-TGEE6G6J.js +0 -142
  416. package/dist/chunk-U72TSCKL.js +0 -341
  417. package/dist/chunk-UOWPRJIX.js +0 -732
  418. package/dist/chunk-W736BTE7.js +0 -170
  419. package/dist/chunk-WDC5L2T6.js +0 -1862
  420. package/dist/chunk-WSYTRJN7.js +0 -147
  421. package/dist/chunk-WTWO46FT.js +0 -4655
  422. package/dist/chunk-WTWO46FT.js.map +0 -1
  423. package/dist/chunk-XDOF4LGD.js +0 -163
  424. package/dist/chunk-XHTFXA2A.js +0 -197
  425. package/dist/chunk-XKLJPKZA.js +0 -374
  426. package/dist/chunk-XLCLPLMB.js +0 -423
  427. package/dist/chunk-XPHCG2JN.js +0 -509
  428. package/dist/chunk-ZIJFBEFI.js +0 -127
  429. package/dist/chunk-ZRYKGLSY.js +0 -152
  430. package/dist/claim-HB7CBTJH.js +0 -219
  431. package/dist/companies-HKMERSJP.js +0 -37
  432. package/dist/company-PGWIDFMQ.js +0 -312
  433. package/dist/complete-RMJYSYOL.js +0 -88
  434. package/dist/connect-2KDGUVY5.js +0 -47
  435. package/dist/conversation-VDRLFRMI.js +0 -101
  436. package/dist/conversion-report-RJ5Z6JDW.js +0 -130
  437. package/dist/conversion-upload-command-TCMORMHM.js +0 -459
  438. package/dist/conversion-writes-LYZFMH5I.js +0 -194
  439. package/dist/conversions-ANAJMGHI.js +0 -142
  440. package/dist/conversions-ZLBWAXLT.js +0 -78
  441. package/dist/create-7R6W42ZB.js +0 -66
  442. package/dist/create-CPYP5LGS.js +0 -191
  443. package/dist/create-H43T7PXI.js +0 -220
  444. package/dist/create-QCCLMAPL.js +0 -357
  445. package/dist/creatives-HMFAG44S.js +0 -48
  446. package/dist/creatives-PDDLZQHU.js +0 -236
  447. package/dist/credentials-CWBYEI5M.js +0 -292
  448. package/dist/critique-5FZ35QNP.js +0 -231
  449. package/dist/crm-NZHLWC3H.js +0 -328
  450. package/dist/crm-STN3YKV5.js +0 -419
  451. package/dist/currency-DMVRKQRJ.js +0 -91
  452. package/dist/customers-JMKJA4LI.js +0 -70
  453. package/dist/data-CIPG3EOP.js +0 -665
  454. package/dist/delete-DAMPOWQV.js +0 -72
  455. package/dist/delete-VC4XSYJ6.js +0 -71
  456. package/dist/delete-VNITJJCY.js +0 -61
  457. package/dist/demographics-6QTIHC22.js +0 -146
  458. package/dist/discard-6JBN263B.js +0 -73
  459. package/dist/discover-MXXNEDJC.js +0 -191
  460. package/dist/domain-X2CHPUEN.js +0 -105
  461. package/dist/download-EFRVIWUQ.js +0 -175
  462. package/dist/draft-3TU2DOG4.js +0 -390
  463. package/dist/draft-7QREAYBZ.js +0 -340
  464. package/dist/draft-GGCV5MUR.js +0 -643
  465. package/dist/draft-GGQKDNLL.js +0 -584
  466. package/dist/draft-LXNUTJCQ.js +0 -228
  467. package/dist/draft-PDUPYLHU.js +0 -428
  468. package/dist/experiments-327DBJOV.js +0 -242
  469. package/dist/extract-RT7UACSI.js +0 -178
  470. package/dist/facets-DOAWYVYW.js +0 -161
  471. package/dist/feedback-VSKQVHQT.js +0 -154
  472. package/dist/fetch-7ZYOMTQT.js +0 -488
  473. package/dist/fit-M6X35XGV.js +0 -70
  474. package/dist/flows-ZTK45AAV.js +0 -406
  475. package/dist/forecast-DR3XIMIX.js +0 -123
  476. package/dist/forecast-F4HFL5V2.js +0 -190
  477. package/dist/funnel-UOUUAU3D.js +0 -702
  478. package/dist/generate-DWAKBRQJ.js +0 -265
  479. package/dist/get-H4O2BE3W.js +0 -78
  480. package/dist/get-SNNCIKBO.js +0 -115
  481. package/dist/google-EF34XOH6.js +0 -3809
  482. package/dist/google-EQTWYOMA.js +0 -165
  483. package/dist/google-ads-WQMWXVEI.js +0 -231
  484. package/dist/history-U2ZXDZBP.js +0 -156
  485. package/dist/history-XRSQD2R7.js +0 -204
  486. package/dist/history-Y5S4LPC7.js +0 -109
  487. package/dist/hubspot-MIKWDLVS.js +0 -1047
  488. package/dist/ideas-QL7DO5FR.js +0 -50
  489. package/dist/images-U3UK3W5X.js +0 -92
  490. package/dist/ingest-E6NA6MLE.js +0 -163
  491. package/dist/ingest-PDCY7GTG.js +0 -32
  492. package/dist/insights-53JGBSF7.js +0 -151
  493. package/dist/inspect-2SC5HQO4.js +0 -39
  494. package/dist/intent-RCDG2YEC.js +0 -97
  495. package/dist/keyword-gap-RS234V7N.js +0 -173
  496. package/dist/keyword-metrics-PTGZNTVE.js +0 -235
  497. package/dist/keywords-for-site-HPBUYQAE.js +0 -135
  498. package/dist/languages-EHVUCBTM.js +0 -41
  499. package/dist/layerize-W5LFPQCO.js +0 -199
  500. package/dist/leads-Q7FG7CDN.js +0 -138
  501. package/dist/learn-WN54VXO6.js +0 -214
  502. package/dist/library-K6FRTCVK.js +0 -234
  503. package/dist/line-item-writes-ISLEC7ZN.js +0 -213
  504. package/dist/line-items-NRZ24KDM.js +0 -107
  505. package/dist/link-RGLL45F5.js +0 -71
  506. package/dist/linkedin-XBQMI42D.js +0 -1517
  507. package/dist/linkedin-person-3DPYF6L6.js +0 -143
  508. package/dist/list-533GIXG7.js +0 -321
  509. package/dist/list-FZ4NFRRR.js +0 -90
  510. package/dist/list-RWQLAWO3.js +0 -227
  511. package/dist/locations-2NEDMFS5.js +0 -41
  512. package/dist/locations-RHTUYWMC.js +0 -69
  513. package/dist/log-IFLF3DZZ.js +0 -99
  514. package/dist/make-DDMTAGUB.js +0 -1392
  515. package/dist/map-O37XED7M.js +0 -520
  516. package/dist/mcp-MZ3HVDYY.js +0 -1028
  517. package/dist/media-sources-52FXNGXC.js +0 -35
  518. package/dist/members-PDYPCF27.js +0 -51
  519. package/dist/meta-HK5PYNRM.js +0 -152
  520. package/dist/metrics-TSRFLNLI.js +0 -193
  521. package/dist/models-DV4G4A2W.js +0 -155
  522. package/dist/normalize-ONUJO2N4.js +0 -146
  523. package/dist/options-K3N7JI4H.js +0 -127
  524. package/dist/organization-RDZ4FOC4.js +0 -950
  525. package/dist/people-NR7JT5VV.js +0 -162
  526. package/dist/people-RWHZBUJU.js +0 -172
  527. package/dist/performance-UABHGDYV.js +0 -6361
  528. package/dist/performance-XIZ43WKC.js +0 -29
  529. package/dist/pipedrive-IDA44I2X.js +0 -534
  530. package/dist/pixels-T73SVZ4G.js +0 -62
  531. package/dist/preview-PM3SAC4G.js +0 -151
  532. package/dist/promoted-tweet-writes-GW7G3WN5.js +0 -185
  533. package/dist/promoted-tweets-A4BD3ZMR.js +0 -119
  534. package/dist/publish-XGJXWQM3.js +0 -431
  535. package/dist/query-SG6ILF5G.js +0 -68
  536. package/dist/reddit-VVKTK7DX.js +0 -31
  537. package/dist/refresh-QOA6XQ65.js +0 -101
  538. package/dist/release-5ZIDVDEO.js +0 -67
  539. package/dist/relevant-pages-CFBI4BIH.js +0 -101
  540. package/dist/remove-2YY2CCVU.js +0 -55
  541. package/dist/reopen-LKJUT6M2.js +0 -70
  542. package/dist/rerun-RPS5GK62.js +0 -102
  543. package/dist/research-6WCBKLTG.js +0 -267
  544. package/dist/research-EDTPCX3O.js +0 -78
  545. package/dist/reset-J33M64KW.js +0 -59
  546. package/dist/reset-MUH7FKOG.js +0 -59
  547. package/dist/resolve-5HZJEXLJ.js +0 -126
  548. package/dist/retry-32GYJQAF.js +0 -67
  549. package/dist/retry-ZHRDMM4Y.js +0 -67
  550. package/dist/revenue-IRF25ISM.js +0 -100
  551. package/dist/rules-BUPUJ556.js +0 -164
  552. package/dist/run-55JPIRYI.js +0 -74
  553. package/dist/run-Y2RXME5N.js +0 -79
  554. package/dist/scaffold-ad-TK6V3TYJ.js +0 -1604
  555. package/dist/scaffold-static-ad-RQXSGRE2.js +0 -999
  556. package/dist/scaffold-video-KTNSYWMY.js +0 -890
  557. package/dist/schedule-PVUKPBF7.js +0 -66
  558. package/dist/scheduled-agents-J6RTT7HY.js +0 -59
  559. package/dist/schema-7CKXBHF6.js +0 -137
  560. package/dist/schema-RVA6JSZE.js +0 -241
  561. package/dist/search-RC57DNMJ.js +0 -230
  562. package/dist/search-terms-2L6UMZCC.js +0 -413
  563. package/dist/select-YZWK2TON.js +0 -135
  564. package/dist/set-OKT7Q7EC.js +0 -287
  565. package/dist/set-prompt-T6HC54TW.js +0 -205
  566. package/dist/setup-links-EQ6GH6M5.js +0 -146
  567. package/dist/shopify-SC35E5P2.js +0 -4034
  568. package/dist/site-FZOS2U6Q.js +0 -182
  569. package/dist/sources-FTPQFFNW.js +0 -30
  570. package/dist/sources-QNQ6G542.js +0 -491
  571. package/dist/stale-ITQGFBIM.js +0 -93
  572. package/dist/status-XBRPJ4K2.js +0 -69
  573. package/dist/stock-NVJJVJHU.js +0 -214
  574. package/dist/studio-PD4VOHWX.js +0 -49
  575. package/dist/sync-DBNMW75Z.js +0 -59
  576. package/dist/sync-definition-2DVZY5BF.js +0 -75
  577. package/dist/tags-3MY3BEYO.js +0 -25
  578. package/dist/tags-HFUEFAZ3.js +0 -194
  579. package/dist/tags-JZZLDVAL.js +0 -26
  580. package/dist/tags-WT4JEJKW.js +0 -25
  581. package/dist/tags-WYXVFNS6.js +0 -25
  582. package/dist/targeting-criteria-XSHY2DFD.js +0 -113
  583. package/dist/targets-7PEAIBIW.js +0 -111
  584. package/dist/testimonials-FISOPTG7.js +0 -32
  585. package/dist/themes-CUDXWVL5.js +0 -103
  586. package/dist/top-companies-W54NEMWC.js +0 -251
  587. package/dist/transcript-SSNS4QFB.js +0 -169
  588. package/dist/translate-FLHWVGGX.js +0 -608
  589. package/dist/triggers-IDAX2LC2.js +0 -149
  590. package/dist/unlink-4T4VDJKZ.js +0 -74
  591. package/dist/unstage-LGI45U54.js +0 -93
  592. package/dist/update-IWH7W6AN.js +0 -194
  593. package/dist/update-JGDBBM3K.js +0 -70
  594. package/dist/update-NF65Y4D5.js +0 -238
  595. package/dist/update-NQJ5Z25G.js +0 -176
  596. package/dist/upload-HDCRJ2PX.js +0 -194
  597. package/dist/upload-HDCRJ2PX.js.map +0 -1
  598. package/dist/upload-QMRLYKE3.js +0 -186
  599. package/dist/upscale-BI4JV3RV.js +0 -163
  600. package/dist/url-options-GJANKQRI.js +0 -137
  601. package/dist/url-params-3E7UZLDC.js +0 -103
  602. package/dist/use-HSV5A7GD.js +0 -117
  603. package/dist/validate-TX55AW42.js +0 -181
  604. package/dist/videos-UB7JKFSO.js +0 -41
  605. package/dist/viewer-check-AJS7WL2T.js +0 -90
  606. package/dist/visuals-T3KWSWNY.js +0 -130
  607. package/dist/web-XBZRZCDY.js +0 -234
  608. package/dist/winning-ads-YS6R4XOV.js +0 -88
  609. package/dist/write-commands-NC2MDQGP.js +0 -1556
  610. package/dist/x-LXXN47TR.js +0 -47
  611. /package/dist/{account-TOEH3E4V.js.map → account-EPISWQXN.js.map} +0 -0
  612. /package/dist/{account-YLJRCKJD.js.map → account-RLE73GWJ.js.map} +0 -0
  613. /package/dist/{account-reads-QUKBCJ4I.js.map → account-reads-NIYUPB4Q.js.map} +0 -0
  614. /package/dist/{account-users-PRK7NXU4.js.map → account-users-ZAHAMJY3.js.map} +0 -0
  615. /package/dist/{account-writes-WKG326GF.js.map → account-writes-VQG2DIL2.js.map} +0 -0
  616. /package/dist/{accounts-HYSK5RVA.js.map → accounts-FDWK2Z3I.js.map} +0 -0
  617. /package/dist/{accounts-HM2MOUCS.js.map → accounts-VX4F6AND.js.map} +0 -0
  618. /package/dist/{accounts-VXJACI73.js.map → accounts-X7T2363C.js.map} +0 -0
  619. /package/dist/{actions-J4X5CD5U.js.map → actions-NZCXIKX6.js.map} +0 -0
  620. /package/dist/{activecampaign-7E7FKMA2.js.map → activecampaign-BHRKCXM2.js.map} +0 -0
  621. /package/dist/{ad-group-writes-7D72YSZ3.js.map → ad-group-writes-6NSPVPO2.js.map} +0 -0
  622. /package/dist/{ad-groups-RKWIK443.js.map → ad-groups-XPFBEDTX.js.map} +0 -0
  623. /package/dist/{ad-writes-MVXTFP3G.js.map → ad-writes-ZFT6N6L4.js.map} +0 -0
  624. /package/dist/{add-CHJQ5W2O.js.map → add-2Y56PJTG.js.map} +0 -0
  625. /package/dist/{add-4EEJRILN.js.map → add-ELMTGPZJ.js.map} +0 -0
  626. /package/dist/{add-VKDDINLM.js.map → add-IREFV3CU.js.map} +0 -0
  627. /package/dist/{ads-IZVXCAGD.js.map → ads-444TBIHR.js.map} +0 -0
  628. /package/dist/{ads-OXSPFP7L.js.map → ads-MF3RBGLM.js.map} +0 -0
  629. /package/dist/{advertisers-WTKSQCBD.js.map → advertisers-YZ4DZN5I.js.map} +0 -0
  630. /package/dist/{alerts-RC5HDS3D.js.map → alerts-566QNP6R.js.map} +0 -0
  631. /package/dist/{analytics-G7WXLSAB.js.map → analytics-PUDWRGO2.js.map} +0 -0
  632. /package/dist/{analytics-L2HEARYU.js.map → analytics-ZSJW3WQM.js.map} +0 -0
  633. /package/dist/{animate-M3NETBDU.js.map → animate-BXJTVL3A.js.map} +0 -0
  634. /package/dist/{assign-NPJZFHPC.js.map → assign-26RJHFHN.js.map} +0 -0
  635. /package/dist/{audience-size-WKZGMCNU.js.map → audience-size-R4ICYDR2.js.map} +0 -0
  636. /package/dist/{audiences-GQ3GFJGU.js.map → audiences-H54RA555.js.map} +0 -0
  637. /package/dist/{audit-22DQDYDI.js.map → audit-XDM4OVLZ.js.map} +0 -0
  638. /package/dist/{autocomplete-YFF4WBEQ.js.map → autocomplete-A3PU2QH4.js.map} +0 -0
  639. /package/dist/{avatars-NLNOFORD.js.map → avatars-MNBYCXEB.js.map} +0 -0
  640. /package/dist/{bid-pricing-VVNXSHXS.js.map → bid-pricing-GFVZNBYJ.js.map} +0 -0
  641. /package/dist/{brief-ZTPOODB7.js.map → brief-YLDCRURO.js.map} +0 -0
  642. /package/dist/{campaign-groups-TUDQ27PF.js.map → campaign-groups-KWFQRWIG.js.map} +0 -0
  643. /package/dist/{campaign-writes-IYMSDPNS.js.map → campaign-writes-5CEFKZV5.js.map} +0 -0
  644. /package/dist/{campaign-writes-4UXSPUWW.js.map → campaign-writes-LULJQAZY.js.map} +0 -0
  645. /package/dist/{campaigns-MRQ6WXG7.js.map → campaigns-444D7YJ7.js.map} +0 -0
  646. /package/dist/{campaigns-FNM4TOFC.js.map → campaigns-4JVCQH7B.js.map} +0 -0
  647. /package/dist/{campaigns-7VPDCXNP.js.map → campaigns-UE5EBYD5.js.map} +0 -0
  648. /package/dist/{canvas-SRHL5ZHR.js.map → canvas-3QROYD2F.js.map} +0 -0
  649. /package/dist/{capabilities-42OXSLHU.js.map → capabilities-VWOFXKTM.js.map} +0 -0
  650. /package/dist/{catalog-F3HNLFJH.js.map → catalog-OU7OVKPX.js.map} +0 -0
  651. /package/dist/{catalogs-HW3VY4KU.js.map → catalogs-F33HX4RG.js.map} +0 -0
  652. /package/dist/{changes-6OHBEPGF.js.map → changes-RQEDNLIX.js.map} +0 -0
  653. /package/dist/{chatgpt-2UCND7NY.js.map → chatgpt-GEBWPTMO.js.map} +0 -0
  654. /package/dist/{chats-5UPQ6F34.js.map → chats-R4AETDGO.js.map} +0 -0
  655. /package/dist/{check-5KREXPY7.js.map → check-M2Q3NP5Y.js.map} +0 -0
  656. /package/dist/{chunk-TGEE6G6J.js.map → chunk-26PCRPMS.js.map} +0 -0
  657. /package/dist/{chunk-AK3TLOI2.js.map → chunk-2GSVULQQ.js.map} +0 -0
  658. /package/dist/{chunk-OE57TJBJ.js.map → chunk-2KP34BGG.js.map} +0 -0
  659. /package/dist/{chunk-6U5P7U2K.js.map → chunk-2ZR6ZEXO.js.map} +0 -0
  660. /package/dist/{chunk-D5VJDPVW.js.map → chunk-36EP3NUV.js.map} +0 -0
  661. /package/dist/{chunk-OXYSXFF3.js.map → chunk-37ZFOL3T.js.map} +0 -0
  662. /package/dist/{chunk-26BRCSWQ.js.map → chunk-423PBTX5.js.map} +0 -0
  663. /package/dist/{chunk-U72TSCKL.js.map → chunk-4QG6UJOJ.js.map} +0 -0
  664. /package/dist/{chunk-XHTFXA2A.js.map → chunk-4R4J4H2G.js.map} +0 -0
  665. /package/dist/{chunk-WSYTRJN7.js.map → chunk-5GAL274H.js.map} +0 -0
  666. /package/dist/{chunk-HPCP3RIC.js.map → chunk-5ZFH74JL.js.map} +0 -0
  667. /package/dist/{chunk-3HF745ZU.js.map → chunk-6LAJPHZV.js.map} +0 -0
  668. /package/dist/{chunk-7KVXTJNE.js.map → chunk-72HHO63O.js.map} +0 -0
  669. /package/dist/{chunk-5SCUCAPZ.js.map → chunk-7XFLQX2F.js.map} +0 -0
  670. /package/dist/{chunk-CXVNM264.js.map → chunk-7YYB62Q6.js.map} +0 -0
  671. /package/dist/{chunk-LBN6JRAN.js.map → chunk-A6DAGR3A.js.map} +0 -0
  672. /package/dist/{chunk-NESWSXLV.js.map → chunk-ABSCXA3F.js.map} +0 -0
  673. /package/dist/{chunk-S4S54FZU.js.map → chunk-BFMO7YQ2.js.map} +0 -0
  674. /package/dist/{chunk-HQGQW37N.js.map → chunk-BM6U6YLL.js.map} +0 -0
  675. /package/dist/{chunk-ONHHXBOH.js.map → chunk-CDWPTAKO.js.map} +0 -0
  676. /package/dist/{chunk-6FXEUO2G.js.map → chunk-CQGA6W4H.js.map} +0 -0
  677. /package/dist/{chunk-3UZA2TVE.js.map → chunk-DCEARGAC.js.map} +0 -0
  678. /package/dist/{chunk-CF22TBGU.js.map → chunk-DWXBB5DL.js.map} +0 -0
  679. /package/dist/{chunk-ORKQSFNI.js.map → chunk-ENRXB5EU.js.map} +0 -0
  680. /package/dist/{chunk-MVNXGETW.js.map → chunk-FKZSHI75.js.map} +0 -0
  681. /package/dist/{chunk-ZRYKGLSY.js.map → chunk-HO4OU5GT.js.map} +0 -0
  682. /package/dist/{chunk-7NKF4JLL.js.map → chunk-HQ2GNVOL.js.map} +0 -0
  683. /package/dist/{chunk-3Z3DQD3S.js.map → chunk-IHASMZN7.js.map} +0 -0
  684. /package/dist/{chunk-QPLB53AQ.js.map → chunk-JN3M5WM5.js.map} +0 -0
  685. /package/dist/{chunk-GWMIDTCA.js.map → chunk-KK6JTXF7.js.map} +0 -0
  686. /package/dist/{chunk-CFZDQED4.js.map → chunk-KMAPSDST.js.map} +0 -0
  687. /package/dist/{chunk-4VRVRA3E.js.map → chunk-LFKF6LGU.js.map} +0 -0
  688. /package/dist/{chunk-655LRQK3.js.map → chunk-M5ZGKKHB.js.map} +0 -0
  689. /package/dist/{chunk-MV2HPZMW.js.map → chunk-M7WIPSV3.js.map} +0 -0
  690. /package/dist/{chunk-CXUWSUPP.js.map → chunk-MEGGLBZJ.js.map} +0 -0
  691. /package/dist/{chunk-HRS4W6A7.js.map → chunk-MMSSU5GU.js.map} +0 -0
  692. /package/dist/{chunk-XPHCG2JN.js.map → chunk-NCHZMV67.js.map} +0 -0
  693. /package/dist/{chunk-BMNC4WMK.js.map → chunk-NZ67XYON.js.map} +0 -0
  694. /package/dist/{chunk-NGYRPA7Y.js.map → chunk-ODZ6UGC6.js.map} +0 -0
  695. /package/dist/{chunk-OGG7DKN5.js.map → chunk-OXC5TCEK.js.map} +0 -0
  696. /package/dist/{chunk-NB5OR67T.js.map → chunk-PAGDHHRH.js.map} +0 -0
  697. /package/dist/{chunk-QI6ALVEZ.js.map → chunk-PHF76O2A.js.map} +0 -0
  698. /package/dist/{chunk-W736BTE7.js.map → chunk-PNNRAXEV.js.map} +0 -0
  699. /package/dist/{chunk-LGY43BST.js.map → chunk-PQZBKJI7.js.map} +0 -0
  700. /package/dist/{chunk-FRSG3BBL.js.map → chunk-PYK6MBHA.js.map} +0 -0
  701. /package/dist/{chunk-4J7GY4V4.js.map → chunk-Q3V2PZTL.js.map} +0 -0
  702. /package/dist/{chunk-ZIJFBEFI.js.map → chunk-R2UE6S4P.js.map} +0 -0
  703. /package/dist/{chunk-CRJKO2GW.js.map → chunk-RD4WRFOX.js.map} +0 -0
  704. /package/dist/{chunk-LQPWLCPL.js.map → chunk-S3C6YEJR.js.map} +0 -0
  705. /package/dist/{chunk-NF5D3VYI.js.map → chunk-SKA63C4W.js.map} +0 -0
  706. /package/dist/{chunk-3HKFU57Z.js.map → chunk-TAI5ETVR.js.map} +0 -0
  707. /package/dist/{chunk-4SYBNYE2.js.map → chunk-TDWIAG56.js.map} +0 -0
  708. /package/dist/{chunk-RRSGZYWO.js.map → chunk-TDYNWCL3.js.map} +0 -0
  709. /package/dist/{chunk-ID2ULDOJ.js.map → chunk-U6VDR7JT.js.map} +0 -0
  710. /package/dist/{chunk-XDOF4LGD.js.map → chunk-UJXWYARJ.js.map} +0 -0
  711. /package/dist/{chunk-C6HUH6FG.js.map → chunk-UKETWBTK.js.map} +0 -0
  712. /package/dist/{chunk-BU5M3VGB.js.map → chunk-UQBLW6AJ.js.map} +0 -0
  713. /package/dist/{chunk-WDC5L2T6.js.map → chunk-V4LQLLV7.js.map} +0 -0
  714. /package/dist/{chunk-UOWPRJIX.js.map → chunk-V52PW3C3.js.map} +0 -0
  715. /package/dist/{chunk-KOF2WH6V.js.map → chunk-VGCNADUM.js.map} +0 -0
  716. /package/dist/{chunk-XLCLPLMB.js.map → chunk-WQ3O2CNQ.js.map} +0 -0
  717. /package/dist/{chunk-BMCISGEJ.js.map → chunk-XAENYR2X.js.map} +0 -0
  718. /package/dist/{chunk-XKLJPKZA.js.map → chunk-XL6IIZZT.js.map} +0 -0
  719. /package/dist/{chunk-5VGV7WYL.js.map → chunk-XZSEZMIJ.js.map} +0 -0
  720. /package/dist/{chunk-EJRVEUZW.js.map → chunk-Y42IKJUR.js.map} +0 -0
  721. /package/dist/{chunk-B55CVNVK.js.map → chunk-YOLHBAFQ.js.map} +0 -0
  722. /package/dist/{chunk-MOOTQZZB.js.map → chunk-YYR2V4P2.js.map} +0 -0
  723. /package/dist/{claim-HB7CBTJH.js.map → claim-BKL4MHXW.js.map} +0 -0
  724. /package/dist/{companies-HKMERSJP.js.map → companies-QZRJKCET.js.map} +0 -0
  725. /package/dist/{company-PGWIDFMQ.js.map → company-Y3LFFHAB.js.map} +0 -0
  726. /package/dist/{complete-RMJYSYOL.js.map → complete-BFTQNO5T.js.map} +0 -0
  727. /package/dist/{connect-2KDGUVY5.js.map → connect-EDIGCMRS.js.map} +0 -0
  728. /package/dist/{conversation-VDRLFRMI.js.map → conversation-2BPDJF32.js.map} +0 -0
  729. /package/dist/{conversion-report-RJ5Z6JDW.js.map → conversion-report-6DLSLJC5.js.map} +0 -0
  730. /package/dist/{conversion-upload-command-TCMORMHM.js.map → conversion-upload-command-HSPAW6UV.js.map} +0 -0
  731. /package/dist/{conversion-writes-LYZFMH5I.js.map → conversion-writes-4H2LTWBX.js.map} +0 -0
  732. /package/dist/{conversions-ANAJMGHI.js.map → conversions-FFAOHLGH.js.map} +0 -0
  733. /package/dist/{conversions-ZLBWAXLT.js.map → conversions-L37NR2WG.js.map} +0 -0
  734. /package/dist/{create-QCCLMAPL.js.map → create-4KBZXG2M.js.map} +0 -0
  735. /package/dist/{create-7R6W42ZB.js.map → create-CGDCPZZC.js.map} +0 -0
  736. /package/dist/{create-H43T7PXI.js.map → create-KS3DTRLE.js.map} +0 -0
  737. /package/dist/{create-CPYP5LGS.js.map → create-M7WZG6JL.js.map} +0 -0
  738. /package/dist/{creatives-HMFAG44S.js.map → creatives-4CTI4QFC.js.map} +0 -0
  739. /package/dist/{creatives-PDDLZQHU.js.map → creatives-6XETXYDO.js.map} +0 -0
  740. /package/dist/{credentials-CWBYEI5M.js.map → credentials-EJT7WQ2Y.js.map} +0 -0
  741. /package/dist/{critique-5FZ35QNP.js.map → critique-KQXZUAX6.js.map} +0 -0
  742. /package/dist/{crm-STN3YKV5.js.map → crm-EW6P2TH5.js.map} +0 -0
  743. /package/dist/{crm-NZHLWC3H.js.map → crm-PZAO2DRD.js.map} +0 -0
  744. /package/dist/{currency-DMVRKQRJ.js.map → currency-H3R26VU4.js.map} +0 -0
  745. /package/dist/{customers-JMKJA4LI.js.map → customers-K7HQKTTV.js.map} +0 -0
  746. /package/dist/{data-CIPG3EOP.js.map → data-JRLTQ2ZL.js.map} +0 -0
  747. /package/dist/{delete-DAMPOWQV.js.map → delete-LIF5L55A.js.map} +0 -0
  748. /package/dist/{delete-VNITJJCY.js.map → delete-OC2LTWO5.js.map} +0 -0
  749. /package/dist/{delete-VC4XSYJ6.js.map → delete-WKOWX2ED.js.map} +0 -0
  750. /package/dist/{demographics-6QTIHC22.js.map → demographics-QA2F6OXW.js.map} +0 -0
  751. /package/dist/{discard-6JBN263B.js.map → discard-AE7I4F7U.js.map} +0 -0
  752. /package/dist/{discover-MXXNEDJC.js.map → discover-6FNEE7XD.js.map} +0 -0
  753. /package/dist/{domain-X2CHPUEN.js.map → domain-EU6O7ZOF.js.map} +0 -0
  754. /package/dist/{download-EFRVIWUQ.js.map → download-T4EYBZ5O.js.map} +0 -0
  755. /package/dist/{draft-3TU2DOG4.js.map → draft-BF5J26YI.js.map} +0 -0
  756. /package/dist/{draft-PDUPYLHU.js.map → draft-DMLYCHOD.js.map} +0 -0
  757. /package/dist/{draft-GGQKDNLL.js.map → draft-F2MRYZ2E.js.map} +0 -0
  758. /package/dist/{draft-LXNUTJCQ.js.map → draft-JBOP6VO5.js.map} +0 -0
  759. /package/dist/{draft-7QREAYBZ.js.map → draft-JMMX67IN.js.map} +0 -0
  760. /package/dist/{draft-GGCV5MUR.js.map → draft-PQRO7SXV.js.map} +0 -0
  761. /package/dist/{experiments-327DBJOV.js.map → experiments-4YCLHCKM.js.map} +0 -0
  762. /package/dist/{extract-RT7UACSI.js.map → extract-E7G2WUXY.js.map} +0 -0
  763. /package/dist/{facets-DOAWYVYW.js.map → facets-7G6S4LOF.js.map} +0 -0
  764. /package/dist/{feedback-VSKQVHQT.js.map → feedback-ZFZLQE77.js.map} +0 -0
  765. /package/dist/{fetch-7ZYOMTQT.js.map → fetch-C6J2DDRV.js.map} +0 -0
  766. /package/dist/{fit-M6X35XGV.js.map → fit-2DLVM7BM.js.map} +0 -0
  767. /package/dist/{flows-ZTK45AAV.js.map → flows-XP5BUFQN.js.map} +0 -0
  768. /package/dist/{forecast-F4HFL5V2.js.map → forecast-7EEMDWGW.js.map} +0 -0
  769. /package/dist/{forecast-DR3XIMIX.js.map → forecast-LFMI2NRN.js.map} +0 -0
  770. /package/dist/{funnel-UOUUAU3D.js.map → funnel-TSV2MCCD.js.map} +0 -0
  771. /package/dist/{generate-DWAKBRQJ.js.map → generate-4SNNAXXW.js.map} +0 -0
  772. /package/dist/{get-SNNCIKBO.js.map → get-2IJ7MQYN.js.map} +0 -0
  773. /package/dist/{get-H4O2BE3W.js.map → get-GFEHTI6S.js.map} +0 -0
  774. /package/dist/{google-EQTWYOMA.js.map → google-7EYWYVHZ.js.map} +0 -0
  775. /package/dist/{google-EF34XOH6.js.map → google-QKCCBY3U.js.map} +0 -0
  776. /package/dist/{google-ads-WQMWXVEI.js.map → google-ads-EHKUZPQ2.js.map} +0 -0
  777. /package/dist/{history-XRSQD2R7.js.map → history-7VIUDUWI.js.map} +0 -0
  778. /package/dist/{history-U2ZXDZBP.js.map → history-RERPC5DK.js.map} +0 -0
  779. /package/dist/{history-Y5S4LPC7.js.map → history-XXU52KPZ.js.map} +0 -0
  780. /package/dist/{hubspot-MIKWDLVS.js.map → hubspot-IJBHLBN6.js.map} +0 -0
  781. /package/dist/{ideas-QL7DO5FR.js.map → ideas-WNWJDDSK.js.map} +0 -0
  782. /package/dist/{images-U3UK3W5X.js.map → images-GYHMQ2XY.js.map} +0 -0
  783. /package/dist/{ingest-PDCY7GTG.js.map → ingest-4EUUKCKH.js.map} +0 -0
  784. /package/dist/{ingest-E6NA6MLE.js.map → ingest-PIFUJ32K.js.map} +0 -0
  785. /package/dist/{insights-53JGBSF7.js.map → insights-E3VPRDIZ.js.map} +0 -0
  786. /package/dist/{inspect-2SC5HQO4.js.map → inspect-C4ECCQPM.js.map} +0 -0
  787. /package/dist/{intent-RCDG2YEC.js.map → intent-7AY7ISL3.js.map} +0 -0
  788. /package/dist/{keyword-gap-RS234V7N.js.map → keyword-gap-4LVY3I2W.js.map} +0 -0
  789. /package/dist/{keyword-metrics-PTGZNTVE.js.map → keyword-metrics-EF7I4LX6.js.map} +0 -0
  790. /package/dist/{keywords-for-site-HPBUYQAE.js.map → keywords-for-site-3S7HUEOK.js.map} +0 -0
  791. /package/dist/{languages-EHVUCBTM.js.map → languages-ILBO7WGO.js.map} +0 -0
  792. /package/dist/{layerize-W5LFPQCO.js.map → layerize-LMVMY3WA.js.map} +0 -0
  793. /package/dist/{leads-Q7FG7CDN.js.map → leads-HVQE3XT3.js.map} +0 -0
  794. /package/dist/{learn-WN54VXO6.js.map → learn-NV4SRFQ2.js.map} +0 -0
  795. /package/dist/{library-K6FRTCVK.js.map → library-ZMRZKIP3.js.map} +0 -0
  796. /package/dist/{line-item-writes-ISLEC7ZN.js.map → line-item-writes-4V4E3RPV.js.map} +0 -0
  797. /package/dist/{line-items-NRZ24KDM.js.map → line-items-FKLEDOGM.js.map} +0 -0
  798. /package/dist/{link-RGLL45F5.js.map → link-OFRPGKBJ.js.map} +0 -0
  799. /package/dist/{linkedin-XBQMI42D.js.map → linkedin-DV3NLAYR.js.map} +0 -0
  800. /package/dist/{linkedin-person-3DPYF6L6.js.map → linkedin-person-UX22W7Q4.js.map} +0 -0
  801. /package/dist/{list-RWQLAWO3.js.map → list-XPSK56ZV.js.map} +0 -0
  802. /package/dist/{list-FZ4NFRRR.js.map → list-XXGX3UTA.js.map} +0 -0
  803. /package/dist/{list-533GIXG7.js.map → list-YRTLE3TY.js.map} +0 -0
  804. /package/dist/{locations-2NEDMFS5.js.map → locations-HAEZGVNR.js.map} +0 -0
  805. /package/dist/{locations-RHTUYWMC.js.map → locations-ZV6EK2BK.js.map} +0 -0
  806. /package/dist/{log-IFLF3DZZ.js.map → log-VK4XQH2E.js.map} +0 -0
  807. /package/dist/{make-DDMTAGUB.js.map → make-ZWWFIHS7.js.map} +0 -0
  808. /package/dist/{map-O37XED7M.js.map → map-X5Z5SKBH.js.map} +0 -0
  809. /package/dist/{mcp-MZ3HVDYY.js.map → mcp-DZ6GP3W4.js.map} +0 -0
  810. /package/dist/{media-sources-52FXNGXC.js.map → media-sources-HCG7F3LK.js.map} +0 -0
  811. /package/dist/{members-PDYPCF27.js.map → members-2OW2E4V5.js.map} +0 -0
  812. /package/dist/{meta-HK5PYNRM.js.map → meta-OTEBUJM5.js.map} +0 -0
  813. /package/dist/{metrics-TSRFLNLI.js.map → metrics-D6ECYE4M.js.map} +0 -0
  814. /package/dist/{models-DV4G4A2W.js.map → models-TVAUSO3P.js.map} +0 -0
  815. /package/dist/{normalize-ONUJO2N4.js.map → normalize-DUAM27CB.js.map} +0 -0
  816. /package/dist/{options-K3N7JI4H.js.map → options-TNMBBMG4.js.map} +0 -0
  817. /package/dist/{organization-RDZ4FOC4.js.map → organization-FNJETQM6.js.map} +0 -0
  818. /package/dist/{people-NR7JT5VV.js.map → people-QVLLTFQH.js.map} +0 -0
  819. /package/dist/{people-RWHZBUJU.js.map → people-ZICXKKAT.js.map} +0 -0
  820. /package/dist/{performance-UABHGDYV.js.map → performance-EMLMEURS.js.map} +0 -0
  821. /package/dist/{performance-XIZ43WKC.js.map → performance-K4T6F6BN.js.map} +0 -0
  822. /package/dist/{pipedrive-IDA44I2X.js.map → pipedrive-462PVHZG.js.map} +0 -0
  823. /package/dist/{pixels-T73SVZ4G.js.map → pixels-NGCNKAV5.js.map} +0 -0
  824. /package/dist/{preview-PM3SAC4G.js.map → preview-WNAADREE.js.map} +0 -0
  825. /package/dist/{promoted-tweet-writes-GW7G3WN5.js.map → promoted-tweet-writes-3SF76O6D.js.map} +0 -0
  826. /package/dist/{promoted-tweets-A4BD3ZMR.js.map → promoted-tweets-RCXRBBHU.js.map} +0 -0
  827. /package/dist/{publish-XGJXWQM3.js.map → publish-O2DSFXAI.js.map} +0 -0
  828. /package/dist/{query-SG6ILF5G.js.map → query-OZ3E7BEL.js.map} +0 -0
  829. /package/dist/{reddit-VVKTK7DX.js.map → reddit-QTEDTC6G.js.map} +0 -0
  830. /package/dist/{refresh-QOA6XQ65.js.map → refresh-5OOWS5UO.js.map} +0 -0
  831. /package/dist/{release-5ZIDVDEO.js.map → release-X4CIJZ5I.js.map} +0 -0
  832. /package/dist/{relevant-pages-CFBI4BIH.js.map → relevant-pages-UT2RWLPT.js.map} +0 -0
  833. /package/dist/{remove-2YY2CCVU.js.map → remove-DFXKRRKA.js.map} +0 -0
  834. /package/dist/{reopen-LKJUT6M2.js.map → reopen-TUZU472P.js.map} +0 -0
  835. /package/dist/{rerun-RPS5GK62.js.map → rerun-EPOZ5TFN.js.map} +0 -0
  836. /package/dist/{research-EDTPCX3O.js.map → research-MKVG5CMO.js.map} +0 -0
  837. /package/dist/{research-6WCBKLTG.js.map → research-VSEWUT7M.js.map} +0 -0
  838. /package/dist/{reset-MUH7FKOG.js.map → reset-5SW6JO5I.js.map} +0 -0
  839. /package/dist/{reset-J33M64KW.js.map → reset-LWKGQRSL.js.map} +0 -0
  840. /package/dist/{resolve-5HZJEXLJ.js.map → resolve-4QCC47Y7.js.map} +0 -0
  841. /package/dist/{retry-32GYJQAF.js.map → retry-3IOHNLAY.js.map} +0 -0
  842. /package/dist/{retry-ZHRDMM4Y.js.map → retry-6KJWEBVL.js.map} +0 -0
  843. /package/dist/{revenue-IRF25ISM.js.map → revenue-SFTLUVCP.js.map} +0 -0
  844. /package/dist/{rules-BUPUJ556.js.map → rules-UEZ47CLD.js.map} +0 -0
  845. /package/dist/{run-Y2RXME5N.js.map → run-UYW237LG.js.map} +0 -0
  846. /package/dist/{run-55JPIRYI.js.map → run-ZCF34L47.js.map} +0 -0
  847. /package/dist/{scaffold-ad-TK6V3TYJ.js.map → scaffold-ad-VRICMVNY.js.map} +0 -0
  848. /package/dist/{scaffold-static-ad-RQXSGRE2.js.map → scaffold-static-ad-4N5SUIOM.js.map} +0 -0
  849. /package/dist/{scaffold-video-KTNSYWMY.js.map → scaffold-video-GIUUM2IK.js.map} +0 -0
  850. /package/dist/{schedule-PVUKPBF7.js.map → schedule-KNY746WC.js.map} +0 -0
  851. /package/dist/{scheduled-agents-J6RTT7HY.js.map → scheduled-agents-SRGNGVN5.js.map} +0 -0
  852. /package/dist/{schema-RVA6JSZE.js.map → schema-AGDLXVIA.js.map} +0 -0
  853. /package/dist/{schema-7CKXBHF6.js.map → schema-VBDTM46Q.js.map} +0 -0
  854. /package/dist/{search-RC57DNMJ.js.map → search-C7XWAVEN.js.map} +0 -0
  855. /package/dist/{search-terms-2L6UMZCC.js.map → search-terms-OJHLE5K6.js.map} +0 -0
  856. /package/dist/{select-YZWK2TON.js.map → select-C4JVPFJW.js.map} +0 -0
  857. /package/dist/{set-OKT7Q7EC.js.map → set-QUEAN5H3.js.map} +0 -0
  858. /package/dist/{set-prompt-T6HC54TW.js.map → set-prompt-W4SQM5RG.js.map} +0 -0
  859. /package/dist/{setup-links-EQ6GH6M5.js.map → setup-links-DUPXAVFA.js.map} +0 -0
  860. /package/dist/{shopify-SC35E5P2.js.map → shopify-FEV7E7MV.js.map} +0 -0
  861. /package/dist/{site-FZOS2U6Q.js.map → site-DR2CFTHG.js.map} +0 -0
  862. /package/dist/{sources-QNQ6G542.js.map → sources-3NP3RF3T.js.map} +0 -0
  863. /package/dist/{sources-FTPQFFNW.js.map → sources-3VQNUCVO.js.map} +0 -0
  864. /package/dist/{stale-ITQGFBIM.js.map → stale-2SWWHH3Y.js.map} +0 -0
  865. /package/dist/{status-XBRPJ4K2.js.map → status-PTK2QKZO.js.map} +0 -0
  866. /package/dist/{stock-NVJJVJHU.js.map → stock-K5B22TUG.js.map} +0 -0
  867. /package/dist/{studio-PD4VOHWX.js.map → studio-EUAQLXPF.js.map} +0 -0
  868. /package/dist/{sync-DBNMW75Z.js.map → sync-CUE4VAMR.js.map} +0 -0
  869. /package/dist/{sync-definition-2DVZY5BF.js.map → sync-definition-XXAXCBBH.js.map} +0 -0
  870. /package/dist/{tags-WYXVFNS6.js.map → tags-6QWS5TKQ.js.map} +0 -0
  871. /package/dist/{tags-HFUEFAZ3.js.map → tags-CGYJV5GB.js.map} +0 -0
  872. /package/dist/{tags-3MY3BEYO.js.map → tags-IN3T7VGA.js.map} +0 -0
  873. /package/dist/{tags-JZZLDVAL.js.map → tags-L4CZ4MDI.js.map} +0 -0
  874. /package/dist/{tags-WT4JEJKW.js.map → tags-OVBEQMWV.js.map} +0 -0
  875. /package/dist/{targeting-criteria-XSHY2DFD.js.map → targeting-criteria-65JJBXGQ.js.map} +0 -0
  876. /package/dist/{targets-7PEAIBIW.js.map → targets-T6233OVH.js.map} +0 -0
  877. /package/dist/{testimonials-FISOPTG7.js.map → testimonials-DXOW3S5R.js.map} +0 -0
  878. /package/dist/{themes-CUDXWVL5.js.map → themes-FEYSJ7YX.js.map} +0 -0
  879. /package/dist/{top-companies-W54NEMWC.js.map → top-companies-DL7W7P23.js.map} +0 -0
  880. /package/dist/{transcript-SSNS4QFB.js.map → transcript-GG2XSKBR.js.map} +0 -0
  881. /package/dist/{translate-FLHWVGGX.js.map → translate-IG6CZNKV.js.map} +0 -0
  882. /package/dist/{triggers-IDAX2LC2.js.map → triggers-NOH4ADIB.js.map} +0 -0
  883. /package/dist/{unlink-4T4VDJKZ.js.map → unlink-Q7YPAUPD.js.map} +0 -0
  884. /package/dist/{unstage-LGI45U54.js.map → unstage-STPX5ZGN.js.map} +0 -0
  885. /package/dist/{update-JGDBBM3K.js.map → update-FZFFGPOY.js.map} +0 -0
  886. /package/dist/{update-IWH7W6AN.js.map → update-KOLPK3NQ.js.map} +0 -0
  887. /package/dist/{update-NQJ5Z25G.js.map → update-THF3APVR.js.map} +0 -0
  888. /package/dist/{update-NF65Y4D5.js.map → update-XDIPHKSG.js.map} +0 -0
  889. /package/dist/{upload-QMRLYKE3.js.map → upload-OENUWNCT.js.map} +0 -0
  890. /package/dist/{upscale-BI4JV3RV.js.map → upscale-PTKBZNR7.js.map} +0 -0
  891. /package/dist/{url-options-GJANKQRI.js.map → url-options-VMLLSDWB.js.map} +0 -0
  892. /package/dist/{url-params-3E7UZLDC.js.map → url-params-YRITELRG.js.map} +0 -0
  893. /package/dist/{use-HSV5A7GD.js.map → use-SKBB26IU.js.map} +0 -0
  894. /package/dist/{validate-TX55AW42.js.map → validate-247ZT7O3.js.map} +0 -0
  895. /package/dist/{videos-UB7JKFSO.js.map → videos-5IDJFLV6.js.map} +0 -0
  896. /package/dist/{viewer-check-AJS7WL2T.js.map → viewer-check-4XHHLMNP.js.map} +0 -0
  897. /package/dist/{visuals-T3KWSWNY.js.map → visuals-2AQOAJHB.js.map} +0 -0
  898. /package/dist/{web-XBZRZCDY.js.map → web-DVZYXENJ.js.map} +0 -0
  899. /package/dist/{winning-ads-YS6R4XOV.js.map → winning-ads-2TFLIGYY.js.map} +0 -0
  900. /package/dist/{write-commands-NC2MDQGP.js.map → write-commands-FQMTN4EJ.js.map} +0 -0
  901. /package/dist/{x-LXXN47TR.js.map → x-XLL3T5BT.js.map} +0 -0
@@ -0,0 +1,1577 @@
1
+ import {
2
+ perceptualHash
3
+ } from "./chunk-DGCUPJZD.js";
4
+ import {
5
+ confirmBlocking,
6
+ cutByFrame,
7
+ reviewAgainstRules
8
+ } from "./chunk-7YYB62Q6.js";
9
+ import {
10
+ citedBy,
11
+ citedPlatforms,
12
+ jevCitationJudge,
13
+ namedPlatform
14
+ } from "./chunk-RGUM3ZNF.js";
15
+ import {
16
+ FINDING_DEFECTS,
17
+ FINDING_ELEMENTS,
18
+ FRAME_EDGES,
19
+ STATIC_REVIEW_ITEMS,
20
+ askAboutImages,
21
+ askAboutStills,
22
+ reviewedRules
23
+ } from "./chunk-36EP3NUV.js";
24
+ import {
25
+ AD_PLACEMENTS,
26
+ TEXT_BOX_READER_MODEL,
27
+ verticalCover
28
+ } from "./chunk-AQGK3JDK.js";
29
+ import {
30
+ askJev
31
+ } from "./chunk-KSXGH3JX.js";
32
+
33
+ // src/engine/nodes/local/lib/static-review.ts
34
+ import { createHash } from "crypto";
35
+ import { readFile } from "fs/promises";
36
+ import sharp3 from "sharp";
37
+ import { z as z2 } from "zod";
38
+
39
+ // src/engine/scaffold/platform-safe-area.ts
40
+ var STORIES = placementOf("meta_stories");
41
+ var REELS = placementOf("meta_reels");
42
+ function placementOf(id) {
43
+ const found = AD_PLACEMENTS.find((p) => p.id === id);
44
+ if (!found) throw new Error(`no placement ${id} in the registry`);
45
+ return found;
46
+ }
47
+ var REELS_SAFE_BOTTOM = REELS.safe.bottom;
48
+ var FEED = { top: 0.06, bottom: 0.06, left: 0.07, right: 0.07 };
49
+ var FEED_IMAGE = { ...placementOf("meta_feed").safe };
50
+ var EVERY_SURFACE = /* @__PURE__ */ new Set(["automatic", "facebook", "instagram", "meta"]);
51
+ var OTHER_VERTICAL = [
52
+ { id: "tiktok_feed", names: ["tiktok", "tiktok_feed"], surface: "TikTok" },
53
+ { id: "snapchat_snap_ads", names: ["snapchat", "snapchat_snap_ads", "snap"], surface: "Snapchat" },
54
+ { id: "youtube_shorts", names: ["youtube", "youtube_shorts", "shorts"], surface: "YouTube Shorts" }
55
+ ];
56
+ function metaVertical(named) {
57
+ const every = named.length === 0 || named.some((p) => EVERY_SURFACE.has(p));
58
+ const reels = every || named.some((p) => p.includes("reels"));
59
+ const stories = every || named.some((p) => p.includes("stor"));
60
+ if (reels) return { ids: stories ? [STORIES.id, REELS.id] : [REELS.id], placement: "reels", surface: "Reels" };
61
+ return stories ? { ids: [STORIES.id], placement: "stories", surface: "Stories" } : null;
62
+ }
63
+ function staticSafeArea(format, placements) {
64
+ const feed = { ...FEED_IMAGE, placement: "feed", surface: "the feed" };
65
+ if (format !== "9:16") return feed;
66
+ const named = (placements ?? []).map((p) => p.toLowerCase());
67
+ const meta = metaVertical(named);
68
+ const others = OTHER_VERTICAL.filter((o) => named.some((p) => o.names.includes(p)));
69
+ const cover = verticalCover([...meta?.ids ?? [], ...others.map((o) => o.id)]);
70
+ if (!cover) return feed;
71
+ return {
72
+ ...cover.safe,
73
+ placement: meta?.placement ?? "vertical",
74
+ surface: [...meta ? [meta.surface] : [], ...others.map((o) => o.surface)].join(" and "),
75
+ covered: { top: cover.top, bottom: cover.bottom, ...cover.rail ? { rail: cover.rail } : {} },
76
+ ...cover.railMargin ? { rail: cover.railMargin } : {}
77
+ };
78
+ }
79
+ var VIDEO_VERTICAL_SIDE = 0.06;
80
+ function videoSafeArea(format) {
81
+ return format === "9:16" ? { ...STORIES.safe, bottom: REELS_SAFE_BOTTOM, left: VIDEO_VERTICAL_SIDE, right: VIDEO_VERTICAL_SIDE } : FEED;
82
+ }
83
+ function safeRectPx(area, width, height) {
84
+ const x = Math.ceil(atPx(area.left * width));
85
+ const y = Math.ceil(atPx(area.top * height));
86
+ const right = Math.floor(atPx((1 - area.right) * width));
87
+ const bottom = Math.floor(atPx((1 - area.bottom) * height));
88
+ return { x, y, width: right - x, height: bottom - y };
89
+ }
90
+ function atPx(value) {
91
+ return Number(value.toFixed(6));
92
+ }
93
+ function blockingArea(format, placements) {
94
+ return staticSafeArea(format, blockingPlacements(placements));
95
+ }
96
+ function blockingPlacements(placements) {
97
+ const named = (placements ?? []).map((p) => p.toLowerCase());
98
+ const storiesToo = named.length === 0 || named.some((p) => EVERY_SURFACE.has(p)) || named.some((p) => p.includes("reels")) && named.some((p) => p.includes("stor"));
99
+ if (!storiesToo) return [...placements ?? []];
100
+ const others = (placements ?? []).filter((p) => OTHER_VERTICAL.some((o) => o.names.includes(p.toLowerCase())));
101
+ return [...others, "reels", "stories"];
102
+ }
103
+ var MARGIN = 0.035;
104
+ function nativeLayoutInsets(format, placements) {
105
+ const area = blockingArea(format, placements);
106
+ if (!area.covered) {
107
+ return {
108
+ top: Math.max(area.top, MARGIN),
109
+ bottom: Math.max(area.bottom, MARGIN),
110
+ left: Math.max(area.left, MARGIN),
111
+ right: Math.max(area.right, MARGIN)
112
+ };
113
+ }
114
+ const rail = area.covered.rail;
115
+ const bottom = area.covered.bottom + MARGIN;
116
+ const railReached = rail ? 1 - bottom > rail.from : false;
117
+ return {
118
+ top: area.covered.top + MARGIN,
119
+ bottom,
120
+ left: Math.max(area.left, MARGIN),
121
+ right: Math.max(area.right, railReached && rail ? rail.width + MARGIN / 2 : 0, MARGIN)
122
+ };
123
+ }
124
+
125
+ // src/engine/nodes/local/lib/band-check.ts
126
+ var BOX_TOLERANCE = 0.01;
127
+ var FRAME_CUT = 5e-3;
128
+ var MOSTLY_COVERED = 0.5;
129
+ function hidden(v) {
130
+ return v.covered && (v.coveredShare ?? 1) >= MOSTLY_COVERED;
131
+ }
132
+ function coveredShare(box, covered) {
133
+ const height = Math.max(box.y1 - box.y0, 1e-6);
134
+ const width = Math.max(box.x1 - box.x0, 1e-6);
135
+ const rail = covered.rail;
136
+ const shares = [
137
+ (covered.top - box.y0) / height,
138
+ (box.y1 - (1 - covered.bottom)) / height,
139
+ rail && box.y1 > rail.from ? (box.x1 - (1 - rail.width)) / width : 0
140
+ ];
141
+ return Math.min(1, Math.max(0, ...shares));
142
+ }
143
+ function underInterface(box, covered, tolerance) {
144
+ if (!covered) return false;
145
+ if (covered.top - box.y0 > tolerance || box.y1 - (1 - covered.bottom) > tolerance) return true;
146
+ const rail = covered.rail;
147
+ return Boolean(rail && box.y1 > rail.from && box.x1 - (1 - rail.width) > tolerance);
148
+ }
149
+ function bandViolations(boxes, format, opts = {}) {
150
+ const own = staticSafeArea(format, opts.placements);
151
+ const band = opts.band ?? own;
152
+ const covered = opts.band ? void 0 : own.covered;
153
+ const rail = opts.band ? void 0 : own.rail;
154
+ const tolerance = opts.tolerance ?? BOX_TOLERANCE;
155
+ return boxes.flatMap((box) => {
156
+ const right = rail && box.y1 > rail.from ? Math.max(band.right, rail.width) : band.right;
157
+ const reach = {
158
+ top: band.top - box.y0,
159
+ bottom: box.y1 - (1 - band.bottom),
160
+ left: band.left - box.x0,
161
+ right: box.x1 - (1 - right)
162
+ };
163
+ const edges = Object.keys(reach).filter((edge) => reach[edge] > tolerance);
164
+ if (edges.length === 0) return [];
165
+ const toFrame = { top: box.y0, bottom: 1 - box.y1, left: box.x0, right: 1 - box.x1 };
166
+ return [
167
+ {
168
+ text: box.text,
169
+ kind: box.kind,
170
+ edges,
171
+ overshoot: Math.max(...edges.map((edge) => reach[edge])),
172
+ clearance: Math.max(0, Math.min(...edges.map((edge) => toFrame[edge]))),
173
+ covered: opts.band !== void 0 || underInterface(box, covered, tolerance),
174
+ ...covered ? { coveredShare: coveredShare(box, covered) } : {}
175
+ }
176
+ ];
177
+ });
178
+ }
179
+
180
+ // src/engine/nodes/local/lib/brand-colour.ts
181
+ import chroma from "chroma-js";
182
+ import sharp from "sharp";
183
+ var OFF_BRAND_DELTA_E = 20;
184
+ var INK_CLUSTERS = 4;
185
+ var MIN_INK_SHARE = 0.05;
186
+ var NEUTRAL_CHROMA = 12;
187
+ async function inkOf(image, box) {
188
+ try {
189
+ const { width = 0, height = 0 } = await sharp(image).metadata();
190
+ const left = Math.max(0, Math.floor(box.x0 * width));
191
+ const top = Math.max(0, Math.floor(box.y0 * height));
192
+ const region = {
193
+ left,
194
+ top,
195
+ width: Math.min(width - left, Math.ceil((box.x1 - box.x0) * width)),
196
+ height: Math.min(height - top, Math.ceil((box.y1 - box.y0) * height))
197
+ };
198
+ if (region.width < 2 || region.height < 2) return null;
199
+ const quantized = await sharp(image).extract(region).removeAlpha().resize({ width: 96, withoutEnlargement: true }).png({ palette: true, colours: INK_CLUSTERS, dither: 0 }).toBuffer();
200
+ const { data, info } = await sharp(quantized).removeAlpha().raw().toBuffer({ resolveWithObject: true });
201
+ const counts = /* @__PURE__ */ new Map();
202
+ for (let i = 0; i + 2 < data.length; i += info.channels) {
203
+ const hex = chroma(data[i] ?? 0, data[i + 1] ?? 0, data[i + 2] ?? 0).hex();
204
+ counts.set(hex, (counts.get(hex) ?? 0) + 1);
205
+ }
206
+ const total = info.width * info.height;
207
+ const [ground, ...rest] = [...counts.entries()].sort((a, b) => b[1] - a[1]).map(([hex]) => hex);
208
+ const inks = rest.filter((hex) => (counts.get(hex) ?? 0) / total >= MIN_INK_SHARE);
209
+ if (!ground || inks.length === 0) return null;
210
+ return inks.sort((a, b) => chroma.deltaE(ground, b) - chroma.deltaE(ground, a))[0] ?? null;
211
+ } catch {
212
+ return null;
213
+ }
214
+ }
215
+ var SHADE_HUE = 30;
216
+ var NEAR_BLACK_L = 20;
217
+ var NEAR_WHITE_L = 92;
218
+ var hueGap = (a, b) => {
219
+ const d = Math.abs(a - b) % 360;
220
+ return d > 180 ? 360 - d : d;
221
+ };
222
+ function shadeOfBrand(hex, palette) {
223
+ const [, , hue] = chroma(hex).lch();
224
+ return palette.some((p) => {
225
+ const [, c, h] = chroma(p).lch();
226
+ return c >= NEUTRAL_CHROMA && !Number.isNaN(h) && !Number.isNaN(hue) && hueGap(h, hue) <= SHADE_HUE;
227
+ });
228
+ }
229
+ function offBrandInks(inks, palette) {
230
+ if (palette.length === 0) return [];
231
+ return inks.flatMap((ink) => {
232
+ const [lightness, inkChroma] = chroma(ink.hex).lch();
233
+ if (inkChroma < NEUTRAL_CHROMA || lightness < NEAR_BLACK_L || lightness > NEAR_WHITE_L) return [];
234
+ if (shadeOfBrand(ink.hex, palette)) return [];
235
+ const [nearest] = palette.map((hex) => ({ hex, deltaE: chroma.deltaE(ink.hex, hex) })).sort((a, b) => a.deltaE - b.deltaE);
236
+ if (!nearest || nearest.deltaE <= OFF_BRAND_DELTA_E) return [];
237
+ return [{ text: ink.text, hex: ink.hex, nearest: nearest.hex, deltaE: nearest.deltaE }];
238
+ });
239
+ }
240
+
241
+ // src/engine/nodes/local/lib/copy-match.ts
242
+ import { distance } from "fastest-levenshtein";
243
+ var MAX_LINE_DISTANCE = 0.02;
244
+ var SPAN_SLACK = 2;
245
+ var MIN_MATCH = 0.5;
246
+ var ALLOWED_MATCH = 0.8;
247
+ function normalizeCopy(text) {
248
+ return text.replace(/[™®℠©]/g, "").normalize("NFKC").toLowerCase().replace(/[’'`´ʼ‘]/g, "").replace(/\s*&\s*/g, " and ").replace(/[^\p{L}\p{N}%€$£]+/gu, " ").replace(new RegExp("(\\p{N})([%\u20AC$\xA3])", "gu"), "$1 $2").replace(new RegExp("([\u20AC$\xA3])(\\p{N})", "gu"), "$1 $2").trim();
249
+ }
250
+ var CLOCK = /^\d{1,2}:\d{2}(?:\s?[ap]\.?\s?m\.?)?$/i;
251
+ function isInterfaceChrome(raw) {
252
+ const text = raw.trim();
253
+ if (CLOCK.test(text)) return true;
254
+ if (/^\d{1,3}$/.test(text)) return true;
255
+ return new RegExp("^\\p{L}$", "u").test(text);
256
+ }
257
+ var lineHeight = (b) => Math.max(b.y1 - b.y0, 5e-3);
258
+ function continuesColumn(last, next) {
259
+ if (next.y0 < last.y0 + 0.3 * lineHeight(last)) return null;
260
+ const gap = next.y0 - last.y1;
261
+ if (gap > 1.2 * Math.max(lineHeight(last), lineHeight(next))) return null;
262
+ const overlap = Math.min(last.x1, next.x1) - Math.max(last.x0, next.x0);
263
+ const narrower = Math.min(last.x1 - last.x0, next.x1 - next.x0);
264
+ return narrower > 0 && overlap >= 0.3 * narrower ? gap : null;
265
+ }
266
+ function continuesRow(last, next) {
267
+ const shared = Math.min(last.y1, next.y1) - Math.max(last.y0, next.y0);
268
+ const height = Math.min(lineHeight(last), lineHeight(next));
269
+ const gap = next.x0 - last.x1;
270
+ return shared >= 0.5 * height && gap > -0.5 * height && gap <= Math.max(lineHeight(last), lineHeight(next));
271
+ }
272
+ function rowsOf(boxes) {
273
+ const rows = [];
274
+ const byLeft = boxes.map((box, index) => ({ box, index })).sort((a, b) => a.box.x0 - b.box.x0 || a.index - b.index);
275
+ for (const item of byLeft) {
276
+ const row = rows.find((r) => {
277
+ const last = r.items[r.items.length - 1];
278
+ return last !== void 0 && continuesRow(last.box, item.box);
279
+ });
280
+ if (!row) {
281
+ rows.push({ items: [item], span: item.box });
282
+ continue;
283
+ }
284
+ row.items.push(item);
285
+ const { span } = row;
286
+ row.span = {
287
+ text: "",
288
+ kind: span.kind,
289
+ x0: Math.min(span.x0, item.box.x0),
290
+ y0: Math.min(span.y0, item.box.y0),
291
+ x1: Math.max(span.x1, item.box.x1),
292
+ y1: Math.max(span.y1, item.box.y1)
293
+ };
294
+ }
295
+ return rows;
296
+ }
297
+ function readingOrder(boxes) {
298
+ const first = (row) => Math.min(...row.items.map((i) => i.index));
299
+ const byTop = rowsOf(boxes).sort((a, b) => a.span.y0 - b.span.y0 || first(a) - first(b));
300
+ const blocks = [];
301
+ for (const row of byTop) {
302
+ let best = null;
303
+ for (const block of blocks) {
304
+ const last = block[block.length - 1];
305
+ const gap = last ? continuesColumn(last.span, row.span) : null;
306
+ if (gap !== null && (best === null || gap < best.gap)) best = { block, gap };
307
+ }
308
+ if (best) best.block.push(row);
309
+ else blocks.push([row]);
310
+ }
311
+ return blocks.sort((a, b) => Math.min(...a.map(first)) - Math.min(...b.map(first))).flatMap((block) => block.flatMap((row) => row.items.map((i) => i.box)));
312
+ }
313
+ function copySimilarity(a, b) {
314
+ return similarity(a, b);
315
+ }
316
+ var sameStroke = (text) => text.replace(/l/g, "i");
317
+ function similarity(a, b) {
318
+ const longest = Math.max(a.length, b.length);
319
+ return longest === 0 ? 1 : 1 - distance(sameStroke(a), sameStroke(b)) / longest;
320
+ }
321
+ function spans(words, size) {
322
+ const out = [];
323
+ for (let length = Math.max(1, size - SPAN_SLACK); length <= size + SPAN_SLACK; length++) {
324
+ for (let start = 0; start + length <= words.length; start++) {
325
+ const indexes = Array.from({ length }, (_, i) => start + i);
326
+ out.push({ indexes, text: indexes.map((i) => words[i]?.word ?? "").join(" ") });
327
+ }
328
+ }
329
+ return out;
330
+ }
331
+ function assign(targets, words, claimed, threshold) {
332
+ const pairs = targets.flatMap(
333
+ (target, index) => target.length === 0 ? [] : spans(words, target.split(" ").length).map((span) => ({
334
+ index,
335
+ span,
336
+ similarity: similarity(target, span.text)
337
+ }))
338
+ );
339
+ pairs.sort((a, b) => b.similarity - a.similarity);
340
+ const matches = /* @__PURE__ */ new Map();
341
+ for (const pair of pairs) {
342
+ if (pair.similarity < threshold) break;
343
+ if (matches.has(pair.index)) continue;
344
+ if (pair.span.indexes.some((i) => claimed.has(i))) continue;
345
+ matches.set(pair.index, { span: pair.span, similarity: pair.similarity });
346
+ for (const i of pair.span.indexes) claimed.add(i);
347
+ }
348
+ return matches;
349
+ }
350
+ function hyphenatedCompounds(texts) {
351
+ const out = /* @__PURE__ */ new Set();
352
+ for (const text of texts) {
353
+ for (const [compound] of text.normalize("NFKC").toLowerCase().matchAll(new RegExp("\\p{L}+(?:[-\u2010\u2011]\\p{L}+)+", "gu"))) {
354
+ const words = compound.split(/[-‐‑]/u);
355
+ for (let i = 1; i < words.length; i++) out.add(`${words[i - 1]}-${words[i]}`);
356
+ }
357
+ }
358
+ return out;
359
+ }
360
+ var LIST_MARKER = /^\s*(\d{1,2})[.)]\s+(?=\S)/u;
361
+ var listMarker = (text) => text.match(LIST_MARKER)?.[1] ?? null;
362
+ var withoutListMarker = (text) => text.replace(LIST_MARKER, "");
363
+ function trademarked(texts) {
364
+ const out = /* @__PURE__ */ new Set();
365
+ for (const text of texts) {
366
+ for (const [, word = ""] of text.matchAll(/([\p{L}\p{N}]+)\s?[®™]/gu)) out.add(word.toLowerCase());
367
+ }
368
+ return out;
369
+ }
370
+ function withoutTrademarkLetters(text, marked) {
371
+ if (marked.size === 0) return text;
372
+ return text.replace(
373
+ /([\p{L}\p{N}]+)\s?(?:\((?:r|tm)\)|r|tm)(?![\p{L}\p{N}])/giu,
374
+ (whole, word) => marked.has(word.toLowerCase()) ? word : whole
375
+ );
376
+ }
377
+ function joinHyphenBreaks(texts, compounds) {
378
+ const out = [];
379
+ let carry = "";
380
+ for (const text of texts) {
381
+ const next = text.trim();
382
+ const before = carry.match(new RegExp("\\p{L}+$", "u"))?.[0] ?? "";
383
+ const after = next.match(new RegExp("^\\p{L}+", "u"))?.[0] ?? "";
384
+ const own = carry !== "" && compounds.has(`${before}-${after}`.normalize("NFKC").toLowerCase());
385
+ const line = carry + (own ? "-" : "") + next;
386
+ const broken = line.match(new RegExp("^(.*\\p{L})[-\u2010\u2011]$", "u"));
387
+ if (broken) carry = broken[1] ?? "";
388
+ else {
389
+ out.push(line);
390
+ carry = "";
391
+ }
392
+ }
393
+ if (carry) out.push(`${carry}-`);
394
+ return out;
395
+ }
396
+ function lineParts(text) {
397
+ const parts = text.split(/\r?\n/).filter((part) => part.trim().length > 0);
398
+ return parts.length > 0 ? parts : [text];
399
+ }
400
+ function textMismatch(expected, boxes, opts = {}) {
401
+ const compounds = hyphenatedCompounds(expected.map((line) => line.text));
402
+ const clockAsked = expected.some((line) => CLOCK.test(line.text.trim()));
403
+ const read = boxes.filter((b) => b.kind === "text" && (clockAsked || !CLOCK.test(b.text.trim())));
404
+ const texts = readingOrder(read).map((b) => b.text);
405
+ const joined = joinHyphenBreaks(texts, compounds);
406
+ const marked = trademarked(expected.map((line) => line.text));
407
+ const words = joined.flatMap(
408
+ (text, box) => normalizeCopy(withoutTrademarkLetters(text, marked)).split(" ").filter((word) => word.length > 0).map((word) => ({ word, box }))
409
+ );
410
+ const claimed = /* @__PURE__ */ new Set();
411
+ const parts = expected.flatMap(
412
+ (line, lineIndex) => lineParts(line.text).map((text) => ({ lineIndex, text: normalizeCopy(withoutListMarker(text)) }))
413
+ );
414
+ const matches = assign(
415
+ parts.map((part) => part.text),
416
+ words,
417
+ claimed,
418
+ MIN_MATCH
419
+ );
420
+ const markers = expected.flatMap((line) => lineParts(line.text).flatMap((text) => listMarker(text) ?? []));
421
+ const allowed = [...opts.allowed ?? [], ...markers].map(normalizeCopy).filter((a) => a.length > 0);
422
+ for (let before = -1; claimed.size !== before; ) {
423
+ before = claimed.size;
424
+ assign(allowed, words, claimed, ALLOWED_MATCH);
425
+ }
426
+ const logos = boxes.filter((b) => b.kind === "logo").map((b) => normalizeCopy(b.text));
427
+ const inLogo = (text) => {
428
+ const t = normalizeCopy(text);
429
+ return allowed.some((a) => similarity(a, t) >= ALLOWED_MATCH) && logos.some((l) => similarity(l, t) >= ALLOWED_MATCH);
430
+ };
431
+ const lines = expected.flatMap((line, index) => {
432
+ if (inLogo(line.text)) return [];
433
+ const lineMatches = parts.flatMap(
434
+ (part, partIndex) => part.lineIndex === index && part.text.length > 0 ? [matches.get(partIndex)] : []
435
+ );
436
+ if (lineMatches.length === 0) return [];
437
+ const score = Math.min(...lineMatches.map((match) => match?.similarity ?? 0));
438
+ if (score >= 1 - MAX_LINE_DISTANCE) return [];
439
+ const read2 = lineMatches.flatMap((match) => match ? [match.span.text] : []).join(" ");
440
+ return [{ ...line, read: read2.length > 0 ? read2 : null, similarity: score }];
441
+ });
442
+ const extra = [];
443
+ words.forEach(({ word, box }, index) => {
444
+ if (claimed.has(index)) return;
445
+ const previous = words[index - 1];
446
+ const last = extra.at(-1);
447
+ if (previous && !claimed.has(index - 1) && previous.box === box && last) {
448
+ last.text += ` ${word}`;
449
+ } else {
450
+ extra.push({ text: word, box });
451
+ }
452
+ });
453
+ const unasked = extra.filter((chunk) => !isInterfaceChrome(joined[chunk.box] ?? "")).map((chunk) => chunk.text.replace(new RegExp("(\\p{N}) ([%\u20AC$\xA3])", "gu"), "$1$2").replace(new RegExp("([\u20AC$\xA3]) (\\p{N})", "gu"), "$1$2"));
454
+ return { ok: lines.length === 0 && unasked.length === 0, lines, extra: unasked };
455
+ }
456
+
457
+ // src/engine/nodes/local/lib/must-show.ts
458
+ var roleKey = (role) => (role ?? "").trim().toLowerCase().replace(/[\s-]+/g, "_");
459
+ var SUPPORTING_ROLES = /* @__PURE__ */ new Set([
460
+ "body",
461
+ "caption",
462
+ "subheadline",
463
+ "subhead",
464
+ "subtitle",
465
+ "supporting",
466
+ "support",
467
+ "label",
468
+ "tagline",
469
+ "eyebrow",
470
+ "kicker",
471
+ "description",
472
+ "detail",
473
+ "details",
474
+ "note",
475
+ "fine_print",
476
+ "legal",
477
+ "disclaimer",
478
+ "footnote",
479
+ "attribution"
480
+ ]);
481
+ var WORDMARK_MATCH = 0.8;
482
+ function withWordmark(boxes, logoWords) {
483
+ const names = logoWords.map(normalizeCopy).filter((n) => n.length > 0);
484
+ const isName = (text) => {
485
+ const read = normalizeCopy(text);
486
+ return read.length > 0 && names.some((n) => copySimilarity(n, read) >= WORDMARK_MATCH);
487
+ };
488
+ return boxes.map((b) => b.kind === "text" && isName(b.text) ? { ...b, kind: "logo" } : b);
489
+ }
490
+ function boxesOfLine(line, boxes) {
491
+ const words = ` ${normalizeCopy(line.text)} `;
492
+ return boxes.filter((b) => {
493
+ const read = normalizeCopy(b.text);
494
+ return b.kind === "text" && read.length > 0 && words.includes(` ${read} `);
495
+ });
496
+ }
497
+ var HEADLINE_ROLES = /* @__PURE__ */ new Set(["headline", "title", "hook"]);
498
+ function headlineBox(lines, boxes) {
499
+ const line = lines.find((l) => HEADLINE_ROLES.has(roleKey(l.role))) ?? lines[0];
500
+ const found = line ? boxesOfLine(line, boxes) : [];
501
+ if (found.length === 0) return null;
502
+ return {
503
+ x0: Math.min(...found.map((b) => b.x0)),
504
+ y0: Math.min(...found.map((b) => b.y0)),
505
+ x1: Math.max(...found.map((b) => b.x1)),
506
+ y1: Math.max(...found.map((b) => b.y1))
507
+ };
508
+ }
509
+ var BUTTON_PAD = 0.7;
510
+ var isButtonLine = (line) => /^(cta|button|call_to_action)$/.test(roleKey(line.role));
511
+ function buttonShape(box) {
512
+ const pad = BUTTON_PAD * (box.y1 - box.y0);
513
+ return {
514
+ ...box,
515
+ x0: Math.max(0, box.x0 - pad),
516
+ y0: Math.max(0, box.y0 - pad),
517
+ x1: Math.min(1, box.x1 + pad),
518
+ y1: Math.min(1, box.y1 + pad)
519
+ };
520
+ }
521
+ function shownBoxes(boxes, lines, clear) {
522
+ const linesOfBox = /* @__PURE__ */ new Map();
523
+ for (const line of lines) {
524
+ const found = boxesOfLine(line, boxes);
525
+ for (const box of found) linesOfBox.set(box, [...linesOfBox.get(box) ?? [], { line, found }]);
526
+ }
527
+ const echo = (box, of) => of.every(
528
+ ({ found }) => found.some((other) => other !== box && normalizeCopy(other.text) === normalizeCopy(box.text) && clear(other))
529
+ );
530
+ return boxes.flatMap((box) => {
531
+ if (box.kind === "logo") return [{ box, supporting: false }];
532
+ const of = linesOfBox.get(box);
533
+ if (!of || echo(box, of)) return [];
534
+ return [{ box, supporting: of.every(({ line }) => SUPPORTING_ROLES.has(roleKey(line.role))) }];
535
+ });
536
+ }
537
+
538
+ // src/engine/nodes/local/lib/text-boxes.ts
539
+ import sharp2 from "sharp";
540
+ import { z } from "zod";
541
+ var GRID = 1e3;
542
+ var ReaderItem = z.object({
543
+ // A mark with no wordmark sometimes comes back as `[]`, a line as its words: the same text.
544
+ text: z.union([z.string(), z.array(z.string()).transform((words) => words.join(" "))]),
545
+ kind: z.enum(["text", "logo"]),
546
+ box_2d: z.array(z.number()).length(4)
547
+ });
548
+ var ReaderAnswer = z.object({ items: z.array(ReaderItem) });
549
+ var fraction = (value) => Math.min(1, Math.max(0, value / GRID));
550
+ function textBoxesFromReader(answer) {
551
+ const parsed = ReaderAnswer.safeParse(answer);
552
+ if (!parsed.success) return null;
553
+ return parsed.data.items.map(({ text, kind, box_2d }) => {
554
+ const [ymin = 0, xmin = 0, ymax = 0, xmax = 0] = box_2d;
555
+ return {
556
+ text,
557
+ kind,
558
+ x0: fraction(Math.min(xmin, xmax)),
559
+ y0: fraction(Math.min(ymin, ymax)),
560
+ x1: fraction(Math.max(xmin, xmax)),
561
+ y1: fraction(Math.max(ymin, ymax))
562
+ };
563
+ });
564
+ }
565
+ var TEXT_BOX_PROMPT = [
566
+ "Find every line of visible text in this image and every logo mark.",
567
+ "For each, return: `text` exactly as rendered, character for character (keep misspellings, doubled or missing letters and garbled glyphs as they appear; never correct or complete them; for a logo, its wordmark text or an empty string); `kind` text or logo; `box_2d` the tight box around it as [ymin, xmin, ymax, xmax] on a 0-1000 grid over the whole image.",
568
+ "One entry per line of each column: a headline wrapped over two lines is two entries, and where text sits in columns, cards or bubbles side by side, each one's lines are their own entries. Never join text from two columns into one entry. List the text block by block in reading order, each block's lines top to bottom. Pseudo-text that is not readable as letters is left out. No text: an empty list.",
569
+ 'Reply with only this JSON: {"items":[{"text":"...","kind":"text|logo","box_2d":[ymin,xmin,ymax,xmax]}]}'
570
+ ].join("\n");
571
+ var READ_EDGE = 1536;
572
+ async function readTextBoxes(image, opts = {}) {
573
+ let jpeg;
574
+ try {
575
+ const resized = await sharp2(image).resize(READ_EDGE, READ_EDGE, { fit: "inside", withoutEnlargement: true }).jpeg({ quality: 90 }).toBuffer();
576
+ jpeg = resized.toString("base64");
577
+ } catch {
578
+ return { status: "not_checked" };
579
+ }
580
+ for (let attempt = 0; attempt < 2; attempt++) {
581
+ const answer = await askAboutImages(TEXT_BOX_READER_MODEL, [jpeg], TEXT_BOX_PROMPT, opts.onSpend, 6e4, {
582
+ effort: "minimal"
583
+ });
584
+ const boxes = textBoxesFromReader(answer);
585
+ if (boxes) return { status: "read", boxes };
586
+ }
587
+ return { status: "not_checked" };
588
+ }
589
+
590
+ // src/engine/nodes/local/lib/static-review.ts
591
+ var RATIO_TOLERANCE = 0.02;
592
+ function ratioOf(format) {
593
+ const [w, h] = format.split(":").map(Number);
594
+ return w && h ? w / h : null;
595
+ }
596
+ function ratioFindings(images) {
597
+ return images.flatMap(({ format, width, height }) => {
598
+ const want = ratioOf(format);
599
+ if (want === null || width <= 0 || height <= 0) return [];
600
+ if (Math.abs(width / height / want - 1) <= RATIO_TOLERANCE) return [];
601
+ return [
602
+ {
603
+ severity: "blocking",
604
+ what: `The ${format} version came out ${width}x${height}, which is not ${format}. It cannot be delivered as ${format}.`
605
+ }
606
+ ];
607
+ });
608
+ }
609
+ var RANKING_LINE = /^[\s*#>-]*(?:\d+[.)]\s*)?\**\s*([a-z][a-z ]*?)\s*\**\s*:\s*\**\s*(image\s+\d+(?:\s*[>=]\s*image\s+\d+)+)/i;
610
+ function parseJudgeRanking(reasoning) {
611
+ const byImage = /* @__PURE__ */ new Map();
612
+ let candidates = 0;
613
+ for (const line of reasoning.split("\n")) {
614
+ const match = line.match(RANKING_LINE);
615
+ if (!match) continue;
616
+ const criterion = (match[1] ?? "").trim().toLowerCase().replace(/\s+/g, "_");
617
+ const tiers = (match[2] ?? "").split(">").map((tier) => [...tier.matchAll(/image\s+(\d+)/gi)].map((m) => Number(m[1])));
618
+ const ranked = tiers.flat();
619
+ candidates = Math.max(candidates, ranked.length, ...ranked);
620
+ let below = ranked.length;
621
+ for (const tier of tiers) {
622
+ below -= tier.length;
623
+ for (const image of tier) {
624
+ const scores = byImage.get(image) ?? {};
625
+ scores[criterion] = below;
626
+ byImage.set(image, scores);
627
+ }
628
+ }
629
+ }
630
+ return [...byImage.entries()].sort(([a], [b]) => a - b).map(([image, scores]) => ({
631
+ image,
632
+ total: Object.values(scores).reduce((a, b) => a + b, 0),
633
+ of: candidates - 1,
634
+ scores
635
+ }));
636
+ }
637
+ function parseJudgeScores(reasoning) {
638
+ const out = [];
639
+ for (const line of reasoning.split("\n")) {
640
+ const head = line.match(/^\s*Image\s+(\d+)\s*:(.*)$/i);
641
+ if (!head) continue;
642
+ const scores = {};
643
+ let total;
644
+ for (const pair of (head[2] ?? "").matchAll(/([a-z_]+)\s*=\s*(\d+(?:\.\d+)?)/gi)) {
645
+ const key = (pair[1] ?? "").toLowerCase();
646
+ const value = Number(pair[2]);
647
+ if (key === "total") total = value;
648
+ else scores[key] = value;
649
+ }
650
+ if (Object.keys(scores).length === 0) continue;
651
+ out.push({ image: Number(head[1]), total: total ?? Object.values(scores).reduce((a, b) => a + b, 0), scores });
652
+ }
653
+ return out.length > 0 ? out : parseJudgeRanking(reasoning);
654
+ }
655
+ function judgeWinner(judge) {
656
+ const byGate = (a, b) => {
657
+ if (a.of === void 0) return b.total - a.total;
658
+ for (const criterion of Object.keys(a.scores)) {
659
+ const gap = (b.scores[criterion] ?? 0) - (a.scores[criterion] ?? 0);
660
+ if (gap !== 0) return gap;
661
+ }
662
+ return b.total - a.total;
663
+ };
664
+ return [...judge].sort(byGate)[0] ?? null;
665
+ }
666
+ var StaticFinding = z2.object({
667
+ severity: z2.enum(["blocking", "warning"]),
668
+ format: z2.string().optional(),
669
+ what: z2.string().trim().min(1),
670
+ item: z2.enum(STATIC_REVIEW_ITEMS).catch("other"),
671
+ element: z2.enum(FINDING_ELEMENTS).catch("other"),
672
+ defect: z2.enum(FINDING_DEFECTS).catch("other"),
673
+ edges: z2.array(z2.enum(FRAME_EDGES)).catch([])
674
+ });
675
+ var ALWAYS_BLOCKING = /* @__PURE__ */ new Set(["subject", "person"]);
676
+ function classifyStaticFindings(json) {
677
+ const findings = json?.findings;
678
+ if (!Array.isArray(findings)) return [];
679
+ return findings.flatMap((raw) => {
680
+ const parsed = StaticFinding.safeParse(raw);
681
+ if (!parsed.success) return [];
682
+ const { severity, format, what, ...fields } = parsed.data;
683
+ const kind = {
684
+ item: fields.item,
685
+ element: fields.element,
686
+ defect: fields.defect,
687
+ edges: [...new Set(fields.edges)]
688
+ };
689
+ if (kind.element === "button" && kind.defect === "missing") return [];
690
+ const graded = ALWAYS_BLOCKING.has(kind.item) ? "blocking" : kind.element === "scene_text" && kind.defect === "unreadable" ? "warning" : severity;
691
+ return [{ severity: graded, what: format?.trim() ? `${format.trim()}: ${what}` : what, kind }];
692
+ });
693
+ }
694
+ var KeepRead = z2.object({
695
+ format: z2.string().trim().min(1),
696
+ element: z2.number().int().min(1),
697
+ carried: z2.boolean(),
698
+ what: z2.string().default("")
699
+ });
700
+ var VITAL_GONE = {
701
+ stop: "what stopped the scroll in the proven ad is gone",
702
+ proof: "the proof of the proven ad is gone"
703
+ };
704
+ function vitalFindings(json, vital, formats) {
705
+ if (vital.length === 0) return [];
706
+ const raw = json?.keeps;
707
+ if (!Array.isArray(raw)) {
708
+ return [
709
+ {
710
+ severity: "warning",
711
+ what: `The finished ad was not checked one by one for what its proven ad won on (${vital.map((v) => v.keep).join("; ")}): look for it on every size yourself.`
712
+ }
713
+ ];
714
+ }
715
+ const seen = /* @__PURE__ */ new Set();
716
+ return raw.flatMap((entry) => {
717
+ const read = KeepRead.safeParse(entry);
718
+ if (!read.success || read.data.carried) return [];
719
+ const { format, element } = read.data;
720
+ const kept = vital[element - 1];
721
+ if (!kept || !formats.includes(format) || seen.has(`${format}:${element}`)) return [];
722
+ seen.add(`${format}:${element}`);
723
+ const what = read.data.what.trim().replace(/\.$/, "");
724
+ return [
725
+ {
726
+ severity: "blocking",
727
+ what: `${format}: ${VITAL_GONE[kept.job]}: ${kept.keep}.${what ? ` ${what.charAt(0).toUpperCase()}${what.slice(1)}.` : ""}`,
728
+ kind: { item: "concept", element: "picture", defect: "missing", edges: [], job: kept.job }
729
+ }
730
+ ];
731
+ });
732
+ }
733
+ var CopyRead = z2.object({
734
+ format: z2.string().trim().min(1),
735
+ string: z2.string(),
736
+ /** What the model read where the string should be; null when it found nothing like it. */
737
+ seen: z2.string().nullable()
738
+ });
739
+ function comparableCopy(text) {
740
+ return text.replace(/[‘’‚′]/g, "'").replace(/[“”„″]/g, '"').replace(/[‐-―−]/g, "-").replace(/…/g, "...").replace(/[«»]/g, '"').replace(/\s*[·•]\s*/g, " ").replace(/\s+/g, " ").replace(/ (?=[%€$£:;!?])/g, "").replace(/(?<=[€$£]) (?=\d)/g, "").trim().replace(/^"([^"]*)"$/, "$1").trim().toLowerCase();
741
+ }
742
+ function copyFindings(json, copy, formats, scrolled = {}) {
743
+ if (copy.length === 0) return [];
744
+ const raw = json?.copy;
745
+ const reads = Array.isArray(raw) ? raw.flatMap((entry) => {
746
+ const parsed = CopyRead.safeParse(entry);
747
+ return parsed.success ? [parsed.data] : [];
748
+ }) : [];
749
+ return formats.flatMap((format) => {
750
+ const forFormat = reads.filter((r) => r.format === format);
751
+ if (forFormat.length === 0) {
752
+ return [
753
+ {
754
+ severity: "blocking",
755
+ what: `${format}: the copy could not be read back; look at every word yourself.`
756
+ }
757
+ ];
758
+ }
759
+ const gone = scrolled[format] ?? [];
760
+ return copy.flatMap((expected) => {
761
+ if (gone.includes(expected)) return [];
762
+ const read = forFormat.find((r) => comparableCopy(r.string) === comparableCopy(expected));
763
+ const seen = read?.seen ?? null;
764
+ if (seen === null) {
765
+ return [{ severity: "blocking", what: `${format}: Text: "${expected}" is missing.` }];
766
+ }
767
+ if (comparableCopy(seen) === comparableCopy(expected)) return [];
768
+ return [{ severity: "blocking", what: `${format}: Text: "${expected}" reads "${seen}".` }];
769
+ });
770
+ });
771
+ }
772
+ var EDGE_WORDS = {
773
+ top: "the top of the screen",
774
+ bottom: "the bottom of the screen",
775
+ left: "the left edge",
776
+ right: "the right edge"
777
+ };
778
+ function blockName(v, under) {
779
+ if (v.kind === "logo") return "the logo";
780
+ return under > 0 ? `"${v.text}" and the ${under === 1 ? "line" : `${under} lines`} under it` : `"${v.text}"`;
781
+ }
782
+ function outsideBand({ violation: v, under }, placement, surface, storiesToo) {
783
+ const what = blockName(v, under);
784
+ const sits = under > 0 ? "sit" : "sits";
785
+ const it = under > 0 ? "them" : "it";
786
+ const edges = v.edges.map((e) => EDGE_WORDS[e]).join(" and ");
787
+ if (placement === "reels" || placement === "stories" || placement === "vertical") {
788
+ if (v.reelsOnly)
789
+ return `${what} ${sits} where Reels' caption and buttons cover ${it} (${edges}): unseen by everyone the ad reaches in Reels, though Stories shows ${it}.`;
790
+ const names = placement === "reels" && storiesToo ? ["Stories", ...surface.split(" and ")] : surface.split(" and ");
791
+ const apps = names.length > 1 ? `${names.slice(0, -1).join(", ")} and ${names.at(-1)}` : surface;
792
+ return `${what} ${sits} where ${apps} ${names.length > 1 ? "cover" : "covers"} ${it} (${edges}).`;
793
+ }
794
+ if (placement === "master") return `${what} ${sits} outside the space every size keeps clear (${edges}).`;
795
+ return `${what} ${under > 0 ? "run" : "runs"} off the edge of the picture (${edges}).`;
796
+ }
797
+ function bandSeverity(v, placement) {
798
+ if (placement === "master" || v.clearance <= FRAME_CUT) return "blocking";
799
+ if (placement === "feed") return null;
800
+ if (!v.covered) return null;
801
+ return hidden(v) ? "blocking" : "warning";
802
+ }
803
+ var EDGE_ORDER = ["top", "bottom", "left", "right"];
804
+ function deepestShare(parts) {
805
+ const shares = parts.flatMap((v) => v.coveredShare === void 0 ? [] : [v.coveredShare]);
806
+ return shares.length > 0 ? { coveredShare: Math.max(...shares) } : {};
807
+ }
808
+ function oneLogo(violations) {
809
+ const logo = violations.filter((v) => v.kind === "logo");
810
+ if (logo.length <= 1) return [...violations];
811
+ const edges = EDGE_ORDER.filter((e) => logo.some((v) => v.edges.includes(e)));
812
+ const merged = {
813
+ text: "",
814
+ kind: "logo",
815
+ edges,
816
+ overshoot: Math.max(...logo.map((v) => v.overshoot)),
817
+ clearance: Math.min(...logo.map((v) => v.clearance)),
818
+ covered: logo.some((v) => v.covered),
819
+ ...deepestShare(logo),
820
+ // `every` holds on no pieces at all: only a covered logo can be covered by Reels alone.
821
+ reelsOnly: logo.some((v) => v.covered) && logo.filter((v) => v.covered).every((v) => v.reelsOnly)
822
+ };
823
+ const first = violations.indexOf(logo[0]);
824
+ const rest = violations.filter((v) => v.kind !== "logo");
825
+ return [...rest.slice(0, first), merged, ...rest.slice(first)];
826
+ }
827
+ var SEPARATE = 0.1;
828
+ function apart(a, b) {
829
+ const across = Math.max(0, b.x0 - a.x1, a.x0 - b.x1);
830
+ const down = Math.max(0, b.y0 - a.y1, a.y0 - b.y1);
831
+ return Math.max(across, down) > SEPARATE;
832
+ }
833
+ function misplacedBlocks(boxes, check, supports = () => false) {
834
+ const checked = readingOrder(boxes).map((box) => ({ box, violation: check(box) }));
835
+ const clearLogos = checked.filter((c) => c.box.kind === "logo" && !c.violation).map((c) => c.box);
836
+ const past = checked.flatMap(
837
+ ({ box, violation }) => violation && !(box.kind === "logo" && clearLogos.length > 0 && clearLogos.every((l) => apart(l, box))) ? [{ box, violation }] : []
838
+ );
839
+ const logos = oneLogo(past.filter((p) => p.violation.kind === "logo").map((p) => p.violation));
840
+ const blocks = [];
841
+ for (const { box, violation } of past.filter((p) => p.violation.kind !== "logo")) {
842
+ const open = blocks[blocks.length - 1];
843
+ const same = open && continuesColumn(open.last, box) !== null && open.first.covered === violation.covered && Boolean(open.first.reelsOnly) === Boolean(violation.reelsOnly) && open.first.edges.join() === violation.edges.join();
844
+ if (open && same) {
845
+ open.last = box;
846
+ open.under++;
847
+ open.supporting = open.supporting && supports(box);
848
+ open.parts.push(violation);
849
+ if (violation.clearance < open.worst.clearance) open.worst = violation;
850
+ continue;
851
+ }
852
+ blocks.push({
853
+ last: box,
854
+ first: violation,
855
+ under: 0,
856
+ worst: violation,
857
+ parts: [violation],
858
+ supporting: supports(box)
859
+ });
860
+ }
861
+ return [
862
+ ...blocks.map((b) => ({
863
+ violation: { ...b.first, clearance: b.worst.clearance, ...deepestShare(b.parts) },
864
+ under: b.under,
865
+ supporting: b.supporting
866
+ })),
867
+ ...logos.map((violation) => ({ violation, under: 0 }))
868
+ ];
869
+ }
870
+ function measuredFindings(input) {
871
+ const { format } = input;
872
+ const text = textMismatch(input.lines, input.boxes, { allowed: input.allowed });
873
+ const area = staticSafeArea(format, input.placements);
874
+ const placement = input.band ? "master" : area.placement;
875
+ const names = (input.logoWords ?? input.allowed ?? []).filter((n) => normalizeCopy(n).length > 0);
876
+ const placed = withWordmark(input.boxes, names);
877
+ const bandOpts = {
878
+ ...input.placements ? { placements: input.placements } : {},
879
+ ...input.band ? { band: input.band } : {}
880
+ };
881
+ const copyBoxes = new Set(input.lines.flatMap((line) => boxesOfLine(line, input.boxes)));
882
+ const logoAt = input.placedLogo;
883
+ const sceneMark = (box) => logoAt != null && box.kind === "logo" && !(box.x0 === logoAt.x0 && box.y0 === logoAt.y0 && box.x1 === logoAt.x1 && box.y1 === logoAt.y1);
884
+ const shown = shownBoxes(placed, input.lines, (box) => bandViolations([box], format, bandOpts).length === 0).filter(
885
+ (s) => !(input.native && s.box.kind === "text" && interfaceWord(s.box.text, input.allowed)) && !sceneMark(s.box)
886
+ );
887
+ const supporting = new Set(shown.filter((s) => s.supporting).map((s) => s.box));
888
+ const blockers = blockingPlacements(input.placements);
889
+ const storiesToo = blockers.includes("stories");
890
+ const storiesAlone = blockers.filter((p) => p !== "reels");
891
+ const misplaced = misplacedBlocks(
892
+ shown.map((s) => s.box),
893
+ (box) => {
894
+ const v = bandViolations([box], format, bandOpts)[0];
895
+ if (!v?.covered || placement !== "reels" || !storiesToo) return v;
896
+ const inStories = bandViolations([box], format, { placements: storiesAlone })[0];
897
+ return inStories?.covered ? v : { ...v, reelsOnly: true };
898
+ },
899
+ (box) => supporting.has(box)
900
+ );
901
+ const blocking = (what) => ({ severity: "blocking", what: `${format}: ${what}` });
902
+ const small = leadTooSmall(format, input.lines, input.boxes);
903
+ const scale = typeScaleFindings(format, input.lines, placed);
904
+ const logos = input.expectLogo ? logoCountFinding(placed) : null;
905
+ const said = (l) => l.read === null ? `Text: "${l.text}" is missing.` : `Text: "${l.text}" reads "${l.read}".`;
906
+ const misspelt = misspeltNames([...placed.filter((b) => b.kind === "logo").map((b) => b.text), ...text.extra], names);
907
+ const unasked = text.extra.filter(
908
+ (chunk) => (
909
+ // A symbol with no word or number ("€", "%") is a mark beside one, never copy (Oct 2026 bench).
910
+ /[\p{L}\p{N}]/u.test(chunk) && !misspelt.some((m) => m.chunk === chunk) && // The logo read in pieces ("EALDE", then "Business School" under it) is the logo.
911
+ !fragmentOf(chunk, names, { share: 1, cut: input.native === true }) && !(input.native && (fragmentOf(chunk, input.allowed ?? [], { cut: true }) || crumb(chunk)))
912
+ )
913
+ );
914
+ const copyTexts = input.lines.map((l) => l.text);
915
+ const echoes = unasked.filter((chunk) => fragmentOf(chunk, copyTexts, { share: 0.8, cut: input.native === true }));
916
+ const twice = echoes.filter((chunk) => mostOfALine(chunk, copyTexts));
917
+ const extra = unasked.filter((chunk) => !echoes.includes(chunk));
918
+ return [
919
+ ...text.lines.flatMap((l) => {
920
+ if (input.native && l.read !== null) return [];
921
+ if (!input.adapted || loadBearing(l)) return [blocking(said(l))];
922
+ return l.similarity >= MEANING_MATCH ? [] : [{ severity: "warning", what: `${format}: ${said(l)}` }];
923
+ }),
924
+ ...extraWordFindings(format, extra, input.boxes, [...copyBoxes], input.offers ?? /* @__PURE__ */ new Set()),
925
+ ...twice.map(
926
+ (t) => ({ severity: "warning", what: `${format}: "${t}" is on the ad twice; keep it once.` })
927
+ ),
928
+ ...misspelt.map((m) => blocking(`the brand's name reads "${m.read}", not "${m.name}".`)),
929
+ ...unbadgedClaims(input.lines, input.boxes, input.cited).map(
930
+ (c) => blocking(
931
+ `"${c.line}" names ${c.platform}, but ${c.platform}'s logo is not on the ad: show its real badge, or drop the claim.`
932
+ )
933
+ ),
934
+ // A native screen is laid out as its app lays it out: only what the interface really covers is a defect.
935
+ ...(input.native ? misplaced.filter((m) => m.violation.covered) : misplaced).flatMap((m) => {
936
+ const severity = bandSeverity(m.violation, placement);
937
+ if (!severity) return [];
938
+ const what = `${format}: ${outsideBand(m, placement, area.surface, storiesToo)}`;
939
+ const optional = severity === "blocking" && m.supporting && placement !== "master" && m.violation.clearance > FRAME_CUT;
940
+ return optional ? [{ severity: "warning", what: `${what} Fine for a supporting line nobody has to read.` }] : [{ severity, what }];
941
+ }),
942
+ ...small ? [blocking(`the lead line "${small}" is too small to read at the size the feed shows the ad.`)] : [],
943
+ ...scale.map((what) => ({ severity: "warning", what: `${format}: ${what}` })),
944
+ ...logos ? [{ severity: "warning", what: `${format}: ${logos}` }] : [],
945
+ ...(input.offBrand ?? []).map(
946
+ (ink) => ({
947
+ severity: "warning",
948
+ what: `${format}: "${ink.text}" is set in a colour that is not one of the brand's.`
949
+ })
950
+ )
951
+ ];
952
+ }
953
+ function leadLine(lines) {
954
+ return lines.find((l) => FIGURE_ROLES.has(roleKey(l.role))) ?? lines.find((l) => HEADLINE_ROLES2.has(roleKey(l.role)));
955
+ }
956
+ var FIGURE_ROLES = /* @__PURE__ */ new Set(["price", "stat", "figure", "number", "discount"]);
957
+ var HEADLINE_ROLES2 = /* @__PURE__ */ new Set(["headline", "title"]);
958
+ var LEAD_MIN_PX = 9;
959
+ function leadTooSmall(format, lines, boxes) {
960
+ const ratio = ratioOf(format);
961
+ if (ratio === null) return null;
962
+ const lead = lines.find((l) => FIGURE_ROLES.has(roleKey(l.role))) ?? lines.find((l) => HEADLINE_ROLES2.has(roleKey(l.role)));
963
+ if (!lead) return null;
964
+ const found = boxesOfLine(lead, boxes);
965
+ if (found.length === 0) return null;
966
+ const tallest2 = Math.max(...found.map((b) => b.y1 - b.y0));
967
+ const thumbnailHeight = THUMBNAIL_WIDTH / ratio;
968
+ return tallest2 * thumbnailHeight < LEAD_MIN_PX ? lead.text : null;
969
+ }
970
+ var LOAD_BEARING_ROLES = /* @__PURE__ */ new Set([
971
+ ...FIGURE_ROLES,
972
+ ...HEADLINE_ROLES2,
973
+ "cta",
974
+ "button",
975
+ "call_to_action",
976
+ "offer",
977
+ "claim",
978
+ "rating",
979
+ "quote",
980
+ "testimonial",
981
+ "attribution",
982
+ "badge",
983
+ "fine_print",
984
+ "legal",
985
+ "disclaimer",
986
+ "footnote"
987
+ ]);
988
+ var MEANING_MATCH = 0.8;
989
+ function loadBearing(line) {
990
+ return LOAD_BEARING_ROLES.has(roleKey(line.role)) || /[\d%€$£]/.test(line.text);
991
+ }
992
+ var folded = (text) => normalizeCopy(text).normalize("NFD").replace(new RegExp("\\p{M}", "gu"), "");
993
+ var MISSPELT_NAME = 0.7;
994
+ function misspeltNames(texts, names) {
995
+ const out = [];
996
+ const distinct = names.filter((name, i) => names.findIndex((n) => folded(n) === folded(name)) === i);
997
+ for (const chunk of texts) {
998
+ const words = folded(chunk).split(" ").filter(Boolean);
999
+ for (const name of distinct) {
1000
+ const want = folded(name);
1001
+ const size = want.split(" ").length;
1002
+ if (want.length < 4) continue;
1003
+ for (let i = 0; i + size <= words.length; i++) {
1004
+ const read = words.slice(i, i + size).join(" ");
1005
+ if (read === want || copySimilarity(read, want) < MISSPELT_NAME) continue;
1006
+ out.push({ chunk, read, name });
1007
+ break;
1008
+ }
1009
+ }
1010
+ }
1011
+ return out;
1012
+ }
1013
+ function unbadgedClaims(lines, boxes, cited) {
1014
+ return lines.flatMap((line) => {
1015
+ const platform = citedBy(line.text, cited);
1016
+ if (!platform) return [];
1017
+ const naming = boxes.filter((b) => b.kind === "text" && namedPlatform(b.text) === platform);
1018
+ const mentions = new RegExp(platform.pattern.source, `${platform.pattern.flags}g`);
1019
+ const said = lines.reduce((n, l) => n + (l.text.match(mentions) ?? []).length, 0);
1020
+ const badge = boxes.some((b) => b.kind === "logo" && namedPlatform(b.text) === platform) || naming.length > said && naming.some((b) => normalizeCopy(b.text).split(" ").length <= 3);
1021
+ return badge ? [] : [{ line: line.text, platform: platform.name }];
1022
+ });
1023
+ }
1024
+ var BUTTON_ROLES = /* @__PURE__ */ new Set(["cta", "button", "call_to_action"]);
1025
+ var FINE_PRINT_ROLES = /* @__PURE__ */ new Set(["fine_print", "legal", "disclaimer", "footnote"]);
1026
+ var PHONE_WIDTH = 400;
1027
+ var LINE_MIN_PX = 6;
1028
+ var INVERTED = 1.15;
1029
+ var tallest = (line, boxes) => {
1030
+ const found = boxesOfLine(line, boxes);
1031
+ return found.length > 0 ? Math.max(...found.map((b) => b.y1 - b.y0)) : null;
1032
+ };
1033
+ function typeScaleFindings(format, lines, boxes) {
1034
+ const ratio = ratioOf(format);
1035
+ if (ratio === null) return [];
1036
+ const lead = leadLine(lines);
1037
+ const leadsWithHeadline = lead !== void 0 && HEADLINE_ROLES2.has(roleKey(lead.role));
1038
+ const supporting = lines.filter(
1039
+ (l) => l !== lead && !(leadsWithHeadline && HEADLINE_ROLES2.has(roleKey(l.role))) && l.lettering === "designed" && !BUTTON_ROLES.has(roleKey(l.role)) && !FINE_PRINT_ROLES.has(roleKey(l.role))
1040
+ );
1041
+ const out = [];
1042
+ const leadHeight = lead ? tallest(lead, boxes) : null;
1043
+ if (lead && leadHeight !== null) {
1044
+ const bigger = supporting.map((l) => ({ l, h: tallest(l, boxes) })).filter((x) => x.h !== null && x.h > leadHeight * INVERTED).sort((a, b) => b.h - a.h)[0];
1045
+ if (bigger)
1046
+ out.push(`the main line "${lead.text}" is smaller than "${bigger.l.text}", so people read the wrong line first.`);
1047
+ }
1048
+ const phoneHeight = PHONE_WIDTH / ratio;
1049
+ const small = supporting.filter((line) => {
1050
+ const h = tallest(line, boxes);
1051
+ return h !== null && h * phoneHeight < LINE_MIN_PX;
1052
+ });
1053
+ const [only] = small;
1054
+ if (small.length === 1 && only) out.push(`"${only.text}" is hard to read on a phone; make it bigger.`);
1055
+ if (small.length > 1) {
1056
+ out.push(
1057
+ `${small.length} lines are hard to read on a phone (${small.map((l) => `"${l.text}"`).join(", ")}); make them bigger.`
1058
+ );
1059
+ }
1060
+ return out;
1061
+ }
1062
+ var SCENE_MARK_SHARE = 0.25;
1063
+ var LOGO_GAP = 0.05;
1064
+ function logoCountFinding(boxes) {
1065
+ const logos = boxes.filter((b) => b.kind === "logo");
1066
+ const near = (a, b) => Math.max(a.x0 - b.x1, b.x0 - a.x1, 0) <= LOGO_GAP && Math.max(a.y0 - b.y1, b.y0 - a.y1, 0) <= LOGO_GAP;
1067
+ const clusters = [];
1068
+ for (const box of logos) {
1069
+ const joined = clusters.filter((c) => c.some((b) => near(b, box)));
1070
+ const merged = [box, ...joined.flat()];
1071
+ for (const c of joined) clusters.splice(clusters.indexOf(c), 1);
1072
+ clusters.push(merged);
1073
+ }
1074
+ if (clusters.length === 0) return "the brand's logo is not on it.";
1075
+ const area = (c) => (Math.max(...c.map((b) => b.x1)) - Math.min(...c.map((b) => b.x0))) * (Math.max(...c.map((b) => b.y1)) - Math.min(...c.map((b) => b.y0)));
1076
+ const largest = Math.max(...clusters.map(area));
1077
+ const set = clusters.filter((c) => area(c) >= largest * SCENE_MARK_SHARE).length;
1078
+ return set > 1 ? `the logo is on the ad ${set} times; keep it once.` : null;
1079
+ }
1080
+ function staticVerdict(findings) {
1081
+ if (findings === null) return "not_reviewed";
1082
+ if (findings.some((f) => f.severity === "blocking")) return "needs_fixes";
1083
+ return findings.length > 0 ? "ready_with_notes" : "ready";
1084
+ }
1085
+ function textInstructions(copy, measured) {
1086
+ const wordless = "This ad has no words on purpose: the picture is the ad. Do not report missing copy, a missing headline or a missing call to action.";
1087
+ if (measured) {
1088
+ return [
1089
+ ...copy.length === 0 ? [wordless] : [],
1090
+ "The words were already read back and measured by another check: do not transcribe them or report their spelling, extra words or position.",
1091
+ "1. TEXT: garbled or malformed letters, or letters that do not read as words (a brand name inside a drawn logo is fine)."
1092
+ ];
1093
+ }
1094
+ if (copy.length > 0) {
1095
+ return [
1096
+ "First, transcribe the copy. On every full-size image, find each of these strings and copy out EXACTLY what is printed there, character for character (accents, case, punctuation), or null when nothing like it is there:",
1097
+ copy.map((c) => `- "${c}"`).join("\n"),
1098
+ "1. TEXT: extra words that are not in the list, a string shown twice, or garbled letters (a brand name inside a drawn logo is fine)."
1099
+ ];
1100
+ }
1101
+ return [wordless, "1. TEXT: any letters or words that appear anyway (invented or garbled text is blocking)."];
1102
+ }
1103
+ function storiesItem(opts) {
1104
+ if (opts.measured || !opts.formats.includes("9:16")) return [];
1105
+ const vertical = staticSafeArea("9:16");
1106
+ const name = vertical.placement === "reels" ? "REELS AND STORIES" : vertical.surface.toUpperCase();
1107
+ return [
1108
+ `4. ${name}: on the 9:16 image, text, a logo or a button that exists clearly inside the top ${Math.round(vertical.top * 100)}% or the bottom ${Math.round(vertical.bottom * 100)}% of the frame (measure it; an element that starts below the top line is fine).`
1109
+ ];
1110
+ }
1111
+ var VITAL_ROLE = { stop: "what stops the scroll", proof: "the proof" };
1112
+ function conceptItem(opts) {
1113
+ const concept = opts.concept && opts.concept.mustKeep.length > 0 ? opts.concept : void 0;
1114
+ if (concept) {
1115
+ const vital = concept.vital ?? [];
1116
+ return [
1117
+ `8. CONCEPT: the last image is the ad this one is built on, shown only to compare (never judge its words, brand or people, which are another advertiser's). On every size, check the finished ad still carries each of these: ${concept.mustKeep.join("; ")}${concept.idea ? `, and still works by the same trick: ${concept.idea}` : ""}. Judge each by the role it plays, never by the form the reference gave it (a newspaper on a desk carries a newspaper held in hands; other words carry the same pain): an element is carried when the ad does its job, and what people are doing, how many there are, the setting or the visual style is never a finding. The trick is how the ad persuades, never a look it must have. One element missing is blocking: name it, in a sentence a marketer reads (what the ad no longer does), never a list of details.`,
1118
+ ...vital.length > 0 ? [
1119
+ `8a. WHAT IT WON ON: for every size, answer in "keeps" whether the finished ad still has each of these, doing the job it does in the last image: ${vital.map((v, i) => `${i + 1}. ${VITAL_ROLE[v.job]}: ${v.keep}`).join("; ")}. "carried" is false when it is not there, or is there but no longer does that job (marks gone from a checklist, a face too small to stop anyone); then say in "what", in a sentence a marketer reads, what the ad no longer does.`
1120
+ ] : []
1121
+ ];
1122
+ }
1123
+ return opts.mechanisms && opts.mechanisms.length > 0 ? [`8. CONCEPT: the ad no longer carries these devices it is built on (warning): ${opts.mechanisms.join("; ")}.`] : [];
1124
+ }
1125
+ function contextItems(opts) {
1126
+ return {
1127
+ // The pre-render viewer check read the copy and a description of the picture; this reads
1128
+ // the picture. A warning: the render is paid for, and the copy already passed that viewer.
1129
+ viewer: opts.viewer ? [
1130
+ `9. VIEWER: seen by ${opts.viewer}, the finished ad does not show what is offered, to whom, and what to do next (warning).`
1131
+ ] : [],
1132
+ // Measured, the lead's size is checked on its boxes (`leadTooSmall`): the model's call was wrong on most flags.
1133
+ thumbnail: opts.measured ? [] : [
1134
+ opts.thumbnails ? "7. THUMBNAIL: at thumbnail size the lead line (the largest words) cannot be read. Judge only whether those words can be read, nothing else. That is blocking: most people only ever see the ad that small." : "7. THUMBNAIL: the lead line (the largest words) would be unreadable on a phone feed. That is blocking."
1135
+ ],
1136
+ sizes: opts.formats.length > 1 ? [
1137
+ "12. SIZES: one size loses what the others are built on: the letter sheet, the email or chat window, the post card, the comic's panels and their order, the product the ad is about (blocking; report it on the size that differs). A size that shows more of the scene (words on a prop now readable, more of the room), or is arranged, sized or decorated differently for its shape (a title without its frame, an extra brand shape filling the height), is never a finding."
1138
+ ] : []
1139
+ };
1140
+ }
1141
+ var FINDING_FIELDS = `For each finding also give: "item", the item above it answers, in lower case (TEXT \u2192 "text", ONE IDEA \u2192 "one_idea", the 9:16 safe-zone item \u2192 "safe_zone"); "element", what on the ad it is about ("copy" the ad's own words, "button", "logo", "scene_text" words or figures printed on something in the picture that are not the copy, "picture" anything else drawn, else "other"); "defect" ("cut" when the frame's edge cuts it, "missing" when it is not there, "unreadable" when it is too blurred or small to read, else "other"); "edges", the frame edges that cut it, [] unless "cut". Write "what" without a label.`;
1142
+ function buildStaticReviewPrompt(opts) {
1143
+ const brand = opts.brand ? ` for ${opts.brand}` : "";
1144
+ const order = opts.formats.join(", ");
1145
+ const shown = opts.thumbnails ? `These are the finished versions of ONE static advertisement${brand}, in this order: ${order}. After them come the same versions again, in the same order, shrunk to phone-feed thumbnail size (about 240px wide).` : `These are the finished versions of ONE static advertisement${brand}, in this order: ${order}.`;
1146
+ const text = textInstructions(opts.copy, opts.measured === true);
1147
+ const logo = opts.native ? `2. LOGO: the brand's logo appears where ${opts.native} shows it (an avatar, a sender's picture, a summary card), possibly more than once: report it only when distorted or cut.` : opts.logoPlaced ? "2. LOGO: the brand's logo is its own file, placed exactly as the brand drew it: its letterforms, ligatures and marks are the brand's design, never distorted, redrawn or misspelt. Report it only when the frame cuts it, something covers it, or a second logo is drawn on the ad." : opts.logo ? "2. LOGO: the brand logo distorted, redrawn in another style, cut off, or set twice as the ad's logo. The brand's mark printed on something in the scene (clothing, a bag, a van, packaging) is the scene, never a second logo; call it mirrored only when its letters read backwards." : "2. LOGO: this ad carries no logo on purpose (the platform shows the brand's name and picture); never report a missing logo. A made-up logo or wordmark in the picture is blocking.";
1148
+ const { viewer, thumbnail, sizes } = contextItems(opts);
1149
+ const copyShape = opts.copy.length > 0 && !opts.measured ? ',"copy":[{"format":"4:5","string":"<a listed string>","seen":"<what is printed>|null"}]' : "";
1150
+ const keepsShape = opts.concept?.vital?.length ? ',"keeps":[{"format":"4:5","element":1,"carried":true,"what":""}]' : "";
1151
+ return [
1152
+ shown,
1153
+ ...text,
1154
+ "",
1155
+ "Then report, per format, only what is actually wrong:",
1156
+ logo,
1157
+ "3. LAYOUT: anything the ad shows clipped by the frame edge (part of a word, the logo, a button, the product or a face cut away; an element whole but near the edge is not clipped, and scenery the frame crops as any photo does is the picture), overlapping, or unreadable against what is behind it.",
1158
+ ...storiesItem(opts),
1159
+ // Tier 0, Oct 2026: the real defects were where a size was extended; 8 of 8 hand claims checked were wrong.
1160
+ "5. PICTURE: a ghost, a smear, a seam, a blurred strip, a duplicated or mirrored object, or garbled pseudo-text in focus where a viewer reads it, typically where the picture was extended to fill a size (blocking). Text out of focus in the background (a screen, a shelf of books) is the scene; an ordinary object a viewer would not stop at on a phone is not malformed.",
1161
+ "5a. SUBJECT: the ad's subject (its pet, person or product) shown more than once as visibly different ones where the ad means one, or a second, different subject beside it that leaves a viewer asking whose story it is (blocking).",
1162
+ ...opts.uncastPeople && opts.uncastPeople.length > 0 ? [
1163
+ `5c. PERSON: the copy names ${opts.uncastPeople.join(" and ")}, real, and this ad was given no photo of them: a face shown as them or beside their name is a stranger wearing that name (blocking).`
1164
+ ] : [],
1165
+ ...opts.castsNobody ? [
1166
+ "5d. PERSON: this ad casts nobody: any person in the picture (a face or a body, not a tiny round avatar inside an interface) is a stranger nobody cast (blocking)."
1167
+ ] : [],
1168
+ "5b. PEOPLE: a person's hands, face or body drawn so wrong a viewer would notice at a glance on a phone (warning). Never a detail you have to zoom in to see.",
1169
+ "6. ONE IDEA: two or more elements compete equally for the eye, so no single promise leads (warning).",
1170
+ ...thumbnail,
1171
+ ...conceptItem(opts),
1172
+ ...viewer,
1173
+ "11. PROOF: stars, a rating or reviews shown while the ad names no source for them anywhere (a review platform, a survey such as CSAT or NPS, a study), so the rating has no source (blocking).",
1174
+ ...sizes,
1175
+ ...opts.native ? [
1176
+ `13. NATIVE: this ad is ${opts.native}, drawn exactly as the platform shows it: its interface, names, handles, times and counts are meant to be there, and whatever of them it leaves out is left out on purpose (never report the interface as wrong, incomplete or clipped); on a 9:16 the app fills the screen as a phone shows it, its bars and the card with the brand's headline included, and a chat's earliest messages scrolled up under the header are meant; on a wall of reviews the cards piled behind and cut by the frame's edges are the pile, never cut-off copy; the platform prints its own button under the ad, so never report a missing call to action. Report a photo in it that looks AI-made or staged rather than a real person's (blocking when a face is plainly AI-made), or that does not show what the words say (warning).`
1177
+ ] : [],
1178
+ "Blocking = it cannot ship as is (a broken logo, clipped content, a ghost or smear in the picture). Warning = it can ship but should improve.",
1179
+ "Never report an element as missing because ads usually have one: judge only what this concept holds. An empty findings list is the right answer for a clean ad. Keep each item under twenty words.",
1180
+ FINDING_FIELDS,
1181
+ `Reply with only this JSON: {"findings":[{"severity":"blocking|warning","format":"4:5","item":"${STATIC_REVIEW_ITEMS.join("|")}","element":"${FINDING_ELEMENTS.join("|")}","defect":"${FINDING_DEFECTS.join("|")}","edges":["${FRAME_EDGES.join("|")}"],"what":"..."}]${copyShape}${keepsShape}}`
1182
+ ].join("\n");
1183
+ }
1184
+ var SCENE_PRINT_SCALE = 0.45;
1185
+ var SCENE_BLOCK_LINES = 3;
1186
+ var LINE_REPEAT_SHARE = 0.6;
1187
+ function mostOfALine(chunk, copy) {
1188
+ const wordsOf = (text) => normalizeCopy(text).split(" ").filter((w) => /[\p{L}\p{N}]/u.test(w));
1189
+ const said = new Set(wordsOf(chunk));
1190
+ return copy.some((line) => {
1191
+ const words = wordsOf(line);
1192
+ return words.length > 0 && words.filter((w) => said.has(w)).length / words.length >= LINE_REPEAT_SHARE;
1193
+ });
1194
+ }
1195
+ var SIGN_CLAIM = /[%\p{Sc}]/u;
1196
+ var PRICE = /[€$£]\s?\d|\d\s?[€$£]/;
1197
+ var COPY_SIZE_SHARE = 0.8;
1198
+ var HEADLINE_SIZE_SHARE = 0.8;
1199
+ function extraWordFindings(format, extra, boxes, copyBoxes, offers) {
1200
+ if (extra.length === 0) return [];
1201
+ const heights = copyBoxes.map((b) => b.y1 - b.y0).filter((h) => h > 0);
1202
+ const smallest = heights.length > 0 ? Math.min(...heights) : 0;
1203
+ const boxOf = (chunk) => boxes.find((b) => b.kind === "text" && normalizeCopy(b.text).includes(normalizeCopy(chunk)));
1204
+ const height = (chunk) => {
1205
+ const box = boxOf(chunk);
1206
+ return box === void 0 ? null : box.y1 - box.y0;
1207
+ };
1208
+ const sorted = [...heights].sort((a, b) => a - b);
1209
+ const usual = sorted[Math.floor(sorted.length / 2)] ?? 0;
1210
+ const tallest2 = sorted.at(-1) ?? 0;
1211
+ const underCopy = extra.filter((chunk) => (height(chunk) ?? 0) < usual * COPY_SIZE_SHARE);
1212
+ const scenery = (chunk) => {
1213
+ const h = height(chunk);
1214
+ return h !== null && h < smallest * SCENE_PRINT_SCALE || underCopy.length >= SCENE_BLOCK_LINES && underCopy.includes(chunk);
1215
+ };
1216
+ const belowHeadline = (chunk) => (height(chunk) ?? 0) < tallest2 * HEADLINE_SIZE_SHARE;
1217
+ const offered = new Set([...offers].map(normalizeCopy));
1218
+ const claims = (chunk) => SIGN_CLAIM.test(chunk) || offered.has(normalizeCopy(chunk));
1219
+ const printed = (chunk) => usual > 0 && belowHeadline(chunk) && (!claims(chunk) || underCopy.includes(chunk) && scenery(chunk));
1220
+ const quote = (chunks) => chunks.map((e) => `"${e}"`).join(", ");
1221
+ const asCopy = extra.filter((chunk) => !printed(chunk));
1222
+ const prices = extra.filter((chunk) => printed(chunk) && PRICE.test(chunk));
1223
+ const inScene = extra.filter((chunk) => printed(chunk) && !prices.includes(chunk));
1224
+ return [
1225
+ ...asCopy.length > 0 ? [
1226
+ {
1227
+ severity: "blocking",
1228
+ // `static-autofix.ts` EXTRA_WORDS reads this sentence to erase them.
1229
+ what: `${format}: the picture adds words that aren't in the copy: ${quote(asCopy)}. Remove them, or add them to the copy.`
1230
+ }
1231
+ ] : [],
1232
+ ...prices.length > 0 ? [
1233
+ {
1234
+ severity: "blocking",
1235
+ // `static-autofix.ts` SCENE_PRICES reads this sentence to blur them.
1236
+ what: `${format}: the picture shows prices the copy does not hold: ${quote(prices)}. Make them unreadable.`
1237
+ }
1238
+ ] : [],
1239
+ ...inScene.length > 0 ? [
1240
+ {
1241
+ severity: "warning",
1242
+ what: `${format}: words drawn in the scene, not in the copy: ${quote(inScene)}. Fine if they belong there.`
1243
+ }
1244
+ ] : []
1245
+ ];
1246
+ }
1247
+ var SAME_PICTURE_BITS = 4;
1248
+ function hammingHex(a, b) {
1249
+ let bits = 0;
1250
+ for (let i = 0; i < Math.min(a.length, b.length); i++) {
1251
+ let x = Number.parseInt(a[i] ?? "0", 16) ^ Number.parseInt(b[i] ?? "0", 16);
1252
+ while (x) {
1253
+ bits += x & 1;
1254
+ x >>= 1;
1255
+ }
1256
+ }
1257
+ return bits;
1258
+ }
1259
+ async function nearIdenticalFindings(current, previous) {
1260
+ const hash = async (source) => perceptualHash(await bytesOf(source).catch(() => Buffer.alloc(0)));
1261
+ const out = [];
1262
+ for (const image of current) {
1263
+ const before = previous.find((p) => p.format === image.format);
1264
+ if (!before) continue;
1265
+ const [a, b] = await Promise.all([hash(image.path), hash(before.path)]);
1266
+ if (a === null || b === null || hammingHex(a, b) > SAME_PICTURE_BITS) continue;
1267
+ out.push({
1268
+ severity: "warning",
1269
+ what: `${image.format}: near-identical to the previous attempt: this retry changed nothing. Change what prompt.json asks for, or use a different fix, rather than running it again.`
1270
+ });
1271
+ }
1272
+ return out;
1273
+ }
1274
+ async function samePictureSizes(current, previous) {
1275
+ const digest = async (source) => createHash("sha256").update(await bytesOf(source).catch(() => Buffer.from(source))).digest("hex");
1276
+ const same = [];
1277
+ for (const image of current) {
1278
+ const before = previous.find((p) => p.format === image.format);
1279
+ if (before && await digest(image.path) === await digest(before.path)) same.push(image.format);
1280
+ }
1281
+ return same;
1282
+ }
1283
+ var AT_EDGE = 0.025;
1284
+ var clearanceTo = (b, edge) => edge === "top" ? b.y0 : edge === "bottom" ? 1 - b.y1 : edge === "left" ? b.x0 : 1 - b.x1;
1285
+ function measuredBoxes(element, boxes, buttons) {
1286
+ if (element === "logo") return boxes.filter((b) => b.kind === "logo");
1287
+ if (element === "button") return buttons.flatMap((l) => boxesOfLine(l, boxes));
1288
+ return element === "copy" ? boxes.filter((b) => b.kind === "text") : [];
1289
+ }
1290
+ function corroborateEdgeClaims(findings, boxesByFormat, lines) {
1291
+ const buttons = lines.filter((l) => /^(cta|button|call_to_action)$/.test(roleKey(l.role)));
1292
+ return findings.map((f) => {
1293
+ if (f.severity !== "blocking" || !f.kind || !cutByFrame(f)) return f;
1294
+ const format = f.what.match(/^([\d.]+:[\d.]+):/)?.[1];
1295
+ const boxes = format ? boxesByFormat[format] : void 0;
1296
+ if (!boxes) return f;
1297
+ const { element } = f.kind;
1298
+ const measured = measuredBoxes(element, boxes, buttons);
1299
+ if (measured.length === 0) return f;
1300
+ const named = f.kind.edges.length > 0 ? f.kind.edges : ["top", "bottom", "left", "right"];
1301
+ const pad = element === "button" ? BUTTON_PAD : 0;
1302
+ const atEdge = measured.some((b) => named.some((edge) => clearanceTo(b, edge) - pad * (b.y1 - b.y0) <= AT_EDGE));
1303
+ return atEdge ? f : { ...f, severity: "warning" };
1304
+ });
1305
+ }
1306
+ async function bytesOf(source) {
1307
+ if (!/^https?:\/\//i.test(source)) return await readFile(source);
1308
+ const res = await fetch(source);
1309
+ if (!res.ok) throw new Error(`fetch ${res.status}`);
1310
+ return Buffer.from(await res.arrayBuffer());
1311
+ }
1312
+ var THUMBNAIL_WIDTH = 240;
1313
+ async function jpegFor(bytes, width) {
1314
+ const resized = width ? sharp3(bytes).resize({ width, withoutEnlargement: true }) : sharp3(bytes).resize(1024, 1024, { fit: "inside", withoutEnlargement: true });
1315
+ const jpeg = await resized.jpeg({ quality: 85 }).toBuffer();
1316
+ return jpeg.toString("base64");
1317
+ }
1318
+ async function stillOf(source) {
1319
+ try {
1320
+ return await jpegFor(await bytesOf(source));
1321
+ } catch {
1322
+ return null;
1323
+ }
1324
+ }
1325
+ async function designedInks(image, lines, boxes) {
1326
+ const inks = [];
1327
+ for (const line of lines.filter((l) => l.lettering === "designed")) {
1328
+ const [box] = boxesOfLine(line, boxes);
1329
+ const hex = box ? await inkOf(image, box) : null;
1330
+ if (hex) inks.push({ text: line.text, hex });
1331
+ }
1332
+ return inks;
1333
+ }
1334
+ async function fractionOf(image, box) {
1335
+ const { width, height } = await sharp3(image).metadata().catch(() => ({ width: void 0, height: void 0 }));
1336
+ if (!width || !height) return null;
1337
+ return { x0: box.x / width, y0: box.y / height, x1: (box.x + box.width) / width, y1: (box.y + box.height) / height };
1338
+ }
1339
+ function withPlacedLogo(boxes, logo, name) {
1340
+ if (!logo) return [...boxes];
1341
+ const inside = (b) => {
1342
+ const cx = (b.x0 + b.x1) / 2;
1343
+ const cy = (b.y0 + b.y1) / 2;
1344
+ return cx >= logo.x0 && cx <= logo.x1 && cy >= logo.y0 && cy <= logo.y1;
1345
+ };
1346
+ return [...boxes.filter((b) => !inside(b)), { text: name, kind: "logo", ...logo }];
1347
+ }
1348
+ async function placedLogoRead(image, boxes, opts) {
1349
+ if (!opts.placedLogo) return { boxes, placedLogo: null };
1350
+ const placedLogo = await fractionOf(image, opts.placedLogo);
1351
+ return { boxes: withPlacedLogo(boxes, placedLogo, opts.logoWords?.[0] ?? opts.allowed?.[0] ?? ""), placedLogo };
1352
+ }
1353
+ function interfaceWord(text, own = []) {
1354
+ const read = normalizeCopy(text);
1355
+ return crumb(text) || own.some((o) => normalizeCopy(o) === read);
1356
+ }
1357
+ function crumb(text) {
1358
+ return normalizeCopy(text).split(" ").every((w) => w.length <= 2);
1359
+ }
1360
+ function fragmentOf(chunk, own, opts = {}) {
1361
+ const share = opts.share ?? 0.5;
1362
+ const words = normalizeCopy(chunk).split(" ").filter((w) => w.length > 1);
1363
+ if (words.length === 0) return opts.cut === true;
1364
+ return own.some((text) => {
1365
+ const theirs = new Set(normalizeCopy(text).split(" "));
1366
+ const shared = words.filter(
1367
+ (w) => theirs.has(w) || opts.cut === true && [...theirs].some((t) => t.length > w.length && t.includes(w))
1368
+ ).length;
1369
+ return shared / words.length >= share;
1370
+ });
1371
+ }
1372
+ var OFFER_MADE = 0.35;
1373
+ var OFFER_QUESTION = "Does `words` make an offer of its own: something free, a discount, a sale, a promotion, a deal or a price, in whatever language it is written? A sign, a label, a name or a screen's words are not an offer.";
1374
+ var offerQuestion = (words) => ({ instructions: { words, question: OFFER_QUESTION } });
1375
+ async function offersAmong(chunks, judge) {
1376
+ const worded = chunks.filter((c) => new RegExp("\\p{L}", "u").test(c));
1377
+ if (worded.length === 0) return /* @__PURE__ */ new Set();
1378
+ const judged = await judge(worded);
1379
+ return new Set(worded.filter((_, i) => (judged?.[i] ?? 0) >= OFFER_MADE));
1380
+ }
1381
+ async function checkStaticImage(image, opts) {
1382
+ const reading = await (opts.read ?? ((bytes) => readTextBoxes(bytes, { onSpend: opts.onSpend })))(image);
1383
+ if (reading.status === "not_checked") return reading;
1384
+ const palette = opts.palette ?? [];
1385
+ const inks = palette.length > 0 ? await designedInks(image, opts.lines, reading.boxes) : [];
1386
+ const { boxes, placedLogo } = await placedLogoRead(
1387
+ image,
1388
+ opts.toFrame ? opts.toFrame(reading.boxes) : reading.boxes,
1389
+ opts
1390
+ );
1391
+ const offers = await offersAmong(
1392
+ textMismatch(opts.lines, boxes, { allowed: opts.allowed }).extra,
1393
+ opts.judgeOffers ?? ((chunks) => askJev(chunks.map(offerQuestion), opts.onSpend))
1394
+ );
1395
+ const findings = measuredFindings({
1396
+ format: opts.format,
1397
+ boxes,
1398
+ lines: opts.lines,
1399
+ ...opts.allowed ? { allowed: opts.allowed } : {},
1400
+ ...opts.logoWords ? { logoWords: opts.logoWords } : {},
1401
+ ...opts.adapted ? { adapted: true } : {},
1402
+ ...opts.expectLogo ? { expectLogo: true } : {},
1403
+ placedLogo,
1404
+ ...opts.native ? { native: true } : {},
1405
+ ...opts.placements ? { placements: opts.placements } : {},
1406
+ ...opts.band ? { band: opts.band } : {},
1407
+ offBrand: offBrandInks(inks, palette),
1408
+ offers,
1409
+ cited: opts.cited ?? await citedPlatforms(
1410
+ opts.lines.map((l) => l.text),
1411
+ opts.judgeCitations ?? jevCitationJudge(opts.onSpend)
1412
+ )
1413
+ });
1414
+ return { status: "checked", findings, boxes };
1415
+ }
1416
+ async function loadDelivered(images) {
1417
+ const measured = [];
1418
+ const originals = [];
1419
+ const stills = [];
1420
+ const thumbs = [];
1421
+ for (const image of images) {
1422
+ try {
1423
+ const bytes = await bytesOf(image.path);
1424
+ const meta = await sharp3(bytes).metadata();
1425
+ const still = await jpegFor(bytes);
1426
+ const thumb = await jpegFor(bytes, THUMBNAIL_WIDTH);
1427
+ measured.push({ format: image.format, width: meta.width ?? 0, height: meta.height ?? 0 });
1428
+ originals.push(bytes);
1429
+ stills.push(still);
1430
+ thumbs.push(thumb);
1431
+ } catch {
1432
+ }
1433
+ }
1434
+ return { measured, originals, stills, thumbs };
1435
+ }
1436
+ function unreviewed(shape, measured) {
1437
+ const known = [...shape, ...measured];
1438
+ if (known.some((f) => f.severity === "blocking")) return known;
1439
+ return shape.length > 0 ? shape : null;
1440
+ }
1441
+ function reviewPromptOpts(opts, formats, read, referenceShown) {
1442
+ return {
1443
+ copy: opts.copy,
1444
+ formats,
1445
+ brand: opts.brand,
1446
+ logo: opts.logo,
1447
+ ...Object.keys(opts.placedLogos ?? {}).length > 0 ? { logoPlaced: true } : {},
1448
+ thumbnails: !read,
1449
+ mechanisms: opts.mechanisms,
1450
+ viewer: opts.viewer,
1451
+ ...referenceShown && opts.concept ? {
1452
+ concept: {
1453
+ mustKeep: opts.concept.mustKeep,
1454
+ ...opts.concept.idea ? { idea: opts.concept.idea } : {},
1455
+ ...opts.concept.vital?.length ? { vital: opts.concept.vital } : {}
1456
+ }
1457
+ } : {},
1458
+ ...opts.native ? { native: opts.native } : {},
1459
+ measured: read,
1460
+ ...opts.uncastPeople && opts.uncastPeople.length > 0 ? { uncastPeople: opts.uncastPeople } : {},
1461
+ ...opts.castsNobody ? { castsNobody: true } : {}
1462
+ };
1463
+ }
1464
+ function scrolledOff(checks, gone) {
1465
+ return {
1466
+ ...checks,
1467
+ lines: checks.lines.filter((l) => !gone.includes(l.text)),
1468
+ allowed: [...checks.allowed ?? [], ...gone]
1469
+ };
1470
+ }
1471
+ function everySizeChecks(opts) {
1472
+ const logoWords = [...opts.brand ? [opts.brand] : [], ...opts.lockup ?? []];
1473
+ return {
1474
+ allowed: [...logoWords, ...opts.sceneText ?? []],
1475
+ logoWords,
1476
+ ...opts.expectLogo ? { expectLogo: true } : {},
1477
+ ...opts.native ? { native: true } : {},
1478
+ ...opts.placements ? { placements: opts.placements } : {},
1479
+ ...opts.palette ? { palette: opts.palette } : {},
1480
+ onSpend: opts.onSpend
1481
+ };
1482
+ }
1483
+ async function reviewRenderedStatic(opts) {
1484
+ const { measured, originals, stills, thumbs } = await loadDelivered(opts.images);
1485
+ if (measured.length === 0) return null;
1486
+ const ruling = rulesChecked(
1487
+ stills,
1488
+ measured.map((m) => m.format),
1489
+ opts.rules ?? [],
1490
+ opts.onSpend
1491
+ );
1492
+ const reference = opts.concept ? await stillOf(opts.concept.reference) : null;
1493
+ const shape = ratioFindings(measured);
1494
+ const formats = measured.map((m) => m.format);
1495
+ const lines = opts.lines ?? opts.copy.map((text2) => ({ text: text2, lettering: "designed" }));
1496
+ const every = { lines, ...everySizeChecks(opts) };
1497
+ const ask = (measuredRead) => {
1498
+ const prompt = buildStaticReviewPrompt(reviewPromptOpts(opts, formats, measuredRead, reference !== null));
1499
+ const shown = [...measuredRead ? stills : [...stills, ...thumbs], ...reference ? [reference] : []];
1500
+ return askAboutStills(shown, prompt, opts.onSpend);
1501
+ };
1502
+ const asking = ask(true);
1503
+ const cited = await citedPlatforms(
1504
+ lines.map((l) => l.text),
1505
+ jevCitationJudge(opts.onSpend)
1506
+ );
1507
+ const checks = await Promise.all(
1508
+ originals.map(
1509
+ (bytes, i) => checkStaticImage(bytes, {
1510
+ ...scrolledOff(every, opts.scrolled?.[formats[i] ?? ""] ?? []),
1511
+ format: formats[i] ?? "",
1512
+ adapted: opts.masterFormat !== void 0 && formats[i] !== opts.masterFormat,
1513
+ placedLogo: opts.placedLogos?.[formats[i] ?? ""],
1514
+ cited
1515
+ })
1516
+ )
1517
+ );
1518
+ const read = checks.every((c) => c.status === "checked");
1519
+ const measuredText = read ? checks.flatMap((c) => c.status === "checked" ? c.findings : []) : [];
1520
+ if (!read) void asking.catch(() => null);
1521
+ const first = read ? await asking : null;
1522
+ const answer = first ?? await ask(read);
1523
+ const ruled = await ruling;
1524
+ if (answer === null) return unreviewed(shape, [...measuredText, ...ruled]);
1525
+ const text = read ? measuredText : copyFindings(answer, opts.copy, formats, opts.scrolled);
1526
+ const boxesByFormat = read ? Object.fromEntries(checks.flatMap((c, i) => c.status === "checked" ? [[formats[i] ?? "", c.boxes]] : [])) : {};
1527
+ const judged = corroborateEdgeClaims(classifyStaticFindings(answer), boxesByFormat, lines);
1528
+ const confirmed = await confirmBlocking(
1529
+ judged,
1530
+ stills,
1531
+ formats,
1532
+ (images, prompt) => askAboutStills(images, prompt, opts.onSpend)
1533
+ );
1534
+ const vital = reference && opts.concept?.vital ? vitalFindings(answer, opts.concept.vital, formats) : [];
1535
+ return [...shape, ...text, ...confirmed, ...vital, ...ruled];
1536
+ }
1537
+ async function rulesChecked(stills, formats, rules, onSpend) {
1538
+ if (reviewedRules(rules).length === 0) return [];
1539
+ const found = await reviewAgainstRules({ stills, formats, rules, ...onSpend ? { onSpend } : {} }).catch(() => null);
1540
+ return found ?? [
1541
+ {
1542
+ severity: "warning",
1543
+ what: "The finished ad was not checked against the company's rules (the model did not answer): read it against `rules` in the brief yourself."
1544
+ }
1545
+ ];
1546
+ }
1547
+
1548
+ export {
1549
+ staticSafeArea,
1550
+ videoSafeArea,
1551
+ safeRectPx,
1552
+ blockingArea,
1553
+ blockingPlacements,
1554
+ nativeLayoutInsets,
1555
+ FRAME_CUT,
1556
+ hidden,
1557
+ bandViolations,
1558
+ normalizeCopy,
1559
+ textMismatch,
1560
+ roleKey,
1561
+ withWordmark,
1562
+ boxesOfLine,
1563
+ headlineBox,
1564
+ isButtonLine,
1565
+ buttonShape,
1566
+ shownBoxes,
1567
+ readTextBoxes,
1568
+ parseJudgeScores,
1569
+ judgeWinner,
1570
+ staticVerdict,
1571
+ nearIdenticalFindings,
1572
+ samePictureSizes,
1573
+ bytesOf,
1574
+ checkStaticImage,
1575
+ reviewRenderedStatic
1576
+ };
1577
+ //# sourceMappingURL=chunk-OXC5TCEK.js.map