kordoc 4.24.71 → 4.24.72

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 (182) hide show
  1. package/README.md +3 -3
  2. package/dist/{-F7GLIIGT.js → -S32WDXC4.js} +21 -21
  3. package/dist/{chunk-GFAWIBHG.js → chunk-2SUWIRWH.js} +10 -10
  4. package/dist/{chunk-T7MHZIFG.js → chunk-4ECEC6FD.js} +23 -4
  5. package/dist/chunk-4ECEC6FD.js.map +1 -0
  6. package/dist/{chunk-DSCT67WF.js → chunk-4GPZVPYG.js} +3 -3
  7. package/dist/{chunk-UJQRIX4L.js → chunk-4Q7L4IDD.js} +2 -2
  8. package/dist/{chunk-RUUUGCXS.js → chunk-4QOTRR5Z.js} +6 -6
  9. package/dist/{chunk-AUHQRRKM.js → chunk-4UL2KIOH.js} +3 -3
  10. package/dist/{chunk-YJ2YVG6N.cjs → chunk-5CYWVW3V.cjs} +88 -88
  11. package/dist/{chunk-YJ2YVG6N.cjs.map → chunk-5CYWVW3V.cjs.map} +1 -1
  12. package/dist/{chunk-IMT5TVVM.js → chunk-6DIACQ3R.js} +2 -2
  13. package/dist/{chunk-OJK4FLS5.js → chunk-6GQGU57N.js} +3 -3
  14. package/dist/{chunk-WMA4GJHC.js → chunk-7N2L6FBB.js} +5 -5
  15. package/dist/{chunk-5WWGC5SG.js → chunk-BD75GPTM.js} +2 -2
  16. package/dist/{chunk-2OF2YWIZ.js → chunk-BJCTFKEU.js} +2 -2
  17. package/dist/{chunk-MHXPW72E.js → chunk-C3USRXCH.js} +2 -2
  18. package/dist/{chunk-NPBNJCXZ.js → chunk-C4K2XCGX.js} +2 -2
  19. package/dist/{chunk-H2VOH7X3.cjs → chunk-COG4POSK.cjs} +199 -180
  20. package/dist/chunk-COG4POSK.cjs.map +1 -0
  21. package/dist/{chunk-O7PJFEOC.js → chunk-CQUOEZBJ.js} +2 -2
  22. package/dist/{chunk-2VBRCIPI.js → chunk-DIHV6CDK.js} +2 -2
  23. package/dist/{chunk-KGCJNPAI.js → chunk-FKCSNCWC.js} +5 -5
  24. package/dist/{chunk-2CPEW6WC.js → chunk-FTPYYLCR.js} +3 -3
  25. package/dist/{chunk-7KVDHXP2.js → chunk-G3TKEQZ3.js} +4 -4
  26. package/dist/{chunk-TYGZ6O2A.js → chunk-GAZDWFRT.js} +11 -11
  27. package/dist/{chunk-HIYRMYAS.js → chunk-GK4OHUV5.js} +2 -2
  28. package/dist/{chunk-LNWURZ2Z.js → chunk-GOQWCHX5.js} +7 -7
  29. package/dist/{chunk-ZPJZXTEG.js → chunk-IPYSZ2WD.js} +6 -6
  30. package/dist/{chunk-BNP3WXTB.cjs → chunk-JE4NCQIN.cjs} +3 -3
  31. package/dist/{chunk-BNP3WXTB.cjs.map → chunk-JE4NCQIN.cjs.map} +1 -1
  32. package/dist/{chunk-YTDHH362.js → chunk-JEPTA64I.js} +2 -2
  33. package/dist/{chunk-OW2XKTQA.cjs → chunk-L4GCUYDS.cjs} +8 -8
  34. package/dist/{chunk-OW2XKTQA.cjs.map → chunk-L4GCUYDS.cjs.map} +1 -1
  35. package/dist/{chunk-EZNUMAAJ.js → chunk-LINC7S3M.js} +2 -2
  36. package/dist/{chunk-6ZA4V4QS.js → chunk-MCO77XJN.js} +2 -2
  37. package/dist/{chunk-KLUI4SAZ.js → chunk-MHYFBIS5.js} +2 -2
  38. package/dist/{chunk-GRCIFCGC.js → chunk-NHWWNRQT.js} +2 -2
  39. package/dist/{chunk-RWU3Y5YK.js → chunk-O4MTW4JH.js} +18 -16
  40. package/dist/chunk-O4MTW4JH.js.map +1 -0
  41. package/dist/{chunk-M27VBFO6.js → chunk-SGQC3BVV.js} +22 -3
  42. package/dist/chunk-SGQC3BVV.js.map +1 -0
  43. package/dist/{chunk-OUHMNF2A.js → chunk-SNNM4GFE.js} +2 -2
  44. package/dist/{chunk-SK5AOGYK.cjs → chunk-TDNYBCPC.cjs} +104 -104
  45. package/dist/{chunk-SK5AOGYK.cjs.map → chunk-TDNYBCPC.cjs.map} +1 -1
  46. package/dist/{chunk-YTP7FPA5.cjs → chunk-U2K3WVR5.cjs} +3 -3
  47. package/dist/{chunk-YTP7FPA5.cjs.map → chunk-U2K3WVR5.cjs.map} +1 -1
  48. package/dist/{chunk-D4UFBXMT.js → chunk-U6CZ5IGF.js} +2 -2
  49. package/dist/{chunk-YPRIJDH6.js → chunk-UOML7PVK.js} +2 -2
  50. package/dist/{chunk-QK5KCWLE.js → chunk-VRJ3CABR.js} +2 -2
  51. package/dist/{chunk-YISBYF7X.cjs → chunk-WWTG5JUI.cjs} +58 -58
  52. package/dist/{chunk-YISBYF7X.cjs.map → chunk-WWTG5JUI.cjs.map} +1 -1
  53. package/dist/{chunk-SMEBVDM2.js → chunk-WXKUE2MU.js} +5 -5
  54. package/dist/{chunk-BHYBZSOC.js → chunk-YZXGUJFI.js} +2 -2
  55. package/dist/{chunk-LFTO5QAP.cjs → chunk-ZTVH2HQ5.cjs} +2 -2
  56. package/dist/{chunk-LFTO5QAP.cjs.map → chunk-ZTVH2HQ5.cjs.map} +1 -1
  57. package/dist/chunks-XNCDYMWO.js +11 -0
  58. package/dist/cli.js +45 -45
  59. package/dist/{formula-RTPZD2IM.cjs → formula-BLK43PWB.cjs} +41 -11
  60. package/dist/formula-BLK43PWB.cjs.map +1 -0
  61. package/dist/{formula-UJF4RZ6W.js → formula-E5QNTLM3.js} +35 -5
  62. package/dist/formula-E5QNTLM3.js.map +1 -0
  63. package/dist/{formula-3PJYUQMG.js → formula-WVFBIXND.js} +36 -6
  64. package/dist/formula-WVFBIXND.js.map +1 -0
  65. package/dist/generator-5VFDO4CB.js +11 -0
  66. package/dist/generator-APR6DUTL.cjs +12 -0
  67. package/dist/{generator-INMUN6KB.cjs.map → generator-APR6DUTL.cjs.map} +1 -1
  68. package/dist/generator-IOGPVCG2.js +18 -0
  69. package/dist/{hancom-RYIZHWJ5.js → hancom-BCYRSFDF.js} +2 -2
  70. package/dist/{hancom-MVPEYI4X.cjs → hancom-DJTR4HYI.cjs} +5 -5
  71. package/dist/{hancom-MVPEYI4X.cjs.map → hancom-DJTR4HYI.cjs.map} +1 -1
  72. package/dist/{hancom-P3SUQXM4.js → hancom-HLLJXF2H.js} +2 -2
  73. package/dist/{image-ocr-GL5YVCNU.js → image-ocr-B5SIBPET.js} +10 -10
  74. package/dist/{image-ocr-ZS4EMQN3.cjs → image-ocr-HCT57HQA.cjs} +28 -28
  75. package/dist/{image-ocr-ZS4EMQN3.cjs.map → image-ocr-HCT57HQA.cjs.map} +1 -1
  76. package/dist/{image-ocr-ZXLHPQI2.js → image-ocr-QSSVO27L.js} +7 -7
  77. package/dist/index.cjs +1118 -1116
  78. package/dist/index.cjs.map +1 -1
  79. package/dist/index.js +12 -10
  80. package/dist/index.js.map +1 -1
  81. package/dist/mcp.js +36 -36
  82. package/dist/memo-R5CO35OZ.js +17 -0
  83. package/dist/{model-bundle-VCUAKBF3.js → model-bundle-KB7GFS7J.js} +5 -5
  84. package/dist/{models-UACAGYBI.js → models-A6PYBE2Q.js} +5 -5
  85. package/dist/{parse-worker-v2-LJB4QXGF.js → parse-worker-v2-OSOABIQB.js} +22 -22
  86. package/dist/{parser-5GZUD22P.js → parser-E2ZCR6UV.js} +12 -12
  87. package/dist/{parser-HCZD4DUO.js → parser-F7Q2ENVO.js} +9 -9
  88. package/dist/{parser-T4HAQ3QW.cjs → parser-JQXLIKOT.cjs} +166 -166
  89. package/dist/{parser-T4HAQ3QW.cjs.map → parser-JQXLIKOT.cjs.map} +1 -1
  90. package/dist/pdf-ocr-AV7FKNFZ.cjs +43 -0
  91. package/dist/{pdf-ocr-H4DKZSOB.cjs.map → pdf-ocr-AV7FKNFZ.cjs.map} +1 -1
  92. package/dist/{pdf-ocr-JXVGK5MR.js → pdf-ocr-B6QVPBMI.js} +6 -6
  93. package/dist/{pdf-ocr-YCMC2VL4.js → pdf-ocr-RY6UZ5PG.js} +9 -9
  94. package/dist/{profile-io-MVTEOXAU.js → profile-io-FX2SDCMR.js} +3 -3
  95. package/dist/{rasterize-VWT3C3RW.js → rasterize-ZJAMZCQM.js} +3 -3
  96. package/dist/{redact-doc-SU3JDC6F.js → redact-doc-DNXUF4WL.js} +21 -21
  97. package/dist/{render-D5N4FKWB.js → render-FQ2LMZIL.js} +12 -12
  98. package/dist/{rewrite-fallback-QXTWSPGY.js → rewrite-fallback-QNLQXJRS.js} +13 -13
  99. package/dist/seal-6LBVNZYX.js +16 -0
  100. package/dist/{setup-TXNJYX6P.js → setup-2VMN6LBY.js} +3 -3
  101. package/dist/to-hwpx-2RENWAWF.cjs +16 -0
  102. package/dist/{to-hwpx-KZTTH7EY.cjs.map → to-hwpx-2RENWAWF.cjs.map} +1 -1
  103. package/dist/{to-hwpx-YHGVFTBO.js → to-hwpx-DS6DH5WH.js} +4 -4
  104. package/dist/{to-hwpx-Z7NHUMUD.js → to-hwpx-H7B6CEN5.js} +7 -7
  105. package/dist/visual-3H3HGNOW.js +38 -0
  106. package/dist/{watch-EI5QYDT2.js → watch-53NVSD5Z.js} +22 -22
  107. package/package.json +1 -1
  108. package/dist/chunk-H2VOH7X3.cjs.map +0 -1
  109. package/dist/chunk-M27VBFO6.js.map +0 -1
  110. package/dist/chunk-RWU3Y5YK.js.map +0 -1
  111. package/dist/chunk-T7MHZIFG.js.map +0 -1
  112. package/dist/chunks-JAD5Z5YY.js +0 -11
  113. package/dist/formula-3PJYUQMG.js.map +0 -1
  114. package/dist/formula-RTPZD2IM.cjs.map +0 -1
  115. package/dist/formula-UJF4RZ6W.js.map +0 -1
  116. package/dist/generator-EB2436BE.js +0 -18
  117. package/dist/generator-INMUN6KB.cjs +0 -12
  118. package/dist/generator-K5KMPSLC.js +0 -11
  119. package/dist/memo-JNMSGIO7.js +0 -17
  120. package/dist/pdf-ocr-H4DKZSOB.cjs +0 -43
  121. package/dist/seal-Q3BD6CRB.js +0 -16
  122. package/dist/to-hwpx-KZTTH7EY.cjs +0 -16
  123. package/dist/visual-LNHFYJDL.js +0 -38
  124. /package/dist/{-F7GLIIGT.js.map → -S32WDXC4.js.map} +0 -0
  125. /package/dist/{chunk-GFAWIBHG.js.map → chunk-2SUWIRWH.js.map} +0 -0
  126. /package/dist/{chunk-DSCT67WF.js.map → chunk-4GPZVPYG.js.map} +0 -0
  127. /package/dist/{chunk-UJQRIX4L.js.map → chunk-4Q7L4IDD.js.map} +0 -0
  128. /package/dist/{chunk-RUUUGCXS.js.map → chunk-4QOTRR5Z.js.map} +0 -0
  129. /package/dist/{chunk-AUHQRRKM.js.map → chunk-4UL2KIOH.js.map} +0 -0
  130. /package/dist/{chunk-IMT5TVVM.js.map → chunk-6DIACQ3R.js.map} +0 -0
  131. /package/dist/{chunk-OJK4FLS5.js.map → chunk-6GQGU57N.js.map} +0 -0
  132. /package/dist/{chunk-WMA4GJHC.js.map → chunk-7N2L6FBB.js.map} +0 -0
  133. /package/dist/{chunk-5WWGC5SG.js.map → chunk-BD75GPTM.js.map} +0 -0
  134. /package/dist/{chunk-2OF2YWIZ.js.map → chunk-BJCTFKEU.js.map} +0 -0
  135. /package/dist/{chunk-MHXPW72E.js.map → chunk-C3USRXCH.js.map} +0 -0
  136. /package/dist/{chunk-NPBNJCXZ.js.map → chunk-C4K2XCGX.js.map} +0 -0
  137. /package/dist/{chunk-O7PJFEOC.js.map → chunk-CQUOEZBJ.js.map} +0 -0
  138. /package/dist/{chunk-2VBRCIPI.js.map → chunk-DIHV6CDK.js.map} +0 -0
  139. /package/dist/{chunk-KGCJNPAI.js.map → chunk-FKCSNCWC.js.map} +0 -0
  140. /package/dist/{chunk-2CPEW6WC.js.map → chunk-FTPYYLCR.js.map} +0 -0
  141. /package/dist/{chunk-7KVDHXP2.js.map → chunk-G3TKEQZ3.js.map} +0 -0
  142. /package/dist/{chunk-TYGZ6O2A.js.map → chunk-GAZDWFRT.js.map} +0 -0
  143. /package/dist/{chunk-HIYRMYAS.js.map → chunk-GK4OHUV5.js.map} +0 -0
  144. /package/dist/{chunk-LNWURZ2Z.js.map → chunk-GOQWCHX5.js.map} +0 -0
  145. /package/dist/{chunk-ZPJZXTEG.js.map → chunk-IPYSZ2WD.js.map} +0 -0
  146. /package/dist/{chunk-YTDHH362.js.map → chunk-JEPTA64I.js.map} +0 -0
  147. /package/dist/{chunk-EZNUMAAJ.js.map → chunk-LINC7S3M.js.map} +0 -0
  148. /package/dist/{chunk-6ZA4V4QS.js.map → chunk-MCO77XJN.js.map} +0 -0
  149. /package/dist/{chunk-KLUI4SAZ.js.map → chunk-MHYFBIS5.js.map} +0 -0
  150. /package/dist/{chunk-GRCIFCGC.js.map → chunk-NHWWNRQT.js.map} +0 -0
  151. /package/dist/{chunk-OUHMNF2A.js.map → chunk-SNNM4GFE.js.map} +0 -0
  152. /package/dist/{chunk-D4UFBXMT.js.map → chunk-U6CZ5IGF.js.map} +0 -0
  153. /package/dist/{chunk-YPRIJDH6.js.map → chunk-UOML7PVK.js.map} +0 -0
  154. /package/dist/{chunk-QK5KCWLE.js.map → chunk-VRJ3CABR.js.map} +0 -0
  155. /package/dist/{chunk-SMEBVDM2.js.map → chunk-WXKUE2MU.js.map} +0 -0
  156. /package/dist/{chunk-BHYBZSOC.js.map → chunk-YZXGUJFI.js.map} +0 -0
  157. /package/dist/{chunks-JAD5Z5YY.js.map → chunks-XNCDYMWO.js.map} +0 -0
  158. /package/dist/{generator-EB2436BE.js.map → generator-5VFDO4CB.js.map} +0 -0
  159. /package/dist/{generator-K5KMPSLC.js.map → generator-IOGPVCG2.js.map} +0 -0
  160. /package/dist/{hancom-RYIZHWJ5.js.map → hancom-BCYRSFDF.js.map} +0 -0
  161. /package/dist/{hancom-P3SUQXM4.js.map → hancom-HLLJXF2H.js.map} +0 -0
  162. /package/dist/{image-ocr-GL5YVCNU.js.map → image-ocr-B5SIBPET.js.map} +0 -0
  163. /package/dist/{image-ocr-ZXLHPQI2.js.map → image-ocr-QSSVO27L.js.map} +0 -0
  164. /package/dist/{memo-JNMSGIO7.js.map → memo-R5CO35OZ.js.map} +0 -0
  165. /package/dist/{model-bundle-VCUAKBF3.js.map → model-bundle-KB7GFS7J.js.map} +0 -0
  166. /package/dist/{models-UACAGYBI.js.map → models-A6PYBE2Q.js.map} +0 -0
  167. /package/dist/{parse-worker-v2-LJB4QXGF.js.map → parse-worker-v2-OSOABIQB.js.map} +0 -0
  168. /package/dist/{parser-5GZUD22P.js.map → parser-E2ZCR6UV.js.map} +0 -0
  169. /package/dist/{parser-HCZD4DUO.js.map → parser-F7Q2ENVO.js.map} +0 -0
  170. /package/dist/{pdf-ocr-JXVGK5MR.js.map → pdf-ocr-B6QVPBMI.js.map} +0 -0
  171. /package/dist/{pdf-ocr-YCMC2VL4.js.map → pdf-ocr-RY6UZ5PG.js.map} +0 -0
  172. /package/dist/{profile-io-MVTEOXAU.js.map → profile-io-FX2SDCMR.js.map} +0 -0
  173. /package/dist/{rasterize-VWT3C3RW.js.map → rasterize-ZJAMZCQM.js.map} +0 -0
  174. /package/dist/{redact-doc-SU3JDC6F.js.map → redact-doc-DNXUF4WL.js.map} +0 -0
  175. /package/dist/{render-D5N4FKWB.js.map → render-FQ2LMZIL.js.map} +0 -0
  176. /package/dist/{rewrite-fallback-QXTWSPGY.js.map → rewrite-fallback-QNLQXJRS.js.map} +0 -0
  177. /package/dist/{seal-Q3BD6CRB.js.map → seal-6LBVNZYX.js.map} +0 -0
  178. /package/dist/{setup-TXNJYX6P.js.map → setup-2VMN6LBY.js.map} +0 -0
  179. /package/dist/{to-hwpx-YHGVFTBO.js.map → to-hwpx-DS6DH5WH.js.map} +0 -0
  180. /package/dist/{to-hwpx-Z7NHUMUD.js.map → to-hwpx-H7B6CEN5.js.map} +0 -0
  181. /package/dist/{visual-LNHFYJDL.js.map → visual-3H3HGNOW.js.map} +0 -0
  182. /package/dist/{watch-EI5QYDT2.js.map → watch-53NVSD5Z.js.map} +0 -0
