@softure-ai/marketing-kit 0.1.12 → 0.3.1

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 (118) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +109 -4
  3. package/dist/cli/footage.d.ts +6 -0
  4. package/dist/cli/footage.d.ts.map +1 -0
  5. package/dist/cli/footage.js +95 -0
  6. package/dist/cli/footage.js.map +1 -0
  7. package/dist/cli/main.js +21 -5
  8. package/dist/cli/main.js.map +1 -1
  9. package/dist/cli/options.d.ts +18 -3
  10. package/dist/cli/options.d.ts.map +1 -1
  11. package/dist/cli/options.js +41 -2
  12. package/dist/cli/options.js.map +1 -1
  13. package/dist/compose/compose.d.ts.map +1 -1
  14. package/dist/compose/compose.js +1 -22
  15. package/dist/compose/compose.js.map +1 -1
  16. package/dist/compose/html.d.ts +6 -0
  17. package/dist/compose/html.d.ts.map +1 -0
  18. package/dist/compose/html.js +24 -0
  19. package/dist/compose/html.js.map +1 -0
  20. package/dist/config/actions-schema.d.ts +14 -14
  21. package/dist/config/config.d.ts +19 -3
  22. package/dist/config/config.d.ts.map +1 -1
  23. package/dist/config/config.js +90 -2
  24. package/dist/config/config.js.map +1 -1
  25. package/dist/config/schema.d.ts +152 -70
  26. package/dist/config/schema.d.ts.map +1 -1
  27. package/dist/config/schema.js +140 -10
  28. package/dist/config/schema.js.map +1 -1
  29. package/dist/config/shot-steps.d.ts +16 -16
  30. package/dist/footage/cache.d.ts +23 -0
  31. package/dist/footage/cache.d.ts.map +1 -0
  32. package/dist/footage/cache.js +51 -0
  33. package/dist/footage/cache.js.map +1 -0
  34. package/dist/footage/compose.d.ts +50 -0
  35. package/dist/footage/compose.d.ts.map +1 -0
  36. package/dist/footage/compose.js +166 -0
  37. package/dist/footage/compose.js.map +1 -0
  38. package/dist/footage/edl.d.ts +83 -0
  39. package/dist/footage/edl.d.ts.map +1 -0
  40. package/dist/footage/edl.js +166 -0
  41. package/dist/footage/edl.js.map +1 -0
  42. package/dist/footage/elevenlabs.d.ts +31 -0
  43. package/dist/footage/elevenlabs.d.ts.map +1 -0
  44. package/dist/footage/elevenlabs.js +140 -0
  45. package/dist/footage/elevenlabs.js.map +1 -0
  46. package/dist/footage/fake.d.ts +38 -0
  47. package/dist/footage/fake.d.ts.map +1 -0
  48. package/dist/footage/fake.js +66 -0
  49. package/dist/footage/fake.js.map +1 -0
  50. package/dist/footage/film.d.ts +103 -0
  51. package/dist/footage/film.d.ts.map +1 -0
  52. package/dist/footage/film.js +29 -0
  53. package/dist/footage/film.js.map +1 -0
  54. package/dist/footage/music.d.ts +37 -0
  55. package/dist/footage/music.d.ts.map +1 -0
  56. package/dist/footage/music.js +63 -0
  57. package/dist/footage/music.js.map +1 -0
  58. package/dist/footage/normalize.d.ts +41 -0
  59. package/dist/footage/normalize.d.ts.map +1 -0
  60. package/dist/footage/normalize.js +114 -0
  61. package/dist/footage/normalize.js.map +1 -0
  62. package/dist/footage/pipeline.d.ts +105 -0
  63. package/dist/footage/pipeline.d.ts.map +1 -0
  64. package/dist/footage/pipeline.js +385 -0
  65. package/dist/footage/pipeline.js.map +1 -0
  66. package/dist/footage/probe.d.ts +64 -0
  67. package/dist/footage/probe.d.ts.map +1 -0
  68. package/dist/footage/probe.js +138 -0
  69. package/dist/footage/probe.js.map +1 -0
  70. package/dist/footage/providers.d.ts +61 -0
  71. package/dist/footage/providers.d.ts.map +1 -0
  72. package/dist/footage/providers.js +13 -0
  73. package/dist/footage/providers.js.map +1 -0
  74. package/dist/footage/render.d.ts +20 -0
  75. package/dist/footage/render.d.ts.map +1 -0
  76. package/dist/footage/render.js +76 -0
  77. package/dist/footage/render.js.map +1 -0
  78. package/dist/index.d.ts +14 -2
  79. package/dist/index.d.ts.map +1 -1
  80. package/dist/index.js +16 -3
  81. package/dist/index.js.map +1 -1
  82. package/dist/messages/index.d.ts +10 -22
  83. package/dist/messages/index.d.ts.map +1 -1
  84. package/dist/messages/index.js +8 -6
  85. package/dist/messages/index.js.map +1 -1
  86. package/dist/render/render.d.ts +6 -0
  87. package/dist/render/render.d.ts.map +1 -1
  88. package/dist/render/render.js +1 -1
  89. package/dist/render/render.js.map +1 -1
  90. package/package.json +1 -1
  91. package/schema/marketing.schema.json +339 -3
  92. package/src/cli/footage.ts +87 -0
  93. package/src/cli/main.ts +20 -5
  94. package/src/cli/options.ts +51 -4
  95. package/src/compose/compose.ts +1 -25
  96. package/src/compose/html.ts +28 -0
  97. package/src/config/config.ts +101 -5
  98. package/src/config/schema.ts +146 -12
  99. package/src/footage/cache.ts +66 -0
  100. package/src/footage/compose.ts +213 -0
  101. package/src/footage/edl.ts +204 -0
  102. package/src/footage/elevenlabs.ts +154 -0
  103. package/src/footage/fake.ts +92 -0
  104. package/src/footage/film.ts +111 -0
  105. package/src/footage/music.ts +86 -0
  106. package/src/footage/normalize.ts +133 -0
  107. package/src/footage/pipeline.ts +447 -0
  108. package/src/footage/probe.ts +172 -0
  109. package/src/footage/providers.ts +71 -0
  110. package/src/footage/render.ts +82 -0
  111. package/src/index.ts +110 -3
  112. package/src/messages/index.ts +16 -8
  113. package/src/render/render.ts +1 -1
  114. package/dist/messages/pl.d.ts +0 -3
  115. package/dist/messages/pl.d.ts.map +0 -1
  116. package/dist/messages/pl.js +0 -21
  117. package/dist/messages/pl.js.map +0 -1
  118. package/src/messages/pl.ts +0 -22
