kordoc 4.25.12 → 4.25.13

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 (109) hide show
  1. package/README.md +2 -2
  2. package/dist/{chunk-B7H5UL47.js → chunk-32WLCR37.js} +2 -2
  3. package/dist/{chunk-V4QVT6QR.js → chunk-42FWJVN5.js} +4 -4
  4. package/dist/{chunk-WUSVNBD7.js → chunk-4J2DUBJJ.js} +2 -2
  5. package/dist/{chunk-ZEZXWJYM.js → chunk-6CHKXHKR.js} +6 -6
  6. package/dist/{chunk-326FIQ5H.js → chunk-AII6CXYG.js} +2 -2
  7. package/dist/{chunk-YUZ4LOUT.js → chunk-BPY62DTT.js} +2 -2
  8. package/dist/{chunk-4RH2EH2N.js → chunk-C4TGNDQY.js} +18 -18
  9. package/dist/{chunk-ZR5IST7H.js → chunk-CGXJE6Y5.js} +5 -5
  10. package/dist/chunk-DQDATFAC.js +11544 -0
  11. package/dist/chunk-DQDATFAC.js.map +1 -0
  12. package/dist/{chunk-V4ELYHT3.js → chunk-I52IXA2S.js} +2 -2
  13. package/dist/{chunk-CLYEGEML.js → chunk-KRP74WIV.js} +8 -8
  14. package/dist/{chunk-42ULFI4V.js → chunk-MQAUBK77.js} +2 -2
  15. package/dist/{chunk-MMVFU3QP.js → chunk-N2EOYLZX.js} +10 -10
  16. package/dist/{chunk-TA7U2DSX.js → chunk-NEVZP6O3.js} +2 -2
  17. package/dist/{chunk-33LMQELD.js → chunk-NL4434I2.js} +2 -2
  18. package/dist/{chunk-ODDU5OMP.js → chunk-NLZ44M5L.js} +6 -6
  19. package/dist/{chunk-XPPQON6I.js → chunk-NQXM6MED.js} +2 -2
  20. package/dist/{chunk-ZKTIY4FT.js → chunk-QVZEBMYW.js} +2 -2
  21. package/dist/{chunk-SQCTT2VJ.js → chunk-QYS4V2OA.js} +4 -4
  22. package/dist/{chunk-RCJGXJ7Z.js → chunk-RQPM72FM.js} +2 -2
  23. package/dist/{chunk-OQVTA7UB.js → chunk-SKIWLEZA.js} +3 -3
  24. package/dist/{chunk-L55XLEWF.js → chunk-SPFCULY3.js} +2 -2
  25. package/dist/{chunk-2LKQSPAZ.js → chunk-TSEJQZ7C.js} +2 -2
  26. package/dist/{chunk-DCE6AZIT.js → chunk-VCLEQ7GS.js} +3 -3
  27. package/dist/{chunk-BAMX5KQB.js → chunk-YSOBUGNT.js} +6 -6
  28. package/dist/{chunk-S3MREIEB.js → chunk-ZRXXCZRZ.js} +2 -2
  29. package/dist/chunks-SIAIY4VX.js +10 -0
  30. package/dist/cli.js +37 -37
  31. package/dist/{formula-QXB2LSVI.js → formula-ZM2EYXWB.js} +4 -4
  32. package/dist/{generator-ELGW2EW4.js → generator-AUA3RJD6.js} +7 -7
  33. package/dist/{hancom-K4SDE7NS.js → hancom-M6DIM23B.js} +2 -2
  34. package/dist/{image-ocr-QJHYVJ5H.js → image-ocr-LZH6Q32C.js} +11 -11
  35. package/dist/index.cjs +2 -2
  36. package/dist/index.cjs.map +1 -7
  37. package/dist/index.js +21 -21
  38. package/dist/mcp.js +33 -33
  39. package/dist/memo-W2SNZRX5.js +15 -0
  40. package/dist/{model-bundle-5UGPJA5A.js → model-bundle-C4A7JHYJ.js} +5 -5
  41. package/dist/{models-IQ2E6S7I.js → models-K5FUWGWQ.js} +5 -5
  42. package/dist/{page-images-4KQEJMSE.js → page-images-O6SF454R.js} +2 -2
  43. package/dist/{parse-worker-v2-2H4MQEQD.js → parse-worker-v2-Y7SF2Q6I.js} +23 -23
  44. package/dist/{parser-KDR5BCSS.js → parser-ZHK66LCI.js} +14 -14
  45. package/dist/{pdf-ocr-EUVLBRD2.js → pdf-ocr-IU2UUBMJ.js} +9 -9
  46. package/dist/{profile-io-6M6LOS5G.js → profile-io-ZF7UPT6V.js} +3 -3
  47. package/dist/{rasterize-BG2WFQ2Z.js → rasterize-QO3NBE33.js} +3 -3
  48. package/dist/{redact-doc-6MLYQLK4.js → redact-doc-KIA2A3RM.js} +22 -22
  49. package/dist/{render-ND6GL3LZ.js → render-7UZDAEZ7.js} +10 -10
  50. package/dist/{rewrite-fallback-XL23DFE3.js → rewrite-fallback-YO6ZVEAI.js} +12 -12
  51. package/dist/seal-W2BHUQA4.js +14 -0
  52. package/dist/{setup-GHNRAYXC.js → setup-X5GNUS4Q.js} +3 -3
  53. package/dist/{to-hwpx-SNBZPKKH.js → to-hwpx-TE7TLCR5.js} +7 -7
  54. package/dist/visual-KFHP6RKA.js +42 -0
  55. package/dist/{watch-ZIO2QNWJ.js → watch-FMCC23HZ.js} +22 -22
  56. package/package.json +1 -1
  57. package/dist/chunk-7RDY5HRX.js +0 -11544
  58. package/dist/chunk-7RDY5HRX.js.map +0 -7
  59. package/dist/chunks-3GVZAG27.js +0 -10
  60. package/dist/memo-UYRYOV37.js +0 -15
  61. package/dist/seal-UYTM4Z4H.js +0 -14
  62. package/dist/visual-5YSDVJNI.js +0 -42
  63. /package/dist/{chunk-B7H5UL47.js.map → chunk-32WLCR37.js.map} +0 -0
  64. /package/dist/{chunk-V4QVT6QR.js.map → chunk-42FWJVN5.js.map} +0 -0
  65. /package/dist/{chunk-WUSVNBD7.js.map → chunk-4J2DUBJJ.js.map} +0 -0
  66. /package/dist/{chunk-ZEZXWJYM.js.map → chunk-6CHKXHKR.js.map} +0 -0
  67. /package/dist/{chunk-326FIQ5H.js.map → chunk-AII6CXYG.js.map} +0 -0
  68. /package/dist/{chunk-YUZ4LOUT.js.map → chunk-BPY62DTT.js.map} +0 -0
  69. /package/dist/{chunk-4RH2EH2N.js.map → chunk-C4TGNDQY.js.map} +0 -0
  70. /package/dist/{chunk-ZR5IST7H.js.map → chunk-CGXJE6Y5.js.map} +0 -0
  71. /package/dist/{chunk-V4ELYHT3.js.map → chunk-I52IXA2S.js.map} +0 -0
  72. /package/dist/{chunk-CLYEGEML.js.map → chunk-KRP74WIV.js.map} +0 -0
  73. /package/dist/{chunk-42ULFI4V.js.map → chunk-MQAUBK77.js.map} +0 -0
  74. /package/dist/{chunk-MMVFU3QP.js.map → chunk-N2EOYLZX.js.map} +0 -0
  75. /package/dist/{chunk-TA7U2DSX.js.map → chunk-NEVZP6O3.js.map} +0 -0
  76. /package/dist/{chunk-33LMQELD.js.map → chunk-NL4434I2.js.map} +0 -0
  77. /package/dist/{chunk-ODDU5OMP.js.map → chunk-NLZ44M5L.js.map} +0 -0
  78. /package/dist/{chunk-XPPQON6I.js.map → chunk-NQXM6MED.js.map} +0 -0
  79. /package/dist/{chunk-ZKTIY4FT.js.map → chunk-QVZEBMYW.js.map} +0 -0
  80. /package/dist/{chunk-SQCTT2VJ.js.map → chunk-QYS4V2OA.js.map} +0 -0
  81. /package/dist/{chunk-RCJGXJ7Z.js.map → chunk-RQPM72FM.js.map} +0 -0
  82. /package/dist/{chunk-OQVTA7UB.js.map → chunk-SKIWLEZA.js.map} +0 -0
  83. /package/dist/{chunk-L55XLEWF.js.map → chunk-SPFCULY3.js.map} +0 -0
  84. /package/dist/{chunk-2LKQSPAZ.js.map → chunk-TSEJQZ7C.js.map} +0 -0
  85. /package/dist/{chunk-DCE6AZIT.js.map → chunk-VCLEQ7GS.js.map} +0 -0
  86. /package/dist/{chunk-BAMX5KQB.js.map → chunk-YSOBUGNT.js.map} +0 -0
  87. /package/dist/{chunk-S3MREIEB.js.map → chunk-ZRXXCZRZ.js.map} +0 -0
  88. /package/dist/{chunks-3GVZAG27.js.map → chunks-SIAIY4VX.js.map} +0 -0
  89. /package/dist/{formula-QXB2LSVI.js.map → formula-ZM2EYXWB.js.map} +0 -0
  90. /package/dist/{generator-ELGW2EW4.js.map → generator-AUA3RJD6.js.map} +0 -0
  91. /package/dist/{hancom-K4SDE7NS.js.map → hancom-M6DIM23B.js.map} +0 -0
  92. /package/dist/{image-ocr-QJHYVJ5H.js.map → image-ocr-LZH6Q32C.js.map} +0 -0
  93. /package/dist/{memo-UYRYOV37.js.map → memo-W2SNZRX5.js.map} +0 -0
  94. /package/dist/{model-bundle-5UGPJA5A.js.map → model-bundle-C4A7JHYJ.js.map} +0 -0
  95. /package/dist/{models-IQ2E6S7I.js.map → models-K5FUWGWQ.js.map} +0 -0
  96. /package/dist/{page-images-4KQEJMSE.js.map → page-images-O6SF454R.js.map} +0 -0
  97. /package/dist/{parse-worker-v2-2H4MQEQD.js.map → parse-worker-v2-Y7SF2Q6I.js.map} +0 -0
  98. /package/dist/{parser-KDR5BCSS.js.map → parser-ZHK66LCI.js.map} +0 -0
  99. /package/dist/{pdf-ocr-EUVLBRD2.js.map → pdf-ocr-IU2UUBMJ.js.map} +0 -0
  100. /package/dist/{profile-io-6M6LOS5G.js.map → profile-io-ZF7UPT6V.js.map} +0 -0
  101. /package/dist/{rasterize-BG2WFQ2Z.js.map → rasterize-QO3NBE33.js.map} +0 -0
  102. /package/dist/{redact-doc-6MLYQLK4.js.map → redact-doc-KIA2A3RM.js.map} +0 -0
  103. /package/dist/{render-ND6GL3LZ.js.map → render-7UZDAEZ7.js.map} +0 -0
  104. /package/dist/{rewrite-fallback-XL23DFE3.js.map → rewrite-fallback-YO6ZVEAI.js.map} +0 -0
  105. /package/dist/{seal-UYTM4Z4H.js.map → seal-W2BHUQA4.js.map} +0 -0
  106. /package/dist/{setup-GHNRAYXC.js.map → setup-X5GNUS4Q.js.map} +0 -0
  107. /package/dist/{to-hwpx-SNBZPKKH.js.map → to-hwpx-TE7TLCR5.js.map} +0 -0
  108. /package/dist/{visual-5YSDVJNI.js.map → visual-KFHP6RKA.js.map} +0 -0
  109. /package/dist/{watch-ZIO2QNWJ.js.map → watch-FMCC23HZ.js.map} +0 -0
