kordoc 4.25.5 → 4.25.6

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 (108) hide show
  1. package/README.md +2 -2
  2. package/dist/{chunk-MSJ5PNU4.js → chunk-24J4EDVI.js} +2 -2
  3. package/dist/{chunk-LQECKSFZ.js → chunk-2RBIZALD.js} +8 -8
  4. package/dist/{chunk-BIYXEAPB.js → chunk-2VNL3FDS.js} +2 -2
  5. package/dist/{chunk-RVUTLW55.js → chunk-3URB7DI4.js} +2 -2
  6. package/dist/{chunk-M3XF63R2.js → chunk-3Y76RPK3.js} +6 -6
  7. package/dist/{chunk-WTYZ3ZF7.js → chunk-6L3VEOCI.js} +5 -5
  8. package/dist/{chunk-GKL5HC5U.js → chunk-6ZUQ6D3B.js} +6 -6
  9. package/dist/{chunk-FBIEJV6U.js → chunk-767ACEVN.js} +10 -4
  10. package/dist/{chunk-FBIEJV6U.js.map → chunk-767ACEVN.js.map} +2 -2
  11. package/dist/{chunk-QHDWV25F.js → chunk-D2WQC6ME.js} +18 -18
  12. package/dist/{chunk-TQ4ZM66H.js → chunk-D6MGUFRQ.js} +10 -10
  13. package/dist/{chunk-JKMM5YUX.js → chunk-DTUCE7H2.js} +2 -2
  14. package/dist/{chunk-6FQA6PD4.js → chunk-EDCNR6QZ.js} +2 -2
  15. package/dist/{chunk-KFRDHQU4.js → chunk-HMTLJJEC.js} +2 -2
  16. package/dist/{chunk-E6YEEM7Y.js → chunk-I7MD3WQR.js} +2 -2
  17. package/dist/{chunk-RXK3FHS5.js → chunk-IKQMEXGU.js} +4 -4
  18. package/dist/{chunk-KQBDAHB6.js → chunk-ILUYLDIW.js} +4 -4
  19. package/dist/{chunk-VL6BCOLO.js → chunk-IOADEIUV.js} +3 -3
  20. package/dist/{chunk-NAP746KZ.js → chunk-O4XRI7EC.js} +6 -6
  21. package/dist/{chunk-HP75SCKB.js → chunk-QQVTLNLV.js} +2 -2
  22. package/dist/{chunk-6HPTFECA.js → chunk-S4NQTGXD.js} +2 -2
  23. package/dist/{chunk-RTA4WJAJ.js → chunk-TH7SIDYM.js} +2 -2
  24. package/dist/{chunk-NY7DTOFT.js → chunk-VDF7ZVNW.js} +2 -2
  25. package/dist/{chunk-DYABE3CS.js → chunk-VHZYGCS4.js} +3 -3
  26. package/dist/{chunk-757KBA3R.js → chunk-VLOQQJ2D.js} +2 -2
  27. package/dist/{chunk-K42C2JMM.js → chunk-XI47ZEQB.js} +2 -2
  28. package/dist/{chunk-ZFL2PG3Z.js → chunk-ZEJCW4XP.js} +2 -2
  29. package/dist/chunks-GPCDFBSF.js +10 -0
  30. package/dist/cli.js +37 -37
  31. package/dist/{formula-PKUDP63D.js → formula-R6LXXMAS.js} +4 -4
  32. package/dist/{generator-IKCVYTYF.js → generator-ERKQ7LUN.js} +7 -7
  33. package/dist/{hancom-7PU6XSBN.js → hancom-VQUG46NV.js} +2 -2
  34. package/dist/{image-ocr-JKHVLMSE.js → image-ocr-MWQ6UDGP.js} +11 -11
  35. package/dist/index.cjs +113 -9
  36. package/dist/index.cjs.map +4 -4
  37. package/dist/index.js +21 -21
  38. package/dist/mcp.js +33 -33
  39. package/dist/memo-7UFH4MNW.js +15 -0
  40. package/dist/{model-bundle-2H5JXIGE.js → model-bundle-3F33HOS2.js} +5 -5
  41. package/dist/{models-LAZ7DT2W.js → models-PD6EQIHL.js} +5 -5
  42. package/dist/{page-images-EQRGLULC.js → page-images-MZECTCSJ.js} +2 -2
  43. package/dist/{parse-worker-v2-YUJFOQGN.js → parse-worker-v2-ZXURNYJZ.js} +23 -23
  44. package/dist/{parser-V4CJLGOF.js → parser-WAJNO5VU.js} +108 -18
  45. package/dist/parser-WAJNO5VU.js.map +7 -0
  46. package/dist/{pdf-ocr-VTZZKVN4.js → pdf-ocr-GTVOOQNV.js} +9 -9
  47. package/dist/{profile-io-Q3KPUBIU.js → profile-io-UQSLXMWG.js} +3 -3
  48. package/dist/{rasterize-FXMAWFFL.js → rasterize-3QDKNJC3.js} +3 -3
  49. package/dist/{redact-doc-MB3MJUGW.js → redact-doc-IBLP55CI.js} +22 -22
  50. package/dist/{render-3Q3CUSNA.js → render-EPOTL6LB.js} +10 -10
  51. package/dist/{rewrite-fallback-G7TPY7GG.js → rewrite-fallback-5GPUDXDK.js} +12 -12
  52. package/dist/seal-7YV46Q77.js +14 -0
  53. package/dist/{setup-AO3MYKJN.js → setup-CTWIURYW.js} +3 -3
  54. package/dist/{to-hwpx-JY5PXKO5.js → to-hwpx-OJNCWBXT.js} +7 -7
  55. package/dist/visual-U7X4QE2V.js +42 -0
  56. package/dist/{watch-ACKPD7EP.js → watch-NXUTGUPA.js} +22 -22
  57. package/package.json +1 -1
  58. package/dist/chunks-NCKJSFGF.js +0 -10
  59. package/dist/memo-XPC6DDIZ.js +0 -15
  60. package/dist/parser-V4CJLGOF.js.map +0 -7
  61. package/dist/seal-TNKVQBKP.js +0 -14
  62. package/dist/visual-HTAI7YR4.js +0 -42
  63. /package/dist/{chunk-MSJ5PNU4.js.map → chunk-24J4EDVI.js.map} +0 -0
  64. /package/dist/{chunk-LQECKSFZ.js.map → chunk-2RBIZALD.js.map} +0 -0
  65. /package/dist/{chunk-BIYXEAPB.js.map → chunk-2VNL3FDS.js.map} +0 -0
  66. /package/dist/{chunk-RVUTLW55.js.map → chunk-3URB7DI4.js.map} +0 -0
  67. /package/dist/{chunk-M3XF63R2.js.map → chunk-3Y76RPK3.js.map} +0 -0
  68. /package/dist/{chunk-WTYZ3ZF7.js.map → chunk-6L3VEOCI.js.map} +0 -0
  69. /package/dist/{chunk-GKL5HC5U.js.map → chunk-6ZUQ6D3B.js.map} +0 -0
  70. /package/dist/{chunk-QHDWV25F.js.map → chunk-D2WQC6ME.js.map} +0 -0
  71. /package/dist/{chunk-TQ4ZM66H.js.map → chunk-D6MGUFRQ.js.map} +0 -0
  72. /package/dist/{chunk-JKMM5YUX.js.map → chunk-DTUCE7H2.js.map} +0 -0
  73. /package/dist/{chunk-6FQA6PD4.js.map → chunk-EDCNR6QZ.js.map} +0 -0
  74. /package/dist/{chunk-KFRDHQU4.js.map → chunk-HMTLJJEC.js.map} +0 -0
  75. /package/dist/{chunk-E6YEEM7Y.js.map → chunk-I7MD3WQR.js.map} +0 -0
  76. /package/dist/{chunk-RXK3FHS5.js.map → chunk-IKQMEXGU.js.map} +0 -0
  77. /package/dist/{chunk-KQBDAHB6.js.map → chunk-ILUYLDIW.js.map} +0 -0
  78. /package/dist/{chunk-VL6BCOLO.js.map → chunk-IOADEIUV.js.map} +0 -0
  79. /package/dist/{chunk-NAP746KZ.js.map → chunk-O4XRI7EC.js.map} +0 -0
  80. /package/dist/{chunk-HP75SCKB.js.map → chunk-QQVTLNLV.js.map} +0 -0
  81. /package/dist/{chunk-6HPTFECA.js.map → chunk-S4NQTGXD.js.map} +0 -0
  82. /package/dist/{chunk-RTA4WJAJ.js.map → chunk-TH7SIDYM.js.map} +0 -0
  83. /package/dist/{chunk-NY7DTOFT.js.map → chunk-VDF7ZVNW.js.map} +0 -0
  84. /package/dist/{chunk-DYABE3CS.js.map → chunk-VHZYGCS4.js.map} +0 -0
  85. /package/dist/{chunk-757KBA3R.js.map → chunk-VLOQQJ2D.js.map} +0 -0
  86. /package/dist/{chunk-K42C2JMM.js.map → chunk-XI47ZEQB.js.map} +0 -0
  87. /package/dist/{chunk-ZFL2PG3Z.js.map → chunk-ZEJCW4XP.js.map} +0 -0
  88. /package/dist/{chunks-NCKJSFGF.js.map → chunks-GPCDFBSF.js.map} +0 -0
  89. /package/dist/{formula-PKUDP63D.js.map → formula-R6LXXMAS.js.map} +0 -0
  90. /package/dist/{generator-IKCVYTYF.js.map → generator-ERKQ7LUN.js.map} +0 -0
  91. /package/dist/{hancom-7PU6XSBN.js.map → hancom-VQUG46NV.js.map} +0 -0
  92. /package/dist/{image-ocr-JKHVLMSE.js.map → image-ocr-MWQ6UDGP.js.map} +0 -0
  93. /package/dist/{memo-XPC6DDIZ.js.map → memo-7UFH4MNW.js.map} +0 -0
  94. /package/dist/{model-bundle-2H5JXIGE.js.map → model-bundle-3F33HOS2.js.map} +0 -0
  95. /package/dist/{models-LAZ7DT2W.js.map → models-PD6EQIHL.js.map} +0 -0
  96. /package/dist/{page-images-EQRGLULC.js.map → page-images-MZECTCSJ.js.map} +0 -0
  97. /package/dist/{parse-worker-v2-YUJFOQGN.js.map → parse-worker-v2-ZXURNYJZ.js.map} +0 -0
  98. /package/dist/{pdf-ocr-VTZZKVN4.js.map → pdf-ocr-GTVOOQNV.js.map} +0 -0
  99. /package/dist/{profile-io-Q3KPUBIU.js.map → profile-io-UQSLXMWG.js.map} +0 -0
  100. /package/dist/{rasterize-FXMAWFFL.js.map → rasterize-3QDKNJC3.js.map} +0 -0
  101. /package/dist/{redact-doc-MB3MJUGW.js.map → redact-doc-IBLP55CI.js.map} +0 -0
  102. /package/dist/{render-3Q3CUSNA.js.map → render-EPOTL6LB.js.map} +0 -0
  103. /package/dist/{rewrite-fallback-G7TPY7GG.js.map → rewrite-fallback-5GPUDXDK.js.map} +0 -0
  104. /package/dist/{seal-TNKVQBKP.js.map → seal-7YV46Q77.js.map} +0 -0
  105. /package/dist/{setup-AO3MYKJN.js.map → setup-CTWIURYW.js.map} +0 -0
  106. /package/dist/{to-hwpx-JY5PXKO5.js.map → to-hwpx-OJNCWBXT.js.map} +0 -0
  107. /package/dist/{visual-HTAI7YR4.js.map → visual-U7X4QE2V.js.map} +0 -0
  108. /package/dist/{watch-ACKPD7EP.js.map → watch-NXUTGUPA.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  extractRenderedRegions,
3
3
  renderDocumentToScene
4
- } from "./chunk-LQECKSFZ.js";
4
+ } from "./chunk-2RBIZALD.js";
5
5
  import {
6
6
  EV,
7
7
  blocksToPages,
@@ -17,7 +17,7 @@ import {
17
17
  restoreUnmappedGlyphs,
18
18
  spaceMappedDots,
19
19
  wmfBitmap
20
- } from "./chunk-JKMM5YUX.js";
20
+ } from "./chunk-DTUCE7H2.js";
21
21
  import {
22
22
  applyCellEdit,
23
23
  buildOrigUnits,
@@ -30,13 +30,13 @@ import {
30
30
  resolveParagraphMappings,
31
31
  resolveSectionEntryNames,
32
32
  stripCellTokens
33
- } from "./chunk-TQ4ZM66H.js";
33
+ } from "./chunk-D6MGUFRQ.js";
34
34
  import {
35
35
  dcxPages,
36
36
  hasLibheif,
37
37
  heicToRgba,
38
38
  pcxToRgba
39
- } from "./chunk-KFRDHQU4.js";
39
+ } from "./chunk-HMTLJJEC.js";
40
40
  import {
41
41
  WEBP_OPTIONS,
42
42
  flushHeifCache,
@@ -69,10 +69,10 @@ import {
69
69
  summarize,
70
70
  topLevelParagraphs,
71
71
  usesV5Engine
72
- } from "./chunk-M3XF63R2.js";
72
+ } from "./chunk-3Y76RPK3.js";
73
73
  import {
74
74
  patchZipEntries
75
- } from "./chunk-6HPTFECA.js";
75
+ } from "./chunk-S4NQTGXD.js";
76
76
  import {
77
77
  ANNOTATION_BLANK_RE,
78
78
  ValueCursor,
@@ -111,7 +111,7 @@ import {
111
111
  rawTextContent,
112
112
  readZipEntry,
113
113
  warnInto
114
- } from "./chunk-HP75SCKB.js";
114
+ } from "./chunk-QQVTLNLV.js";
115
115
  import {
116
116
  comResultToParseResult,
117
117
  extractTextViaCom,
@@ -128,7 +128,7 @@ import {
128
128
  memosMarkdown,
129
129
  parseHwp5Document,
130
130
  resolveImageBlocks
131
- } from "./chunk-WTYZ3ZF7.js";
131
+ } from "./chunk-6L3VEOCI.js";
132
132
  import {
133
133
  MAX_PIXELS,
134
134
  bmpToPng,
@@ -166,7 +166,7 @@ import {
166
166
  stripScriptTags,
167
167
  tidyScriptTags,
168
168
  wrapScript
169
- } from "./chunk-E6YEEM7Y.js";
169
+ } from "./chunk-I7MD3WQR.js";
170
170
  import {
171
171
  MAX_COLS,
172
172
  MAX_ROWS,
@@ -177,7 +177,7 @@ import {
177
177
  flattenLayoutTables,
178
178
  hasStructuredCellContent,
179
179
  sanitizeText
180
- } from "./chunk-MSJ5PNU4.js";
180
+ } from "./chunk-24J4EDVI.js";
181
181
  import {
182
182
  hangulAmount,
183
183
  mapPuaText
@@ -188,7 +188,7 @@ import {
188
188
  import {
189
189
  ensureModelsIn,
190
190
  getModelsDir
191
- } from "./chunk-BIYXEAPB.js";
191
+ } from "./chunk-2VNL3FDS.js";
192
192
  import {
193
193
  BARE_URL,
194
194
  KordocError,
@@ -206,7 +206,7 @@ import {
206
206
  toArrayBuffer,
207
207
  unescapeHtml,
208
208
  unzipLimitBytes
209
- } from "./chunk-RVUTLW55.js";
209
+ } from "./chunk-3URB7DI4.js";
210
210
 
211
211
  // src/table/visual.ts
212
212
  import { readFile as readFile4 } from "node:fs/promises";
@@ -16984,7 +16984,7 @@ var MIN_SIDE = 24;
16984
16984
  async function ocrEmbeddedImages(blocks, options, warnings) {
16985
16985
  const ocr = options?.ocr;
16986
16986
  if (ocr !== true && ocr !== "force" && typeof ocr !== "function") return false;
16987
- const { parseImageDocument } = await import("./image-ocr-JKHVLMSE.js");
16987
+ const { parseImageDocument } = await import("./image-ocr-MWQ6UDGP.js");
16988
16988
  let inserted = false, unreadable = 0;
16989
16989
  let failed = null;
16990
16990
  const walk = async (list, depth) => {
@@ -21342,8 +21342,8 @@ var MAX_MULTIPAGE_PIXELS = 1e9;
21342
21342
  var MIN_PAGE_PIXELS = 1e6;
21343
21343
  async function parseImage(buffer, options) {
21344
21344
  try {
21345
- const { parseImageDocument, imagePageCount, imagePage, imagePagePixels, decodeToRgba } = await import("./image-ocr-JKHVLMSE.js");
21346
- const pageRasters = options?.pageImages ? new (await import("./page-images-EQRGLULC.js")).PageImageSink(options.pageImages) : null;
21345
+ const { parseImageDocument, imagePageCount, imagePage, imagePagePixels, decodeToRgba } = await import("./image-ocr-MWQ6UDGP.js");
21346
+ const pageRasters = options?.pageImages ? new (await import("./page-images-MZECTCSJ.js")).PageImageSink(options.pageImages) : null;
21347
21347
  const pageCount = await imagePageCount(buffer);
21348
21348
  const wanted = pageCount > 1 && options?.pages ? parsePageRange(options.pages, pageCount) : null;
21349
21349
  const blocks = [], warnings = [], lines = [], images = [];
@@ -21450,7 +21450,7 @@ async function parseHwp(buffer, options) {
21450
21450
  async function parsePdf(buffer, options) {
21451
21451
  let parsePdfDocument;
21452
21452
  try {
21453
- const mod = await import("./parser-V4CJLGOF.js");
21453
+ const mod = await import("./parser-WAJNO5VU.js");
21454
21454
  parsePdfDocument = mod.parsePdfDocument;
21455
21455
  } catch (err) {
21456
21456
  return { success: false, fileType: "pdf", error: sanitizeError(err), code: classifyError(err) };
@@ -21527,7 +21527,7 @@ async function fillForm(input, values, outputFormat = "markdown") {
21527
21527
  throw new Error(`hwpx-preserve \uD3EC\uB9F7\uC740 HWPX\xB7HWP 5.x \uC785\uB825\uB9CC \uC9C0\uC6D0\uD569\uB2C8\uB2E4 (\uAC10\uC9C0\uB41C \uD3EC\uB9F7: ${zipFormat})`);
21528
21528
  }
21529
21529
  } else if (format2 === "hwp" && detectOle2Format(buffer) === "hwp") {
21530
- const { hwpToHwpx: hwpToHwpx2 } = await import("./to-hwpx-JY5PXKO5.js");
21530
+ const { hwpToHwpx: hwpToHwpx2 } = await import("./to-hwpx-OJNCWBXT.js");
21531
21531
  const hwpx = await hwpToHwpx2(new Uint8Array(buffer));
21532
21532
  buffer = hwpx.buffer.slice(hwpx.byteOffset, hwpx.byteOffset + hwpx.byteLength);
21533
21533
  } else {
@@ -21683,4 +21683,4 @@ export {
21683
21683
  parseHwpml,
21684
21684
  fillForm
21685
21685
  };
21686
- //# sourceMappingURL=chunk-QHDWV25F.js.map
21686
+ //# sourceMappingURL=chunk-D2WQC6ME.js.map
@@ -53,17 +53,17 @@ import {
53
53
  unescapeGfm,
54
54
  unescapeGfmCell,
55
55
  wordHunks
56
- } from "./chunk-M3XF63R2.js";
56
+ } from "./chunk-3Y76RPK3.js";
57
57
  import {
58
58
  decryptHwpxInPlace,
59
59
  lockedHwpxError,
60
60
  noteFormatFrom,
61
61
  noteRefMark
62
- } from "./chunk-DYABE3CS.js";
62
+ } from "./chunk-VHZYGCS4.js";
63
63
  import {
64
64
  patchZipEntries,
65
65
  readZipEntries
66
- } from "./chunk-6HPTFECA.js";
66
+ } from "./chunk-S4NQTGXD.js";
67
67
  import {
68
68
  allLinesegRemovalSplices,
69
69
  applySplices,
@@ -92,7 +92,7 @@ import {
92
92
  findChildByLocalName,
93
93
  localName,
94
94
  readZipEntry
95
- } from "./chunk-HP75SCKB.js";
95
+ } from "./chunk-QQVTLNLV.js";
96
96
  import {
97
97
  comResultToParseResult,
98
98
  extractTextViaCom,
@@ -107,7 +107,7 @@ import {
107
107
  locateMemoBlocks,
108
108
  parseHwp5Document,
109
109
  unfilledClickHereGuide
110
- } from "./chunk-WTYZ3ZF7.js";
110
+ } from "./chunk-6L3VEOCI.js";
111
111
  import {
112
112
  FLAG_COMPRESSED,
113
113
  FLAG_DISTRIBUTION,
@@ -128,7 +128,7 @@ import {
128
128
  isExtendedOnlyCtrlChar,
129
129
  parseFileHeader,
130
130
  readRecords
131
- } from "./chunk-K42C2JMM.js";
131
+ } from "./chunk-XI47ZEQB.js";
132
132
  import {
133
133
  parsePageRange
134
134
  } from "./chunk-W5CMIZUB.js";
@@ -140,20 +140,20 @@ import {
140
140
  } from "./chunk-G5XEBGZD.js";
141
141
  import {
142
142
  unframeLayoutTables
143
- } from "./chunk-E6YEEM7Y.js";
143
+ } from "./chunk-I7MD3WQR.js";
144
144
  import {
145
145
  blocksToMarkdown,
146
146
  escapeGfm,
147
147
  hasInlineCellBlocks,
148
148
  sanitizeText
149
- } from "./chunk-MSJ5PNU4.js";
149
+ } from "./chunk-24J4EDVI.js";
150
150
  import {
151
151
  KordocError,
152
152
  compareSectionPaths,
153
153
  isPathTraversal,
154
154
  precheckZipSize,
155
155
  stripDtd
156
- } from "./chunk-RVUTLW55.js";
156
+ } from "./chunk-3URB7DI4.js";
157
157
 
158
158
  // src/hwpx/parser.ts
159
159
  import JSZip2 from "jszip";
@@ -4210,4 +4210,4 @@ export {
4210
4210
  removeNoteMarks,
4211
4211
  diffUnitLists
4212
4212
  };
4213
- //# sourceMappingURL=chunk-TQ4ZM66H.js.map
4213
+ //# sourceMappingURL=chunk-D6MGUFRQ.js.map
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-ZVBVGSXC.js";
13
13
  import {
14
14
  blocksToMarkdown
15
- } from "./chunk-MSJ5PNU4.js";
15
+ } from "./chunk-24J4EDVI.js";
16
16
  import {
17
17
  mapPuaText,
18
18
  pairedNumber
@@ -2199,4 +2199,4 @@ export {
2199
2199
  restoreNamedGlyphs,
2200
2200
  restoreUnmappedCidSpaces
2201
2201
  };
2202
- //# sourceMappingURL=chunk-JKMM5YUX.js.map
2202
+ //# sourceMappingURL=chunk-DTUCE7H2.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  KordocError
3
- } from "./chunk-RVUTLW55.js";
3
+ } from "./chunk-3URB7DI4.js";
4
4
 
