@turntrout/subfont 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/CLAUDE.md +39 -13
  2. package/README.md +24 -14
  3. package/lib/FontTracerPool.d.ts +38 -0
  4. package/lib/FontTracerPool.d.ts.map +1 -0
  5. package/lib/FontTracerPool.js +230 -217
  6. package/lib/FontTracerPool.js.map +1 -0
  7. package/lib/HeadlessBrowser.d.ts +18 -0
  8. package/lib/HeadlessBrowser.d.ts.map +1 -0
  9. package/lib/HeadlessBrowser.js +216 -210
  10. package/lib/HeadlessBrowser.js.map +1 -0
  11. package/lib/cli.d.ts +3 -0
  12. package/lib/cli.d.ts.map +1 -0
  13. package/lib/cli.js +15 -12
  14. package/lib/cli.js.map +1 -0
  15. package/lib/codepointMaps.d.ts +4 -0
  16. package/lib/codepointMaps.d.ts.map +1 -0
  17. package/lib/codepointMaps.js +99 -0
  18. package/lib/codepointMaps.js.map +1 -0
  19. package/lib/collectFeatureGlyphIds.d.ts +3 -0
  20. package/lib/collectFeatureGlyphIds.d.ts.map +1 -0
  21. package/lib/collectFeatureGlyphIds.js +124 -138
  22. package/lib/collectFeatureGlyphIds.js.map +1 -0
  23. package/lib/collectTextsByPage.d.ts +41 -0
  24. package/lib/collectTextsByPage.d.ts.map +1 -0
  25. package/lib/collectTextsByPage.js +726 -965
  26. package/lib/collectTextsByPage.js.map +1 -0
  27. package/lib/concurrencyLimit.d.ts +3 -0
  28. package/lib/concurrencyLimit.d.ts.map +1 -0
  29. package/lib/concurrencyLimit.js +12 -11
  30. package/lib/concurrencyLimit.js.map +1 -0
  31. package/lib/escapeJsStringLiteral.d.ts +3 -0
  32. package/lib/escapeJsStringLiteral.d.ts.map +1 -0
  33. package/lib/escapeJsStringLiteral.js +7 -6
  34. package/lib/escapeJsStringLiteral.js.map +1 -0
  35. package/lib/extractReferencedCustomPropertyNames.d.ts +3 -0
  36. package/lib/extractReferencedCustomPropertyNames.d.ts.map +1 -0
  37. package/lib/extractReferencedCustomPropertyNames.js +15 -16
  38. package/lib/extractReferencedCustomPropertyNames.js.map +1 -0
  39. package/lib/extractVisibleText.d.ts +7 -0
  40. package/lib/extractVisibleText.d.ts.map +1 -0
  41. package/lib/extractVisibleText.js +110 -119
  42. package/lib/extractVisibleText.js.map +1 -0
  43. package/lib/findCustomPropertyDefinitions.d.ts +8 -0
  44. package/lib/findCustomPropertyDefinitions.d.ts.map +1 -0
  45. package/lib/findCustomPropertyDefinitions.js +41 -48
  46. package/lib/findCustomPropertyDefinitions.js.map +1 -0
  47. package/lib/fontConverter.d.ts +2 -0
  48. package/lib/fontConverter.d.ts.map +1 -0
  49. package/lib/fontConverter.js +40 -21
  50. package/lib/fontConverter.js.map +1 -0
  51. package/lib/fontConverterWorker.d.ts +2 -0
  52. package/lib/fontConverterWorker.d.ts.map +1 -0
  53. package/lib/fontConverterWorker.js +52 -15
  54. package/lib/fontConverterWorker.js.map +1 -0
  55. package/lib/fontFaceHelpers.d.ts +64 -0
  56. package/lib/fontFaceHelpers.d.ts.map +1 -0
  57. package/lib/fontFaceHelpers.js +237 -249
  58. package/lib/fontFaceHelpers.js.map +1 -0
  59. package/lib/fontFeatureHelpers.d.ts +30 -0
  60. package/lib/fontFeatureHelpers.d.ts.map +1 -0
  61. package/lib/fontFeatureHelpers.js +277 -212
  62. package/lib/fontFeatureHelpers.js.map +1 -0
  63. package/lib/fontTracerWorker.d.ts +11 -0
  64. package/lib/fontTracerWorker.d.ts.map +1 -0
  65. package/lib/fontTracerWorker.js +94 -60
  66. package/lib/fontTracerWorker.js.map +1 -0
  67. package/lib/gatherStylesheetsWithPredicates.d.ts +26 -0
  68. package/lib/gatherStylesheetsWithPredicates.d.ts.map +1 -0
  69. package/lib/gatherStylesheetsWithPredicates.js +75 -84
  70. package/lib/gatherStylesheetsWithPredicates.js.map +1 -0
  71. package/lib/getCssRulesByProperty.d.ts +29 -0
  72. package/lib/getCssRulesByProperty.d.ts.map +1 -0
  73. package/lib/getCssRulesByProperty.js +316 -316
  74. package/lib/getCssRulesByProperty.js.map +1 -0
  75. package/lib/getFontInfo.d.ts +11 -0
  76. package/lib/getFontInfo.d.ts.map +1 -0
  77. package/lib/getFontInfo.js +31 -33
  78. package/lib/getFontInfo.js.map +1 -0
  79. package/lib/initialValueByProp.d.ts +3 -0
  80. package/lib/initialValueByProp.d.ts.map +1 -0
  81. package/lib/initialValueByProp.js +20 -17
  82. package/lib/initialValueByProp.js.map +1 -0
  83. package/lib/injectSubsetDefinitions.d.ts +3 -0
  84. package/lib/injectSubsetDefinitions.d.ts.map +1 -0
  85. package/lib/injectSubsetDefinitions.js +55 -59
  86. package/lib/injectSubsetDefinitions.js.map +1 -0
  87. package/lib/normalizeFontPropertyValue.d.ts +3 -0
  88. package/lib/normalizeFontPropertyValue.d.ts.map +1 -0
  89. package/lib/normalizeFontPropertyValue.js +59 -54
  90. package/lib/normalizeFontPropertyValue.js.map +1 -0
  91. package/lib/parseCommandLineOptions.d.ts +9 -0
  92. package/lib/parseCommandLineOptions.d.ts.map +1 -0
  93. package/lib/parseCommandLineOptions.js +145 -149
  94. package/lib/parseCommandLineOptions.js.map +1 -0
  95. package/lib/parseFontVariationSettings.d.ts +3 -0
  96. package/lib/parseFontVariationSettings.d.ts.map +1 -0
  97. package/lib/parseFontVariationSettings.js +38 -36
  98. package/lib/parseFontVariationSettings.js.map +1 -0
  99. package/lib/progress.d.ts +27 -0
  100. package/lib/progress.d.ts.map +1 -0
  101. package/lib/progress.js +51 -54
  102. package/lib/progress.js.map +1 -0
  103. package/lib/sfntCache.d.ts +4 -0
  104. package/lib/sfntCache.d.ts.map +1 -0
  105. package/lib/sfntCache.js +67 -25
  106. package/lib/sfntCache.js.map +1 -0
  107. package/lib/stripLocalTokens.d.ts +3 -0
  108. package/lib/stripLocalTokens.d.ts.map +1 -0
  109. package/lib/stripLocalTokens.js +23 -21
  110. package/lib/stripLocalTokens.js.map +1 -0
  111. package/lib/subfont.d.ts +54 -0
  112. package/lib/subfont.d.ts.map +1 -0
  113. package/lib/subfont.js +531 -629
  114. package/lib/subfont.js.map +1 -0
  115. package/lib/subsetFontWithGlyphs.d.ts +21 -0
  116. package/lib/subsetFontWithGlyphs.d.ts.map +1 -0
  117. package/lib/subsetFontWithGlyphs.js +285 -259
  118. package/lib/subsetFontWithGlyphs.js.map +1 -0
  119. package/lib/subsetFonts.d.ts +55 -0
  120. package/lib/subsetFonts.d.ts.map +1 -0
  121. package/lib/subsetFonts.js +899 -1200
  122. package/lib/subsetFonts.js.map +1 -0
  123. package/lib/subsetGeneration.d.ts +36 -0
  124. package/lib/subsetGeneration.d.ts.map +1 -0
  125. package/lib/subsetGeneration.js +328 -325
  126. package/lib/subsetGeneration.js.map +1 -0
  127. package/lib/types/shared.d.ts +11 -0
  128. package/lib/types/shared.d.ts.map +1 -0
  129. package/lib/types/shared.js +3 -0
  130. package/lib/types/shared.js.map +1 -0
  131. package/lib/unicodeRange.d.ts +3 -0
  132. package/lib/unicodeRange.d.ts.map +1 -0
  133. package/lib/unicodeRange.js +17 -30
  134. package/lib/unicodeRange.js.map +1 -0
  135. package/lib/unquote.d.ts +3 -0
  136. package/lib/unquote.d.ts.map +1 -0
  137. package/lib/unquote.js +18 -25
  138. package/lib/unquote.js.map +1 -0
  139. package/lib/variationAxes.d.ts +33 -0
  140. package/lib/variationAxes.d.ts.map +1 -0
  141. package/lib/variationAxes.js +127 -157
  142. package/lib/variationAxes.js.map +1 -0
  143. package/lib/warnAboutMissingGlyphs.d.ts +43 -0
  144. package/lib/warnAboutMissingGlyphs.d.ts.map +1 -0
  145. package/lib/warnAboutMissingGlyphs.js +139 -147
  146. package/lib/warnAboutMissingGlyphs.js.map +1 -0
  147. package/lib/wasmQueue.d.ts +3 -0
  148. package/lib/wasmQueue.d.ts.map +1 -0
  149. package/lib/wasmQueue.js +13 -10
  150. package/lib/wasmQueue.js.map +1 -0
  151. package/package.json +12 -2