package/README.md CHANGED
@@ -130,15 +130,15 @@ await writeFile("보고서.hwpx", Buffer.from(hwpx))
130
130
 
131
131
  ## 최근 업데이트
132
132
 
133
- 최신 배포: **[4.25.12](https://github.com/chrisryugj/kordoc/releases/tag/v4.25.12)** · 2026-11-25
133
+ 최신 배포: **[4.25.13](https://github.com/chrisryugj/kordoc/releases/tag/v4.25.13)** · 2026-11-25
134
134
 
135
135
  | 버전 | 바뀐 점 | 실측 변화 |
136
136
  | --- | --- | --- |
137
+ | 4.25.13 | PDF 줄 끝 꺾임 붙여 쓰기 사전 재료에 현행 행정규칙 22,744개를 더했습니다(사전 98,619 → 212,857낱말). 소스맵에서 사전 원문을 비워 패키지 크기는 거의 그대로입니다 | PDF 글 744쌍 띄어쓰기 F1 0.99222 → **0.99240**(68문서 오름, 8문서 내림) · 표·별표·점수·ODL 4종·OCR·견고성·KoOCR 877쪽 하락 0 · 압축 해제 32.4MB · 시험 5,312개 실패 0 |
137
138
  | 4.25.12 | 크롬으로 인쇄한 PDF의 CSS 배경 무늬(쪽 전체 무늬 칠)를 불투명 덮개로 보고 그 아래 본문을 통째로 지우던 문제를 고쳤습니다(#234, @Byun11) | 보고된 시험지·공문 쪽 0자 → 9,889자·6,527자 · 점수·표·글·별표·formats·ODL 4종·OCR 문서별 변화 **0** · 시험 5,312개 실패 0 |
138
139
  | 4.25.11 | PDF 줄 끝 꺾임에서 괄호·조사를 붙인 어절(「국제에너지기구(IEA)는」)도 붙여 쓰기 증거로 보고, 쪽 바닥 각주 때문에 어절 가운데서 끊긴 문단을 한 문단으로 합칩니다 | PDF 글 744쌍 띄어쓰기 F1 0.99221 → **0.99222**(5문서 오름, 1문서 내림) · 표·별표·formats·ODL 3종 하락 0 · 시험 5,309개 실패 0 |
139
140
  | 4.25.10 | PDF에서 쪽을 넘은 표 칸 글이 어절 가운데서 줄바꿈으로 갈리던 것(`경<br>우에는`), OCR에서 기울지 않은 두 줄 그림을 글꼴에 따라 기운 것으로 보고 회전하던 것(#233)을 고쳤습니다 | PDF 글 744쌍 띄어쓰기 F1 0.99211 → **0.99221**(11문서 오름, 내림 0) · 표·별표·점수·ODL 4종·OCR·견고성·KoOCR 877쪽 하락 0 · 시험 5,307개 실패 0 |
140
141
  | 4.25.9 | PDF 줄 끝 꺾임 붙여 쓰기 사전 재료에 대통령령·총리령·부령 3,518개를 더하고, 줄 끝에서 꺾인 용언(「통과되⏎도록」「높아⏎지고」)을 한 어절로 붙입니다. 4.25.8에서 사전 때문에 커진 패키지 크기를 되돌렸습니다 | PDF 글 744쌍 띄어쓰기 F1 0.99198 → **0.99211**(61문서 오름, 8문서 내림) · 압축 해제 크기 39.4MB → **32.2MB** · 표·별표·ODL 4종·OCR·견고성·KoOCR 877쪽 하락 0 · 시험 5,304개 실패 0 |
141
- | 4.25.8 | PDF·OCR 표에서 괘선·칸 클립으로 찾은 칸마다 좌표(`cells[r][c].bbox`)를 돌려줍니다(#232, @VerifiedIdiot). PDF 줄 끝에서 꺾인 명사+명사(「행정⏎처분을」)를 현행 법률 1,720개에서 모은 붙여 쓴 낱말 사전으로 판정하고, 150dpi 스캔에서 글자 세로 획이 가는 행 괘선을 건너 세로선으로 잡히던 것을 고쳤습니다 | PDF 글 744쌍 띄어쓰기 F1 0.99163 → **0.99198**(137문서 오름, 8문서 내림) · 견고성 dpi150 CER 0.0411 → 0.0406(web044 0.0522 → 0.0274, web051 1문서 내림) · 마크다운 출력은 칸 좌표와 무관 · 점수·표·별표·ODL 4종·OCR·KoOCR 877쪽 하락 0 · 시험 5,301개 실패 0 |
142
142
 
143
143
  이전 버전과 상세 내용은 [변경 이력](CHANGELOG.md)에 있습니다.
144
144
 
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-PCOKS4ZE.js";
4
4
  import {
5
5
  KordocError
6
- } from "./chunk-YUZ4LOUT.js";
6
+ } from "./chunk-BPY62DTT.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-B7H5UL47.js.map
106
+ //# sourceMappingURL=chunk-32WLCR37.js.map
@@ -29,7 +29,7 @@ import {
29
29
  stackedGlyphBands,
30
30
  starRun,
31
31
  tallInkCount
32
- } from "./chunk-7RDY5HRX.js";
32
+ } from "./chunk-DQDATFAC.js";
33
33
  import {
34
34
  validateOcrOptions
35
35
  } from "./chunk-67I4YNFQ.js";
@@ -45,14 +45,14 @@ import {
45
45
  ocrSourcePath,
46
46
  parseCharacterDict,
47
47
  resolveOcrModels
48
- } from "./chunk-WUSVNBD7.js";
48
+ } from "./chunk-4J2DUBJJ.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-YUZ4LOUT.js";
55
+ } from "./chunk-BPY62DTT.js";
56
56
 
57
57
  // src/ocr/ocr-stacked-rows.ts
58
58
  var NUMERIC = /^[-+−△▲▽▼]?[\d.,]+[%p원]?$|^[-–—·∼~]원?$|^\([-+−△▲▽▼]?[\d.,]+%?\)$/;
@@ -3669,4 +3669,4 @@ export {
3669
3669
  ocrItemsToBlocks,
3670
3670
  markOcrHeadings
3671
3671
  };
3672
- //# sourceMappingURL=chunk-V4QVT6QR.js.map
3672
+ //# sourceMappingURL=chunk-42FWJVN5.js.map
@@ -2,7 +2,7 @@ import {
2
2
  ensureModelsIn,
3
3
  getModelStatusIn,
4
4
  getModelsDir
5
- } from "./chunk-TA7U2DSX.js";
5
+ } from "./chunk-NEVZP6O3.js";
6
6
 