5
5
  // src/shared/offline.ts
6
6
  import { realpathSync } from "fs";
@@ -48,4 +48,4 @@ export {
48
48
  getAccessRoot,
49
49
  assertWithinRoot
50
50
  };
51
- //# sourceMappingURL=chunk-6FQA6PD4.js.map
51
+ //# sourceMappingURL=chunk-EDCNR6QZ.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-T3CW5OXA.js";
4
4
  import {
5
5
  KordocError
6
- } from "./chunk-RVUTLW55.js";
6
+ } from "./chunk-3URB7DI4.js";
7
7
 
8
8
  // src/image/heic.ts
9
9
  var MAX_HEIC_PIXELS = 16383 * 16383;
@@ -103,4 +103,4 @@ export {
103
103
  dcxPages,
104
104
  pcxToRgba
105
105
  };
106
- //# sourceMappingURL=chunk-KFRDHQU4.js.map
106
+ //# sourceMappingURL=chunk-HMTLJJEC.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  visibleText
3
- } from "./chunk-MSJ5PNU4.js";
3
+ } from "./chunk-24J4EDVI.js";
4
4
 
5
5
  // src/script-tags.ts
6
6
  var LITERAL_TAG = /<(?=\/?(?:u|sup|sub)>)/g;
@@ -335,4 +335,4 @@ export {
335
335
  HEADING_RATIO_H2,
336
336
  HEADING_RATIO_H3
337
337
  };