package/lib/sfntCache.js CHANGED
@@ -1,29 +1,71 @@
1
- const fontverter = require('fontverter');
2
- const { convert } = require('./fontConverter');
3
-
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.toSfnt = toSfnt;
37
+ const fontverter = __importStar(require("fontverter"));
38
+ const fontConverter_1 = require("./fontConverter");
4
39
  const sfntPromiseByBuffer = new WeakMap();
5
-
6
40
  function toSfnt(buffer) {
7
- if (sfntPromiseByBuffer.has(buffer)) {
8
- return sfntPromiseByBuffer.get(buffer);
9
- }
10
- let promise;
11
- try {
12
- const format = fontverter.detectFormat(buffer);
13
- if (format === 'sfnt') {
14
- promise = Promise.resolve(buffer);
15
- } else if (format === 'woff2') {
16
- promise = convert(buffer, 'sfnt');
17
- } else {
18
- promise = fontverter.convert(buffer, 'sfnt');
41
+ const cached = sfntPromiseByBuffer.get(buffer);
42
+ if (cached)
43
+ return cached;
44
+ let promise;
45
+ try {
46
+ const format = fontverter.detectFormat(buffer);
47
+ if (format === 'sfnt') {
48
+ promise = Promise.resolve(buffer);
49
+ }
50
+ else if (format === 'woff2') {
51
+ promise = (0, fontConverter_1.convert)(buffer, 'sfnt');
52
+ }
53
+ else {
54
+ promise = fontverter.convert(buffer, 'sfnt');
55
+ }
56
+ }
57
+ catch {
58
+ promise = (0, fontConverter_1.convert)(buffer, 'sfnt');
19
59
  }
20
- } catch {
21
- promise = convert(buffer, 'sfnt');
22
- }
23
- // Evict on rejection so retries with the same buffer aren't stuck
24
- promise.catch(() => sfntPromiseByBuffer.delete(buffer));
25
- sfntPromiseByBuffer.set(buffer, promise);
26
- return promise;
60
+ // Evict on rejection so retries with the same buffer aren't stuck.
61
+ // Rethrow so callers see the original error and Node doesn't surface an
62
+ // unhandled rejection if this branch is the only consumer.
63
+ // eslint-disable-next-line no-restricted-syntax
64
+ const tracked = promise.catch((err) => {
65
+ sfntPromiseByBuffer.delete(buffer);
66
+ throw err;
67
+ });
68
+ sfntPromiseByBuffer.set(buffer, tracked);
69
+ return tracked;
27
70
  }
28
-
29
- module.exports = { toSfnt };
71
+ //# sourceMappingURL=sfntCache.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sfntCache.js","sourceRoot":"","sources":["../src/sfntCache.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBA2BC;AAlCD,uDAAyC;AACzC,mDAA0C;AAI1C,MAAM,mBAAmB,GAAG,IAAI,OAAO,EAA+B,CAAC;AAEvE,SAAgB,MAAM,CAAC,MAAkB;IACvC,MAAM,MAAM,GAAG,mBAAmB,CAAC,GAAG,CAAC,MAAgB,CAAC,CAAC;IACzD,IAAI,MAAM;QAAE,OAAO,MAAM,CAAC;IAE1B,IAAI,OAA4B,CAAC;IACjC,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,UAAU,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;QAC/C,IAAI,MAAM,KAAK,MAAM,EAAE,CAAC;YACtB,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACpC,CAAC;aAAM,IAAI,MAAM,KAAK,OAAO,EAAE,CAAC;YAC9B,OAAO,GAAG,IAAA,uBAAO,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACpC,CAAC;aAAM,CAAC;YACN,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,GAAG,IAAA,uBAAO,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,CAAC;IACD,mEAAmE;IACnE,wEAAwE;IACxE,2DAA2D;IAC3D,gDAAgD;IAChD,MAAM,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,GAAY,EAAE,EAAE;QAC7C,mBAAmB,CAAC,MAAM,CAAC,MAAgB,CAAC,CAAC;QAC7C,MAAM,GAAG,CAAC;IACZ,CAAC,CAAC,CAAC;IACH,mBAAmB,CAAC,GAAG,CAAC,MAAgB,EAAE,OAAO,CAAC,CAAC;IACnD,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare function stripLocalTokens(cssValue: string): string;
2
+ export = stripLocalTokens;
3
+ //# sourceMappingURL=stripLocalTokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stripLocalTokens.d.ts","sourceRoot":"","sources":["../src/stripLocalTokens.ts"],"names":[],"mappings":"AAEA,iBAAS,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAoBlD;AAED,SAAS,gBAAgB,CAAC"}
@@ -1,23 +1,25 @@
1
- const postcssValueParser = require('postcss-value-parser');
2
-
3
- module.exports = function stripLocalTokens(cssValue) {
4
- const rootNode = postcssValueParser(cssValue);
5
- for (let i = 0; i < rootNode.nodes.length; i += 1) {
6
- const node = rootNode.nodes[i];
7
- if (node.type === 'function' && node.value.toLowerCase() === 'local') {
8
- let numTokensToRemove = 1;
9
- if (i + 1 < rootNode.nodes.length) {
10
- const nextToken = rootNode.nodes[i + 1];
11
- if (nextToken.type === 'div' && nextToken.value === ',') {
12
- numTokensToRemove += 1;
13
- if (i + 2 < rootNode.nodes.length) {
14
- rootNode.nodes[i + 2].before = node.before;
15
- }
1
+ "use strict";
2
+ const postcssValueParser = require("postcss-value-parser");
3
+ function stripLocalTokens(cssValue) {
4
+ const rootNode = postcssValueParser(cssValue);
5
+ for (let i = 0; i < rootNode.nodes.length; i += 1) {
6
+ const node = rootNode.nodes[i];
7
+ if (node.type === 'function' && node.value.toLowerCase() === 'local') {
8
+ let numTokensToRemove = 1;
9
+ if (i + 1 < rootNode.nodes.length) {
10
+ const nextToken = rootNode.nodes[i + 1];
11
+ if (nextToken.type === 'div' && nextToken.value === ',') {
12
+ numTokensToRemove += 1;
13
+ if (i + 2 < rootNode.nodes.length) {
14
+ rootNode.nodes[i + 2].before = node.before;
15
+ }
16
+ }
17
+ }
18
+ rootNode.nodes.splice(i, numTokensToRemove);
19
+ i -= 1;
16
20
  }
17
- }
18
- rootNode.nodes.splice(i, numTokensToRemove);
19
- i -= 1;
20
21
  }
21
- }
22
- return postcssValueParser.stringify(rootNode);
23
- };
22
+ return postcssValueParser.stringify(rootNode);
23
+ }
24
+ module.exports = stripLocalTokens;
25
+ //# sourceMappingURL=stripLocalTokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stripLocalTokens.js","sourceRoot":"","sources":["../src/stripLocalTokens.ts"],"names":[],"mappings":";AAAA,2DAA4D;AAE5D,SAAS,gBAAgB,CAAC,QAAgB;IACxC,MAAM,QAAQ,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IAC9C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;QAClD,MAAM,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC/B,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,IAAI,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,OAAO,EAAE,CAAC;YACrE,IAAI,iBAAiB,GAAG,CAAC,CAAC;YAC1B,IAAI,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;gBAClC,MAAM,SAAS,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;gBACxC,IAAI,SAAS,CAAC,IAAI,KAAK,KAAK,IAAI,SAAS,CAAC,KAAK,KAAK,GAAG,EAAE,CAAC;oBACxD,iBAAiB,IAAI,CAAC,CAAC;oBACvB,IAAI,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;wBAClC,QAAQ,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;oBAC7C,CAAC;gBACH,CAAC;YACH,CAAC;YACD,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,iBAAiB,CAAC,CAAC;YAC5C,CAAC,IAAI,CAAC,CAAC;QACT,CAAC;IACH,CAAC;IACD,OAAO,kBAAkB,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;AAChD,CAAC;AAED,iBAAS,gBAAgB,CAAC"}
@@ -0,0 +1,54 @@
1
+ import AssetGraph = require('assetgraph');
2
+ declare class UsageError extends Error {
3
+ constructor(message: string);
4
+ }
5
+ /** Options for the subfont programmatic API. One of `output`, `inPlace`, or `dryRun` must be set. */
6
+ interface SubfontOptions {
7
+ /** Path or URL to the web root. Deduced from `inputFiles` if omitted. */
8
+ root?: string;
9
+ /** URI root where the site will be deployed (rewrites absolute URLs). */
10
+ canonicalRoot?: string;
11
+ /** Output directory. Mutually exclusive with `inPlace`. */
12
+ output?: string;
13
+ /** Emit verbose timing and glyph-detection info. */
14
+ debug?: boolean;
15
+ /** Trace and compute subsets but do not write any files. */
16
+ dryRun?: boolean;
17
+ /** Suppress all log output. */
18
+ silent?: boolean;
19
+ /** Inline the subset @font-face CSS into the HTML document. */
20
+ inlineCss?: boolean;
21
+ /** CSS font-display value: `auto`, `block`, `swap`, `fallback`, or `optional`. */
22
+ fontDisplay?: string;
23
+ /** Modify input files in-place. */
24
+ inPlace?: boolean;
25
+ /** HTML entry points (file paths or URLs). */
26
+ inputFiles?: Array<string | number | URL>;
27
+ /** Crawl linked pages starting from `inputFiles`. */
28
+ recursive?: boolean;
29
+ /** Emit relative URLs instead of root-relative. */
30
+ relativeUrls?: boolean;
31
+ /** Trace JS-rendered content in headless Chrome. */
32
+ dynamic?: boolean;
33
+ /** Async-load the full original font as a fallback for dynamic content. */
34
+ fallbacks?: boolean;
35
+ /** Extra characters to include in every subset. */
36
+ text?: string;
37
+ /** Preserve CSS source maps (slower). */
38
+ sourceMaps?: boolean;
39
+ /** Max parallel tracing workers. Defaults to CPU count, capped by available memory. */
40
+ concurrency?: number;
41
+ /** Extra Chrome flags forwarded to puppeteer when `dynamic` is set. */
42
+ chromeFlags?: string[];
43
+ /** Cache subset results. Pass a path or `true` for `.subfont-cache` inside `root`. */
44
+ cache?: boolean | string;
45
+ /** Exit non-zero if any warnings are emitted. */
46
+ strict?: boolean;
47
+ }
48
+ interface SubfontFn {
49
+ (options: SubfontOptions, console?: Console): Promise<InstanceType<typeof AssetGraph>>;
50
+ UsageError: typeof UsageError;
51
+ }
52
+ declare const subfont: SubfontFn;
53
+ export = subfont;
54
+ //# sourceMappingURL=subfont.d.ts.map
@@ -0,0 +1 @@
1
+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