postext 1.63.3 → 1.63.5

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 (792) hide show
  1. package/dist/bundle/codec/files.d.ts +20 -0
  2. package/dist/bundle/codec/files.d.ts.map +1 -0
  3. package/dist/bundle/codec/files.js +92 -0
  4. package/dist/bundle/codec/files.js.map +1 -0
  5. package/dist/bundle/codec/plan.d.ts +114 -0
  6. package/dist/bundle/codec/plan.d.ts.map +1 -0
  7. package/dist/bundle/codec/plan.js +367 -0
  8. package/dist/bundle/codec/plan.js.map +1 -0
  9. package/dist/bundle/codec/read.d.ts +92 -0
  10. package/dist/bundle/codec/read.d.ts.map +1 -0
  11. package/dist/bundle/codec/read.js +249 -0
  12. package/dist/bundle/codec/read.js.map +1 -0
  13. package/dist/bundle/codec.d.ts +6 -218
  14. package/dist/bundle/codec.d.ts.map +1 -1
  15. package/dist/bundle/codec.js +3 -699
  16. package/dist/bundle/codec.js.map +1 -1
  17. package/dist/bundle/manifest/entries.d.ts +25 -0
  18. package/dist/bundle/manifest/entries.d.ts.map +1 -0
  19. package/dist/bundle/manifest/entries.js +108 -0
  20. package/dist/bundle/manifest/entries.js.map +1 -0
  21. package/dist/bundle/manifest/fileNames.d.ts +38 -0
  22. package/dist/bundle/manifest/fileNames.d.ts.map +1 -0
  23. package/dist/bundle/manifest/fileNames.js +143 -0
  24. package/dist/bundle/manifest/fileNames.js.map +1 -0
  25. package/dist/bundle/manifest/locale.d.ts +61 -0
  26. package/dist/bundle/manifest/locale.d.ts.map +1 -0
  27. package/dist/bundle/manifest/locale.js +216 -0
  28. package/dist/bundle/manifest/locale.js.map +1 -0
  29. package/dist/bundle/manifest/sizes.d.ts +18 -0
  30. package/dist/bundle/manifest/sizes.d.ts.map +1 -0
  31. package/dist/bundle/manifest/sizes.js +257 -0
  32. package/dist/bundle/manifest/sizes.js.map +1 -0
  33. package/dist/bundle/manifest/validation.d.ts +10 -0
  34. package/dist/bundle/manifest/validation.d.ts.map +1 -0
  35. package/dist/bundle/manifest/validation.js +114 -0
  36. package/dist/bundle/manifest/validation.js.map +1 -0
  37. package/dist/bundle/manifest.d.ts +7 -139
  38. package/dist/bundle/manifest.d.ts.map +1 -1
  39. package/dist/bundle/manifest.js +5 -829
  40. package/dist/bundle/manifest.js.map +1 -1
  41. package/dist/canvas-backend/blockRender/block.d.ts +5 -0
  42. package/dist/canvas-backend/blockRender/block.d.ts.map +1 -0
  43. package/dist/canvas-backend/blockRender/block.js +240 -0
  44. package/dist/canvas-backend/blockRender/block.js.map +1 -0
  45. package/dist/canvas-backend/blockRender/lines.d.ts +16 -0
  46. package/dist/canvas-backend/blockRender/lines.d.ts.map +1 -0
  47. package/dist/canvas-backend/blockRender/lines.js +192 -0
  48. package/dist/canvas-backend/blockRender/lines.js.map +1 -0
  49. package/dist/canvas-backend/blockRender/segments.d.ts +54 -0
  50. package/dist/canvas-backend/blockRender/segments.d.ts.map +1 -0
  51. package/dist/canvas-backend/blockRender/segments.js +311 -0
  52. package/dist/canvas-backend/blockRender/segments.js.map +1 -0
  53. package/dist/canvas-backend/blockRender.d.ts +2 -7
  54. package/dist/canvas-backend/blockRender.d.ts.map +1 -1
  55. package/dist/canvas-backend/blockRender.js +3 -727
  56. package/dist/canvas-backend/blockRender.js.map +1 -1
  57. package/dist/canvas-backend/renderResourceBlock/block.d.ts +9 -0
  58. package/dist/canvas-backend/renderResourceBlock/block.d.ts.map +1 -0
  59. package/dist/canvas-backend/renderResourceBlock/block.js +185 -0
  60. package/dist/canvas-backend/renderResourceBlock/block.js.map +1 -0
  61. package/dist/canvas-backend/renderResourceBlock/images.d.ts +67 -0
  62. package/dist/canvas-backend/renderResourceBlock/images.d.ts.map +1 -0
  63. package/dist/canvas-backend/renderResourceBlock/images.js +224 -0
  64. package/dist/canvas-backend/renderResourceBlock/images.js.map +1 -0
  65. package/dist/canvas-backend/renderResourceBlock/overlays.d.ts +10 -0
  66. package/dist/canvas-backend/renderResourceBlock/overlays.d.ts.map +1 -0
  67. package/dist/canvas-backend/renderResourceBlock/overlays.js +107 -0
  68. package/dist/canvas-backend/renderResourceBlock/overlays.js.map +1 -0
  69. package/dist/canvas-backend/renderResourceBlock/table.d.ts +3 -0
  70. package/dist/canvas-backend/renderResourceBlock/table.d.ts.map +1 -0
  71. package/dist/canvas-backend/renderResourceBlock/table.js +143 -0
  72. package/dist/canvas-backend/renderResourceBlock/table.js.map +1 -0
  73. package/dist/canvas-backend/renderResourceBlock/text.d.ts +11 -0
  74. package/dist/canvas-backend/renderResourceBlock/text.d.ts.map +1 -0
  75. package/dist/canvas-backend/renderResourceBlock/text.js +141 -0
  76. package/dist/canvas-backend/renderResourceBlock/text.js.map +1 -0
  77. package/dist/canvas-backend/renderResourceBlock.d.ts +4 -81
  78. package/dist/canvas-backend/renderResourceBlock.d.ts.map +1 -1
  79. package/dist/canvas-backend/renderResourceBlock.js +3 -777
  80. package/dist/canvas-backend/renderResourceBlock.js.map +1 -1
  81. package/dist/canvas-backend/verticalText/alternates.d.ts +47 -0
  82. package/dist/canvas-backend/verticalText/alternates.d.ts.map +1 -0
  83. package/dist/canvas-backend/verticalText/alternates.js +240 -0
  84. package/dist/canvas-backend/verticalText/alternates.js.map +1 -0
  85. package/dist/canvas-backend/verticalText/painter.d.ts +58 -0
  86. package/dist/canvas-backend/verticalText/painter.d.ts.map +1 -0
  87. package/dist/canvas-backend/verticalText/painter.js +329 -0
  88. package/dist/canvas-backend/verticalText/painter.js.map +1 -0
  89. package/dist/canvas-backend/verticalText.d.ts +4 -101
  90. package/dist/canvas-backend/verticalText.d.ts.map +1 -1
  91. package/dist/canvas-backend/verticalText.js +2 -562
  92. package/dist/canvas-backend/verticalText.js.map +1 -1
  93. package/dist/checks/contrast/colours.d.ts +64 -0
  94. package/dist/checks/contrast/colours.d.ts.map +1 -0
  95. package/dist/checks/contrast/colours.js +101 -0
  96. package/dist/checks/contrast/colours.js.map +1 -0
  97. package/dist/checks/contrast/document.d.ts +17 -0
  98. package/dist/checks/contrast/document.d.ts.map +1 -0
  99. package/dist/checks/contrast/document.js +132 -0
  100. package/dist/checks/contrast/document.js.map +1 -0
  101. package/dist/checks/contrast/pairs.d.ts +10 -0
  102. package/dist/checks/contrast/pairs.d.ts.map +1 -0
  103. package/dist/checks/contrast/pairs.js +462 -0
  104. package/dist/checks/contrast/pairs.js.map +1 -0
  105. package/dist/checks/contrast/types.d.ts +114 -0
  106. package/dist/checks/contrast/types.d.ts.map +1 -0
  107. package/dist/checks/contrast/types.js +2 -0
  108. package/dist/checks/contrast/types.js.map +1 -0
  109. package/dist/checks/contrast.d.ts +5 -170
  110. package/dist/checks/contrast.d.ts.map +1 -1
  111. package/dist/checks/contrast.js +3 -686
  112. package/dist/checks/contrast.js.map +1 -1
  113. package/dist/comics/layoutPage/letterPanels.d.ts +38 -0
  114. package/dist/comics/layoutPage/letterPanels.d.ts.map +1 -0
  115. package/dist/comics/layoutPage/letterPanels.js +146 -0
  116. package/dist/comics/layoutPage/letterPanels.js.map +1 -0
  117. package/dist/comics/layoutPage/letteringStyle.d.ts +31 -0
  118. package/dist/comics/layoutPage/letteringStyle.d.ts.map +1 -0
  119. package/dist/comics/layoutPage/letteringStyle.js +88 -0
  120. package/dist/comics/layoutPage/letteringStyle.js.map +1 -0
  121. package/dist/comics/layoutPage/records.d.ts +25 -0
  122. package/dist/comics/layoutPage/records.d.ts.map +1 -0
  123. package/dist/comics/layoutPage/records.js +36 -0
  124. package/dist/comics/layoutPage/records.js.map +1 -0
  125. package/dist/comics/layoutPage/settings.d.ts +64 -0
  126. package/dist/comics/layoutPage/settings.d.ts.map +1 -0
  127. package/dist/comics/layoutPage/settings.js +168 -0
  128. package/dist/comics/layoutPage/settings.js.map +1 -0
  129. package/dist/comics/layoutPage/zones.d.ts +79 -0
  130. package/dist/comics/layoutPage/zones.d.ts.map +1 -0
  131. package/dist/comics/layoutPage/zones.js +179 -0
  132. package/dist/comics/layoutPage/zones.js.map +1 -0
  133. package/dist/comics/layoutPage.d.ts +8 -113
  134. package/dist/comics/layoutPage.d.ts.map +1 -1
  135. package/dist/comics/layoutPage.js +12 -603
  136. package/dist/comics/layoutPage.js.map +1 -1
  137. package/dist/comics/lettering/letter/variants.d.ts +28 -0
  138. package/dist/comics/lettering/letter/variants.d.ts.map +1 -0
  139. package/dist/comics/lettering/letter/variants.js +269 -0
  140. package/dist/comics/lettering/letter/variants.js.map +1 -0
  141. package/dist/comics/lettering/letter.d.ts +32 -1
  142. package/dist/comics/lettering/letter.d.ts.map +1 -1
  143. package/dist/comics/lettering/letter.js +8 -270
  144. package/dist/comics/lettering/letter.js.map +1 -1
  145. package/dist/comics/lettering/shape-text/breaks.d.ts +53 -0
  146. package/dist/comics/lettering/shape-text/breaks.d.ts.map +1 -0
  147. package/dist/comics/lettering/shape-text/breaks.js +217 -0
  148. package/dist/comics/lettering/shape-text/breaks.js.map +1 -0
  149. package/dist/comics/lettering/shape-text/measure.d.ts +20 -0
  150. package/dist/comics/lettering/shape-text/measure.d.ts.map +1 -0
  151. package/dist/comics/lettering/shape-text/measure.js +160 -0
  152. package/dist/comics/lettering/shape-text/measure.js.map +1 -0
  153. package/dist/comics/lettering/shape-text/ruby.d.ts +28 -0
  154. package/dist/comics/lettering/shape-text/ruby.d.ts.map +1 -0
  155. package/dist/comics/lettering/shape-text/ruby.js +173 -0
  156. package/dist/comics/lettering/shape-text/ruby.js.map +1 -0
  157. package/dist/comics/lettering/shape-text.d.ts +7 -6
  158. package/dist/comics/lettering/shape-text.d.ts.map +1 -1
  159. package/dist/comics/lettering/shape-text.js +10 -536
  160. package/dist/comics/lettering/shape-text.js.map +1 -1
  161. package/dist/composed/overlap/ink.d.ts +48 -0
  162. package/dist/composed/overlap/ink.d.ts.map +1 -0
  163. package/dist/composed/overlap/ink.js +180 -0
  164. package/dist/composed/overlap/ink.js.map +1 -0
  165. package/dist/composed/overlap/moves.d.ts +97 -0
  166. package/dist/composed/overlap/moves.d.ts.map +1 -0
  167. package/dist/composed/overlap/moves.js +191 -0
  168. package/dist/composed/overlap/moves.js.map +1 -0
  169. package/dist/composed/overlap.d.ts +2 -2
  170. package/dist/composed/overlap.d.ts.map +1 -1
  171. package/dist/composed/overlap.js +3 -367
  172. package/dist/composed/overlap.js.map +1 -1
  173. package/dist/composed/sourceMap/chains.d.ts +27 -0
  174. package/dist/composed/sourceMap/chains.d.ts.map +1 -0
  175. package/dist/composed/sourceMap/chains.js +176 -0
  176. package/dist/composed/sourceMap/chains.js.map +1 -0
  177. package/dist/composed/sourceMap/frames.d.ts +19 -0
  178. package/dist/composed/sourceMap/frames.d.ts.map +1 -0
  179. package/dist/composed/sourceMap/frames.js +143 -0
  180. package/dist/composed/sourceMap/frames.js.map +1 -0
  181. package/dist/composed/sourceMap/text.d.ts +52 -0
  182. package/dist/composed/sourceMap/text.d.ts.map +1 -0
  183. package/dist/composed/sourceMap/text.js +200 -0
  184. package/dist/composed/sourceMap/text.js.map +1 -0
  185. package/dist/composed/sourceMap.d.ts +22 -1
  186. package/dist/composed/sourceMap.d.ts.map +1 -1
  187. package/dist/composed/sourceMap.js +7 -511
  188. package/dist/composed/sourceMap.js.map +1 -1
  189. package/dist/composed/types/frames.d.ts +290 -0
  190. package/dist/composed/types/frames.d.ts.map +1 -0
  191. package/dist/composed/types/frames.js +2 -0
  192. package/dist/composed/types/frames.js.map +1 -0
  193. package/dist/composed/types/resolved.d.ts +207 -0
  194. package/dist/composed/types/resolved.d.ts.map +1 -0
  195. package/dist/composed/types/resolved.js +2 -0
  196. package/dist/composed/types/resolved.js.map +1 -0
  197. package/dist/composed/types/templates.d.ts +152 -0
  198. package/dist/composed/types/templates.d.ts.map +1 -0
  199. package/dist/composed/types/templates.js +2 -0
  200. package/dist/composed/types/templates.js.map +1 -0
  201. package/dist/composed/types.d.ts +3 -641
  202. package/dist/composed/types.d.ts.map +1 -1
  203. package/dist/composed/types.js +8 -0
  204. package/dist/composed/types.js.map +1 -1
  205. package/dist/defaults/boxes/calloutStyles/inherit.d.ts +15 -0
  206. package/dist/defaults/boxes/calloutStyles/inherit.d.ts.map +1 -0
  207. package/dist/defaults/boxes/calloutStyles/inherit.js +64 -0
  208. package/dist/defaults/boxes/calloutStyles/inherit.js.map +1 -0
  209. package/dist/defaults/boxes/calloutStyles/resolve.d.ts +7 -0
  210. package/dist/defaults/boxes/calloutStyles/resolve.d.ts.map +1 -0
  211. package/dist/defaults/boxes/calloutStyles/resolve.js +223 -0
  212. package/dist/defaults/boxes/calloutStyles/resolve.js.map +1 -0
  213. package/dist/defaults/boxes/calloutStyles/statics.d.ts +136 -0
  214. package/dist/defaults/boxes/calloutStyles/statics.d.ts.map +1 -0
  215. package/dist/defaults/boxes/calloutStyles/statics.js +140 -0
  216. package/dist/defaults/boxes/calloutStyles/statics.js.map +1 -0
  217. package/dist/defaults/boxes/calloutStyles/strip.d.ts +10 -0
  218. package/dist/defaults/boxes/calloutStyles/strip.d.ts.map +1 -0
  219. package/dist/defaults/boxes/calloutStyles/strip.js +336 -0
  220. package/dist/defaults/boxes/calloutStyles/strip.js.map +1 -0
  221. package/dist/defaults/boxes/calloutStyles.d.ts +4 -148
  222. package/dist/defaults/boxes/calloutStyles.d.ts.map +1 -1
  223. package/dist/defaults/boxes/calloutStyles.js +4 -749
  224. package/dist/defaults/boxes/calloutStyles.js.map +1 -1
  225. package/dist/defaults/structure/headerFooter/defaults.d.ts +34 -0
  226. package/dist/defaults/structure/headerFooter/defaults.d.ts.map +1 -0
  227. package/dist/defaults/structure/headerFooter/defaults.js +162 -0
  228. package/dist/defaults/structure/headerFooter/defaults.js.map +1 -0
  229. package/dist/defaults/structure/headerFooter/legacy.d.ts +8 -0
  230. package/dist/defaults/structure/headerFooter/legacy.d.ts.map +1 -0
  231. package/dist/defaults/structure/headerFooter/legacy.js +124 -0
  232. package/dist/defaults/structure/headerFooter/legacy.js.map +1 -0
  233. package/dist/defaults/structure/headerFooter/resolve.d.ts +29 -0
  234. package/dist/defaults/structure/headerFooter/resolve.d.ts.map +1 -0
  235. package/dist/defaults/structure/headerFooter/resolve.js +231 -0
  236. package/dist/defaults/structure/headerFooter/resolve.js.map +1 -0
  237. package/dist/defaults/structure/headerFooter.d.ts +6 -58
  238. package/dist/defaults/structure/headerFooter.d.ts.map +1 -1
  239. package/dist/defaults/structure/headerFooter.js +5 -510
  240. package/dist/defaults/structure/headerFooter.js.map +1 -1
  241. package/dist/defaults/structure/headings/defaults.d.ts +46 -0
  242. package/dist/defaults/structure/headings/defaults.d.ts.map +1 -0
  243. package/dist/defaults/structure/headings/defaults.js +100 -0
  244. package/dist/defaults/structure/headings/defaults.js.map +1 -0
  245. package/dist/defaults/structure/headings/resolve.d.ts +17 -0
  246. package/dist/defaults/structure/headings/resolve.d.ts.map +1 -0
  247. package/dist/defaults/structure/headings/resolve.js +179 -0
  248. package/dist/defaults/structure/headings/resolve.js.map +1 -0
  249. package/dist/defaults/structure/headings/strip.d.ts +9 -0
  250. package/dist/defaults/structure/headings/strip.d.ts.map +1 -0
  251. package/dist/defaults/structure/headings/strip.js +323 -0
  252. package/dist/defaults/structure/headings/strip.js.map +1 -0
  253. package/dist/defaults/structure/headings.d.ts +3 -62
  254. package/dist/defaults/structure/headings.d.ts.map +1 -1
  255. package/dist/defaults/structure/headings.js +3 -594
  256. package/dist/defaults/structure/headings.js.map +1 -1
  257. package/dist/defaults/text/bodyText/arabic.d.ts +35 -0
  258. package/dist/defaults/text/bodyText/arabic.d.ts.map +1 -0
  259. package/dist/defaults/text/bodyText/arabic.js +85 -0
  260. package/dist/defaults/text/bodyText/arabic.js.map +1 -0
  261. package/dist/defaults/text/bodyText/defaults.d.ts +31 -0
  262. package/dist/defaults/text/bodyText/defaults.d.ts.map +1 -0
  263. package/dist/defaults/text/bodyText/defaults.js +128 -0
  264. package/dist/defaults/text/bodyText/defaults.js.map +1 -0
  265. package/dist/defaults/text/bodyText/resolve.d.ts +12 -0
  266. package/dist/defaults/text/bodyText/resolve.d.ts.map +1 -0
  267. package/dist/defaults/text/bodyText/resolve.js +171 -0
  268. package/dist/defaults/text/bodyText/resolve.js.map +1 -0
  269. package/dist/defaults/text/bodyText/strip.d.ts +12 -0
  270. package/dist/defaults/text/bodyText/strip.d.ts.map +1 -0
  271. package/dist/defaults/text/bodyText/strip.js +305 -0
  272. package/dist/defaults/text/bodyText/strip.js.map +1 -0
  273. package/dist/defaults/text/bodyText.d.ts +4 -70
  274. package/dist/defaults/text/bodyText.d.ts.map +1 -1
  275. package/dist/defaults/text/bodyText.js +4 -673
  276. package/dist/defaults/text/bodyText.js.map +1 -1
  277. package/dist/design/richText/ellipsis.d.ts +26 -0
  278. package/dist/design/richText/ellipsis.d.ts.map +1 -0
  279. package/dist/design/richText/ellipsis.js +173 -0
  280. package/dist/design/richText/ellipsis.js.map +1 -0
  281. package/dist/design/richText/measure.d.ts +51 -0
  282. package/dist/design/richText/measure.d.ts.map +1 -0
  283. package/dist/design/richText/measure.js +176 -0
  284. package/dist/design/richText/measure.js.map +1 -0
  285. package/dist/design/richText/parse.d.ts +120 -0
  286. package/dist/design/richText/parse.d.ts.map +1 -0
  287. package/dist/design/richText/parse.js +190 -0
  288. package/dist/design/richText/parse.js.map +1 -0
  289. package/dist/design/richText/wrap.d.ts +13 -0
  290. package/dist/design/richText/wrap.d.ts.map +1 -0
  291. package/dist/design/richText/wrap.js +176 -0
  292. package/dist/design/richText/wrap.js.map +1 -0
  293. package/dist/design/richText.d.ts +6 -199
  294. package/dist/design/richText.d.ts.map +1 -1
  295. package/dist/design/richText.js +4 -698
  296. package/dist/design/richText.js.map +1 -1
  297. package/dist/exercises/grids/arithmetic.d.ts +3 -0
  298. package/dist/exercises/grids/arithmetic.d.ts.map +1 -0
  299. package/dist/exercises/grids/arithmetic.js +214 -0
  300. package/dist/exercises/grids/arithmetic.js.map +1 -0
  301. package/dist/exercises/grids/common.d.ts +8 -0
  302. package/dist/exercises/grids/common.d.ts.map +1 -0
  303. package/dist/exercises/grids/common.js +9 -0
  304. package/dist/exercises/grids/common.js.map +1 -0
  305. package/dist/exercises/grids/crossword.d.ts +3 -0
  306. package/dist/exercises/grids/crossword.d.ts.map +1 -0
  307. package/dist/exercises/grids/crossword.js +191 -0
  308. package/dist/exercises/grids/crossword.js.map +1 -0
  309. package/dist/exercises/grids/match.d.ts +3 -0
  310. package/dist/exercises/grids/match.d.ts.map +1 -0
  311. package/dist/exercises/grids/match.js +58 -0
  312. package/dist/exercises/grids/match.js.map +1 -0
  313. package/dist/exercises/grids/wordSearch.d.ts +5 -0
  314. package/dist/exercises/grids/wordSearch.d.ts.map +1 -0
  315. package/dist/exercises/grids/wordSearch.js +122 -0
  316. package/dist/exercises/grids/wordSearch.js.map +1 -0
  317. package/dist/exercises/grids.d.ts +2 -2
  318. package/dist/exercises/grids.d.ts.map +1 -1
  319. package/dist/exercises/grids.js +4 -575
  320. package/dist/exercises/grids.js.map +1 -1
  321. package/dist/knuthPlass/breakpoints/adjust.d.ts +22 -0
  322. package/dist/knuthPlass/breakpoints/adjust.d.ts.map +1 -0
  323. package/dist/knuthPlass/breakpoints/adjust.js +39 -0
  324. package/dist/knuthPlass/breakpoints/adjust.js.map +1 -0
  325. package/dist/knuthPlass/breakpoints/search.d.ts +10 -0
  326. package/dist/knuthPlass/breakpoints/search.d.ts.map +1 -0
  327. package/dist/knuthPlass/breakpoints/search.js +439 -0
  328. package/dist/knuthPlass/breakpoints/search.js.map +1 -0
  329. package/dist/knuthPlass/breakpoints.d.ts +2 -21
  330. package/dist/knuthPlass/breakpoints.d.ts.map +1 -1
  331. package/dist/knuthPlass/breakpoints.js +2 -472
  332. package/dist/knuthPlass/breakpoints.js.map +1 -1
  333. package/dist/marks/cjkMarks/geometry.d.ts +58 -0
  334. package/dist/marks/cjkMarks/geometry.d.ts.map +1 -0
  335. package/dist/marks/cjkMarks/geometry.js +131 -0
  336. package/dist/marks/cjkMarks/geometry.js.map +1 -0
  337. package/dist/marks/cjkMarks/lineMarks.d.ts +7 -0
  338. package/dist/marks/cjkMarks/lineMarks.d.ts.map +1 -0
  339. package/dist/marks/cjkMarks/lineMarks.js +183 -0
  340. package/dist/marks/cjkMarks/lineMarks.js.map +1 -0
  341. package/dist/marks/cjkMarks/reach.d.ts +28 -0
  342. package/dist/marks/cjkMarks/reach.d.ts.map +1 -0
  343. package/dist/marks/cjkMarks/reach.js +130 -0
  344. package/dist/marks/cjkMarks/reach.js.map +1 -0
  345. package/dist/marks/cjkMarks/resources.d.ts +31 -0
  346. package/dist/marks/cjkMarks/resources.d.ts.map +1 -0
  347. package/dist/marks/cjkMarks/resources.js +46 -0
  348. package/dist/marks/cjkMarks/resources.js.map +1 -0
  349. package/dist/marks/cjkMarks.d.ts +4 -27
  350. package/dist/marks/cjkMarks.d.ts.map +1 -1
  351. package/dist/marks/cjkMarks.js +6 -479
  352. package/dist/marks/cjkMarks.js.map +1 -1
  353. package/dist/measure/canvas/ink.d.ts +67 -0
  354. package/dist/measure/canvas/ink.d.ts.map +1 -0
  355. package/dist/measure/canvas/ink.js +215 -0
  356. package/dist/measure/canvas/ink.js.map +1 -0
  357. package/dist/measure/canvas/state.d.ts +91 -0
  358. package/dist/measure/canvas/state.d.ts.map +1 -0
  359. package/dist/measure/canvas/state.js +306 -0
  360. package/dist/measure/canvas/state.js.map +1 -0
  361. package/dist/measure/canvas/widths.d.ts +27 -0
  362. package/dist/measure/canvas/widths.d.ts.map +1 -0
  363. package/dist/measure/canvas/widths.js +137 -0
  364. package/dist/measure/canvas/widths.js.map +1 -0
  365. package/dist/measure/canvas.d.ts +4 -154
  366. package/dist/measure/canvas.d.ts.map +1 -1
  367. package/dist/measure/canvas.js +4 -646
  368. package/dist/measure/canvas.js.map +1 -1
  369. package/dist/measure/cjk/cjkPunctuation/box.d.ts +71 -0
  370. package/dist/measure/cjk/cjkPunctuation/box.d.ts.map +1 -0
  371. package/dist/measure/cjk/cjkPunctuation/box.js +114 -0
  372. package/dist/measure/cjk/cjkPunctuation/box.js.map +1 -0
  373. package/dist/measure/cjk/cjkPunctuation/composition.d.ts +128 -0
  374. package/dist/measure/cjk/cjkPunctuation/composition.d.ts.map +1 -0
  375. package/dist/measure/cjk/cjkPunctuation/composition.js +157 -0
  376. package/dist/measure/cjk/cjkPunctuation/composition.js.map +1 -0
  377. package/dist/measure/cjk/cjkPunctuation/lineEdges.d.ts +63 -0
  378. package/dist/measure/cjk/cjkPunctuation/lineEdges.d.ts.map +1 -0
  379. package/dist/measure/cjk/cjkPunctuation/lineEdges.js +183 -0
  380. package/dist/measure/cjk/cjkPunctuation/lineEdges.js.map +1 -0
  381. package/dist/measure/cjk/cjkPunctuation.d.ts +8 -247
  382. package/dist/measure/cjk/cjkPunctuation.d.ts.map +1 -1
  383. package/dist/measure/cjk/cjkPunctuation.js +6 -447
  384. package/dist/measure/cjk/cjkPunctuation.js.map +1 -1
  385. package/dist/measure/plain/overwide.d.ts +70 -0
  386. package/dist/measure/plain/overwide.d.ts.map +1 -0
  387. package/dist/measure/plain/overwide.js +150 -0
  388. package/dist/measure/plain/overwide.js.map +1 -0
  389. package/dist/measure/plain/segments.d.ts +53 -0
  390. package/dist/measure/plain/segments.d.ts.map +1 -0
  391. package/dist/measure/plain/segments.js +153 -0
  392. package/dist/measure/plain/segments.js.map +1 -0
  393. package/dist/measure/plain.d.ts +2 -15
  394. package/dist/measure/plain.d.ts.map +1 -1
  395. package/dist/measure/plain.js +12 -300
  396. package/dist/measure/plain.js.map +1 -1
  397. package/dist/migrate/pageDesign/pictures.d.ts +16 -0
  398. package/dist/migrate/pageDesign/pictures.d.ts.map +1 -0
  399. package/dist/migrate/pageDesign/pictures.js +101 -0
  400. package/dist/migrate/pageDesign/pictures.js.map +1 -0
  401. package/dist/migrate/pageDesign/text.d.ts +48 -0
  402. package/dist/migrate/pageDesign/text.d.ts.map +1 -0
  403. package/dist/migrate/pageDesign/text.js +196 -0
  404. package/dist/migrate/pageDesign/text.js.map +1 -0
  405. package/dist/migrate/pageDesign/types.d.ts +137 -0
  406. package/dist/migrate/pageDesign/types.d.ts.map +1 -0
  407. package/dist/migrate/pageDesign/types.js +2 -0
  408. package/dist/migrate/pageDesign/types.js.map +1 -0
  409. package/dist/migrate/pageDesign.d.ts +4 -154
  410. package/dist/migrate/pageDesign.d.ts.map +1 -1
  411. package/dist/migrate/pageDesign.js +4 -294
  412. package/dist/migrate/pageDesign.js.map +1 -1
  413. package/dist/numerals/numbering/counters.d.ts +49 -0
  414. package/dist/numerals/numbering/counters.d.ts.map +1 -0
  415. package/dist/numerals/numbering/counters.js +311 -0
  416. package/dist/numerals/numbering/counters.js.map +1 -0
  417. package/dist/numerals/numbering/formats.d.ts +30 -0
  418. package/dist/numerals/numbering/formats.d.ts.map +1 -0
  419. package/dist/numerals/numbering/formats.js +116 -0
  420. package/dist/numerals/numbering/formats.js.map +1 -0
  421. package/dist/numerals/numbering/headings.d.ts +40 -0
  422. package/dist/numerals/numbering/headings.d.ts.map +1 -0
  423. package/dist/numerals/numbering/headings.js +64 -0
  424. package/dist/numerals/numbering/headings.js.map +1 -0
  425. package/dist/numerals/numbering/pageLabels.d.ts +43 -0
  426. package/dist/numerals/numbering/pageLabels.d.ts.map +1 -0
  427. package/dist/numerals/numbering/pageLabels.js +75 -0
  428. package/dist/numerals/numbering/pageLabels.js.map +1 -0
  429. package/dist/numerals/numbering/styles.d.ts +52 -0
  430. package/dist/numerals/numbering/styles.d.ts.map +1 -0
  431. package/dist/numerals/numbering/styles.js +43 -0
  432. package/dist/numerals/numbering/styles.js.map +1 -0
  433. package/dist/numerals/numbering.d.ts +9 -201
  434. package/dist/numerals/numbering.d.ts.map +1 -1
  435. package/dist/numerals/numbering.js +5 -595
  436. package/dist/numerals/numbering.js.map +1 -1
  437. package/dist/parse/annotations/apply.d.ts +32 -0
  438. package/dist/parse/annotations/apply.d.ts.map +1 -0
  439. package/dist/parse/annotations/apply.js +293 -0
  440. package/dist/parse/annotations/apply.js.map +1 -0
  441. package/dist/parse/annotations/scan.d.ts +55 -0
  442. package/dist/parse/annotations/scan.d.ts.map +1 -0
  443. package/dist/parse/annotations/scan.js +232 -0
  444. package/dist/parse/annotations/scan.js.map +1 -0
  445. package/dist/parse/annotations/source.d.ts +31 -0
  446. package/dist/parse/annotations/source.d.ts.map +1 -0
  447. package/dist/parse/annotations/source.js +128 -0
  448. package/dist/parse/annotations/source.js.map +1 -0
  449. package/dist/parse/annotations.d.ts +5 -86
  450. package/dist/parse/annotations.d.ts.map +1 -1
  451. package/dist/parse/annotations.js +3 -648
  452. package/dist/parse/annotations.js.map +1 -1
  453. package/dist/pipeline/blocks/measureContentBlock/helpers.d.ts +31 -0
  454. package/dist/pipeline/blocks/measureContentBlock/helpers.d.ts.map +1 -0
  455. package/dist/pipeline/blocks/measureContentBlock/helpers.js +74 -0
  456. package/dist/pipeline/blocks/measureContentBlock/helpers.js.map +1 -0
  457. package/dist/pipeline/blocks/measureContentBlock/inlineSpans.d.ts +12 -0
  458. package/dist/pipeline/blocks/measureContentBlock/inlineSpans.d.ts.map +1 -0
  459. package/dist/pipeline/blocks/measureContentBlock/inlineSpans.js +107 -0
  460. package/dist/pipeline/blocks/measureContentBlock/inlineSpans.js.map +1 -0
  461. package/dist/pipeline/blocks/measureContentBlock/measureOptions.d.ts +68 -0
  462. package/dist/pipeline/blocks/measureContentBlock/measureOptions.d.ts.map +1 -0
  463. package/dist/pipeline/blocks/measureContentBlock/measureOptions.js +90 -0
  464. package/dist/pipeline/blocks/measureContentBlock/measureOptions.js.map +1 -0
  465. package/dist/pipeline/blocks/measureContentBlock/types.d.ts +165 -0
  466. package/dist/pipeline/blocks/measureContentBlock/types.d.ts.map +1 -0
  467. package/dist/pipeline/blocks/measureContentBlock/types.js +2 -0
  468. package/dist/pipeline/blocks/measureContentBlock/types.js.map +1 -0
  469. package/dist/pipeline/blocks/measureContentBlock.d.ts +8 -172
  470. package/dist/pipeline/blocks/measureContentBlock.d.ts.map +1 -1
  471. package/dist/pipeline/blocks/measureContentBlock.js +16 -257
  472. package/dist/pipeline/blocks/measureContentBlock.js.map +1 -1
  473. package/dist/pipeline/blocks/placement/bands.d.ts +61 -0
  474. package/dist/pipeline/blocks/placement/bands.d.ts.map +1 -0
  475. package/dist/pipeline/blocks/placement/bands.js +188 -0
  476. package/dist/pipeline/blocks/placement/bands.js.map +1 -0
  477. package/dist/pipeline/blocks/placement.d.ts +2 -59
  478. package/dist/pipeline/blocks/placement.d.ts.map +1 -1
  479. package/dist/pipeline/blocks/placement.js +3 -184
  480. package/dist/pipeline/blocks/placement.js.map +1 -1
  481. package/dist/pipeline/build/pass/composed/comicText.d.ts +27 -0
  482. package/dist/pipeline/build/pass/composed/comicText.d.ts.map +1 -0
  483. package/dist/pipeline/build/pass/composed/comicText.js +89 -0
  484. package/dist/pipeline/build/pass/composed/comicText.js.map +1 -0
  485. package/dist/pipeline/build/pass/composed/jumps.d.ts +29 -0
  486. package/dist/pipeline/build/pass/composed/jumps.d.ts.map +1 -0
  487. package/dist/pipeline/build/pass/composed/jumps.js +91 -0
  488. package/dist/pipeline/build/pass/composed/jumps.js.map +1 -0
  489. package/dist/pipeline/build/pass/composed/placePage.d.ts +60 -0
  490. package/dist/pipeline/build/pass/composed/placePage.d.ts.map +1 -0
  491. package/dist/pipeline/build/pass/composed/placePage.js +368 -0
  492. package/dist/pipeline/build/pass/composed/placePage.js.map +1 -0
  493. package/dist/pipeline/build/pass/composed.d.ts +6 -7
  494. package/dist/pipeline/build/pass/composed.d.ts.map +1 -1
  495. package/dist/pipeline/build/pass/composed.js +20 -524
  496. package/dist/pipeline/build/pass/composed.js.map +1 -1
  497. package/dist/pipeline/build/pass/setup/contentSetup.d.ts +89 -0
  498. package/dist/pipeline/build/pass/setup/contentSetup.d.ts.map +1 -0
  499. package/dist/pipeline/build/pass/setup/contentSetup.js +314 -0
  500. package/dist/pipeline/build/pass/setup/contentSetup.js.map +1 -0
  501. package/dist/pipeline/build/pass/setup/pageSetup.d.ts +32 -0
  502. package/dist/pipeline/build/pass/setup/pageSetup.d.ts.map +1 -0
  503. package/dist/pipeline/build/pass/setup/pageSetup.js +147 -0
  504. package/dist/pipeline/build/pass/setup/pageSetup.js.map +1 -0
  505. package/dist/pipeline/build/pass/setup/passFinish.d.ts +95 -0
  506. package/dist/pipeline/build/pass/setup/passFinish.d.ts.map +1 -0
  507. package/dist/pipeline/build/pass/setup/passFinish.js +201 -0
  508. package/dist/pipeline/build/pass/setup/passFinish.js.map +1 -0
  509. package/dist/pipeline/build/pass/setupState.d.ts +8 -0
  510. package/dist/pipeline/build/pass/setupState.d.ts.map +1 -0
  511. package/dist/pipeline/build/pass/setupState.js +2 -0
  512. package/dist/pipeline/build/pass/setupState.js.map +1 -0
  513. package/dist/pipeline/build/pass.d.ts.map +1 -1
  514. package/dist/pipeline/build/pass.js +60 -654
  515. package/dist/pipeline/build/pass.js.map +1 -1
  516. package/dist/pipeline/callouts/calloutLayout/boxDecoration.d.ts +49 -0
  517. package/dist/pipeline/callouts/calloutLayout/boxDecoration.d.ts.map +1 -0
  518. package/dist/pipeline/callouts/calloutLayout/boxDecoration.js +110 -0
  519. package/dist/pipeline/callouts/calloutLayout/boxDecoration.js.map +1 -0
  520. package/dist/pipeline/callouts/calloutLayout/labelTab.d.ts +31 -0
  521. package/dist/pipeline/callouts/calloutLayout/labelTab.d.ts.map +1 -0
  522. package/dist/pipeline/callouts/calloutLayout/labelTab.js +202 -0
  523. package/dist/pipeline/callouts/calloutLayout/labelTab.js.map +1 -0
  524. package/dist/pipeline/callouts/calloutLayout/layoutCallout.d.ts.map +1 -1
  525. package/dist/pipeline/callouts/calloutLayout/layoutCallout.js +23 -355
  526. package/dist/pipeline/callouts/calloutLayout/layoutCallout.js.map +1 -1
  527. package/dist/pipeline/callouts/calloutLayout/layoutCalloutState.d.ts +14 -0
  528. package/dist/pipeline/callouts/calloutLayout/layoutCalloutState.d.ts.map +1 -0
  529. package/dist/pipeline/callouts/calloutLayout/layoutCalloutState.js +2 -0
  530. package/dist/pipeline/callouts/calloutLayout/layoutCalloutState.js.map +1 -0
  531. package/dist/pipeline/callouts/calloutLayout/markerColumn.d.ts +31 -0
  532. package/dist/pipeline/callouts/calloutLayout/markerColumn.d.ts.map +1 -0
  533. package/dist/pipeline/callouts/calloutLayout/markerColumn.js +75 -0
  534. package/dist/pipeline/callouts/calloutLayout/markerColumn.js.map +1 -0
  535. package/dist/pipeline/composedPages/composedLayout/composePage/run/fill.d.ts +68 -0
  536. package/dist/pipeline/composedPages/composedLayout/composePage/run/fill.d.ts.map +1 -0
  537. package/dist/pipeline/composedPages/composedLayout/composePage/run/fill.js +249 -0
  538. package/dist/pipeline/composedPages/composedLayout/composePage/run/fill.js.map +1 -0
  539. package/dist/pipeline/composedPages/composedLayout/composePage/run/measure.d.ts +50 -0
  540. package/dist/pipeline/composedPages/composedLayout/composePage/run/measure.d.ts.map +1 -0
  541. package/dist/pipeline/composedPages/composedLayout/composePage/run/measure.js +195 -0
  542. package/dist/pipeline/composedPages/composedLayout/composePage/run/measure.js.map +1 -0
  543. package/dist/pipeline/composedPages/composedLayout/composePage/run/placeGrid.d.ts +30 -0
  544. package/dist/pipeline/composedPages/composedLayout/composePage/run/placeGrid.d.ts.map +1 -0
  545. package/dist/pipeline/composedPages/composedLayout/composePage/run/placeGrid.js +174 -0
  546. package/dist/pipeline/composedPages/composedLayout/composePage/run/placeGrid.js.map +1 -0
  547. package/dist/pipeline/composedPages/composedLayout/composePage/run/placeGroup.d.ts +35 -0
  548. package/dist/pipeline/composedPages/composedLayout/composePage/run/placeGroup.d.ts.map +1 -0
  549. package/dist/pipeline/composedPages/composedLayout/composePage/run/placeGroup.js +158 -0
  550. package/dist/pipeline/composedPages/composedLayout/composePage/run/placeGroup.js.map +1 -0
  551. package/dist/pipeline/composedPages/composedLayout/composePage/run/placeModules.d.ts +37 -0
  552. package/dist/pipeline/composedPages/composedLayout/composePage/run/placeModules.d.ts.map +1 -0
  553. package/dist/pipeline/composedPages/composedLayout/composePage/run/placeModules.js +303 -0
  554. package/dist/pipeline/composedPages/composedLayout/composePage/run/placeModules.js.map +1 -0
  555. package/dist/pipeline/composedPages/composedLayout/composePage/run/state.d.ts +11 -0
  556. package/dist/pipeline/composedPages/composedLayout/composePage/run/state.d.ts.map +1 -0
  557. package/dist/pipeline/composedPages/composedLayout/composePage/run/state.js +3 -0
  558. package/dist/pipeline/composedPages/composedLayout/composePage/run/state.js.map +1 -0
  559. package/dist/pipeline/composedPages/composedLayout/composePage/run/types.d.ts +14 -0
  560. package/dist/pipeline/composedPages/composedLayout/composePage/run/types.d.ts.map +1 -0
  561. package/dist/pipeline/composedPages/composedLayout/composePage/run/types.js +2 -0
  562. package/dist/pipeline/composedPages/composedLayout/composePage/run/types.js.map +1 -0
  563. package/dist/pipeline/composedPages/composedLayout/composePage/run.d.ts +59 -0
  564. package/dist/pipeline/composedPages/composedLayout/composePage/run.d.ts.map +1 -0
  565. package/dist/pipeline/composedPages/composedLayout/composePage/run.js +171 -0
  566. package/dist/pipeline/composedPages/composedLayout/composePage/run.js.map +1 -0
  567. package/dist/pipeline/composedPages/composedLayout/composePage/state.d.ts +7 -0
  568. package/dist/pipeline/composedPages/composedLayout/composePage/state.d.ts.map +1 -0
  569. package/dist/pipeline/composedPages/composedLayout/composePage/state.js +2 -0
  570. package/dist/pipeline/composedPages/composedLayout/composePage/state.js.map +1 -0
  571. package/dist/pipeline/composedPages/composedLayout/composePage.d.ts.map +1 -1
  572. package/dist/pipeline/composedPages/composedLayout/composePage.js +24 -1165
  573. package/dist/pipeline/composedPages/composedLayout/composePage.js.map +1 -1
  574. package/dist/pipeline/contents/indexDirective/blocks.d.ts +9 -0
  575. package/dist/pipeline/contents/indexDirective/blocks.d.ts.map +1 -0
  576. package/dist/pipeline/contents/indexDirective/blocks.js +256 -0
  577. package/dist/pipeline/contents/indexDirective/blocks.js.map +1 -0
  578. package/dist/pipeline/contents/indexDirective/tree.d.ts +71 -0
  579. package/dist/pipeline/contents/indexDirective/tree.d.ts.map +1 -0
  580. package/dist/pipeline/contents/indexDirective/tree.js +224 -0
  581. package/dist/pipeline/contents/indexDirective/tree.js.map +1 -0
  582. package/dist/pipeline/contents/indexDirective.d.ts +2 -8
  583. package/dist/pipeline/contents/indexDirective.d.ts.map +1 -1
  584. package/dist/pipeline/contents/indexDirective.js +3 -472
  585. package/dist/pipeline/contents/indexDirective.js.map +1 -1
  586. package/dist/pipeline/pages/placeholders/chapterValues.d.ts +117 -0
  587. package/dist/pipeline/pages/placeholders/chapterValues.d.ts.map +1 -0
  588. package/dist/pipeline/pages/placeholders/chapterValues.js +236 -0
  589. package/dist/pipeline/pages/placeholders/chapterValues.js.map +1 -0
  590. package/dist/pipeline/pages/placeholders/lineText.d.ts +66 -0
  591. package/dist/pipeline/pages/placeholders/lineText.d.ts.map +1 -0
  592. package/dist/pipeline/pages/placeholders/lineText.js +173 -0
  593. package/dist/pipeline/pages/placeholders/lineText.js.map +1 -0
  594. package/dist/pipeline/pages/placeholders.d.ts +6 -179
  595. package/dist/pipeline/pages/placeholders.d.ts.map +1 -1
  596. package/dist/pipeline/pages/placeholders.js +4 -398
  597. package/dist/pipeline/pages/placeholders.js.map +1 -1
  598. package/dist/pipeline/references/citations/markers.d.ts +14 -0
  599. package/dist/pipeline/references/citations/markers.d.ts.map +1 -0
  600. package/dist/pipeline/references/citations/markers.js +106 -0
  601. package/dist/pipeline/references/citations/markers.js.map +1 -0
  602. package/dist/pipeline/references/citations/process.d.ts +56 -0
  603. package/dist/pipeline/references/citations/process.d.ts.map +1 -0
  604. package/dist/pipeline/references/citations/process.js +213 -0
  605. package/dist/pipeline/references/citations/process.js.map +1 -0
  606. package/dist/pipeline/references/citations/spans.d.ts +33 -0
  607. package/dist/pipeline/references/citations/spans.d.ts.map +1 -0
  608. package/dist/pipeline/references/citations/spans.js +127 -0
  609. package/dist/pipeline/references/citations/spans.js.map +1 -0
  610. package/dist/pipeline/references/citations.d.ts +4 -51
  611. package/dist/pipeline/references/citations.d.ts.map +1 -1
  612. package/dist/pipeline/references/citations.js +5 -438
  613. package/dist/pipeline/references/citations.js.map +1 -1
  614. package/dist/pipeline/resources/resourceLayout/resourceBlock/captionNotes.d.ts +63 -0
  615. package/dist/pipeline/resources/resourceLayout/resourceBlock/captionNotes.d.ts.map +1 -0
  616. package/dist/pipeline/resources/resourceLayout/resourceBlock/captionNotes.js +88 -0
  617. package/dist/pipeline/resources/resourceLayout/resourceBlock/captionNotes.js.map +1 -0
  618. package/dist/pipeline/resources/resourceLayout/resourceBlock/state.d.ts +9 -0
  619. package/dist/pipeline/resources/resourceLayout/resourceBlock/state.d.ts.map +1 -0
  620. package/dist/pipeline/resources/resourceLayout/resourceBlock/state.js +2 -0
  621. package/dist/pipeline/resources/resourceLayout/resourceBlock/state.js.map +1 -0
  622. package/dist/pipeline/resources/resourceLayout/resourceBlock/upright.d.ts +26 -0
  623. package/dist/pipeline/resources/resourceLayout/resourceBlock/upright.d.ts.map +1 -0
  624. package/dist/pipeline/resources/resourceLayout/resourceBlock/upright.js +90 -0
  625. package/dist/pipeline/resources/resourceLayout/resourceBlock/upright.js.map +1 -0
  626. package/dist/pipeline/resources/resourceLayout/resourceBlock.d.ts +1 -3
  627. package/dist/pipeline/resources/resourceLayout/resourceBlock.d.ts.map +1 -1
  628. package/dist/pipeline/resources/resourceLayout/resourceBlock.js +13 -159
  629. package/dist/pipeline/resources/resourceLayout/resourceBlock.js.map +1 -1
  630. package/dist/pipeline/sections/partPalette/colorKinds.d.ts +53 -0
  631. package/dist/pipeline/sections/partPalette/colorKinds.d.ts.map +1 -0
  632. package/dist/pipeline/sections/partPalette/colorKinds.js +181 -0
  633. package/dist/pipeline/sections/partPalette/colorKinds.js.map +1 -0
  634. package/dist/pipeline/sections/partPalette/flowColors.d.ts +16 -0
  635. package/dist/pipeline/sections/partPalette/flowColors.d.ts.map +1 -0
  636. package/dist/pipeline/sections/partPalette/flowColors.js +78 -0
  637. package/dist/pipeline/sections/partPalette/flowColors.js.map +1 -0
  638. package/dist/pipeline/sections/partPalette/recolor.d.ts +18 -0
  639. package/dist/pipeline/sections/partPalette/recolor.d.ts.map +1 -0
  640. package/dist/pipeline/sections/partPalette/recolor.js +188 -0
  641. package/dist/pipeline/sections/partPalette/recolor.js.map +1 -0
  642. package/dist/pipeline/sections/partPalette.d.ts +4 -49
  643. package/dist/pipeline/sections/partPalette.d.ts.map +1 -1
  644. package/dist/pipeline/sections/partPalette.js +3 -442
  645. package/dist/pipeline/sections/partPalette.js.map +1 -1
  646. package/dist/pipeline/text/lists/orderedRuns.d.ts +49 -0
  647. package/dist/pipeline/text/lists/orderedRuns.d.ts.map +1 -0
  648. package/dist/pipeline/text/lists/orderedRuns.js +256 -0
  649. package/dist/pipeline/text/lists/orderedRuns.js.map +1 -0
  650. package/dist/pipeline/text/lists.d.ts +16 -46
  651. package/dist/pipeline/text/lists.d.ts.map +1 -1
  652. package/dist/pipeline/text/lists.js +5 -255
  653. package/dist/pipeline/text/lists.js.map +1 -1
  654. package/dist/svg/fonts/inline.d.ts +30 -0
  655. package/dist/svg/fonts/inline.d.ts.map +1 -0
  656. package/dist/svg/fonts/inline.js +298 -0
  657. package/dist/svg/fonts/inline.js.map +1 -0
  658. package/dist/svg/fonts/scan.d.ts +27 -0
  659. package/dist/svg/fonts/scan.d.ts.map +1 -0
  660. package/dist/svg/fonts/scan.js +353 -0
  661. package/dist/svg/fonts/scan.js.map +1 -0
  662. package/dist/svg/fonts/types.d.ts +106 -0
  663. package/dist/svg/fonts/types.d.ts.map +1 -0
  664. package/dist/svg/fonts/types.js +4 -0
  665. package/dist/svg/fonts/types.js.map +1 -0
  666. package/dist/svg/fonts.d.ts +4 -150
  667. package/dist/svg/fonts.d.ts.map +1 -1
  668. package/dist/svg/fonts.js +3 -647
  669. package/dist/svg/fonts.js.map +1 -1
  670. package/dist/types/text/bodyText/config.d.ts +465 -0
  671. package/dist/types/text/bodyText/config.d.ts.map +1 -0
  672. package/dist/types/text/bodyText/config.js +2 -0
  673. package/dist/types/text/bodyText/config.js.map +1 -0
  674. package/dist/types/text/bodyText/options.d.ts +73 -0
  675. package/dist/types/text/bodyText/options.d.ts.map +1 -0
  676. package/dist/types/text/bodyText/options.js +2 -0
  677. package/dist/types/text/bodyText/options.js.map +1 -0
  678. package/dist/types/text/bodyText/resolved.d.ts +95 -0
  679. package/dist/types/text/bodyText/resolved.d.ts.map +1 -0
  680. package/dist/types/text/bodyText/resolved.js +2 -0
  681. package/dist/types/text/bodyText/resolved.js.map +1 -0
  682. package/dist/types/text/bodyText.d.ts +3 -623
  683. package/dist/types/text/bodyText.d.ts.map +1 -1
  684. package/dist/vdt/contentWarnings/comic.d.ts +95 -0
  685. package/dist/vdt/contentWarnings/comic.d.ts.map +1 -0
  686. package/dist/vdt/contentWarnings/comic.js +3 -0
  687. package/dist/vdt/contentWarnings/comic.js.map +1 -0
  688. package/dist/vdt/contentWarnings/composed.d.ts +126 -0
  689. package/dist/vdt/contentWarnings/composed.d.ts.map +1 -0
  690. package/dist/vdt/contentWarnings/composed.js +2 -0
  691. package/dist/vdt/contentWarnings/composed.js.map +1 -0
  692. package/dist/vdt/contentWarnings/layout.d.ts +247 -0
  693. package/dist/vdt/contentWarnings/layout.d.ts.map +1 -0
  694. package/dist/vdt/contentWarnings/layout.js +2 -0
  695. package/dist/vdt/contentWarnings/layout.js.map +1 -0
  696. package/dist/vdt/contentWarnings/markup.d.ts +211 -0
  697. package/dist/vdt/contentWarnings/markup.d.ts.map +1 -0
  698. package/dist/vdt/contentWarnings/markup.js +4 -0
  699. package/dist/vdt/contentWarnings/markup.js.map +1 -0
  700. package/dist/vdt/contentWarnings/source.d.ts +216 -0
  701. package/dist/vdt/contentWarnings/source.d.ts.map +1 -0
  702. package/dist/vdt/contentWarnings/source.js +4 -0
  703. package/dist/vdt/contentWarnings/source.js.map +1 -0
  704. package/dist/vdt/contentWarnings/text.d.ts +139 -0
  705. package/dist/vdt/contentWarnings/text.d.ts.map +1 -0
  706. package/dist/vdt/contentWarnings/text.js +4 -0
  707. package/dist/vdt/contentWarnings/text.js.map +1 -0
  708. package/dist/vdt/contentWarnings.d.ts +7 -1017
  709. package/dist/vdt/contentWarnings.d.ts.map +1 -1
  710. package/dist/vdt/pages/comic.d.ts +200 -0
  711. package/dist/vdt/pages/comic.d.ts.map +1 -0
  712. package/dist/vdt/pages/comic.js +2 -0
  713. package/dist/vdt/pages/comic.js.map +1 -0
  714. package/dist/vdt/pages/composed.d.ts +282 -0
  715. package/dist/vdt/pages/composed.d.ts.map +1 -0
  716. package/dist/vdt/pages/composed.js +2 -0
  717. package/dist/vdt/pages/composed.js.map +1 -0
  718. package/dist/vdt/pages.d.ts +6 -476
  719. package/dist/vdt/pages.d.ts.map +1 -1
  720. package/dist/word/docxRead/body.d.ts +17 -0
  721. package/dist/word/docxRead/body.d.ts.map +1 -0
  722. package/dist/word/docxRead/body.js +372 -0
  723. package/dist/word/docxRead/body.js.map +1 -0
  724. package/dist/word/docxRead/parts.d.ts +27 -0
  725. package/dist/word/docxRead/parts.d.ts.map +1 -0
  726. package/dist/word/docxRead/parts.js +160 -0
  727. package/dist/word/docxRead/parts.js.map +1 -0
  728. package/dist/word/docxRead.d.ts +1 -5
  729. package/dist/word/docxRead.d.ts.map +1 -1
  730. package/dist/word/docxRead.js +5 -526
  731. package/dist/word/docxRead.js.map +1 -1
  732. package/dist/word/inline/parse.d.ts +16 -0
  733. package/dist/word/inline/parse.d.ts.map +1 -0
  734. package/dist/word/inline/parse.js +367 -0
  735. package/dist/word/inline/parse.js.map +1 -0
  736. package/dist/word/inline/render.d.ts +44 -0
  737. package/dist/word/inline/render.d.ts.map +1 -0
  738. package/dist/word/inline/render.js +296 -0
  739. package/dist/word/inline/render.js.map +1 -0
  740. package/dist/word/inline.d.ts +4 -52
  741. package/dist/word/inline.d.ts.map +1 -1
  742. package/dist/word/inline.js +2 -657
  743. package/dist/word/inline.js.map +1 -1
  744. package/dist/word/toDocx/parse.d.ts +46 -0
  745. package/dist/word/toDocx/parse.d.ts.map +1 -0
  746. package/dist/word/toDocx/parse.js +313 -0
  747. package/dist/word/toDocx/parse.js.map +1 -0
  748. package/dist/word/toDocx/styles.d.ts +63 -0
  749. package/dist/word/toDocx/styles.d.ts.map +1 -0
  750. package/dist/word/toDocx/styles.js +239 -0
  751. package/dist/word/toDocx/styles.js.map +1 -0
  752. package/dist/word/toDocx/wordml.d.ts +24 -0
  753. package/dist/word/toDocx/wordml.d.ts.map +1 -0
  754. package/dist/word/toDocx/wordml.js +114 -0
  755. package/dist/word/toDocx/wordml.js.map +1 -0
  756. package/dist/word/toDocx.d.ts +3 -25
  757. package/dist/word/toDocx.d.ts.map +1 -1
  758. package/dist/word/toDocx.js +8 -661
  759. package/dist/word/toDocx.js.map +1 -1
  760. package/dist/word/toMarkdown/converter.d.ts +57 -0
  761. package/dist/word/toMarkdown/converter.d.ts.map +1 -0
  762. package/dist/word/toMarkdown/converter.js +600 -0
  763. package/dist/word/toMarkdown/converter.js.map +1 -0
  764. package/dist/word/toMarkdown/helpers.d.ts +98 -0
  765. package/dist/word/toMarkdown/helpers.d.ts.map +1 -0
  766. package/dist/word/toMarkdown/helpers.js +153 -0
  767. package/dist/word/toMarkdown/helpers.js.map +1 -0
  768. package/dist/word/toMarkdown.d.ts +4 -64
  769. package/dist/word/toMarkdown.d.ts.map +1 -1
  770. package/dist/word/toMarkdown.js +2 -749
  771. package/dist/word/toMarkdown.js.map +1 -1
  772. package/dist/writing/bidi/chars.d.ts +61 -0
  773. package/dist/writing/bidi/chars.d.ts.map +1 -0
  774. package/dist/writing/bidi/chars.js +145 -0
  775. package/dist/writing/bidi/chars.js.map +1 -0
  776. package/dist/writing/bidi/joining.d.ts +27 -0
  777. package/dist/writing/bidi/joining.d.ts.map +1 -0
  778. package/dist/writing/bidi/joining.js +70 -0
  779. package/dist/writing/bidi/joining.js.map +1 -0
  780. package/dist/writing/bidi/paragraph.d.ts +72 -0
  781. package/dist/writing/bidi/paragraph.d.ts.map +1 -0
  782. package/dist/writing/bidi/paragraph.js +119 -0
  783. package/dist/writing/bidi/paragraph.js.map +1 -0
  784. package/dist/writing/bidi/resolve.d.ts +14 -0
  785. package/dist/writing/bidi/resolve.d.ts.map +1 -0
  786. package/dist/writing/bidi/resolve.js +413 -0
  787. package/dist/writing/bidi/resolve.js.map +1 -0
  788. package/dist/writing/bidi.d.ts +8 -147
  789. package/dist/writing/bidi.d.ts.map +1 -1
  790. package/dist/writing/bidi.js +6 -733
  791. package/dist/writing/bidi.js.map +1 -1
  792. package/package.json +1 -1