338
- //# sourceMappingURL=chunk-E6YEEM7Y.js.map
338
+ //# sourceMappingURL=chunk-I7MD3WQR.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  patchZipEntries
3
- } from "./chunk-6HPTFECA.js";
3
+ } from "./chunk-S4NQTGXD.js";
4
4
  import {
5
5
  applySplices,
6
6
  scanSectionXml
@@ -8,11 +8,11 @@ import {
8
8
  import {
9
9
  parseRenderStyles,
10
10
  readZipEntry
11
- } from "./chunk-HP75SCKB.js";
11
+ } from "./chunk-QQVTLNLV.js";
12
12
  import {
13
13
  KordocError,
14
14
  precheckZipSize
15
- } from "./chunk-RVUTLW55.js";
15
+ } from "./chunk-3URB7DI4.js";
16
16
 
17
17
  // src/form/seal.ts
18
18
  import JSZip from "jszip";
@@ -318,4 +318,4 @@ export {
318
318
  collectSites,
319
319
  placeSealHwpx
320
320
  };
321
- //# sourceMappingURL=chunk-RXK3FHS5.js.map
321
+ //# sourceMappingURL=chunk-IKQMEXGU.js.map
@@ -29,7 +29,7 @@ import {
29
29
  stackedGlyphBands,
30
30
  starRun,
31
31
  tallInkCount
32
- } from "./chunk-FBIEJV6U.js";
32
+ } from "./chunk-767ACEVN.js";
33
33
  import {
34
34
  validateOcrOptions
35
35
  } from "./chunk-M3E5NYSN.js";