package/dist/mcp.js CHANGED
@@ -48,45 +48,45 @@ import {
48
48
  unknownFontWarnings,
49
49
  usesGaejosikMunche,
50
50
  usesLogicStructure
51
- } from "./chunk-RWU3Y5YK.js";
52
- import "./chunk-GFAWIBHG.js";
53
- import "./chunk-UJQRIX4L.js";
51
+ } from "./chunk-O4MTW4JH.js";
52
+ import "./chunk-2SUWIRWH.js";
53
+ import "./chunk-4Q7L4IDD.js";
54
54
  import {
55
55
  extractHwpxMetadataOnly,
56
56
  patchHwp,
57
57
  patchHwpx
58
- } from "./chunk-TYGZ6O2A.js";
59
- import "./chunk-2CPEW6WC.js";
58
+ } from "./chunk-GAZDWFRT.js";
59
+ import "./chunk-FTPYYLCR.js";
60
60
  import {
61
61
  AGENCY_COMMON_NAME,
62
62
  PRESET_ALIAS,
63
63
  agencyNames,
64
64
  incompatibleGongmunWarnings,
65
65
  markdownToHwpx
66
- } from "./chunk-RUUUGCXS.js";
67
- import "./chunk-OUHMNF2A.js";
68
- import "./chunk-ZPJZXTEG.js";
69
- import "./chunk-KGCJNPAI.js";
70
- import "./chunk-YPRIJDH6.js";
71
- import "./chunk-O7PJFEOC.js";
66
+ } from "./chunk-4QOTRR5Z.js";
67
+ import "./chunk-SNNM4GFE.js";
68
+ import "./chunk-IPYSZ2WD.js";
69
+ import "./chunk-FKCSNCWC.js";
70
+ import "./chunk-UOML7PVK.js";
71
+ import "./chunk-CQUOEZBJ.js";
72
72
  import {
73
73
  extractFormFields,
74
74
  fillWithUniqueGuard
75
75
  } from "./chunk-3AHL6YEA.js";
