kordoc 4.24.49 → 4.24.50
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/{-22V6D2US.js → -C2A4JYBB.js} +42 -42
- package/dist/{chunk-R2RLNUNK.js → chunk-3HX37NQI.js} +6 -6
- package/dist/{chunk-IRAZCKQ6.cjs → chunk-4H2CKUZC.cjs} +3 -3
- package/dist/{chunk-IRAZCKQ6.cjs.map → chunk-4H2CKUZC.cjs.map} +1 -1
- package/dist/{chunk-EUJX7HTR.js → chunk-5HFHRDXF.js} +9 -9
- package/dist/{chunk-EUJX7HTR.js.map → chunk-5HFHRDXF.js.map} +1 -1
- package/dist/{chunk-Y4MFHEK4.cjs → chunk-5R65VE7S.cjs} +3 -3
- package/dist/{chunk-Y4MFHEK4.cjs.map → chunk-5R65VE7S.cjs.map} +1 -1
- package/dist/{chunk-UU54HN5I.js → chunk-6X5OZ32D.js} +5 -5
- package/dist/{chunk-7KKL3PRK.js → chunk-7TFSVTEI.js} +12 -4
- package/dist/chunk-7TFSVTEI.js.map +1 -0
- package/dist/{chunk-S54DZB2Z.js → chunk-CFN65SO4.js} +47 -4
- package/dist/chunk-CFN65SO4.js.map +1 -0
- package/dist/{chunk-OAETOHH3.js → chunk-CV7R6GFL.js} +3 -3
- package/dist/{chunk-M5RQ2PNP.js → chunk-DWLDRIUW.js} +14 -6
- package/dist/chunk-DWLDRIUW.js.map +1 -0
- package/dist/{chunk-67GSFYG7.js → chunk-EEXZI6FB.js} +2 -2
- package/dist/{chunk-367WLMPO.cjs → chunk-FMY77Z2C.cjs} +65 -57
- package/dist/chunk-FMY77Z2C.cjs.map +1 -0
- package/dist/{chunk-DAAJO62F.js → chunk-FTUYGBVA.js} +2 -2
- package/dist/{chunk-HW7WVYBF.js → chunk-G3COIDD5.js} +2 -2
- package/dist/{chunk-LOSCIAHY.js → chunk-H5WXX55M.js} +2 -2
- package/dist/{chunk-HETGOJ6V.js → chunk-JLXFH46H.js} +2 -2
- package/dist/{chunk-RQLEGKEV.js → chunk-KKVUDW3R.js} +2 -2
- package/dist/{chunk-AUAJVQQK.js → chunk-LJP2C7HY.js} +2 -2
- package/dist/{chunk-CCQMSIZQ.js → chunk-MFHYWNRB.js} +19 -19
- package/dist/{chunk-4MWUBTAE.js → chunk-MGASIGAK.js} +2 -2
- package/dist/{chunk-TQOAPKLU.cjs → chunk-NTTH2JV3.cjs} +6 -6
- package/dist/{chunk-TQOAPKLU.cjs.map → chunk-NTTH2JV3.cjs.map} +1 -1
- package/dist/{chunk-TAHS42ED.js → chunk-O3LGWNKF.js} +10 -10
- package/dist/{chunk-TAHS42ED.js.map → chunk-O3LGWNKF.js.map} +1 -1
- package/dist/{chunk-EYSXMDA7.js → chunk-PSUE7IEJ.js} +17 -17
- package/dist/{chunk-WLFZOBZR.js → chunk-R2KOKVE6.js} +3 -3
- package/dist/{chunk-UBY2PLKR.cjs → chunk-R34M3KZ5.cjs} +31 -31
- package/dist/{chunk-UBY2PLKR.cjs.map → chunk-R34M3KZ5.cjs.map} +1 -1
- package/dist/{chunk-ZF24SO45.js → chunk-RFMTK6QQ.js} +2 -2
- package/dist/{chunk-LCRSRVFJ.js → chunk-SAJPPKP6.js} +2 -2
- package/dist/{chunk-PVV6OY4M.cjs → chunk-SBNHRZX5.cjs} +139 -96
- package/dist/chunk-SBNHRZX5.cjs.map +1 -0
- package/dist/{chunk-L3JP55ZY.js → chunk-SFNUS2L2.js} +2 -2
- package/dist/{chunk-4HJKBRZJ.js → chunk-SHPWOK54.js} +18 -18
- package/dist/{chunk-PMGJQWSW.js → chunk-SSITTA7K.js} +2 -2
- package/dist/{chunk-Q7FDPJUS.js → chunk-TAVJD44R.js} +10 -10
- package/dist/{chunk-VMOUAWGD.js → chunk-TBVTRCQO.js} +7 -7
- package/dist/{chunk-KXHUHGMC.js → chunk-UGVLPUEO.js} +2 -2
- package/dist/{chunk-AXW2FMVR.js → chunk-UHNUEHHP.js} +2 -2
- package/dist/{chunk-2UWWWM4Q.cjs → chunk-ULZEBO6D.cjs} +98 -98
- package/dist/{chunk-2UWWWM4Q.cjs.map → chunk-ULZEBO6D.cjs.map} +1 -1
- package/dist/{chunk-6BFWLS7E.js → chunk-WI5QVMJ2.js} +3 -3
- package/dist/{chunk-Y6QW3FJQ.js → chunk-WJZJYJCP.js} +2 -2
- package/dist/{chunk-MLBX6KQM.js → chunk-XKGH2UJU.js} +2 -2
- package/dist/{chunk-PW7MQZI4.cjs → chunk-XOL2UOIW.cjs} +2 -2
- package/dist/{chunk-PW7MQZI4.cjs.map → chunk-XOL2UOIW.cjs.map} +1 -1
- package/dist/{chunk-KB4ORA7M.js → chunk-YJJGETLN.js} +2 -2
- package/dist/{chunk-DA5AXURC.js → chunk-YV27LZOV.js} +48 -5
- package/dist/chunk-YV27LZOV.js.map +1 -0
- package/dist/{chunk-LFFARZYZ.js → chunk-YXG74TXU.js} +2 -2
- package/dist/{chunk-MIJTZKWF.js → chunk-ZYMXAFG6.js} +2 -2
- package/dist/chunks-2XOX7XKP.js +11 -0
- package/dist/cli.js +52 -51
- package/dist/cli.js.map +1 -1
- package/dist/{formula-BYEDWWZU.js → formula-CSMUW37Z.js} +4 -4
- package/dist/{formula-QJEOIVKR.cjs → formula-MQDZV5BS.cjs} +9 -9
- package/dist/{formula-QJEOIVKR.cjs.map → formula-MQDZV5BS.cjs.map} +1 -1
- package/dist/{formula-FQLMMBDP.js → formula-NEZQU4VT.js} +3 -3
- package/dist/generator-J2I6FY5A.js +17 -0
- package/dist/generator-U6KPAHRC.cjs +11 -0
- package/dist/{generator-FTM6GOGB.cjs.map → generator-U6KPAHRC.cjs.map} +1 -1
- package/dist/generator-V7WALYIG.js +10 -0
- package/dist/hancom-44AG42NH.js +85 -0
- package/dist/hancom-44AG42NH.js.map +1 -0
- package/dist/hancom-ICXEFG55.js +84 -0
- package/dist/hancom-ICXEFG55.js.map +1 -0
- package/dist/hancom-R7UQ45EN.cjs +85 -0
- package/dist/hancom-R7UQ45EN.cjs.map +1 -0
- package/dist/{image-ocr-VIGZE4YL.js → image-ocr-EDD2FWK3.js} +7 -7
- package/dist/{image-ocr-7Y3FCGRR.js → image-ocr-KGEUPOG5.js} +10 -10
- package/dist/{image-ocr-WRILL3WO.cjs → image-ocr-VVLMGTRH.cjs} +28 -28
- package/dist/{image-ocr-WRILL3WO.cjs.map → image-ocr-VVLMGTRH.cjs.map} +1 -1
- package/dist/index.cjs +1116 -1116
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +72 -72
- package/dist/mcp.js +42 -41
- package/dist/mcp.js.map +1 -1
- package/dist/memo-HW332L2B.js +17 -0
- package/dist/{model-bundle-UJRQPYUU.js → model-bundle-JQBHF6XK.js} +5 -5
- package/dist/{models-64YLAWTI.js → models-YWD5GLFW.js} +5 -5
- package/dist/{parse-worker-v2-QWQZKFQO.js → parse-worker-v2-NXKUXGGX.js} +23 -23
- package/dist/{parser-XFU3VRWM.js → parser-5E4Z3ME5.js} +16 -16
- package/dist/{parser-JPWANPLM.js → parser-FPBBI4AE.js} +12 -12
- package/dist/{parser-RB6CBNAM.cjs → parser-W4MNQL73.cjs} +166 -166
- package/dist/{parser-RB6CBNAM.cjs.map → parser-W4MNQL73.cjs.map} +1 -1
- package/dist/{pdf-ocr-ZV3KYIIE.js → pdf-ocr-GHVGOTJG.js} +9 -9
- package/dist/pdf-ocr-SPAU33VI.cjs +42 -0
- package/dist/{pdf-ocr-NOJHEH4M.cjs.map → pdf-ocr-SPAU33VI.cjs.map} +1 -1
- package/dist/{pdf-ocr-XTZZEYKJ.js → pdf-ocr-ZXEEUV72.js} +6 -6
- package/dist/{profile-io-FAJORRD2.js → profile-io-RF7AHAZE.js} +3 -3
- package/dist/{rasterize-4ZJUA2DZ.js → rasterize-GJH24CGX.js} +3 -3
- package/dist/{redact-doc-JPNROEH6.js → redact-doc-W4DR6BTT.js} +29 -29
- package/dist/{render-D4WBOBKI.js → render-OLEQELZH.js} +12 -12
- package/dist/{rewrite-fallback-OF3QI6CX.js → rewrite-fallback-4MVCADX7.js} +13 -13
- package/dist/seal-JJLC6UDD.js +16 -0
- package/dist/{setup-YC25YCQB.js → setup-BMJI6RBB.js} +3 -3
- package/dist/to-hwpx-2Y5V456C.cjs +16 -0
- package/dist/{to-hwpx-LUA6F5RR.cjs.map → to-hwpx-2Y5V456C.cjs.map} +1 -1
- package/dist/{to-hwpx-ZWN64NCQ.js → to-hwpx-XHJFVCD4.js} +4 -4
- package/dist/{to-hwpx-D7OMPDUQ.js → to-hwpx-Z5WGF6YZ.js} +7 -7
- package/dist/visual-QGD23ZDN.js +37 -0
- package/dist/{watch-ZU576VSR.js → watch-F5TGSLKR.js} +23 -23
- package/package.json +1 -1
- package/dist/chunk-367WLMPO.cjs.map +0 -1
- package/dist/chunk-7KKL3PRK.js.map +0 -1
- package/dist/chunk-DA5AXURC.js.map +0 -1
- package/dist/chunk-M5RQ2PNP.js.map +0 -1
- package/dist/chunk-PVV6OY4M.cjs.map +0 -1
- package/dist/chunk-S54DZB2Z.js.map +0 -1
- package/dist/chunks-Q7242OJE.js +0 -11
- package/dist/generator-FTM6GOGB.cjs +0 -11
- package/dist/generator-Q3L7RNUY.js +0 -17
- package/dist/generator-SU73HZHR.js +0 -10
- package/dist/memo-T5ZQEXEA.js +0 -17
- package/dist/pdf-ocr-NOJHEH4M.cjs +0 -42
- package/dist/seal-DQWEHIAM.js +0 -16
- package/dist/to-hwpx-LUA6F5RR.cjs +0 -16
- package/dist/visual-SW7NPY6K.js +0 -37
- /package/dist/{-22V6D2US.js.map → -C2A4JYBB.js.map} +0 -0
- /package/dist/{chunk-R2RLNUNK.js.map → chunk-3HX37NQI.js.map} +0 -0
- /package/dist/{chunk-UU54HN5I.js.map → chunk-6X5OZ32D.js.map} +0 -0
- /package/dist/{chunk-OAETOHH3.js.map → chunk-CV7R6GFL.js.map} +0 -0
- /package/dist/{chunk-67GSFYG7.js.map → chunk-EEXZI6FB.js.map} +0 -0
- /package/dist/{chunk-DAAJO62F.js.map → chunk-FTUYGBVA.js.map} +0 -0
- /package/dist/{chunk-HW7WVYBF.js.map → chunk-G3COIDD5.js.map} +0 -0
- /package/dist/{chunk-LOSCIAHY.js.map → chunk-H5WXX55M.js.map} +0 -0
- /package/dist/{chunk-HETGOJ6V.js.map → chunk-JLXFH46H.js.map} +0 -0
- /package/dist/{chunk-RQLEGKEV.js.map → chunk-KKVUDW3R.js.map} +0 -0
- /package/dist/{chunk-AUAJVQQK.js.map → chunk-LJP2C7HY.js.map} +0 -0
- /package/dist/{chunk-CCQMSIZQ.js.map → chunk-MFHYWNRB.js.map} +0 -0
- /package/dist/{chunk-4MWUBTAE.js.map → chunk-MGASIGAK.js.map} +0 -0
- /package/dist/{chunk-EYSXMDA7.js.map → chunk-PSUE7IEJ.js.map} +0 -0
- /package/dist/{chunk-WLFZOBZR.js.map → chunk-R2KOKVE6.js.map} +0 -0
- /package/dist/{chunk-ZF24SO45.js.map → chunk-RFMTK6QQ.js.map} +0 -0
- /package/dist/{chunk-LCRSRVFJ.js.map → chunk-SAJPPKP6.js.map} +0 -0
- /package/dist/{chunk-L3JP55ZY.js.map → chunk-SFNUS2L2.js.map} +0 -0
- /package/dist/{chunk-4HJKBRZJ.js.map → chunk-SHPWOK54.js.map} +0 -0
- /package/dist/{chunk-PMGJQWSW.js.map → chunk-SSITTA7K.js.map} +0 -0
- /package/dist/{chunk-Q7FDPJUS.js.map → chunk-TAVJD44R.js.map} +0 -0
- /package/dist/{chunk-VMOUAWGD.js.map → chunk-TBVTRCQO.js.map} +0 -0
- /package/dist/{chunk-KXHUHGMC.js.map → chunk-UGVLPUEO.js.map} +0 -0
- /package/dist/{chunk-AXW2FMVR.js.map → chunk-UHNUEHHP.js.map} +0 -0
- /package/dist/{chunk-6BFWLS7E.js.map → chunk-WI5QVMJ2.js.map} +0 -0
- /package/dist/{chunk-Y6QW3FJQ.js.map → chunk-WJZJYJCP.js.map} +0 -0
- /package/dist/{chunk-MLBX6KQM.js.map → chunk-XKGH2UJU.js.map} +0 -0
- /package/dist/{chunk-KB4ORA7M.js.map → chunk-YJJGETLN.js.map} +0 -0
- /package/dist/{chunk-LFFARZYZ.js.map → chunk-YXG74TXU.js.map} +0 -0
- /package/dist/{chunk-MIJTZKWF.js.map → chunk-ZYMXAFG6.js.map} +0 -0
- /package/dist/{chunks-Q7242OJE.js.map → chunks-2XOX7XKP.js.map} +0 -0
- /package/dist/{formula-BYEDWWZU.js.map → formula-CSMUW37Z.js.map} +0 -0
- /package/dist/{formula-FQLMMBDP.js.map → formula-NEZQU4VT.js.map} +0 -0
- /package/dist/{generator-Q3L7RNUY.js.map → generator-J2I6FY5A.js.map} +0 -0
- /package/dist/{generator-SU73HZHR.js.map → generator-V7WALYIG.js.map} +0 -0
- /package/dist/{image-ocr-VIGZE4YL.js.map → image-ocr-EDD2FWK3.js.map} +0 -0
- /package/dist/{image-ocr-7Y3FCGRR.js.map → image-ocr-KGEUPOG5.js.map} +0 -0
- /package/dist/{memo-T5ZQEXEA.js.map → memo-HW332L2B.js.map} +0 -0
- /package/dist/{model-bundle-UJRQPYUU.js.map → model-bundle-JQBHF6XK.js.map} +0 -0
- /package/dist/{models-64YLAWTI.js.map → models-YWD5GLFW.js.map} +0 -0
- /package/dist/{parse-worker-v2-QWQZKFQO.js.map → parse-worker-v2-NXKUXGGX.js.map} +0 -0
- /package/dist/{parser-XFU3VRWM.js.map → parser-5E4Z3ME5.js.map} +0 -0
- /package/dist/{parser-JPWANPLM.js.map → parser-FPBBI4AE.js.map} +0 -0
- /package/dist/{pdf-ocr-XTZZEYKJ.js.map → pdf-ocr-GHVGOTJG.js.map} +0 -0
- /package/dist/{pdf-ocr-ZV3KYIIE.js.map → pdf-ocr-ZXEEUV72.js.map} +0 -0
- /package/dist/{profile-io-FAJORRD2.js.map → profile-io-RF7AHAZE.js.map} +0 -0
- /package/dist/{rasterize-4ZJUA2DZ.js.map → rasterize-GJH24CGX.js.map} +0 -0
- /package/dist/{redact-doc-JPNROEH6.js.map → redact-doc-W4DR6BTT.js.map} +0 -0
- /package/dist/{render-D4WBOBKI.js.map → render-OLEQELZH.js.map} +0 -0
- /package/dist/{rewrite-fallback-OF3QI6CX.js.map → rewrite-fallback-4MVCADX7.js.map} +0 -0
- /package/dist/{seal-DQWEHIAM.js.map → seal-JJLC6UDD.js.map} +0 -0
- /package/dist/{setup-YC25YCQB.js.map → setup-BMJI6RBB.js.map} +0 -0
- /package/dist/{to-hwpx-D7OMPDUQ.js.map → to-hwpx-XHJFVCD4.js.map} +0 -0
- /package/dist/{to-hwpx-ZWN64NCQ.js.map → to-hwpx-Z5WGF6YZ.js.map} +0 -0
- /package/dist/{visual-SW7NPY6K.js.map → visual-QGD23ZDN.js.map} +0 -0
- /package/dist/{watch-ZU576VSR.js.map → watch-F5TGSLKR.js.map} +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
assignTableIds,
|
|
4
4
|
blocksToMarkdown
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JLXFH46H.js";
|
|
6
6
|
|
|
7
7
|
// src/chunks.ts
|
|
8
8
|
var LIST_MARKER_RE = /^(?:[□■◇◆○◎●◦ㅇ•▪▸▶※-]|\d{1,3}[.)]|[가나다라마바사아자차카타파하][.)]|\([가나다라마바사아자차카타파하0-9]{1,3}\)|[①-⑳㉮-㉻㈎-㈛])\s/;
|
|
@@ -82,4 +82,4 @@ function blocksToChunks(blocks, options) {
|
|
|
82
82
|
export {
|
|
83
83
|
blocksToChunks
|
|
84
84
|
};
|
|
85
|
-
//# sourceMappingURL=chunk-
|
|
85
|
+
//# sourceMappingURL=chunk-SFNUS2L2.js.map
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
extractRenderedRegions,
|
|
4
|
+
renderDocumentToScene
|
|
5
|
+
} from "./chunk-TAVJD44R.js";
|
|
2
6
|
import {
|
|
3
7
|
WEBP_OPTIONS,
|
|
4
8
|
blocksToPages,
|
|
5
9
|
loadSharp,
|
|
6
10
|
readImageQrCodes,
|
|
7
11
|
toBuffer
|
|
8
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RFMTK6QQ.js";
|
|
9
13
|
import {
|
|
10
14
|
applyCellEdit,
|
|
11
15
|
buildOrigUnits,
|
|
@@ -18,7 +22,7 @@ import {
|
|
|
18
22
|
resolveParagraphMappings,
|
|
19
23
|
resolveSectionEntryNames,
|
|
20
24
|
stripCellTokens
|
|
21
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-PSUE7IEJ.js";
|
|
22
26
|
import {
|
|
23
27
|
TOTAL_LABEL_RE,
|
|
24
28
|
comResultToParseResult,
|
|
@@ -47,10 +51,10 @@ import {
|
|
|
47
51
|
summarize,
|
|
48
52
|
textProfile,
|
|
49
53
|
topLevelParagraphs
|
|
50
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-MFHYWNRB.js";
|
|
51
55
|
import {
|
|
52
56
|
patchZipEntries
|
|
53
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-WJZJYJCP.js";
|
|
54
58
|
import {
|
|
55
59
|
ANNOTATION_BLANK_RE,
|
|
56
60
|
ValueCursor,
|
|
@@ -77,10 +81,6 @@ import {
|
|
|
77
81
|
scanInlineSegments,
|
|
78
82
|
scanSectionXml
|
|
79
83
|
} from "./chunk-3AHL6YEA.js";
|
|
80
|
-
import {
|
|
81
|
-
extractRenderedRegions,
|
|
82
|
-
renderDocumentToScene
|
|
83
|
-
} from "./chunk-Q7FDPJUS.js";
|
|
84
84
|
import {
|
|
85
85
|
MAX_DECOMPRESS_SIZE,
|
|
86
86
|
MAX_XML_DEPTH,
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
localName,
|
|
92
92
|
rawTextContent,
|
|
93
93
|
readZipEntry
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-YJJGETLN.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-6X5OZ32D.js";
|
|
108
108
|
import {
|
|
109
109
|
MAX_PIXELS,
|
|
110
110
|
bmpToPng,
|
|
@@ -131,7 +131,7 @@ import {
|
|
|
131
131
|
stripScriptTags,
|
|
132
132
|
tidyScriptTags,
|
|
133
133
|
wrapScript
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-SAJPPKP6.js";
|
|
135
135
|
import {
|
|
136
136
|
MAX_COLS,
|
|
137
137
|
MAX_ROWS,
|
|
@@ -142,7 +142,7 @@ import {
|
|
|
142
142
|
flattenLayoutTables,
|
|
143
143
|
hasStructuredCellContent,
|
|
144
144
|
sanitizeText
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-JLXFH46H.js";
|
|
146
146
|
import {
|
|
147
147
|
hangulAmount,
|
|
148
148
|
mapPuaText
|
|
@@ -158,7 +158,7 @@ import {
|
|
|
158
158
|
stripDtd,
|
|
159
159
|
toArrayBuffer,
|
|
160
160
|
unzipLimitBytes
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-UGVLPUEO.js";
|
|
162
162
|
|
|
163
163
|
// src/table/visual.ts
|
|
164
164
|
import { readFile as readFile2 } from "fs/promises";
|
|
@@ -16889,7 +16889,7 @@ var MIN_SIDE = 24;
|
|
|
16889
16889
|
async function ocrEmbeddedImages(blocks, options, warnings) {
|
|
16890
16890
|
const ocr = options?.ocr;
|
|
16891
16891
|
if (ocr !== true && ocr !== "force" && typeof ocr !== "function") return false;
|
|
16892
|
-
const { parseImageDocument } = await import("./image-ocr-
|
|
16892
|
+
const { parseImageDocument } = await import("./image-ocr-KGEUPOG5.js");
|
|
16893
16893
|
let inserted = false, unreadable = 0;
|
|
16894
16894
|
let failed = null;
|
|
16895
16895
|
const walk = async (list, depth) => {
|
|
@@ -20577,7 +20577,7 @@ function scriptsOff(r, off) {
|
|
|
20577
20577
|
}
|
|
20578
20578
|
async function parseImage(buffer, options) {
|
|
20579
20579
|
try {
|
|
20580
|
-
const { parseImageDocument } = await import("./image-ocr-
|
|
20580
|
+
const { parseImageDocument } = await import("./image-ocr-KGEUPOG5.js");
|
|
20581
20581
|
const { blocks, warnings, lines } = await parseImageDocument(buffer, options);
|
|
20582
20582
|
stripScriptTags({ blocks });
|
|
20583
20583
|
return {
|
|
@@ -20649,7 +20649,7 @@ async function parseHwp(buffer, options) {
|
|
|
20649
20649
|
async function parsePdf(buffer, options) {
|
|
20650
20650
|
let parsePdfDocument;
|
|
20651
20651
|
try {
|
|
20652
|
-
const mod = await import("./parser-
|
|
20652
|
+
const mod = await import("./parser-FPBBI4AE.js");
|
|
20653
20653
|
parsePdfDocument = mod.parsePdfDocument;
|
|
20654
20654
|
} catch {
|
|
20655
20655
|
return {
|
|
@@ -20729,7 +20729,7 @@ async function fillForm(input, values, outputFormat = "markdown") {
|
|
|
20729
20729
|
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})`);
|
|
20730
20730
|
}
|
|
20731
20731
|
} else if (format2 === "hwp" && detectOle2Format(buffer) === "hwp") {
|
|
20732
|
-
const { hwpToHwpx: hwpToHwpx2 } = await import("./to-hwpx-
|
|
20732
|
+
const { hwpToHwpx: hwpToHwpx2 } = await import("./to-hwpx-Z5WGF6YZ.js");
|
|
20733
20733
|
const hwpx = await hwpToHwpx2(new Uint8Array(buffer));
|
|
20734
20734
|
buffer = hwpx.buffer.slice(hwpx.byteOffset, hwpx.byteOffset + hwpx.byteLength);
|
|
20735
20735
|
} else {
|
|
@@ -20878,4 +20878,4 @@ export {
|
|
|
20878
20878
|
parseHwpml,
|
|
20879
20879
|
fillForm
|
|
20880
20880
|
};
|
|
20881
|
-
//# sourceMappingURL=chunk-
|
|
20881
|
+
//# sourceMappingURL=chunk-SHPWOK54.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
KordocError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UGVLPUEO.js";
|
|
5
5
|
|
|
6
6
|
// src/hwpx/profile-io.ts
|
|
7
7
|
import { z } from "zod";
|
|
@@ -89,4 +89,4 @@ export {
|
|
|
89
89
|
formatProfileSchema,
|
|
90
90
|
parseFormatProfileJson
|
|
91
91
|
};
|
|
92
|
-
//# sourceMappingURL=chunk-
|
|
92
|
+
//# sourceMappingURL=chunk-SSITTA7K.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
decryptHwpxInPlace,
|
|
4
4
|
isEncryptedManifest,
|
|
5
5
|
lockedHwpxError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CV7R6GFL.js";
|
|
7
7
|
import {
|
|
8
8
|
BEFORE_2024_WIDTH,
|
|
9
9
|
faceClassForReflow,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
readSectionNoteFormats,
|
|
21
21
|
simulateWrap,
|
|
22
22
|
syntheticBoldEm
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZYMXAFG6.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_CHAR,
|
|
26
26
|
DEFAULT_PARA_GEOM,
|
|
@@ -29,14 +29,14 @@ import {
|
|
|
29
29
|
hwpxAppBuild,
|
|
30
30
|
hwpxAppMajor,
|
|
31
31
|
parseRenderStyles
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-KKVUDW3R.js";
|
|
33
33
|
import {
|
|
34
34
|
MAX_DECOMPRESS_SIZE,
|
|
35
35
|
MAX_ZIP_ENTRIES,
|
|
36
36
|
createXmlParser,
|
|
37
37
|
findChildByLocalName,
|
|
38
38
|
readZipEntry
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-YJJGETLN.js";
|
|
40
40
|
import {
|
|
41
41
|
detectImageMime,
|
|
42
42
|
hwpEquationToLatex,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
readHwp5DocInfoRecords,
|
|
47
47
|
readHwp5SectionRecords,
|
|
48
48
|
readHwp5SectionStreams
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-6X5OZ32D.js";
|
|
50
50
|
import {
|
|
51
51
|
TAG_CHAR_SHAPE,
|
|
52
52
|
TAG_CTRL_HEADER,
|
|
@@ -63,11 +63,11 @@ import {
|
|
|
63
63
|
TAG_TABLE,
|
|
64
64
|
isExtendedOnlyCtrlChar,
|
|
65
65
|
parseDocInfo
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-H5WXX55M.js";
|
|
67
67
|
import {
|
|
68
68
|
loadSharp,
|
|
69
69
|
rasterizePageSvg
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-EEXZI6FB.js";
|
|
71
71
|
import {
|
|
72
72
|
parsePageRange
|
|
73
73
|
} from "./chunk-VQFA55IC.js";
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
} from "./chunk-GHHVT4Q5.js";
|
|
78
78
|
import {
|
|
79
79
|
blocksToMarkdown
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-JLXFH46H.js";
|
|
81
81
|
import {
|
|
82
82
|
mapPuaText
|
|
83
83
|
} from "./chunk-KFF47XZ7.js";
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
precheckZipSize,
|
|
89
89
|
stripDtd,
|
|
90
90
|
toArrayBuffer
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-UGVLPUEO.js";
|
|
92
92
|
|
|
93
93
|
// src/render/svg-render.ts
|
|
94
94
|
import JSZip from "jszip";
|
|
@@ -5730,4 +5730,4 @@ export {
|
|
|
5730
5730
|
cropRect,
|
|
5731
5731
|
extractRenderedRegions
|
|
5732
5732
|
};
|
|
5733
|
-
//# sourceMappingURL=chunk-
|
|
5733
|
+
//# sourceMappingURL=chunk-TAVJD44R.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
parseRenderStyles
|
|
4
|
+
} from "./chunk-KKVUDW3R.js";
|
|
2
5
|
import {
|
|
3
6
|
patchZipEntries
|
|
4
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WJZJYJCP.js";
|
|
5
8
|
import {
|
|
6
9
|
applySplices,
|
|
7
10
|
scanSectionXml
|
|
8
11
|
} from "./chunk-3AHL6YEA.js";
|
|
9
|
-
import {
|
|
10
|
-
parseRenderStyles
|
|
11
|
-
} from "./chunk-RQLEGKEV.js";
|
|
12
12
|
import {
|
|
13
13
|
readZipEntry
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YJJGETLN.js";
|
|
15
15
|
import {
|
|
16
16
|
KordocError,
|
|
17
17
|
precheckZipSize
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UGVLPUEO.js";
|
|
19
19
|
|
|
20
20
|
// src/form/seal.ts
|
|
21
21
|
import JSZip from "jszip";
|
|
@@ -321,4 +321,4 @@ export {
|
|
|
321
321
|
collectSites,
|
|
322
322
|
placeSealHwpx
|
|
323
323
|
};
|
|
324
|
-
//# sourceMappingURL=chunk-
|
|
324
|
+
//# sourceMappingURL=chunk-TBVTRCQO.js.map
|
|
@@ -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.50" : "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;
|
|
@@ -172,4 +172,4 @@ export {
|
|
|
172
172
|
classifyError,
|
|
173
173
|
partExtension
|
|
174
174
|
};
|
|
175
|
-
//# sourceMappingURL=chunk-
|
|
175
|
+
//# sourceMappingURL=chunk-UGVLPUEO.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
KordocError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UGVLPUEO.js";
|
|
5
5
|
|
|
6
6
|
// src/shared/offline.ts
|
|
7
7
|
import { realpathSync } from "fs";
|
|
@@ -49,4 +49,4 @@ export {
|
|
|
49
49
|
getAccessRoot,
|
|
50
50
|
assertWithinRoot
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=chunk-
|
|
52
|
+
//# sourceMappingURL=chunk-UHNUEHHP.js.map
|