7
7
  // src/ocr/models.ts
8
8
  import { join } from "path";
@@ -193,4 +193,4 @@ export {
193
193
  parseCharacterDict,
194
194
  ocrModelPath
195
195
  };
196
- //# sourceMappingURL=chunk-WUSVNBD7.js.map
196
+ //# sourceMappingURL=chunk-4J2DUBJJ.js.map
@@ -12,7 +12,7 @@ import {
12
12
  renderHwpxPages,
13
13
  resolveParaHeading,
14
14
  simulateWrap
15
- } from "./chunk-DCE6AZIT.js";
15
+ } from "./chunk-VCLEQ7GS.js";
16
16
  import {
17
17
  applySplices,
18
18
  buildMappedRangeSplices,
@@ -38,7 +38,7 @@ import {
38
38
  extractTextFromNode,
39
39
  findChildByLocalName,
40
40
  readZipEntry
41
- } from "./chunk-ZKTIY4FT.js";
41
+ } from "./chunk-QVZEBMYW.js";
42
42
  import {
43
43
  isEncryptedHwpx
44
44
  } from "./chunk-IXQ45P43.js";
@@ -63,7 +63,7 @@ import {
63
63
  escapeLiteralTags,
64
64
  tidyScriptTags,
65
65
  wrapScript
66
- } from "./chunk-33LMQELD.js";
66
+ } from "./chunk-NL4434I2.js";
67
67
  import {
68
68
  MAX_COLS,
69
69
  MAX_ROWS,
@@ -81,7 +81,7 @@ import {
81
81
  noteTableHtml,
82
82
  sanitizeText,
83
83
  visibleText
84
- } from "./chunk-42ULFI4V.js";
84
+ } from "./chunk-MQAUBK77.js";
85
85
  import {
86
86
  circledHangul,
87
87
  circledNumber,
@@ -104,7 +104,7 @@ import {
104
104
  sanitizeHref,
105
105
  stripDtd,
106
106
  unescapeHtml
107
- } from "./chunk-YUZ4LOUT.js";
107
+ } from "./chunk-BPY62DTT.js";
108
108
 