@@ -45,14 +45,14 @@ import {
45
45
  ocrSourcePath,
46
46
  parseCharacterDict,
47
47
  resolveOcrModels
48
- } from "./chunk-ZFL2PG3Z.js";
48
+ } from "./chunk-ZEJCW4XP.js";
49
49
  import {
50
50
  disableOrtTelemetry
51
51
  } from "./chunk-AY66PEUP.js";
52
52
  import {
53
53
  KordocError,
54
54
  OPTIONAL_DEP_INSTALL_HINT
55
- } from "./chunk-RVUTLW55.js";
55
+ } from "./chunk-3URB7DI4.js";
56
56
 
57
57
  // src/ocr/ocr-stacked-rows.ts
58
58
  var NUMERIC = /^[-+−△▲▽▼]?[\d.,]+[%p원]?$|^[-–—·∼~]원?$|^\([-+−△▲▽▼]?[\d.,]+%?\)$/;
@@ -3637,4 +3637,4 @@ export {
3637
3637
  ocrItemsToBlocks,
3638
3638
  markOcrHeadings
3639
3639
  };
3640
- //# sourceMappingURL=chunk-KQBDAHB6.js.map
3640
+ //# sourceMappingURL=chunk-ILUYLDIW.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  parse
3
- } from "./chunk-QHDWV25F.js";
3
+ } from "./chunk-D2WQC6ME.js";
4
4
  import {
5
5
  classifyError,
6
6
  sanitizeError,
7
7
  toArrayBuffer
8
- } from "./chunk-RVUTLW55.js";
8
+ } from "./chunk-3URB7DI4.js";
9
9
 
