kordoc 4.24.69 → 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 +4 -4
- package/dist/{-KG4BXVPV.js → -F7GLIIGT.js} +21 -21
- package/dist/{chunk-3MQXPZ6R.js → chunk-2CPEW6WC.js} +3 -3
- package/dist/{chunk-3LYXCBQ6.js → chunk-2OF2YWIZ.js} +2 -2
- package/dist/{chunk-PZ7NOQHD.js → chunk-2VBRCIPI.js} +2 -2
- package/dist/{chunk-OWYYRDZR.js → chunk-5WWGC5SG.js} +2 -2
- package/dist/{chunk-LERHV2DV.js → chunk-6ZA4V4QS.js} +2 -2
- package/dist/{chunk-EBBPXRLU.js → chunk-7KVDHXP2.js} +4 -4
- package/dist/{chunk-YBV3DCBB.js → chunk-AUHQRRKM.js} +3 -3
- package/dist/{chunk-6RAP7IYO.js → chunk-BHYBZSOC.js} +2 -2
- package/dist/{chunk-YYGN4RAC.cjs → chunk-BNP3WXTB.cjs} +3 -3
- package/dist/{chunk-YYGN4RAC.cjs.map → chunk-BNP3WXTB.cjs.map} +1 -1
- package/dist/{chunk-53KBBSHJ.js → chunk-D4UFBXMT.js} +2 -2
- package/dist/{chunk-QXZZ37WG.js → chunk-DSCT67WF.js} +3 -3
- package/dist/{chunk-C3OMT5XO.js → chunk-EZNUMAAJ.js} +2 -2
- package/dist/{chunk-4NPX2NIK.js → chunk-GFAWIBHG.js} +10 -10
- package/dist/{chunk-KXVMRGSM.js → chunk-GRCIFCGC.js} +2 -2
- package/dist/{chunk-SQXRRR75.cjs → chunk-H2VOH7X3.cjs} +246 -198
- package/dist/chunk-H2VOH7X3.cjs.map +1 -0
- package/dist/{chunk-AAIU5QXZ.js → chunk-HIYRMYAS.js} +2 -2
- package/dist/{chunk-OYXFVDEL.js → chunk-IMT5TVVM.js} +2 -2
- package/dist/{chunk-KCA54CHN.js → chunk-KGCJNPAI.js} +5 -5
- package/dist/{chunk-EM6II5KB.js → chunk-KLUI4SAZ.js} +2 -2
- package/dist/{chunk-4SKZG3K4.cjs → chunk-LFTO5QAP.cjs} +2 -2
- package/dist/{chunk-4SKZG3K4.cjs.map → chunk-LFTO5QAP.cjs.map} +1 -1
- package/dist/{chunk-4P4ZWHNQ.js → chunk-LNWURZ2Z.js} +7 -7
- package/dist/{chunk-V37SADMF.js → chunk-M27VBFO6.js} +83 -35
- package/dist/chunk-M27VBFO6.js.map +1 -0
- package/dist/{chunk-I776RNAM.js → chunk-MHXPW72E.js} +2 -2
- package/dist/{chunk-YJA4HQUO.js → chunk-NPBNJCXZ.js} +2 -2
- package/dist/{chunk-3APUYEC6.js → chunk-O7PJFEOC.js} +2 -2
- package/dist/{chunk-3CUPBG7W.js → chunk-OJK4FLS5.js} +3 -3
- package/dist/{chunk-U456OELH.js → chunk-OUHMNF2A.js} +2 -2
- package/dist/{chunk-AQSU4NAT.cjs → chunk-OW2XKTQA.cjs} +8 -8
- package/dist/{chunk-AQSU4NAT.cjs.map → chunk-OW2XKTQA.cjs.map} +1 -1
- package/dist/{chunk-ZPSCL2UV.js → chunk-QK5KCWLE.js} +2 -2
- package/dist/{chunk-FQHTZNNA.js → chunk-RUUUGCXS.js} +6 -6
- package/dist/{chunk-MQHAFMEU.js → chunk-RWU3Y5YK.js} +15 -15
- package/dist/{chunk-5ZDXCGBI.cjs → chunk-SK5AOGYK.cjs} +104 -104
- package/dist/{chunk-5ZDXCGBI.cjs.map → chunk-SK5AOGYK.cjs.map} +1 -1
- package/dist/{chunk-6ZWX733V.js → chunk-SMEBVDM2.js} +7 -6
- package/dist/chunk-SMEBVDM2.js.map +1 -0
- package/dist/{chunk-R32ERRRI.js → chunk-T7MHZIFG.js} +84 -36
- package/dist/chunk-T7MHZIFG.js.map +1 -0
- package/dist/{chunk-GMTI7GBK.js → chunk-TYGZ6O2A.js} +11 -11
- package/dist/{chunk-OEBMM2WZ.js → chunk-UJQRIX4L.js} +2 -2
- package/dist/{chunk-XHAM4CGG.js → chunk-WMA4GJHC.js} +7 -6
- package/dist/chunk-WMA4GJHC.js.map +1 -0
- package/dist/{chunk-6T2QXCFD.cjs → chunk-YISBYF7X.cjs} +60 -59
- package/dist/chunk-YISBYF7X.cjs.map +1 -0
- package/dist/{chunk-OZWNUIUS.cjs → chunk-YJ2YVG6N.cjs} +88 -88
- package/dist/{chunk-OZWNUIUS.cjs.map → chunk-YJ2YVG6N.cjs.map} +1 -1
- package/dist/{chunk-JDHX44G4.js → chunk-YPRIJDH6.js} +2 -2
- package/dist/{chunk-ONKURIVQ.js → chunk-YTDHH362.js} +2 -2
- package/dist/{chunk-6RWM6WRI.cjs → chunk-YTP7FPA5.cjs} +3 -3
- package/dist/{chunk-6RWM6WRI.cjs.map → chunk-YTP7FPA5.cjs.map} +1 -1
- package/dist/{chunk-MHRKKMCS.js → chunk-ZPJZXTEG.js} +6 -6
- package/dist/chunks-JAD5Z5YY.js +11 -0
- package/dist/cli.js +45 -45
- package/dist/{formula-ACYUF2DL.js → formula-3PJYUQMG.js} +4 -4
- package/dist/{formula-4HIPZCUM.cjs → formula-RTPZD2IM.cjs} +9 -9
- package/dist/{formula-4HIPZCUM.cjs.map → formula-RTPZD2IM.cjs.map} +1 -1
- package/dist/{formula-TO3RLKBZ.js → formula-UJF4RZ6W.js} +3 -3
- package/dist/generator-EB2436BE.js +18 -0
- package/dist/generator-INMUN6KB.cjs +12 -0
- package/dist/{generator-UAEKNWCY.cjs.map → generator-INMUN6KB.cjs.map} +1 -1
- package/dist/generator-K5KMPSLC.js +11 -0
- package/dist/{hancom-4FAVUJFH.cjs → hancom-MVPEYI4X.cjs} +5 -5
- package/dist/{hancom-4FAVUJFH.cjs.map → hancom-MVPEYI4X.cjs.map} +1 -1
- package/dist/{hancom-JLRWAJ7K.js → hancom-P3SUQXM4.js} +2 -2
- package/dist/{hancom-FCNE5FBM.js → hancom-RYIZHWJ5.js} +2 -2
- package/dist/{image-ocr-53K5Y7RJ.js → image-ocr-GL5YVCNU.js} +10 -10
- package/dist/{image-ocr-HGYEY56S.cjs → image-ocr-ZS4EMQN3.cjs} +28 -28
- package/dist/{image-ocr-HGYEY56S.cjs.map → image-ocr-ZS4EMQN3.cjs.map} +1 -1
- package/dist/{image-ocr-ZIHIC6E7.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-VR77PCZE.js → model-bundle-VCUAKBF3.js} +5 -5
- package/dist/{models-CLF7ODRG.js → models-UACAGYBI.js} +5 -5
- package/dist/{parse-worker-v2-WXRS3WBA.js → parse-worker-v2-LJB4QXGF.js} +22 -22
- package/dist/{parser-LKSBUPHG.js → parser-5GZUD22P.js} +12 -12
- package/dist/{parser-H27KVKB7.js → parser-HCZD4DUO.js} +9 -9
- package/dist/{parser-7UHFKMVL.cjs → parser-T4HAQ3QW.cjs} +166 -166
- package/dist/{parser-7UHFKMVL.cjs.map → parser-T4HAQ3QW.cjs.map} +1 -1
- package/dist/pdf-ocr-H4DKZSOB.cjs +43 -0
- package/dist/{pdf-ocr-Z22C7K6C.cjs.map → pdf-ocr-H4DKZSOB.cjs.map} +1 -1
- package/dist/{pdf-ocr-AYLXK6OF.js → pdf-ocr-JXVGK5MR.js} +6 -6
- package/dist/{pdf-ocr-ABMCDMIV.js → pdf-ocr-YCMC2VL4.js} +9 -9
- package/dist/{profile-io-HGOQULXZ.js → profile-io-MVTEOXAU.js} +3 -3
- package/dist/{rasterize-5RWYKMSP.js → rasterize-VWT3C3RW.js} +3 -3
- package/dist/{redact-doc-HNKVSOLJ.js → redact-doc-SU3JDC6F.js} +21 -21
- package/dist/{render-TUDHFNDV.js → render-D5N4FKWB.js} +12 -12
- package/dist/{rewrite-fallback-EWVH2MR4.js → rewrite-fallback-QXTWSPGY.js} +13 -13
- package/dist/seal-Q3BD6CRB.js +16 -0
- package/dist/{setup-5EEOZUUH.js → setup-TXNJYX6P.js} +3 -3
- package/dist/to-hwpx-KZTTH7EY.cjs +16 -0
- package/dist/{to-hwpx-RNZ72ZYF.cjs.map → to-hwpx-KZTTH7EY.cjs.map} +1 -1
- package/dist/{to-hwpx-UHNIAQ2L.js → to-hwpx-YHGVFTBO.js} +4 -4
- package/dist/{to-hwpx-6KY7WGVN.js → to-hwpx-Z7NHUMUD.js} +7 -7
- package/dist/visual-LNHFYJDL.js +38 -0
- package/dist/{watch-SZJOKRCO.js → watch-EI5QYDT2.js} +22 -22
- package/package.json +1 -1
- package/dist/chunk-6T2QXCFD.cjs.map +0 -1
- package/dist/chunk-6ZWX733V.js.map +0 -1
- package/dist/chunk-R32ERRRI.js.map +0 -1
- package/dist/chunk-SQXRRR75.cjs.map +0 -1
- package/dist/chunk-V37SADMF.js.map +0 -1
- package/dist/chunk-XHAM4CGG.js.map +0 -1
- package/dist/chunks-HN36MEGV.js +0 -11
- package/dist/generator-5NUDHWLL.js +0 -11
- package/dist/generator-K2CNNN64.js +0 -18
- package/dist/generator-UAEKNWCY.cjs +0 -12
- package/dist/memo-ALIRNVIU.js +0 -17
- package/dist/pdf-ocr-Z22C7K6C.cjs +0 -43
- package/dist/seal-R6WDXSRI.js +0 -16
- package/dist/to-hwpx-RNZ72ZYF.cjs +0 -16
- package/dist/visual-Z5HND4S7.js +0 -38
- /package/dist/{-KG4BXVPV.js.map → -F7GLIIGT.js.map} +0 -0
- /package/dist/{chunk-3MQXPZ6R.js.map → chunk-2CPEW6WC.js.map} +0 -0
- /package/dist/{chunk-3LYXCBQ6.js.map → chunk-2OF2YWIZ.js.map} +0 -0
- /package/dist/{chunk-PZ7NOQHD.js.map → chunk-2VBRCIPI.js.map} +0 -0
- /package/dist/{chunk-OWYYRDZR.js.map → chunk-5WWGC5SG.js.map} +0 -0
- /package/dist/{chunk-LERHV2DV.js.map → chunk-6ZA4V4QS.js.map} +0 -0
- /package/dist/{chunk-EBBPXRLU.js.map → chunk-7KVDHXP2.js.map} +0 -0
- /package/dist/{chunk-YBV3DCBB.js.map → chunk-AUHQRRKM.js.map} +0 -0
- /package/dist/{chunk-6RAP7IYO.js.map → chunk-BHYBZSOC.js.map} +0 -0
- /package/dist/{chunk-53KBBSHJ.js.map → chunk-D4UFBXMT.js.map} +0 -0
- /package/dist/{chunk-QXZZ37WG.js.map → chunk-DSCT67WF.js.map} +0 -0
- /package/dist/{chunk-C3OMT5XO.js.map → chunk-EZNUMAAJ.js.map} +0 -0
- /package/dist/{chunk-4NPX2NIK.js.map → chunk-GFAWIBHG.js.map} +0 -0
- /package/dist/{chunk-KXVMRGSM.js.map → chunk-GRCIFCGC.js.map} +0 -0
- /package/dist/{chunk-AAIU5QXZ.js.map → chunk-HIYRMYAS.js.map} +0 -0
- /package/dist/{chunk-OYXFVDEL.js.map → chunk-IMT5TVVM.js.map} +0 -0
- /package/dist/{chunk-KCA54CHN.js.map → chunk-KGCJNPAI.js.map} +0 -0
- /package/dist/{chunk-EM6II5KB.js.map → chunk-KLUI4SAZ.js.map} +0 -0
- /package/dist/{chunk-4P4ZWHNQ.js.map → chunk-LNWURZ2Z.js.map} +0 -0
- /package/dist/{chunk-I776RNAM.js.map → chunk-MHXPW72E.js.map} +0 -0
- /package/dist/{chunk-YJA4HQUO.js.map → chunk-NPBNJCXZ.js.map} +0 -0
- /package/dist/{chunk-3APUYEC6.js.map → chunk-O7PJFEOC.js.map} +0 -0
- /package/dist/{chunk-3CUPBG7W.js.map → chunk-OJK4FLS5.js.map} +0 -0
- /package/dist/{chunk-U456OELH.js.map → chunk-OUHMNF2A.js.map} +0 -0
- /package/dist/{chunk-ZPSCL2UV.js.map → chunk-QK5KCWLE.js.map} +0 -0
- /package/dist/{chunk-FQHTZNNA.js.map → chunk-RUUUGCXS.js.map} +0 -0
- /package/dist/{chunk-MQHAFMEU.js.map → chunk-RWU3Y5YK.js.map} +0 -0
- /package/dist/{chunk-GMTI7GBK.js.map → chunk-TYGZ6O2A.js.map} +0 -0
- /package/dist/{chunk-OEBMM2WZ.js.map → chunk-UJQRIX4L.js.map} +0 -0
- /package/dist/{chunk-JDHX44G4.js.map → chunk-YPRIJDH6.js.map} +0 -0
- /package/dist/{chunk-ONKURIVQ.js.map → chunk-YTDHH362.js.map} +0 -0
- /package/dist/{chunk-MHRKKMCS.js.map → chunk-ZPJZXTEG.js.map} +0 -0
- /package/dist/{chunks-HN36MEGV.js.map → chunks-JAD5Z5YY.js.map} +0 -0
- /package/dist/{formula-ACYUF2DL.js.map → formula-3PJYUQMG.js.map} +0 -0
- /package/dist/{formula-TO3RLKBZ.js.map → formula-UJF4RZ6W.js.map} +0 -0
- /package/dist/{generator-5NUDHWLL.js.map → generator-EB2436BE.js.map} +0 -0
- /package/dist/{generator-K2CNNN64.js.map → generator-K5KMPSLC.js.map} +0 -0
- /package/dist/{hancom-JLRWAJ7K.js.map → hancom-P3SUQXM4.js.map} +0 -0
- /package/dist/{hancom-FCNE5FBM.js.map → hancom-RYIZHWJ5.js.map} +0 -0
- /package/dist/{image-ocr-53K5Y7RJ.js.map → image-ocr-GL5YVCNU.js.map} +0 -0
- /package/dist/{image-ocr-ZIHIC6E7.js.map → image-ocr-ZXLHPQI2.js.map} +0 -0
- /package/dist/{memo-ALIRNVIU.js.map → memo-JNMSGIO7.js.map} +0 -0
- /package/dist/{model-bundle-VR77PCZE.js.map → model-bundle-VCUAKBF3.js.map} +0 -0
- /package/dist/{models-CLF7ODRG.js.map → models-UACAGYBI.js.map} +0 -0
- /package/dist/{parse-worker-v2-WXRS3WBA.js.map → parse-worker-v2-LJB4QXGF.js.map} +0 -0
- /package/dist/{parser-LKSBUPHG.js.map → parser-5GZUD22P.js.map} +0 -0
- /package/dist/{parser-H27KVKB7.js.map → parser-HCZD4DUO.js.map} +0 -0
- /package/dist/{pdf-ocr-ABMCDMIV.js.map → pdf-ocr-JXVGK5MR.js.map} +0 -0
- /package/dist/{pdf-ocr-AYLXK6OF.js.map → pdf-ocr-YCMC2VL4.js.map} +0 -0
- /package/dist/{profile-io-HGOQULXZ.js.map → profile-io-MVTEOXAU.js.map} +0 -0
- /package/dist/{rasterize-5RWYKMSP.js.map → rasterize-VWT3C3RW.js.map} +0 -0
- /package/dist/{redact-doc-HNKVSOLJ.js.map → redact-doc-SU3JDC6F.js.map} +0 -0
- /package/dist/{render-TUDHFNDV.js.map → render-D5N4FKWB.js.map} +0 -0
- /package/dist/{rewrite-fallback-EWVH2MR4.js.map → rewrite-fallback-QXTWSPGY.js.map} +0 -0
- /package/dist/{seal-R6WDXSRI.js.map → seal-Q3BD6CRB.js.map} +0 -0
- /package/dist/{setup-5EEOZUUH.js.map → setup-TXNJYX6P.js.map} +0 -0
- /package/dist/{to-hwpx-6KY7WGVN.js.map → to-hwpx-YHGVFTBO.js.map} +0 -0
- /package/dist/{to-hwpx-UHNIAQ2L.js.map → to-hwpx-Z7NHUMUD.js.map} +0 -0
- /package/dist/{visual-Z5HND4S7.js.map → visual-LNHFYJDL.js.map} +0 -0
- /package/dist/{watch-SZJOKRCO.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
|