forge-terminal 0.1.0 → 0.2.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 (208) hide show
  1. package/README.md +305 -24
  2. package/dist/chunks/adm-zip-SQKLKBDP.js +3 -0
  3. package/dist/chunks/available-2VX7K7W6.js +3 -0
  4. package/dist/chunks/boot-ODZZHFUI.js +3 -0
  5. package/dist/chunks/cfb-V6M2PYOD.js +13 -0
  6. package/dist/chunks/chunk-2WYHI73Y.js +3 -0
  7. package/dist/chunks/chunk-4YHKTP7I.js +3 -0
  8. package/dist/chunks/chunk-5PYTOHLZ.js +3 -0
  9. package/dist/chunks/chunk-7YQR2MVH.js +3 -0
  10. package/dist/chunks/chunk-DRBA23IQ.js +3 -0
  11. package/dist/chunks/chunk-EOYBXOCV.js +4 -0
  12. package/dist/chunks/chunk-FQV57RMH.js +3 -0
  13. package/dist/chunks/chunk-IMKI5F4I.js +4 -0
  14. package/dist/chunks/chunk-J7FLFHQJ.js +3 -0
  15. package/dist/chunks/chunk-L2WK7CJG.js +3 -0
  16. package/dist/chunks/chunk-LFE3WRU4.js +3 -0
  17. package/dist/chunks/chunk-MHFY7HF6.js +10 -0
  18. package/dist/chunks/chunk-PBIS2ONZ.js +3 -0
  19. package/dist/chunks/chunk-QVACE4IE.js +3 -0
  20. package/dist/chunks/chunk-TMUK2DD3.js +3 -0
  21. package/dist/chunks/chunk-UNVHKJW4.js +41 -0
  22. package/dist/chunks/chunk-V4GHQGQM.js +4 -0
  23. package/dist/chunks/chunk-VB665HTV.js +3 -0
  24. package/dist/chunks/chunk-YHK5VE5R.js +3 -0
  25. package/dist/chunks/colour-QV2C3R7R.js +3 -0
  26. package/dist/chunks/config-command-UXJY623L.js +3 -0
  27. package/dist/chunks/dist-J2V6ITHG.js +29 -0
  28. package/dist/chunks/es-T2U7NBLD.js +3 -0
  29. package/dist/chunks/execute-4WJCUM7J.js +3 -0
  30. package/dist/chunks/extensions-command-6WZV2AES.js +3 -0
  31. package/dist/chunks/launch-2OI4ZLBQ.js +66 -0
  32. package/dist/chunks/lib-TPEJ5CJJ.js +46 -0
  33. package/dist/chunks/lock-R6GZXCCW.js +3 -0
  34. package/dist/chunks/manager-H52ENJOH.js +4 -0
  35. package/dist/chunks/paths-XY2345OS.js +3 -0
  36. package/dist/chunks/pdf-compress-IMRFBLZF.js +3 -0
  37. package/dist/chunks/react-devtools-core-UM4FS6CU.js +3 -0
  38. package/dist/chunks/run-N3F4EM7E.js +4 -0
  39. package/dist/chunks/server-5RWSVTOM.js +73 -0
  40. package/dist/chunks/theme-GW7CQPUO.js +3 -0
  41. package/dist/chunks/word-OGQ2KZAJ.js +24 -0
  42. package/dist/index.js +67 -95
  43. package/dist/third-party-licenses.txt +2856 -0
  44. package/package.json +28 -21
  45. package/skills/forge/SKILL.md +128 -0
  46. package/dist/cli/args.js +0 -278
  47. package/dist/cli/args.js.map +0 -1
  48. package/dist/cli/config-command.js +0 -55
  49. package/dist/cli/config-command.js.map +0 -1
  50. package/dist/cli/execute.js +0 -377
  51. package/dist/cli/execute.js.map +0 -1
  52. package/dist/cli/report.js +0 -123
  53. package/dist/cli/report.js.map +0 -1
  54. package/dist/cli/spinner.js +0 -60
  55. package/dist/cli/spinner.js.map +0 -1
  56. package/dist/cli/stdin.js +0 -47
  57. package/dist/cli/stdin.js.map +0 -1
  58. package/dist/config/preferences.js +0 -143
  59. package/dist/config/preferences.js.map +0 -1
  60. package/dist/core/actions/compress.js +0 -157
  61. package/dist/core/actions/compress.js.map +0 -1
  62. package/dist/core/actions/convert.js +0 -270
  63. package/dist/core/actions/convert.js.map +0 -1
  64. package/dist/core/actions/extract.js +0 -94
  65. package/dist/core/actions/extract.js.map +0 -1
  66. package/dist/core/actions/index.js +0 -23
  67. package/dist/core/actions/index.js.map +0 -1
  68. package/dist/core/actions/merge.js +0 -16
  69. package/dist/core/actions/merge.js.map +0 -1
  70. package/dist/core/actions/rotate.js +0 -36
  71. package/dist/core/actions/rotate.js.map +0 -1
  72. package/dist/core/actions/split.js +0 -65
  73. package/dist/core/actions/split.js.map +0 -1
  74. package/dist/core/atomic.js +0 -61
  75. package/dist/core/atomic.js.map +0 -1
  76. package/dist/core/capabilities.js +0 -59
  77. package/dist/core/capabilities.js.map +0 -1
  78. package/dist/core/compress.js +0 -76
  79. package/dist/core/compress.js.map +0 -1
  80. package/dist/core/describe.js +0 -49
  81. package/dist/core/describe.js.map +0 -1
  82. package/dist/core/errors.js +0 -469
  83. package/dist/core/errors.js.map +0 -1
  84. package/dist/core/execute-jobs.js +0 -122
  85. package/dist/core/execute-jobs.js.map +0 -1
  86. package/dist/core/formats.js +0 -108
  87. package/dist/core/formats.js.map +0 -1
  88. package/dist/core/order.js +0 -44
  89. package/dist/core/order.js.map +0 -1
  90. package/dist/core/output-path.js +0 -176
  91. package/dist/core/output-path.js.map +0 -1
  92. package/dist/core/pages.js +0 -107
  93. package/dist/core/pages.js.map +0 -1
  94. package/dist/core/pdf-compress.js +0 -206
  95. package/dist/core/pdf-compress.js.map +0 -1
  96. package/dist/core/plan.js +0 -42
  97. package/dist/core/plan.js.map +0 -1
  98. package/dist/core/resolve.js +0 -115
  99. package/dist/core/resolve.js.map +0 -1
  100. package/dist/core/run.js +0 -66
  101. package/dist/core/run.js.map +0 -1
  102. package/dist/core/suggest.js +0 -50
  103. package/dist/core/suggest.js.map +0 -1
  104. package/dist/core/types.js +0 -2
  105. package/dist/core/types.js.map +0 -1
  106. package/dist/core/units.js +0 -94
  107. package/dist/core/units.js.map +0 -1
  108. package/dist/core/write-safety.js +0 -128
  109. package/dist/core/write-safety.js.map +0 -1
  110. package/dist/engines/heic.js +0 -166
  111. package/dist/engines/heic.js.map +0 -1
  112. package/dist/engines/image.js +0 -342
  113. package/dist/engines/image.js.map +0 -1
  114. package/dist/engines/pdf.js +0 -444
  115. package/dist/engines/pdf.js.map +0 -1
  116. package/dist/engines/pdfium.js +0 -161
  117. package/dist/engines/pdfium.js.map +0 -1
  118. package/dist/engines/registry.js +0 -65
  119. package/dist/engines/registry.js.map +0 -1
  120. package/dist/engines/types.js +0 -2
  121. package/dist/engines/types.js.map +0 -1
  122. package/dist/engines/word.js +0 -385
  123. package/dist/engines/word.js.map +0 -1
  124. package/dist/index.js.map +0 -1
  125. package/dist/shell/App.js +0 -1972
  126. package/dist/shell/App.js.map +0 -1
  127. package/dist/shell/ClickTargets.js +0 -183
  128. package/dist/shell/ClickTargets.js.map +0 -1
  129. package/dist/shell/ThemeContext.js +0 -21
  130. package/dist/shell/ThemeContext.js.map +0 -1
  131. package/dist/shell/blocks.js +0 -160
  132. package/dist/shell/blocks.js.map +0 -1
  133. package/dist/shell/clipboard.js +0 -64
  134. package/dist/shell/clipboard.js.map +0 -1
  135. package/dist/shell/commands.js +0 -51
  136. package/dist/shell/commands.js.map +0 -1
  137. package/dist/shell/components/Banner.js +0 -73
  138. package/dist/shell/components/Banner.js.map +0 -1
  139. package/dist/shell/components/CommandPalette.js +0 -37
  140. package/dist/shell/components/CommandPalette.js.map +0 -1
  141. package/dist/shell/components/FileCard.js +0 -59
  142. package/dist/shell/components/FileCard.js.map +0 -1
  143. package/dist/shell/components/HintBar.js +0 -18
  144. package/dist/shell/components/HintBar.js.map +0 -1
  145. package/dist/shell/components/Hints.js +0 -21
  146. package/dist/shell/components/Hints.js.map +0 -1
  147. package/dist/shell/components/MergeList.js +0 -268
  148. package/dist/shell/components/MergeList.js.map +0 -1
  149. package/dist/shell/components/ModeHeader.js +0 -21
  150. package/dist/shell/components/ModeHeader.js.map +0 -1
  151. package/dist/shell/components/PageGrid.js +0 -324
  152. package/dist/shell/components/PageGrid.js.map +0 -1
  153. package/dist/shell/components/PathInput.js +0 -147
  154. package/dist/shell/components/PathInput.js.map +0 -1
  155. package/dist/shell/components/Progress.js +0 -43
  156. package/dist/shell/components/Progress.js.map +0 -1
  157. package/dist/shell/components/Prompt.js +0 -667
  158. package/dist/shell/components/Prompt.js.map +0 -1
  159. package/dist/shell/components/ResultLinks.js +0 -26
  160. package/dist/shell/components/ResultLinks.js.map +0 -1
  161. package/dist/shell/components/Select.js +0 -152
  162. package/dist/shell/components/Select.js.map +0 -1
  163. package/dist/shell/components/Slider.js +0 -48
  164. package/dist/shell/components/Slider.js.map +0 -1
  165. package/dist/shell/components/StagedFiles.js +0 -92
  166. package/dist/shell/components/StagedFiles.js.map +0 -1
  167. package/dist/shell/components/ThemePicker.js +0 -18
  168. package/dist/shell/components/ThemePicker.js.map +0 -1
  169. package/dist/shell/components/UnitRow.js +0 -30
  170. package/dist/shell/components/UnitRow.js.map +0 -1
  171. package/dist/shell/flows/pdf.js +0 -424
  172. package/dist/shell/flows/pdf.js.map +0 -1
  173. package/dist/shell/frame-geometry.js +0 -56
  174. package/dist/shell/frame-geometry.js.map +0 -1
  175. package/dist/shell/hyperlink.js +0 -27
  176. package/dist/shell/hyperlink.js.map +0 -1
  177. package/dist/shell/intro.js +0 -101
  178. package/dist/shell/intro.js.map +0 -1
  179. package/dist/shell/launch.js +0 -75
  180. package/dist/shell/launch.js.map +0 -1
  181. package/dist/shell/mark.js +0 -134
  182. package/dist/shell/mark.js.map +0 -1
  183. package/dist/shell/mouse.js +0 -209
  184. package/dist/shell/mouse.js.map +0 -1
  185. package/dist/shell/redraw.js +0 -36
  186. package/dist/shell/redraw.js.map +0 -1
  187. package/dist/shell/reveal.js +0 -24
  188. package/dist/shell/reveal.js.map +0 -1
  189. package/dist/shell/stage.js +0 -34
  190. package/dist/shell/stage.js.map +0 -1
  191. package/dist/shell/terminal-write.js +0 -16
  192. package/dist/shell/terminal-write.js.map +0 -1
  193. package/dist/shell/theme.js +0 -178
  194. package/dist/shell/theme.js.map +0 -1
  195. package/dist/shell/useFrameOrigin.js +0 -175
  196. package/dist/shell/useFrameOrigin.js.map +0 -1
  197. package/dist/shell/useKeys.js +0 -28
  198. package/dist/shell/useKeys.js.map +0 -1
  199. package/dist/shell/useMouse.js +0 -150
  200. package/dist/shell/useMouse.js.map +0 -1
  201. package/dist/shell/useMouseRouting.js +0 -69
  202. package/dist/shell/useMouseRouting.js.map +0 -1
  203. package/dist/shell/width.js +0 -62
  204. package/dist/shell/width.js.map +0 -1
  205. package/dist/utils/display-path.js +0 -31
  206. package/dist/utils/display-path.js.map +0 -1
  207. package/dist/utils/unescape-path.js +0 -68
  208. package/dist/utils/unescape-path.js.map +0 -1