10
10
  // src/cli/worker-parse.ts
11
11
  import { readFile, stat } from "fs/promises";
@@ -25,4 +25,4 @@ async function parseWorkerFile(absPath, options) {
25
25
  export {
26
26
  parseWorkerFile
27
27
  };
28
- //# sourceMappingURL=chunk-VL6BCOLO.js.map
28
+ //# sourceMappingURL=chunk-IOADEIUV.js.map
@@ -4,20 +4,20 @@ import {
4
4
  readHwp5DocInfoRecords,
5
5
  readHwp5SectionRecords,
6
6
  readHwp5SectionStreams
7
- } from "./chunk-WTYZ3ZF7.js";
7
+ } from "./chunk-6L3VEOCI.js";
8
8
  import {
9
9
  FLAG_TRACK_CHANGES,
10
10
  decompressStream,
11
11
  fileTimeText,
12
12
  readRecords
13
- } from "./chunk-K42C2JMM.js";
13
+ } from "./chunk-XI47ZEQB.js";
14
14
  import {
15
15
  composeDigits
16
16
  } from "./chunk-RJCXOE4N.js";
17
17
  import {
18
18
  KordocError,
19
19
  VERSION
20
- } from "./chunk-RVUTLW55.js";
20
+ } from "./chunk-3URB7DI4.js";
21
21
 