@@ -0,0 +1,71 @@
1
+ import type { TtsResult } from "../voice/provider.js";
2
+ import type { TimedWord } from "../voice/voiceover.js";
3
+
4
+ /**
5
+ * The paid services of a footage film, each behind an interface so tests and rehearsals use fakes. Every call may
6
+ * spend money, so the pipeline reaches them only with `isCommit`; before that it prints `PaidStep` estimates.
7
+ */
8
+
9
+ export interface SttInput {
10
+ /** A local audio (or video) file. */
11
+ audio: string;
12
+ /** ISO 639 code the speech is in. */
13
+ language: string;
14
+ }
15
+
16
+ export interface SttTranscript {
17
+ /** Spoken words with their times in seconds from the file's start; no spacing or sound events. */
18
+ words: TimedWord[];
19
+ language: string;
20
+ }
21
+
22
+ /** Speech to text with a time for every word. */
23
+ export interface SttProvider {
24
+ readonly id: string;
25
+ /** Part of the cache key: another model is another transcript. */
26
+ readonly model: string;
27
+ transcribe(input: SttInput): Promise<TtsResult<SttTranscript>>;
28
+ }
29
+
30
+ /** Removes background noise from speech; returns the cleaned audio (mp3). */
31
+ export interface IsolationProvider {
32
+ readonly id: string;
33
+ isolate(input: { audio: string }): Promise<TtsResult<Buffer>>;
34
+ }
35
+
36
+ /** Generates music (mp3): from a prompt at a length, or scored to a video. */
37
+ export interface MusicProvider {
38
+ readonly id: string;
39
+ readonly model: string;
40
+ compose(input: { prompt: string; seconds: number }): Promise<TtsResult<Buffer>>;
41
+ scoreVideo(input: { video: string; description: string; tags: string[] }): Promise<TtsResult<Buffer>>;
42
+ }
43
+
44
+ export interface FootageProviders {
45
+ stt: SttProvider;
46
+ isolation: IsolationProvider;
47
+ music: MusicProvider;
48
+ }
49
+
50
+ /** One paid call the film needs, as the dry run shows it. The services bill by length, so the estimate is seconds. */
51
+ export interface PaidStep {
52
+ kind: "transcribe" | "isolate" | "music";
53
+ /** What it is for: a clip id, or `film`. */
54
+ item: string;
55
+ provider: string;
56
+ seconds: number;
57
+ }
58
+
59
+ const STEP_LABELS: Record<PaidStep["kind"], string> = {
60
+ transcribe: "speech to text",
61
+ isolate: "voice isolation",
62
+ music: "music",
63
+ };
64
+
65
+ /** The dry run's report: one line per paid call and the total length billed. */
66
+ export function describePaidSteps(steps: PaidStep[]): string[] {
67
+ const lines = steps.map((step) => `${STEP_LABELS[step.kind]} (${step.provider}) for ${step.item}: ${step.seconds.toFixed(1)} s`);
68
+ const total = steps.reduce((sum, step) => sum + step.seconds, 0);
69
+ lines.push(`footage estimate: ${steps.length} paid call${steps.length === 1 ? "" : "s"}, ${total.toFixed(1)} s of audio or music billed by the providers' per-minute rates.`);
70
+ return lines;
71
+ }
@@ -0,0 +1,82 @@
1
+ import { spawnSync } from "node:child_process";
2
+
3
+ import type { Edl } from "./edl.js";
4
+ import { FOOTAGE_SAMPLE_RATE } from "./normalize.js";
5
+ import { volumeExpression, type VolumeKeyframe } from "./music.js";
6
+
7
+ /** ffmpeg steps of the footage render: pure argument builders (tested without ffmpeg) and one runner. */
8
+
9
+ /** A short fade at every cut of the speech track, so a cut never clicks. */
10
+ const CUT_FADE_SECONDS = 0.02;
11
+ const MUSIC_FADE_IN = 1;
12
+ const MUSIC_FADE_OUT = 1.5;
13
+
14
+ const r3 = (value: number): number => Math.round(value * 1000) / 1000 || 0;
15
+
16
+ /** The speech track: every segment's audio cut from its clip's sound (or cleaned voice) and joined in order. */
17
+ export function buildSpeechArgs(edl: Edl, sources: Record<string, string>, output: string): string[] {
18
+ const inputs: string[] = [];
19
+ const parts: string[] = [];
20
+ edl.segments.forEach((segment, index) => {
21
+ const source = sources[segment.clip];
22
+ if (source === undefined) throw new Error(`No audio for clip "${segment.clip}" of the EDL.`);
23
+ inputs.push("-i", source);
24
+ const duration = r3(segment.end - segment.start);
25
+ parts.push(
26
+ `[${index}:a]atrim=start=${segment.start}:end=${segment.end},asetpts=PTS-STARTPTS,aformat=sample_rates=${FOOTAGE_SAMPLE_RATE}:channel_layouts=stereo,` +
27
+ `apad=whole_dur=${duration},afade=t=in:d=${CUT_FADE_SECONDS},afade=t=out:st=${r3(Math.max(0, duration - CUT_FADE_SECONDS))}:d=${CUT_FADE_SECONDS}[a${index}]`,
28
+ );
29
+ });
30
+ const joined = edl.segments.map((_, index) => `[a${index}]`).join("");
31
+ const graph = `${parts.join(";")};${joined}concat=n=${edl.segments.length}:v=0:a=1[speech]`;
32
+ return ["-v", "error", "-y", ...inputs, "-filter_complex", graph, "-map", "[speech]", "-c:a", "libmp3lame", "-q:a", "2", output];
33
+ }
34
+
35
+ /** The music track: looped to the film's length, ducked by the keyframes, faded in and out. */
36
+ export function buildMusicArgs(options: { input: string; seconds: number; keyframes: VolumeKeyframe[]; output: string }): string[] {
37
+ const { seconds } = options;
38
+ const filters = [
39
+ `aformat=sample_rates=${FOOTAGE_SAMPLE_RATE}:channel_layouts=stereo`,
40
+ `volume=eval=frame:volume='${volumeExpression(options.keyframes)}'`,
41
+ `afade=t=in:d=${MUSIC_FADE_IN}`,
42
+ `afade=t=out:st=${r3(Math.max(0, seconds - MUSIC_FADE_OUT))}:d=${MUSIC_FADE_OUT}`,
43
+ ];
44
+ return ["-v", "error", "-y", "-stream_loop", "-1", "-i", options.input, "-t", String(seconds), "-af", filters.join(","), "-c:a", "libmp3lame", "-q:a", "2", options.output];
45
+ }
46
+
47
+ /** A small silent copy of the cut, what Video to Music scores. */
48
+ export function buildCutPreviewArgs(edl: Edl, clips: Record<string, string>, output: string): string[] {
49
+ const inputs: string[] = [];
50
+ const parts: string[] = [];
51
+ edl.segments.forEach((segment, index) => {
52
+ const clip = clips[segment.clip];
53
+ if (clip === undefined) throw new Error(`No file for clip "${segment.clip}" of the EDL.`);
54
+ inputs.push("-i", clip);
55
+ parts.push(`[${index}:v]trim=start=${segment.start}:end=${segment.end},setpts=PTS-STARTPTS,scale=540:-2,setsar=1[v${index}]`);
56
+ });
57
+ const joined = edl.segments.map((_, index) => `[v${index}]`).join("");
58
+ const graph = `${parts.join(";")};${joined}concat=n=${edl.segments.length}:v=1:a=0[cut]`;
59
+ return ["-v", "error", "-y", ...inputs, "-filter_complex", graph, "-map", "[cut]", "-c:v", "libx264", "-preset", "veryfast", "-crf", "28", output];
60
+ }
61
+
62
+ /** The cut's last frame (the end card's backdrop): a frame just before the last segment's end. */
63
+ export function buildLastFrameArgs(edl: Edl, clips: Record<string, string>, output: string): string[] {
64
+ const last = edl.segments.at(-1);
65
+ if (last === undefined) throw new Error("The EDL has no segments.");
66
+ const clip = clips[last.clip];
67
+ if (clip === undefined) throw new Error(`No file for clip "${last.clip}" of the EDL.`);
68
+ const at = r3(Math.max(last.start, last.end - 0.07));
69
+ return ["-v", "error", "-y", "-ss", String(at), "-i", clip, "-frames:v", "1", "-q:v", "2", output];
70
+ }
71
+
72
+ /** Audio extracted from a normalized clip, for the providers and the speech track. */
73
+ export function buildAudioArgs(clip: string, output: string): string[] {
74
+ return ["-v", "error", "-y", "-i", clip, "-vn", "-c:a", "libmp3lame", "-q:a", "2", output];
75
+ }
76
+
77
+ /** Runs ffmpeg; throws naming the step (a failure here is a broken input or machine, not an expected outcome). */
78
+ export function runFfmpeg(step: string, args: string[]): void {
79
+ const result = spawnSync("ffmpeg", args, { stdio: ["ignore", "inherit", "inherit"] });
80
+ if (result.error !== undefined) throw new Error(`${step}: ffmpeg did not start (${result.error.message}).`);
81
+ if (result.status !== 0) throw new Error(`${step}: ffmpeg ended with code ${String(result.status)} (signal ${result.signal ?? "-"}).`);
82
+ }
package/src/index.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  // Public API of @softure-ai/marketing-kit: the `marketing.json` contract (schema, loading, brand
2
2
  // colours), the film model a project's scene modules are typed with, the declarative scene actions,