76
- import "./chunk-D4UFBXMT.js";
76
+ import "./chunk-U6CZ5IGF.js";
77
77
  import {
78
78
  hwpToHwpx
79
- } from "./chunk-LNWURZ2Z.js";
79
+ } from "./chunk-GOQWCHX5.js";
80
80
  import {
81
81
  extractHwp5MetadataOnly
82
- } from "./chunk-WMA4GJHC.js";
82
+ } from "./chunk-7N2L6FBB.js";
83
83
  import "./chunk-FU6ZDWCI.js";
84
84
  import "./chunk-OFVHQ2TZ.js";
85
- import "./chunk-YTDHH362.js";
85
+ import "./chunk-JEPTA64I.js";
86
86
  import "./chunk-WFKFG2RT.js";
87
87
  import "./chunk-3WSNLH4B.js";
88
- import "./chunk-5WWGC5SG.js";
89
- import "./chunk-HIYRMYAS.js";
88
+ import "./chunk-BD75GPTM.js";
89
+ import "./chunk-GK4OHUV5.js";
90
90
  import "./chunk-VQFA55IC.js";
91
91
  import {
92
92
  detectFormat,
@@ -96,16 +96,16 @@ import {
96
96
  import "./chunk-H7K5YHWQ.js";
97
97
  import "./chunk-IIOBUTXH.js";
98
98
  import "./chunk-QLZHIJWJ.js";
99
- import "./chunk-NPBNJCXZ.js";
99
+ import "./chunk-C4K2XCGX.js";
100
100
  import {
101
101
  blocksToMarkdown
102
- } from "./chunk-2OF2YWIZ.js";
102
+ } from "./chunk-BJCTFKEU.js";
103
103
  import "./chunk-KFF47XZ7.js";
104
104
  import {
105
105
  assertWithinRoot,
106
106
  getAccessRoot,
107
107
  isOfflineMode
108
- } from "./chunk-IMT5TVVM.js";
108
+ } from "./chunk-6DIACQ3R.js";
109
109
  import {
110
110
  KordocError,
111
111
  VERSION,
@@ -113,7 +113,7 @@ import {
113
113
  routeConsoleToStderr,
114
114
  sanitizeError,
115
115
  toArrayBuffer
116
- } from "./chunk-QK5KCWLE.js";
116
+ } from "./chunk-VRJ3CABR.js";
117
117
 