22
22
  // src/hwp5/to-hwpx/index.ts
23
23
  import JSZip from "jszip";
@@ -2245,7 +2245,7 @@ async function convertToHwpx(input, options) {
2245
2245
  if (format !== "hwp" && format !== "hwp3" && format !== "hwpml") throw new KordocError(`HWP \uBB38\uC11C\uAC00 \uC544\uB2D9\uB2C8\uB2E4 (${format})`);
2246
2246
  const engine = options?.engine ?? "kordoc";
2247
2247
  if (engine !== "kordoc") {
2248
- const { hancomAvailable, hwpToHwpxViaHancom } = await import("./hancom-7PU6XSBN.js");
2248
+ const { hancomAvailable, hwpToHwpxViaHancom } = await import("./hancom-VQUG46NV.js");
2249
2249
  if (engine === "hancom" || !options?.password && hancomAvailable()) {
2250
2250
  if (options?.password) throw new KordocError('\uD55C/\uAE00 \uC800\uC7A5 \uBCC0\uD658\uC740 \uC5F4\uAE30 \uC554\uD638\uB97C \uBC1B\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4 \u2014 engine "kordoc" \uC73C\uB85C \uBC14\uAFB8\uC138\uC694');
2251
2251
  return { data: hwpToHwpxViaHancom(bytes, format === "hwpml" ? "hml" : "hwp"), mode: "preserve", engine: "hancom", warnings: [] };
@@ -2253,7 +2253,7 @@ async function convertToHwpx(input, options) {
2253
2253
  }
2254
2254
  if (format === "hwp") return { data: await hwpToHwpx(bytes, options), mode: "preserve", engine: "kordoc", warnings: [] };
2255
2255
  const { parse } = await import("./index.js");
2256
- const { markdownToHwpx } = await import("./generator-IKCVYTYF.js");
2256
+ const { markdownToHwpx } = await import("./generator-ERKQ7LUN.js");
2257
2257
  const parsed = await parse(ab, { password: options?.password });
2258
2258
  if (!parsed.success) throw new KordocError(parsed.error ?? "\uBB38\uC11C\uB97C \uC77D\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4");
2259
2259
  return {
@@ -2268,4 +2268,4 @@ export {
2268
2268
  hwpToHwpx,
2269
2269
  convertToHwpx
2270
2270
  };
2271
- //# sourceMappingURL=chunk-NAP746KZ.js.map
2271
+ //# sourceMappingURL=chunk-O4XRI7EC.js.map