@@ -1,624 +1,4 @@
1
- import type { FigureStyle, HyphenationConfig, KashidaPatterns, KashidaSetting, ResolvedHyphenationConfig, TextAlign, TextAlignKeyword } from './locale.js';
2
- import type { ColorValue, Dimension } from '../page.js';
3
- import type { TabStop } from './paragraphStyles.js';
4
- import type { ResolvedVerseConfig, VerseConfig } from './verse.js';
5
- export interface BodyTextConfig {
6
- /** One family, as every `fontFamily` field: a CSS font stack is set in
7
- * its first family (see `primaryFontFamily`) and reported by
8
- * `collectConfigWarnings`. */
9
- fontFamily?: string;
10
- /** The figures of the running text (see {@link FigureStyle}): `'oldstyle'`
11
- * for a book's prose. The styles that take the body's family take them
12
- * too. Default: the font's own. */
13
- figureStyle?: FigureStyle;
14
- fontSize?: Dimension;
15
- lineHeight?: Dimension;
16
- /** The space between two paragraphs (#1115). `true` adds one
17
- * baseline-grid line (the body's line height), `false` (default) none,
18
- * and a length (`2mm`, `0.33em` of the font size, `4pt`) exactly that
19
- * much, in the main flow, in boxes and in composed frames. A length that
20
- * is not a whole number of lines takes the paragraphs off the baseline
21
- * grid, as `paragraphStyles[].spaceBetween` does in a `:::paragraphs`
22
- * container (the same slot of the paragraph's style): the next block
23
- * that snaps (a heading, the last item of a list, display maths, the
24
- * last paragraph of a container) brings the flow back onto the grid.
25
- * Inside a `:::paragraphs` container the style's `spaceBetween` sets
26
- * the space instead. */
27
- paragraphSpacing?: boolean | Dimension;
28
- color?: ColorValue;
29
- boldColor?: ColorValue;
30
- italicColor?: ColorValue;
31
- /** Colour of inline `:ref` reference labels (e.g. "Fig. 1.7"). Defaults to
32
- * {@link boldColor} (the emphasis colour). */
33
- referenceColor?: ColorValue;
34
- /** Whether reference labels are rendered in the bold font. Default `true`. */
35
- referenceBold?: boolean;
36
- /** Whether reference labels are rendered italic. Default `false`. */
37
- referenceItalic?: boolean;
38
- textAlign?: TextAlignKeyword;
39
- fontWeight?: number;
40
- boldFontWeight?: number;
41
- hyphenation?: HyphenationConfig;
42
- firstLineIndent?: Dimension;
43
- hangingIndent?: boolean;
44
- /** When `false`, the first paragraph immediately following a heading (or
45
- * a `:::space` line) is rendered without first-line indent. A common typographic convention in
46
- * scientific publications and many book styles ("indent run-in" style).
47
- * Default `true` — every paragraph receives the indent. */
48
- indentAfterHeading?: boolean;
49
- /** Max word-spacing when justifying, as a multiplier of the normal space width.
50
- * Knuth–Plass keeps every line within it that the paragraph allows,
51
- * hyphenating or spreading the slack over neighbouring lines first; a
52
- * line no break sequence can set within it stretches past it at a cost
53
- * that jumps past the bound and grows with the square of the adjustment
54
- * ratio, and one past 3× the normal
55
- * space is set ragged. `maxJustifyTracking` lets such a line take a
56
- * little tracking instead. Default 2. */
57
- maxWordSpacing?: number;
58
- /** Min word-spacing when justifying, as a multiplier of the normal space width. */
59
- minWordSpacing?: number;
60
- /** Most tracking a justified line may take, in thousandths of an em
61
- * either way (the InDesign unit: 10 = 0.01 em per character), when its
62
- * word spaces alone would set it past `maxWordSpacing` or
63
- * `minWordSpacing`: the part of the adjustment beyond the limit goes into
64
- * the letters, so a loose line's spaces come back to `maxWordSpacing` and
65
- * a tight one fits at `minWordSpacing`. Lines within the limits, a
66
- * paragraph's last line (unless it runs over) and a line of one word
67
- * take none, nor does a line holding a chip. Knuth–Plass weighs it (it
68
- * is taken only where word spacing alone would pass its limits), so it
69
- * needs `optimalLineBreaking`. 0 (the default) turns it off. */
70
- maxJustifyTracking?: number;
71
- /** Kashida justification (#375): a justified line of Arabic-script text
72
- * takes part of its slack by elongating letter joins with tatweels
73
- * (U+0640), the rest in its word spaces. Each word gets at most
74
- * {@link kashidaPerWord} elongations, at the joins the pattern set
75
- * ({@link kashidaPatterns}) ranks best, never after a letter that does
76
- * not join onward (ا د ذ ر ز و ة), never at the end of a word, never
77
- * inside lām-alif; a word that holds a tatweel the author typed is
78
- * lengthened there. Never in Latin text, digits, a heading, a ragged
79
- * line or a paragraph's last line, and never as letter-spacing.
80
- * Knuth–Plass counts each word's elongation as stretch, so lines with
81
- * Arabic words choose their breaks knowing they can stretch there.
82
- * The tatweels are painted as text; copied and extracted text leaves
83
- * them out (see `VDTLineSegment.kashida`).
84
- * `'auto'` elongates; `'none'` justifies with the spaces alone. Unset:
85
- * `'auto'` in a document whose language is written in the Arabic
86
- * script (`ar`, `fa`, `ur`…), `'none'` otherwise. */
87
- kashida?: KashidaSetting;
88
- /** Which joins take a kashida, and in what order (#375): `'naskh'`, the
89
- * classical Naskh rules (Benatia's matrix with Afifi's prohibitions, as
90
- * in raqim-kashida), for Amiri, Noto Naskh, Scheherazade and their
91
- * kind; `'simple'`, the Microsoft priorities, for simple modern faces;
92
- * `'nastaliq'`, the Naskh rules tailored for Nastaʿlīq. `'auto'` (the
93
- * default) reads the body font's family: no kashida at all in a Ruqʿa
94
- * or Dīwānī face (`Aref Ruqaa`), whose letters do not elongate,
95
- * `'nastaliq'` in a Nastaʿlīq one, else `'naskh'`. */
96
- kashidaPatterns?: KashidaPatterns;
97
- /** Most elongations in one word (#375). Default 1, the rule of book
98
- * typography; a classical verse line (`:::verse`) may take more. */
99
- kashidaPerWord?: number;
100
- /** Longest elongation at one join, in ems (#375): the tatweels inserted
101
- * there are whole ones, as many as fit in this. Default 0.6 (three
102
- * tatweels of Amiri, two of Noto Naskh Arabic). */
103
- kashidaMaxLength?: number;
104
- /** Use Knuth-Plass optimal line breaking instead of greedy first-fit. Default true. */
105
- optimalLineBreaking?: boolean;
106
- /** Break ragged paragraphs with Knuth–Plass too: body text, blockquotes
107
- * and list items set left, right or centred, and ragged paragraph styles,
108
- * box bodies and the bodies of parts and section styles. Word spaces keep
109
- * their width; the breaker weighs how far each line falls short of the
110
- * measure (3 em short costs what a justified line at `maxWordSpacing`
111
- * does), so the edge comes out more even, and the runt rules
112
- * (`avoidRunts`, `tightenRunts`) and `hyphenateAcrossColumns` work as on
113
- * justified text. A line may end after a hyphen the text carries between
114
- * two letters, as line by line. With `hyphenation.ragged` the zone still
115
- * decides which syllables may end a line; two syllable ends in a row are
116
- * discouraged rather than refused.
117
- * Ragged headings, captions, table cells and the contents are still set
118
- * line by line. Needs `optimalLineBreaking`. Default `true`; `false` sets ragged text
119
- * line by line, as up to postext 1.4 (configurations stored before
120
- * `configVersion` 7 whose text can be ragged read with it, see
121
- * `pinLegacyRaggedBreaking` in `postext/bundle`). */
122
- optimalRagged?: boolean;
123
- /** Let a line end after an em or en dash set closed between words
124
- * ("say—that’s", "riddles.—I", "Hamburg–Berlin"), in Knuth–Plass as well
125
- * as line by line. Never after a dash that opens an aside or a line of
126
- * dialogue ("—dijo", `said "—Hola`: a space, or a space and a quotation
127
- * mark, before the dash; a quote that closes a word still lets the line
128
- * end, "\"no\"—and", German "„nein“—und", French "« non »—et"), before
129
- * punctuation ("él—,"), before a quotation
130
- * mark or a bracket ("thinking—\" and", "says—“no”"), inside a run of
131
- * dashes, or inside a range of numbers set with an en dash
132
- * ("1914–1918"). A dash that ends a run before a word in another style
133
- * ("see—*and*") counts too. The line ends on the dash and nothing is
134
- * added. Default
135
- * `true`; `false` keeps postext 1.4's breaks: Knuth–Plass never breaks
136
- * there, and the line-by-line breaker of formatted or hyphenated ragged
137
- * text only between two letters (configurations stored before
138
- * `configVersion` 7 whose text sets such a dash read with it, see
139
- * `pinLegacyDashBreaks`). Applies to the running text, headings, lists,
140
- * blockquotes and boxes; captions, table cells and the contents keep the
141
- * 1.4 breaks, and a plain ragged paragraph set line by line follows
142
- * pretext's own rules either way. */
143
- breakAfterDashes?: boolean;
144
- /** Let a line end after the hyphen of a compound, a hyphen between two
145
- * letters ("well-" | "known", "vencer-" | "se"), in every paragraph
146
- * broken with Knuth–Plass. The line ends on the hyphen and nothing is
147
- * added. Never after a hyphen next to a digit or a sign ("COVID-19",
148
- * "-5 °C"). A justified paragraph without inline formatting breaks there
149
- * only with two letters on each side of the hyphen, so no line ends on
150
- * "e-" of "e-mail". Default `true`. `false` keeps postext 1.4's breaks: a
151
- * justified paragraph with no inline formatting never breaks there,
152
- * while one with a bold or italic word anywhere, a ragged paragraph and
153
- * one set line by line do (configurations stored before `configVersion`
154
- * 8 whose text sets a compound read with it, see
155
- * `pinLegacyHyphenBreaks`). Applies to the running text, headings, lists,
156
- * blockquotes and boxes. */
157
- breakAfterHyphens?: boolean;
158
- /** Let a line of formatted text end after a slash between two words
159
- * ("entrada/" | "salida", "ACC/" | "AHA/" | "AAPA", #1164): each side
160
- * a run of at least three letters or digits, not two digits, so a unit
161
- * ("km/h", "kg/m³", "mg/dL"), a short pair ("and/or"), a fraction or a
162
- * date ("1/2", "10/03/2026") stays whole. The line ends on the slash and
163
- * nothing is added. A word wider than its whole line is divided after a
164
- * slash before a syllable or a letter. Default `true`; `false` keeps
165
- * the breaks of postext 1.51, which broke there only inside a web
166
- * address (configurations stored before `configVersion` 19 read with
167
- * it, see `pinLegacySlashBreaks`). Applies to every text the rich
168
- * breaker sets: paragraphs with inline formatting, captions, table
169
- * cells, notes, bibliographies; a plain paragraph breaks after any
170
- * slash, as the hyphenation dictionary marks it, either way. */
171
- breakAfterSlashes?: boolean;
172
- /** Read a backslash at the end of a source line, and `\\` before a space,
173
- * as a forced line break inside a paragraph, a quotation or a list item
174
- * (CommonMark's hard break, #620): the next words start a new line
175
- * of the same paragraph, and the line before the break is set at its
176
- * natural width, as a paragraph's last line is. A backslash that ends
177
- * the paragraph prints. Two trailing spaces are no break (they are
178
- * invisible, and editors leave them behind). Default `true`. `false`
179
- * keeps postext 1.22's reading: the backslashes print and the lines
180
- * join with a space (configurations stored before `configVersion` 9
181
- * whose text has such a backslash read with it, see
182
- * `pinLegacyHardBreaks`). Titles (`\\` in a heading), captions, notes
183
- * and table cells break at `\\` either way. */
184
- hardLineBreaks?: boolean;
185
- /** Shape a word with no letter (`46.`, `1367)`, `».`: digits,
186
- * punctuation or symbols alone) in the script of the text around it
187
- * (#725). Such a word has no script of its own, and a face may draw its
188
- * marks by script: Amiri sets a Latin full stop, brackets and guillemets
189
- * under Latin and Arabic ones otherwise, of other widths. Left alone,
190
- * each shaper picks a script by its own rule (one version of a browser
191
- * the font's default, the next Latin, the PDF the default), so a
192
- * document broke its lines otherwise from one browser to another and
193
- * its PDF set glyphs of another width in the measured places. With
194
- * this on, a word painted left to right takes the script of the nearest
195
- * letter before it in its isolate, else after it; one painted right to
196
- * left (a bracket or a full stop at a right-to-left level) the script
197
- * of the nearest right-to-left letter; with no letter near, the script
198
- * of the document's language. A piece with no letter of a word that
199
- * has one (`10.1006/` and `.2001` of a DOI that ends a line at its
200
- * joints, what a cut leaves of a word wider than its line) takes the
201
- * script it has inside the word. In a Chinese or Japanese document a
202
- * doubled ellipsis or dash (`……`, `——`) in a word with no letter is
203
- * the document's own mark, set in the forms of Han text whatever
204
- * sentence cites it. The layout measures it in that script
205
- * and says so on its segment (`VDTLineSegment.scriptContext`), and the
206
- * canvas, the HTML, the fixed-layout EPUB and the PDF paint those
207
- * forms at that width. It acts on Latin, Greek, Cyrillic, Arabic and
208
- * Hebrew contexts, and only in a face whose punctuation or digits
209
- * change with the script (asked once a face): every other face is laid
210
- * out and painted as before. It governs the running text, headings,
211
- * lists, captions, notes and table cells, and the leader of dots of a
212
- * contents entry (in the script of the document's language); in such a
213
- * face a right-to-left word is also measured as it is painted, right to
214
- * left, so a bracket or a stop at its edge takes one width in every
215
- * browser. Design text (running heads, openers), list markers, comic
216
- * lettering and paragraphs set by the CJK composer are not touched. Default `true`. `false` shapes such a word alone, as up
217
- * to postext 1.27 (configurations stored before `configVersion` 12
218
- * read with it, see `pinLegacyScriptContext` in `postext/bundle`). */
219
- scriptContext?: boolean;
220
- /** The language the document's text is shaped in (#764): measured,
221
- * painted and embedded. A font answers with other glyphs under a
222
- * language (OpenType `locl`): Noto Serif SC sets its digits otherwise
223
- * in Chinese, a face with a Catalan form draws `l·l` otherwise, one
224
- * with the Turkish rule keeps `fi` apart. `'document'` (the default
225
- * since postext 1.30, #770): the document's own
226
- * ({@link PostextConfig.locale}), and a run's own where it names one
227
- * (`{lang=en}`), on every context the layout measures with (the
228
- * engine's, a layout worker's, the plain-paragraph breaker's), so the
229
- * same document has the same lines on a page in any language and in a
230
- * worker; the canvas paints in it through every `save()`
231
- * (`canvas-backend/contextState.ts`), the HTML viewer and the EPUB
232
- * declare it and the PDF shapes with the OpenType language system of
233
- * the language. Under it the text is measured as it is painted: a
234
- * string has one width whatever was measured before it, a
235
- * right-to-left word is measured right to left, the two parts of a
236
- * word broken at a line end and the runs of a design text are measured
237
- * as the texts that are painted, and the PDF shapes word by word as the
238
- * canvas does and takes each character from the font file the browser
239
- * took it from. `'host'`: as up to postext 1.28, the measuring contexts
240
- * take the language of the page that hosts the layout (none in a
241
- * worker) and the canvas paints in that same language; the HTML viewer
242
- * declares the language of a Chinese, Japanese, Korean or right-to-left
243
- * document; the widths and the PDF are the ones such a document had.
244
- * Under `'host'` the part of a broken word that opens the next line is
245
- * measured as the whole word less its first part, so a face whose form
246
- * for the language needs the letters on both sides of the break (the
247
- * Catalan `l·l` of Crimson Pro, a wide dot set only between two `l`)
248
- * leaves a gap after it on a page in that language. `'host'` was the
249
- * default of postext 1.29.1 and 1.29.2; `'document'` was the default of
250
- * 1.29.0 alone, whose canvas and PDF did not follow the measure (#764).
251
- * A configuration stored before `configVersion` 14 that does not name
252
- * the setting reads with `'host'` written out
253
- * (`pinLegacyShapingLanguage` in `postext/bundle`), so a stored
254
- * document keeps its lines. A browser whose canvas has no `lang`
255
- * (Chrome before 136, Firefox and Safari where it is missing) is given
256
- * no language and keeps the forms it always measured. */
257
- shapingLanguage?: 'document' | 'host';
258
- /** Tab stops of every paragraph, list item and quotation (#622): where a
259
- * tab (`:tab`, or a tab character in the text) sends the words after
260
- * it. A paragraph style or a callout body that sets its own replaces
261
- * them. Unset: none; a tab character is then a word space, as before. */
262
- tabStops?: TabStop[];
263
- /** Default stops every `tabInterval` past the last of {@link tabStops}
264
- * (#622), from the start of the measure. Unset: a tab past the last stop
265
- * is a word space. */
266
- tabInterval?: Dimension;
267
- /** Start the line after a break at a compound's hyphen with a hyphen too:
268
- * "vencer-" | "-se", as Portuguese spelling and the Spanish Academy's
269
- * 2010 rules ask ("léxico-" | "-semántico"), so the reader knows the
270
- * hyphen is part of the word. The repeated hyphen is measured with its
271
- * line and painted, and left out of the line's source range (see
272
- * `VDTLine.repeatedHyphen`); the PDF paints it under an `/ActualText`
273
- * that leaves it out, so extracted text reads the word once. A web
274
- * address never gets one. Default
275
- * `false`. Applies to the running text, headings, lists, blockquotes and
276
- * boxes; with it on, a paragraph without formatting that holds a
277
- * compound is broken the way a formatted one is. */
278
- repeatHyphen?: boolean;
279
- /** How Markdown blockquotes (`> …`) are set. Unset fields keep the look
280
- * postext 1.4 gave them: grey (`#666666`), italic, the body's first-line
281
- * indent and no side indent. */
282
- blockquote?: BlockquoteConfig;
283
- /** How `:::verse` poems in the line layout are set (#620): each fence
284
- * attribute of the same name overrides the setting for its poem. */
285
- verse?: VerseConfig;
286
- /** When true, discourage a paragraph from ending with fewer than `orphanMinLines`
287
- * lines at the top of the next column. Soft (penalty-based). Default true;
288
- * false on a character grid (`cjk.grid`) in the Japan region, where a
289
- * page holds the lines its grid counts (#717, `avoidOrphansByDefault`). */
290
- avoidOrphans?: boolean;
291
- /** Minimum lines required at the top of the next column when a paragraph is split.
292
- * Only effective when `avoidOrphans` is true. Default 2. */
293
- orphanMinLines?: number;
294
- /** Demerit added when an orphan constraint is violated. Higher = stronger
295
- * avoidance. 0 effectively disables the penalty. Default 1000 — chosen so
296
- * orphan avoidance normally wins over slack (slackWeight·slack²) unless
297
- * pushing the paragraph would leave ≳10 lines of whitespace. */
298
- orphanPenalty?: number;
299
- /** When true, list items also receive orphan protection (not just paragraphs).
300
- * Only effective when `avoidOrphans` is true. Default true. */
301
- avoidOrphansInLists?: boolean;
302
- /** When true, discourage a paragraph from starting with fewer than `widowMinLines`
303
- * lines at the bottom of the current column. Soft (penalty-based). Default true;
304
- * false on a character grid (`cjk.grid`, #717, `avoidWidowsByDefault`). */
305
- avoidWidows?: boolean;
306
- /** Minimum lines required at the bottom of the current column when a paragraph is
307
- * split. Only effective when `avoidWidows` is true. Default 2. */
308
- widowMinLines?: number;
309
- /** Demerit added when a widow constraint is violated. Default 1000 (same
310
- * scale as `orphanPenalty`). */
311
- widowPenalty?: number;
312
- /** When true, list items also receive widow protection (not just paragraphs).
313
- * Only effective when `avoidWidows` is true. Default true. */
314
- avoidWidowsInLists?: boolean;
315
- /** A short list cut between two columns or pages (#749): one of up to
316
- * `shortListMaxItems` items, in the running text. `avoidOrphansInLists`
317
- * and `avoidWidowsInLists` keep the lines of one item together; this
318
- * rule keeps the items of one list together. `'allow'` (the default)
319
- * cuts such a list wherever the column ends, as any other. `'warn'`
320
- * lays it out the same and reports each list cut (a `shortListSplit`
321
- * content warning). `'avoid'` sets the list whole: when it does not fit
322
- * under what the column holds it opens the next column, the headings
323
- * right above it and the colon line that introduces it
324
- * (`keepColonWithList`) going with it. A float offered the foot of the
325
- * column the list stands whole in takes its next slot instead, and the
326
- * colon line counts the room a figure it cites will take there. A list
327
- * taller than an empty column is cut as any other, and reported. Lists inside a `:::callout`
328
- * follow the box's own cut rules, and the entries of `:::toc` and
329
- * `:::index` are not lists. */
330
- shortListSplit?: CompositionRule;
331
- /** The most items a list has to count as short for `shortListSplit`,
332
- * the items of its nested lists included. Default 3. */
333
- shortListMaxItems?: number;
334
- /** Weight applied to the squared "unused column space" cost. Higher values make
335
- * the layout prefer filling columns tightly; 0 disables the slack pressure.
336
- * Default 10. */
337
- slackWeight?: number;
338
- /** When true, discourage paragraphs from ending with a very short last line
339
- * (a "runt" — e.g. a single short word alone). Soft (Knuth-Plass penalty),
340
- * so ragged text takes it only when `optimalRagged` breaks it with
341
- * Knuth–Plass. A Chinese, Japanese or Korean paragraph does not end on a
342
- * line holding one character, alone or with its closing marks (孤字): the
343
- * line above gives it its last character when that line can still be
344
- * justified within the tracking cap; a line set left, right or centred
345
- * gives it up too and stands one character short. On manuscript paper
346
- * (`cjk.grid.fullLines`, #718) only a justified line gives it up: the
347
- * others keep every cell and the paragraph may end on one character.
348
- * Default true. */
349
- avoidRunts?: boolean;
350
- /** Approximate minimum character count for the last line of a paragraph.
351
- * Interpreted internally as `runtMinCharacters * normalSpaceWidth` pixels, so
352
- * the real test is "is the last line visually shorter than N characters'
353
- * worth of space-width content". Default 20. */
354
- runtMinCharacters?: number;
355
- /** Equivalent-badness added to the last line when it is shorter than the
356
- * runt threshold. Feeds into the Knuth–Plass squared demerit on the same
357
- * scale as line `badness` (which saturates at 10000). Default 1000 —
358
- * dominates alternatives up to roughly r≈2.15 word-spacing stretch. */
359
- runtPenalty?: number;
360
- /** Scale the runt penalty by how short the last line falls: a last line
361
- * of width `w` under the threshold `t` costs `runtPenalty × (1 − w / t)`
362
- * instead of the whole `runtPenalty`, so a two-word ending costs less
363
- * than a one-word one and the breaker takes it when a line above can
364
- * give a word up. Off by default (every runt costs the same). */
365
- gradedRuntPenalty?: boolean;
366
- /** When true, list items also receive the runt penalty (not just paragraphs).
367
- * Only effective when `avoidRunts` is true. Default true. */
368
- avoidRuntsInLists?: boolean;
369
- /** When the penalty above could not keep a paragraph from ending in a
370
- * runt, set the paragraph one line shorter instead — the compositor's
371
- * fix: the spaces of every line tighten (never past `minWordSpacing`)
372
- * and, when that alone does not carry the line, a little negative
373
- * tracking joins in, up to `maxRuntTracking`. A shorter setting is no
374
- * fix, and the runt stays, when it would stretch a justified line past
375
- * `maxWordSpacing` or, when the paragraph already has a looser
376
- * justified line, past that line; or when it would set more lines
377
- * ragged (past 3× the normal space) than the paragraph had. The word
378
- * spaces of ragged text keep their width, so there only the tracking
379
- * takes part. Needs `optimalLineBreaking` and `avoidRunts` (and
380
- * `optimalRagged` for ragged text). Default true. */
381
- tightenRunts?: boolean;
382
- /** Most tracking a runt fix may take, in thousandths of an em (the
383
- * InDesign unit: 10 = 0.01 em per character), applied as a tightening.
384
- * 0 leaves the fix to word spacing alone. Default 10. */
385
- maxRuntTracking?: number;
386
- /** When true, a paragraph ending with a colon that directly introduces a
387
- * list is kept joined to the list: if placing the paragraph would leave no
388
- * room for the first list item in the same column/page, the colon-bearing
389
- * last line is moved to the next column together with the list (or the
390
- * whole paragraph, if it is a single line). How much room counts as
391
- * enough is `colonListRoom`. Default true. */
392
- keepColonWithList?: boolean;
393
- /** The room `keepColonWithList` asks for under the colon line:
394
- * - `'item'` (default): what the orphan and widow rules for lists would
395
- * leave of the first item there, a line when it may split, all of it
396
- * when they keep it whole (a two-line item, say);
397
- * - `'line'`: one line, as up to postext 1.4. A first item those rules
398
- * keep whole then goes on to the next column alone and leaves the
399
- * colon line at the foot. Configurations stored before
400
- * `configVersion` 6 read with it (see `pinLegacyColonListRoom` in
401
- * `postext/bundle`). */
402
- colonListRoom?: ColonListRoom;
403
- /** Let a column or a page end on a hyphenated word (InDesign's "Hyphenate
404
- * Across Column"). Default `true`. `false` re-breaks a paragraph whose
405
- * last line in a column would end on a hyphen, so that line ends on a
406
- * whole word instead — the word spaces of the lines above take the
407
- * difference, within `maxWordSpacing` and `minWordSpacing`; when no
408
- * break inside those limits avoids it, the hyphen stays. It covers the
409
- * first column break of a paragraph and the later ones that fall where
410
- * a full column ends; a later one that falls elsewhere (a widow kept, a
411
- * band cut level) gets a second re-break from its column, which keeps
412
- * the lines already placed at their breaks and breaks only the rest.
413
- * A ragged paragraph set with `optimalRagged` is broken again the same
414
- * way; its word spaces keep their width, so only its line ends move.
415
- * Needs `optimalLineBreaking` (and `optimalRagged` for ragged text).
416
- * Running text only (not box bodies).
417
- *
418
- * `'withinPage'` (#701) guards the lines that close a page and no
419
- * other: a word may be divided between two columns of one page, and the
420
- * last line of a page ends on a whole word wherever the word-spacing
421
- * limits allow it. A column closes its page when the text that leaves it
422
- * goes on to another page (no later column of the page takes text: a
423
- * float-only side column does not, nor does a column the floats have
424
- * filled). It moves fewer lines than
425
- * `false`; in a single-column layout the two give the same lines. */
426
- hyphenateAcrossColumns?: boolean | 'withinPage';
427
- /** The space under a `:::paragraphs` container that closes on a
428
- * paragraph, between that paragraph and the block after it:
429
- * - `'collapse'` (default): the larger of the style's `spaceBetween` and
430
- * `marginBottom` and the paragraph spacing of the text around the
431
- * container (a line with `paragraphSpacing`, in a box its body's),
432
- * merged with the space the next block keeps above itself (a
433
- * heading's `marginTop`, a list's), as between two paragraphs of
434
- * running text. The flow still snaps back to the baseline grid under
435
- * the container, the space being a minimum;
436
- * - `'add'`: as up to postext 1.4, the style's space alone is set under
437
- * the last line before the grid snap, the next block's own space above
438
- * is added under it, and the paragraph spacing is left out.
439
- * Configurations stored before `configVersion` 8 read with it (see
440
- * `pinLegacyParagraphContainerSpacing` in `postext/bundle`).
441
- * A negative `marginBottom` pulls the next block up either way. A
442
- * container that closes on a list is set as in 1.4 under both rules: the
443
- * list keeps its own space in its snap, and `marginBottom` follows. */
444
- paragraphContainerSpacing?: ParagraphContainerSpacing;
445
- /** What the fields a paragraph style leaves unset (face, size, leading,
446
- * weights, colour) inherit inside a box (#1119):
447
- * - `'box'` (default): the box's body, so one style that sets only
448
- * `textAlign` serves a serif box and a sans one alike;
449
- * - `'document'`: the document's body text, as up to postext 1.51.
450
- * Configurations stored before `configVersion` 17 read with it (see
451
- * `pinLegacyBoxParagraphStyles` in `postext/bundle`). */
452
- paragraphStylesInBoxes?: ParagraphStylesInBoxes;
453
- /** How Markdown emphasis (`*…*`) is set (see {@link EmphasisStyle}).
454
- * `'auto'` (the default): `'bold'` in a document whose language is
455
- * written in Arabic script (`ar`, `fa`, `ur`…), whose type has no
456
- * italics, and `'italic'` in any other. Whatever is chosen, the engine
457
- * never slants Arabic letters: an italic run sets its Arabic words
458
- * upright (#376). */
459
- emphasis?: 'auto' | EmphasisStyle;
460
- /** Arabic vowel marks (tashkīl) in the text (see {@link TashkilMode}).
461
- * Default `'keep'`. */
462
- tashkil?: TashkilMode;
463
- }
464
- /** How `*…*` is set (`BodyTextConfig.emphasis`):
465
- * - `'italic'`: in the italic face, as postext always did;
466
- * - `'bold'`: in the bold face and `boldColor`, as `**…**` is (bold
467
- * and italic together stay bold);
468
- * - `'color'`: upright, in `italicColor`;
469
- * - `'overline'`: upright, in `italicColor`, with a rule over the words
470
- * (the Arabic khaṭṭ fawqī).
471
- * It applies to the body text and to what is set in its faces: lists,
472
- * blockquotes, paragraph styles, callout bodies, notes and headings.
473
- * Captions, table cells, the contents and the index keep their own
474
- * italic settings. */
475
- export type EmphasisStyle = 'italic' | 'bold' | 'color' | 'overline';
476
- /** What becomes of the Arabic vowel marks of the text
477
- * (`BodyTextConfig.tashkil`), for an edition without them made from a
478
- * vocalised source:
479
- * - `'keep'`: set as written;
480
- * - `'strip'`: every vowel and Qurʾānic mark is dropped: fatḥa, ḍamma,
481
- * kasra, their tanwīn, sukūn, shadda, the superscript (dagger) alef
482
- * U+0670 (هٰذا is set هذا) and the other marks U+0656–U+065F, and the
483
- * Qurʾānic annotation signs U+06D6–U+06ED;
484
- * - `'strip-vowels'`: as `'strip'`, but the shadda stays, as most modern
485
- * books print it.
486
- * Hamza and madda are kept in both: أ إ آ ؤ ئ are letters, also when
487
- * written with the combining U+0653–U+0655. The marks leave the text the
488
- * layout sets (body, headings, notes, the contents); the source keeps
489
- * them, and every character set still maps to its place in it. */
490
- export type TashkilMode = 'keep' | 'strip' | 'strip-vowels';
491
- /** The room kept for a list under the colon line that introduces it
492
- * (`BodyTextConfig.colonListRoom`). */
493
- export type ColonListRoom = 'item' | 'line';
494
- /** How far a composition rule goes (`BodyTextConfig.shortListSplit`,
495
- * `LayoutConfig.openerFloats`, #749): `'allow'` leaves the rule off (the
496
- * layout is not changed and nothing is reported), `'warn'` leaves the
497
- * layout as it is and reports each case in
498
- * `VDTDocument.contentWarnings`, `'avoid'` applies the rule. */
499
- export type CompositionRule = 'allow' | 'warn' | 'avoid';
500
- /** How the space under a `:::paragraphs` container is worked out
501
- * (`BodyTextConfig.paragraphContainerSpacing`). */
502
- export type ParagraphContainerSpacing = 'collapse' | 'add';
503
- /** What a paragraph style's unset type fields inherit inside a box
504
- * (`BodyTextConfig.paragraphStylesInBoxes`, #1119). */
505
- export type ParagraphStylesInBoxes = 'box' | 'document';
506
- /** The type fields a paragraph style inherits from the body text when it
507
- * leaves them unset (`ResolvedParagraphStyleConfig.inheritsBody`). */
508
- export type ParagraphBodyField = 'fontFamily' | 'fontSize' | 'lineHeight' | 'fontWeight' | 'boldFontWeight' | 'color';
509
- /** How Markdown blockquotes (`> …`) are set (`BodyTextConfig.blockquote`).
510
- * They take the body's family, size, leading, weights, alignment and
511
- * hyphenation. */
512
- export interface BlockquoteConfig {
513
- /** Text colour. Default `#666666`. A colour linked to a palette entry
514
- * (`paletteId`) follows that entry, as everywhere. */
515
- color?: ColorValue;
516
- /** Set the text in italics; a `*…*` run inside turns back to upright.
517
- * Default `true`. */
518
- italic?: boolean;
519
- /** Indent of every line from the left edge of the column or box, the
520
- * first-line indent counted from it. `em` is the body's size. Default
521
- * `0`. */
522
- indent?: Dimension;
523
- /** Indent of the first line of each quoted paragraph, from {@link indent}
524
- * (with the body's `hangingIndent`, of every line but the first). Unset:
525
- * the body's `firstLineIndent`. */
526
- firstLineIndent?: Dimension;
527
- }
528
- export interface ResolvedBlockquoteConfig {
529
- color: ColorValue;
530
- italic: boolean;
531
- indent: Dimension;
532
- /** Unset: the body's `firstLineIndent`. */
533
- firstLineIndent?: Dimension;
534
- }
535
- export interface ResolvedBodyTextConfig {
536
- fontFamily: string;
537
- fontSize: Dimension;
538
- lineHeight: Dimension;
539
- paragraphSpacing: boolean | Dimension;
540
- color: ColorValue;
541
- boldColor?: ColorValue;
542
- italicColor?: ColorValue;
543
- /** Resolved colour for inline `:ref` labels (defaults to the bold colour). */
544
- referenceColor: ColorValue;
545
- /** Whether reference labels use the bold font. */
546
- referenceBold: boolean;
547
- /** Whether reference labels are italic. */
548
- referenceItalic: boolean;
549
- textAlign: TextAlign;
550
- fontWeight: number;
551
- boldFontWeight: number;
552
- hyphenation: ResolvedHyphenationConfig;
553
- firstLineIndent: Dimension;
554
- hangingIndent: boolean;
555
- indentAfterHeading: boolean;
556
- maxWordSpacing: number;
557
- minWordSpacing: number;
558
- maxJustifyTracking: number;
559
- /** Kashida justification (see `BodyTextConfig.kashida`): `'auto'` and
560
- * its three details, all resolved, when it is on; all four absent when
561
- * it is off, so a document that does not use it resolves as it did
562
- * before kashidas existed. Read them with `resolvedKashida`. */
563
- kashida?: 'auto';
564
- kashidaPatterns?: KashidaPatterns;
565
- kashidaPerWord?: number;
566
- kashidaMaxLength?: number;
567
- optimalLineBreaking: boolean;
568
- optimalRagged: boolean;
569
- breakAfterDashes: boolean;
570
- breakAfterHyphens: boolean;
571
- hardLineBreaks: boolean;
572
- /** Present only when switched off (see
573
- * {@link BodyTextConfig.breakAfterSlashes}). */
574
- breakAfterSlashes?: false;
575
- /** Present only when switched off (see
576
- * {@link BodyTextConfig.scriptContext}). */
577
- scriptContext?: false;
578
- /** Present only when the host's (see
579
- * {@link BodyTextConfig.shapingLanguage}). */
580
- shapingLanguage?: 'host';
581
- /** Absent when unset (see {@link BodyTextConfig.tabStops}). */
582
- tabStops?: TabStop[];
583
- /** Absent when unset (see {@link BodyTextConfig.tabInterval}). */
584
- tabInterval?: Dimension;
585
- repeatHyphen: boolean;
586
- blockquote: ResolvedBlockquoteConfig;
587
- verse: ResolvedVerseConfig;
588
- avoidOrphans: boolean;
589
- orphanMinLines: number;
590
- orphanPenalty: number;
591
- avoidOrphansInLists: boolean;
592
- avoidWidows: boolean;
593
- widowMinLines: number;
594
- widowPenalty: number;
595
- avoidWidowsInLists: boolean;
596
- shortListSplit: CompositionRule;
597
- shortListMaxItems: number;
598
- slackWeight: number;
599
- avoidRunts: boolean;
600
- runtMinCharacters: number;
601
- runtPenalty: number;
602
- gradedRuntPenalty: boolean;
603
- avoidRuntsInLists: boolean;
604
- tightenRunts: boolean;
605
- maxRuntTracking: number;
606
- keepColonWithList: boolean;
607
- colonListRoom: ColonListRoom;
608
- hyphenateAcrossColumns: boolean | 'withinPage';
609
- paragraphContainerSpacing: ParagraphContainerSpacing;
610
- paragraphStylesInBoxes: ParagraphStylesInBoxes;
611
- /** `emphasis` resolved; absent when `*…*` is set in italics. */
612
- emphasis?: Exclude<EmphasisStyle, 'italic'>;
613
- /** `tashkil`; absent when the marks are kept. */
614
- tashkil?: Exclude<TashkilMode, 'keep'>;
615
- /** Set only in the derived config a callout lays its children out with
616
- * (a style's `body.italic` / `body.smallCaps`): the running text of a
617
- * document is always upright, in lowercase. */
618
- italic?: boolean;
619
- smallCaps?: boolean;
620
- /** Set only in the derived config of a callout whose `body.letterSpacing`
621
- * is not zero (#974). */
622
- letterSpacing?: Dimension;
623
- }
1
+ export type { BodyTextConfig } from './bodyText/config.js';
2
+ export type { EmphasisStyle, TashkilMode, ColonListRoom, CompositionRule, ParagraphContainerSpacing, ParagraphStylesInBoxes, ParagraphBodyField, BlockquoteConfig, ResolvedBlockquoteConfig } from './bodyText/options.js';
3
+ export type { ResolvedBodyTextConfig } from './bodyText/resolved.js';
624
4
  //# sourceMappingURL=bodyText.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bodyText.d.ts","sourceRoot":"","sources":["../../../src/types/text/bodyText.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,cAAc,EAAE,yBAAyB,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC3J,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEnE,MAAM,WAAW,cAAc;IAC7B;;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