@koda-sl/baker-cli 0.262.0-dev.c998276fe → 0.263.0-dev.1f1c09c80
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.
package/dist/cli.js
CHANGED
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
ulid,
|
|
59
59
|
validateCanvasDeep,
|
|
60
60
|
ytDlpBlockSignal
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-ZK5S7JV2.js";
|
|
62
62
|
import {
|
|
63
63
|
csvOrJson,
|
|
64
64
|
daysAgoIso,
|
|
@@ -32214,6 +32214,17 @@ function narrativeRole(index, total) {
|
|
|
32214
32214
|
if (index === total - 1) return "cta";
|
|
32215
32215
|
return index < total / 2 ? "problem" : "proof";
|
|
32216
32216
|
}
|
|
32217
|
+
var CURRENCY_BY_MARKET = {
|
|
32218
|
+
spain: "\u20AC (euros)",
|
|
32219
|
+
mexico: "$ (Mexican pesos)",
|
|
32220
|
+
portugal: "\u20AC (euros)",
|
|
32221
|
+
brazil: "R$ (reais)",
|
|
32222
|
+
france: "\u20AC (euros)",
|
|
32223
|
+
italy: "\u20AC (euros)",
|
|
32224
|
+
germany: "\u20AC (euros)",
|
|
32225
|
+
"the united kingdom": "\xA3 (pounds sterling)",
|
|
32226
|
+
"the united states": "$ (US dollars)"
|
|
32227
|
+
};
|
|
32217
32228
|
var MARKET_BY_LANGUAGE = {
|
|
32218
32229
|
es: "Spain",
|
|
32219
32230
|
"es-es": "Spain",
|
|
@@ -32241,7 +32252,8 @@ function adSpecToBlueprint(spec) {
|
|
|
32241
32252
|
const total = spec.beats.length;
|
|
32242
32253
|
const market = marketFor(spec);
|
|
32243
32254
|
const place = market ? ` Set in ${market}: the architecture, streets and styling are ${market}'s.` : "";
|
|
32244
|
-
const
|
|
32255
|
+
const currency = market ? CURRENCY_BY_MARKET[market.toLowerCase()] : void 0;
|
|
32256
|
+
const physics = " Everything obeys real-world physics: paper, card and screens are OPAQUE with nothing showing through from behind, every object is at believable real-world scale next to the people handling it, and every object has its real-world form and construction \u2014 a phone has ONE screen and it is on the front. NO readable text or numbers anywhere in frame \u2014 phone screens, documents and signage stay illegible or out of focus, because any figure the model invents will contradict the script." + (currency ? ` If a currency is unavoidably visible it is ${currency}.` : "");
|
|
32245
32257
|
let clock = 0;
|
|
32246
32258
|
const scenes = spec.beats.map((beat, i) => {
|
|
32247
32259
|
const duration = beatSeconds(beat.say);
|