118
118
  // src/mcp.ts
119
119
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
@@ -430,7 +430,7 @@ ${markdown}`);
430
430
  break;
431
431
  case "pdf":
432
432
  try {
433
- const { extractPdfMetadataOnly } = await import("./parser-5GZUD22P.js");
433
+ const { extractPdfMetadataOnly } = await import("./parser-E2ZCR6UV.js");
434
434
  metadata = await extractPdfMetadataOnly(buffer);
435
435
  } catch {
436
436
  metadata = void 0;
@@ -607,7 +607,7 @@ ${tableMarkdown}` }]
607
607
  if (!parsed.success) {
608
608
  return { content: [{ type: "text", text: `\uD30C\uC2F1 \uC2E4\uD328: ${parsed.error}` }], isError: true };
609
609
  }
610
- const { blocksToChunks } = await import("./chunks-JAD5Z5YY.js");
610
+ const { blocksToChunks } = await import("./chunks-XNCDYMWO.js");
611
611
  const chunks = blocksToChunks(parsed.blocks, { granularity, includeTableCells: include_table_cells });
612
612
  return { content: [{ type: "text", text: capResponseText(JSON.stringify(chunks, null, 2)) }] };
613
613
  } catch (err) {
@@ -887,7 +887,7 @@ ${previewMd}` }]
887
887
  }
888
888
  const image = new Uint8Array(await readFile2(imgResolved));
889
889
  const ext = extname2(imgResolved).slice(1).toLowerCase();
890
- const { placeSealHwpx } = await import("./seal-Q3BD6CRB.js");
890
+ const { placeSealHwpx } = await import("./seal-6LBVNZYX.js");
891
891
  const result = await placeSealHwpx(buffer, [{
892
892
  anchor,
893
893
  occurrence,
@@ -943,7 +943,7 @@ ${previewMd}` }]
943
943
  if (format !== "hwpx") {
944
944
  return { content: [{ type: "text", text: `add_memo \uB294 HWPX\xB7HWP 5.x \uD30C\uC77C\uB9CC \uC9C0\uC6D0\uD569\uB2C8\uB2E4 (\uAC10\uC9C0\uB41C \uD3EC\uB9F7: ${format}).` }], isError: true };
945
945
  }