3
3
  // and the pure building blocks of the pipeline (TTS providers, voiceover cache, timeline, composition,
4
- // posts, OG images, screenshots). OG images also have their own entry, `@softure-ai/marketing-kit/og`,
4
+ // posts, OG images, screenshots), and the footage film's blocks (probe, normalize, speech to text, EDL,
5
+ // ducked music, composition, `renderFootageFilm`). OG images also have their own entry, `@softure-ai/marketing-kit/og`,
5
6
  // for routes that must not load Playwright. The `softure-marketing` CLI
6
7
  // (`src/cli/main.ts`) runs the whole pipeline from `marketing.json`.
7
8
  export {
@@ -30,8 +31,11 @@ export {
30
31
  type TextMatch,
31
32
  } from "./config/actions-schema.js";
32
33
  export {
34
+ findFootage,
33
35
  findMissingFiles,
36
+ findMissingFootageFiles,
34
37
  findVideo,
38
+ type FootageConfig,
35
39
  loadMarketingConfig,
36
40
  type BrandFont,
37
41
  type FontFile,
@@ -170,10 +174,113 @@ export { MIN_FAILING_STATUS, SCREENSHOT_GATES, findScrollFailure, findSizeFailur
170
174
  export { findStorageStateProblem } from "./screenshot/storage-state.js";
171
175
  export { getScreenshotNames, getScreenshotShots, type ScreenshotNaming, type ScreenshotShot } from "./config/screenshot-names.js";
172
176
  export {
173
- MARKETING_LOCALES,
177
+ CLIP_FITS,
178
+ CLIP_ROLES,
179
+ CUT_TRANSITIONS,
180
+ DEFAULT_CUT,
181
+ DEFAULT_FILLERS,
182
+ DEFAULT_MUSIC_VOLUME,
183
+ DEFAULT_TRANSITIONS,
184
+ getDefaultFillers,
185
+ type ClipFit,
186
+ type ClipRole,
187
+ type CutOptions,
188
+ type CutTransition,
189
+ type FootageClip,
190
+ type FootageFilm,
191
+ type FootageMusic,
192
+ type FootageTransitions,
193
+ type MusicSource,
194
+ } from "./footage/film.js";
195
+ export {
196
+ MIN_CLIP_SECONDS,
197
+ describeProbe,
198
+ findFootageProblems,
199
+ getTrimmedDuration,
200
+ normalizeRotation,
201
+ probeFile,
202
+ probeFootage,
203
+ readFootageProbe,
204
+ type FootageProbe,
205
+ type HdrKind,
206
+ type ProbeResult,
207
+ type ProbedClip,
208
+ } from "./footage/probe.js";
209
+ export { FOOTAGE_FPS, FOOTAGE_SAMPLE_RATE, buildNormalizeArgs, buildVideoFilter, normalizeFootage, resolveFit, toneMapFilter, type Frame, type NormalizeInput } from "./footage/normalize.js";
210
+ export {
211
+ describePaidSteps,
212
+ type FootageProviders,
213
+ type IsolationProvider,
214
+ type MusicProvider,
215
+ type PaidStep,
216
+ type SttInput,
217
+ type SttProvider,
218
+ type SttTranscript,
219
+ } from "./footage/providers.js";
220
+ export {
221
+ ELEVENLABS_MUSIC_MODEL,
222
+ ELEVENLABS_STT_MODEL,
223
+ createElevenLabsFootageProviders,
224
+ createElevenLabsIsolationProvider,
225
+ createElevenLabsMusicProvider,
226
+ createElevenLabsSttProvider,
227
+ getMusicLengthMs,
228
+ readScribeResponse,
229
+ type ElevenLabsFootageOptions,
230
+ } from "./footage/elevenlabs.js";
231
+ export {
232
+ createFakeIsolationProvider,
233
+ createFakeMusicProvider,
234
+ createFakeSttProvider,
235
+ makePlaceholderTranscript,
236
+ type FakeIsolationProvider,
237
+ type FakeMusicProvider,
238
+ type FakeSttOptions,
239
+ type FakeSttProvider,
240
+ } from "./footage/fake.js";
241
+ export { footageCacheKey, getFootageCachePath, hashFile, readCachedTranscript, type FootageCacheKind } from "./footage/cache.js";
242
+ export {
243
+ MIN_SEGMENT_SECONDS,
244
+ SEGMENT_MOTIONS,
245
+ buildEdl,
246
+ edlSchema,
247
+ findEdlProblems,
248
+ getEdlDuration,
249
+ getSegmentStarts,
250
+ isFiller,
251
+ normalizeWord,
252
+ readEdl,
253
+ remapWords,
254
+ type Edl,
255
+ type EdlClip,
256
+ type EdlSegment,
257
+ type SegmentMotion,
258
+ } from "./footage/edl.js";
259
+ export { duckingKeyframes, getSpeechSpans, volumeExpression, type DuckingOptions, type VolumeKeyframe } from "./footage/music.js";
260
+ export { END_CARD_SECONDS, FADE_SECONDS, composeFootage, getFootageFilmSeconds, getSegmentScales, type FootageComposeAssets, type FootageComposeInput } from "./footage/compose.js";
261
+ export { buildCutPreviewArgs, buildLastFrameArgs, buildMusicArgs, buildSpeechArgs } from "./footage/render.js";
262
+ export {
263
+ cutFootage,
264
+ getEdlPath,
265
+ getFrame,
266
+ prepareFootage,
267
+ readEdlFile,
268
+ renderFootage,
269
+ renderFootageFilm,
270
+ transcribeFootage,
271
+ type FootageBrand,
272
+ type FootageResult,
273
+ type FootageRunOptions,
274
+ type PreparedClip,
275
+ type RenderFootageFilmOptions,
276
+ type RenderFootageOptions,
277
+ type RenderedFootage,
278
+ type TranscribeOutcome,
279
+ } from "./footage/pipeline.js";
280
+ export {
174
281
  formatMessage,
175
282
  getMarketingMessages,
176
283
  marketingMessages,
177
- type MarketingLocale,
284
+ type MarketingMessageOverrides,
178
285
  type MarketingMessages,
179
286
  } from "./messages/index.js";
@@ -1,17 +1,25 @@
1
1
  import { en } from "./en.js";
2
- import { pl } from "./pl.js";
3
2
 
4
- /** Complete default dictionaries of the copy that ends up in a film or a post. */
5
- export const marketingMessages = { en, pl };
6
-
7
- export type MarketingLocale = keyof typeof marketingMessages;
3
+ /** The built-in copy that ends up in a film or a post: English, the only built-in language. */
4
+ export const marketingMessages = { en };
8
5
 
9
6
  export type MarketingMessages = typeof en;
10
7
 
11
- export const MARKETING_LOCALES = Object.keys(marketingMessages) as MarketingLocale[];
8
+ /** The same shape with every key optional: `brand.messages`, an app's own translation or changed English copy. */
9
+ export type MarketingMessageOverrides = {
10
+ readonly [Group in keyof MarketingMessages]?: {
11
+ readonly [Key in keyof MarketingMessages[Group]]?: MarketingMessages[Group][Key] extends string
12
+ ? string
13
+ : { readonly [Leaf in keyof MarketingMessages[Group][Key]]?: string };
14
+ };
15
+ };
12
16
 
13
- export function getMarketingMessages(locale: MarketingLocale): MarketingMessages {
14
- return marketingMessages[locale];
17
+ /** The English copy with the app's overrides applied; a key the overrides leave out reads English. */
18
+ export function getMarketingMessages(overrides: MarketingMessageOverrides = {}): MarketingMessages {
19
+ return {
20
+ posts: { ...en.posts, ...overrides.posts, platforms: { ...en.posts.platforms, ...overrides.posts?.platforms } },
21
+ film: { ...en.film, ...overrides.film },
22
+ };
15
23
  }
16
24
 
17
25
  /** Replaces every `{name}` in `template` with its value; an unknown placeholder is a bug, so it throws. */
@@ -47,7 +47,7 @@ function run(command: string, args: string[]): void {
47
47
  }
48
48
 
49
49
  /** Copies each font file as `<n>.<ext>`: two files with one name cannot overwrite each other, and the name is safe inside url("…"). */
50
- function copyFonts(fonts: RenderInput["fonts"], dir: string): { heading: ComposeFont | null; body: ComposeFont | null } {
50
+ export function copyFonts(fonts: RenderInput["fonts"], dir: string): { heading: ComposeFont | null; body: ComposeFont | null } {
51
51
  rmSync(dir, { recursive: true, force: true });
52
52
  mkdirSync(dir, { recursive: true });
53
53
  let count = 0;
@@ -1,3 +0,0 @@
1
- import type { en } from "./en.js";
2
- export declare const pl: typeof en;
3
- //# sourceMappingURL=pl.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pl.d.ts","sourceRoot":"","sources":["../../src/messages/pl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAGlC,eAAO,MAAM,EAAE,EAAE,OAAO,EAkBvB,CAAC"}
@@ -1,21 +0,0 @@
1
- // Polish copy lives only in message dictionaries; the language gate exempts `messages/` folders.
2
- export const pl = {
3
- posts: {
4
- title: "{title} — opisy postów",
5
- linkInBio: "Link w bio.",
6
- bioLink: "Link do bio: {link}",
7
- postLink: "Link w poście: {link}",
8
- platforms: {
9
- instagram: "Instagram (Reels)",
10
- facebook: "Facebook (Reels / post)",
11
- tiktok: "TikTok",
12
- youtube: "YouTube (Shorts)",
13
- linkedin: "LinkedIn",
14
- x: "X",
15
- },
16
- },
17
- film: {
18
- persona: "{name}, {age} lat",
19
- },
20
- };
21
- //# sourceMappingURL=pl.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pl.js","sourceRoot":"","sources":["../../src/messages/pl.ts"],"names":[],"mappings":"AAEA,iGAAiG;AACjG,MAAM,CAAC,MAAM,EAAE,GAAc;IAC3B,KAAK,EAAE;QACL,KAAK,EAAE,wBAAwB;QAC/B,SAAS,EAAE,aAAa;QACxB,OAAO,EAAE,qBAAqB;QAC9B,QAAQ,EAAE,uBAAuB;QACjC,SAAS,EAAE;YACT,SAAS,EAAE,mBAAmB;YAC9B,QAAQ,EAAE,yBAAyB;YACnC,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,kBAAkB;YAC3B,QAAQ,EAAE,UAAU;YACpB,CAAC,EAAE,GAAG;SACP;KACF;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,mBAAmB;KAC7B;CACF,CAAC"}
@@ -1,22 +0,0 @@
1
- import type { en } from "./en.js";
2
-
3
- // Polish copy lives only in message dictionaries; the language gate exempts `messages/` folders.
4
- export const pl: typeof en = {
5
- posts: {
6
- title: "{title} — opisy postów",
7
- linkInBio: "Link w bio.",
8
- bioLink: "Link do bio: {link}",
9
- postLink: "Link w poście: {link}",
10
- platforms: {
11
- instagram: "Instagram (Reels)",
12
- facebook: "Facebook (Reels / post)",
13
- tiktok: "TikTok",
14
- youtube: "YouTube (Shorts)",
15
- linkedin: "LinkedIn",
16
- x: "X",
17
- },
18
- },
19
- film: {
20
- persona: "{name}, {age} lat",
21
- },
22
- };