kordoc 4.24.70 → 4.24.71
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.
- package/README.md +3 -3
- package/dist/{-JPBHAOIR.js → -F7GLIIGT.js} +21 -21
- package/dist/{chunk-KET32GPP.js → chunk-2CPEW6WC.js} +3 -3
- package/dist/{chunk-R6J7X4ND.js → chunk-2OF2YWIZ.js} +2 -2
- package/dist/{chunk-YY54476T.js → chunk-2VBRCIPI.js} +2 -2
- package/dist/{chunk-FPGY6TH2.js → chunk-5WWGC5SG.js} +2 -2
- package/dist/{chunk-N426QQP6.js → chunk-6ZA4V4QS.js} +2 -2
- package/dist/{chunk-XHBJCOWB.js → chunk-7KVDHXP2.js} +4 -4
- package/dist/{chunk-UMVD6PRZ.js → chunk-AUHQRRKM.js} +3 -3
- package/dist/{chunk-6UNCF3PJ.js → chunk-BHYBZSOC.js} +2 -2
- package/dist/{chunk-XRZERCPJ.cjs → chunk-BNP3WXTB.cjs} +3 -3
- package/dist/{chunk-XRZERCPJ.cjs.map → chunk-BNP3WXTB.cjs.map} +1 -1
- package/dist/{chunk-MU7YOHDK.js → chunk-D4UFBXMT.js} +2 -2
- package/dist/{chunk-JVVTJDJY.js → chunk-DSCT67WF.js} +3 -3
- package/dist/{chunk-MIERFAOB.js → chunk-EZNUMAAJ.js} +2 -2
- package/dist/{chunk-TAATW772.js → chunk-GFAWIBHG.js} +10 -10
- package/dist/{chunk-6PVJCEF7.js → chunk-GRCIFCGC.js} +2 -2
- package/dist/{chunk-EESBEBUC.cjs → chunk-H2VOH7X3.cjs} +82 -54
- package/dist/chunk-H2VOH7X3.cjs.map +1 -0
- package/dist/{chunk-QTRQ4KM3.js → chunk-HIYRMYAS.js} +2 -2
- package/dist/{chunk-LEITYWHM.js → chunk-IMT5TVVM.js} +2 -2
- package/dist/{chunk-VZ2J3654.js → chunk-KGCJNPAI.js} +5 -5
- package/dist/{chunk-Q4DDUA7U.js → chunk-KLUI4SAZ.js} +2 -2
- package/dist/{chunk-3EPX46NF.cjs → chunk-LFTO5QAP.cjs} +2 -2
- package/dist/{chunk-3EPX46NF.cjs.map → chunk-LFTO5QAP.cjs.map} +1 -1
- package/dist/{chunk-ZMPNA2W7.js → chunk-LNWURZ2Z.js} +7 -7
- package/dist/{chunk-N6XPJBIS.js → chunk-M27VBFO6.js} +60 -32
- package/dist/chunk-M27VBFO6.js.map +1 -0
- package/dist/{chunk-6SQF5PAM.js → chunk-MHXPW72E.js} +2 -2
- package/dist/{chunk-G3UCY3T7.js → chunk-NPBNJCXZ.js} +2 -2
- package/dist/{chunk-7CLI2Y6A.js → chunk-O7PJFEOC.js} +2 -2
- package/dist/{chunk-KV5YT6L4.js → chunk-OJK4FLS5.js} +3 -3
- package/dist/{chunk-UD7DB4U3.js → chunk-OUHMNF2A.js} +2 -2
- package/dist/{chunk-A5MTYCTO.cjs → chunk-OW2XKTQA.cjs} +8 -8
- package/dist/{chunk-A5MTYCTO.cjs.map → chunk-OW2XKTQA.cjs.map} +1 -1
- package/dist/{chunk-CVH5PB65.js → chunk-QK5KCWLE.js} +2 -2
- package/dist/{chunk-6T6VP4AQ.js → chunk-RUUUGCXS.js} +6 -6
- package/dist/{chunk-YG42FESS.js → chunk-RWU3Y5YK.js} +15 -15
- package/dist/{chunk-OTIYXYOL.cjs → chunk-SK5AOGYK.cjs} +104 -104
- package/dist/{chunk-OTIYXYOL.cjs.map → chunk-SK5AOGYK.cjs.map} +1 -1
- package/dist/{chunk-VCRBRUCO.js → chunk-SMEBVDM2.js} +5 -5
- package/dist/{chunk-G5YCISXC.js → chunk-T7MHZIFG.js} +61 -33
- package/dist/chunk-T7MHZIFG.js.map +1 -0
- package/dist/{chunk-WVQDRZF5.js → chunk-TYGZ6O2A.js} +11 -11
- package/dist/{chunk-OHSTI6C3.js → chunk-UJQRIX4L.js} +2 -2
- package/dist/{chunk-O2RV2FMS.js → chunk-WMA4GJHC.js} +5 -5
- package/dist/{chunk-7D6KEQNU.cjs → chunk-YISBYF7X.cjs} +58 -58
- package/dist/{chunk-7D6KEQNU.cjs.map → chunk-YISBYF7X.cjs.map} +1 -1
- package/dist/{chunk-JLMNWMZJ.cjs → chunk-YJ2YVG6N.cjs} +88 -88
- package/dist/{chunk-JLMNWMZJ.cjs.map → chunk-YJ2YVG6N.cjs.map} +1 -1
- package/dist/{chunk-ICK4R4HF.js → chunk-YPRIJDH6.js} +2 -2
- package/dist/{chunk-HUKGGV5M.js → chunk-YTDHH362.js} +2 -2
- package/dist/{chunk-NIFJSZR7.cjs → chunk-YTP7FPA5.cjs} +3 -3
- package/dist/{chunk-NIFJSZR7.cjs.map → chunk-YTP7FPA5.cjs.map} +1 -1
- package/dist/{chunk-RTQ2N6DG.js → chunk-ZPJZXTEG.js} +6 -6
- package/dist/chunks-JAD5Z5YY.js +11 -0
- package/dist/cli.js +45 -45
- package/dist/{formula-ESTBYQ67.js → formula-3PJYUQMG.js} +4 -4
- package/dist/{formula-BVDS6XNY.cjs → formula-RTPZD2IM.cjs} +9 -9
- package/dist/{formula-BVDS6XNY.cjs.map → formula-RTPZD2IM.cjs.map} +1 -1
- package/dist/{formula-BJU6ZM3X.js → formula-UJF4RZ6W.js} +3 -3
- package/dist/generator-EB2436BE.js +18 -0
- package/dist/generator-INMUN6KB.cjs +12 -0
- package/dist/{generator-JBGS3C5H.cjs.map → generator-INMUN6KB.cjs.map} +1 -1
- package/dist/generator-K5KMPSLC.js +11 -0
- package/dist/{hancom-YC2LGVBP.cjs → hancom-MVPEYI4X.cjs} +5 -5
- package/dist/{hancom-YC2LGVBP.cjs.map → hancom-MVPEYI4X.cjs.map} +1 -1
- package/dist/{hancom-TE4NLTFM.js → hancom-P3SUQXM4.js} +2 -2
- package/dist/{hancom-FINYE4NT.js → hancom-RYIZHWJ5.js} +2 -2
- package/dist/{image-ocr-TB5QRYYM.js → image-ocr-GL5YVCNU.js} +10 -10
- package/dist/{image-ocr-T77T2NQO.cjs → image-ocr-ZS4EMQN3.cjs} +28 -28
- package/dist/{image-ocr-T77T2NQO.cjs.map → image-ocr-ZS4EMQN3.cjs.map} +1 -1
- package/dist/{image-ocr-L256UYPI.js → image-ocr-ZXLHPQI2.js} +7 -7
- package/dist/index.cjs +1115 -1115
- package/dist/index.js +9 -9
- package/dist/mcp.js +36 -36
- package/dist/memo-JNMSGIO7.js +17 -0
- package/dist/{model-bundle-THGO5EUW.js → model-bundle-VCUAKBF3.js} +5 -5
- package/dist/{models-MKIZDK2U.js → models-UACAGYBI.js} +5 -5
- package/dist/{parse-worker-v2-MGNDWJDE.js → parse-worker-v2-LJB4QXGF.js} +22 -22
- package/dist/{parser-C6EZWRQM.js → parser-5GZUD22P.js} +12 -12
- package/dist/{parser-EULDI5W6.js → parser-HCZD4DUO.js} +9 -9
- package/dist/{parser-IC2X7P2S.cjs → parser-T4HAQ3QW.cjs} +166 -166
- package/dist/{parser-IC2X7P2S.cjs.map → parser-T4HAQ3QW.cjs.map} +1 -1
- package/dist/pdf-ocr-H4DKZSOB.cjs +43 -0
- package/dist/{pdf-ocr-7SNY67NL.cjs.map → pdf-ocr-H4DKZSOB.cjs.map} +1 -1
- package/dist/{pdf-ocr-LQ5SYFCE.js → pdf-ocr-JXVGK5MR.js} +6 -6
- package/dist/{pdf-ocr-4Y6VPEZC.js → pdf-ocr-YCMC2VL4.js} +9 -9
- package/dist/{profile-io-SDJTSIFY.js → profile-io-MVTEOXAU.js} +3 -3
- package/dist/{rasterize-TGFUBV6B.js → rasterize-VWT3C3RW.js} +3 -3
- package/dist/{redact-doc-X5WKER3O.js → redact-doc-SU3JDC6F.js} +21 -21
- package/dist/{render-6KIT7GYL.js → render-D5N4FKWB.js} +12 -12
- package/dist/{rewrite-fallback-ARYCZKU6.js → rewrite-fallback-QXTWSPGY.js} +13 -13
- package/dist/seal-Q3BD6CRB.js +16 -0
- package/dist/{setup-ZEMI2HI4.js → setup-TXNJYX6P.js} +3 -3
- package/dist/to-hwpx-KZTTH7EY.cjs +16 -0
- package/dist/{to-hwpx-MVDTG25O.cjs.map → to-hwpx-KZTTH7EY.cjs.map} +1 -1
- package/dist/{to-hwpx-QRVTR6VA.js → to-hwpx-YHGVFTBO.js} +4 -4
- package/dist/{to-hwpx-XCS6LSWE.js → to-hwpx-Z7NHUMUD.js} +7 -7
- package/dist/visual-LNHFYJDL.js +38 -0
- package/dist/{watch-LFL26YPL.js → watch-EI5QYDT2.js} +22 -22
- package/package.json +1 -1
- package/dist/chunk-EESBEBUC.cjs.map +0 -1
- package/dist/chunk-G5YCISXC.js.map +0 -1
- package/dist/chunk-N6XPJBIS.js.map +0 -1
- package/dist/chunks-7ABYRV7K.js +0 -11
- package/dist/generator-B5RBQFEP.js +0 -18
- package/dist/generator-JBGS3C5H.cjs +0 -12
- package/dist/generator-NZFUFJL4.js +0 -11
- package/dist/memo-VDT6J2FA.js +0 -17
- package/dist/pdf-ocr-7SNY67NL.cjs +0 -43
- package/dist/seal-4IPGOMFX.js +0 -16
- package/dist/to-hwpx-MVDTG25O.cjs +0 -16
- package/dist/visual-4D32BQGS.js +0 -38
- /package/dist/{-JPBHAOIR.js.map → -F7GLIIGT.js.map} +0 -0
- /package/dist/{chunk-KET32GPP.js.map → chunk-2CPEW6WC.js.map} +0 -0
- /package/dist/{chunk-R6J7X4ND.js.map → chunk-2OF2YWIZ.js.map} +0 -0
- /package/dist/{chunk-YY54476T.js.map → chunk-2VBRCIPI.js.map} +0 -0
- /package/dist/{chunk-FPGY6TH2.js.map → chunk-5WWGC5SG.js.map} +0 -0
- /package/dist/{chunk-N426QQP6.js.map → chunk-6ZA4V4QS.js.map} +0 -0
- /package/dist/{chunk-XHBJCOWB.js.map → chunk-7KVDHXP2.js.map} +0 -0
- /package/dist/{chunk-UMVD6PRZ.js.map → chunk-AUHQRRKM.js.map} +0 -0
- /package/dist/{chunk-6UNCF3PJ.js.map → chunk-BHYBZSOC.js.map} +0 -0
- /package/dist/{chunk-MU7YOHDK.js.map → chunk-D4UFBXMT.js.map} +0 -0
- /package/dist/{chunk-JVVTJDJY.js.map → chunk-DSCT67WF.js.map} +0 -0
- /package/dist/{chunk-MIERFAOB.js.map → chunk-EZNUMAAJ.js.map} +0 -0
- /package/dist/{chunk-TAATW772.js.map → chunk-GFAWIBHG.js.map} +0 -0
- /package/dist/{chunk-6PVJCEF7.js.map → chunk-GRCIFCGC.js.map} +0 -0
- /package/dist/{chunk-QTRQ4KM3.js.map → chunk-HIYRMYAS.js.map} +0 -0
- /package/dist/{chunk-LEITYWHM.js.map → chunk-IMT5TVVM.js.map} +0 -0
- /package/dist/{chunk-VZ2J3654.js.map → chunk-KGCJNPAI.js.map} +0 -0
- /package/dist/{chunk-Q4DDUA7U.js.map → chunk-KLUI4SAZ.js.map} +0 -0
- /package/dist/{chunk-ZMPNA2W7.js.map → chunk-LNWURZ2Z.js.map} +0 -0
- /package/dist/{chunk-6SQF5PAM.js.map → chunk-MHXPW72E.js.map} +0 -0
- /package/dist/{chunk-G3UCY3T7.js.map → chunk-NPBNJCXZ.js.map} +0 -0
- /package/dist/{chunk-7CLI2Y6A.js.map → chunk-O7PJFEOC.js.map} +0 -0
- /package/dist/{chunk-KV5YT6L4.js.map → chunk-OJK4FLS5.js.map} +0 -0
- /package/dist/{chunk-UD7DB4U3.js.map → chunk-OUHMNF2A.js.map} +0 -0
- /package/dist/{chunk-CVH5PB65.js.map → chunk-QK5KCWLE.js.map} +0 -0
- /package/dist/{chunk-6T6VP4AQ.js.map → chunk-RUUUGCXS.js.map} +0 -0
- /package/dist/{chunk-YG42FESS.js.map → chunk-RWU3Y5YK.js.map} +0 -0
- /package/dist/{chunk-VCRBRUCO.js.map → chunk-SMEBVDM2.js.map} +0 -0
- /package/dist/{chunk-WVQDRZF5.js.map → chunk-TYGZ6O2A.js.map} +0 -0
- /package/dist/{chunk-OHSTI6C3.js.map → chunk-UJQRIX4L.js.map} +0 -0
- /package/dist/{chunk-O2RV2FMS.js.map → chunk-WMA4GJHC.js.map} +0 -0
- /package/dist/{chunk-ICK4R4HF.js.map → chunk-YPRIJDH6.js.map} +0 -0
- /package/dist/{chunk-HUKGGV5M.js.map → chunk-YTDHH362.js.map} +0 -0
- /package/dist/{chunk-RTQ2N6DG.js.map → chunk-ZPJZXTEG.js.map} +0 -0
- /package/dist/{chunks-7ABYRV7K.js.map → chunks-JAD5Z5YY.js.map} +0 -0
- /package/dist/{formula-ESTBYQ67.js.map → formula-3PJYUQMG.js.map} +0 -0
- /package/dist/{formula-BJU6ZM3X.js.map → formula-UJF4RZ6W.js.map} +0 -0
- /package/dist/{generator-B5RBQFEP.js.map → generator-EB2436BE.js.map} +0 -0
- /package/dist/{generator-NZFUFJL4.js.map → generator-K5KMPSLC.js.map} +0 -0
- /package/dist/{hancom-TE4NLTFM.js.map → hancom-P3SUQXM4.js.map} +0 -0
- /package/dist/{hancom-FINYE4NT.js.map → hancom-RYIZHWJ5.js.map} +0 -0
- /package/dist/{image-ocr-TB5QRYYM.js.map → image-ocr-GL5YVCNU.js.map} +0 -0
- /package/dist/{image-ocr-L256UYPI.js.map → image-ocr-ZXLHPQI2.js.map} +0 -0
- /package/dist/{memo-VDT6J2FA.js.map → memo-JNMSGIO7.js.map} +0 -0
- /package/dist/{model-bundle-THGO5EUW.js.map → model-bundle-VCUAKBF3.js.map} +0 -0
- /package/dist/{models-MKIZDK2U.js.map → models-UACAGYBI.js.map} +0 -0
- /package/dist/{parse-worker-v2-MGNDWJDE.js.map → parse-worker-v2-LJB4QXGF.js.map} +0 -0
- /package/dist/{parser-C6EZWRQM.js.map → parser-5GZUD22P.js.map} +0 -0
- /package/dist/{parser-EULDI5W6.js.map → parser-HCZD4DUO.js.map} +0 -0
- /package/dist/{pdf-ocr-4Y6VPEZC.js.map → pdf-ocr-JXVGK5MR.js.map} +0 -0
- /package/dist/{pdf-ocr-LQ5SYFCE.js.map → pdf-ocr-YCMC2VL4.js.map} +0 -0
- /package/dist/{profile-io-SDJTSIFY.js.map → profile-io-MVTEOXAU.js.map} +0 -0
- /package/dist/{rasterize-TGFUBV6B.js.map → rasterize-VWT3C3RW.js.map} +0 -0
- /package/dist/{redact-doc-X5WKER3O.js.map → redact-doc-SU3JDC6F.js.map} +0 -0
- /package/dist/{render-6KIT7GYL.js.map → render-D5N4FKWB.js.map} +0 -0
- /package/dist/{rewrite-fallback-ARYCZKU6.js.map → rewrite-fallback-QXTWSPGY.js.map} +0 -0
- /package/dist/{seal-4IPGOMFX.js.map → seal-Q3BD6CRB.js.map} +0 -0
- /package/dist/{setup-ZEMI2HI4.js.map → setup-TXNJYX6P.js.map} +0 -0
- /package/dist/{to-hwpx-QRVTR6VA.js.map → to-hwpx-YHGVFTBO.js.map} +0 -0
- /package/dist/{to-hwpx-XCS6LSWE.js.map → to-hwpx-Z7NHUMUD.js.map} +0 -0
- /package/dist/{visual-4D32BQGS.js.map → visual-LNHFYJDL.js.map} +0 -0
- /package/dist/{watch-LFL26YPL.js.map → watch-EI5QYDT2.js.map} +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// src/utils.ts
|
|
4
4
|
import { format } from "util";
|
|
5
|
-
var VERSION = true ? "4.24.
|
|
5
|
+
var VERSION = true ? "4.24.71" : "0.0.0-dev";
|
|
6
6
|
function toArrayBuffer(buf) {
|
|
7
7
|
if (buf.byteOffset === 0 && buf.byteLength === buf.buffer.byteLength) {
|
|
8
8
|
return buf.buffer;
|
|
@@ -197,4 +197,4 @@ export {
|
|
|
197
197
|
classifyError,
|
|
198
198
|
partExtension
|
|
199
199
|
};
|
|
200
|
-
//# sourceMappingURL=chunk-
|
|
200
|
+
//# sourceMappingURL=chunk-QK5KCWLE.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
readSectionNoteFormats,
|
|
13
13
|
resolveParaHeading,
|
|
14
14
|
simulateWrap
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OUHMNF2A.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-
|
|
41
|
+
} from "./chunk-D4UFBXMT.js";
|
|
42
42
|
import {
|
|
43
43
|
CONVERT_MAP,
|
|
44
44
|
MIDDLE_CONVERT_MAP,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
escapeLiteralTags,
|
|
61
61
|
tidyScriptTags,
|
|
62
62
|
wrapScript
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-NPBNJCXZ.js";
|
|
64
64
|
import {
|
|
65
65
|
MAX_COLS,
|
|
66
66
|
MAX_ROWS,
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
noteTableHtml,
|
|
79
79
|
sanitizeText,
|
|
80
80
|
visibleText
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-2OF2YWIZ.js";
|
|
82
82
|
import {
|
|
83
83
|
circledHangul,
|
|
84
84
|
circledNumber,
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
sanitizeHref,
|
|
102
102
|
stripDtd,
|
|
103
103
|
unescapeHtml
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-QK5KCWLE.js";
|
|
105
105
|
|
|
106
106
|
// src/hwpx/generator.ts
|
|
107
107
|
import JSZip2 from "jszip";
|
|
@@ -10887,4 +10887,4 @@ export {
|
|
|
10887
10887
|
markdownToHwpxFromTemplate,
|
|
10888
10888
|
markdownToHwpx
|
|
10889
10889
|
};
|
|
10890
|
-
//# sourceMappingURL=chunk-
|
|
10890
|
+
//# sourceMappingURL=chunk-RUUUGCXS.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
extractRenderedRegions,
|
|
4
4
|
renderDocumentToScene
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GFAWIBHG.js";
|
|
6
6
|
import {
|
|
7
7
|
WEBP_OPTIONS,
|
|
8
8
|
blocksToPages,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
loadSharp,
|
|
11
11
|
readImageQrCodes,
|
|
12
12
|
toBuffer
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UJQRIX4L.js";
|
|
14
14
|
import {
|
|
15
15
|
applyCellEdit,
|
|
16
16
|
buildOrigUnits,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
resolveParagraphMappings,
|
|
24
24
|
resolveSectionEntryNames,
|
|
25
25
|
stripCellTokens
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TYGZ6O2A.js";
|
|
27
27
|
import {
|
|
28
28
|
TOTAL_LABEL_RE,
|
|
29
29
|
comResultToParseResult,
|
|
@@ -49,10 +49,10 @@ import {
|
|
|
49
49
|
stripHeadMarker,
|
|
50
50
|
summarize,
|
|
51
51
|
topLevelParagraphs
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-RUUUGCXS.js";
|
|
53
53
|
import {
|
|
54
54
|
patchZipEntries
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-O7PJFEOC.js";
|
|
56
56
|
import {
|
|
57
57
|
ANNOTATION_BLANK_RE,
|
|
58
58
|
ValueCursor,
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
rawTextContent,
|
|
92
92
|
readZipEntry,
|
|
93
93
|
warnInto
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-D4UFBXMT.js";
|
|
95
95
|
import {
|
|
96
96
|
INLINE_TABLE_MARK,
|
|
97
97
|
blocksPlainText,
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
memosMarkdown,
|
|
105
105
|
parseHwp5Document,
|
|
106
106
|
resolveImageBlocks
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-WMA4GJHC.js";
|
|
108
108
|
import {
|
|
109
109
|
MAX_PIXELS,
|
|
110
110
|
bmpToPng,
|
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
stripScriptTags,
|
|
137
137
|
tidyScriptTags,
|
|
138
138
|
wrapScript
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-NPBNJCXZ.js";
|
|
140
140
|
import {
|
|
141
141
|
MAX_COLS,
|
|
142
142
|
MAX_ROWS,
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
flattenLayoutTables,
|
|
148
148
|
hasStructuredCellContent,
|
|
149
149
|
sanitizeText
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-2OF2YWIZ.js";
|
|
151
151
|
import {
|
|
152
152
|
hangulAmount,
|
|
153
153
|
mapPuaText
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
toArrayBuffer,
|
|
170
170
|
unescapeHtml,
|
|
171
171
|
unzipLimitBytes
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-QK5KCWLE.js";
|
|
173
173
|
|
|
174
174
|
// src/table/visual.ts
|
|
175
175
|
import { readFile as readFile2 } from "fs/promises";
|
|
@@ -16945,7 +16945,7 @@ var MIN_SIDE = 24;
|
|
|
16945
16945
|
async function ocrEmbeddedImages(blocks, options, warnings) {
|
|
16946
16946
|
const ocr = options?.ocr;
|
|
16947
16947
|
if (ocr !== true && ocr !== "force" && typeof ocr !== "function") return false;
|
|
16948
|
-
const { parseImageDocument } = await import("./image-ocr-
|
|
16948
|
+
const { parseImageDocument } = await import("./image-ocr-GL5YVCNU.js");
|
|
16949
16949
|
let inserted = false, unreadable = 0;
|
|
16950
16950
|
let failed = null;
|
|
16951
16951
|
const walk = async (list, depth) => {
|
|
@@ -20642,7 +20642,7 @@ function scriptsOff(r, off) {
|
|
|
20642
20642
|
}
|
|
20643
20643
|
async function parseImage(buffer, options) {
|
|
20644
20644
|
try {
|
|
20645
|
-
const { parseImageDocument } = await import("./image-ocr-
|
|
20645
|
+
const { parseImageDocument } = await import("./image-ocr-GL5YVCNU.js");
|
|
20646
20646
|
const { blocks, warnings, lines } = await parseImageDocument(buffer, options);
|
|
20647
20647
|
stripScriptTags({ blocks });
|
|
20648
20648
|
return {
|
|
@@ -20717,7 +20717,7 @@ async function parseHwp(buffer, options) {
|
|
|
20717
20717
|
async function parsePdf(buffer, options) {
|
|
20718
20718
|
let parsePdfDocument;
|
|
20719
20719
|
try {
|
|
20720
|
-
const mod = await import("./parser-
|
|
20720
|
+
const mod = await import("./parser-5GZUD22P.js");
|
|
20721
20721
|
parsePdfDocument = mod.parsePdfDocument;
|
|
20722
20722
|
} catch {
|
|
20723
20723
|
return {
|
|
@@ -20799,7 +20799,7 @@ async function fillForm(input, values, outputFormat = "markdown") {
|
|
|
20799
20799
|
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})`);
|
|
20800
20800
|
}
|
|
20801
20801
|
} else if (format2 === "hwp" && detectOle2Format(buffer) === "hwp") {
|
|
20802
|
-
const { hwpToHwpx: hwpToHwpx2 } = await import("./to-hwpx-
|
|
20802
|
+
const { hwpToHwpx: hwpToHwpx2 } = await import("./to-hwpx-Z7NHUMUD.js");
|
|
20803
20803
|
const hwpx = await hwpToHwpx2(new Uint8Array(buffer));
|
|
20804
20804
|
buffer = hwpx.buffer.slice(hwpx.byteOffset, hwpx.byteOffset + hwpx.byteLength);
|
|
20805
20805
|
} else {
|
|
@@ -20949,4 +20949,4 @@ export {
|
|
|
20949
20949
|
parseHwpml,
|
|
20950
20950
|
fillForm
|
|
20951
20951
|
};
|
|
20952
|
-
//# sourceMappingURL=chunk-
|
|
20952
|
+
//# sourceMappingURL=chunk-RWU3Y5YK.js.map
|