946
- const { addMemoHwpx } = await import("./memo-JNMSGIO7.js");
946
+ const { addMemoHwpx } = await import("./memo-R5CO35OZ.js");
947
947
  const result = await addMemoHwpx(buffer, [{ anchor, text, author, occurrence }]);
948
948
  await mkdir(dirname2(outPath), { recursive: true });
949
949
  await writeOutputFile(outPath, Buffer.from(result.buffer));
@@ -985,7 +985,7 @@ ${previewMd}` }]
985
985
  }
986
986
  const original = new Uint8Array(buffer);
987
987
  const result = isHwpx ? await patchHwpx(original, edited_markdown, structure === false ? { structure: false } : void 0) : await patchHwp(original, edited_markdown);
988
- const { needsRewrite, rewriteEdited, rewritePath } = await import("./rewrite-fallback-QXTWSPGY.js");
988
+ const { needsRewrite, rewriteEdited, rewritePath } = await import("./rewrite-fallback-QNLQXJRS.js");
989
989
  const rewrite = needsRewrite(result) ? await rewriteEdited(original, isHwpx, edited_markdown, result.success) : null;
990
990
  const rwOut = rewrite ? safeOutputPath(rewritePath(out), /* @__PURE__ */ new Set([".hwpx"])) : void 0;
991
991
  if (rewrite && rwOut) {
@@ -1054,7 +1054,7 @@ ${rewriteLine}` }] };
1054
1054
  if (outPath && await isSameFile(outPath, resolved)) {
1055
1055
  return { content: [{ type: "text", text: "output_path\uAC00 \uC785\uB825 \uD30C\uC77C\uACFC \uAC19\uC2B5\uB2C8\uB2E4 \u2014 \uC6D0\uBCF8\uC744 \uB36E\uC5B4\uC4F0\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB2E4\uB978 \uACBD\uB85C\uB97C \uC9C0\uC815\uD558\uC138\uC694." }], isError: true };
1056
1056
  }
1057
- const { redactDocument } = await import("./redact-doc-SU3JDC6F.js");
1057
+ const { redactDocument } = await import("./redact-doc-DNXUF4WL.js");
1058
1058
  const r = await redactDocument(buffer, { rules, maskChar: mask_char, filePath: file_path, dryRun: dry_run });
1059
1059
  const MAX_LINES = 50;
1060
1060
  const listed = r.fileHits.length > 0 ? r.fileHits.map((h) => ` - [${h.rule}] ${h.masked} (${h.where} @ ${h.part})`) : r.markdownHits.map((h) => ` - [${h.rule}] ${h.masked}`);