109
109
  // src/hwpx/generator.ts
110
110
  import JSZip2 from "jszip";
@@ -11070,4 +11070,4 @@ export {
11070
11070
  markdownToHwpxFromTemplate,
11071
11071
  markdownToHwpx
11072
11072
  };
11073
- //# sourceMappingURL=chunk-ZEZXWJYM.js.map
11073
+ //# sourceMappingURL=chunk-6CHKXHKR.js.map
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-DUAZNEQ6.js";
13
13
  import {
14
14
  blocksToMarkdown
15
- } from "./chunk-42ULFI4V.js";
15
+ } from "./chunk-MQAUBK77.js";
16
16
  import {
17
17
  mapPuaText,
18
18
  pairedNumber
@@ -2201,4 +2201,4 @@ export {
2201
2201
  restoreNamedGlyphs,
2202
2202
  restoreUnmappedCidSpaces
2203
2203
  };
2204
- //# sourceMappingURL=chunk-326FIQ5H.js.map
2204
+ //# sourceMappingURL=chunk-AII6CXYG.js.map
@@ -1,6 +1,6 @@
1
1
  // src/utils.ts
2
2
  import { format } from "util";
3
- var VERSION = true ? "4.25.12" : "0.0.0-dev";
3
+ var VERSION = true ? "4.25.13" : "0.0.0-dev";
4
4
  function toArrayBuffer(buf) {
5
5
  if (buf.byteOffset === 0 && buf.byteLength === buf.buffer.byteLength) {
6
6
  return buf.buffer;
@@ -195,4 +195,4 @@ export {
195
195
  classifyError,
196
196
  partExtension
197
197
  };
198
- //# sourceMappingURL=chunk-YUZ4LOUT.js.map
198
+ //# sourceMappingURL=chunk-BPY62DTT.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  extractRenderedRegions,
3
3
  renderDocumentToScene
4
- } from "./chunk-CLYEGEML.js";
4
+ } from "./chunk-KRP74WIV.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-326FIQ5H.js";
20
+ } from "./chunk-AII6CXYG.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-MMVFU3QP.js";
33
+ } from "./chunk-N2EOYLZX.js";
34
34
  import {
35
35
  dcxPages,
36
36
  hasLibheif,
37
37
  heicToRgba,
38
38
  pcxToRgba
39
- } from "./chunk-B7H5UL47.js";
39
+ } from "./chunk-32WLCR37.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-ZEZXWJYM.js";
72
+ } from "./chunk-6CHKXHKR.js";
73
73
  import {
74
74
  patchZipEntries
75
- } from "./chunk-V4ELYHT3.js";
75
+ } from "./chunk-I52IXA2S.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-ZKTIY4FT.js";
114
+ } from "./chunk-QVZEBMYW.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-ZR5IST7H.js";
131
+ } from "./chunk-CGXJE6Y5.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-33LMQELD.js";
169
+ } from "./chunk-NL4434I2.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-42ULFI4V.js";
180
+ } from "./chunk-MQAUBK77.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-TA7U2DSX.js";
191
+ } from "./chunk-NEVZP6O3.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-YUZ4LOUT.js";
209
+ } from "./chunk-BPY62DTT.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-QJHYVJ5H.js");
16987
+ const { parseImageDocument } = await import("./image-ocr-LZH6Q32C.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-QJHYVJ5H.js");
21346
- const pageRasters = options?.pageImages ? new (await import("./page-images-4KQEJMSE.js")).PageImageSink(options.pageImages) : null;
21345
+ const { parseImageDocument, imagePageCount, imagePage, imagePagePixels, decodeToRgba } = await import("./image-ocr-LZH6Q32C.js");
21346
+ const pageRasters = options?.pageImages ? new (await import("./page-images-O6SF454R.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-KDR5BCSS.js");
21453
+ const mod = await import("./parser-ZHK66LCI.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 포맷은 HWPX·HWP 5.x 입력만 지원합니다 (감지된 포맷: ${zipFormat})`);
21528
21528
  }
21529
21529
  } else if (format2 === "hwp" && detectOle2Format(buffer) === "hwp") {
21530
- const { hwpToHwpx: hwpToHwpx2 } = await import("./to-hwpx-SNBZPKKH.js");
21530
+ const { hwpToHwpx: hwpToHwpx2 } = await import("./to-hwpx-TE7TLCR5.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-4RH2EH2N.js.map
21686
+ //# sourceMappingURL=chunk-C4TGNDQY.js.map
@@ -34,7 +34,7 @@ import {
34
34
  parseFileHeader,
35
35
  readRecords,
36
36
  resolveLiteralLt
37
- } from "./chunk-RCJGXJ7Z.js";
37
+ } from "./chunk-RQPM72FM.js";
38
38
  import {
39
39
  TOC_ENTRY_BLOCKS,
40
40
  takeTocLeaders
@@ -52,7 +52,7 @@ import {
52
52
  HEADING_RATIO_H3,
53
53
  tidyScriptTags,
54
54
  unframeLayoutTables
55
- } from "./chunk-33LMQELD.js";
55
+ } from "./chunk-NL4434I2.js";
56
56
  import {
57
57
  MAX_COLS,
58
58
  MAX_ROWS,
@@ -65,7 +65,7 @@ import {
65
65
  flattenLayoutTables,
66
66
  markNonLayoutTable,
67
67
  sanitizeText
68
- } from "./chunk-42ULFI4V.js";
68
+ } from "./chunk-MQAUBK77.js";
69
69
  import {
70
70
  circledHangul,
71
71
  circledNumber,
@@ -76,7 +76,7 @@ import {
76
76
  import {
77
77
  KordocError,
78
78
  sanitizeHref
79
- } from "./chunk-YUZ4LOUT.js";
79
+ } from "./chunk-BPY62DTT.js";
80
80
 
81
81
  // src/memo-notes.ts
82
82
  var squash = (s) => sanitizeText(s).replace(/\s+/g, "");
@@ -2758,4 +2758,4 @@ export {
2758
2758
  parseHwp5Document,
2759
2759
  extractHwp5MetadataOnly
2760
2760
  };
2761
- //# sourceMappingURL=chunk-ZR5IST7H.js.map
2761
+ //# sourceMappingURL=chunk-CGXJE6Y5.js.map