kordoc 4.24.37 → 4.24.39
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/{-HX3RWDQF.js → -7VE547IT.js} +60 -60
- package/dist/{chunk-4MWGWS3B.js → chunk-2XXTL4S4.js} +2 -2
- package/dist/{chunk-J26TNCL7.js → chunk-346W5O2J.js} +2 -2
- package/dist/{chunk-LM7LYH54.js → chunk-3MHRL3OO.js} +2 -2
- package/dist/{chunk-TQBNSAAS.js → chunk-4FWLCWNU.js} +2 -2
- package/dist/{chunk-6QK6ZQTF.js → chunk-7AYP2XO6.js} +3 -3
- package/dist/{chunk-YNIZLSM4.js → chunk-7BQWFZJO.js} +8 -8
- package/dist/{chunk-OTB6UOIB.js → chunk-7ZRUR4TZ.js} +2 -2
- package/dist/{chunk-IWCWO3GP.js → chunk-BWBR5GWQ.js} +2 -2
- package/dist/{chunk-P3SZJJRK.js → chunk-COH7WXBK.js} +7 -7
- package/dist/{chunk-524MGRNW.js → chunk-CS76UPUC.js} +125 -21
- package/dist/chunk-CS76UPUC.js.map +1 -0
- package/dist/{chunk-LWSMZJLR.js → chunk-F2JYJ2SP.js} +2 -2
- package/dist/{chunk-MTSWWXSB.js → chunk-FRMJTW3C.js} +2 -2
- package/dist/{chunk-JRVZBYQ2.js → chunk-FZMZUX7B.js} +130 -21
- package/dist/chunk-FZMZUX7B.js.map +1 -0
- package/dist/{chunk-J42O5KBX.js → chunk-GXED6LJX.js} +2 -2
- package/dist/{chunk-E527FG6I.cjs → chunk-IM5SIGUN.cjs} +3 -3
- package/dist/{chunk-E527FG6I.cjs.map → chunk-IM5SIGUN.cjs.map} +1 -1
- package/dist/{chunk-RR2FKPFN.js → chunk-IZWZ3RQC.js} +2 -2
- package/dist/{chunk-RR2FKPFN.js.map → chunk-IZWZ3RQC.js.map} +1 -1
- package/dist/{chunk-BT5RPLV4.js → chunk-L23XOAKF.js} +19 -19
- package/dist/{chunk-WZUTLJP2.cjs → chunk-LE3733C2.cjs} +212 -108
- package/dist/chunk-LE3733C2.cjs.map +1 -0
- package/dist/{chunk-2LDFUVVF.js → chunk-LOJYJISM.js} +16 -7
- package/dist/chunk-LOJYJISM.js.map +1 -0
- package/dist/{chunk-KGX4TLBX.cjs → chunk-LU7X6LLW.cjs} +3 -3
- package/dist/{chunk-KGX4TLBX.cjs.map → chunk-LU7X6LLW.cjs.map} +1 -1
- package/dist/{chunk-DRDW5ULI.js → chunk-M2ZRTYQ5.js} +14 -14
- package/dist/{chunk-QWYIYVIZ.cjs → chunk-MANE7HAZ.cjs} +2 -2
- package/dist/{chunk-QWYIYVIZ.cjs.map → chunk-MANE7HAZ.cjs.map} +1 -1
- package/dist/{chunk-XCMDIXWE.js → chunk-NL5OTD2E.js} +32 -32
- package/dist/{chunk-ONCXLQV4.js → chunk-NQJL3664.js} +3 -3
- package/dist/{chunk-KFJKRST5.js → chunk-PFHMNNW7.js} +126 -17
- package/dist/chunk-PFHMNNW7.js.map +1 -0
- package/dist/{chunk-OHLJEWS6.js → chunk-PHVAJBHM.js} +2 -2
- package/dist/{chunk-7GN7O3K2.js → chunk-PQIIYKNL.js} +51 -51
- package/dist/{chunk-T7K3CLXM.js → chunk-QDPYTJ4Y.js} +2 -2
- package/dist/{chunk-7MGZWDO4.js → chunk-QDQPAC4L.js} +2 -2
- package/dist/{chunk-7MGZWDO4.js.map → chunk-QDQPAC4L.js.map} +1 -1
- package/dist/{chunk-LG4SU2D4.cjs → chunk-RJNHXCMP.cjs} +69 -60
- package/dist/chunk-RJNHXCMP.cjs.map +1 -0
- package/dist/{chunk-33BKUIIC.js → chunk-RPAEXGWZ.js} +2 -2
- package/dist/{chunk-VRCXXZHT.js → chunk-SFLHCRO6.js} +2 -2
- package/dist/{chunk-GCFG67SF.js → chunk-U5OV6D66.js} +50 -50
- package/dist/{chunk-RBCDHT55.cjs → chunk-UKTRLJII.cjs} +98 -98
- package/dist/{chunk-RBCDHT55.cjs.map → chunk-UKTRLJII.cjs.map} +1 -1
- package/dist/{chunk-BYOAA442.js → chunk-V2RIY72D.js} +2 -2
- package/dist/{chunk-EJKCEP3Q.cjs → chunk-V3IMDOZE.cjs} +6 -6
- package/dist/{chunk-EJKCEP3Q.cjs.map → chunk-V3IMDOZE.cjs.map} +1 -1
- package/dist/{chunk-4OWD6WRS.js → chunk-WPIG3KUV.js} +121 -17
- package/dist/chunk-WPIG3KUV.js.map +1 -0
- package/dist/{chunk-6XOJ6CEK.js → chunk-WVER4OWF.js} +3 -3
- package/dist/{chunk-IOABX3GR.cjs → chunk-XYVTCXAG.cjs} +265 -156
- package/dist/chunk-XYVTCXAG.cjs.map +1 -0
- package/dist/{chunk-6SVVVZLV.js → chunk-Y5O4DS56.js} +2 -2
- package/dist/{chunk-UMQADPM5.js → chunk-YXKU6UJD.js} +2 -2
- package/dist/{chunk-B2VRTOQZ.js → chunk-ZDMLZRS4.js} +18 -9
- package/dist/chunk-ZDMLZRS4.js.map +1 -0
- package/dist/{chunk-64MVXWS5.js → chunk-ZVAX6E63.js} +2 -2
- package/dist/chunks-WTYZ4KG2.js +11 -0
- package/dist/cli.js +61 -60
- package/dist/cli.js.map +1 -1
- package/dist/{formula-DLZUYM6F.js → formula-MMLDES2Z.js} +20 -17
- package/dist/{formula-DLZUYM6F.js.map → formula-MMLDES2Z.js.map} +1 -1
- package/dist/{formula-2MQWKUKR.js → formula-PFSZZNPP.js} +19 -16
- package/dist/{formula-2MQWKUKR.js.map → formula-PFSZZNPP.js.map} +1 -1
- package/dist/{formula-T2YY77JT.cjs → formula-UI2UR74M.cjs} +25 -22
- package/dist/formula-UI2UR74M.cjs.map +1 -0
- package/dist/generator-C3SCP3ZG.js +10 -0
- package/dist/generator-CHBOCLYX.cjs +11 -0
- package/dist/{generator-YBWCA6B5.cjs.map → generator-CHBOCLYX.cjs.map} +1 -1
- package/dist/generator-RTSNDZJB.js +17 -0
- package/dist/hancom-3V3USCW5.js +84 -0
- package/dist/hancom-3V3USCW5.js.map +1 -0
- package/dist/hancom-GV5TTF5H.cjs +85 -0
- package/dist/hancom-GV5TTF5H.cjs.map +1 -0
- package/dist/hancom-XO52GNC3.js +85 -0
- package/dist/hancom-XO52GNC3.js.map +1 -0
- package/dist/image-ocr-2WKCFABH.cjs +211 -0
- package/dist/image-ocr-2WKCFABH.cjs.map +1 -0
- package/dist/{image-ocr-3NF3QJM7.js → image-ocr-R2ASFKHX.js} +99 -15
- package/dist/image-ocr-R2ASFKHX.js.map +1 -0
- package/dist/{image-ocr-XRKFK7AA.js → image-ocr-SU4RPHBF.js} +94 -10
- package/dist/image-ocr-SU4RPHBF.js.map +1 -0
- package/dist/index.cjs +1110 -1110
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +70 -70
- package/dist/mcp.js +57 -56
- package/dist/mcp.js.map +1 -1
- package/dist/memo-U4RZJRU2.js +17 -0
- package/dist/{model-bundle-MO5I26AO.js → model-bundle-JMSH2F4A.js} +5 -5
- package/dist/{models-IIP4GZ57.js → models-D5SATVOZ.js} +5 -5
- package/dist/{parse-worker-v2-GWOL3TTO.js → parse-worker-v2-WIIZQFRX.js} +28 -28
- package/dist/{parser-UCLUVQPA.js → parser-KCY43TBS.js} +16 -16
- package/dist/{parser-R6UJQ6CV.cjs → parser-MFBTEGJA.cjs} +162 -162
- package/dist/{parser-R6UJQ6CV.cjs.map → parser-MFBTEGJA.cjs.map} +1 -1
- package/dist/{parser-DJQFM6VE.js → parser-SBJKV5GS.js} +16 -16
- package/dist/{pdf-ocr-EWXGN4JB.js → pdf-ocr-I6GNQEFS.js} +8 -6
- package/dist/pdf-ocr-L2O4SQUK.cjs +40 -0
- package/dist/pdf-ocr-L2O4SQUK.cjs.map +1 -0
- package/dist/{pdf-ocr-7PSNKQOI.js → pdf-ocr-UU5PSZ7Z.js} +12 -10
- package/dist/{profile-io-NUU3VKNW.js → profile-io-HZK4ZZ2O.js} +3 -3
- package/dist/{rasterize-RARCMBJ3.js → rasterize-VNP4ULXM.js} +3 -3
- package/dist/{redact-doc-JKGDXGNJ.js → redact-doc-SPHSBCPN.js} +37 -37
- package/dist/{render-SGLKO3PG.js → render-CKTTIDU2.js} +14 -14
- package/dist/{rewrite-fallback-7YZXSR5K.js → rewrite-fallback-H2KMJV6G.js} +21 -21
- package/dist/seal-MSY5G3UR.js +16 -0
- package/dist/{setup-5IYW4FZ7.js → setup-GJVOXJN7.js} +3 -3
- package/dist/{to-hwpx-QMANIAWY.js → to-hwpx-5UIBNW3D.js} +9 -9
- package/dist/to-hwpx-6BQNMA6P.cjs +16 -0
- package/dist/{to-hwpx-DEBHREDM.cjs.map → to-hwpx-6BQNMA6P.cjs.map} +1 -1
- package/dist/{to-hwpx-4PM6XV2L.js → to-hwpx-JJHDCYER.js} +4 -4
- package/dist/visual-Q6PIMKSA.js +37 -0
- package/dist/{watch-YZS76EOS.js → watch-YZZES36Q.js} +27 -27
- package/package.json +1 -1
- package/dist/chunk-2LDFUVVF.js.map +0 -1
- package/dist/chunk-4OWD6WRS.js.map +0 -1
- package/dist/chunk-524MGRNW.js.map +0 -1
- package/dist/chunk-B2VRTOQZ.js.map +0 -1
- package/dist/chunk-IOABX3GR.cjs.map +0 -1
- package/dist/chunk-JRVZBYQ2.js.map +0 -1
- package/dist/chunk-KFJKRST5.js.map +0 -1
- package/dist/chunk-LG4SU2D4.cjs.map +0 -1
- package/dist/chunk-WZUTLJP2.cjs.map +0 -1
- package/dist/chunks-NRA4GFK2.js +0 -11
- package/dist/formula-T2YY77JT.cjs.map +0 -1
- package/dist/generator-2WFWLJFG.js +0 -10
- package/dist/generator-5NWKWLOO.js +0 -17
- package/dist/generator-YBWCA6B5.cjs +0 -11
- package/dist/image-ocr-3NF3QJM7.js.map +0 -1
- package/dist/image-ocr-N7UKGSRY.cjs +0 -127
- package/dist/image-ocr-N7UKGSRY.cjs.map +0 -1
- package/dist/image-ocr-XRKFK7AA.js.map +0 -1
- package/dist/memo-XJ4NBV4J.js +0 -17
- package/dist/pdf-ocr-HECUBUMU.cjs +0 -38
- package/dist/pdf-ocr-HECUBUMU.cjs.map +0 -1
- package/dist/seal-LSS7WY6Z.js +0 -16
- package/dist/to-hwpx-DEBHREDM.cjs +0 -16
- package/dist/visual-QXYBJJ5D.js +0 -37
- /package/dist/{-HX3RWDQF.js.map → -7VE547IT.js.map} +0 -0
- /package/dist/{chunk-4MWGWS3B.js.map → chunk-2XXTL4S4.js.map} +0 -0
- /package/dist/{chunk-J26TNCL7.js.map → chunk-346W5O2J.js.map} +0 -0
- /package/dist/{chunk-LM7LYH54.js.map → chunk-3MHRL3OO.js.map} +0 -0
- /package/dist/{chunk-TQBNSAAS.js.map → chunk-4FWLCWNU.js.map} +0 -0
- /package/dist/{chunk-6QK6ZQTF.js.map → chunk-7AYP2XO6.js.map} +0 -0
- /package/dist/{chunk-YNIZLSM4.js.map → chunk-7BQWFZJO.js.map} +0 -0
- /package/dist/{chunk-OTB6UOIB.js.map → chunk-7ZRUR4TZ.js.map} +0 -0
- /package/dist/{chunk-IWCWO3GP.js.map → chunk-BWBR5GWQ.js.map} +0 -0
- /package/dist/{chunk-P3SZJJRK.js.map → chunk-COH7WXBK.js.map} +0 -0
- /package/dist/{chunk-LWSMZJLR.js.map → chunk-F2JYJ2SP.js.map} +0 -0
- /package/dist/{chunk-MTSWWXSB.js.map → chunk-FRMJTW3C.js.map} +0 -0
- /package/dist/{chunk-J42O5KBX.js.map → chunk-GXED6LJX.js.map} +0 -0
- /package/dist/{chunk-BT5RPLV4.js.map → chunk-L23XOAKF.js.map} +0 -0
- /package/dist/{chunk-DRDW5ULI.js.map → chunk-M2ZRTYQ5.js.map} +0 -0
- /package/dist/{chunk-XCMDIXWE.js.map → chunk-NL5OTD2E.js.map} +0 -0
- /package/dist/{chunk-ONCXLQV4.js.map → chunk-NQJL3664.js.map} +0 -0
- /package/dist/{chunk-OHLJEWS6.js.map → chunk-PHVAJBHM.js.map} +0 -0
- /package/dist/{chunk-7GN7O3K2.js.map → chunk-PQIIYKNL.js.map} +0 -0
- /package/dist/{chunk-T7K3CLXM.js.map → chunk-QDPYTJ4Y.js.map} +0 -0
- /package/dist/{chunk-33BKUIIC.js.map → chunk-RPAEXGWZ.js.map} +0 -0
- /package/dist/{chunk-VRCXXZHT.js.map → chunk-SFLHCRO6.js.map} +0 -0
- /package/dist/{chunk-GCFG67SF.js.map → chunk-U5OV6D66.js.map} +0 -0
- /package/dist/{chunk-BYOAA442.js.map → chunk-V2RIY72D.js.map} +0 -0
- /package/dist/{chunk-6XOJ6CEK.js.map → chunk-WVER4OWF.js.map} +0 -0
- /package/dist/{chunk-6SVVVZLV.js.map → chunk-Y5O4DS56.js.map} +0 -0
- /package/dist/{chunk-UMQADPM5.js.map → chunk-YXKU6UJD.js.map} +0 -0
- /package/dist/{chunk-64MVXWS5.js.map → chunk-ZVAX6E63.js.map} +0 -0
- /package/dist/{chunks-NRA4GFK2.js.map → chunks-WTYZ4KG2.js.map} +0 -0
- /package/dist/{generator-2WFWLJFG.js.map → generator-C3SCP3ZG.js.map} +0 -0
- /package/dist/{generator-5NWKWLOO.js.map → generator-RTSNDZJB.js.map} +0 -0
- /package/dist/{memo-XJ4NBV4J.js.map → memo-U4RZJRU2.js.map} +0 -0
- /package/dist/{model-bundle-MO5I26AO.js.map → model-bundle-JMSH2F4A.js.map} +0 -0
- /package/dist/{models-IIP4GZ57.js.map → models-D5SATVOZ.js.map} +0 -0
- /package/dist/{parse-worker-v2-GWOL3TTO.js.map → parse-worker-v2-WIIZQFRX.js.map} +0 -0
- /package/dist/{parser-UCLUVQPA.js.map → parser-KCY43TBS.js.map} +0 -0
- /package/dist/{parser-DJQFM6VE.js.map → parser-SBJKV5GS.js.map} +0 -0
- /package/dist/{pdf-ocr-7PSNKQOI.js.map → pdf-ocr-I6GNQEFS.js.map} +0 -0
- /package/dist/{pdf-ocr-EWXGN4JB.js.map → pdf-ocr-UU5PSZ7Z.js.map} +0 -0
- /package/dist/{profile-io-NUU3VKNW.js.map → profile-io-HZK4ZZ2O.js.map} +0 -0
- /package/dist/{rasterize-RARCMBJ3.js.map → rasterize-VNP4ULXM.js.map} +0 -0
- /package/dist/{redact-doc-JKGDXGNJ.js.map → redact-doc-SPHSBCPN.js.map} +0 -0
- /package/dist/{render-SGLKO3PG.js.map → render-CKTTIDU2.js.map} +0 -0
- /package/dist/{rewrite-fallback-7YZXSR5K.js.map → rewrite-fallback-H2KMJV6G.js.map} +0 -0
- /package/dist/{seal-LSS7WY6Z.js.map → seal-MSY5G3UR.js.map} +0 -0
- /package/dist/{setup-5IYW4FZ7.js.map → setup-GJVOXJN7.js.map} +0 -0
- /package/dist/{to-hwpx-4PM6XV2L.js.map → to-hwpx-5UIBNW3D.js.map} +0 -0
- /package/dist/{to-hwpx-QMANIAWY.js.map → to-hwpx-JJHDCYER.js.map} +0 -0
- /package/dist/{visual-QXYBJJ5D.js.map → visual-Q6PIMKSA.js.map} +0 -0
- /package/dist/{watch-YZS76EOS.js.map → watch-YZZES36Q.js.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
escapeHtml,
|
|
7
7
|
sanitizeHref
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-V2RIY72D.js";
|
|
9
9
|
|
|
10
10
|
// src/table/builder.ts
|
|
11
11
|
var MAX_COLS = 200;
|
|
@@ -673,4 +673,4 @@ export {
|
|
|
673
673
|
hasInlineCellBlocks,
|
|
674
674
|
cellToMarkdown
|
|
675
675
|
};
|
|
676
|
-
//# sourceMappingURL=chunk-
|
|
676
|
+
//# sourceMappingURL=chunk-RPAEXGWZ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
KordocError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-V2RIY72D.js";
|
|
5
5
|
|
|
6
6
|
// src/roundtrip/zip-patch.ts
|
|
7
7
|
import { deflateRawSync } from "zlib";
|
|
@@ -233,4 +233,4 @@ export {
|
|
|
233
233
|
readZipEntries,
|
|
234
234
|
patchZipEntries
|
|
235
235
|
};
|
|
236
|
-
//# sourceMappingURL=chunk-
|
|
236
|
+
//# sourceMappingURL=chunk-SFLHCRO6.js.map
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
extractRenderedRegions,
|
|
4
|
+
renderDocumentToScene
|
|
5
|
+
} from "./chunk-NL5OTD2E.js";
|
|
2
6
|
import {
|
|
3
7
|
blocksToPages
|
|
4
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-346W5O2J.js";
|
|
5
9
|
import {
|
|
6
10
|
applyCellEdit,
|
|
7
11
|
buildOrigUnits,
|
|
@@ -14,45 +18,7 @@ import {
|
|
|
14
18
|
resolveParagraphMappings,
|
|
15
19
|
resolveSectionEntryNames,
|
|
16
20
|
stripCellTokens
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import {
|
|
19
|
-
patchZipEntries
|
|
20
|
-
} from "./chunk-VRCXXZHT.js";
|
|
21
|
-
import {
|
|
22
|
-
extractRenderedRegions,
|
|
23
|
-
renderDocumentToScene
|
|
24
|
-
} from "./chunk-XCMDIXWE.js";
|
|
25
|
-
import {
|
|
26
|
-
INLINE_TABLE_MARK,
|
|
27
|
-
blocksPlainText,
|
|
28
|
-
buildAddressedTable,
|
|
29
|
-
cellTextFromBlocks,
|
|
30
|
-
detectImageMime,
|
|
31
|
-
emitParagraphBlocks,
|
|
32
|
-
formatNumber,
|
|
33
|
-
hwpEquationToLatex,
|
|
34
|
-
memosMarkdown,
|
|
35
|
-
parseHwp5Document,
|
|
36
|
-
resolveImageBlocks
|
|
37
|
-
} from "./chunk-DRDW5ULI.js";
|
|
38
|
-
import {
|
|
39
|
-
bmpToPng,
|
|
40
|
-
inlineImagesIntoMarkdown
|
|
41
|
-
} from "./chunk-VKVDMH7X.js";
|
|
42
|
-
import {
|
|
43
|
-
parsePageRange
|
|
44
|
-
} from "./chunk-VQFA55IC.js";
|
|
45
|
-
import {
|
|
46
|
-
detectFormat,
|
|
47
|
-
detectOle2Format,
|
|
48
|
-
detectZipFormat
|
|
49
|
-
} from "./chunk-GHHVT4Q5.js";
|
|
50
|
-
import {
|
|
51
|
-
parseLenientCfb
|
|
52
|
-
} from "./chunk-H7K5YHWQ.js";
|
|
53
|
-
import {
|
|
54
|
-
validateOcrOptions
|
|
55
|
-
} from "./chunk-JIMG76FW.js";
|
|
21
|
+
} from "./chunk-PQIIYKNL.js";
|
|
56
22
|
import {
|
|
57
23
|
TOTAL_LABEL_RE,
|
|
58
24
|
comResultToParseResult,
|
|
@@ -81,7 +47,10 @@ import {
|
|
|
81
47
|
summarize,
|
|
82
48
|
textProfile,
|
|
83
49
|
topLevelParagraphs
|
|
84
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-L23XOAKF.js";
|
|
51
|
+
import {
|
|
52
|
+
patchZipEntries
|
|
53
|
+
} from "./chunk-SFLHCRO6.js";
|
|
85
54
|
import {
|
|
86
55
|
ANNOTATION_BLANK_RE,
|
|
87
56
|
ValueCursor,
|
|
@@ -118,14 +87,45 @@ import {
|
|
|
118
87
|
localName,
|
|
119
88
|
rawTextContent,
|
|
120
89
|
readZipEntry
|
|
121
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-4FWLCWNU.js";
|
|
91
|
+
import {
|
|
92
|
+
INLINE_TABLE_MARK,
|
|
93
|
+
blocksPlainText,
|
|
94
|
+
buildAddressedTable,
|
|
95
|
+
cellTextFromBlocks,
|
|
96
|
+
detectImageMime,
|
|
97
|
+
emitParagraphBlocks,
|
|
98
|
+
formatNumber,
|
|
99
|
+
hwpEquationToLatex,
|
|
100
|
+
memosMarkdown,
|
|
101
|
+
parseHwp5Document,
|
|
102
|
+
resolveImageBlocks
|
|
103
|
+
} from "./chunk-M2ZRTYQ5.js";
|
|
104
|
+
import {
|
|
105
|
+
bmpToPng,
|
|
106
|
+
inlineImagesIntoMarkdown
|
|
107
|
+
} from "./chunk-VKVDMH7X.js";
|
|
108
|
+
import {
|
|
109
|
+
parsePageRange
|
|
110
|
+
} from "./chunk-VQFA55IC.js";
|
|
111
|
+
import {
|
|
112
|
+
detectFormat,
|
|
113
|
+
detectOle2Format,
|
|
114
|
+
detectZipFormat
|
|
115
|
+
} from "./chunk-GHHVT4Q5.js";
|
|
116
|
+
import {
|
|
117
|
+
parseLenientCfb
|
|
118
|
+
} from "./chunk-H7K5YHWQ.js";
|
|
119
|
+
import {
|
|
120
|
+
validateOcrOptions
|
|
121
|
+
} from "./chunk-JIMG76FW.js";
|
|
122
122
|
import {
|
|
123
123
|
escapeLiteralTags,
|
|
124
124
|
plainScripts,
|
|
125
125
|
stripScriptTags,
|
|
126
126
|
tidyScriptTags,
|
|
127
127
|
wrapScript
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-QDQPAC4L.js";
|
|
129
129
|
import {
|
|
130
130
|
MAX_COLS,
|
|
131
131
|
MAX_ROWS,
|
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
flattenLayoutTables,
|
|
137
137
|
hasStructuredCellContent,
|
|
138
138
|
sanitizeText
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-RPAEXGWZ.js";
|
|
140
140
|
import {
|
|
141
141
|
hangulAmount,
|
|
142
142
|
mapPuaText
|
|
@@ -152,7 +152,7 @@ import {
|
|
|
152
152
|
stripDtd,
|
|
153
153
|
toArrayBuffer,
|
|
154
154
|
unzipLimitBytes
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-V2RIY72D.js";
|
|
156
156
|
|
|
157
157
|
// src/table/visual.ts
|
|
158
158
|
import { readFile as readFile2 } from "fs/promises";
|
|
@@ -16821,7 +16821,7 @@ var MIN_SIDE = 24;
|
|
|
16821
16821
|
async function ocrEmbeddedImages(blocks, options, warnings) {
|
|
16822
16822
|
const ocr = options?.ocr;
|
|
16823
16823
|
if (ocr !== true && ocr !== "force" && typeof ocr !== "function") return false;
|
|
16824
|
-
const { parseImageDocument } = await import("./image-ocr-
|
|
16824
|
+
const { parseImageDocument } = await import("./image-ocr-R2ASFKHX.js");
|
|
16825
16825
|
let inserted = false, unreadable = 0;
|
|
16826
16826
|
let failed = null;
|
|
16827
16827
|
const walk = async (list, depth) => {
|
|
@@ -20422,7 +20422,7 @@ function scriptsOff(r, off) {
|
|
|
20422
20422
|
}
|
|
20423
20423
|
async function parseImage(buffer, options) {
|
|
20424
20424
|
try {
|
|
20425
|
-
const { parseImageDocument } = await import("./image-ocr-
|
|
20425
|
+
const { parseImageDocument } = await import("./image-ocr-R2ASFKHX.js");
|
|
20426
20426
|
const { blocks, warnings, lines } = await parseImageDocument(buffer, options);
|
|
20427
20427
|
stripScriptTags({ blocks });
|
|
20428
20428
|
return {
|
|
@@ -20488,7 +20488,7 @@ async function parseHwp(buffer, options) {
|
|
|
20488
20488
|
async function parsePdf(buffer, options) {
|
|
20489
20489
|
let parsePdfDocument;
|
|
20490
20490
|
try {
|
|
20491
|
-
const mod = await import("./parser-
|
|
20491
|
+
const mod = await import("./parser-SBJKV5GS.js");
|
|
20492
20492
|
parsePdfDocument = mod.parsePdfDocument;
|
|
20493
20493
|
} catch {
|
|
20494
20494
|
return {
|
|
@@ -20564,7 +20564,7 @@ async function fillForm(input, values, outputFormat = "markdown") {
|
|
|
20564
20564
|
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})`);
|
|
20565
20565
|
}
|
|
20566
20566
|
} else if (format2 === "hwp" && detectOle2Format(buffer) === "hwp") {
|
|
20567
|
-
const { hwpToHwpx: hwpToHwpx2 } = await import("./to-hwpx-
|
|
20567
|
+
const { hwpToHwpx: hwpToHwpx2 } = await import("./to-hwpx-5UIBNW3D.js");
|
|
20568
20568
|
const hwpx = await hwpToHwpx2(new Uint8Array(buffer));
|
|
20569
20569
|
buffer = hwpx.buffer.slice(hwpx.byteOffset, hwpx.byteOffset + hwpx.byteLength);
|
|
20570
20570
|
} else {
|
|
@@ -20713,4 +20713,4 @@ export {
|
|
|
20713
20713
|
parseHwpml,
|
|
20714
20714
|
fillForm
|
|
20715
20715
|
};
|
|
20716
|
-
//# sourceMappingURL=chunk-
|
|
20716
|
+
//# sourceMappingURL=chunk-U5OV6D66.js.map
|