@dogsbay/format-astro 0.2.0-beta.11 → 0.2.0-beta.111

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 (50) hide show
  1. package/dist/base-path.d.ts +93 -7
  2. package/dist/base-path.d.ts.map +1 -1
  3. package/dist/base-path.js +122 -8
  4. package/dist/base-path.js.map +1 -1
  5. package/dist/blog.d.ts +134 -0
  6. package/dist/blog.d.ts.map +1 -0
  7. package/dist/blog.js +319 -0
  8. package/dist/blog.js.map +1 -0
  9. package/dist/cli.d.ts.map +1 -1
  10. package/dist/cli.js +1 -0
  11. package/dist/cli.js.map +1 -1
  12. package/dist/diff-decoration.d.ts +79 -0
  13. package/dist/diff-decoration.d.ts.map +1 -0
  14. package/dist/diff-decoration.js +541 -0
  15. package/dist/diff-decoration.js.map +1 -0
  16. package/dist/granularity.d.ts +83 -0
  17. package/dist/granularity.d.ts.map +1 -0
  18. package/dist/granularity.js +247 -0
  19. package/dist/granularity.js.map +1 -0
  20. package/dist/index.d.ts +22 -4
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js +26 -3
  23. package/dist/index.js.map +1 -1
  24. package/dist/lead.d.ts +19 -0
  25. package/dist/lead.d.ts.map +1 -1
  26. package/dist/lead.js +101 -6
  27. package/dist/lead.js.map +1 -1
  28. package/dist/llms-txt.d.ts +48 -2
  29. package/dist/llms-txt.d.ts.map +1 -1
  30. package/dist/llms-txt.js +131 -14
  31. package/dist/llms-txt.js.map +1 -1
  32. package/dist/plugins.js +1 -1
  33. package/dist/plugins.js.map +1 -1
  34. package/dist/project.d.ts +311 -13
  35. package/dist/project.d.ts.map +1 -1
  36. package/dist/project.js +2261 -211
  37. package/dist/project.js.map +1 -1
  38. package/dist/serialize.d.ts +23 -0
  39. package/dist/serialize.d.ts.map +1 -1
  40. package/dist/serialize.js +359 -138
  41. package/dist/serialize.js.map +1 -1
  42. package/dist/sitemap.d.ts +81 -0
  43. package/dist/sitemap.d.ts.map +1 -0
  44. package/dist/sitemap.js +200 -0
  45. package/dist/sitemap.js.map +1 -0
  46. package/dist/taxonomy.d.ts +48 -1
  47. package/dist/taxonomy.d.ts.map +1 -1
  48. package/dist/taxonomy.js +61 -23
  49. package/dist/taxonomy.js.map +1 -1
  50. package/package.json +8 -7
package/dist/project.d.ts CHANGED
@@ -1,4 +1,40 @@
1
1
  import type { ExportPage, NavItem } from "@dogsbay/types";
