kordoc 4.24.21 → 4.24.22
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 +5 -5
- package/dist/{-IS4RXPEZ.js → -VCEFVSND.js} +11 -11
- package/dist/{chunk-Z6ONQ63K.js → chunk-35PIJFN6.js} +2 -2
- package/dist/{chunk-NRCG3ASU.js → chunk-3B7SMRWJ.js} +2 -2
- package/dist/{chunk-PDOWSDNM.js → chunk-4F6KDOS5.js} +2 -2
- package/dist/{chunk-OMGCVZ4W.cjs → chunk-4REIOZGL.cjs} +2 -2
- package/dist/{chunk-OMGCVZ4W.cjs.map → chunk-4REIOZGL.cjs.map} +1 -1
- package/dist/{chunk-O5ZCJEZ4.js → chunk-4TFAI3ED.js} +2 -2
- package/dist/{chunk-WVZSTMCZ.cjs → chunk-5DRJA7QR.cjs} +3 -3
- package/dist/{chunk-WVZSTMCZ.cjs.map → chunk-5DRJA7QR.cjs.map} +1 -1
- package/dist/{chunk-4OF7DHIT.js → chunk-6QRVXWR5.js} +4 -4
- package/dist/{chunk-BTBFKDPH.js → chunk-ABTMJUDG.js} +2 -2
- package/dist/{chunk-F4GZFIUJ.js → chunk-CC4NIJMB.js} +2 -2
- package/dist/{chunk-CPVXUEKF.js → chunk-D664D3FI.js} +2 -2
- package/dist/{chunk-WQC4XWVT.js → chunk-D72CU53J.js} +2 -2
- package/dist/{chunk-E6G4B457.js → chunk-GGRHL4YH.js} +2 -2
- package/dist/{chunk-B5M676H3.cjs → chunk-HA3YIEAS.cjs} +6 -6
- package/dist/{chunk-B5M676H3.cjs.map → chunk-HA3YIEAS.cjs.map} +1 -1
- package/dist/{chunk-BUFGW3UJ.cjs → chunk-I3SP3API.cjs} +212 -182
- package/dist/chunk-I3SP3API.cjs.map +1 -0
- package/dist/{chunk-MGCIQ43Y.js → chunk-JYYBXKZA.js} +3 -3
- package/dist/{chunk-BNEKESI4.js → chunk-KHTWVYXZ.js} +2 -2
- package/dist/{chunk-V7S36XCU.cjs → chunk-NFSD73DZ.cjs} +3 -3
- package/dist/{chunk-V7S36XCU.cjs.map → chunk-NFSD73DZ.cjs.map} +1 -1
- package/dist/{chunk-F6OHQLN7.js → chunk-OSA4N6SU.js} +37 -7
- package/dist/chunk-OSA4N6SU.js.map +1 -0
- package/dist/{chunk-BV2YG7M6.js → chunk-SGUJUZQO.js} +2 -2
- package/dist/{chunk-B3POEH7X.js → chunk-SWQRHUDA.js} +2 -2
- package/dist/{chunk-3RVASM4C.js → chunk-TR5VN742.js} +4 -4
- package/dist/{chunk-BMXWY36E.js → chunk-TWDML6TT.js} +38 -8
- package/dist/chunk-TWDML6TT.js.map +1 -0
- package/dist/{chunk-N45RCYBL.js → chunk-UD3HVA54.js} +3 -3
- package/dist/{chunk-NE75RO62.js → chunk-V3BF5CHZ.js} +2 -2
- package/dist/{chunk-IZN5BTCW.js → chunk-VEKQVNQB.js} +2 -2
- package/dist/{chunk-MYDHNNPA.js → chunk-VHOXQFOR.js} +36 -8
- package/dist/chunk-VHOXQFOR.js.map +1 -0
- package/dist/{chunk-L556KKBU.cjs → chunk-XQ3RVR6Q.cjs} +79 -79
- package/dist/{chunk-L556KKBU.cjs.map → chunk-XQ3RVR6Q.cjs.map} +1 -1
- package/dist/{chunk-MMZUWRH6.js → chunk-XQ5HPFAM.js} +11 -11
- package/dist/{chunk-UNYH6MTO.js → chunk-XQQBI2SA.js} +2 -2
- package/dist/chunks-ZLTYS4CR.js +10 -0
- package/dist/cli.js +30 -30
- package/dist/{formula-DHBBWQLC.js → formula-3EGYBYNE.js} +3 -3
- package/dist/{formula-G3FQTUOY.cjs → formula-PHF3UITO.cjs} +9 -9
- package/dist/{formula-G3FQTUOY.cjs.map → formula-PHF3UITO.cjs.map} +1 -1
- package/dist/{formula-I4EA7ULD.js → formula-WMAQ55VQ.js} +4 -4
- package/dist/{image-ocr-5YWVBRY6.js → image-ocr-B2NN5TAL.js} +6 -6
- package/dist/{image-ocr-QUVBGNWD.js → image-ocr-KVJD6GHL.js} +9 -9
- package/dist/{image-ocr-THUO6YRG.cjs → image-ocr-T6LIG5GS.cjs} +17 -17
- package/dist/{image-ocr-THUO6YRG.cjs.map → image-ocr-T6LIG5GS.cjs.map} +1 -1
- package/dist/index.cjs +393 -365
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +36 -8
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +23 -23
- package/dist/{model-bundle-6RG5PO3R.js → model-bundle-EXX3IODU.js} +5 -5
- package/dist/{models-CGYIGN6D.js → models-W2SESSYL.js} +5 -5
- package/dist/{parse-worker-v2-F5NXYBU6.js → parse-worker-v2-7BWE7KNP.js} +12 -12
- package/dist/{parser-G5QTRKII.js → parser-2PI6LJCI.js} +9 -9
- package/dist/{parser-I2C5DUXC.js → parser-CEAA577B.js} +12 -12
- package/dist/{parser-GJ4PKW7I.cjs → parser-YUINUJ4S.cjs} +159 -159
- package/dist/{parser-GJ4PKW7I.cjs.map → parser-YUINUJ4S.cjs.map} +1 -1
- package/dist/{pdf-ocr-TNW6YOPX.js → pdf-ocr-F3CIPEPL.js} +6 -6
- package/dist/pdf-ocr-OSTC5UJV.cjs +35 -0
- package/dist/{pdf-ocr-LJKCUXTE.cjs.map → pdf-ocr-OSTC5UJV.cjs.map} +1 -1
- package/dist/{pdf-ocr-U3I74Q4O.js → pdf-ocr-YGWCP4PR.js} +9 -9
- package/dist/{profile-io-5YZCFK7B.js → profile-io-SPV7R36C.js} +3 -3
- package/dist/{rasterize-7VRHPOQX.js → rasterize-LHEDECSI.js} +3 -3
- package/dist/{redact-doc-VK6VGBK3.js → redact-doc-IAO5G53U.js} +11 -11
- package/dist/{render-Y7J6DPRL.js → render-AUZ46UJ4.js} +7 -7
- package/dist/seal-V7X23PUW.js +10 -0
- package/dist/{setup-4XTUDU4X.js → setup-QSGBWJ6M.js} +3 -3
- package/dist/visual-DRB7R6X2.js +21 -0
- package/dist/{watch-SPZRLTKG.js → watch-GG4NB4MW.js} +12 -12
- package/package.json +1 -1
- package/dist/chunk-BMXWY36E.js.map +0 -1
- package/dist/chunk-BUFGW3UJ.cjs.map +0 -1
- package/dist/chunk-F6OHQLN7.js.map +0 -1
- package/dist/chunk-MYDHNNPA.js.map +0 -1
- package/dist/chunks-FYCQOIWO.js +0 -10
- package/dist/pdf-ocr-LJKCUXTE.cjs +0 -35
- package/dist/seal-4QIZ3ZNI.js +0 -10
- package/dist/visual-VEMQJ52W.js +0 -21
- /package/dist/{-IS4RXPEZ.js.map → -VCEFVSND.js.map} +0 -0
- /package/dist/{chunk-Z6ONQ63K.js.map → chunk-35PIJFN6.js.map} +0 -0
- /package/dist/{chunk-NRCG3ASU.js.map → chunk-3B7SMRWJ.js.map} +0 -0
- /package/dist/{chunk-PDOWSDNM.js.map → chunk-4F6KDOS5.js.map} +0 -0
- /package/dist/{chunk-O5ZCJEZ4.js.map → chunk-4TFAI3ED.js.map} +0 -0
- /package/dist/{chunk-4OF7DHIT.js.map → chunk-6QRVXWR5.js.map} +0 -0
- /package/dist/{chunk-BTBFKDPH.js.map → chunk-ABTMJUDG.js.map} +0 -0
- /package/dist/{chunk-F4GZFIUJ.js.map → chunk-CC4NIJMB.js.map} +0 -0
- /package/dist/{chunk-CPVXUEKF.js.map → chunk-D664D3FI.js.map} +0 -0
- /package/dist/{chunk-WQC4XWVT.js.map → chunk-D72CU53J.js.map} +0 -0
- /package/dist/{chunk-E6G4B457.js.map → chunk-GGRHL4YH.js.map} +0 -0
- /package/dist/{chunk-MGCIQ43Y.js.map → chunk-JYYBXKZA.js.map} +0 -0
- /package/dist/{chunk-BNEKESI4.js.map → chunk-KHTWVYXZ.js.map} +0 -0
- /package/dist/{chunk-BV2YG7M6.js.map → chunk-SGUJUZQO.js.map} +0 -0
- /package/dist/{chunk-B3POEH7X.js.map → chunk-SWQRHUDA.js.map} +0 -0
- /package/dist/{chunk-3RVASM4C.js.map → chunk-TR5VN742.js.map} +0 -0
- /package/dist/{chunk-N45RCYBL.js.map → chunk-UD3HVA54.js.map} +0 -0
- /package/dist/{chunk-NE75RO62.js.map → chunk-V3BF5CHZ.js.map} +0 -0
- /package/dist/{chunk-IZN5BTCW.js.map → chunk-VEKQVNQB.js.map} +0 -0
- /package/dist/{chunk-MMZUWRH6.js.map → chunk-XQ5HPFAM.js.map} +0 -0
- /package/dist/{chunk-UNYH6MTO.js.map → chunk-XQQBI2SA.js.map} +0 -0
- /package/dist/{chunks-FYCQOIWO.js.map → chunks-ZLTYS4CR.js.map} +0 -0
- /package/dist/{formula-DHBBWQLC.js.map → formula-3EGYBYNE.js.map} +0 -0
- /package/dist/{formula-I4EA7ULD.js.map → formula-WMAQ55VQ.js.map} +0 -0
- /package/dist/{image-ocr-5YWVBRY6.js.map → image-ocr-B2NN5TAL.js.map} +0 -0
- /package/dist/{image-ocr-QUVBGNWD.js.map → image-ocr-KVJD6GHL.js.map} +0 -0
- /package/dist/{model-bundle-6RG5PO3R.js.map → model-bundle-EXX3IODU.js.map} +0 -0
- /package/dist/{models-CGYIGN6D.js.map → models-W2SESSYL.js.map} +0 -0
- /package/dist/{parse-worker-v2-F5NXYBU6.js.map → parse-worker-v2-7BWE7KNP.js.map} +0 -0
- /package/dist/{parser-G5QTRKII.js.map → parser-2PI6LJCI.js.map} +0 -0
- /package/dist/{parser-I2C5DUXC.js.map → parser-CEAA577B.js.map} +0 -0
- /package/dist/{pdf-ocr-TNW6YOPX.js.map → pdf-ocr-F3CIPEPL.js.map} +0 -0
- /package/dist/{pdf-ocr-U3I74Q4O.js.map → pdf-ocr-YGWCP4PR.js.map} +0 -0
- /package/dist/{profile-io-5YZCFK7B.js.map → profile-io-SPV7R36C.js.map} +0 -0
- /package/dist/{rasterize-7VRHPOQX.js.map → rasterize-LHEDECSI.js.map} +0 -0
- /package/dist/{redact-doc-VK6VGBK3.js.map → redact-doc-IAO5G53U.js.map} +0 -0
- /package/dist/{render-Y7J6DPRL.js.map → render-AUZ46UJ4.js.map} +0 -0
- /package/dist/{seal-4QIZ3ZNI.js.map → seal-V7X23PUW.js.map} +0 -0
- /package/dist/{setup-4XTUDU4X.js.map → setup-QSGBWJ6M.js.map} +0 -0
- /package/dist/{visual-VEMQJ52W.js.map → visual-DRB7R6X2.js.map} +0 -0
- /package/dist/{watch-SPZRLTKG.js.map → watch-GG4NB4MW.js.map} +0 -0
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
parseRenderStyles,
|
|
4
4
|
readZipEntry
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VEKQVNQB.js";
|
|
6
6
|
import {
|
|
7
7
|
KordocError,
|
|
8
8
|
precheckZipSize
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-D72CU53J.js";
|
|
10
10
|
|
|
11
11
|
// src/form/seal.ts
|
|
12
12
|
import JSZip from "jszip";
|
|
@@ -1858,4 +1858,4 @@ export {
|
|
|
1858
1858
|
patchZipEntries,
|
|
1859
1859
|
placeSealHwpx
|
|
1860
1860
|
};
|
|
1861
|
-
//# sourceMappingURL=chunk-
|
|
1861
|
+
//# sourceMappingURL=chunk-UD3HVA54.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
KordocError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XQQBI2SA.js";
|
|
4
4
|
|
|
5
5
|
// src/pdf/formula/models.ts
|
|
6
6
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -310,4 +310,4 @@ export {
|
|
|
310
310
|
ensureFormulaModels,
|
|
311
311
|
ensureSingleModel
|
|
312
312
|
};
|
|
313
|
-
//# sourceMappingURL=chunk-
|
|
313
|
+
//# sourceMappingURL=chunk-V3BF5CHZ.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
KordocError,
|
|
4
4
|
unzipLimitBytes
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-D72CU53J.js";
|
|
6
6
|
|
|
7
7
|
// src/hwpx/parser-shared.ts
|
|
8
8
|
import { DOMParser } from "@xmldom/xmldom";
|
|
@@ -495,4 +495,4 @@ export {
|
|
|
495
495
|
hwpFaceToCssStack,
|
|
496
496
|
parseRenderStyles
|
|
497
497
|
};
|
|
498
|
-
//# sourceMappingURL=chunk-
|
|
498
|
+
//# sourceMappingURL=chunk-VEKQVNQB.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
loadSharp,
|
|
4
4
|
rasterizePageSvg
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3B7SMRWJ.js";
|
|
6
6
|
import {
|
|
7
7
|
inlineImagesIntoMarkdown
|
|
8
8
|
} from "./chunk-VKVDMH7X.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
HEADING_RATIO_H3,
|
|
17
17
|
tidyScriptTags,
|
|
18
18
|
unframeLayoutTables
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CC4NIJMB.js";
|
|
20
20
|
import {
|
|
21
21
|
MAX_COLS,
|
|
22
22
|
MAX_ROWS,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
mapPuaText,
|
|
34
34
|
markNonLayoutTable,
|
|
35
35
|
romanNumeral
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-SWQRHUDA.js";
|
|
37
37
|
import {
|
|
38
38
|
DEFAULT_CHAR,
|
|
39
39
|
DEFAULT_PARA_GEOM,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
hwpxAppMajor,
|
|
48
48
|
parseRenderStyles,
|
|
49
49
|
readZipEntry
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-VEKQVNQB.js";
|
|
51
51
|
import {
|
|
52
52
|
KordocError,
|
|
53
53
|
compareSectionPaths,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
sanitizeHref,
|
|
57
57
|
stripDtd,
|
|
58
58
|
toArrayBuffer
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-D72CU53J.js";
|
|
60
60
|
|
|
61
61
|
// src/render/svg-render.ts
|
|
62
62
|
import JSZip from "jszip";
|
|
@@ -159,6 +159,7 @@ function solveRowHeights(cells, rowCount, maxTotal = Number.POSITIVE_INFINITY, s
|
|
|
159
159
|
return false;
|
|
160
160
|
}
|
|
161
161
|
if (evenOnly && missing.length !== 1) return false;
|
|
162
|
+
if (evenOnly && c.height > maxTotal) return false;
|
|
162
163
|
done.add(k);
|
|
163
164
|
if (c.height <= known) return false;
|
|
164
165
|
const each = (c.height - known) / missing.length;
|
|
@@ -168,7 +169,7 @@ function solveRowHeights(cells, rowCount, maxTotal = Number.POSITIVE_INFINITY, s
|
|
|
168
169
|
for (let r = 0; r < rowCount; r++) {
|
|
169
170
|
if (h[r] !== 0) continue;
|
|
170
171
|
let need = 0;
|
|
171
|
-
for (const { c, rows } of spans) if (rows[rows.length - 1] === r && rows.slice(0, -1).every((q) => h[q] > 0)) need = Math.max(need, c.height - rows.slice(0, -1).reduce((t, q) => t + h[q], 0));
|
|
172
|
+
for (const { c, rows } of spans) if (rows[rows.length - 1] === r && rows.slice(0, -1).every((q) => h[q] > 0) && c.height <= maxTotal) need = Math.max(need, c.height - rows.slice(0, -1).reduce((t, q) => t + h[q], 0));
|
|
172
173
|
if (need > 0) h[r] = need;
|
|
173
174
|
}
|
|
174
175
|
for (let again = true; again; ) {
|
|
@@ -180,7 +181,7 @@ function solveRowHeights(cells, rowCount, maxTotal = Number.POSITIVE_INFINITY, s
|
|
|
180
181
|
const overSz = total > maxTotal;
|
|
181
182
|
for (const { c, rows } of [...spans].sort((a, b) => a.rows[a.rows.length - 1] - b.rows[b.rows.length - 1] || b.rows[0] - a.rows[0])) {
|
|
182
183
|
const known = rows.reduce((s, r) => s + h[r], 0);
|
|
183
|
-
const add = Math.min(c.height - known, overSz && c.contentH != null && c.contentH >= c.height ? Number.POSITIVE_INFINITY : maxTotal - total);
|
|
184
|
+
const add = Math.min(c.height - known, overSz && (c.contentH != null && c.contentH >= c.height || c.height <= maxTotal / 2) ? Number.POSITIVE_INFINITY : maxTotal - total);
|
|
184
185
|
if (rows.length && add > 0) {
|
|
185
186
|
h[rows[rows.length - 1]] += add;
|
|
186
187
|
total += add;
|
|
@@ -12824,6 +12825,11 @@ function reflowBlockFlow(container, doc, styles, areaW, mode, counter, bodyH) {
|
|
|
12824
12825
|
if (Number.isFinite(bottom)) {
|
|
12825
12826
|
cursorV = bottom;
|
|
12826
12827
|
prevSpaceAfter = g?.spaceAfter ?? 0;
|
|
12828
|
+
const segsL = elements2(lsa).filter((e) => ln2(e) === "lineseg"), lastL = segsL[segsL.length - 1];
|
|
12829
|
+
if (bodyFlow && lastL && num2(lastL, "vertpos") + num2(lastL, "vertsize") > bodyH) {
|
|
12830
|
+
cursorV = num2(lastL, "vertsize") + num2(lastL, "spacing");
|
|
12831
|
+
prevSpaceAfter = 0;
|
|
12832
|
+
}
|
|
12827
12833
|
}
|
|
12828
12834
|
}
|
|
12829
12835
|
continue;
|
|
@@ -13505,8 +13511,15 @@ function planTableRows(tbl, cells, rowH, ty, MT, BODY_H, slack = 0, floatSpan, n
|
|
|
13505
13511
|
if (outT + rowY[nRows] + outB <= BODY_H) return rowH.map((h, r) => [{ page: 1, y: contMT + outT + rowY[r], h }]);
|
|
13506
13512
|
}
|
|
13507
13513
|
const spanStarts = cellSplit ? spanPartRows(cells, rowY, BODY_H) : /* @__PURE__ */ new Set();
|
|
13514
|
+
const declaredH = num(findChildByLocalName(tbl, "sz"), "height");
|
|
13515
|
+
const cutRow = declaredH > 0 && declaredH < rowY[nRows] - 1e3 ? rowY.findIndex((v, k) => k > hdrRows && k < nRows && Math.abs(v - declaredH) <= 20 && ty + v <= pageBottom) : -1;
|
|
13508
13516
|
for (let r = 0; r < nRows; r++) {
|
|
13509
13517
|
let h = rowH[r];
|
|
13518
|
+
if (r === cutRow && page === 0 && !first) {
|
|
13519
|
+
page++;
|
|
13520
|
+
y = contTop;
|
|
13521
|
+
first = true;
|
|
13522
|
+
}
|
|
13510
13523
|
const pieces = [];
|
|
13511
13524
|
if (!first && r >= hdrRows && spanStarts.has(r) && !cells.some((c) => c.rs > 1 && c.ra < r && c.ra + c.rs > r && (out[c.ra]?.[0]?.page ?? page) < page)) {
|
|
13512
13525
|
page++;
|
|
@@ -13590,6 +13603,11 @@ function planTableRows(tbl, cells, rowH, ty, MT, BODY_H, slack = 0, floatSpan, n
|
|
|
13590
13603
|
}
|
|
13591
13604
|
if (inK.length && next) toNext = Math.max(toNext, next.top - from + c.marginT + c.marginB);
|
|
13592
13605
|
}
|
|
13606
|
+
if (k > 0) for (const c of cells) {
|
|
13607
|
+
if (c.rs < 2 || c.ra + c.rs - 1 !== r) continue;
|
|
13608
|
+
const inK = cellLineBoxes(c, BODY_H).filter((b) => b.part === k);
|
|
13609
|
+
if (inK.length) ext = Math.max(ext, inK[inK.length - 1].bottom - inK[0].origin + c.marginT + c.marginB);
|
|
13610
|
+
}
|
|
13593
13611
|
const last = k === hParts;
|
|
13594
13612
|
const cellH = Math.max(0, ...rowCells.map((c) => num(findChildByLocalName(c.el, "cellSz"), "height")));
|
|
13595
13613
|
const firstH = Math.min(declared > 0 && ty + declared - y >= ext ? Math.min(pageBottom - y, ty + declared - y) : pageBottom - y, Math.max(ext, cellH));
|
|
@@ -15657,6 +15675,16 @@ function renderSectionToPages(root, geom, ctxBase, doReflow, reflowMode, masters
|
|
|
15657
15675
|
const lsa = findChildByLocalName(q, "linesegarray");
|
|
15658
15676
|
if (lsa) q.removeChild(lsa);
|
|
15659
15677
|
}
|
|
15678
|
+
else if (paras.some((q) => {
|
|
15679
|
+
const runs = elements(q).filter((r) => ln(r) === "run");
|
|
15680
|
+
if (!runs.length || runs.some((r) => elements(r).some((c) => ln(c) !== "t"))) return false;
|
|
15681
|
+
const ch = Math.max(...runs.map((r) => (ctxBase.styles.charPr.get(r.getAttribute("charPrIDRef") ?? "") ?? DEFAULT_CHAR).height));
|
|
15682
|
+
const lsa = findChildByLocalName(q, "linesegarray");
|
|
15683
|
+
return (lsa ? elements(lsa) : []).some((sg) => ln(sg) === "lineseg" && num(sg, "textheight") > ch * 1.5);
|
|
15684
|
+
})) for (const q of paras) {
|
|
15685
|
+
const lsa = findChildByLocalName(q, "linesegarray");
|
|
15686
|
+
if (lsa) q.removeChild(lsa);
|
|
15687
|
+
}
|
|
15660
15688
|
}
|
|
15661
15689
|
const absolute = !degenerate && absoluteTopCache(root, ML, BODY_W);
|
|
15662
15690
|
if (absolute) {
|
|
@@ -20331,4 +20359,4 @@ export {
|
|
|
20331
20359
|
cropRect,
|
|
20332
20360
|
extractRenderedRegions
|
|
20333
20361
|
};
|
|
20334
|
-
//# sourceMappingURL=chunk-
|
|
20362
|
+
//# sourceMappingURL=chunk-VHOXQFOR.js.map
|