@@ -1,62 +0,0 @@
1
- import stringWidth from 'string-width';
2
- /** Spec §13: <60 compact, 60-100 normal, >100 wide. */
3
- export function bandFor(columns) {
4
- if (columns < 60)
5
- return 'compact';
6
- if (columns <= 100)
7
- return 'normal';
8
- return 'wide';
9
- }
10
- /**
11
- * Truncates from the middle, because for a path both ends carry meaning —
12
- * the start says where it lives, the end says what it is.
13
- *
14
- * Works in terminal *columns*, not UTF-16 code units: a code unit count
15
- * both splits surrogate pairs (turning an emoji into a stray low surrogate
16
- * that renders as a replacement glyph) and undercounts wide glyphs like CJK
17
- * ideographs (each occupies two columns), which would let the result
18
- * overflow the terminal width this function exists to bound. So it walks
19
- * whole code points and budgets by `stringWidth`, never slicing mid-pair.
20
- */
21
- export function middleEllipsis(text, max) {
22
- if (max <= 0)
23
- return '';
24
- if (stringWidth(text) <= max)
25
- return text;
26
- if (max === 1)
27
- return '…';
28
- const codePoints = Array.from(text);
29
- const budget = max - 1; // one column reserved for the ellipsis itself
30
- const headBudget = Math.ceil(budget / 2);
31
- const tailBudget = budget - headBudget;
32
- let head = '';
33
- let headWidth = 0;
34
- let i = 0;
35
- while (i < codePoints.length) {
36
- const cp = codePoints[i];
37
- if (cp === undefined)
38
- break;
39
- const w = stringWidth(cp);
40
- if (headWidth + w > headBudget)
41
- break;
42
- head += cp;
43
- headWidth += w;
44
- i++;
45
- }
46
- let tail = '';
47
- let tailWidth = 0;
48
- let j = codePoints.length - 1;
49
- while (j >= i) {
50
- const cp = codePoints[j];
51
- if (cp === undefined)
52
- break;
53
- const w = stringWidth(cp);
54
- if (tailWidth + w > tailBudget)
55
- break;
56
- tail = cp + tail;
57
- tailWidth += w;
58
- j--;
59
- }
60
- return `${head}…${tail}`;
61
- }
62
- //# sourceMappingURL=width.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"width.js","sourceRoot":"","sources":["../../src/shell/width.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,cAAc,CAAA;AAItC,uDAAuD;AACvD,MAAM,UAAU,OAAO,CAAC,OAAe;IACrC,IAAI,OAAO,GAAG,EAAE;QAAE,OAAO,SAAS,CAAA;IAClC,IAAI,OAAO,IAAI,GAAG;QAAE,OAAO,QAAQ,CAAA;IACnC,OAAO,MAAM,CAAA;AACf,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,cAAc,CAAC,IAAY,EAAE,GAAW;IACtD,IAAI,GAAG,IAAI,CAAC;QAAE,OAAO,EAAE,CAAA;IACvB,IAAI,WAAW,CAAC,IAAI,CAAC,IAAI,GAAG;QAAE,OAAO,IAAI,CAAA;IACzC,IAAI,GAAG,KAAK,CAAC;QAAE,OAAO,GAAG,CAAA;IAEzB,MAAM,UAAU,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACnC,MAAM,MAAM,GAAG,GAAG,GAAG,CAAC,CAAA,CAAC,8CAA8C;IACrE,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IACxC,MAAM,UAAU,GAAG,MAAM,GAAG,UAAU,CAAA;IAEtC,IAAI,IAAI,GAAG,EAAE,CAAA;IACb,IAAI,SAAS,GAAG,CAAC,CAAA;IACjB,IAAI,CAAC,GAAG,CAAC,CAAA;IACT,OAAO,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC;QAC7B,MAAM,EAAE,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;QACxB,IAAI,EAAE,KAAK,SAAS;YAAE,MAAK;QAC3B,MAAM,CAAC,GAAG,WAAW,CAAC,EAAE,CAAC,CAAA;QACzB,IAAI,SAAS,GAAG,CAAC,GAAG,UAAU;YAAE,MAAK;QACrC,IAAI,IAAI,EAAE,CAAA;QACV,SAAS,IAAI,CAAC,CAAA;QACd,CAAC,EAAE,CAAA;IACL,CAAC;IAED,IAAI,IAAI,GAAG,EAAE,CAAA;IACb,IAAI,SAAS,GAAG,CAAC,CAAA;IACjB,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,CAAA;IAC7B,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;QACd,MAAM,EAAE,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;QACxB,IAAI,EAAE,KAAK,SAAS;YAAE,MAAK;QAC3B,MAAM,CAAC,GAAG,WAAW,CAAC,EAAE,CAAC,CAAA;QACzB,IAAI,SAAS,GAAG,CAAC,GAAG,UAAU;YAAE,MAAK;QACrC,IAAI,GAAG,EAAE,GAAG,IAAI,CAAA;QAChB,SAAS,IAAI,CAAC,CAAA;QACd,CAAC,EAAE,CAAA;IACL,CAAC;IAED,OAAO,GAAG,IAAI,IAAI,IAAI,EAAE,CAAA;AAC1B,CAAC"}
@@ -1,31 +0,0 @@
1
- import { homedir } from 'node:os';
2
- import { isAbsolute, relative, sep } from 'node:path';
3
- /** `path` relative to `base` when it is `base` or inside it, else undefined. */
4
- function inside(path, base) {
5
- const rel = relative(base, path);
6
- if (rel === '')
7
- return '';
8
- if (rel === '..' || rel.startsWith(`..${sep}`) || isAbsolute(rel))
9
- return undefined;
10
- return rel;
11
- }
12
- /**
13
- * An absolute path the way a person would type it back: relative to `cwd`
14
- * when it lies inside it (the CLI, where `out/photo.png` is what was asked
15
- * for), `~`-abbreviated when it lies inside home, and untouched otherwise.
16
- *
17
- * Never climbs out of `cwd` with `..` — `../../Pictures/a.png` is harder to
18
- * read than the `~/Pictures/a.png` it stands for.
19
- */
20
- export function displayPath(path, opts = {}) {
21
- if (opts.cwd !== undefined) {
22
- const rel = inside(path, opts.cwd);
23
- if (rel !== undefined)
24
- return rel === '' ? '.' : rel;
25
- }
26
- const rel = inside(path, opts.home ?? homedir());
27
- if (rel !== undefined)
28
- return rel === '' ? '~' : `~/${rel}`;
29
- return path;
30
- }
31
- //# sourceMappingURL=display-path.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"display-path.js","sourceRoot":"","sources":["../../src/utils/display-path.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,WAAW,CAAA;AAErD,gFAAgF;AAChF,SAAS,MAAM,CAAC,IAAY,EAAE,IAAY;IACxC,MAAM,GAAG,GAAG,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;IAChC,IAAI,GAAG,KAAK,EAAE;QAAE,OAAO,EAAE,CAAA;IACzB,IAAI,GAAG,KAAK,IAAI,IAAI,GAAG,CAAC,UAAU,CAAC,KAAK,GAAG,EAAE,CAAC,IAAI,UAAU,CAAC,GAAG,CAAC;QAAE,OAAO,SAAS,CAAA;IACnF,OAAO,GAAG,CAAA;AACZ,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,WAAW,CAAC,IAAY,EAAE,IAAI,GAAoC,EAAE;IAClF,IAAI,IAAI,CAAC,GAAG,KAAK,SAAS,EAAE,CAAC;QAC3B,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;QAClC,IAAI,GAAG,KAAK,SAAS;YAAE,OAAO,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAA;IACtD,CAAC;IACD,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,OAAO,EAAE,CAAC,CAAA;IAChD,IAAI,GAAG,KAAK,SAAS;QAAE,OAAO,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAA;IAC3D,OAAO,IAAI,CAAA;AACb,CAAC"}
@@ -1,68 +0,0 @@
1
- import { homedir } from 'node:os';
2
- import { join } from 'node:path';
3
- /**
4
- * Terminals paste a *shell-escaped* path when you drop a file on them.
5
- * iTerm2 backslash-escapes spaces; some terminals wrap the whole thing in
6
- * quotes. Inside quotes the backslashes are literal, so the two cases must
7
- * not both be applied.
8
- */
9
- export function unescapePath(raw) {
10
- let s = raw.trim();
11
- const quoted = (s.startsWith("'") && s.endsWith("'") && s.length > 1) ||
12
- (s.startsWith('"') && s.endsWith('"') && s.length > 1);
13
- if (quoted)
14
- s = s.slice(1, -1);
15
- else
16
- s = s.replace(/\\(.)/g, '$1');
17
- if (s === '~')
18
- return homedir();
19
- if (s.startsWith('~/'))
20
- return join(homedir(), s.slice(2));
21
- return s;
22
- }
23
- /**
24
- * Splits a paste containing several paths on *unescaped* whitespace, so
25
- * "My\ Photo.jpg" stays one path. Each result is then unescaped.
26
- *
27
- * Deliberately uncalled: the shell is single-file from probe to result (spec
28
- * §10), and wiring this in would be the batch feature, not a fix. Retained,
29
- * with its tests, for when that lands.
30
- */
31
- export function splitPastedPaths(raw) {
32
- const out = [];
33
- let current = '';
34
- let quote = null;
35
- for (let i = 0; i < raw.length; i++) {
36
- const c = raw[i];
37
- if (c === undefined)
38
- break;
39
- if (quote) {
40
- current += c;
41
- if (c === quote)
42
- quote = null;
43
- continue;
44
- }
45
- if (c === "'" || c === '"') {
46
- quote = c;
47
- current += c;
48
- continue;
49
- }
50
- if (c === '\\') {
51
- current += c + (raw[i + 1] ?? '');
52
- i++;
53
- continue;
54
- }
55
- if (/\s/.test(c)) {
56
- if (current) {
57
- out.push(current);
58
- current = '';
59
- }
60
- continue;
61
- }
62
- current += c;
63
- }
64
- if (current)
65
- out.push(current);
66
- return out.map(unescapePath);
67
- }
68
- //# sourceMappingURL=unescape-path.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unescape-path.js","sourceRoot":"","sources":["../../src/utils/unesc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