2
+ import { type BlogEmitConfig } from "./blog.js";
3
+ /**
4
+ * Astro `outDir` for a Cloudflare Workers deploy mounted on a host subpath.
5
+ *
6
+ * Workers Static Assets resolves the FULL request pathname against the
7
+ * asset manifest and strips nothing. A site mounted at `dogsbay.ai/blog/*`
8
+ * is therefore asked for `/blog/index.html`, and unless the build output
9
+ * actually contains `blog/`, every request 404s. Astro's `base` does not
10
+ * do this: it prefixes generated URLs (including `/blog/_astro/...`) but
11
+ * leaves the emitted files at `dist/` root. Setting `outDir` to
12
+ * `./dist<urlBase>` is what makes the two agree.
13
+ *
14
+ * GitHub Pages needs the OPPOSITE and must not get this. There the
15
+ * uploaded artifact IS the site root, served at `https://<user>.github.io/
16
+ * <repo>/`, so the host supplies the prefix: URLs must carry it, files
17
+ * must not. Emitting `outDir` for a Pages build would produce
18
+ * `/<repo>/<repo>/`. Hence the deploy-target gate — the same `site.url`
19
+ * deliberately yields different layouts per target.
20
+ *
21
+ * Returns `undefined` when the target is not Workers or the site sits at
22
+ * the host root (no path in `site.url`), which is the common case.
23
+ */
24
+ export declare function workersSubpathOutDir(deploy: AstroProjectOptions["deploy"], urlBase: string): string | undefined;
25
+ /**
26
+ * Build the `excludeFromRoutes` predicate.
27
+ *
28
+ * Exported because more than one emitter has to agree on which pages
29
+ * become routes. The blog listed excluded pages as posts, producing index
30
+ * cards and Newer/Older links to pages that were never emitted — a 404
31
+ * from the site's own front page.
32
+ *
33
+ * A single-segment pattern matches ANY segment (fragment dirs symlink to
34
+ * many depths in AsciiBinder corpora); a multi-segment pattern matches as
35
+ * a leading path prefix, so `welcome/_internal` excludes only that tree.
36
+ */
37
+ export declare function makeSlugExcluder(excludeFromRoutes?: string[]): (slug: string) => boolean;
2
38
  export interface AstroProjectOptions {
3
39
  siteName?: string;
4
40
  theme?: string;
@@ -11,8 +47,48 @@ export interface AstroProjectOptions {
11
47
  * so the `seo/h1-brand-keyword` audit rule can read them.
12
48
  */
13
49
  brandKeywords?: string[];
50
+ /**
51
+ * Site-wide noindex. When true, every emitted page passes
52
+ * `noindex={true}` to DocsLayout regardless of frontmatter, and
53
+ * the sitemap emits zero `<url>` entries. Pages can ESCALATE
54
+ * (frontmatter `noindex: true` still works) but not opt out.
55
+ * See plans/site-level-robots-meta.md.
56
+ */
57
+ noindex?: boolean;
58
+ /**
59
+ * Site-wide nofollow. Same one-way semantics as `noindex` — site
60
+ * forces, page frontmatter `nofollow: true` can escalate but
61
+ * cannot opt out. Independent of `noindex`.
62
+ */
63
+ nofollow?: boolean;
14
64
  /** Source project directory (for copying extra_css, assets, etc.) */
15
65
  sourceDir?: string;
66
+ /**
67
+ * External asset directories mounted into the `_assets` convention. Each
68
+ * dir's CONTENTS are copied to `public/_assets/` (e.g. a Docusaurus `static/`
69
+ * dir, whose `/img/x` refs the importer rewrote to `/_assets/img/x`).
70
+ * `into` targets an `_assets/<into>` subdir; `mediaOnly` copies only media
71
+ * files (for mounts whose dir is the docs tree itself).
72
+ */
73
+ assetMounts?: {
74
+ dir: string;
75
+ into?: string;
76
+ mediaOnly?: boolean;
77
+ root?: string;
78
+ }[];
79
+ /**
80
+ * Per-source asset directories with the URL prefix their content refs
81
+ * were rewritten with. Used by multi-source (versioned/localised) builds
82
+ * so EACH source's assets are copied under `public/<urlPrefix>/...`
83
+ * (e.g. `public/8.8/_assets/...`) and same-path images across versions
84
+ * don't collide. When set, it REPLACES the single-`sourceDir` asset copy
85
+ * (which only ever copied the first source, version-less). `urlPrefix`
86
+ * empty/absent copies to `public/...` flat (the baseline source).
87
+ */
88
+ assetSourceDirs?: {
89
+ dir: string;
90
+ urlPrefix?: string;
91
+ }[];
16
92
  /** Custom CSS files from mkdocs.yml extra_css */
17
93
  extraCss?: string[];
18
94
  /** Enable Astro image optimization (copies to src/assets/ instead of public/) */
@@ -91,11 +167,14 @@ export interface AstroProjectOptions {
91
167
  id: string;
92
168
  label?: string;
93
169
  eol?: boolean;
170
+ prerelease?: boolean;
171
+ hidden?: boolean;
94
172
  }>;
95
173
  /**
96
174
  * Which version is the default. Marked in switcherMap.json so
97
- * the switcher can highlight it; PR 4c wires the default-
98
- * version redirect that uses this same field.
175
+ * the switcher can highlight it, and drives the default-version
176
+ * redirect middleware. A pre-release version is never the
177
+ * default (enforced at config load).
99
178
  */
100
179
  defaultVersion?: string;
101
180
  /**
@@ -112,12 +191,83 @@ export interface AstroProjectOptions {
112
191
  */
113
192
  defaultLocale?: string;
114
193
  /**
115
- * When set, emit a deploy config file + dev dep + script for the
116
- * named platform. Only "cloudflare-workers" supported today.
117
- * Other adapters (netlify, vercel, gh-pages) follow the same shape;
118
- * left unimplemented per Phase 1 scope.
194
+ * When set, emit deploy artifacts for the named platform.
195
+ *
196
+ * - `"cloudflare-workers"` — `wrangler.jsonc` + `wrangler` devDep +
197
+ * `deploy` script.
198
+ * - `"github-pages"` — `.github/workflows/deploy.yml` (Astro →
199
+ * `actions/deploy-pages` workflow) + `public/.nojekyll`.
200
+ *
201
+ * Both targets scaffold their files write-if-missing — re-running
202
+ * the build never clobbers an author-edited workflow YAML or
203
+ * wrangler config.
204
+ */
205
+ /**
206
+ * Other sites on this host whose sitemap / llms.txt this site
207
+ * aggregates. See `AggregateSource` in `@dogsbay/cli` and
208
+ * plans/subpath-robots-txt.md.
209
+ */
210
+ aggregates?: {
211
+ name: string;
212
+ description?: string;
213
+ url?: string;
214
+ sitemap?: string;
215
+ llmsTxt?: string;
216
+ }[];
217
+ deploy?: "cloudflare-workers" | "github-pages";
218
+ /**
219
+ * Astro `build.inlineStylesheets` policy.
220
+ *
221
+ * - `"auto"` (default): inline only stylesheets below 4 KB,
222
+ * externalize the rest. Best for multi-page sites.
223
+ * - `"always"`: inline every stylesheet. Best for single-page
224
+ * sites where first-paint latency dominates.
225
+ * - `"never"`: always externalize. Maximizes cache reuse.
226
+ *
227
+ * Mirrors `dogsbay.config.yml`'s `build.inlineStylesheets`. Flows
228
+ * through `astro.config.dogsbay.mjs` so changes propagate without
229
+ * a scaffold rebuild. See docs/perf-tuning.md.
230
+ */
231
+ inlineStylesheets?: "auto" | "always" | "never";
232
+ /**
233
+ * Sidebar navigation render mode.
234
+ *
235
+ * - `"client"` (default): emit `<DocsNavClient />` — an empty placeholder
236
+ * that a tiny client script hydrates from `/_dogsbay/nav.json`.
237
+ * Page HTML stays small regardless of nav size; the nav DOM persists
238
+ * across view transitions. Trade-off: no-JS users see no sidebar
239
+ * nav, search-engine crawlers reach pages via `sitemap.xml` and
240
+ * in-content links rather than the sidebar.
241
+ * - `"ssr-full"`: render the full nav tree into every page's HTML.
242
+ * Best for tiny sites or strict no-JS / SEO contexts.
243
+ *
244
+ * See plans/client-rendered-nav.md.
119
245
  */
120
- deploy?: "cloudflare-workers";
246
+ navMode?: "client" | "ssr-full";
247
+ /**
248
+ * Table-of-contents placement — forwarded to DocsLayout's `toc` prop.
249
+ * Mirrors `DogsbayConfig.toc`:
250
+ * - `"top"` (default) — expandable "On this page" at the top of the
251
+ * article; frees the right rail for plugin content (e.g. Ask AI).
252
+ * - `"popover"` — an "On this page" control in the header.
253
+ * - `"rail"` — the classic right-hand TOC sidebar. In this mode the rail
254
+ * belongs to the TOC, so the `RightRail` plugin region is not emitted.
255
+ * - `"off"` — no table of contents.
256
+ */
257
+ toc?: "top" | "popover" | "rail" | "off";
258
+ /**
259
+ * Repo root — the directory containing `dogsbay.config.yml`. The
260
+ * Astro project (`outputDir`) is typically a subdirectory like
261
+ * `<projectDir>/astro/`. Deploy artifacts that GitHub Actions
262
+ * needs at the repo root (`.github/workflows/deploy.yml`) are
263
+ * written here, while artifacts that ship inside the Astro build
264
+ * (e.g. `public/.nojekyll`) stay under `outputDir`.
265
+ *
266
+ * When unset, defaults to `outputDir` — covers flat-layout flows
267
+ * (`dogsbay convert --to astro`) where the Astro project IS the
268
+ * repo. site-init and site-build always pass it explicitly.
269
+ */
270
+ projectDir?: string;
121
271
  /**
122
272
  * Overwrite all files including maintainer-customizable scaffold
123
273
  * files (theme.css, astro.config.mjs, package.json, site.json,
@@ -143,6 +293,31 @@ export interface AstroProjectOptions {
143
293
  * to static `.md` files in `dist/`. Default `true`.
144
294
  */
145
295
  mdMirror?: boolean;
296
+ /**
297
+ * Granularity views — emit aggregate "single-page" views alongside the
298
+ * topic-grained pages. Additive: the topic site is unchanged; aggregates
299
+ * are quarantined (noindex + excludeFromSearch → robots/sitemap/pagefind/
300
+ * llms all exclude them) and kept out of nav. See plans/granularity-views.md.
301
+ *
302
+ * Per-node opt-in via the nav file's `single-page: yes | no | children`
303
+ * annotation (default "no"). `book: true` is the legacy all-on switch: it
304
+ * seeds the top-level groups as if each were `single-page: yes`, so a node's
305
+ * own annotation still overrides. `maxSinglePageMB` (default 3) is a safety
306
+ * cap — a rollup whose source exceeds it is skipped with a warning instead of
307
+ * building a multi-minute / multi-MB page. See plans/granularity-views.md and
308
+ * docs-dev/granularity-book-perf.md.
309
+ */
310
+ granularity?: {
311
+ book?: boolean;
312
+ maxSinglePageMB?: number;
313
+ };
314
+ /**
315
+ * Blog mode. When set, every emitted page wears `chrome="blog"` (no
316
+ * sidebar), carries a byline, and takes its prev/next from DATE order
317
+ * rather than nav order. The reverse-chron index itself is emitted
318
+ * separately by `emitBlogFiles`. See plans/blog-capability.md.
319
+ */
320
+ blog?: BlogEmitConfig;
146
321
  /**
147
322
  * `Content-Signal` directive for the AI training corpus permission
148
323
  * emitted in robots.txt. Default `"no"` — opt out of training by
@@ -160,6 +335,22 @@ export interface AstroProjectOptions {
160
335
  * search results emitted in robots.txt. Default `"yes"`.
161
336
  */
162
337
  aiSearch?: "yes" | "no";
338
+ /**
339
+ * Emit the Article 4 reservation-of-rights preamble above the
340
+ * `Content-Signal` line in robots.txt. Default `false`.
341
+ * See `contentSignalPreamble`.
342
+ */
343
+ contentSignalPreamble?: boolean;
344
+ /**
345
+ * Emit the non-standard `Llms-Txt:` line in robots.txt. Default
346
+ * `false` — see `AgentConfig.llmsTxtDirective` in `@dogsbay/cli`.
347
+ */
348
+ llmsTxtDirective?: boolean;
349
+ /**
350
+ * "When to use this" guidance for llms.txt. See
351
+ * `AgentConfig.llmsWhenToUse` in `@dogsbay/cli`.
352
+ */
353
+ llmsWhenToUse?: string;
163
354
  /**
164
355
  * Per-page LLM action UI ("Copy as markdown", "Open in Claude/
165
356
  * ChatGPT/Perplexity/Gemini"). When omitted, the cluster is not
@@ -168,6 +359,46 @@ export interface AstroProjectOptions {
168
359
  * See plans/llm-page-actions.md.
169
360
  */
170
361
  llmActions?: import("@dogsbay/types").SiteConfig["llmActions"];
362
+ /**
363
+ * Resolved glyphs for the internal/external link-icon affordance.
364
+ * Baked into `site.json` as `linkIcons` and consumed by `DocsLayout`.
365
+ * Omitted when the feature is off. See plans/link-resolution-and-icons.md.
366
+ */
367
+ linkIcons?: import("@dogsbay/types").SiteConfig["linkIcons"];
368
+ /**
369
+ * Patterns that mark slugs as fragments (no Astro route).
370
+ * Pages matching any pattern are written to neither
371
+ * `src/pages/*.astro` nor `src/pages/*.md.ts`. The `.md` source
372
+ * files remain on disk under `content/` so `{% include %}`
373
+ * directives in other pages can still resolve them; they just
374
+ * aren't reachable as URLs.
375
+ *
376
+ * Match semantics depend on whether the pattern contains `/`:
377
+ * - `"modules"` (single segment) matches ANY path segment of
378
+ * the slug equal to "modules" — `modules/foo`,
379
+ * `welcome/modules/foo`, `a/b/modules/c` all exclude.
380
+ * What AsciiBinder corpora want — fragment dirs symlink
381
+ * into section dirs so the same dir name appears at many
382
+ * depths.
383
+ * - `"foo/bar"` (multi-segment) matches as a leading prefix
384
+ * only — `foo/bar` and `foo/bar/baz` exclude, but
385
+ * `welcome/foo/bar` does not. For when a specific path
386
+ * tree is fragment territory.
387
+ *
388
+ * The companion signal — frontmatter `_fragment: true` — is also
389
+ * honoured (per-page opt-out, set by importers that know which
390
+ * `.md` files are include-only fragments vs navigable pages —
391
+ * `migrate-asciidoc` is the first such importer). Either signal
392
+ * is enough to skip; both stack.
393
+ *
394
+ * Typical use case: AsciiBinder-style corpora where shared
395
+ * fragments live under `modules/`, `_attributes/`, `snippets/`
396
+ * — the converter writes them as `.md` so includes resolve, but
397
+ * they have no business being navigable as standalone pages
398
+ * (and emitting 18k useless routes punishes the Astro compiler).
399
+ * See plans/build-at-scale.md.
400
+ */
401
+ excludeFromRoutes?: string[];
171
402
  }
172
403
  /**
173
404
  * Export pages + nav to a complete Astro project directory.
@@ -205,16 +436,39 @@ export declare function exportAstroProject(pages: ExportPage[], nav: NavItem[],
205
436
  */
206
437
  export declare function emitSiteConfig(outputDir: string, siteName: string, options: AstroProjectOptions): void;
207
438
  export declare function emitSiteScaffold(outputDir: string, siteName: string, options: AstroProjectOptions, writeScaffold: boolean): number;
208
- /**
209
- * Emit content-tier files: nav.json, every page's .astro, the per-page
210
- * .md mirror endpoint (when `mdMirror` is enabled), and the index
211
- * redirect. Returns the count of pages emitted and the merged nav for
212
- * downstream consumers (llms.txt builder).
213
- */
214
439
  export declare function emitAstroPages(pages: ExportPage[], nav: NavItem[], outputDir: string, options: AstroProjectOptions): Promise<{
215
440
  generated: number;
216
441
  outputNav: NavItem[];
442
+ /**
443
+ * Output paths (relative to outputDir, OS-native separators) of the
444
+ * `.astro` files just written. Used by passthrough emit to detect
445
+ * collisions with hand-authored `.astro` files declared in nav.yml
446
+ * — see plans/passthrough-astro-pages.md.
447
+ */
448
+ generatedPaths: Set<string>;
217
449
  }>;
450
+ /** Passthrough source → destination pair, computed by the CLI's collector. */
451
+ export interface PassthroughCopy {
452
+ /** Absolute path to the source file (under contentDir). */
453
+ sourceAbs: string;
454
+ /**
455
+ * Output path relative to outputDir, OS-native separators. Same
456
+ * shape as `emitAstroPages` `generatedPaths` so the collision
457
+ * check can use a plain `Set.has`.
458
+ */
459
+ outputRelPath: string;
460
+ /** Source path relative to contentDir, for error messages. */
461
+ source: string;
462
+ }
463
+ /**
464
+ * Copy each passthrough `.astro` source to its computed output path.
465
+ * Aborts with a clear error if the destination is already in
466
+ * `generatedPaths` (a generated page from `emitAstroPages` would
467
+ * silently overwrite the hand-authored file otherwise).
468
+ */
469
+ export declare function emitPassthroughAstroPages(copies: PassthroughCopy[], outputDir: string, generatedPaths: Set<string>): {
470
+ copied: number;
471
+ };
218
472
  /**
219
473
  * Emit `public/robots.txt` with `Content-Signal` directives + sitemap
220
474
  * link. Always overwrites — the file's contents are pure derivation
@@ -222,6 +476,28 @@ export declare function emitAstroPages(pages: ExportPage[], nav: NavItem[], outp
222
476
  * them at the CDN level.
223
477
  */
224
478
  export declare function emitConfigDerivedFiles(outputDir: string, options: AstroProjectOptions): void;
479
+ /**
480
+ * Per-deploy-target artifact emission.
481
+ *
482
+ * Called from `emitSiteScaffold` (with `forceOverwrite=writeScaffold`
483
+ * so `--force` regenerates from template) and from `dogsbay site
484
+ * build` (with `forceOverwrite=false` so an existing site can adopt
485
+ * a deploy target by editing config and rebuilding — the missing
486
+ * artifact gets created on the next build).
487
+ *
488
+ * Emit policy is the union: write when forced OR when the file is
489
+ * missing. Author edits to e.g. the workflow YAML survive every
490
+ * regular build.
491
+ *
492
+ * Currently handles `github-pages` (workflow + .nojekyll). The
493
+ * existing `cloudflare-workers` artifacts (wrangler.jsonc + package
494
+ * scripts) stay in the scaffold-only path because they overlap with
495
+ * scaffold-only files (package.json scripts, devDependencies). A
496
+ * future refactor could fold them in here too.
497
+ */
498
+ export declare function emitDeployArtifacts(outputDir: string, options: AstroProjectOptions, opts?: {
499
+ forceOverwrite: boolean;
500
+ }): void;
225
501
  /**
226
502
  * Shape of the emitted `src/data/switcherMap.json` file.
227
503
  * Switcher components import this JSON directly, so the shape
@@ -251,6 +527,8 @@ export interface SwitcherMap {
251
527
  id: string;
252
528
  label?: string;
253
529
  eol?: boolean;
530
+ prerelease?: boolean;
531
+ hidden?: boolean;
254
532
  default?: boolean;
255
533
  }>;
256
534
  /**
@@ -317,4 +595,24 @@ export declare function emitMissingTranslationStubs(pages: ExportPage[], outputD
317
595
  * `emitAstroPages` (they share the page-loop's serialization step).
318
596
  */
319
597
  export declare function emitAgentReadinessFiles(pages: ExportPage[], outputNav: NavItem[], outputDir: string, siteName: string, options: AstroProjectOptions): void;
598
+ /**
599
+ * Build the contents of `public/_headers` (Cloudflare Pages / Workers
600
+ * Static Assets convention). Emits a global RFC 8288 Link header
601
+ * pointing at this mount's llms.txt index, so agents don't need to
602
+ * parse HTML to discover the LLM-friendly content listing.
603
+ *
604
+ * The Link target is basePath-prefixed (`</docs/llms.txt>` for a
605
+ * `/docs` mount) — matches where the platform actually emits
606
+ * llms.txt under the per-mount layout.
607
+ */
608
+ /**
609
+ * URL for `<link rel="icon">`, or `false` when the project ships no
610
+ * favicon.
611
+ *
612
+ * The scaffold deliberately ships none — authors drop their own into
613
+ * `public/`. Emitting the link unconditionally therefore advertised a
614
+ * 404 on every generated site. Checks `.ico` then `.svg`, matching the
615
+ * two the scaffold documents.
616
+ */
617
+ export declare function faviconHref(outputDir: string, urlBase: string): string | false;
320
618
  //# sourceMappingURL=project.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../src/project.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAwB,MAAM,gBAAgB,CAAC;AA+NhF,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAG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