@@ -1129,7 +1129,7 @@ function registerRenderTools(server2) {
1129
1129
  const { buffer, resolved } = await readValidatedFile(file_path, MAX_FILE_SIZE, /* @__PURE__ */ new Set([".hwpx", ".hwp"]));
1130
1130
  const isHwp5 = resolved.toLowerCase().endsWith(".hwp");
1131
1131
  if (!isHwp5 && !pages && (format === "png" || format === "svg")) {
1132
- const { renderHwpxToSvg } = await import("./render-D5N4FKWB.js");
1132
+ const { renderHwpxToSvg } = await import("./render-FQ2LMZIL.js");
1133
1133
  const result = await renderHwpxToSvg(buffer, { highlights, reflow: true, reflowMode: reflow_mode, password });
1134
1134
  const summary2 = [
1135
1135
  `\uB80C\uB354 \uC644\uB8CC: ${result.pageCount}\uD398\uC774\uC9C0, ${Math.round(result.width)}x${Math.round(result.height)}pt (\uD14D\uC2A4\uD2B8 ${result.stats.texts}\xB7\uC774\uBBF8\uC9C0 ${result.stats.images}\xB7\uD45C ${result.stats.tables})`,
@@ -1141,7 +1141,7 @@ function registerRenderTools(server2) {
1141
1141
  summary2.push(`\uC800\uC7A5: ${outPath}`);
1142
1142
  return { content: [{ type: "text", text: summary2.join("\n") }] };
1143
1143
  }
1144
- const { rasterizeSvg } = await import("./rasterize-VWT3C3RW.js");
1144
+ const { rasterizeSvg } = await import("./rasterize-ZJAMZCQM.js");
1145
1145
  const raster = await rasterizeSvg(result.svg, result.width, result.height, max_width_px ? { maxWidthPx: max_width_px } : void 0);
1146
1146
  if (outPath) {
1147
1147
  await mkdir2(dirname3(outPath), { recursive: true });
@@ -1156,7 +1156,7 @@ function registerRenderTools(server2) {
1156
1156
  ]
1157
1157
  };
1158
1158
  }
1159
- const { renderDocument } = await import("./render-D5N4FKWB.js");
1159
+ const { renderDocument } = await import("./render-FQ2LMZIL.js");
1160
1160
  const { scene, assets } = await renderDocument(buffer, { format, pages, highlights, reflow: true, reflowMode: reflow_mode, maxWidthPx: max_width_px, password });
1161
1161
  const summary = [
1162
1162
  `\uB80C\uB354 \uC644\uB8CC: \uBB38\uC11C ${scene.pages.length}\uD398\uC774\uC9C0 \uC911 ${assets.filter((a) => a.page !== void 0).length || 1}\uAC74 (\uD14D\uC2A4\uD2B8 ${scene.stats.texts}\xB7\uC774\uBBF8\uC9C0 ${scene.stats.images}\xB7\uD45C ${scene.stats.tables}\xB7\uB3C4\uD615 ${scene.stats.shapes})`,
@@ -1206,7 +1206,7 @@ function registerRenderTools(server2) {
1206
1206
  try {
1207
1207
  const { buffer } = await readValidatedFile(file_path, MAX_FILE_SIZE, /* @__PURE__ */ new Set([".hwpx", ".hwp"]));
1208
1208
  const dir = safeOutputPath(join2(output_dir, "regions.json"), /* @__PURE__ */ new Set([".json"])).replace(/[\\/]regions\.json$/, "");
1209
- const { extractRenderedRegions } = await import("./render-D5N4FKWB.js");
1209
+ const { extractRenderedRegions } = await import("./render-FQ2LMZIL.js");
1210
1210
  const regions = await extractRenderedRegions(buffer, { types: target, format, pages, paddingPt: padding_pt, reflow: true });
1211
1211
  await mkdir2(dir, { recursive: true });
1212
1212
  const ext = format === "jpeg" ? "jpg" : "png";
@@ -1242,7 +1242,7 @@ function registerRenderTools(server2) {
1242
1242
  }
1243
1243
  const { buffer } = await readValidatedFile(file_path, MAX_FILE_SIZE, /* @__PURE__ */ new Set([".hwpx", ".hwp"]));
1244
1244
  const dir = output_dir ? safeOutputPath(join2(output_dir, "tables.json"), /* @__PURE__ */ new Set([".json"])).replace(/[\\/]tables\.json$/, "") : void 0;
1245
- const { extractTables } = await import("./visual-LNHFYJDL.js");
1245
+ const { extractTables } = await import("./visual-3H3HGNOW.js");
1246
1246
  const tables = await extractTables(buffer, { policy: visual, format, paddingPt: padding_pt });
1247
1247
  if (dir) await mkdir2(dir, { recursive: true });
1248
1248
  const ext = format === "jpeg" ? "jpg" : "png";
@@ -1299,7 +1299,7 @@ function registerGenerateTools(server2) {
1299
1299
  try {
1300
1300
  const out = safeOutputPath(output_path, PROFILE_EXTENSIONS);
1301
1301
  const { buffer } = await readValidatedFile(hwpx_path);
1302
- const { hwpxToProfile } = await import("./-F7GLIIGT.js");
1302
+ const { hwpxToProfile } = await import("./-S32WDXC4.js");
1303
1303
  const profile = await hwpxToProfile(buffer);
1304
1304
  await mkdir3(dirname4(out), { recursive: true });
1305
1305
  await writeOutputFile(out, JSON.stringify(profile, null, 2));
@@ -1452,7 +1452,7 @@ ${g.blocking.map((f) => `- ${formatGateFinding(f)}`).join("\n")}` }],
1452
1452
  }
1453
1453
  let profile;
1454
1454
  if (profile_path) {
1455
- const { parseFormatProfileJson } = await import("./profile-io-MVTEOXAU.js");
1455
+ const { parseFormatProfileJson } = await import("./profile-io-FX2SDCMR.js");
1456
1456
  profile = parseFormatProfileJson(await readFile3(safePath(profile_path, PROFILE_EXTENSIONS), "utf-8"));
1457
1457
  }
1458
1458
  const out = safeOutputPath(output_path, /* @__PURE__ */ new Set([".hwpx"]));
@@ -1603,7 +1603,7 @@ function registerLintTools(server2) {
1603
1603
  let irBlocks;
1604
1604
  if (file_path !== void 0) {
1605
1605
  const { buffer, resolved } = await readValidatedFile(file_path, MAX_FILE_SIZE, ALLOWED_EXTENSIONS);
1606
- const { parse: parse2 } = await import("./-F7GLIIGT.js");
1606
+ const { parse: parse2 } = await import("./-S32WDXC4.js");
1607
1607
  const parsed = await parse2(buffer, { filePath: resolved });
1608
1608
  if (!parsed.success) throw new KordocError(`\uBB38\uC11C\uB97C \uC77D\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4 \u2014 ${parsed.error}`);
1609
1609
  body = parsed.markdown;
@@ -1662,7 +1662,7 @@ function registerConvertTools(server2) {
1662
1662
  if (!output_path && await access(outPath).then(() => true, () => false)) {
1663
1663
  throw new KordocError(`${outPath} \uC774(\uAC00) \uC774\uBBF8 \uC788\uC2B5\uB2C8\uB2E4 \u2014 \uB36E\uC5B4\uC4F0\uB824\uBA74 output_path \uB85C \uACBD\uB85C\uB97C \uC9C1\uC811 \uC9C0\uC815\uD558\uC138\uC694`);
1664
1664
  }
1665
- const { convertToHwpx, validateHwpx } = await import("./-F7GLIIGT.js");
1665
+ const { convertToHwpx, validateHwpx } = await import("./-S32WDXC4.js");
1666
1666
  const result = await convertToHwpx(buffer, { password, engine });
1667
1667
  const check = await validateHwpx(result.data);
1668
1668
  await mkdir4(dirname5(outPath), { recursive: true });
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ addMemoHwpx
4
+ } from "./chunk-IPYSZ2WD.js";
5
+ import "./chunk-FKCSNCWC.js";
6
+ import "./chunk-UOML7PVK.js";
7
+ import "./chunk-CQUOEZBJ.js";
8
+ import "./chunk-3AHL6YEA.js";
9
+ import "./chunk-U6CZ5IGF.js";
10
+ import "./chunk-JEPTA64I.js";
11
+ import "./chunk-WFKFG2RT.js";
12
+ import "./chunk-KFF47XZ7.js";
13
+ import "./chunk-VRJ3CABR.js";
14
+ export {
15
+ addMemoHwpx
16
+ };
17
+ //# sourceMappingURL=memo-R5CO35OZ.js.map
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  ALL_OCR_MODELS
4
- } from "./chunk-BHYBZSOC.js";
4
+ } from "./chunk-YZXGUJFI.js";
5
5
  import {
6
6
  ALL_FORMULA_MODELS,
7
7
  getModelStatusIn,
8
8
  getModelsDir
9
- } from "./chunk-6ZA4V4QS.js";
10
- import "./chunk-IMT5TVVM.js";
11
- import "./chunk-QK5KCWLE.js";
9
+ } from "./chunk-MCO77XJN.js";
10
+ import "./chunk-6DIACQ3R.js";
11
+ import "./chunk-VRJ3CABR.js";
12
12
 
13
13
  // src/shared/model-bundle.ts
14
14
  import { copyFile, mkdir } from "fs/promises";
@@ -101,4 +101,4 @@ export {
101
101
  importModels,
102
102
  modelCacheStatus
103
103
  };
104
- //# sourceMappingURL=model-bundle-VCUAKBF3.js.map
104
+ //# sourceMappingURL=model-bundle-KB7GFS7J.js.map
@@ -19,10 +19,10 @@ import {
19
19
  ocrSourcePath,
20
20
  parseCharacterDict,
21
21
  resolveOcrModels
22
- } from "./chunk-BHYBZSOC.js";
23
- import "./chunk-6ZA4V4QS.js";
24
- import "./chunk-IMT5TVVM.js";
25
- import "./chunk-QK5KCWLE.js";
22
+ } from "./chunk-YZXGUJFI.js";
23
+ import "./chunk-MCO77XJN.js";
24
+ import "./chunk-6DIACQ3R.js";
25
+ import "./chunk-VRJ3CABR.js";
26
26
  export {
27
27
  ALL_OCR_MODELS,
28
28
  DEFAULT_OCR_MODELS,
@@ -44,4 +44,4 @@ export {
44
44
  parseCharacterDict,
45
45
  resolveOcrModels
46
46
  };
47
- //# sourceMappingURL=models-UACAGYBI.js.map
47
+ //# sourceMappingURL=models-A6PYBE2Q.js.map
@@ -1,36 +1,36 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  parseWorkerFile
4
- } from "./chunk-DSCT67WF.js";
4
+ } from "./chunk-4GPZVPYG.js";
5
5
  import {
6
6
  insideSandbox
7
7
  } from "./chunk-7Y6KVNIT.js";
8
8
  import {
9
9
  lintBlocks
10
- } from "./chunk-RWU3Y5YK.js";
11
- import "./chunk-GFAWIBHG.js";
12
- import "./chunk-UJQRIX4L.js";
13
- import "./chunk-TYGZ6O2A.js";
14
- import "./chunk-2CPEW6WC.js";
10
+ } from "./chunk-O4MTW4JH.js";
11
+ import "./chunk-2SUWIRWH.js";
12
+ import "./chunk-4Q7L4IDD.js";
13
+ import "./chunk-GAZDWFRT.js";
14
+ import "./chunk-FTPYYLCR.js";
15
15
  import {
16
16
  PRESET_ALIAS
17
- } from "./chunk-RUUUGCXS.js";
18
- import "./chunk-OUHMNF2A.js";
19
- import "./chunk-ZPJZXTEG.js";
20
- import "./chunk-KGCJNPAI.js";
21
- import "./chunk-YPRIJDH6.js";
22
- import "./chunk-O7PJFEOC.js";
17
+ } from "./chunk-4QOTRR5Z.js";
18
+ import "./chunk-SNNM4GFE.js";
19
+ import "./chunk-IPYSZ2WD.js";
20
+ import "./chunk-FKCSNCWC.js";
21
+ import "./chunk-UOML7PVK.js";
22
+ import "./chunk-CQUOEZBJ.js";
23
23
  import "./chunk-3AHL6YEA.js";
24
- import "./chunk-D4UFBXMT.js";
25
- import "./chunk-LNWURZ2Z.js";
26
- import "./chunk-WMA4GJHC.js";
24
+ import "./chunk-U6CZ5IGF.js";
25
+ import "./chunk-GOQWCHX5.js";
26
+ import "./chunk-7N2L6FBB.js";
27
27
  import "./chunk-FU6ZDWCI.js";
28
28
  import "./chunk-OFVHQ2TZ.js";
29
- import "./chunk-YTDHH362.js";
29
+ import "./chunk-JEPTA64I.js";
30
30
  import "./chunk-WFKFG2RT.js";
31
31
  import "./chunk-3WSNLH4B.js";
32
- import "./chunk-5WWGC5SG.js";
33
- import "./chunk-HIYRMYAS.js";
32
+ import "./chunk-BD75GPTM.js";
33
+ import "./chunk-GK4OHUV5.js";
34
34
  import "./chunk-VQFA55IC.js";
35
35
  import "./chunk-GHHVT4Q5.js";
36
36
  import "./chunk-H7K5YHWQ.js";
@@ -38,13 +38,13 @@ import {
38
38
  validateOcrOptions
39
39
  } from "./chunk-IIOBUTXH.js";
40
40
  import "./chunk-QLZHIJWJ.js";
41
- import "./chunk-NPBNJCXZ.js";
42
- import "./chunk-2OF2YWIZ.js";
41
+ import "./chunk-C4K2XCGX.js";
42
+ import "./chunk-BJCTFKEU.js";
43
43
  import "./chunk-KFF47XZ7.js";
44
44
  import {
45
45
  VERSION,
46
46
  sanitizeError
47
- } from "./chunk-QK5KCWLE.js";
47
+ } from "./chunk-VRJ3CABR.js";
48
48
 
49
49
  // src/cli/parse-worker-v2.ts
50
50
  import { createHash } from "crypto";
@@ -387,4 +387,4 @@ export {
387
387
  runParseWorkerV2,
388
388
  toParseOptions
389
389
  };
390
- //# sourceMappingURL=parse-worker-v2-LJB4QXGF.js.map
390
+ //# sourceMappingURL=parse-worker-v2-OSOABIQB.js.map
@@ -6,7 +6,7 @@ import {
6
6
  isBlankRgba,
7
7
  loadQrReader,
8
8
  loadWebpEncoder
9
- } from "./chunk-UJQRIX4L.js";
9
+ } from "./chunk-4Q7L4IDD.js";
10
10
  import {
11
11
  encodePng
12
12
  } from "./chunk-FU6ZDWCI.js";
@@ -67,7 +67,7 @@ import {
67
67
  stripAbsorbedRunningLines,
68
68
  trimTrailingEmptyTableCols,
69
69
  wrapJoiner
70
- } from "./chunk-M27VBFO6.js";
70
+ } from "./chunk-SGQC3BVV.js";
71
71
  import {
72
72
  validateOcrOptions
73
73
  } from "./chunk-IIOBUTXH.js";
@@ -80,12 +80,12 @@ import {
80
80
  stripScriptTags,
81
81
  toTex,
82
82
  unframeLayoutTables
83
- } from "./chunk-NPBNJCXZ.js";
83
+ } from "./chunk-C4K2XCGX.js";
84
84
  import {
85
85
  assignTableIds,
86
86
  blocksToMarkdown,
87
87
  escapeLiteralDollar
88
- } from "./chunk-2OF2YWIZ.js";
88
+ } from "./chunk-BJCTFKEU.js";
89
89
  import {
90
90
  WINGDINGS,
91
91
  enclosedNumber,
@@ -96,13 +96,13 @@ import {
96
96
  handwritingFallbackModels,
97
97
  ocrModelsCached,
98
98
  resolveOcrModels
99
- } from "./chunk-BHYBZSOC.js";
100
- import "./chunk-6ZA4V4QS.js";
101
- import "./chunk-IMT5TVVM.js";
99
+ } from "./chunk-YZXGUJFI.js";
100
+ import "./chunk-MCO77XJN.js";
101
+ import "./chunk-6DIACQ3R.js";
102
102
  import {
103
103
  KordocError,
104
104
  sanitizeHref
105
- } from "./chunk-QK5KCWLE.js";
105
+ } from "./chunk-VRJ3CABR.js";
106
106
 
107
107
  // src/pdf/image-blank.ts
108
108
  import { createHash } from "crypto";
@@ -4729,7 +4729,7 @@ function mergeLinkRuns(markdown) {
4729
4729
 
4730
4730
  // src/pdf/formula-ocr.ts
4731
4731
  async function applyFormulaOcr(buffer, blocks, pageFilter, effectivePageCount, warnings, _onProgress) {
4732
- const formulaMod = await import("./formula-3PJYUQMG.js");
4732
+ const formulaMod = await import("./formula-WVFBIXND.js");
4733
4733
  const { FormulaPipeline, ensureFormulaModels } = formulaMod;
4734
4734
  await ensureFormulaModels((p) => {
4735
4735
  if (p.phase === "download" && p.total) {
@@ -5178,10 +5178,10 @@ async function parsePdfDocument(buffer, options) {
5178
5178
  }
5179
5179
  if (targets.size > 0) {
5180
5180
  try {
5181
- const { runPdfOcr } = await import("./pdf-ocr-YCMC2VL4.js");
5181
+ const { runPdfOcr } = await import("./pdf-ocr-RY6UZ5PG.js");
5182
5182
  const mode = typeof options?.ocr === "function" ? options.ocr : "builtin";
5183
5183
  const regionPages = new Map([...ocrRegions].filter(([p]) => options?.ocr !== "force" && !isImageBased && !pageQuality.find((q) => q.page === p)?.needsOcr));
5184
- const { builtinOcrConfig } = await import("./pdf-ocr-YCMC2VL4.js");
5184
+ const { builtinOcrConfig } = await import("./pdf-ocr-RY6UZ5PG.js");
5185
5185
  const ocrPageBlocks = await runPdfOcr(ocrBuffer, targets, mode, warnings, options?.onProgress, options?.tables !== false, vectorPageOps, regionPages, builtinOcrConfig(options), ocrLinesOut);
5186
5186
  for (const obs of ocrPageBlocks.values()) stripScriptTags({ blocks: obs });
5187
5187
  if (ocrPageBlocks.size > 0) {
@@ -5431,4 +5431,4 @@ export {
5431
5431
  parsePdfDocument,
5432
5432
  removeHeaderFooterBlocks
5433
5433
  };
5434
- //# sourceMappingURL=parser-5GZUD22P.js.map
5434
+ //# sourceMappingURL=parser-E2ZCR6UV.js.map
@@ -5,7 +5,7 @@ import {
5
5
  isBlankRgba,
6
6
  loadQrReader,
7
7
  loadWebpEncoder
8
- } from "./chunk-GRCIFCGC.js";
8
+ } from "./chunk-NHWWNRQT.js";
9
9
  import {
10
10
  encodePng
11
11
  } from "./chunk-UJELMNOU.js";
@@ -69,11 +69,11 @@ import {
69
69
  stripAbsorbedRunningLines,
70
70
  trimTrailingEmptyTableCols,
71
71
  wrapJoiner
72
- } from "./chunk-T7MHZIFG.js";
72
+ } from "./chunk-4ECEC6FD.js";
73
73
  import {
74
74
  validateOcrOptions
75
75
  } from "./chunk-TBGGAR7W.js";
76
- import "./chunk-KLUI4SAZ.js";
76
+ import "./chunk-MHYFBIS5.js";
77
77
  import {
78
78
  CELL_BASELINES,
79
79
  CELL_EDGES,
@@ -90,11 +90,11 @@ import {
90
90
  stripScriptTags,
91
91
  toTex,
92
92
  unframeLayoutTables
93
- } from "./chunk-MHXPW72E.js";
93
+ } from "./chunk-C3USRXCH.js";
94
94
  import {
95
95
  KordocError,
96
96
  sanitizeHref
97
- } from "./chunk-2VBRCIPI.js";
97
+ } from "./chunk-DIHV6CDK.js";
98
98
 
99
99
  // src/pdf/image-blank.ts
100
100
  import { createHash } from "crypto";
@@ -4721,7 +4721,7 @@ function mergeLinkRuns(markdown) {
4721
4721
 
4722
4722
  // src/pdf/formula-ocr.ts
4723
4723
  async function applyFormulaOcr(buffer, blocks, pageFilter, effectivePageCount, warnings, _onProgress) {
4724
- const formulaMod = await import("./formula-UJF4RZ6W.js");
4724
+ const formulaMod = await import("./formula-E5QNTLM3.js");
4725
4725
  const { FormulaPipeline, ensureFormulaModels } = formulaMod;
4726
4726
  await ensureFormulaModels((p) => {
4727
4727
  if (p.phase === "download" && p.total) {
@@ -5170,10 +5170,10 @@ async function parsePdfDocument(buffer, options) {
5170
5170
  }
5171
5171
  if (targets.size > 0) {
5172
5172
  try {
5173
- const { runPdfOcr } = await import("./pdf-ocr-JXVGK5MR.js");
5173
+ const { runPdfOcr } = await import("./pdf-ocr-B6QVPBMI.js");
5174
5174
  const mode = typeof options?.ocr === "function" ? options.ocr : "builtin";
5175
5175
  const regionPages = new Map([...ocrRegions].filter(([p]) => options?.ocr !== "force" && !isImageBased && !pageQuality.find((q) => q.page === p)?.needsOcr));
5176
- const { builtinOcrConfig } = await import("./pdf-ocr-JXVGK5MR.js");
5176
+ const { builtinOcrConfig } = await import("./pdf-ocr-B6QVPBMI.js");
5177
5177
  const ocrPageBlocks = await runPdfOcr(ocrBuffer, targets, mode, warnings, options?.onProgress, options?.tables !== false, vectorPageOps, regionPages, builtinOcrConfig(options), ocrLinesOut);
5178
5178
  for (const obs of ocrPageBlocks.values()) stripScriptTags({ blocks: obs });
5179
5179
  if (ocrPageBlocks.size > 0) {
@@ -5423,4 +5423,4 @@ export {
5423
5423
  parsePdfDocument,
5424
5424
  removeHeaderFooterBlocks
5425
5425
  };
5426
- //# sourceMappingURL=parser-HCZD4DUO.js.map
5426
+ //# sourceMappingURL=parser-F7Q2ENVO.js.map