@univerjs/engine-render 0.9.1 → 0.9.2
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/lib/cjs/index.js +1 -1
- package/lib/es/index.js +384 -381
- package/lib/index.js +384 -381
- package/lib/umd/index.js +1 -1
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var k = (r, t, e) =>
|
|
4
|
-
import { Tools as o1, DEFAULT_STYLES as l2, FontStyleType as F0, BaselineOffset as m3, getCellInfoInMergeData as
|
|
5
|
-
import { BehaviorSubject as I3, Subject as P1, startWith as oa, distinctUntilChanged as
|
|
6
|
-
var
|
|
7
|
-
const L3 = 1, q3 = '"Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif',
|
|
1
|
+
var M8 = Object.defineProperty;
|
|
2
|
+
var R8 = (r, t, e) => t in r ? M8(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
|
+
var k = (r, t, e) => R8(r, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
+
import { Tools as o1, DEFAULT_STYLES as l2, FontStyleType as F0, BaselineOffset as m3, getCellInfoInMergeData as O8, Rectangle as M3, ColorKit as d4, Disposable as D2, EventSubject as s1, checkParagraphHasIndentByStyle as I8, DataStreamTreeTokenType as J, BorderStyleTypes as U1, BooleanNumber as t1, DisposableCollection as L8, toDisposable as V1, sortRules as d2, Registry as je, Range as H3, numberToABC as P8, HorizontalAlign as g1, VerticalAlign as h2, insertTextToContent as N8, horizontalLineSegmentsSubtraction as $8, deleteContent as U8, DataStreamTreeNodeType as X1, GridType as N1, BulletAlignment as Ie, TableTextWrapType as J0, PositionedObjectLayoutType as K1, WrapTextType as W0, ColumnSeparatorType as u0, TableRowHeightRule as n0, VerticalAlignmentType as Y2, TableAlignmentType as Le, NAMED_STYLE_SPACE_MAP as H8, ObjectRelativeFromV as b1, SpacingRule as Q0, CustomDecorationType as q8, CustomRangeType as Pe, ObjectMatrix as W1, SectionType as ee, NumberUnitType as G8, DocumentFlavor as l7, WrapStrategy as T1, PageOrientType as N4, NAMED_STYLE_MAP as W8, mergeWith as v6, AlignTypeH as o3, ObjectRelativeFromH as z1, AlignTypeV as J3, ListGlyphType as S3, numberToListABC as u7, Skeleton as Y8, PRESET_LIST_TYPE as X8, DocumentDataModel as g4, DEFAULT_EMPTY_DOCUMENT_VALUE as d7, Inject as b3, LocaleService as V8, IContextService as K8, IConfigService as g7, Injector as we, SheetSkeleton as Z8, extractPureTextFromCell as c7, CellValueType as X2, addLinkToDocumentModel as J8, searchArray as S0, isNullCell as Q8, getColorStyle as y3, isWhiteColor as b6, TextDecoration as p2, requestImmediateMacroTask as h7, COLORS as y6, createIdentifier as $4, ThemeService as k7, invertColorByMatrix as ea, MOVE_BUFFER_VALUE as z6, sortRulesByDesc as _6, isClassDependencyItem as ta, IUniverInstanceService as aa, remove as D6, UniverInstanceType as ra, Plugin as sa, merge as na, registerDependencies as ia } from "@univerjs/core";
|
|
5
|
+
import { BehaviorSubject as I3, Subject as P1, startWith as oa, distinctUntilChanged as m7, Subscription as la, Observable as p7, shareReplay as ua, debounceTime as da } from "rxjs";
|
|
6
|
+
var f7 = /* @__PURE__ */ ((r) => (r.RECT = "rect", r.CIRCLE = "circle", r.PATH = "path", r))(f7 || {}), ga = /* @__PURE__ */ ((r) => (r[r.XY = 0] = "XY", r[r.X = 1] = "X", r[r.Y = 2] = "Y", r))(ga || {});
|
|
7
|
+
const L3 = 1, q3 = '"Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif', v7 = {
|
|
8
8
|
lines: [],
|
|
9
9
|
drawings: /* @__PURE__ */ new Map(),
|
|
10
10
|
height: 0,
|
|
@@ -12,10 +12,10 @@ const L3 = 1, q3 = '"Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino
|
|
|
12
12
|
ed: 0,
|
|
13
13
|
marginLeft: 0
|
|
14
14
|
}, IT = {
|
|
15
|
-
...
|
|
15
|
+
...v7,
|
|
16
16
|
marginTop: 20
|
|
17
17
|
}, LT = {
|
|
18
|
-
...
|
|
18
|
+
...v7,
|
|
19
19
|
marginBottom: 20
|
|
20
20
|
}, PT = 1, ca = 14;
|
|
21
21
|
var f1 = /* @__PURE__ */ ((r) => (r.DEFAULT = "default", r.AUTO = "auto", r.CROSSHAIR = "crosshair", r.POINTER = "pointer", r.MOVE = "move", r.EAST_RESIZE = "e-resize", r.NORTH_EAST_RESIZE = "ne-resize", r.NORTH_WEST_RESIZE = "nw-resize", r.NORTH_RESIZE = "n-resize", r.SOUTH_EAST_RESIZE = "se-resize", r.SOUTH_WEST_RESIZE = "sw-resize", r.SOUTH_RESIZE = "s-resize", r.WEST_RESIZE = "w-resize", r.TEXT = "text", r.WAIT = "wait", r.HELP = "help", r.CELL = "cell", r.NONE = "none", r.VERTICAL_TEXT = "vertical-text", r.NO_DROP = "no-drop", r.GRAB = "grab", r.GRABBING = "grabbing", r.ALL_SCROLL = "all-scroll", r.COLUMN_RESIZE = "col-resize", r.ROW_RESIZE = "row-resize", r.PROGRESS = "progress", r.NOT_ALLOWED = "not-allowed", r.ZOOM_IN = "zoom-in", r.ZOOM_OUT = "zoom-out", r))(f1 || {}), ha = /* @__PURE__ */ ((r) => (r[r.noClip = 0] = "noClip", r[r.DOC_SIZE = 1] = "DOC_SIZE", r[r.CONTENT_SIZE_LEFT = 2] = "CONTENT_SIZE_LEFT", r[r.CONTENT_SIZE_CENTER = 3] = "CONTENT_SIZE_CENTER", r[r.CONTENT_SIZE_Right = 4] = "CONTENT_SIZE_Right", r))(ha || {});
|
|
@@ -32448,7 +32448,7 @@ const ja = [
|
|
|
32448
32448
|
Simple_Case_Mapping: cv,
|
|
32449
32449
|
Word_Break: lv
|
|
32450
32450
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
32451
|
-
function
|
|
32451
|
+
function b7(r) {
|
|
32452
32452
|
const t = Object.keys(r);
|
|
32453
32453
|
if (t.length === 0)
|
|
32454
32454
|
throw new Error("Expected at least one category, but received 0.");
|
|
@@ -32466,7 +32466,7 @@ function kv(r, t) {
|
|
|
32466
32466
|
const a = hv[r][t];
|
|
32467
32467
|
return new T2().union(...a);
|
|
32468
32468
|
}
|
|
32469
|
-
const U4 =
|
|
32469
|
+
const U4 = b7({
|
|
32470
32470
|
Script: ["Han", "Katakana", "Hiragana", "Hangul", "Bopomofo"],
|
|
32471
32471
|
General_Category: [
|
|
32472
32472
|
"Other_Letter",
|
|
@@ -32474,7 +32474,7 @@ const U4 = v7({
|
|
|
32474
32474
|
"Other_Symbol",
|
|
32475
32475
|
"Modifier_Letter"
|
|
32476
32476
|
]
|
|
32477
|
-
}),
|
|
32477
|
+
}), y7 = b7({
|
|
32478
32478
|
Block: [
|
|
32479
32479
|
"CJK_Compatibility",
|
|
32480
32480
|
"CJK_Symbols_And_Punctuation",
|
|
@@ -32489,7 +32489,7 @@ const U4 = v7({
|
|
|
32489
32489
|
"Katakana"
|
|
32490
32490
|
// All non-punctuation characters in this block are contained in `cjkLetters` because their Script is Katakana.
|
|
32491
32491
|
]
|
|
32492
|
-
}).subtract(U4), mv = xe(U4,
|
|
32492
|
+
}).subtract(U4), mv = xe(U4, y7);
|
|
32493
32493
|
function pv() {
|
|
32494
32494
|
return xe(mv);
|
|
32495
32495
|
}
|
|
@@ -32497,7 +32497,7 @@ function fv() {
|
|
|
32497
32497
|
return xe(U4);
|
|
32498
32498
|
}
|
|
32499
32499
|
function vv() {
|
|
32500
|
-
return xe(
|
|
32500
|
+
return xe(y7);
|
|
32501
32501
|
}
|
|
32502
32502
|
const bv = "0", C6 = (r) => ({
|
|
32503
32503
|
sbr: 0.6,
|
|
@@ -32723,7 +32723,7 @@ class F1 {
|
|
|
32723
32723
|
}
|
|
32724
32724
|
}
|
|
32725
32725
|
k(F1, "_getTextHeightCache", {}), k(F1, "_context"), k(F1, "_fontDataMap", /* @__PURE__ */ new Map()), k(F1, "_globalFontMeasureCache", /* @__PURE__ */ new Map());
|
|
32726
|
-
const
|
|
32726
|
+
const z7 = 180, yv = Math.PI / z7, zv = z7 / Math.PI, E6 = "rgb(", _v = "rgba(", M2 = (r, t) => r ? t != null ? `${_v + r.join(",")},${t})` : `${E6 + r.join(",")})` : `${E6}0,0,0)`, Dv = 100, V2 = (r, t) => {
|
|
32727
32727
|
if (o1.isNumber(r))
|
|
32728
32728
|
return r;
|
|
32729
32729
|
if (t && r && o1.isString(r) && r.substr(r.length - 1, 1) === "%") {
|
|
@@ -32731,7 +32731,7 @@ const y7 = 180, yv = Math.PI / y7, zv = y7 / Math.PI, E6 = "rgb(", _v = "rgba(",
|
|
|
32731
32731
|
return t * e;
|
|
32732
32732
|
}
|
|
32733
32733
|
return 0;
|
|
32734
|
-
}, jv = 16, ae = (r, t) => (t || (t = window), t.requestPostAnimationFrame ? t.requestPostAnimationFrame(r) : t.requestAnimationFrame ? t.requestAnimationFrame(r) : t.msRequestAnimationFrame ? t.msRequestAnimationFrame(r) : t.webkitRequestAnimationFrame ? t.webkitRequestAnimationFrame(r) : t.mozRequestAnimationFrame ? t.mozRequestAnimationFrame(r) : t.oRequestAnimationFrame ? t.oRequestAnimationFrame(r) : setTimeout(r, jv)), wv = (r, t) => (t || (t = window), t.requestPostAnimationFrame ? t.cancelPostAnimationFrame(r) : t.requestAnimationFrame ? t.cancelAnimationFrame(r) : t.msRequestAnimationFrame ? t.msCancelAnimationFrame(r) : t.webkitRequestAnimationFrame ? t.webkitCancelAnimationFrame(r) : t.mozRequestAnimationFrame ? t.mozCancelAnimationFrame(r) : t.oRequestAnimationFrame ? t.oCancelAnimationFrame(r) : clearTimeout(r)),
|
|
32734
|
+
}, jv = 16, ae = (r, t) => (t || (t = window), t.requestPostAnimationFrame ? t.requestPostAnimationFrame(r) : t.requestAnimationFrame ? t.requestAnimationFrame(r) : t.msRequestAnimationFrame ? t.msRequestAnimationFrame(r) : t.webkitRequestAnimationFrame ? t.webkitRequestAnimationFrame(r) : t.mozRequestAnimationFrame ? t.mozRequestAnimationFrame(r) : t.oRequestAnimationFrame ? t.oRequestAnimationFrame(r) : setTimeout(r, jv)), wv = (r, t) => (t || (t = window), t.requestPostAnimationFrame ? t.cancelPostAnimationFrame(r) : t.requestAnimationFrame ? t.cancelAnimationFrame(r) : t.msRequestAnimationFrame ? t.msCancelAnimationFrame(r) : t.webkitRequestAnimationFrame ? t.webkitCancelAnimationFrame(r) : t.mozRequestAnimationFrame ? t.mozCancelAnimationFrame(r) : t.oRequestAnimationFrame ? t.oCancelAnimationFrame(r) : clearTimeout(r)), _7 = () => {
|
|
32735
32735
|
const r = document.createElement("canvas");
|
|
32736
32736
|
try {
|
|
32737
32737
|
r.style = r.style || {};
|
|
@@ -32739,7 +32739,7 @@ const y7 = 180, yv = Math.PI / y7, zv = y7 / Math.PI, E6 = "rgb(", _v = "rgba(",
|
|
|
32739
32739
|
console.error(t);
|
|
32740
32740
|
}
|
|
32741
32741
|
return r;
|
|
32742
|
-
}, HT = () => document.createElement("img"),
|
|
32742
|
+
}, HT = () => document.createElement("img"), D7 = (r) => r * zv, Z1 = (r) => r * yv, F6 = () => {
|
|
32743
32743
|
let r = "pointer";
|
|
32744
32744
|
return typeof window < "u" && !window.PointerEvent && typeof navigator < "u" && (r = "mouse"), o1.isTablet() && !o1.isIPhone() && // And not ipad pros who claim to be macs...
|
|
32745
32745
|
!(document && "ontouchend" in document) && (r = "mouse"), r;
|
|
@@ -32849,10 +32849,10 @@ const c4 = /^(?:[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2
|
|
|
32849
32849
|
function h4(r) {
|
|
32850
32850
|
return Bv.test(r);
|
|
32851
32851
|
}
|
|
32852
|
-
function
|
|
32852
|
+
function j7(r) {
|
|
32853
32853
|
return /[\u0600-\u06FF]|[\u0750-\u0750]|[\u0870-\u08FF]|[\uFB50-\uFDFF]|[\uFE70-\uFEFF]/gi.test(r);
|
|
32854
32854
|
}
|
|
32855
|
-
function
|
|
32855
|
+
function w7(r) {
|
|
32856
32856
|
return /[\u0180-\u024F]/gi.test(r);
|
|
32857
32857
|
}
|
|
32858
32858
|
function Av(r) {
|
|
@@ -32864,7 +32864,7 @@ function q4(r) {
|
|
|
32864
32864
|
function G4(r) {
|
|
32865
32865
|
return ["“", "‘", "《", "(", "『", "「", "【", "〖", "〔", "〈", "[", "{"].indexOf(r) > -1;
|
|
32866
32866
|
}
|
|
32867
|
-
function
|
|
32867
|
+
function x7(r) {
|
|
32868
32868
|
return ["・", "·"].indexOf(r) > -1;
|
|
32869
32869
|
}
|
|
32870
32870
|
const B6 = 1e3;
|
|
@@ -32880,12 +32880,12 @@ function Ee() {
|
|
|
32880
32880
|
T0 = null;
|
|
32881
32881
|
}, B6), r;
|
|
32882
32882
|
}
|
|
32883
|
-
const
|
|
32883
|
+
const C7 = 72, Mv = 25.4;
|
|
32884
32884
|
function eB(r) {
|
|
32885
|
-
return r / (
|
|
32885
|
+
return r / (C7 / Ee());
|
|
32886
32886
|
}
|
|
32887
32887
|
function tB(r) {
|
|
32888
|
-
return r * (
|
|
32888
|
+
return r * (C7 / Ee());
|
|
32889
32889
|
}
|
|
32890
32890
|
function aB(r) {
|
|
32891
32891
|
return r * (Ee() / Mv);
|
|
@@ -32893,7 +32893,7 @@ function aB(r) {
|
|
|
32893
32893
|
function rB(r) {
|
|
32894
32894
|
return r * Ee();
|
|
32895
32895
|
}
|
|
32896
|
-
function
|
|
32896
|
+
function E7(r) {
|
|
32897
32897
|
const { scaleX: t = 1, scaleY: e = 1 } = r;
|
|
32898
32898
|
return Math.max(t, e);
|
|
32899
32899
|
}
|
|
@@ -32965,7 +32965,7 @@ const sB = Ov;
|
|
|
32965
32965
|
function nB(r, t, e, a) {
|
|
32966
32966
|
let s = !1;
|
|
32967
32967
|
for (let n = t; n <= e; n++) {
|
|
32968
|
-
const { isMerged: i, isMergedMainCell: o } =
|
|
32968
|
+
const { isMerged: i, isMergedMainCell: o } = O8(r, n, a);
|
|
32969
32969
|
if (!i && !o) {
|
|
32970
32970
|
s = !0;
|
|
32971
32971
|
break;
|
|
@@ -33014,14 +33014,14 @@ function Iv(r) {
|
|
|
33014
33014
|
height: T3(o)
|
|
33015
33015
|
};
|
|
33016
33016
|
}
|
|
33017
|
-
const
|
|
33017
|
+
const F7 = 0.75;
|
|
33018
33018
|
function g3(r) {
|
|
33019
|
-
return r /
|
|
33019
|
+
return r / F7;
|
|
33020
33020
|
}
|
|
33021
33021
|
function dB(r) {
|
|
33022
|
-
return r *
|
|
33022
|
+
return r * F7;
|
|
33023
33023
|
}
|
|
33024
|
-
function
|
|
33024
|
+
function S7(r, t, e) {
|
|
33025
33025
|
for (const a of r)
|
|
33026
33026
|
if (t >= a.startRow && t <= a.endRow && e >= a.startColumn && e <= a.endColumn)
|
|
33027
33027
|
return !0;
|
|
@@ -33790,7 +33790,7 @@ class B1 {
|
|
|
33790
33790
|
const u = Math.sqrt(a * a + s * s);
|
|
33791
33791
|
l.angle = Math.PI / 2 - (s > 0 ? Math.acos(-a / u) : -Math.acos(a / u)), l.scaleX = o / u, l.scaleY = u, l.skewX = 0, l.skewY = (t * a + e * s) / o;
|
|
33792
33792
|
}
|
|
33793
|
-
return l.angle =
|
|
33793
|
+
return l.angle = D7(l.angle), l;
|
|
33794
33794
|
}
|
|
33795
33795
|
makeBoundingBoxFromPoints(t) {
|
|
33796
33796
|
if (this)
|
|
@@ -33865,7 +33865,7 @@ class B1 {
|
|
|
33865
33865
|
// return newTr;
|
|
33866
33866
|
// }
|
|
33867
33867
|
}
|
|
33868
|
-
const
|
|
33868
|
+
const T7 = [
|
|
33869
33869
|
"top",
|
|
33870
33870
|
"left",
|
|
33871
33871
|
"width",
|
|
@@ -34318,7 +34318,7 @@ class t3 extends D2 {
|
|
|
34318
34318
|
}
|
|
34319
34319
|
toJson() {
|
|
34320
34320
|
const e = {};
|
|
34321
|
-
return
|
|
34321
|
+
return T7.forEach((a) => {
|
|
34322
34322
|
this[a] && (e[a] = this[a]);
|
|
34323
34323
|
}), e;
|
|
34324
34324
|
}
|
|
@@ -34394,7 +34394,7 @@ function kB(r, t) {
|
|
|
34394
34394
|
if (e == null)
|
|
34395
34395
|
return !1;
|
|
34396
34396
|
const { paragraphStyle: a } = e;
|
|
34397
|
-
return a == null ? !1 :
|
|
34397
|
+
return a == null ? !1 : I8(a);
|
|
34398
34398
|
}
|
|
34399
34399
|
function mB(r) {
|
|
34400
34400
|
const t = r == null ? void 0 : r.parent, e = t == null ? void 0 : t.parent, a = t == null ? void 0 : t.glyphGroup, s = e == null ? void 0 : e.divides;
|
|
@@ -34439,9 +34439,9 @@ function fB(r) {
|
|
|
34439
34439
|
function vB(r, t) {
|
|
34440
34440
|
return r == null || t == null || r.parent == null || t.parent == null ? !1 : r.parent.parent === t.parent.parent;
|
|
34441
34441
|
}
|
|
34442
|
-
function
|
|
34442
|
+
function B7() {
|
|
34443
34443
|
let r = 1;
|
|
34444
|
-
const e =
|
|
34444
|
+
const e = _7().getContext("2d");
|
|
34445
34445
|
return r = (() => {
|
|
34446
34446
|
const a = window.devicePixelRatio || 1, s = e.webkitBackingStorePixelRatio || e.mozBackingStorePixelRatio || e.msBackingStorePixelRatio || e.oBackingStorePixelRatio || e.backingStorePixelRatio || 1;
|
|
34447
34447
|
return a / s;
|
|
@@ -34496,7 +34496,7 @@ function bB(r, t, e) {
|
|
|
34496
34496
|
}
|
|
34497
34497
|
r.beginPath(), r.clearRectForTexture(a, s, n - a, i - s);
|
|
34498
34498
|
}
|
|
34499
|
-
function
|
|
34499
|
+
function A7(r, t) {
|
|
34500
34500
|
t === U1.HAIR ? r.setLineDash([1, 1]) : t === U1.DASH_DOT_DOT || t === U1.MEDIUM_DASH_DOT_DOT ? r.setLineDash([2, 2, 5, 2, 2]) : t === U1.DASH_DOT || t === U1.MEDIUM_DASH_DOT || t === U1.SLANT_DASH_DOT ? r.setLineDash([2, 5, 2]) : t === U1.DOTTED ? r.setLineDash([2]) : t === U1.DASHED || t === U1.MEDIUM_DASHED ? r.setLineDash([3]) : r.setLineDash([0]);
|
|
34501
34501
|
}
|
|
34502
34502
|
function Uv() {
|
|
@@ -34504,9 +34504,9 @@ function Uv() {
|
|
|
34504
34504
|
return r - Math.floor(r);
|
|
34505
34505
|
}
|
|
34506
34506
|
function Hv(r) {
|
|
34507
|
-
return Math.ceil(r /
|
|
34507
|
+
return Math.ceil(r / B7() * 100) / 100;
|
|
34508
34508
|
}
|
|
34509
|
-
function
|
|
34509
|
+
function M7(r) {
|
|
34510
34510
|
let t = 1;
|
|
34511
34511
|
return r === U1.MEDIUM || r === U1.MEDIUM_DASH_DOT || r === U1.MEDIUM_DASHED || r === U1.MEDIUM_DASH_DOT_DOT ? t = 2 : r === U1.THICK && (t = 3), t;
|
|
34512
34512
|
}
|
|
@@ -34517,7 +34517,7 @@ function f2(r, t, e, a, s = U.create(0, 0)) {
|
|
|
34517
34517
|
function qv(r) {
|
|
34518
34518
|
return r > 0 ? te.DOWN : te.UP;
|
|
34519
34519
|
}
|
|
34520
|
-
function
|
|
34520
|
+
function R7(r, t, e) {
|
|
34521
34521
|
var p;
|
|
34522
34522
|
const a = [];
|
|
34523
34523
|
let s = 0, n = 0, i = 0, o = 0, l = 0;
|
|
@@ -34879,7 +34879,7 @@ function DB(r) {
|
|
|
34879
34879
|
left: u
|
|
34880
34880
|
};
|
|
34881
34881
|
}
|
|
34882
|
-
class
|
|
34882
|
+
class O7 {
|
|
34883
34883
|
constructor(t, e) {
|
|
34884
34884
|
k(this, "__mode", "rendering");
|
|
34885
34885
|
k(this, "_transformCache");
|
|
@@ -35489,9 +35489,9 @@ class R7 {
|
|
|
35489
35489
|
this._context.globalCompositeOperation = t;
|
|
35490
35490
|
}
|
|
35491
35491
|
}
|
|
35492
|
-
class Qv extends
|
|
35492
|
+
class Qv extends O7 {
|
|
35493
35493
|
}
|
|
35494
|
-
class eb extends
|
|
35494
|
+
class eb extends O7 {
|
|
35495
35495
|
constructor() {
|
|
35496
35496
|
super(...arguments);
|
|
35497
35497
|
k(this, "__mode", "printing");
|
|
@@ -35515,7 +35515,7 @@ class y0 {
|
|
|
35515
35515
|
k(this, "_width", 0);
|
|
35516
35516
|
k(this, "_height", 0);
|
|
35517
35517
|
const e = t || {};
|
|
35518
|
-
this._canvasEle =
|
|
35518
|
+
this._canvasEle = _7(), this._canvasEle.style.padding = "0", this._canvasEle.style.margin = "0", this._canvasEle.style.border = "0", this._canvasEle.style.background = "transparent", this._canvasEle.style.position = "absolute", this._canvasEle.style.top = "0", this._canvasEle.style.left = "0", this._canvasEle.style.zIndex = "8", this._canvasEle.dataset.uComp = "render-canvas", this._canvasEle.tabIndex = 1, this._canvasEle.style.touchAction = "none", this._canvasEle.style.outline = "0";
|
|
35519
35519
|
const a = this._canvasEle.getContext("2d");
|
|
35520
35520
|
if (a == null)
|
|
35521
35521
|
throw new Error("context is not support");
|
|
@@ -35554,7 +35554,7 @@ class y0 {
|
|
|
35554
35554
|
*/
|
|
35555
35555
|
setSize(t, e, a) {
|
|
35556
35556
|
var n;
|
|
35557
|
-
this._pixelRatio = a ||
|
|
35557
|
+
this._pixelRatio = a || B7();
|
|
35558
35558
|
const s = this.getCanvasEle();
|
|
35559
35559
|
s && t !== void 0 && (s.width = t * this._pixelRatio, this._width = s.width / this._pixelRatio, s.style.width = `${this._width}px`), s && e !== void 0 && (s.height = e * this._pixelRatio, this._height = s.height / this._pixelRatio, s.style.height = `${this._height}px`), (n = this.getContext()) == null || n.setTransform(this._pixelRatio, 0, 0, this._pixelRatio, 0, 0);
|
|
35560
35560
|
}
|
|
@@ -35602,7 +35602,7 @@ class wB extends y0 {
|
|
|
35602
35602
|
this.setSize(e.width, e.height);
|
|
35603
35603
|
}
|
|
35604
35604
|
}
|
|
35605
|
-
class
|
|
35605
|
+
class I7 extends t3 {
|
|
35606
35606
|
constructor() {
|
|
35607
35607
|
super(...arguments);
|
|
35608
35608
|
k(this, "_extensions", /* @__PURE__ */ new Map());
|
|
@@ -35611,7 +35611,7 @@ class O7 extends t3 {
|
|
|
35611
35611
|
return this._extensions;
|
|
35612
35612
|
}
|
|
35613
35613
|
register(...e) {
|
|
35614
|
-
const a = new
|
|
35614
|
+
const a = new L8();
|
|
35615
35615
|
for (const s of e)
|
|
35616
35616
|
s.parent = this, this._extensions.set(s.uKey, s), a.add(
|
|
35617
35617
|
V1(() => {
|
|
@@ -35636,7 +35636,7 @@ class O7 extends t3 {
|
|
|
35636
35636
|
this._extensions.clear();
|
|
35637
35637
|
}
|
|
35638
35638
|
}
|
|
35639
|
-
class
|
|
35639
|
+
class L7 {
|
|
35640
35640
|
constructor() {
|
|
35641
35641
|
k(this, "uKey", "");
|
|
35642
35642
|
k(this, "type");
|
|
@@ -35654,14 +35654,14 @@ class I7 {
|
|
|
35654
35654
|
clearCache() {
|
|
35655
35655
|
}
|
|
35656
35656
|
_getScale(t) {
|
|
35657
|
-
return
|
|
35657
|
+
return E7(t);
|
|
35658
35658
|
}
|
|
35659
35659
|
dispose() {
|
|
35660
35660
|
this.extensionOffset = {}, this.parent = null;
|
|
35661
35661
|
}
|
|
35662
35662
|
}
|
|
35663
|
-
const G3 = je.create(),
|
|
35664
|
-
class
|
|
35663
|
+
const G3 = je.create(), P7 = je.create(), N7 = je.create(), z0 = je.create();
|
|
35664
|
+
class $7 extends I7 {
|
|
35665
35665
|
constructor(t, e) {
|
|
35666
35666
|
super(t), this._skeleton = e;
|
|
35667
35667
|
}
|
|
@@ -35694,12 +35694,12 @@ class N7 extends O7 {
|
|
|
35694
35694
|
super.dispose(), this._skeleton = null;
|
|
35695
35695
|
}
|
|
35696
35696
|
}
|
|
35697
|
-
class
|
|
35697
|
+
class U7 extends $7 {
|
|
35698
35698
|
_draw(t, e) {
|
|
35699
35699
|
this.draw(t, e);
|
|
35700
35700
|
}
|
|
35701
35701
|
}
|
|
35702
|
-
class xB extends
|
|
35702
|
+
class xB extends U7 {
|
|
35703
35703
|
constructor(e, a) {
|
|
35704
35704
|
super(e, a);
|
|
35705
35705
|
k(this, "_columnHeaderLayoutExtension");
|
|
@@ -35738,7 +35738,7 @@ class xB extends $7 {
|
|
|
35738
35738
|
return a.x > n && a.y >= 0 && a.y <= i;
|
|
35739
35739
|
}
|
|
35740
35740
|
_initialDefaultExtension() {
|
|
35741
|
-
|
|
35741
|
+
N7.getData().forEach((e) => {
|
|
35742
35742
|
this.register(e);
|
|
35743
35743
|
}), this._columnHeaderLayoutExtension = this.getExtensionByKey(
|
|
35744
35744
|
"DefaultColumnHeaderLayoutExtension"
|
|
@@ -35756,7 +35756,7 @@ var tb = /* @__PURE__ */ ((r) => (r[r.OFF = 0] = "OFF", r[r.ON = 1] = "ON", r))(
|
|
|
35756
35756
|
const CB = 50, ab = 45, EB = 21, FB = 21, se = 20, rb = [c2.VIEW_MAIN, c2.VIEW_MAIN_LEFT_TOP, c2.VIEW_MAIN_TOP, c2.VIEW_MAIN_LEFT], sb = [c2.VIEW_ROW_TOP, c2.VIEW_ROW_BOTTOM, c2.VIEW_COLUMN_LEFT, c2.VIEW_COLUMN_RIGHT, c2.VIEW_LEFT_TOP], m4 = 1e4, M6 = m4 / 10;
|
|
35757
35757
|
var nb = /* @__PURE__ */ ((r) => (r[r.GRID = 0] = "GRID", r))(nb || {});
|
|
35758
35758
|
const ib = "sheet-ext-";
|
|
35759
|
-
class x3 extends
|
|
35759
|
+
class x3 extends L7 {
|
|
35760
35760
|
constructor() {
|
|
35761
35761
|
super(...arguments);
|
|
35762
35762
|
k(this, "type", 0);
|
|
@@ -35921,7 +35921,7 @@ let db = class extends x3 {
|
|
|
35921
35921
|
const { spreadsheetSkeleton: n, backgroundPaths: i, scaleX: o, scaleY: l, viewRanges: u, diffRanges: d, cellInfo: c } = e;
|
|
35922
35922
|
let { startY: g, endY: h, startX: p, endX: f } = c;
|
|
35923
35923
|
const { isMerged: m, isMergedMainCell: v, mergeInfo: y } = c, z = d && d.length > 0 ? d : u;
|
|
35924
|
-
if (g = y.startY, h = y.endY, p = y.startX, f = y.endX, !m && !v && !
|
|
35924
|
+
if (g = y.startY, h = y.endY, p = y.startX, f = y.endX, !m && !v && !S7(z, a, s))
|
|
35925
35925
|
return !0;
|
|
35926
35926
|
const _ = n.worksheet.getRowVisible(a), j = n.worksheet.getColVisible(s);
|
|
35927
35927
|
if (!_ || !j) return !0;
|
|
@@ -35979,8 +35979,8 @@ let hb = class extends x3 {
|
|
|
35979
35979
|
return !0;
|
|
35980
35980
|
v && (x = y.startY, C = y.endY, S = y.startX, F = y.endX);
|
|
35981
35981
|
}
|
|
35982
|
-
const T =
|
|
35983
|
-
|
|
35982
|
+
const T = M7(j);
|
|
35983
|
+
A7(i, j), i.setLineWidthByPrecision(T), i.strokeStyle = w || z3, $v(i, _, {
|
|
35984
35984
|
startX: S,
|
|
35985
35985
|
startY: x,
|
|
35986
35986
|
endX: F,
|
|
@@ -36045,7 +36045,7 @@ class pb extends x3 {
|
|
|
36045
36045
|
}
|
|
36046
36046
|
getCfgOfCurrentColumn(e, a, s) {
|
|
36047
36047
|
let n, i;
|
|
36048
|
-
e[s] ? (typeof e[s] == "string" && (e[s] = { text: e[s] }), i = e[s], n = { ...a, ...i }) : n = { ...a, text:
|
|
36048
|
+
e[s] ? (typeof e[s] == "string" && (e[s] = { text: e[s] }), i = e[s], n = { ...a, ...i }) : n = { ...a, text: P8(s) };
|
|
36049
36049
|
const o = Object.keys(i || {}).length > 1;
|
|
36050
36050
|
return [n, o];
|
|
36051
36051
|
}
|
|
@@ -36089,7 +36089,7 @@ class pb extends x3 {
|
|
|
36089
36089
|
e.beginPath(), e.moveToByPrecision(0, y), e.lineToByPrecision(d, y), e.stroke();
|
|
36090
36090
|
}
|
|
36091
36091
|
}
|
|
36092
|
-
|
|
36092
|
+
N7.add(new pb());
|
|
36093
36093
|
const fb = "DefaultCustomExtension", vb = 55, bb = (r) => {
|
|
36094
36094
|
const { startRow: t, endRow: e, startColumn: a, endColumn: s } = r;
|
|
36095
36095
|
return `${t}-${e}-${a}-${s}`;
|
|
@@ -36153,7 +36153,7 @@ class K2 {
|
|
|
36153
36153
|
this.position = t, this.type = e;
|
|
36154
36154
|
}
|
|
36155
36155
|
}
|
|
36156
|
-
const zb = 5, R6 = 12, _b = 13, Db = 16, jb = 17, wb = 22, O6 = 28, I6 = 31, xb = 33, Y0 = 34, Cb = 35, He = 36, p4 = 37,
|
|
36156
|
+
const zb = 5, R6 = 12, _b = 13, Db = 16, jb = 17, wb = 22, O6 = 28, I6 = 31, xb = 33, Y0 = 34, Cb = 35, He = 36, p4 = 37, H7 = 38, Eb = 39, Fb = 40, a0 = 41, Sb = 42, b = 0, D = 1, k1 = 2, q7 = 3, E = 4, Tb = [
|
|
36157
36157
|
//OP , CL , CP , QU , GL , NS , EX , SY , IS , PR , PO , NU , AL , HL , ID , IN , HY , BA , BB , B2 , ZW , CM , WJ , H2 , H3 , JL , JV , JT , RI , EB , EM , ZWJ , CB
|
|
36158
36158
|
[
|
|
36159
36159
|
E,
|
|
@@ -36177,7 +36177,7 @@ const zb = 5, R6 = 12, _b = 13, Db = 16, jb = 17, wb = 22, O6 = 28, I6 = 31, xb
|
|
|
36177
36177
|
E,
|
|
36178
36178
|
E,
|
|
36179
36179
|
E,
|
|
36180
|
-
|
|
36180
|
+
q7,
|
|
36181
36181
|
E,
|
|
36182
36182
|
E,
|
|
36183
36183
|
E,
|
|
@@ -41406,7 +41406,7 @@ const Ab = new Uint8Array([
|
|
|
41406
41406
|
L6(r, e, e + 3), L6(r, e + 1, e + 2);
|
|
41407
41407
|
}, Ob = (r) => {
|
|
41408
41408
|
Mb && Rb(r);
|
|
41409
|
-
}, Y4 = 0,
|
|
41409
|
+
}, Y4 = 0, G7 = -3;
|
|
41410
41410
|
let c0 = class {
|
|
41411
41411
|
constructor() {
|
|
41412
41412
|
k(this, "table", new Uint16Array(16));
|
|
@@ -41427,8 +41427,8 @@ let c0 = class {
|
|
|
41427
41427
|
this.source = t, this.sourceIndex = 0, this.tag = 0, this.bitcount = 0, this.dest = e, this.destLen = 0, this.ltree = new c0(), this.dtree = new c0();
|
|
41428
41428
|
}
|
|
41429
41429
|
};
|
|
41430
|
-
const
|
|
41431
|
-
function
|
|
41430
|
+
const W7 = new c0(), Y7 = new c0(), X4 = new Uint8Array(30), V4 = new Uint16Array(30), X7 = new Uint8Array(30), V7 = new Uint16Array(30), Lb = new Uint8Array([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]), P6 = new c0(), C2 = new Uint8Array(320);
|
|
41431
|
+
function K7(r, t, e, a) {
|
|
41432
41432
|
let s, n;
|
|
41433
41433
|
for (s = 0; s < e; ++s) r[s] = 0;
|
|
41434
41434
|
for (s = 0; s < 30 - e; ++s) r[s + e] = s / e | 0;
|
|
@@ -41518,7 +41518,7 @@ function $6(r, t, e) {
|
|
|
41518
41518
|
else {
|
|
41519
41519
|
let s;
|
|
41520
41520
|
a -= 257;
|
|
41521
|
-
const n = F2(r, X4[a], V4[a]), i = f4(r, e), o = r.destLen - F2(r,
|
|
41521
|
+
const n = F2(r, X4[a], V4[a]), i = f4(r, e), o = r.destLen - F2(r, X7[i], V7[i]);
|
|
41522
41522
|
for (s = o; s < o + n; ++s)
|
|
41523
41523
|
r.dest[r.destLen++] = r.dest[s];
|
|
41524
41524
|
}
|
|
@@ -41528,7 +41528,7 @@ function Ub(r) {
|
|
|
41528
41528
|
let t, e, a;
|
|
41529
41529
|
for (; r.bitcount > 8; )
|
|
41530
41530
|
r.sourceIndex--, r.bitcount -= 8;
|
|
41531
|
-
if (t = r.source[r.sourceIndex + 1], t = 256 * t + r.source[r.sourceIndex], e = r.source[r.sourceIndex + 3], e = 256 * e + r.source[r.sourceIndex + 2], t !== (~e & 65535)) return
|
|
41531
|
+
if (t = r.source[r.sourceIndex + 1], t = 256 * t + r.source[r.sourceIndex], e = r.source[r.sourceIndex + 3], e = 256 * e + r.source[r.sourceIndex + 2], t !== (~e & 65535)) return G7;
|
|
41532
41532
|
for (r.sourceIndex += 4, a = t; a; --a) r.dest[r.destLen++] = r.source[r.sourceIndex++];
|
|
41533
41533
|
return r.bitcount = 0, Y4;
|
|
41534
41534
|
}
|
|
@@ -41541,24 +41541,24 @@ function U6(r, t) {
|
|
|
41541
41541
|
n = Ub(e);
|
|
41542
41542
|
break;
|
|
41543
41543
|
case 1:
|
|
41544
|
-
n = $6(e,
|
|
41544
|
+
n = $6(e, W7, Y7);
|
|
41545
41545
|
break;
|
|
41546
41546
|
case 2:
|
|
41547
41547
|
$b(e, e.ltree, e.dtree), n = $6(e, e.ltree, e.dtree);
|
|
41548
41548
|
break;
|
|
41549
41549
|
default:
|
|
41550
|
-
n =
|
|
41550
|
+
n = G7;
|
|
41551
41551
|
}
|
|
41552
41552
|
if (n !== Y4) throw new Error("Data error");
|
|
41553
41553
|
} while (!a);
|
|
41554
41554
|
return e.destLen < e.dest.length ? typeof e.dest.slice == "function" ? e.dest.slice(0, e.destLen) : e.dest.subarray(0, e.destLen) : e.dest;
|
|
41555
41555
|
}
|
|
41556
|
-
Pb(
|
|
41557
|
-
|
|
41558
|
-
|
|
41556
|
+
Pb(W7, Y7);
|
|
41557
|
+
K7(X4, V4, 4, 3);
|
|
41558
|
+
K7(X7, V7, 2, 1);
|
|
41559
41559
|
X4[28] = 0;
|
|
41560
41560
|
V4[28] = 258;
|
|
41561
|
-
const K4 = 11, p3 = 5, Hb = K4 - p3, qb = 65536 >> K4, Gb = 1 << Hb, Wb = Gb - 1, X0 = 2, Yb = 1 << p3, Ge = Yb - 1,
|
|
41561
|
+
const K4 = 11, p3 = 5, Hb = K4 - p3, qb = 65536 >> K4, Gb = 1 << Hb, Wb = Gb - 1, X0 = 2, Yb = 1 << p3, Ge = Yb - 1, Z7 = 65536 >> p3, Xb = 1024 >> p3, Vb = Z7 + Xb, Kb = Vb, Zb = 32, Jb = Kb + Zb, Qb = 1 << X0;
|
|
41562
41562
|
class ey {
|
|
41563
41563
|
constructor(t) {
|
|
41564
41564
|
k(this, "highStart");
|
|
@@ -41579,7 +41579,7 @@ class ey {
|
|
|
41579
41579
|
}
|
|
41580
41580
|
get(t) {
|
|
41581
41581
|
let e;
|
|
41582
|
-
return t < 0 || t > 1114111 ? this.errorValue : t < 55296 || t > 56319 && t <= 65535 ? (e = (this.data[t >> p3] << X0) + (t & Ge), this.data[e]) : t <= 65535 ? (e = (this.data[
|
|
41582
|
+
return t < 0 || t > 1114111 ? this.errorValue : t < 55296 || t > 56319 && t <= 65535 ? (e = (this.data[t >> p3] << X0) + (t & Ge), this.data[e]) : t <= 65535 ? (e = (this.data[Z7 + (t - 55296 >> p3)] << X0) + (t & Ge), this.data[e]) : t < this.highStart ? (e = this.data[Jb - qb + (t >> K4)], e = this.data[e + (t >> p3 & Wb)], e = (e << X0) + (t & Ge), this.data[e]) : this.data[this.data.length - Qb];
|
|
41583
41583
|
}
|
|
41584
41584
|
}
|
|
41585
41585
|
const ty = new ey(Ab);
|
|
@@ -41600,7 +41600,7 @@ function We(r) {
|
|
|
41600
41600
|
function Ye(r) {
|
|
41601
41601
|
switch (r) {
|
|
41602
41602
|
case p4:
|
|
41603
|
-
case
|
|
41603
|
+
case H7:
|
|
41604
41604
|
return Y0;
|
|
41605
41605
|
case a0:
|
|
41606
41606
|
return wb;
|
|
@@ -41608,7 +41608,7 @@ function Ye(r) {
|
|
|
41608
41608
|
return r;
|
|
41609
41609
|
}
|
|
41610
41610
|
}
|
|
41611
|
-
class
|
|
41611
|
+
class J7 {
|
|
41612
41612
|
constructor(t) {
|
|
41613
41613
|
k(this, "_pos", 0);
|
|
41614
41614
|
k(this, "_lastPos", 0);
|
|
@@ -41660,7 +41660,7 @@ class Z7 {
|
|
|
41660
41660
|
return !1;
|
|
41661
41661
|
case Y0:
|
|
41662
41662
|
case p4:
|
|
41663
|
-
case
|
|
41663
|
+
case H7:
|
|
41664
41664
|
return this._curClass = Y0, !1;
|
|
41665
41665
|
case He:
|
|
41666
41666
|
return this._curClass = He, !1;
|
|
@@ -41680,7 +41680,7 @@ class Z7 {
|
|
|
41680
41680
|
if (e = t === a0, !e)
|
|
41681
41681
|
return e = !1, e;
|
|
41682
41682
|
break;
|
|
41683
|
-
case
|
|
41683
|
+
case q7:
|
|
41684
41684
|
if (t !== a0)
|
|
41685
41685
|
return e;
|
|
41686
41686
|
break;
|
|
@@ -41695,7 +41695,7 @@ class v4 {
|
|
|
41695
41695
|
k(this, "_lines", []);
|
|
41696
41696
|
k(this, "_dirty", !0);
|
|
41697
41697
|
k(this, "_lastBreakLength", 0);
|
|
41698
|
-
this._text = t, this._fontStyle = e, this._warp = a, this._width = s, this._height = n, this._lineBreaker = new
|
|
41698
|
+
this._text = t, this._fontStyle = e, this._warp = a, this._width = s, this._height = n, this._lineBreaker = new J7(this._text);
|
|
41699
41699
|
}
|
|
41700
41700
|
calculate() {
|
|
41701
41701
|
if (!this._dirty)
|
|
@@ -41809,7 +41809,7 @@ class v4 {
|
|
|
41809
41809
|
this._dirty = !0, this._lastBreakLength = 0;
|
|
41810
41810
|
}
|
|
41811
41811
|
}
|
|
41812
|
-
const H6 = new Set(
|
|
41812
|
+
const H6 = new Set(T7), ay = [
|
|
41813
41813
|
"hoverCursor",
|
|
41814
41814
|
"moveCursor",
|
|
41815
41815
|
"fillRule",
|
|
@@ -41861,7 +41861,7 @@ class C3 extends t3 {
|
|
|
41861
41861
|
k(this, "_strokeDashArray");
|
|
41862
41862
|
k(this, "_strokeDashOffset", 0);
|
|
41863
41863
|
k(this, "_strokeMiterLimit", 0);
|
|
41864
|
-
k(this, "_type",
|
|
41864
|
+
k(this, "_type", f7.RECT);
|
|
41865
41865
|
k(this, "objectType", w3.SHAPE);
|
|
41866
41866
|
this._initialProps(a);
|
|
41867
41867
|
}
|
|
@@ -42237,7 +42237,7 @@ class P2 {
|
|
|
42237
42237
|
this.startIndex = t, this.endIndex = e;
|
|
42238
42238
|
}
|
|
42239
42239
|
insertText(t, e) {
|
|
42240
|
-
this.content =
|
|
42240
|
+
this.content = N8(this.content || "", e - this.startIndex, t);
|
|
42241
42241
|
}
|
|
42242
42242
|
exclude(t) {
|
|
42243
42243
|
const { startIndex: e, endIndex: a } = this;
|
|
@@ -42286,11 +42286,11 @@ class P2 {
|
|
|
42286
42286
|
this.children = [], this.parent != null && (this.parent.children.splice(this.getPositionInParent(), 1), this.parent = null);
|
|
42287
42287
|
}
|
|
42288
42288
|
minus(t, e) {
|
|
42289
|
-
const a =
|
|
42289
|
+
const a = $8(this.startIndex, this.endIndex, t, e);
|
|
42290
42290
|
if (a.length === 0)
|
|
42291
42291
|
return;
|
|
42292
42292
|
const s = this.startIndex;
|
|
42293
|
-
this.startIndex = a[0], this.endIndex = a[1], this.content != null && (this.content =
|
|
42293
|
+
this.startIndex = a[0], this.endIndex = a[1], this.content != null && (this.content = U8(
|
|
42294
42294
|
this.content || "",
|
|
42295
42295
|
t - s,
|
|
42296
42296
|
e - s + 1
|
|
@@ -42554,14 +42554,14 @@ class Q2 {
|
|
|
42554
42554
|
this._segmentViewModels$.next(a);
|
|
42555
42555
|
}
|
|
42556
42556
|
}
|
|
42557
|
-
function
|
|
42557
|
+
function Q7(r) {
|
|
42558
42558
|
return [" ", " ", " "].includes(r);
|
|
42559
42559
|
}
|
|
42560
|
-
function
|
|
42561
|
-
return
|
|
42560
|
+
function et(r) {
|
|
42561
|
+
return Q7(r) || re(r) || q4(r) || G4(r) || x7(r);
|
|
42562
42562
|
}
|
|
42563
42563
|
function ne(r, t) {
|
|
42564
|
-
return
|
|
42564
|
+
return Q7(r) ? {
|
|
42565
42565
|
// The number for spaces is from Knuth-Plass' paper
|
|
42566
42566
|
stretchability: [0, t / 2],
|
|
42567
42567
|
shrinkability: [0, t / 3]
|
|
@@ -42571,7 +42571,7 @@ function ne(r, t) {
|
|
|
42571
42571
|
} : G4(r) ? {
|
|
42572
42572
|
stretchability: [0, 0],
|
|
42573
42573
|
shrinkability: [t / 2, 0]
|
|
42574
|
-
} :
|
|
42574
|
+
} : x7(r) ? {
|
|
42575
42575
|
stretchability: [0, 0],
|
|
42576
42576
|
shrinkability: [t / 4, t / 4]
|
|
42577
42577
|
} : {
|
|
@@ -42672,7 +42672,7 @@ function Fe(r, t, e, a, s) {
|
|
|
42672
42672
|
s && s.boundingBox && s.font ? g = F1.getBBoxFromGlyphInfo(s, n) : g = F1.getTextSize(t, n);
|
|
42673
42673
|
const { width: p = 0 } = g;
|
|
42674
42674
|
let f = a != null ? a : p;
|
|
42675
|
-
if (
|
|
42675
|
+
if (ct(l, u) && (f = p + (Ce(t) ? o : o / 2), l === N1.SNAP_TO_CHARS && (h = (f - p) / 2)), s && s.kerning !== 0 && s.font) {
|
|
42676
42676
|
const m = g3(n.fontSize) / s.font.unitsPerEm, v = s.kerning * m;
|
|
42677
42677
|
f += v, h += v;
|
|
42678
42678
|
}
|
|
@@ -42686,7 +42686,7 @@ function Fe(r, t, e, a, s) {
|
|
|
42686
42686
|
left: 0,
|
|
42687
42687
|
glyphType: r,
|
|
42688
42688
|
streamType: c,
|
|
42689
|
-
isJustifiable:
|
|
42689
|
+
isJustifiable: et(t),
|
|
42690
42690
|
adjustability: ne(t, f),
|
|
42691
42691
|
count: t.length,
|
|
42692
42692
|
raw: t
|
|
@@ -42718,7 +42718,7 @@ function iy(r, t, e) {
|
|
|
42718
42718
|
xOffset: 0,
|
|
42719
42719
|
bBox: g,
|
|
42720
42720
|
left: c,
|
|
42721
|
-
isJustifiable:
|
|
42721
|
+
isJustifiable: et(a),
|
|
42722
42722
|
adjustability: ne(a, d),
|
|
42723
42723
|
glyphType: J1.LIST,
|
|
42724
42724
|
streamType: J.LETTER,
|
|
@@ -42745,10 +42745,10 @@ function oy(r, t) {
|
|
|
42745
42745
|
const { ba: e, bd: a } = r.bBox, { ba: s, bd: n } = t;
|
|
42746
42746
|
return e + a > s + n ? r.bBox : t;
|
|
42747
42747
|
}
|
|
42748
|
-
function
|
|
42748
|
+
function tt(r, t) {
|
|
42749
42749
|
r.width -= t, r.adjustability.shrinkability[1] -= t;
|
|
42750
42750
|
}
|
|
42751
|
-
function
|
|
42751
|
+
function at(r, t) {
|
|
42752
42752
|
r.width -= t, r.xOffset -= t, r.adjustability.shrinkability[0] -= t;
|
|
42753
42753
|
}
|
|
42754
42754
|
function ly(r, t, e, a, s = 0, n = !1, i, o, l, u) {
|
|
@@ -43048,7 +43048,7 @@ function fy(r, t, e, a) {
|
|
|
43048
43048
|
top: e
|
|
43049
43049
|
});
|
|
43050
43050
|
}
|
|
43051
|
-
function
|
|
43051
|
+
function rt(r = [], t = u0.NONE, e = 0, a = 0, s = Number.POSITIVE_INFINITY, n = Number.POSITIVE_INFINITY) {
|
|
43052
43052
|
const i = [];
|
|
43053
43053
|
let o = 0, l = 0;
|
|
43054
43054
|
if (r.length === 0)
|
|
@@ -43070,7 +43070,7 @@ function at(r = [], t = u0.NONE, e = 0, a = 0, s = Number.POSITIVE_INFINITY, n =
|
|
|
43070
43070
|
d.parent = u;
|
|
43071
43071
|
}), u;
|
|
43072
43072
|
}
|
|
43073
|
-
function
|
|
43073
|
+
function st(r, t) {
|
|
43074
43074
|
r.isFull = t;
|
|
43075
43075
|
}
|
|
43076
43076
|
function Ke(r, t, e, a) {
|
|
@@ -43096,11 +43096,11 @@ function vy(r, t, e, a, s) {
|
|
|
43096
43096
|
const u = e6(n, i, l);
|
|
43097
43097
|
let d = 0, c = 0;
|
|
43098
43098
|
for (const m of o) {
|
|
43099
|
-
const { children: v, startIndex: y, endIndex: z } = m, _ = o.indexOf(m), j = l.tableRows[_], { trHeight: w } = j, x =
|
|
43099
|
+
const { children: v, startIndex: y, endIndex: z } = m, _ = o.indexOf(m), j = l.tableRows[_], { trHeight: w } = j, x = ot(y, z, _, j, !1, u), { hRule: C, val: S } = w;
|
|
43100
43100
|
u.rows.push(x);
|
|
43101
43101
|
let F = 0, T = 0;
|
|
43102
43102
|
for (const B of v) {
|
|
43103
|
-
const A = v.indexOf(B), L =
|
|
43103
|
+
const A = v.indexOf(B), L = bt(
|
|
43104
43104
|
r,
|
|
43105
43105
|
e,
|
|
43106
43106
|
B,
|
|
@@ -43138,7 +43138,7 @@ function vy(r, t, e, a, s) {
|
|
|
43138
43138
|
}
|
|
43139
43139
|
u.width = c, u.height = d;
|
|
43140
43140
|
const { pageWidth: g, marginLeft: h = 0, marginRight: p = 0 } = t;
|
|
43141
|
-
return u.left =
|
|
43141
|
+
return u.left = it(g - h - p, c, l.align, l.indent), u;
|
|
43142
43142
|
}
|
|
43143
43143
|
function by(r, t) {
|
|
43144
43144
|
const { startIndex: e, endIndex: a } = t;
|
|
@@ -43163,7 +43163,7 @@ function yy(r, t, e, a, s, n) {
|
|
|
43163
43163
|
i.push(g);
|
|
43164
43164
|
for (const m of u) {
|
|
43165
43165
|
const v = u.indexOf(m);
|
|
43166
|
-
|
|
43166
|
+
nt(
|
|
43167
43167
|
r,
|
|
43168
43168
|
t,
|
|
43169
43169
|
i,
|
|
@@ -43183,7 +43183,7 @@ function yy(r, t, e, a, s, n) {
|
|
|
43183
43183
|
};
|
|
43184
43184
|
}
|
|
43185
43185
|
function zy(r, t, e, a) {
|
|
43186
|
-
const { pageWidth: s, marginLeft: n = 0, marginRight: i = 0 } = t, { tableWidth: o } = r, l =
|
|
43186
|
+
const { pageWidth: s, marginLeft: n = 0, marginRight: i = 0 } = t, { tableWidth: o } = r, l = it(s - n - i, o, a.align, a.indent);
|
|
43187
43187
|
let u = 0;
|
|
43188
43188
|
for (const d of e)
|
|
43189
43189
|
d.width = o, d.left = l, d.st = d.rows[0].st - 1, d.ed = d.rows[d.rows.length - 1].ed + 1, e.length > 1 && (d.tableId = Dy(a.tableId, u), u++);
|
|
@@ -43196,12 +43196,12 @@ function R0(r, t, e) {
|
|
|
43196
43196
|
let i = n - a - s;
|
|
43197
43197
|
return e && (i -= t.repeatRowHeight), i;
|
|
43198
43198
|
}
|
|
43199
|
-
function
|
|
43199
|
+
function nt(r, t, e, a, s, n, i, o, l, u = !1) {
|
|
43200
43200
|
const d = R0(t, l, !1), c = R0(t, l, !0), { children: g, startIndex: h, endIndex: p } = n, f = o.tableRows[i], { trHeight: m, cantSplit: v } = f, y = [], { hRule: z, val: _ } = m, j = v === t1.TRUE && m.hRule === n0.AUTO, w = 72, x = l.remainHeight <= w;
|
|
43201
43201
|
let C = K6(e);
|
|
43202
43202
|
const S = [0];
|
|
43203
43203
|
for (const F of g) {
|
|
43204
|
-
const T = g.indexOf(F), R =
|
|
43204
|
+
const T = g.indexOf(F), R = bt(
|
|
43205
43205
|
r,
|
|
43206
43206
|
a,
|
|
43207
43207
|
F,
|
|
@@ -43213,9 +43213,9 @@ function st(r, t, e, a, s, n, i, o, l, u = !1) {
|
|
|
43213
43213
|
d
|
|
43214
43214
|
);
|
|
43215
43215
|
for (; y.length < R.length; ) {
|
|
43216
|
-
const B =
|
|
43216
|
+
const B = ot(h, p, i, f, u), A = g.length;
|
|
43217
43217
|
B.cells = [...new Array(A)].map((L, I) => {
|
|
43218
|
-
const O =
|
|
43218
|
+
const O = vt(
|
|
43219
43219
|
r,
|
|
43220
43220
|
s,
|
|
43221
43221
|
o,
|
|
@@ -43245,7 +43245,7 @@ function st(r, t, e, a, s, n, i, o, l, u = !1) {
|
|
|
43245
43245
|
_y(F, f);
|
|
43246
43246
|
for (; y.length > 0; ) {
|
|
43247
43247
|
const F = y.shift(), T = C.rows[C.rows.length - 1];
|
|
43248
|
-
(l.remainHeight < w || l.remainHeight < F.height) && (l.remainHeight = R0(t, l, i !== 0 && F.index !== T.index), l.rowTop = 0, C.rows.length > 0 && (C = e6(h, p, o), e.push(C), l.repeatRow && u === !1 && i !== 0 && F.index !== T.index && (l.remainHeight = R0(t, l, !1),
|
|
43248
|
+
(l.remainHeight < w || l.remainHeight < F.height) && (l.remainHeight = R0(t, l, i !== 0 && F.index !== T.index), l.rowTop = 0, C.rows.length > 0 && (C = e6(h, p, o), e.push(C), l.repeatRow && u === !1 && i !== 0 && F.index !== T.index && (l.remainHeight = R0(t, l, !1), nt(
|
|
43249
43249
|
r,
|
|
43250
43250
|
t,
|
|
43251
43251
|
e,
|
|
@@ -43283,7 +43283,7 @@ function _y(r, t) {
|
|
|
43283
43283
|
d = Math.max(l, d), s.marginTop = d;
|
|
43284
43284
|
}
|
|
43285
43285
|
}
|
|
43286
|
-
function
|
|
43286
|
+
function it(r, t, e, a = { v: 0 }) {
|
|
43287
43287
|
switch (e) {
|
|
43288
43288
|
case Le.START:
|
|
43289
43289
|
return a.v;
|
|
@@ -43308,7 +43308,7 @@ function e6(r, t, e) {
|
|
|
43308
43308
|
tableSource: e
|
|
43309
43309
|
};
|
|
43310
43310
|
}
|
|
43311
|
-
function
|
|
43311
|
+
function ot(r, t, e, a, s = !1, n) {
|
|
43312
43312
|
return {
|
|
43313
43313
|
cells: [],
|
|
43314
43314
|
index: e,
|
|
@@ -43470,7 +43470,7 @@ function I2(r, t, e, a, s, n, i = O1.Normal, o) {
|
|
|
43470
43470
|
else {
|
|
43471
43471
|
const z = g.parent, _ = Py(t);
|
|
43472
43472
|
if (z && _ && !$y(z)) {
|
|
43473
|
-
const { paragraphLineGapDefault: j, linePitch: w, lineSpacing: x, spacingRule: C, snapToGrid: S, gridType: F } =
|
|
43473
|
+
const { paragraphLineGapDefault: j, linePitch: w, lineSpacing: x, spacingRule: C, snapToGrid: S, gridType: F } = ht(a, s), { boundingBoxAscent: T, boundingBoxDescent: R } = _, B = T + R, { contentHeight: A } = gt(
|
|
43474
43474
|
B,
|
|
43475
43475
|
j,
|
|
43476
43476
|
w,
|
|
@@ -43515,7 +43515,7 @@ function I2(r, t, e, a, s, n, i = O1.Normal, o) {
|
|
|
43515
43515
|
function h0(r, t, e, a, s, n, i = O1.Normal, o) {
|
|
43516
43516
|
var s3, U2, E3, X3, i2, F3, V3, K3, o2;
|
|
43517
43517
|
let l = $3(e), u = oe(l);
|
|
43518
|
-
if ((!u || !u.column) && (
|
|
43518
|
+
if ((!u || !u.column) && (dt(r, t, e, a, s, !0, i), l = $3(e), u = oe(l)), !u) return;
|
|
43519
43519
|
const d = u.column;
|
|
43520
43520
|
if (d.width <= 0) {
|
|
43521
43521
|
console.error("The column width is less than 0, need to adjust page width to make it great than 0");
|
|
@@ -43529,7 +43529,7 @@ function h0(r, t, e, a, s, n, i = O1.Normal, o) {
|
|
|
43529
43529
|
skeFooters: z,
|
|
43530
43530
|
pDrawingAnchor: _,
|
|
43531
43531
|
paragraphIndex: j
|
|
43532
|
-
} = s, { namedStyleType: w } = f, x = w !== void 0 ?
|
|
43532
|
+
} = s, { namedStyleType: w } = f, x = w !== void 0 ? H8[w] : null, C = {
|
|
43533
43533
|
...f,
|
|
43534
43534
|
spaceAbove: (s3 = f.spaceAbove) != null ? s3 : x == null ? void 0 : x.spaceAbove,
|
|
43535
43535
|
spaceBelow: (U2 = f.spaceBelow) != null ? U2 : x == null ? void 0 : x.spaceBelow
|
|
@@ -43548,10 +43548,10 @@ function h0(r, t, e, a, s, n, i = O1.Normal, o) {
|
|
|
43548
43548
|
spacingRule: P,
|
|
43549
43549
|
snapToGrid: N,
|
|
43550
43550
|
gridType: $
|
|
43551
|
-
} =
|
|
43551
|
+
} = ht(
|
|
43552
43552
|
a,
|
|
43553
43553
|
s
|
|
43554
|
-
), { paddingTop: H, paddingBottom: X, contentHeight: Q, lineSpacingApply: d1 } =
|
|
43554
|
+
), { paddingTop: H, paddingBottom: X, contentHeight: Q, lineSpacingApply: d1 } = gt(
|
|
43555
43555
|
p,
|
|
43556
43556
|
L,
|
|
43557
43557
|
I,
|
|
@@ -43591,7 +43591,7 @@ function h0(r, t, e, a, s, n, i = O1.Normal, o) {
|
|
|
43591
43591
|
H1
|
|
43592
43592
|
);
|
|
43593
43593
|
if (i1 + O2 > h1.height && d.lines.length > 0 && l.sections.length > 0 || R2) {
|
|
43594
|
-
if (
|
|
43594
|
+
if (st(d, !0), ut(
|
|
43595
43595
|
r,
|
|
43596
43596
|
t,
|
|
43597
43597
|
e,
|
|
@@ -43680,7 +43680,7 @@ function Z6(r, t, e, a, s, n, i, o) {
|
|
|
43680
43680
|
positionV: y
|
|
43681
43681
|
};
|
|
43682
43682
|
});
|
|
43683
|
-
|
|
43683
|
+
lt(r, u, a, n), Ly(
|
|
43684
43684
|
a,
|
|
43685
43685
|
l
|
|
43686
43686
|
);
|
|
@@ -43699,14 +43699,14 @@ function Fy(r, t, e, a, s, n, i) {
|
|
|
43699
43699
|
type: a6.TABLE,
|
|
43700
43700
|
positionV: c.position.positionV
|
|
43701
43701
|
};
|
|
43702
|
-
|
|
43702
|
+
lt(r, [p], s, n), t.top = h, t.left = g;
|
|
43703
43703
|
}
|
|
43704
43704
|
function Sy(r, t, e, a, s) {
|
|
43705
43705
|
var p, f, m;
|
|
43706
43706
|
const n = (p = t.parent) == null ? void 0 : p.parent;
|
|
43707
43707
|
if (n == null)
|
|
43708
43708
|
return;
|
|
43709
|
-
const i = t6(t), { tableSource: o, width: l, height: u } = r, { positionH: d, positionV: c } = o.position, g = (f =
|
|
43709
|
+
const i = t6(t), { tableSource: o, width: l, height: u } = r, { positionH: d, positionV: c } = o.position, g = (f = kt(d, t, n, l, i)) != null ? f : 0, h = (m = mt(
|
|
43710
43710
|
c,
|
|
43711
43711
|
n,
|
|
43712
43712
|
e,
|
|
@@ -43790,7 +43790,7 @@ function By(r) {
|
|
|
43790
43790
|
a.streamType === J.CUSTOM_BLOCK && t.push(a.drawingId);
|
|
43791
43791
|
return t;
|
|
43792
43792
|
}
|
|
43793
|
-
function
|
|
43793
|
+
function lt(r, t, e, a) {
|
|
43794
43794
|
var i, o, l, u, d, c, g;
|
|
43795
43795
|
const s = (i = e.parent) == null ? void 0 : i.parent;
|
|
43796
43796
|
if (t.length === 0 || s == null)
|
|
@@ -43848,13 +43848,13 @@ function Ay(r, t) {
|
|
|
43848
43848
|
}
|
|
43849
43849
|
return !1;
|
|
43850
43850
|
}
|
|
43851
|
-
function
|
|
43851
|
+
function ut(r, t, e, a, s, n, i = O1.Normal, o) {
|
|
43852
43852
|
const l = $3(e);
|
|
43853
|
-
Yy(l) === !0 ?
|
|
43853
|
+
Yy(l) === !0 ? dt(r, t, e, a, s, n, i, o) : h0(r, t, e, a, s, n, i, o);
|
|
43854
43854
|
}
|
|
43855
|
-
function
|
|
43855
|
+
function dt(r, t, e, a, s, n, i = O1.Normal, o) {
|
|
43856
43856
|
const l = $3(e), { skeHeaders: u, skeFooters: d } = s;
|
|
43857
|
-
e.push(_3(r, a, { skeHeaders: u, skeFooters: d }, (l == null ? void 0 : l.pageNumber) + 1)),
|
|
43857
|
+
e.push(_3(r, a, { skeHeaders: u, skeFooters: d }, (l == null ? void 0 : l.pageNumber) + 1)), ut(r, t, e, a, s, n, i, o);
|
|
43858
43858
|
}
|
|
43859
43859
|
function My(r, t, e, a, s, n = !1) {
|
|
43860
43860
|
const i = R3(r, s), o = R3(t, s), l = R3(e, s), u = R3(a, s);
|
|
@@ -43886,7 +43886,7 @@ function Ry(r, t = 0, e, a, s, n) {
|
|
|
43886
43886
|
spaceBelowApply: i
|
|
43887
43887
|
};
|
|
43888
43888
|
}
|
|
43889
|
-
function
|
|
43889
|
+
function gt(r, t, e, a, s, n, i) {
|
|
43890
43890
|
let o = t, l = t;
|
|
43891
43891
|
if (a === N1.DEFAULT || i === t1.FALSE)
|
|
43892
43892
|
return n === Q0.AUTO ? {
|
|
@@ -43941,7 +43941,7 @@ function Iy(r, t, e, a, s, n = []) {
|
|
|
43941
43941
|
if (!h)
|
|
43942
43942
|
continue;
|
|
43943
43943
|
const { docTransform: p } = h, { positionH: f, positionV: m, size: v, angle: y } = p, { width: z = 0, height: _ = 0 } = v;
|
|
43944
|
-
g.aLeft = (d =
|
|
43944
|
+
g.aLeft = (d = kt(f, e, i, z, l)) != null ? d : 0, g.aTop = (c = mt(
|
|
43945
43945
|
m,
|
|
43946
43946
|
i,
|
|
43947
43947
|
r,
|
|
@@ -44013,7 +44013,7 @@ function $y(r) {
|
|
|
44013
44013
|
return !r.divides[0].glyphGroup[0];
|
|
44014
44014
|
}
|
|
44015
44015
|
function Uy(r) {
|
|
44016
|
-
return r.type ===
|
|
44016
|
+
return r.type === q8.COMMENT ? {
|
|
44017
44017
|
bbl: {
|
|
44018
44018
|
s: t1.TRUE,
|
|
44019
44019
|
cl: {
|
|
@@ -44086,16 +44086,16 @@ function R3(r, t) {
|
|
|
44086
44086
|
if (!r)
|
|
44087
44087
|
return 0;
|
|
44088
44088
|
const { v: e, u: a } = r;
|
|
44089
|
-
return !a || a ===
|
|
44089
|
+
return !a || a === G8.PIXEL ? e : e * t;
|
|
44090
44090
|
}
|
|
44091
44091
|
function le(r = 0, t, e = N1.LINES, a = t1.TRUE) {
|
|
44092
44092
|
let s = 1;
|
|
44093
|
-
return
|
|
44093
|
+
return ct(e, a) && (s = r), s *= t, s;
|
|
44094
44094
|
}
|
|
44095
|
-
function
|
|
44095
|
+
function ct(r = N1.LINES, t = t1.FALSE) {
|
|
44096
44096
|
return t === t1.TRUE && (r === N1.LINES_AND_CHARS || r === N1.SNAP_TO_CHARS);
|
|
44097
44097
|
}
|
|
44098
|
-
function
|
|
44098
|
+
function ht(r, t) {
|
|
44099
44099
|
const { paragraphStyle: e = {} } = t, { linePitch: a = 15.6, gridType: s = N1.LINES, paragraphLineGapDefault: n = 0 } = r, { lineSpacing: i = 0, spacingRule: o = Q0.AUTO, snapToGrid: l = t1.TRUE } = e;
|
|
44100
44100
|
let u = i;
|
|
44101
44101
|
return (s === N1.LINES || s === N1.LINES_AND_CHARS) && i === 0 && o === Q0.AUTO && (u = 1), { paragraphLineGapDefault: n, linePitch: a, gridType: s, lineSpacing: u, spacingRule: o, snapToGrid: l };
|
|
@@ -44163,11 +44163,14 @@ function ue(r, t = -1) {
|
|
|
44163
44163
|
}
|
|
44164
44164
|
function V0(r, t) {
|
|
44165
44165
|
de(t, (e, a, s, n) => {
|
|
44166
|
-
var
|
|
44167
|
-
const { segmentId: i } = n, o = (
|
|
44166
|
+
var c, g, h, p;
|
|
44167
|
+
const { segmentId: i } = n, o = (c = r.paragraphConfigCache.get(i)) == null ? void 0 : c.get(e.paragraphIndex), l = o == null ? void 0 : o.paragraphInlineSkeDrawings, u = (p = (h = (g = r.skeletonResourceReference) == null ? void 0 : g.drawingAnchor) == null ? void 0 : h.get(i)) == null ? void 0 : p.get(e.paragraphIndex);
|
|
44168
44168
|
l && l.size > 0 && Oy(e, l, u == null ? void 0 : u.top);
|
|
44169
|
-
const d = o == null ? void 0 : o.paragraphStyle
|
|
44170
|
-
|
|
44169
|
+
const d = o == null ? void 0 : o.paragraphStyle;
|
|
44170
|
+
if (e.divides.length > 0) {
|
|
44171
|
+
const f = e.divides[e.divides.length - 1];
|
|
44172
|
+
f.glyphGroup[f.glyphGroup.length - 1].streamType === J.PARAGRAPH && (d != null && d.borderBottom) && (e.borderBottom = d.borderBottom);
|
|
44173
|
+
}
|
|
44171
44174
|
});
|
|
44172
44175
|
}
|
|
44173
44176
|
function OB(r, t) {
|
|
@@ -44212,7 +44215,7 @@ function Vy(r, t) {
|
|
|
44212
44215
|
}
|
|
44213
44216
|
}
|
|
44214
44217
|
}
|
|
44215
|
-
function
|
|
44218
|
+
function kt(r, t, e, a, s = !1) {
|
|
44216
44219
|
const { relativeFrom: n, align: i, posOffset: o, percent: l } = r;
|
|
44217
44220
|
if (i != null)
|
|
44218
44221
|
if (i === o3.INSIDE || i === o3.OUTSIDE)
|
|
@@ -44259,7 +44262,7 @@ function ht(r, t, e, a, s = !1) {
|
|
|
44259
44262
|
}
|
|
44260
44263
|
}
|
|
44261
44264
|
}
|
|
44262
|
-
function
|
|
44265
|
+
function mt(r, t, e, a, s, n, i = !1) {
|
|
44263
44266
|
const { relativeFrom: o, align: l, posOffset: u, percent: d } = r;
|
|
44264
44267
|
if (l != null) {
|
|
44265
44268
|
if (o === b1.LINE) {
|
|
@@ -44354,7 +44357,7 @@ function f3(r, t, e, a, s) {
|
|
|
44354
44357
|
const R = y4.getValue(S, F);
|
|
44355
44358
|
if (R && !C && m)
|
|
44356
44359
|
return R;
|
|
44357
|
-
const { snapToGrid: B = t1.TRUE, namedStyleType: A } = g, L = h ? Jy(h, t) : null, I = A ?
|
|
44360
|
+
const { snapToGrid: B = t1.TRUE, namedStyleType: A } = g, L = h ? Jy(h, t) : null, I = A ? W8[A] : null;
|
|
44358
44361
|
T = {
|
|
44359
44362
|
...o,
|
|
44360
44363
|
...I,
|
|
@@ -44531,7 +44534,7 @@ function nz(r, t) {
|
|
|
44531
44534
|
...s
|
|
44532
44535
|
};
|
|
44533
44536
|
}
|
|
44534
|
-
function
|
|
44537
|
+
function pt(r) {
|
|
44535
44538
|
var t;
|
|
44536
44539
|
r.isDirty = !1, (t = r.skeleton.drawingAnchor) == null || t.clear();
|
|
44537
44540
|
}
|
|
@@ -44559,7 +44562,7 @@ function oz(r, t) {
|
|
|
44559
44562
|
}
|
|
44560
44563
|
return a;
|
|
44561
44564
|
}
|
|
44562
|
-
function
|
|
44565
|
+
function ft(r) {
|
|
44563
44566
|
return (r - 100) / 2;
|
|
44564
44567
|
}
|
|
44565
44568
|
function _3(r, t, e, a = 1, s = g0.SECTION) {
|
|
@@ -44607,7 +44610,7 @@ function _3(r, t, e, a = 1, s = g0.SECTION) {
|
|
|
44607
44610
|
const X = n.sections, Q = X[X.length - 1], { marginTop: d1, marginBottom: u1, marginLeft: a1, marginRight: i1 } = n, h1 = F - a1 - i1, p1 = T - d1 - u1;
|
|
44608
44611
|
let D1 = 0;
|
|
44609
44612
|
Q && (D1 = Q.top + Q.height);
|
|
44610
|
-
const m1 =
|
|
44613
|
+
const m1 = rt(
|
|
44611
44614
|
f,
|
|
44612
44615
|
m,
|
|
44613
44616
|
D1,
|
|
@@ -44667,7 +44670,7 @@ function z4(r, t, e, a, s, n = !0, i, o = 0) {
|
|
|
44667
44670
|
headerTreeMap: d,
|
|
44668
44671
|
pageSize: {
|
|
44669
44672
|
width: y - p - f,
|
|
44670
|
-
height:
|
|
44673
|
+
height: ft(z) - (n ? m : v) - 5
|
|
44671
44674
|
},
|
|
44672
44675
|
localeService: c,
|
|
44673
44676
|
drawings: h
|
|
@@ -44683,7 +44686,7 @@ function z4(r, t, e, a, s, n = !0, i, o = 0) {
|
|
|
44683
44686
|
_,
|
|
44684
44687
|
j
|
|
44685
44688
|
).pages[0];
|
|
44686
|
-
return r.isDirty && o < 10 ? (o++,
|
|
44689
|
+
return r.isDirty && o < 10 ? (o++, pt(r), z4(
|
|
44687
44690
|
r,
|
|
44688
44691
|
t,
|
|
44689
44692
|
e,
|
|
@@ -44702,7 +44705,7 @@ function z4(r, t, e, a, s, n = !0, i, o = 0) {
|
|
|
44702
44705
|
marginBottom: v
|
|
44703
44706
|
}), w);
|
|
44704
44707
|
}
|
|
44705
|
-
function
|
|
44708
|
+
function vt(r, t, e, a, s, n = Number.POSITIVE_INFINITY, i = Number.POSITIVE_INFINITY) {
|
|
44706
44709
|
var F, T;
|
|
44707
44710
|
const { lists: o, footerTreeMap: l, headerTreeMap: u, localeService: d, drawings: c } = t, { skeletonResourceReference: g } = r, { cellMargin: h, tableRows: p, tableColumns: f, tableId: m } = e, v = p[a].tableCells[s], {
|
|
44708
44711
|
start: y = { v: 10 },
|
|
@@ -44739,8 +44742,8 @@ function ft(r, t, e, a, s, n = Number.POSITIVE_INFINITY, i = Number.POSITIVE_INF
|
|
|
44739
44742
|
sectionBreakConfig: C
|
|
44740
44743
|
};
|
|
44741
44744
|
}
|
|
44742
|
-
function
|
|
44743
|
-
const u = e.children[0], { page: d, sectionBreakConfig: c } =
|
|
44745
|
+
function bt(r, t, e, a, s, n, i, o = Number.POSITIVE_INFINITY, l = Number.POSITIVE_INFINITY) {
|
|
44746
|
+
const u = e.children[0], { page: d, sectionBreakConfig: c } = vt(
|
|
44744
44747
|
r,
|
|
44745
44748
|
a,
|
|
44746
44749
|
s,
|
|
@@ -44762,22 +44765,22 @@ function vt(r, t, e, a, s, n, i, o = Number.POSITIVE_INFINITY, l = Number.POSITI
|
|
|
44762
44765
|
function t5(r, t, e) {
|
|
44763
44766
|
if (!t || t.sections[0].columns[0].lines.length === 0)
|
|
44764
44767
|
return r;
|
|
44765
|
-
const a = t.height + t.marginTop + t.marginBottom, s =
|
|
44768
|
+
const a = t.height + t.marginTop + t.marginBottom, s = ft(e);
|
|
44766
44769
|
return Math.min(s, Math.max(r, a));
|
|
44767
44770
|
}
|
|
44768
44771
|
function uz() {
|
|
44769
44772
|
return [];
|
|
44770
44773
|
}
|
|
44771
|
-
function
|
|
44774
|
+
function yt(r) {
|
|
44772
44775
|
return r.length > 0 && !/\s|(?![\'])[\!-\@\[-\`\{-\~\u2013-\u203C]/.test(r);
|
|
44773
44776
|
}
|
|
44774
44777
|
function dz(r) {
|
|
44775
44778
|
let t = "";
|
|
44776
|
-
for (let e = 0; e < r.length &&
|
|
44779
|
+
for (let e = 0; e < r.length && yt(r[e]); e++)
|
|
44777
44780
|
t += r[e];
|
|
44778
44781
|
return t;
|
|
44779
44782
|
}
|
|
44780
|
-
function
|
|
44783
|
+
function zt(r, t, e) {
|
|
44781
44784
|
let a = r;
|
|
44782
44785
|
for (let s = 0; s <= e; s++)
|
|
44783
44786
|
a += t[s].length;
|
|
@@ -44878,11 +44881,11 @@ function vz(r) {
|
|
|
44878
44881
|
const a = t.glyphGroup[0], s = t.glyphGroup[e - 1];
|
|
44879
44882
|
if (G4(a.content)) {
|
|
44880
44883
|
const n = a.adjustability.shrinkability[0];
|
|
44881
|
-
|
|
44884
|
+
at(a, n);
|
|
44882
44885
|
}
|
|
44883
44886
|
if (q4(s.content)) {
|
|
44884
44887
|
const n = s.adjustability.shrinkability[1];
|
|
44885
|
-
|
|
44888
|
+
tt(s, n);
|
|
44886
44889
|
}
|
|
44887
44890
|
Q4(t.glyphGroup);
|
|
44888
44891
|
}
|
|
@@ -44890,7 +44893,7 @@ function vz(r) {
|
|
|
44890
44893
|
function bz(r, t, e, a, s) {
|
|
44891
44894
|
for (const n of r.divides) {
|
|
44892
44895
|
const { glyphGroup: i, breakType: o } = n, l = i[i.length - 1];
|
|
44893
|
-
if (l &&
|
|
44896
|
+
if (l && yt(l.content) && o === O1.Hyphen) {
|
|
44894
44897
|
const u = Zy(l, a, s), d = ny(u);
|
|
44895
44898
|
d.parent = l.parent, d.left = l.left + l.width, n.glyphGroup.push(d), n.width -= d.width;
|
|
44896
44899
|
}
|
|
@@ -44925,12 +44928,12 @@ function wz(r, t) {
|
|
|
44925
44928
|
return u7(r + t - 1, !1);
|
|
44926
44929
|
}
|
|
44927
44930
|
function xz(r, t) {
|
|
44928
|
-
return
|
|
44931
|
+
return _t(r + t, !0);
|
|
44929
44932
|
}
|
|
44930
44933
|
function Cz(r, t) {
|
|
44931
|
-
return
|
|
44934
|
+
return _t(r + t, !1);
|
|
44932
44935
|
}
|
|
44933
|
-
function
|
|
44936
|
+
function _t(r, t = !1) {
|
|
44934
44937
|
const e = {
|
|
44935
44938
|
M: 1e3,
|
|
44936
44939
|
CM: 900,
|
|
@@ -45191,7 +45194,7 @@ function Rz(r, t, e, a, s, n, i) {
|
|
|
45191
45194
|
} else if (L.endsWith(J.COLUMN_BREAK)) {
|
|
45192
45195
|
P();
|
|
45193
45196
|
const N = T[T.length - 1], $ = oe(N);
|
|
45194
|
-
$ && !$.isLast ?
|
|
45197
|
+
$ && !$.isLast ? st($.column, !0) : T.push(
|
|
45195
45198
|
_3(
|
|
45196
45199
|
r,
|
|
45197
45200
|
n,
|
|
@@ -45224,7 +45227,7 @@ class Iz {
|
|
|
45224
45227
|
nextBreakPoint() {
|
|
45225
45228
|
if (this._isInWord)
|
|
45226
45229
|
if (this._hyphenIndex < this._hyphenSlice.length - 1) {
|
|
45227
|
-
const t =
|
|
45230
|
+
const t = zt(this._curBreak.position, this._hyphenSlice, this._hyphenIndex);
|
|
45228
45231
|
return this._hyphenIndex++, new K2(t, O1.Hyphen);
|
|
45229
45232
|
} else
|
|
45230
45233
|
return this._isInWord = !1, this._word = "", this._hyphenSlice = [], this._hyphenIndex = -1, this._nextBreak;
|
|
@@ -45282,7 +45285,7 @@ class Hz {
|
|
|
45282
45285
|
nextBreakPoint() {
|
|
45283
45286
|
if (this._isInLink)
|
|
45284
45287
|
if (this._index < this._linkSlice.length - 1) {
|
|
45285
|
-
const t =
|
|
45288
|
+
const t = zt(this._curBreak.position, this._linkSlice, this._index);
|
|
45286
45289
|
return this._index++, new K2(t, O1.Link);
|
|
45287
45290
|
} else
|
|
45288
45291
|
return this._isInLink = !1, this._link = "", this._linkSlice = [], this._index = -1, this._nextBreak;
|
|
@@ -45453,14 +45456,14 @@ String.prototype.codePointAt || function() {
|
|
|
45453
45456
|
writable: !0
|
|
45454
45457
|
}) : String.prototype.codePointAt = t;
|
|
45455
45458
|
}();
|
|
45456
|
-
var r6 = 0,
|
|
45459
|
+
var r6 = 0, Dt = -3;
|
|
45457
45460
|
function k0() {
|
|
45458
45461
|
this.table = new Uint16Array(16), this.trans = new Uint16Array(288);
|
|
45459
45462
|
}
|
|
45460
45463
|
function Qz(r, t) {
|
|
45461
45464
|
this.source = r, this.sourceIndex = 0, this.tag = 0, this.bitcount = 0, this.dest = t, this.destLen = 0, this.ltree = new k0(), this.dtree = new k0();
|
|
45462
45465
|
}
|
|
45463
|
-
var
|
|
45466
|
+
var jt = new k0(), wt = new k0(), s6 = new Uint8Array(30), n6 = new Uint16Array(30), xt = new Uint8Array(30), Ct = new Uint16Array(30), e_ = new Uint8Array([
|
|
45464
45467
|
16,
|
|
45465
45468
|
17,
|
|
45466
45469
|
18,
|
|
@@ -45481,7 +45484,7 @@ var Dt = new k0(), jt = new k0(), s6 = new Uint8Array(30), n6 = new Uint16Array(
|
|
|
45481
45484
|
1,
|
|
45482
45485
|
15
|
|
45483
45486
|
]), o5 = new k0(), E2 = new Uint8Array(320);
|
|
45484
|
-
function
|
|
45487
|
+
function Et(r, t, e, a) {
|
|
45485
45488
|
var s, n;
|
|
45486
45489
|
for (s = 0; s < e; ++s)
|
|
45487
45490
|
r[s] = 0;
|
|
@@ -45581,7 +45584,7 @@ function u5(r, t, e) {
|
|
|
45581
45584
|
r.dest[r.destLen++] = a;
|
|
45582
45585
|
else {
|
|
45583
45586
|
var s, n, i, o;
|
|
45584
|
-
for (a -= 257, s = S2(r, s6[a], n6[a]), n = _4(r, e), i = r.destLen - S2(r,
|
|
45587
|
+
for (a -= 257, s = S2(r, s6[a], n6[a]), n = _4(r, e), i = r.destLen - S2(r, xt[n], Ct[n]), o = i; o < i + s; ++o)
|
|
45585
45588
|
r.dest[r.destLen++] = r.dest[o];
|
|
45586
45589
|
}
|
|
45587
45590
|
}
|
|
@@ -45590,7 +45593,7 @@ function s_(r) {
|
|
|
45590
45593
|
for (var t, e, a; r.bitcount > 8; )
|
|
45591
45594
|
r.sourceIndex--, r.bitcount -= 8;
|
|
45592
45595
|
if (t = r.source[r.sourceIndex + 1], t = 256 * t + r.source[r.sourceIndex], e = r.source[r.sourceIndex + 3], e = 256 * e + r.source[r.sourceIndex + 2], t !== (~e & 65535))
|
|
45593
|
-
return
|
|
45596
|
+
return Dt;
|
|
45594
45597
|
for (r.sourceIndex += 4, a = t; a; --a)
|
|
45595
45598
|
r.dest[r.destLen++] = r.source[r.sourceIndex++];
|
|
45596
45599
|
return r.bitcount = 0, r6;
|
|
@@ -45603,22 +45606,22 @@ function n_(r, t) {
|
|
|
45603
45606
|
n = s_(e);
|
|
45604
45607
|
break;
|
|
45605
45608
|
case 1:
|
|
45606
|
-
n = u5(e,
|
|
45609
|
+
n = u5(e, jt, wt);
|
|
45607
45610
|
break;
|
|
45608
45611
|
case 2:
|
|
45609
45612
|
r_(e, e.ltree, e.dtree), n = u5(e, e.ltree, e.dtree);
|
|
45610
45613
|
break;
|
|
45611
45614
|
default:
|
|
45612
|
-
n =
|
|
45615
|
+
n = Dt;
|
|
45613
45616
|
}
|
|
45614
45617
|
if (n !== r6)
|
|
45615
45618
|
throw new Error("Data error");
|
|
45616
45619
|
} while (!a);
|
|
45617
45620
|
return e.destLen < e.dest.length ? typeof e.dest.slice == "function" ? e.dest.slice(0, e.destLen) : e.dest.subarray(0, e.destLen) : e.dest;
|
|
45618
45621
|
}
|
|
45619
|
-
t_(
|
|
45620
|
-
|
|
45621
|
-
|
|
45622
|
+
t_(jt, wt);
|
|
45623
|
+
Et(s6, n6, 4, 3);
|
|
45624
|
+
Et(xt, Ct, 2, 1);
|
|
45622
45625
|
s6[28] = 0;
|
|
45623
45626
|
n6[28] = 258;
|
|
45624
45627
|
var i_ = n_;
|
|
@@ -45776,13 +45779,13 @@ S1.prototype.toDOMElement = function(r) {
|
|
|
45776
45779
|
var t = this.toPathData(r), e = document.createElementNS("http://www.w3.org/2000/svg", "path");
|
|
45777
45780
|
return e.setAttribute("d", t), e;
|
|
45778
45781
|
};
|
|
45779
|
-
function
|
|
45782
|
+
function Ft(r) {
|
|
45780
45783
|
throw new Error(r);
|
|
45781
45784
|
}
|
|
45782
45785
|
function d5(r, t) {
|
|
45783
|
-
r ||
|
|
45786
|
+
r || Ft(t);
|
|
45784
45787
|
}
|
|
45785
|
-
var r1 = { fail:
|
|
45788
|
+
var r1 = { fail: Ft, argument: d5, assert: d5 }, g5 = 32768, c5 = 2147483648, U3 = {}, q = {}, n1 = {};
|
|
45786
45789
|
function j2(r) {
|
|
45787
45790
|
return function() {
|
|
45788
45791
|
return r;
|
|
@@ -46286,7 +46289,7 @@ function g_(r, t) {
|
|
|
46286
46289
|
function i6(r, t) {
|
|
46287
46290
|
return r.getUint32(t, !1);
|
|
46288
46291
|
}
|
|
46289
|
-
function
|
|
46292
|
+
function St(r, t) {
|
|
46290
46293
|
var e = r.getInt16(t, !1), a = r.getUint16(t + 2, !1);
|
|
46291
46294
|
return e + a / 65535;
|
|
46292
46295
|
}
|
|
@@ -46352,7 +46355,7 @@ M.prototype.parseULong = function() {
|
|
|
46352
46355
|
};
|
|
46353
46356
|
M.prototype.parseOffset32 = M.prototype.parseULong;
|
|
46354
46357
|
M.prototype.parseFixed = function() {
|
|
46355
|
-
var r =
|
|
46358
|
+
var r = St(this.data, this.offset + this.relativeOffset);
|
|
46356
46359
|
return this.relativeOffset += 4, r;
|
|
46357
46360
|
};
|
|
46358
46361
|
M.prototype.parseString = function(r) {
|
|
@@ -46614,7 +46617,7 @@ var Y = {
|
|
|
46614
46617
|
getCard16: pe,
|
|
46615
46618
|
getShort: g_,
|
|
46616
46619
|
getULong: i6,
|
|
46617
|
-
getFixed:
|
|
46620
|
+
getFixed: St,
|
|
46618
46621
|
getTag: c_,
|
|
46619
46622
|
getOffset: h_,
|
|
46620
46623
|
getBytes: k_,
|
|
@@ -46737,7 +46740,7 @@ function __(r) {
|
|
|
46737
46740
|
}
|
|
46738
46741
|
return n;
|
|
46739
46742
|
}
|
|
46740
|
-
var
|
|
46743
|
+
var Tt = { parse: b_, make: __ }, K0 = [
|
|
46741
46744
|
".notdef",
|
|
46742
46745
|
"space",
|
|
46743
46746
|
"exclam",
|
|
@@ -47898,10 +47901,10 @@ var St = { parse: b_, make: __ }, K0 = [
|
|
|
47898
47901
|
"ccaron",
|
|
47899
47902
|
"dcroat"
|
|
47900
47903
|
];
|
|
47901
|
-
function
|
|
47904
|
+
function Bt(r) {
|
|
47902
47905
|
this.font = r;
|
|
47903
47906
|
}
|
|
47904
|
-
|
|
47907
|
+
Bt.prototype.charToGlyphIndex = function(r) {
|
|
47905
47908
|
var t = r.codePointAt(0), e = this.font.glyphs;
|
|
47906
47909
|
if (e) {
|
|
47907
47910
|
for (var a = 0; a < e.length; a += 1)
|
|
@@ -47911,10 +47914,10 @@ Tt.prototype.charToGlyphIndex = function(r) {
|
|
|
47911
47914
|
}
|
|
47912
47915
|
return null;
|
|
47913
47916
|
};
|
|
47914
|
-
function
|
|
47917
|
+
function At(r) {
|
|
47915
47918
|
this.cmap = r;
|
|
47916
47919
|
}
|
|
47917
|
-
|
|
47920
|
+
At.prototype.charToGlyphIndex = function(r) {
|
|
47918
47921
|
return this.cmap.glyphIndexMap[r.codePointAt(0)] || 0;
|
|
47919
47922
|
};
|
|
47920
47923
|
function fe(r, t) {
|
|
@@ -48135,14 +48138,14 @@ function B_(r, t, e, a) {
|
|
|
48135
48138
|
};
|
|
48136
48139
|
}
|
|
48137
48140
|
var A2 = { GlyphSet: l6, glyphLoader: S_, ttfGlyphLoader: T_, cffGlyphLoader: B_ };
|
|
48138
|
-
function
|
|
48141
|
+
function Mt(r, t) {
|
|
48139
48142
|
if (r === t)
|
|
48140
48143
|
return !0;
|
|
48141
48144
|
if (Array.isArray(r) && Array.isArray(t)) {
|
|
48142
48145
|
if (r.length !== t.length)
|
|
48143
48146
|
return !1;
|
|
48144
48147
|
for (var e = 0; e < r.length; e += 1)
|
|
48145
|
-
if (!
|
|
48148
|
+
if (!Mt(r[e], t[e]))
|
|
48146
48149
|
return !1;
|
|
48147
48150
|
return !0;
|
|
48148
48151
|
} else
|
|
@@ -48223,7 +48226,7 @@ function I_(r) {
|
|
|
48223
48226
|
}
|
|
48224
48227
|
return t;
|
|
48225
48228
|
}
|
|
48226
|
-
function
|
|
48229
|
+
function Rt(r, t, e) {
|
|
48227
48230
|
t = t !== void 0 ? t : 0;
|
|
48228
48231
|
var a = new Y.Parser(r, t), s = [], n = [];
|
|
48229
48232
|
for (e = e !== void 0 ? e : r.length; a.relativeOffset < e; ) {
|
|
@@ -48235,7 +48238,7 @@ function Mt(r, t, e) {
|
|
|
48235
48238
|
function o0(r, t) {
|
|
48236
48239
|
return t <= 390 ? t = K0[t] : t = r[t - 391], t;
|
|
48237
48240
|
}
|
|
48238
|
-
function
|
|
48241
|
+
function Ot(r, t, e) {
|
|
48239
48242
|
for (var a = {}, s, n = 0; n < t.length; n += 1) {
|
|
48240
48243
|
var i = t[n];
|
|
48241
48244
|
if (Array.isArray(i.type)) {
|
|
@@ -48253,7 +48256,7 @@ function L_(r, t) {
|
|
|
48253
48256
|
var e = {};
|
|
48254
48257
|
return e.formatMajor = Y.getCard8(r, t), e.formatMinor = Y.getCard8(r, t + 1), e.size = Y.getCard8(r, t + 2), e.offsetSize = Y.getCard8(r, t + 3), e.startOffset = t, e.endOffset = t + 4, e;
|
|
48255
48258
|
}
|
|
48256
|
-
var
|
|
48259
|
+
var It = [
|
|
48257
48260
|
{ name: "version", op: 0, type: "SID" },
|
|
48258
48261
|
{ name: "notice", op: 1, type: "SID" },
|
|
48259
48262
|
{ name: "copyright", op: 1200, type: "SID" },
|
|
@@ -48289,18 +48292,18 @@ var Ot = [
|
|
|
48289
48292
|
{ name: "fdArray", op: 1236, type: "offset" },
|
|
48290
48293
|
{ name: "fdSelect", op: 1237, type: "offset" },
|
|
48291
48294
|
{ name: "fontName", op: 1238, type: "SID" }
|
|
48292
|
-
],
|
|
48295
|
+
], Lt = [
|
|
48293
48296
|
{ name: "subrs", op: 19, type: "offset", value: 0 },
|
|
48294
48297
|
{ name: "defaultWidthX", op: 20, type: "number", value: 0 },
|
|
48295
48298
|
{ name: "nominalWidthX", op: 21, type: "number", value: 0 }
|
|
48296
48299
|
];
|
|
48297
48300
|
function P_(r, t) {
|
|
48298
|
-
var e =
|
|
48299
|
-
return
|
|
48301
|
+
var e = Rt(r, 0, r.byteLength);
|
|
48302
|
+
return Ot(e, It, t);
|
|
48300
48303
|
}
|
|
48301
|
-
function
|
|
48302
|
-
var s =
|
|
48303
|
-
return
|
|
48304
|
+
function Pt(r, t, e, a) {
|
|
48305
|
+
var s = Rt(r, t, e);
|
|
48306
|
+
return Ot(s, Lt, a);
|
|
48304
48307
|
}
|
|
48305
48308
|
function m5(r, t, e, a) {
|
|
48306
48309
|
for (var s = [], n = 0; n < e.length; n += 1) {
|
|
@@ -48308,7 +48311,7 @@ function m5(r, t, e, a) {
|
|
|
48308
48311
|
o._subrs = [], o._subrsBias = 0, o._defaultWidthX = 0, o._nominalWidthX = 0;
|
|
48309
48312
|
var l = o.private[0], u = o.private[1];
|
|
48310
48313
|
if (l !== 0 && u !== 0) {
|
|
48311
|
-
var d =
|
|
48314
|
+
var d = Pt(r, u + t, l, a);
|
|
48312
48315
|
if (o._defaultWidthX = d.defaultWidthX, o._nominalWidthX = d.nominalWidthX, d.subrs !== 0) {
|
|
48313
48316
|
var c = u + d.subrs, g = W2(r, c + t);
|
|
48314
48317
|
o._subrs = g.objects, o._subrsBias = x4(o._subrs);
|
|
@@ -48526,7 +48529,7 @@ function H_(r, t, e, a) {
|
|
|
48526
48529
|
var h = W2(r, c), p = m5(r, t, h.objects, o.objects);
|
|
48527
48530
|
d._fdArray = p, g += t, d._fdSelect = U_(r, g, e.numGlyphs, p.length);
|
|
48528
48531
|
}
|
|
48529
|
-
var f = t + d.private[1], m =
|
|
48532
|
+
var f = t + d.private[1], m = Pt(r, f, d.private[0], o.objects);
|
|
48530
48533
|
if (e.defaultWidthX = m.defaultWidthX, e.nominalWidthX = m.nominalWidthX, m.subrs !== 0) {
|
|
48531
48534
|
var v = f + m.subrs, y = W2(r, v);
|
|
48532
48535
|
e.subrs = y.objects, e.subrsBias = x4(e.subrs);
|
|
@@ -48546,7 +48549,7 @@ function H_(r, t, e, a) {
|
|
|
48546
48549
|
e.glyphs.push(j, A2.cffGlyphLoader(e, j, p5, w));
|
|
48547
48550
|
}
|
|
48548
48551
|
}
|
|
48549
|
-
function
|
|
48552
|
+
function Nt(r, t) {
|
|
48550
48553
|
var e, a = K0.indexOf(r);
|
|
48551
48554
|
return a >= 0 && (e = a), a = t.indexOf(r), a >= 0 ? e = a + K0.length : (e = K0.length + t.length, t.push(r)), e;
|
|
48552
48555
|
}
|
|
@@ -48567,10 +48570,10 @@ function G_(r) {
|
|
|
48567
48570
|
t.names.push({ name: "name_" + e, type: "NAME", value: r[e] });
|
|
48568
48571
|
return t;
|
|
48569
48572
|
}
|
|
48570
|
-
function
|
|
48573
|
+
function $t(r, t, e) {
|
|
48571
48574
|
for (var a = {}, s = 0; s < r.length; s += 1) {
|
|
48572
48575
|
var n = r[s], i = t[n.name];
|
|
48573
|
-
i !== void 0 && !
|
|
48576
|
+
i !== void 0 && !Mt(i, n.value) && (n.type === "SID" && (i = Nt(i, e)), a[n.op] = { name: n.name, type: n.type, value: i });
|
|
48574
48577
|
}
|
|
48575
48578
|
return a;
|
|
48576
48579
|
}
|
|
@@ -48578,7 +48581,7 @@ function f5(r, t) {
|
|
|
48578
48581
|
var e = new G.Record("Top DICT", [
|
|
48579
48582
|
{ name: "dict", type: "DICT", value: {} }
|
|
48580
48583
|
]);
|
|
48581
|
-
return e.dict =
|
|
48584
|
+
return e.dict = $t(It, r, t), e;
|
|
48582
48585
|
}
|
|
48583
48586
|
function v5(r) {
|
|
48584
48587
|
var t = new G.Record("Top DICT INDEX", [
|
|
@@ -48604,7 +48607,7 @@ function X_(r, t) {
|
|
|
48604
48607
|
for (var e = new G.Record("Charsets", [
|
|
48605
48608
|
{ name: "format", type: "Card8", value: 0 }
|
|
48606
48609
|
]), a = 0; a < r.length; a += 1) {
|
|
48607
|
-
var s = r[a], n =
|
|
48610
|
+
var s = r[a], n = Nt(s, t);
|
|
48608
48611
|
e.fields.push({ name: "glyph_" + a, type: "SID", value: n });
|
|
48609
48612
|
}
|
|
48610
48613
|
return e;
|
|
@@ -48650,7 +48653,7 @@ function Z_(r, t) {
|
|
|
48650
48653
|
var e = new G.Record("Private DICT", [
|
|
48651
48654
|
{ name: "dict", type: "DICT", value: {} }
|
|
48652
48655
|
]);
|
|
48653
|
-
return e.dict =
|
|
48656
|
+
return e.dict = $t(Lt, r, t), e;
|
|
48654
48657
|
}
|
|
48655
48658
|
function J_(r, t) {
|
|
48656
48659
|
for (var e = new G.Table("CFF ", [
|
|
@@ -48682,7 +48685,7 @@ function J_(r, t) {
|
|
|
48682
48685
|
var c = e.header.sizeOf() + e.nameIndex.sizeOf() + e.topDictIndex.sizeOf() + e.stringIndex.sizeOf() + e.globalSubrIndex.sizeOf();
|
|
48683
48686
|
return s.charset = c, s.encoding = 0, s.charStrings = s.charset + e.charsets.sizeOf(), s.private[1] = s.charStrings + e.charStringsIndex.sizeOf(), d = f5(s, u), e.topDictIndex = v5(d), e;
|
|
48684
48687
|
}
|
|
48685
|
-
var
|
|
48688
|
+
var Ut = { parse: H_, make: J_ };
|
|
48686
48689
|
function Q_(r, t) {
|
|
48687
48690
|
var e = {}, a = new Y.Parser(r, t);
|
|
48688
48691
|
return e.version = a.parseVersion(), e.fontRevision = Math.round(a.parseFixed() * 1e3) / 1e3, e.checkSumAdjustment = a.parseULong(), e.magicNumber = a.parseULong(), r1.argument(e.magicNumber === 1594834165, "Font header has wrong magic number."), e.flags = a.parseUShort(), e.unitsPerEm = a.parseUShort(), e.created = a.parseLongDateTime(), e.modified = a.parseLongDateTime(), e.xMin = a.parseShort(), e.yMin = a.parseShort(), e.xMax = a.parseShort(), e.yMax = a.parseShort(), e.macStyle = a.parseUShort(), e.lowestRecPPEM = a.parseUShort(), e.fontDirectionHint = a.parseShort(), e.indexToLocFormat = a.parseShort(), e.glyphDataFormat = a.parseShort(), e;
|
|
@@ -48709,7 +48712,7 @@ function eD(r) {
|
|
|
48709
48712
|
{ name: "glyphDataFormat", type: "SHORT", value: 0 }
|
|
48710
48713
|
], r);
|
|
48711
48714
|
}
|
|
48712
|
-
var
|
|
48715
|
+
var Ht = { parse: Q_, make: eD };
|
|
48713
48716
|
function tD(r, t) {
|
|
48714
48717
|
var e = {}, a = new Y.Parser(r, t);
|
|
48715
48718
|
return e.version = a.parseVersion(), e.ascender = a.parseShort(), e.descender = a.parseShort(), e.lineGap = a.parseShort(), e.advanceWidthMax = a.parseUShort(), e.minLeftSideBearing = a.parseShort(), e.minRightSideBearing = a.parseShort(), e.xMaxExtent = a.parseShort(), e.caretSlopeRise = a.parseShort(), e.caretSlopeRun = a.parseShort(), e.caretOffset = a.parseShort(), a.relativeOffset += 8, e.metricDataFormat = a.parseShort(), e.numberOfHMetrics = a.parseUShort(), e;
|
|
@@ -48735,7 +48738,7 @@ function aD(r) {
|
|
|
48735
48738
|
{ name: "numberOfHMetrics", type: "USHORT", value: 0 }
|
|
48736
48739
|
], r);
|
|
48737
48740
|
}
|
|
48738
|
-
var
|
|
48741
|
+
var qt = { parse: tD, make: aD };
|
|
48739
48742
|
function rD(r, t, e, a, s) {
|
|
48740
48743
|
for (var n, i, o = new Y.Parser(r, t), l = 0; l < a; l += 1) {
|
|
48741
48744
|
l < e && (n = o.parseUShort(), i = o.parseShort());
|
|
@@ -48761,7 +48764,7 @@ function iD(r) {
|
|
|
48761
48764
|
}
|
|
48762
48765
|
return t;
|
|
48763
48766
|
}
|
|
48764
|
-
var
|
|
48767
|
+
var Gt = { parse: nD, make: iD };
|
|
48765
48768
|
function oD(r) {
|
|
48766
48769
|
for (var t = new G.Table("ltag", [
|
|
48767
48770
|
{ name: "version", type: "ULONG", value: 1 },
|
|
@@ -48783,7 +48786,7 @@ function lD(r, t) {
|
|
|
48783
48786
|
}
|
|
48784
48787
|
return n;
|
|
48785
48788
|
}
|
|
48786
|
-
var
|
|
48789
|
+
var Wt = { make: oD, parse: lD };
|
|
48787
48790
|
function uD(r, t) {
|
|
48788
48791
|
var e = {}, a = new Y.Parser(r, t);
|
|
48789
48792
|
return e.version = a.parseVersion(), e.numGlyphs = a.parseUShort(), e.version === 1 && (e.maxPoints = a.parseUShort(), e.maxContours = a.parseUShort(), e.maxCompositePoints = a.parseUShort(), e.maxCompositeContours = a.parseUShort(), e.maxZones = a.parseUShort(), e.maxTwilightPoints = a.parseUShort(), e.maxStorage = a.parseUShort(), e.maxFunctionDefs = a.parseUShort(), e.maxInstructionDefs = a.parseUShort(), e.maxStackElements = a.parseUShort(), e.maxSizeOfInstructions = a.parseUShort(), e.maxComponentElements = a.parseUShort(), e.maxComponentDepth = a.parseUShort()), e;
|
|
@@ -48794,7 +48797,7 @@ function dD(r) {
|
|
|
48794
48797
|
{ name: "numGlyphs", type: "USHORT", value: r }
|
|
48795
48798
|
]);
|
|
48796
48799
|
}
|
|
48797
|
-
var
|
|
48800
|
+
var Yt = { parse: uD, make: dD }, Xt = [
|
|
48798
48801
|
"copyright",
|
|
48799
48802
|
// 0
|
|
48800
48803
|
"fontFamily",
|
|
@@ -48841,7 +48844,7 @@ var Wt = { parse: uD, make: dD }, Yt = [
|
|
|
48841
48844
|
// 21
|
|
48842
48845
|
"wwsSubfamily"
|
|
48843
48846
|
// 22
|
|
48844
|
-
],
|
|
48847
|
+
], Vt = {
|
|
48845
48848
|
0: "en",
|
|
48846
48849
|
1: "fr",
|
|
48847
48850
|
2: "de",
|
|
@@ -49200,7 +49203,7 @@ var Wt = { parse: uD, make: dD }, Yt = [
|
|
|
49200
49203
|
// langAzerbaijanRoman → smRoman
|
|
49201
49204
|
151: 0
|
|
49202
49205
|
// langNynorsk → smRoman
|
|
49203
|
-
},
|
|
49206
|
+
}, Kt = {
|
|
49204
49207
|
1078: "af",
|
|
49205
49208
|
1052: "sq",
|
|
49206
49209
|
1156: "gsw",
|
|
@@ -49423,9 +49426,9 @@ function cD(r, t, e) {
|
|
|
49423
49426
|
return e[t];
|
|
49424
49427
|
break;
|
|
49425
49428
|
case 1:
|
|
49426
|
-
return Xt[t];
|
|
49427
|
-
case 3:
|
|
49428
49429
|
return Vt[t];
|
|
49430
|
+
case 3:
|
|
49431
|
+
return Kt[t];
|
|
49429
49432
|
}
|
|
49430
49433
|
}
|
|
49431
49434
|
var C4 = "utf-16", hD = {
|
|
@@ -49519,7 +49522,7 @@ var C4 = "utf-16", hD = {
|
|
|
49519
49522
|
146: "x-mac-gaelic"
|
|
49520
49523
|
// langIrishGaelicScript
|
|
49521
49524
|
};
|
|
49522
|
-
function
|
|
49525
|
+
function Zt(r, t, e) {
|
|
49523
49526
|
switch (r) {
|
|
49524
49527
|
case 0:
|
|
49525
49528
|
return C4;
|
|
@@ -49533,7 +49536,7 @@ function Kt(r, t, e) {
|
|
|
49533
49536
|
}
|
|
49534
49537
|
function mD(r, t, e) {
|
|
49535
49538
|
for (var a = {}, s = new Y.Parser(r, t), n = s.parseUShort(), i = s.parseUShort(), o = s.offset + s.parseUShort(), l = 0; l < i; l++) {
|
|
49536
|
-
var u = s.parseUShort(), d = s.parseUShort(), c = s.parseUShort(), g = s.parseUShort(), h =
|
|
49539
|
+
var u = s.parseUShort(), d = s.parseUShort(), c = s.parseUShort(), g = s.parseUShort(), h = Xt[g] || g, p = s.parseUShort(), f = s.parseUShort(), m = cD(u, c, e), v = Zt(u, d, c);
|
|
49537
49540
|
if (v !== void 0 && m !== void 0) {
|
|
49538
49541
|
var y = void 0;
|
|
49539
49542
|
if (v === C4 ? y = U3.UTF16(r, o + f, p) : y = U3.MACSTRING(r, o + f, p, v), y) {
|
|
@@ -49582,18 +49585,18 @@ function y5(r, t) {
|
|
|
49582
49585
|
return e;
|
|
49583
49586
|
}
|
|
49584
49587
|
function fD(r, t) {
|
|
49585
|
-
var e, a = [], s = {}, n = Je(
|
|
49588
|
+
var e, a = [], s = {}, n = Je(Xt);
|
|
49586
49589
|
for (var i in r) {
|
|
49587
49590
|
var o = n[i];
|
|
49588
49591
|
if (o === void 0 && (o = i), e = parseInt(o), isNaN(e))
|
|
49589
49592
|
throw new Error('Name table entry "' + i + '" does not exist, see nameTableNames for complete list.');
|
|
49590
49593
|
s[e] = r[i], a.push(e);
|
|
49591
49594
|
}
|
|
49592
|
-
for (var l = Je(
|
|
49595
|
+
for (var l = Je(Vt), u = Je(Kt), d = [], c = [], g = 0; g < a.length; g++) {
|
|
49593
49596
|
e = a[g];
|
|
49594
49597
|
var h = s[e];
|
|
49595
49598
|
for (var p in h) {
|
|
49596
|
-
var f = h[p], m = 1, v = l[p], y = gD[v], z =
|
|
49599
|
+
var f = h[p], m = 1, v = l[p], y = gD[v], z = Zt(m, y, v), _ = q.MACSTRING(f, z);
|
|
49597
49600
|
_ === void 0 && (m = 0, v = t.indexOf(p), v < 0 && (v = t.length, t.push(p)), y = 4, _ = q.UTF16(f));
|
|
49598
49601
|
var j = y5(_, c);
|
|
49599
49602
|
d.push(b5(
|
|
@@ -49629,7 +49632,7 @@ function fD(r, t) {
|
|
|
49629
49632
|
S.fields.push({ name: "record_" + F, type: "RECORD", value: d[F] });
|
|
49630
49633
|
return S.fields.push({ name: "strings", type: "LITERAL", value: c }), S;
|
|
49631
49634
|
}
|
|
49632
|
-
var
|
|
49635
|
+
var Jt = { parse: mD, make: fD }, E4 = [
|
|
49633
49636
|
{ begin: 0, end: 127 },
|
|
49634
49637
|
// Basic Latin
|
|
49635
49638
|
{ begin: 128, end: 255 },
|
|
@@ -49981,7 +49984,7 @@ function _D() {
|
|
|
49981
49984
|
{ name: "maxMemType1", type: "ULONG", value: 0 }
|
|
49982
49985
|
]);
|
|
49983
49986
|
}
|
|
49984
|
-
var
|
|
49987
|
+
var Qt = { parse: zD, make: _D }, y2 = new Array(9);
|
|
49985
49988
|
y2[1] = function() {
|
|
49986
49989
|
var t = this.offset + this.relativeOffset, e = this.parseUShort();
|
|
49987
49990
|
if (e === 1)
|
|
@@ -50227,7 +50230,7 @@ function jD(r) {
|
|
|
50227
50230
|
{ name: "lookups", type: "TABLE", value: new G.LookupList(r.lookups, W3) }
|
|
50228
50231
|
]);
|
|
50229
50232
|
}
|
|
50230
|
-
var
|
|
50233
|
+
var e8 = { parse: DD, make: jD };
|
|
50231
50234
|
function wD(r, t) {
|
|
50232
50235
|
var e = new Y.Parser(r, t), a = e.parseULong();
|
|
50233
50236
|
r1.argument(a === 1, "Unsupported META table version."), e.parseULong(), e.parseULong();
|
|
@@ -50250,7 +50253,7 @@ function xD(r) {
|
|
|
50250
50253
|
}
|
|
50251
50254
|
return s.fields.push({ name: "stringPool", type: "CHARARRAY", value: e }), s;
|
|
50252
50255
|
}
|
|
50253
|
-
var
|
|
50256
|
+
var t8 = { parse: wD, make: xD };
|
|
50254
50257
|
function z5(r) {
|
|
50255
50258
|
return Math.log(r) / Math.log(2) | 0;
|
|
50256
50259
|
}
|
|
@@ -50269,7 +50272,7 @@ function _5(r, t, e, a) {
|
|
|
50269
50272
|
{ name: "length", type: "ULONG", value: a !== void 0 ? a : 0 }
|
|
50270
50273
|
]);
|
|
50271
50274
|
}
|
|
50272
|
-
function
|
|
50275
|
+
function a8(r) {
|
|
50273
50276
|
var t = new G.Table("sfnt", [
|
|
50274
50277
|
{ name: "version", type: "TAG", value: "OTTO" },
|
|
50275
50278
|
{ name: "numTables", type: "USHORT", value: 0 },
|
|
@@ -50342,7 +50345,7 @@ function ED(r) {
|
|
|
50342
50345
|
minRightSideBearing: Math.min.apply(null, o)
|
|
50343
50346
|
};
|
|
50344
50347
|
z.ascender = r.ascender, z.descender = r.descender;
|
|
50345
|
-
var _ =
|
|
50348
|
+
var _ = Ht.make({
|
|
50346
50349
|
flags: 3,
|
|
50347
50350
|
// 00000011 (baseline for font at y=0; left sidebearing point at x=0)
|
|
50348
50351
|
unitsPerEm: r.unitsPerEm,
|
|
@@ -50352,7 +50355,7 @@ function ED(r) {
|
|
|
50352
50355
|
yMax: z.yMax,
|
|
50353
50356
|
lowestRecPPEM: 3,
|
|
50354
50357
|
createdTimestamp: r.createdTimestamp
|
|
50355
|
-
}), j =
|
|
50358
|
+
}), j = qt.make({
|
|
50356
50359
|
ascender: z.ascender,
|
|
50357
50360
|
descender: z.descender,
|
|
50358
50361
|
advanceWidthMax: z.advanceWidthMax,
|
|
@@ -50360,7 +50363,7 @@ function ED(r) {
|
|
|
50360
50363
|
minRightSideBearing: z.minRightSideBearing,
|
|
50361
50364
|
xMaxExtent: z.maxLeftSideBearing + (z.xMax - z.xMin),
|
|
50362
50365
|
numberOfHMetrics: r.glyphs.length
|
|
50363
|
-
}), w =
|
|
50366
|
+
}), w = Yt.make(r.glyphs.length), x = F4.make(Object.assign({
|
|
50364
50367
|
xAvgCharWidth: Math.round(z.advanceWidthAvg),
|
|
50365
50368
|
usFirstCharIndex: l,
|
|
50366
50369
|
usLastCharIndex: u,
|
|
@@ -50385,13 +50388,13 @@ function ED(r) {
|
|
|
50385
50388
|
// Use space as the default character, if available.
|
|
50386
50389
|
usBreakChar: r.hasChar(" ") ? 32 : 0
|
|
50387
50390
|
// Use space as the break character, if available.
|
|
50388
|
-
}, r.tables.os2)), C =
|
|
50391
|
+
}, r.tables.os2)), C = Gt.make(r.glyphs), S = Tt.make(r.glyphs), F = r.getEnglishName("fontFamily"), T = r.getEnglishName("fontSubfamily"), R = F + " " + T, B = r.getEnglishName("postScriptName");
|
|
50389
50392
|
B || (B = F.replace(/\s/g, "") + "-" + T);
|
|
50390
50393
|
var A = {};
|
|
50391
50394
|
for (var L in r.names)
|
|
50392
50395
|
A[L] = r.names[L];
|
|
50393
50396
|
A.uniqueID || (A.uniqueID = { en: r.getEnglishName("manufacturer") + ":" + R }), A.postScriptName || (A.postScriptName = { en: B }), A.preferredFamily || (A.preferredFamily = r.names.fontFamily), A.preferredSubfamily || (A.preferredSubfamily = r.names.fontSubfamily);
|
|
50394
|
-
var I = [], O =
|
|
50397
|
+
var I = [], O = Jt.make(A, I), P = I.length > 0 ? Wt.make(I) : void 0, N = Qt.make(), $ = Ut.make(r.glyphs, {
|
|
50395
50398
|
version: r.getEnglishName("version"),
|
|
50396
50399
|
fullName: R,
|
|
50397
50400
|
familyName: F,
|
|
@@ -50399,9 +50402,9 @@ function ED(r) {
|
|
|
50399
50402
|
postScriptName: B,
|
|
50400
50403
|
unitsPerEm: r.unitsPerEm,
|
|
50401
50404
|
fontBBox: [0, z.yMin, z.ascender, z.advanceWidthMax]
|
|
50402
|
-
}), H = r.metas && Object.keys(r.metas).length > 0 ?
|
|
50403
|
-
P && X.push(P), r.tables.gsub && X.push(
|
|
50404
|
-
for (var Q =
|
|
50405
|
+
}), H = r.metas && Object.keys(r.metas).length > 0 ? t8.make(r.metas) : void 0, X = [_, j, w, x, O, S, N, $, C];
|
|
50406
|
+
P && X.push(P), r.tables.gsub && X.push(e8.make(r.tables.gsub)), H && X.push(H);
|
|
50407
|
+
for (var Q = a8(X), d1 = Q.encode(), u1 = u6(d1), a1 = Q.fields, i1 = !1, h1 = 0; h1 < a1.length; h1 += 1)
|
|
50405
50408
|
if (a1[h1].name === "head table") {
|
|
50406
50409
|
a1[h1].value.checkSumAdjustment = 2981146554 - u1, i1 = !0;
|
|
50407
50410
|
break;
|
|
@@ -50410,7 +50413,7 @@ function ED(r) {
|
|
|
50410
50413
|
throw new Error("Could not find head table with checkSum to adjust.");
|
|
50411
50414
|
return Q;
|
|
50412
50415
|
}
|
|
50413
|
-
var FD = { make:
|
|
50416
|
+
var FD = { make: a8, fontToTable: ED, computeCheckSum: u6 };
|
|
50414
50417
|
function Qe(r, t) {
|
|
50415
50418
|
for (var e = 0, a = r.length - 1; e <= a; ) {
|
|
50416
50419
|
var s = e + a >>> 1, n = r[s].tag;
|
|
@@ -50877,7 +50880,7 @@ function x5(r, t, e, a, s) {
|
|
|
50877
50880
|
var n;
|
|
50878
50881
|
return (t & a) > 0 ? (n = r.parseByte(), (t & s) === 0 && (n = -n), n = e + n) : (t & s) > 0 ? n = e : n = e + r.parseShort(), n;
|
|
50879
50882
|
}
|
|
50880
|
-
function
|
|
50883
|
+
function r8(r, t, e) {
|
|
50881
50884
|
var a = new Y.Parser(t, e);
|
|
50882
50885
|
r.numberOfContours = a.parseShort(), r._xMin = a.parseShort(), r._yMin = a.parseShort(), r._xMax = a.parseShort(), r._yMax = a.parseShort();
|
|
50883
50886
|
var s, n;
|
|
@@ -50949,7 +50952,7 @@ function AD(r) {
|
|
|
50949
50952
|
}
|
|
50950
50953
|
return r1.argument(e.length === 0, "There are still points left in the current contour."), t;
|
|
50951
50954
|
}
|
|
50952
|
-
function
|
|
50955
|
+
function s8(r) {
|
|
50953
50956
|
var t = new S1();
|
|
50954
50957
|
if (!r)
|
|
50955
50958
|
return t;
|
|
@@ -50974,7 +50977,7 @@ function r8(r) {
|
|
|
50974
50977
|
}
|
|
50975
50978
|
return t;
|
|
50976
50979
|
}
|
|
50977
|
-
function
|
|
50980
|
+
function n8(r, t) {
|
|
50978
50981
|
if (t.isComposite)
|
|
50979
50982
|
for (var e = 0; e < t.components.length; e += 1) {
|
|
50980
50983
|
var a = t.components[e], s = r.get(a.glyphIndex);
|
|
@@ -50998,12 +51001,12 @@ function s8(r, t) {
|
|
|
50998
51001
|
t.points = t.points.concat(n);
|
|
50999
51002
|
}
|
|
51000
51003
|
}
|
|
51001
|
-
return
|
|
51004
|
+
return s8(t.points);
|
|
51002
51005
|
}
|
|
51003
51006
|
function MD(r, t, e, a) {
|
|
51004
51007
|
for (var s = new A2.GlyphSet(a), n = 0; n < e.length - 1; n += 1) {
|
|
51005
51008
|
var i = e[n], o = e[n + 1];
|
|
51006
|
-
i !== o ? s.push(n, A2.ttfGlyphLoader(a, n,
|
|
51009
|
+
i !== o ? s.push(n, A2.ttfGlyphLoader(a, n, r8, r, t + i, n8)) : s.push(n, A2.glyphLoader(a, n));
|
|
51007
51010
|
}
|
|
51008
51011
|
return s;
|
|
51009
51012
|
}
|
|
@@ -51011,22 +51014,22 @@ function RD(r, t, e, a) {
|
|
|
51011
51014
|
var s = new A2.GlyphSet(a);
|
|
51012
51015
|
return a._push = function(n) {
|
|
51013
51016
|
var i = e[n], o = e[n + 1];
|
|
51014
|
-
i !== o ? s.push(n, A2.ttfGlyphLoader(a, n,
|
|
51017
|
+
i !== o ? s.push(n, A2.ttfGlyphLoader(a, n, r8, r, t + i, n8)) : s.push(n, A2.glyphLoader(a, n));
|
|
51015
51018
|
}, s;
|
|
51016
51019
|
}
|
|
51017
51020
|
function OD(r, t, e, a, s) {
|
|
51018
51021
|
return s.lowMemory ? RD(r, t, e, a) : MD(r, t, e, a);
|
|
51019
51022
|
}
|
|
51020
|
-
var
|
|
51021
|
-
function
|
|
51023
|
+
var i8 = { getPath: s8, parse: OD }, o8, D3, l8, S4;
|
|
51024
|
+
function u8(r) {
|
|
51022
51025
|
this.font = r, this.getCommands = function(t) {
|
|
51023
|
-
return
|
|
51026
|
+
return i8.getPath(t).commands;
|
|
51024
51027
|
}, this._fpgmState = this._prepState = void 0, this._errorState = 0;
|
|
51025
51028
|
}
|
|
51026
51029
|
function ID(r) {
|
|
51027
51030
|
return r;
|
|
51028
51031
|
}
|
|
51029
|
-
function
|
|
51032
|
+
function d8(r) {
|
|
51030
51033
|
return Math.sign(r) * Math.round(Math.abs(r));
|
|
51031
51034
|
}
|
|
51032
51035
|
function LD(r) {
|
|
@@ -51041,7 +51044,7 @@ function ND(r) {
|
|
|
51041
51044
|
function $D(r) {
|
|
51042
51045
|
return Math.sign(r) * Math.floor(Math.abs(r));
|
|
51043
51046
|
}
|
|
51044
|
-
var
|
|
51047
|
+
var g8 = function(r) {
|
|
51045
51048
|
var t = this.srPeriod, e = this.srPhase, a = this.srThreshold, s = 1;
|
|
51046
51049
|
return r < 0 && (r = -r, s = -1), r += a - e, r = Math.trunc(r / t) * t, r += e, r < 0 ? e * s : r * s;
|
|
51047
51050
|
}, B2 = {
|
|
@@ -51231,10 +51234,10 @@ function Z2(r, t) {
|
|
|
51231
51234
|
this.zp0 = this.zp1 = this.zp2 = 1, this.rp0 = this.rp1 = this.rp2 = 0;
|
|
51232
51235
|
/* fall through */
|
|
51233
51236
|
case "prep":
|
|
51234
|
-
this.fv = this.pv = this.dpv = B2, this.round =
|
|
51237
|
+
this.fv = this.pv = this.dpv = B2, this.round = d8;
|
|
51235
51238
|
}
|
|
51236
51239
|
}
|
|
51237
|
-
|
|
51240
|
+
u8.prototype.exec = function(r, t) {
|
|
51238
51241
|
if (typeof t != "number")
|
|
51239
51242
|
throw new Error("Point size is not a number!");
|
|
51240
51243
|
if (!(this._errorState > 2)) {
|
|
@@ -51266,14 +51269,14 @@ l8.prototype.exec = function(r, t) {
|
|
|
51266
51269
|
}
|
|
51267
51270
|
if (!(this._errorState > 1))
|
|
51268
51271
|
try {
|
|
51269
|
-
return
|
|
51272
|
+
return l8(r, a);
|
|
51270
51273
|
} catch (u) {
|
|
51271
51274
|
this._errorState < 1 && (console.log("Hinting error:" + u), console.log("Note: further hinting errors are silenced")), this._errorState = 1;
|
|
51272
51275
|
return;
|
|
51273
51276
|
}
|
|
51274
51277
|
}
|
|
51275
51278
|
};
|
|
51276
|
-
|
|
51279
|
+
l8 = function(r, t) {
|
|
51277
51280
|
var e = t.ppem / t.font.unitsPerEm, a = e, s = r.components, n, i, o;
|
|
51278
51281
|
if (Z2.prototype = t, !s)
|
|
51279
51282
|
o = new Z2("glyf", r.instructions), exports.DEBUG && (console.log("---EXEC GLYPH---"), o.step = -1), S4(r, o, e, a), i = o.gZone;
|
|
@@ -51330,7 +51333,7 @@ D3 = function(r) {
|
|
|
51330
51333
|
if (t) {
|
|
51331
51334
|
var e = t.length, a;
|
|
51332
51335
|
for (r.ip = 0; r.ip < e; r.ip++) {
|
|
51333
|
-
if (exports.DEBUG && r.step++, a =
|
|
51336
|
+
if (exports.DEBUG && r.step++, a = o8[t[r.ip]], !a)
|
|
51334
51337
|
throw new Error(
|
|
51335
51338
|
"unknown instruction: 0x" + Number(t[r.ip]).toString(16)
|
|
51336
51339
|
);
|
|
@@ -51342,7 +51345,7 @@ function Be(r) {
|
|
|
51342
51345
|
for (var t = r.tZone = new Array(r.gZone.length), e = 0; e < t.length; e++)
|
|
51343
51346
|
t[e] = new $2(0, 0);
|
|
51344
51347
|
}
|
|
51345
|
-
function
|
|
51348
|
+
function c8(r, t) {
|
|
51346
51349
|
var e = r.prog, a = r.ip, s = 1, n;
|
|
51347
51350
|
do
|
|
51348
51351
|
if (n = e[++a], n === 88)
|
|
@@ -51473,7 +51476,7 @@ function aj(r) {
|
|
|
51473
51476
|
r.loop = r.stack.pop(), exports.DEBUG && console.log(r.step, "SLOOP[]", r.loop);
|
|
51474
51477
|
}
|
|
51475
51478
|
function rj(r) {
|
|
51476
|
-
exports.DEBUG && console.log(r.step, "RTG[]"), r.round =
|
|
51479
|
+
exports.DEBUG && console.log(r.step, "RTG[]"), r.round = d8;
|
|
51477
51480
|
}
|
|
51478
51481
|
function sj(r) {
|
|
51479
51482
|
exports.DEBUG && console.log(r.step, "RTHG[]"), r.round = PD;
|
|
@@ -51483,7 +51486,7 @@ function nj(r) {
|
|
|
51483
51486
|
exports.DEBUG && console.log(r.step, "SMD[]", t), r.minDis = t / 64;
|
|
51484
51487
|
}
|
|
51485
51488
|
function ij(r) {
|
|
51486
|
-
exports.DEBUG && console.log(r.step, "ELSE[]"),
|
|
51489
|
+
exports.DEBUG && console.log(r.step, "ELSE[]"), c8(r, !1);
|
|
51487
51490
|
}
|
|
51488
51491
|
function oj(r) {
|
|
51489
51492
|
var t = r.stack.pop();
|
|
@@ -51736,7 +51739,7 @@ function Ij(r) {
|
|
|
51736
51739
|
}
|
|
51737
51740
|
function Lj(r) {
|
|
51738
51741
|
var t = r.stack.pop();
|
|
51739
|
-
exports.DEBUG && console.log(r.step, "IF[]", t), t || (
|
|
51742
|
+
exports.DEBUG && console.log(r.step, "IF[]", t), t || (c8(r, !0), exports.DEBUG && console.log(r.step, "EIF[]"));
|
|
51740
51743
|
}
|
|
51741
51744
|
function Pj(r) {
|
|
51742
51745
|
exports.DEBUG && console.log(r.step, "EIF[]");
|
|
@@ -51829,7 +51832,7 @@ function r4(r, t) {
|
|
|
51829
51832
|
}
|
|
51830
51833
|
function ew(r) {
|
|
51831
51834
|
var t = r.stack.pop();
|
|
51832
|
-
exports.DEBUG && console.log(r.step, "SROUND[]", t), r.round =
|
|
51835
|
+
exports.DEBUG && console.log(r.step, "SROUND[]", t), r.round = g8;
|
|
51833
51836
|
var e;
|
|
51834
51837
|
switch (t & 192) {
|
|
51835
51838
|
case 0:
|
|
@@ -51864,7 +51867,7 @@ function ew(r) {
|
|
|
51864
51867
|
}
|
|
51865
51868
|
function tw(r) {
|
|
51866
51869
|
var t = r.stack.pop();
|
|
51867
|
-
exports.DEBUG && console.log(r.step, "S45ROUND[]", t), r.round =
|
|
51870
|
+
exports.DEBUG && console.log(r.step, "S45ROUND[]", t), r.round = g8;
|
|
51868
51871
|
var e;
|
|
51869
51872
|
switch (t & 192) {
|
|
51870
51873
|
case 0:
|
|
@@ -51979,7 +51982,7 @@ function W(r, t, e, a, s, n) {
|
|
|
51979
51982
|
")"
|
|
51980
51983
|
), n.rp1 = n.rp0, n.rp2 = l, t && (n.rp0 = l);
|
|
51981
51984
|
}
|
|
51982
|
-
|
|
51985
|
+
o8 = [
|
|
51983
51986
|
/* 0x00 */
|
|
51984
51987
|
C5.bind(void 0, N2),
|
|
51985
51988
|
/* 0x01 */
|
|
@@ -52770,7 +52773,7 @@ _1.prototype.tokenize = function(r) {
|
|
|
52770
52773
|
function e3(r) {
|
|
52771
52774
|
return /[\u0600-\u065F\u066A-\u06D2\u06FA-\u06FF]/.test(r);
|
|
52772
52775
|
}
|
|
52773
|
-
function
|
|
52776
|
+
function h8(r) {
|
|
52774
52777
|
return /[\u0630\u0690\u0621\u0631\u0661\u0671\u0622\u0632\u0672\u0692\u06C2\u0623\u0673\u0693\u06C3\u0624\u0694\u06C4\u0625\u0675\u0695\u06C5\u06E5\u0676\u0696\u06C6\u0627\u0677\u0697\u06C7\u0648\u0688\u0698\u06C8\u0689\u0699\u06C9\u068A\u06CA\u066B\u068B\u06CB\u068C\u068D\u06CD\u06FD\u068E\u06EE\u06FE\u062F\u068F\u06CF\u06EF]/.test(r);
|
|
52775
52778
|
}
|
|
52776
52779
|
function a3(r) {
|
|
@@ -53146,7 +53149,7 @@ function c6(r, t, e) {
|
|
|
53146
53149
|
}
|
|
53147
53150
|
function Sw(r) {
|
|
53148
53151
|
for (var t = [].concat(r.backtrack), e = t.length - 1; e >= 0; e--) {
|
|
53149
|
-
var a = t[e], s =
|
|
53152
|
+
var a = t[e], s = h8(a), n = a3(a);
|
|
53150
53153
|
if (!s && !n)
|
|
53151
53154
|
return !0;
|
|
53152
53155
|
if (s)
|
|
@@ -53155,7 +53158,7 @@ function Sw(r) {
|
|
|
53155
53158
|
return !1;
|
|
53156
53159
|
}
|
|
53157
53160
|
function Tw(r) {
|
|
53158
|
-
if (
|
|
53161
|
+
if (h8(r.current))
|
|
53159
53162
|
return !1;
|
|
53160
53163
|
for (var t = 0; t < r.lookahead.length; t++) {
|
|
53161
53164
|
var e = r.lookahead[t], a = a3(e);
|
|
@@ -53422,12 +53425,12 @@ function v1(r) {
|
|
|
53422
53425
|
usWidthClass: r.widthClass || this.usWidthClasses.MEDIUM,
|
|
53423
53426
|
fsSelection: r.fsSelection || this.fsSelectionValues.REGULAR
|
|
53424
53427
|
}, r.tables.os2)
|
|
53425
|
-
})), this.supported = !0, this.glyphs = new A2.GlyphSet(this, r.glyphs || []), this.encoding = new
|
|
53428
|
+
})), this.supported = !0, this.glyphs = new A2.GlyphSet(this, r.glyphs || []), this.encoding = new Bt(this), this.position = new D0(this), this.substitution = new t2(this), this.tables = this.tables || {}, this._push = null, this._hmtxTableData = {}, Object.defineProperty(this, "hinting", {
|
|
53426
53429
|
get: function() {
|
|
53427
53430
|
if (this._hinting)
|
|
53428
53431
|
return this._hinting;
|
|
53429
53432
|
if (this.outlinesFormat === "truetype")
|
|
53430
|
-
return this._hinting = new
|
|
53433
|
+
return this._hinting = new u8(this);
|
|
53431
53434
|
}
|
|
53432
53435
|
});
|
|
53433
53436
|
}
|
|
@@ -53623,7 +53626,7 @@ v1.prototype.usWeightClasses = {
|
|
|
53623
53626
|
EXTRA_BOLD: 800,
|
|
53624
53627
|
BLACK: 900
|
|
53625
53628
|
};
|
|
53626
|
-
function
|
|
53629
|
+
function k8(r, t) {
|
|
53627
53630
|
var e = JSON.stringify(r), a = 256;
|
|
53628
53631
|
for (var s in t) {
|
|
53629
53632
|
var n = parseInt(s);
|
|
@@ -53636,7 +53639,7 @@ function h8(r, t) {
|
|
|
53636
53639
|
return t[a] = r, a;
|
|
53637
53640
|
}
|
|
53638
53641
|
function Hw(r, t, e) {
|
|
53639
|
-
var a =
|
|
53642
|
+
var a = k8(t.name, e);
|
|
53640
53643
|
return [
|
|
53641
53644
|
{ name: "tag_" + r, type: "TAG", value: t.tag },
|
|
53642
53645
|
{ name: "minValue_" + r, type: "FIXED", value: t.minValue << 16 },
|
|
@@ -53651,7 +53654,7 @@ function qw(r, t, e) {
|
|
|
53651
53654
|
return a.tag = s.parseTag(), a.minValue = s.parseFixed(), a.defaultValue = s.parseFixed(), a.maxValue = s.parseFixed(), s.skip("uShort", 1), a.name = e[s.parseUShort()] || {}, a;
|
|
53652
53655
|
}
|
|
53653
53656
|
function Gw(r, t, e, a) {
|
|
53654
|
-
for (var s =
|
|
53657
|
+
for (var s = k8(t.name, a), n = [
|
|
53655
53658
|
{ name: "nameID_" + r, type: "USHORT", value: s },
|
|
53656
53659
|
{ name: "flags_" + r, type: "USHORT", value: 0 }
|
|
53657
53660
|
], i = 0; i < e.length; ++i) {
|
|
@@ -53943,7 +53946,7 @@ function kx(r, t) {
|
|
|
53943
53946
|
var x = o[w], C = void 0;
|
|
53944
53947
|
switch (x.tag) {
|
|
53945
53948
|
case "cmap":
|
|
53946
|
-
C = w1(n, x), s.tables.cmap =
|
|
53949
|
+
C = w1(n, x), s.tables.cmap = Tt.parse(C.data, C.offset), s.encoding = new At(s.tables.cmap);
|
|
53947
53950
|
break;
|
|
53948
53951
|
case "cvt ":
|
|
53949
53952
|
C = w1(n, x), j = new Y.Parser(C.data, C.offset), s.tables.cvt = j.parseShortList(x.length / 2);
|
|
@@ -53955,19 +53958,19 @@ function kx(r, t) {
|
|
|
53955
53958
|
C = w1(n, x), j = new Y.Parser(C.data, C.offset), s.tables.fpgm = j.parseByteList(x.length);
|
|
53956
53959
|
break;
|
|
53957
53960
|
case "head":
|
|
53958
|
-
C = w1(n, x), s.tables.head =
|
|
53961
|
+
C = w1(n, x), s.tables.head = Ht.parse(C.data, C.offset), s.unitsPerEm = s.tables.head.unitsPerEm, e = s.tables.head.indexToLocFormat;
|
|
53959
53962
|
break;
|
|
53960
53963
|
case "hhea":
|
|
53961
|
-
C = w1(n, x), s.tables.hhea =
|
|
53964
|
+
C = w1(n, x), s.tables.hhea = qt.parse(C.data, C.offset), s.ascender = s.tables.hhea.ascender, s.descender = s.tables.hhea.descender, s.numberOfHMetrics = s.tables.hhea.numberOfHMetrics;
|
|
53962
53965
|
break;
|
|
53963
53966
|
case "hmtx":
|
|
53964
53967
|
m = x;
|
|
53965
53968
|
break;
|
|
53966
53969
|
case "ltag":
|
|
53967
|
-
C = w1(n, x), a =
|
|
53970
|
+
C = w1(n, x), a = Wt.parse(C.data, C.offset);
|
|
53968
53971
|
break;
|
|
53969
53972
|
case "maxp":
|
|
53970
|
-
C = w1(n, x), s.tables.maxp =
|
|
53973
|
+
C = w1(n, x), s.tables.maxp = Yt.parse(C.data, C.offset), s.numGlyphs = s.tables.maxp.numGlyphs;
|
|
53971
53974
|
break;
|
|
53972
53975
|
case "name":
|
|
53973
53976
|
z = x;
|
|
@@ -53976,7 +53979,7 @@ function kx(r, t) {
|
|
|
53976
53979
|
C = w1(n, x), s.tables.os2 = F4.parse(C.data, C.offset);
|
|
53977
53980
|
break;
|
|
53978
53981
|
case "post":
|
|
53979
|
-
C = w1(n, x), s.tables.post =
|
|
53982
|
+
C = w1(n, x), s.tables.post = Qt.parse(C.data, C.offset), s.glyphNames = new o6(s.tables.post);
|
|
53980
53983
|
break;
|
|
53981
53984
|
case "prep":
|
|
53982
53985
|
C = w1(n, x), j = new Y.Parser(C.data, C.offset), s.tables.prep = j.parseByteList(x.length);
|
|
@@ -54008,16 +54011,16 @@ function kx(r, t) {
|
|
|
54008
54011
|
}
|
|
54009
54012
|
}
|
|
54010
54013
|
var S = w1(n, z);
|
|
54011
|
-
if (s.tables.name =
|
|
54014
|
+
if (s.tables.name = Jt.parse(S.data, S.offset, a), s.names = s.tables.name, g && y) {
|
|
54012
54015
|
var F = e === 0, T = w1(n, y), R = cx.parse(T.data, T.offset, s.numGlyphs, F), B = w1(n, g);
|
|
54013
|
-
s.glyphs =
|
|
54016
|
+
s.glyphs = i8.parse(B.data, B.offset, R, s, t);
|
|
54014
54017
|
} else if (d) {
|
|
54015
54018
|
var A = w1(n, d);
|
|
54016
|
-
|
|
54019
|
+
Ut.parse(A.data, A.offset, s, t);
|
|
54017
54020
|
} else
|
|
54018
54021
|
throw new Error("Font doesn't contain TrueType or CFF outlines.");
|
|
54019
54022
|
var L = w1(n, m);
|
|
54020
|
-
if (
|
|
54023
|
+
if (Gt.parse(s, L.data, L.offset, s.numberOfHMetrics, s.numGlyphs, s.glyphs, t), C_(s, t), v) {
|
|
54021
54024
|
var I = w1(n, v);
|
|
54022
54025
|
s.kerningPairs = dx.parse(I.data, I.offset);
|
|
54023
54026
|
} else
|
|
@@ -54032,7 +54035,7 @@ function kx(r, t) {
|
|
|
54032
54035
|
}
|
|
54033
54036
|
if (f) {
|
|
54034
54037
|
var N = w1(n, f);
|
|
54035
|
-
s.tables.gsub =
|
|
54038
|
+
s.tables.gsub = e8.parse(N.data, N.offset);
|
|
54036
54039
|
}
|
|
54037
54040
|
if (c) {
|
|
54038
54041
|
var $ = w1(n, c);
|
|
@@ -54040,7 +54043,7 @@ function kx(r, t) {
|
|
|
54040
54043
|
}
|
|
54041
54044
|
if (_) {
|
|
54042
54045
|
var H = w1(n, _);
|
|
54043
|
-
s.tables.meta =
|
|
54046
|
+
s.tables.meta = t8.parse(H.data, H.offset), s.metas = s.tables.meta;
|
|
54044
54047
|
}
|
|
54045
54048
|
return s;
|
|
54046
54049
|
}
|
|
@@ -54197,7 +54200,7 @@ function yx(r, t, e, a, s, n) {
|
|
|
54197
54200
|
let l = 0;
|
|
54198
54201
|
for (let u = 0; u < t.length; u++) {
|
|
54199
54202
|
const d = t[u];
|
|
54200
|
-
if (
|
|
54203
|
+
if (j7(d))
|
|
54201
54204
|
o.unshift(d), l++;
|
|
54202
54205
|
else
|
|
54203
54206
|
break;
|
|
@@ -54219,7 +54222,7 @@ function _x(r, t, e, a, s, n) {
|
|
|
54219
54222
|
let l = 0;
|
|
54220
54223
|
for (let u = 0; u < t.length; u++) {
|
|
54221
54224
|
const d = t[u];
|
|
54222
|
-
if (
|
|
54225
|
+
if (w7(d))
|
|
54223
54226
|
o.push(d), l++;
|
|
54224
54227
|
else
|
|
54225
54228
|
break;
|
|
@@ -54235,7 +54238,7 @@ function Dx(r) {
|
|
|
54235
54238
|
const a = r[e], s = r[e + 1], { width: n, content: i } = a, o = n / 2;
|
|
54236
54239
|
if (T6(i) && T6(s.content) && a.adjustability.shrinkability[1] + s.adjustability.shrinkability[0] >= o) {
|
|
54237
54240
|
const l = Math.min(a.adjustability.shrinkability[1], o);
|
|
54238
|
-
|
|
54241
|
+
tt(a, l), at(s, o - l);
|
|
54239
54242
|
}
|
|
54240
54243
|
}
|
|
54241
54244
|
}
|
|
@@ -54260,7 +54263,7 @@ function xx(r, t, e, a, s, n = !1) {
|
|
|
54260
54263
|
defaultTabStop: l = 10.5,
|
|
54261
54264
|
drawings: u = {}
|
|
54262
54265
|
} = s, d = [];
|
|
54263
|
-
let c = new
|
|
54266
|
+
let c = new J7(t);
|
|
54264
54267
|
const { endIndex: g } = a, h = e.getParagraph(g) || {}, { paragraphStyle: p = {} } = h, { snapToGrid: f = t1.TRUE } = p;
|
|
54265
54268
|
let m = 0, v, y = 0;
|
|
54266
54269
|
const { hyphen: z, languageDetector: _ } = r, j = mx(e.getBody(), g);
|
|
@@ -54329,7 +54332,7 @@ function xx(r, t, e, a, s, n = !1) {
|
|
|
54329
54332
|
h
|
|
54330
54333
|
);
|
|
54331
54334
|
B.push(...$), O += N, I = I.substring(N);
|
|
54332
|
-
} else if (
|
|
54335
|
+
} else if (j7(P)) {
|
|
54333
54336
|
const { step: N, glyphGroup: $ } = yx(
|
|
54334
54337
|
O,
|
|
54335
54338
|
I,
|
|
@@ -54339,7 +54342,7 @@ function xx(r, t, e, a, s, n = !1) {
|
|
|
54339
54342
|
h
|
|
54340
54343
|
);
|
|
54341
54344
|
B.push(...$), O += N, I = I.substring(N);
|
|
54342
|
-
} else if (
|
|
54345
|
+
} else if (w7(P)) {
|
|
54343
54346
|
const { step: N, glyphGroup: $ } = _x(
|
|
54344
54347
|
O,
|
|
54345
54348
|
I,
|
|
@@ -54618,9 +54621,9 @@ const _e = class _e {
|
|
|
54618
54621
|
};
|
|
54619
54622
|
k(_e, "_instance", null);
|
|
54620
54623
|
let A4 = _e;
|
|
54621
|
-
|
|
54622
|
-
const Rx =
|
|
54623
|
-
function
|
|
54624
|
+
m8(2);
|
|
54625
|
+
const Rx = m8(3);
|
|
54626
|
+
function m8(r) {
|
|
54624
54627
|
if (typeof r != "number" || Number.isNaN(r) || r < 1 || r === Number.POSITIVE_INFINITY)
|
|
54625
54628
|
throw new Error("`" + r + "` is not a valid argument for `n-gram`");
|
|
54626
54629
|
return t;
|
|
@@ -54659,7 +54662,7 @@ function $x(r) {
|
|
|
54659
54662
|
return a === 0 || a + e.length === s.length ? "" : r(e);
|
|
54660
54663
|
}
|
|
54661
54664
|
}
|
|
54662
|
-
const
|
|
54665
|
+
const p8 = {}.hasOwnProperty;
|
|
54663
54666
|
function Ux(r) {
|
|
54664
54667
|
return r == null ? "" : Lx(String(r).replace(/[\u0021-\u0040]+/g, " ")).trim().toLowerCase();
|
|
54665
54668
|
}
|
|
@@ -54670,14 +54673,14 @@ function qx(r) {
|
|
|
54670
54673
|
const t = Hx(r), e = {};
|
|
54671
54674
|
let a = -1;
|
|
54672
54675
|
for (; ++a < t.length; )
|
|
54673
|
-
|
|
54676
|
+
p8.call(e, t[a]) ? e[t[a]]++ : e[t[a]] = 1;
|
|
54674
54677
|
return e;
|
|
54675
54678
|
}
|
|
54676
54679
|
function Gx(r) {
|
|
54677
54680
|
const t = qx(r), e = [];
|
|
54678
54681
|
let a;
|
|
54679
54682
|
for (a in t)
|
|
54680
|
-
|
|
54683
|
+
p8.call(t, a) && e.push([a, t[a]]);
|
|
54681
54684
|
return e.sort(Wx), e;
|
|
54682
54685
|
}
|
|
54683
54686
|
function Wx(r, t) {
|
|
@@ -54779,7 +54782,7 @@ const Yx = {
|
|
|
54779
54782
|
npi: "को |ने | र |ार |क्त|कार|प्र| प्|्यक|व्य| गर|िका| व्|्रत|धिक|्ति|यक्|अधि| अध|ाई |मा |लाई|त्य|िक | । | सम|वा | वा|क व|्ने|र्न|गर्|न्त|छ ।|तिल|रत्|त्र|ेक |येक|्ये|िला|र स|ो स| स्|मान|क्ष| वि|हुन|ा स| हु| छ |र छ|्त्|समा|स्व|। प| सं|नेछ|ुने|हरु|तन्|वतन|े अ|िने|ो अ|्वत| का|े छ|गरि| रा|्र |ति |ाको| कु|ष्ट|ना |स्त|क स|ुनै|कुन|ट्र|ले | नि|ान |छैन| छै|्ट्|ाष्|राष|तिक|छ। |ार्|ता |ित |नै |ा अ| सा|ा व|रु | मा| अन|ा र|रता|र र|हरू|ेछ |ा प|रक्|्त | पर|था | ला|परि|देश|सको| यस|माज|ामा|्रा|िवा|ाहर|ो प|्य |वार|न स|। क|नि |्षा| त्|द्ध|र ह|तथा| तथ|यस्|्यस|री |र व|पनि|रिन|ंरक|संर|भाव|ै व|सबै| सब| शि| सह|ताक|े र|त र|लाग| सु|्षण|द्द| अप|ैन |ो व|िक्|ाव |धार|्या|्रि|ा भ|एको|र म|न अ|ो ल| उस|शिक|ात्|स्थ|वाह|ूर्|श्य|ित्|रको|ारक|ुद्|तो |्तो|ाउन|कान|िएक|ा न| पन|न। |ैन।|का |ेछ।| भे|र्य|सम्|त्प|साम|रिय|चार|निज|ुन |गि |ागि|उसक| मत| अभ|पूर|र त| सक|सार|राध|परा|अपर|ुक्|जको| उप|रा |ारा|्वा|विध|्न |ा त|न ग|णको| पा| दि|क र|र प|अन्|भेद|ारम|ो आ| अर|जिक|ाजि|िय |षा |ाट |बाट| बा|ि र| छ।|त्व|त स|रू |छ र|रका|विक|र उ|ोग |्दे|रिव|सकि|ै प|रति|अनु| आव|युक|ा ग|नमा|योग|ग ग|क अ|द्व|्ध |रुद| बि|। स|उने|ान्|ा म|िको|र्द|ारी|्तर|ो ह|हित| दे|रिक|ा क| आध|राज|र्म|्ण |र्ण|ि व|्यव|विच|बै |सहि|रोज|र्स|ई उ|्प |रात|निक|मिक|च्छ|्था|विव|कता|अभि|्धा",
|
|
54780
54783
|
mag: " के|के |ार | हई|कार|ई। |हई।|िका|े अ|धिक|अधि| अध|र ह|े क|और | और|ा क|े स|सब | सब| कर|ें |था |में| मे|तथा| तथ|िक | हो| सम|क्ष|ना |ब क|र स| सं|ा स|कर | भी|। स| सा| से| का| अप|्रा|प्र| प्|से |भी | को|त क| पर|रा |क ह|पन |अपन| सक|या |ति |र क|ी क| या|करे| जा|रे | ओक|्त |सक |नो |ान |मान|ओकर|ा प|न क|ेल | ना|। क|रक्| स्|ही |होए| एक|पर |दी |ट्र|ता |व्य|हई | शा|े उ| दे|त्र|ादी| रा| ही|कान|ित |म क|ल ज|ाम |ी स|े भ|न स|माज|ष्ट|षा | ले|क स|बे |वे |ावे|मिल|र म|्य |ा ह|ला |प्त|नून|ानू|जा |ेकर|्षा|्रत|ंत्|र औ|ोई |कोई|्ट्|ाष्|राष| मा|रो | जे|करा|ोए |ाप्|राप|समा|ून |ो स|स्व|्ति|साम|ोनो|कोन| व्|र अ|्म | वि| सह|े म|क्त|योग|र व|काम|ल ह| नि|देश|पूर|वार| इ |ंरक|संर|ए क|र प| सु|तंत|वतं|्वत|ा म|व क|े व|ाथ |साथ| दो|होब| पा|ो क|े ब|ोग | उप|स्त|परि|न प|े त|्तर|लेल|े ओ|चाह| चा|य क|वा |ेश |य स|न ह|षण |ा ब|। त|एक |एल |ीय |केक|े ह|र आ|ि क|स्थ|जिक|ाजि|ामा|रीय|्री|तिक|ाति| बि|चार|े आ|ास | उच|ा त|यक्|्यक|िल |मय |समय|शाद|पयो|उपय|े ख|रिव| पू|े ल|े च|ौनो|कौन| कौ|ं क|संग|न द|ं स|ण प|्षण|र न|े न|ो भ|करो|ा औ|रता|ाव |भाव|क औ|र्म|ोसर|दोस|ण क|े प|न औ|ब ह|िक्|शिक| शि|ाबे|निय|चित|उचि|ित्|ग क|े। |त स|ी श|ं श|एकर|। ए|तन | ओ |री |्र |जे |क क| सी|सन |िवा| अन|ूरा| बच|ए। | बे|त ह| तक| मि|धार|थवा|अथव| अथ|िला|्वा|ि म| आद|ने |कएल| कए|्या"
|
|
54781
54784
|
}
|
|
54782
|
-
}, Xx = 2048, Vx = 10,
|
|
54785
|
+
}, Xx = 2048, Vx = 10, f8 = 300, ve = {}.hasOwnProperty;
|
|
54783
54786
|
let t0;
|
|
54784
54787
|
const be = {};
|
|
54785
54788
|
for (t0 in o4)
|
|
@@ -54805,13 +54808,13 @@ function Zx(r, t = {}) {
|
|
|
54805
54808
|
return M4();
|
|
54806
54809
|
r = r.slice(0, Xx);
|
|
54807
54810
|
const n = Qx(r, Yx);
|
|
54808
|
-
return !n[0] || !(n[0] in be) ? !n[0] || n[1] === 0 || !
|
|
54811
|
+
return !n[0] || !(n[0] in be) ? !n[0] || n[1] === 0 || !v8(n[0], e, a) ? M4() : b8(n[0]) : Jx(
|
|
54809
54812
|
r,
|
|
54810
54813
|
tC(Gx(r), be[n[0]], e, a)
|
|
54811
54814
|
);
|
|
54812
54815
|
}
|
|
54813
54816
|
function Jx(r, t) {
|
|
54814
|
-
const e = t[0][1], a = r.length *
|
|
54817
|
+
const e = t[0][1], a = r.length * f8 - e;
|
|
54815
54818
|
let s = -1;
|
|
54816
54819
|
for (; ++s < t.length; )
|
|
54817
54820
|
t[s][1] = 1 - (t[s][1] - e) / a || 0;
|
|
@@ -54843,7 +54846,7 @@ function aC(r, t) {
|
|
|
54843
54846
|
let e = 0, a = -1;
|
|
54844
54847
|
for (; ++a < r.length; ) {
|
|
54845
54848
|
const s = r[a];
|
|
54846
|
-
let n =
|
|
54849
|
+
let n = f8;
|
|
54847
54850
|
s[0] in t && (n = s[1] - t[s[0]] - 1, n < 0 && (n = -n)), e += n;
|
|
54848
54851
|
}
|
|
54849
54852
|
return e;
|
|
@@ -54854,16 +54857,16 @@ function rC(r, t, e) {
|
|
|
54854
54857
|
const a = {};
|
|
54855
54858
|
let s;
|
|
54856
54859
|
for (s in r)
|
|
54857
|
-
|
|
54860
|
+
v8(s, t, e) && (a[s] = r[s]);
|
|
54858
54861
|
return a;
|
|
54859
54862
|
}
|
|
54860
|
-
function
|
|
54863
|
+
function v8(r, t, e) {
|
|
54861
54864
|
return t.length === 0 && e.length === 0 ? !0 : (t.length === 0 || t.includes(r)) && !e.includes(r);
|
|
54862
54865
|
}
|
|
54863
54866
|
function M4() {
|
|
54864
|
-
return
|
|
54867
|
+
return b8("und");
|
|
54865
54868
|
}
|
|
54866
|
-
function
|
|
54869
|
+
function b8(r) {
|
|
54867
54870
|
return [[r, 1]];
|
|
54868
54871
|
}
|
|
54869
54872
|
function sC(r, t) {
|
|
@@ -55034,7 +55037,7 @@ function X5(r) {
|
|
|
55034
55037
|
}
|
|
55035
55038
|
return t;
|
|
55036
55039
|
}
|
|
55037
|
-
class v3 extends
|
|
55040
|
+
class v3 extends Y8 {
|
|
55038
55041
|
constructor(e, a) {
|
|
55039
55042
|
super(a);
|
|
55040
55043
|
k(this, "_dirty$", new P1());
|
|
@@ -55561,7 +55564,7 @@ class v3 extends W8 {
|
|
|
55561
55564
|
}
|
|
55562
55565
|
_prepareLayoutContext() {
|
|
55563
55566
|
const e = this.getViewModel(), a = e.getDataModel(), { headerTreeMap: s, footerTreeMap: n } = e.getHeaderFooterTreeMap(), { documentStyle: i, drawings: o, lists: l = {} } = a, u = {
|
|
55564
|
-
...
|
|
55567
|
+
...X8,
|
|
55565
55568
|
...l
|
|
55566
55569
|
}, {
|
|
55567
55570
|
paragraphLineGapDefault: d = 0,
|
|
@@ -55662,7 +55665,7 @@ class v3 extends W8 {
|
|
|
55662
55665
|
break;
|
|
55663
55666
|
}
|
|
55664
55667
|
if (e.isDirty && this._iteratorCount < 10)
|
|
55665
|
-
return this._iteratorCount++,
|
|
55668
|
+
return this._iteratorCount++, pt(e), this._createSkeleton(e, a);
|
|
55666
55669
|
this._iteratorCount = 0, iC(e), ue(n.pages), V0(e, n.pages);
|
|
55667
55670
|
for (const c of n.skeHeaders.values())
|
|
55668
55671
|
for (const g of c.values())
|
|
@@ -55681,7 +55684,7 @@ class v3 extends W8 {
|
|
|
55681
55684
|
marginBottom: d,
|
|
55682
55685
|
marginLeft: c,
|
|
55683
55686
|
marginRight: g
|
|
55684
|
-
} = e, h = o - c - g, p = l - u - d, f = ((i == null ? void 0 : i.top) || 0) + ((i == null ? void 0 : i.height) || 0), m =
|
|
55687
|
+
} = e, h = o - c - g, p = l - u - d, f = ((i == null ? void 0 : i.top) || 0) + ((i == null ? void 0 : i.height) || 0), m = rt(
|
|
55685
55688
|
a,
|
|
55686
55689
|
s,
|
|
55687
55690
|
f,
|
|
@@ -55862,7 +55865,7 @@ const K5 = {
|
|
|
55862
55865
|
l: 2,
|
|
55863
55866
|
r: 2
|
|
55864
55867
|
}, dC = "RENDER_RAW_FORMULA", H0 = 100;
|
|
55865
|
-
let Z5 = class extends
|
|
55868
|
+
let Z5 = class extends Z8 {
|
|
55866
55869
|
constructor(t, e, a, s, n, i) {
|
|
55867
55870
|
super(t, e, a, s, n, i);
|
|
55868
55871
|
/**
|
|
@@ -55895,7 +55898,7 @@ let Z5 = class extends K8 {
|
|
|
55895
55898
|
this._updateLayout(), this.disposeWithMe(
|
|
55896
55899
|
this._contextService.subscribeContextValue$(dC).pipe(
|
|
55897
55900
|
oa(!1),
|
|
55898
|
-
|
|
55901
|
+
m7()
|
|
55899
55902
|
).subscribe((o) => {
|
|
55900
55903
|
this._renderRawFormula = o, this._resetCache(), this.makeDirty(!0);
|
|
55901
55904
|
})
|
|
@@ -56092,7 +56095,7 @@ let Z5 = class extends K8 {
|
|
|
56092
56095
|
const { columnData: a, defaultColumnWidth: s } = this._worksheetData, n = this.worksheet.getCellInfoInMergeData(t, e);
|
|
56093
56096
|
if (this._skipAutoHeightForMergedCells && (n.isMerged || n.isMergedMainCell))
|
|
56094
56097
|
return;
|
|
56095
|
-
const i = this.worksheet.getCell(t, e), o = this.worksheet.
|
|
56098
|
+
const i = this.worksheet.getCell(t, e), o = this.worksheet.getComposedCellStyleByCellData(t, e, i);
|
|
56096
56099
|
if (i != null && i.interceptorAutoHeight) {
|
|
56097
56100
|
const B = i.interceptorAutoHeight();
|
|
56098
56101
|
if (B)
|
|
@@ -56237,7 +56240,7 @@ let Z5 = class extends K8 {
|
|
|
56237
56240
|
if (m)
|
|
56238
56241
|
return m;
|
|
56239
56242
|
}
|
|
56240
|
-
const i = this.worksheet.
|
|
56243
|
+
const i = this.worksheet.getComposedCellStyleByCellData(e, a, t), o = this.worksheet.getCellDocumentModel(t, i);
|
|
56241
56244
|
if (o == null)
|
|
56242
56245
|
return n;
|
|
56243
56246
|
const { documentModel: l, textRotation: u } = o;
|
|
@@ -56414,7 +56417,7 @@ let Z5 = class extends K8 {
|
|
|
56414
56417
|
} else if (t.v != null) {
|
|
56415
56418
|
const m = V5(i);
|
|
56416
56419
|
l = d3(m).fontCache;
|
|
56417
|
-
let v =
|
|
56420
|
+
let v = c7(t);
|
|
56418
56421
|
t.t === X2.FORCE_STRING && s && (v = `'${v}`), o = $0(v, m, {
|
|
56419
56422
|
...u,
|
|
56420
56423
|
textRotation: d,
|
|
@@ -56640,7 +56643,7 @@ let Z5 = class extends K8 {
|
|
|
56640
56643
|
if (!n)
|
|
56641
56644
|
return;
|
|
56642
56645
|
}
|
|
56643
|
-
const c = this.worksheet.getCell(t, e) || this.worksheet.getCellRaw(t, e), g = this.worksheet.
|
|
56646
|
+
const c = this.worksheet.getCell(t, e) || this.worksheet.getCellRaw(t, e), g = this.worksheet.getComposedCellStyleByCellData(t, e, c);
|
|
56644
56647
|
this._setBgStylesCache(t, e, g, a), this._setBorderStylesCache(t, e, g, a), this._setFontStylesCache(t, e, { ...c, s: g }, g);
|
|
56645
56648
|
}
|
|
56646
56649
|
/**
|
|
@@ -56658,7 +56661,7 @@ let Z5 = class extends K8 {
|
|
|
56658
56661
|
const h = this.worksheet.getCell(o, l);
|
|
56659
56662
|
if (!h)
|
|
56660
56663
|
break;
|
|
56661
|
-
const p = (u = h.themeStyle) == null ? void 0 : u.bd, f = this.worksheet.
|
|
56664
|
+
const p = (u = h.themeStyle) == null ? void 0 : u.bd, f = this.worksheet.getComposedCellStyleByCellData(o, l, h);
|
|
56662
56665
|
if (!f && !p)
|
|
56663
56666
|
break;
|
|
56664
56667
|
const m = (c = (d = f == null ? void 0 : f.bd) == null ? void 0 : d[t]) != null ? c : p == null ? void 0 : p[t];
|
|
@@ -56740,8 +56743,8 @@ let Z5 = class extends K8 {
|
|
|
56740
56743
|
}
|
|
56741
56744
|
};
|
|
56742
56745
|
Z5 = uC([
|
|
56743
|
-
U0(2, b3(
|
|
56744
|
-
U0(3,
|
|
56746
|
+
U0(2, b3(V8)),
|
|
56747
|
+
U0(3, K8),
|
|
56745
56748
|
U0(4, g7),
|
|
56746
56749
|
U0(5, b3(we))
|
|
56747
56750
|
], Z5);
|
|
@@ -56765,7 +56768,7 @@ function r0(r, t = 0) {
|
|
|
56765
56768
|
let l = 0, u = 0;
|
|
56766
56769
|
const d = [];
|
|
56767
56770
|
Vy([n], (g) => {
|
|
56768
|
-
const { lines: h, width: p, spaceWidth: f } = g, { rotatedHeight: m, rotatedWidth: v } =
|
|
56771
|
+
const { lines: h, width: p, spaceWidth: f } = g, { rotatedHeight: m, rotatedWidth: v } = R7(h, p, a);
|
|
56769
56772
|
u += m, d.push({ rotatedWidth: v, spaceWidth: f });
|
|
56770
56773
|
});
|
|
56771
56774
|
const c = d.length;
|
|
@@ -56852,7 +56855,7 @@ class kC extends x3 {
|
|
|
56852
56855
|
if (!y) return !0;
|
|
56853
56856
|
e.fontCache = y;
|
|
56854
56857
|
const z = u.overflowCache.getValue(a, s), _ = l && l.length > 0 ? l : o;
|
|
56855
|
-
if (!z && (!m && !f) && !
|
|
56858
|
+
if (!z && (!m && !f) && !S7(_, a, s))
|
|
56856
56859
|
return !0;
|
|
56857
56860
|
const w = u.worksheet.getRowVisible(a), x = u.worksheet.getColVisible(s);
|
|
56858
56861
|
if (!w || !x) return !0;
|
|
@@ -56982,7 +56985,7 @@ class kC extends x3 {
|
|
|
56982
56985
|
if (!o) return;
|
|
56983
56986
|
const l = (F = (S = o.style) == null ? void 0 : S.pd) != null ? F : g2, u = (T = l.l) != null ? T : g2.l, d = (R = l.r) != null ? R : g2.r, c = (B = l.t) != null ? B : g2.t, g = (A = l.b) != null ? A : g2.b, { vertexAngle: h = 0, wrapStrategy: p, cellData: f } = o;
|
|
56984
56987
|
if ((f == null ? void 0 : f.v) === void 0 || (f == null ? void 0 : f.v) === null) return;
|
|
56985
|
-
const m =
|
|
56988
|
+
const m = c7(f);
|
|
56986
56989
|
let { startX: v, startY: y, endX: z, endY: _ } = n, j = z - v - u - d;
|
|
56987
56990
|
const w = _ - y - c - g, x = i.getValue(a, s);
|
|
56988
56991
|
if (!(p === T1.WRAP && h === 0) && x) {
|
|
@@ -57205,8 +57208,8 @@ class zC extends x3 {
|
|
|
57205
57208
|
e.beginPath(), e.moveToByPrecision(z, 0), e.lineToByPrecision(z, g), e.stroke();
|
|
57206
57209
|
}
|
|
57207
57210
|
}
|
|
57208
|
-
|
|
57209
|
-
class PB extends
|
|
57211
|
+
P7.add(new zC());
|
|
57212
|
+
class PB extends U7 {
|
|
57210
57213
|
constructor(e, a) {
|
|
57211
57214
|
super(e, a);
|
|
57212
57215
|
k(this, "_rowHeaderLayoutExtension");
|
|
@@ -57247,7 +57250,7 @@ class PB extends $7 {
|
|
|
57247
57250
|
return a.x >= 0 && a.x <= n && a.y > i;
|
|
57248
57251
|
}
|
|
57249
57252
|
_initialDefaultExtension() {
|
|
57250
|
-
|
|
57253
|
+
P7.getData().forEach((e) => {
|
|
57251
57254
|
this.register(e);
|
|
57252
57255
|
}), this._rowHeaderLayoutExtension = this.getExtensionByKey("DefaultRowHeaderLayoutExtension");
|
|
57253
57256
|
}
|
|
@@ -57255,7 +57258,7 @@ class PB extends $7 {
|
|
|
57255
57258
|
this.makeDirty(!0), this._rowHeaderLayoutExtension.configHeaderRow(e, a);
|
|
57256
57259
|
}
|
|
57257
57260
|
}
|
|
57258
|
-
class
|
|
57261
|
+
class y8 extends I7 {
|
|
57259
57262
|
constructor(e, a, s) {
|
|
57260
57263
|
super(e);
|
|
57261
57264
|
k(this, "pageMarginLeft", 0);
|
|
@@ -57297,7 +57300,7 @@ class b8 extends O7 {
|
|
|
57297
57300
|
}
|
|
57298
57301
|
}
|
|
57299
57302
|
var s0 = /* @__PURE__ */ ((r) => (r[r.SPAN = 0] = "SPAN", r[r.LINE = 1] = "LINE", r))(s0 || {});
|
|
57300
|
-
class Me extends
|
|
57303
|
+
class Me extends L7 {
|
|
57301
57304
|
constructor() {
|
|
57302
57305
|
super(...arguments);
|
|
57303
57306
|
k(this, "type", 0);
|
|
@@ -57356,8 +57359,8 @@ class xC extends Me {
|
|
|
57356
57359
|
const v = h.get(m);
|
|
57357
57360
|
if (!v)
|
|
57358
57361
|
continue;
|
|
57359
|
-
const { s: y, cl: z } = v, _ = y3(z) || z3, j =
|
|
57360
|
-
y !== this._preBorderStyle && (
|
|
57362
|
+
const { s: y, cl: z } = v, _ = y3(z) || z3, j = M7(y);
|
|
57363
|
+
y !== this._preBorderStyle && (A7(e, y), e.setLineWidthByPrecision(j), this._preBorderStyle = y), _ !== this._preBorderColor && (e.strokeStyle = _, this._preBorderColor = _), c3(e, m, (j - 1) / 2 / g, {
|
|
57361
57364
|
startX: p.x,
|
|
57362
57365
|
startY: p.y,
|
|
57363
57366
|
endX: p.x + d,
|
|
@@ -57403,7 +57406,7 @@ class m6 extends C3 {
|
|
|
57403
57406
|
}
|
|
57404
57407
|
}
|
|
57405
57408
|
const EC = ["radius"];
|
|
57406
|
-
class
|
|
57409
|
+
class z8 extends C3 {
|
|
57407
57410
|
constructor(e, a) {
|
|
57408
57411
|
super(e, a);
|
|
57409
57412
|
k(this, "_radius");
|
|
@@ -57433,7 +57436,7 @@ class y8 extends C3 {
|
|
|
57433
57436
|
};
|
|
57434
57437
|
}
|
|
57435
57438
|
_draw(e) {
|
|
57436
|
-
|
|
57439
|
+
z8.drawWith(e, this);
|
|
57437
57440
|
}
|
|
57438
57441
|
_setFixBoundingBox() {
|
|
57439
57442
|
this.transformByState({
|
|
@@ -57499,7 +57502,7 @@ class R1 extends C3 {
|
|
|
57499
57502
|
R1.drawWith(e, this);
|
|
57500
57503
|
}
|
|
57501
57504
|
}
|
|
57502
|
-
class
|
|
57505
|
+
class _8 extends R1 {
|
|
57503
57506
|
static drawWith(t, e) {
|
|
57504
57507
|
let { radius: a, left: s, top: n, width: i, height: o } = e;
|
|
57505
57508
|
if (a = a != null ? a : 0, i = i != null ? i : 0, o = o != null ? o : 0, s = s != null ? s : 0, n = n != null ? n : 0, t.beginPath(), t.setLineDash(e.strokeDashArray), !a)
|
|
@@ -57517,7 +57520,7 @@ class z8 extends R1 {
|
|
|
57517
57520
|
const T = M3.getIntersectionBetweenTwoRect(_, e.cacheBound);
|
|
57518
57521
|
T && (j = T.left - m, w = T.top - v, x = T.right, C = T.bottom, S = T.width, F = T.height);
|
|
57519
57522
|
}
|
|
57520
|
-
|
|
57523
|
+
_8.drawWith(t, { radius: a, paintFirst: s, stroke: n, strokeWidth: i, fill: o, strokeScaleEnabled: l, fillRule: u, strokeLineCap: d, strokeDashOffset: c, strokeLineJoin: g, strokeMiterLimit: h, strokeDashArray: p, width: S, height: F, left: j, top: w });
|
|
57521
57524
|
}
|
|
57522
57525
|
}
|
|
57523
57526
|
class $B {
|
|
@@ -58528,7 +58531,7 @@ class qB extends t3 {
|
|
|
58528
58531
|
}
|
|
58529
58532
|
}
|
|
58530
58533
|
const Q5 = 17, BC = 10, q0 = 2, e7 = 1;
|
|
58531
|
-
class
|
|
58534
|
+
class D8 extends D2 {
|
|
58532
58535
|
constructor(e, a) {
|
|
58533
58536
|
super();
|
|
58534
58537
|
k(this, "_enableHorizontal", !0);
|
|
@@ -58672,7 +58675,7 @@ class _8 extends D2 {
|
|
|
58672
58675
|
return this._trackThickness;
|
|
58673
58676
|
}
|
|
58674
58677
|
static attachTo(e, a) {
|
|
58675
|
-
return new
|
|
58678
|
+
return new D8(e, a);
|
|
58676
58679
|
}
|
|
58677
58680
|
dispose() {
|
|
58678
58681
|
var e, a, s, n, i, o, l, u, d;
|
|
@@ -58929,7 +58932,7 @@ class LC extends Me {
|
|
|
58929
58932
|
const n = (w = s.parent) == null ? void 0 : w.parent, { ts: i, bBox: o, content: l } = s;
|
|
58930
58933
|
if (n == null || i == null || l === "\r")
|
|
58931
58934
|
return;
|
|
58932
|
-
const { asc: u, dsc: d } = n, { sp: c, spo: g, sbo: h, bd: p } = o, f =
|
|
58935
|
+
const { asc: u, dsc: d } = n, { sp: c, spo: g, sbo: h, bd: p } = o, f = E7(a), m = 0.5, { ul: v, st: y, ol: z, va: _, bbl: j } = i;
|
|
58933
58936
|
if (v) {
|
|
58934
58937
|
const x = u + d;
|
|
58935
58938
|
this._drawLine(e, s, v, x, f);
|
|
@@ -58989,7 +58992,7 @@ const G2 = {
|
|
|
58989
58992
|
rgb: "#dee0e3"
|
|
58990
58993
|
}
|
|
58991
58994
|
};
|
|
58992
|
-
class v0 extends
|
|
58995
|
+
class v0 extends y8 {
|
|
58993
58996
|
constructor(e, a, s) {
|
|
58994
58997
|
super(e, a, s);
|
|
58995
58998
|
k(this, "_pageRender$", new P1());
|
|
@@ -59136,7 +59139,7 @@ class v0 extends b8 {
|
|
|
59136
59139
|
fixOffsetX: s2,
|
|
59137
59140
|
fixOffsetY: n2,
|
|
59138
59141
|
rotateTranslateY: s3
|
|
59139
|
-
} =
|
|
59142
|
+
} = R7(H1, R2, i1);
|
|
59140
59143
|
let U2 = L1;
|
|
59141
59144
|
M1 > this.height && H !== T1.WRAP && (H === T1.OVERFLOW || i1 > 0) && (U2 = this.height / Math.tan(Math.abs(i1)));
|
|
59142
59145
|
const E3 = this._horizontalHandler(
|
|
@@ -59192,7 +59195,7 @@ class v0 extends b8 {
|
|
|
59192
59195
|
a1,
|
|
59193
59196
|
i1,
|
|
59194
59197
|
q1
|
|
59195
|
-
),
|
|
59198
|
+
), B8 = f2(
|
|
59196
59199
|
Z3.addByPoint(
|
|
59197
59200
|
x2 + E3 + n3,
|
|
59198
59201
|
X3
|
|
@@ -59201,16 +59204,16 @@ class v0 extends b8 {
|
|
|
59201
59204
|
a1,
|
|
59202
59205
|
i1,
|
|
59203
59206
|
q1
|
|
59204
|
-
),
|
|
59207
|
+
), A8 = {
|
|
59205
59208
|
originTranslate: Z3,
|
|
59206
59209
|
spanStartPoint: Oe,
|
|
59207
|
-
spanPointWithFont:
|
|
59210
|
+
spanPointWithFont: B8,
|
|
59208
59211
|
centerPoint: E0,
|
|
59209
59212
|
alignOffset: q1,
|
|
59210
59213
|
renderConfig: L
|
|
59211
59214
|
};
|
|
59212
59215
|
for (const f6 of c)
|
|
59213
|
-
f6.extensionOffset =
|
|
59216
|
+
f6.extensionOffset = A8, f6.draw(e, l, o2, [], {
|
|
59214
59217
|
viewBound: a == null ? void 0 : a.viewBound
|
|
59215
59218
|
});
|
|
59216
59219
|
}
|
|
@@ -59529,7 +59532,7 @@ class v0 extends b8 {
|
|
|
59529
59532
|
}
|
|
59530
59533
|
}
|
|
59531
59534
|
const PC = "__SHEET_EXTENSION_FONT_DOCUMENT_INSTANCE__";
|
|
59532
|
-
class GB extends
|
|
59535
|
+
class GB extends $7 {
|
|
59533
59536
|
constructor(e, a, s = !0) {
|
|
59534
59537
|
super(e, a);
|
|
59535
59538
|
k(this, "_backgroundExtension");
|
|
@@ -59898,7 +59901,7 @@ function HC(r, t, e) {
|
|
|
59898
59901
|
r.save(), r.translate(a, s), r.rotate(Math.PI / 180 * l), r.drawImage(e, 0, 0, p, f), r.restore();
|
|
59899
59902
|
r.restore();
|
|
59900
59903
|
}
|
|
59901
|
-
class
|
|
59904
|
+
class j8 extends D2 {
|
|
59902
59905
|
constructor(e, a = [], s = 1, n = !1) {
|
|
59903
59906
|
super();
|
|
59904
59907
|
k(this, "_objects", []);
|
|
@@ -60007,7 +60010,7 @@ class D8 extends D2 {
|
|
|
60007
60010
|
return a.classType === V.SCENE_VIEWER && a.makeDirty(!0), this;
|
|
60008
60011
|
}
|
|
60009
60012
|
makeDirtyWithDebounce(e = !0) {
|
|
60010
|
-
this._debounceDirtyFunc && this._debounceDirtyFunc(), this._debounceDirtyFunc =
|
|
60013
|
+
this._debounceDirtyFunc && this._debounceDirtyFunc(), this._debounceDirtyFunc = h7(() => {
|
|
60011
60014
|
this.makeDirty(e), this._debounceDirtyFunc = null;
|
|
60012
60015
|
});
|
|
60013
60016
|
}
|
|
@@ -60073,7 +60076,7 @@ class D8 extends D2 {
|
|
|
60073
60076
|
}), this.clear(), (a = this._debounceDirtyFunc) == null || a.call(this), this._debounceDirtyFunc = null, (s = this._cacheCanvas) == null || s.dispose(), this._cacheCanvas = null;
|
|
60074
60077
|
}
|
|
60075
60078
|
}
|
|
60076
|
-
class WB extends
|
|
60079
|
+
class WB extends j8 {
|
|
60077
60080
|
constructor() {
|
|
60078
60081
|
super(...arguments);
|
|
60079
60082
|
k(this, "_config");
|
|
@@ -60320,14 +60323,14 @@ class VB extends qC {
|
|
|
60320
60323
|
}
|
|
60321
60324
|
}
|
|
60322
60325
|
const WC = "rgba(198, 198, 198, 1)", YC = "rgba(255, 255, 255, 1)", XC = "rgba(158, 158, 158, 1)";
|
|
60323
|
-
class
|
|
60326
|
+
class w8 extends y8 {
|
|
60324
60327
|
constructor(e, a, s) {
|
|
60325
60328
|
super(e, a, s);
|
|
60326
60329
|
k(this, "_drawLiquid");
|
|
60327
60330
|
this._drawLiquid = new J4(), this.makeDirty(!0);
|
|
60328
60331
|
}
|
|
60329
60332
|
static create(e, a, s) {
|
|
60330
|
-
return new
|
|
60333
|
+
return new w8(e, a, s);
|
|
60331
60334
|
}
|
|
60332
60335
|
draw(e, a) {
|
|
60333
60336
|
var d, c;
|
|
@@ -60450,18 +60453,18 @@ const VC = Math.min, KC = Math.max, G0 = Math.floor;
|
|
|
60450
60453
|
function p6() {
|
|
60451
60454
|
return typeof window < "u";
|
|
60452
60455
|
}
|
|
60453
|
-
function
|
|
60454
|
-
return
|
|
60456
|
+
function x8(r) {
|
|
60457
|
+
return E8(r) ? (r.nodeName || "").toLowerCase() : "#document";
|
|
60455
60458
|
}
|
|
60456
60459
|
function C0(r) {
|
|
60457
60460
|
var t;
|
|
60458
60461
|
return (r == null || (t = r.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
60459
60462
|
}
|
|
60460
|
-
function
|
|
60463
|
+
function C8(r) {
|
|
60461
60464
|
var t;
|
|
60462
|
-
return (t = (
|
|
60465
|
+
return (t = (E8(r) ? r.ownerDocument : r.document) || window.document) == null ? void 0 : t.documentElement;
|
|
60463
60466
|
}
|
|
60464
|
-
function
|
|
60467
|
+
function E8(r) {
|
|
60465
60468
|
return p6() ? r instanceof Node || r instanceof C0(r).Node : !1;
|
|
60466
60469
|
}
|
|
60467
60470
|
function ZC(r) {
|
|
@@ -60471,7 +60474,7 @@ function r7(r) {
|
|
|
60471
60474
|
return !p6() || typeof ShadowRoot > "u" ? !1 : r instanceof ShadowRoot || r instanceof C0(r).ShadowRoot;
|
|
60472
60475
|
}
|
|
60473
60476
|
const JC = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
60474
|
-
function
|
|
60477
|
+
function F8(r) {
|
|
60475
60478
|
const {
|
|
60476
60479
|
overflow: t,
|
|
60477
60480
|
overflowX: e,
|
|
@@ -60482,34 +60485,34 @@ function E8(r) {
|
|
|
60482
60485
|
}
|
|
60483
60486
|
const QC = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
60484
60487
|
function eE(r) {
|
|
60485
|
-
return QC.has(
|
|
60488
|
+
return QC.has(x8(r));
|
|
60486
60489
|
}
|
|
60487
60490
|
function tE(r) {
|
|
60488
60491
|
return C0(r).getComputedStyle(r);
|
|
60489
60492
|
}
|
|
60490
60493
|
function aE(r) {
|
|
60491
|
-
if (
|
|
60494
|
+
if (x8(r) === "html")
|
|
60492
60495
|
return r;
|
|
60493
60496
|
const t = (
|
|
60494
60497
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
60495
60498
|
r.assignedSlot || // DOM Element detected.
|
|
60496
60499
|
r.parentNode || // ShadowRoot detected.
|
|
60497
60500
|
r7(r) && r.host || // Fallback.
|
|
60498
|
-
|
|
60501
|
+
C8(r)
|
|
60499
60502
|
);
|
|
60500
60503
|
return r7(t) ? t.host : t;
|
|
60501
60504
|
}
|
|
60502
|
-
function
|
|
60505
|
+
function S8(r) {
|
|
60503
60506
|
const t = aE(r);
|
|
60504
|
-
return eE(t) ? r.ownerDocument ? r.ownerDocument.body : r.body : ZC(t) &&
|
|
60507
|
+
return eE(t) ? r.ownerDocument ? r.ownerDocument.body : r.body : ZC(t) && F8(t) ? t : S8(t);
|
|
60505
60508
|
}
|
|
60506
60509
|
function O4(r, t, e) {
|
|
60507
60510
|
var a;
|
|
60508
60511
|
t === void 0 && (t = []), e === void 0 && (e = !0);
|
|
60509
|
-
const s =
|
|
60512
|
+
const s = S8(r), n = s === ((a = r.ownerDocument) == null ? void 0 : a.body), i = C0(s);
|
|
60510
60513
|
if (n) {
|
|
60511
60514
|
const o = rE(i);
|
|
60512
|
-
return t.concat(i, i.visualViewport || [],
|
|
60515
|
+
return t.concat(i, i.visualViewport || [], F8(s) ? s : [], o && e ? O4(o) : []);
|
|
60513
60516
|
}
|
|
60514
60517
|
return t.concat(s, O4(s, [], e));
|
|
60515
60518
|
}
|
|
@@ -60517,14 +60520,14 @@ function rE(r) {
|
|
|
60517
60520
|
return r.parent && Object.getPrototypeOf(r.parent) ? r.frameElement : null;
|
|
60518
60521
|
}
|
|
60519
60522
|
function sE(r) {
|
|
60520
|
-
return new
|
|
60523
|
+
return new p7((t) => {
|
|
60521
60524
|
const e = iE(r, () => t.next());
|
|
60522
60525
|
return () => e();
|
|
60523
60526
|
});
|
|
60524
60527
|
}
|
|
60525
60528
|
function nE(r, t) {
|
|
60526
60529
|
let e = null, a;
|
|
60527
|
-
const s =
|
|
60530
|
+
const s = C8(r);
|
|
60528
60531
|
function n() {
|
|
60529
60532
|
clearTimeout(a), e == null || e.disconnect(), e = null;
|
|
60530
60533
|
}
|
|
@@ -60582,7 +60585,7 @@ var oE = Object.getOwnPropertyDescriptor, lE = (r, t, e, a) => {
|
|
|
60582
60585
|
(i = r[n]) && (s = i(s) || s);
|
|
60583
60586
|
return s;
|
|
60584
60587
|
}, uE = (r, t) => (e, a) => t(e, a, r);
|
|
60585
|
-
const
|
|
60588
|
+
const T8 = $4("univer.engine-render.canvas-color.service");
|
|
60586
60589
|
class ZB {
|
|
60587
60590
|
getRenderColor(t) {
|
|
60588
60591
|
return t;
|
|
@@ -60629,7 +60632,7 @@ let I4 = class extends D2 {
|
|
|
60629
60632
|
}
|
|
60630
60633
|
};
|
|
60631
60634
|
I4 = lE([
|
|
60632
|
-
uE(0, b3(
|
|
60635
|
+
uE(0, b3(k7))
|
|
60633
60636
|
], I4);
|
|
60634
60637
|
function dE(r) {
|
|
60635
60638
|
const t = r.replace(/^#/, "");
|
|
@@ -60727,7 +60730,7 @@ let b0 = class extends D2 {
|
|
|
60727
60730
|
}), this._performanceMonitor = new Zv(), this._handleKeyboardAction(), this._handlePointerAction(), this._handleDragAction(), s.renderMode !== k4.Printing && this._matchMediaHandler();
|
|
60728
60731
|
}
|
|
60729
60732
|
get clientRect$() {
|
|
60730
|
-
return this._rect$ || (this._rect$ = new
|
|
60733
|
+
return this._rect$ || (this._rect$ = new p7((t) => {
|
|
60731
60734
|
if (!this._container)
|
|
60732
60735
|
throw new Error("[Engine]: cannot subscribe to rect changes when container is not set!");
|
|
60733
60736
|
const e = sE(this._container).subscribe(() => t.next());
|
|
@@ -61092,7 +61095,7 @@ let b0 = class extends D2 {
|
|
|
61092
61095
|
}
|
|
61093
61096
|
};
|
|
61094
61097
|
b0 = hE([
|
|
61095
|
-
kE(2,
|
|
61098
|
+
kE(2, T8)
|
|
61096
61099
|
], b0);
|
|
61097
61100
|
class s7 extends t3 {
|
|
61098
61101
|
constructor(e, ...a) {
|
|
@@ -61705,7 +61708,7 @@ class _E extends D2 {
|
|
|
61705
61708
|
this._updateControl();
|
|
61706
61709
|
}
|
|
61707
61710
|
debounceRefreshControls() {
|
|
61708
|
-
this._debounceClearFunc && this._debounceClearFunc(), this._debounceClearFunc =
|
|
61711
|
+
this._debounceClearFunc && this._debounceClearFunc(), this._debounceClearFunc = h7(() => {
|
|
61709
61712
|
this.refreshControls(), this._debounceClearFunc = null;
|
|
61710
61713
|
});
|
|
61711
61714
|
}
|
|
@@ -62198,7 +62201,7 @@ class _E extends D2 {
|
|
|
62198
62201
|
(this._startOffsetY - n) / l + this._viewportScrollY,
|
|
62199
62202
|
(this._startOffsetX - s) / o + this._viewportScrollX
|
|
62200
62203
|
);
|
|
62201
|
-
let c = i +
|
|
62204
|
+
let c = i + D7(u - d);
|
|
62202
62205
|
c < 0 && (c = 360 + c), c %= 360, c = this._smoothAccuracy(c), this._selectedObjectMap.forEach((g) => {
|
|
62203
62206
|
g.transformByState({ angle: c });
|
|
62204
62207
|
}), this._changing$.next({
|
|
@@ -62907,7 +62910,7 @@ class jE extends D2 {
|
|
|
62907
62910
|
for (const s of this._layers)
|
|
62908
62911
|
if (s.zIndex === e)
|
|
62909
62912
|
return s;
|
|
62910
|
-
const a = new
|
|
62913
|
+
const a = new j8(this, [], e);
|
|
62911
62914
|
return this.addLayer(a), a;
|
|
62912
62915
|
}
|
|
62913
62916
|
findLayerByZIndex(e = 1) {
|
|
@@ -63401,7 +63404,7 @@ let ze = class extends D2 {
|
|
|
63401
63404
|
super();
|
|
63402
63405
|
k(this, "isRenderUnit", !0);
|
|
63403
63406
|
k(this, "_activated$", new I3(!0));
|
|
63404
|
-
k(this, "activated$", this._activated$.pipe(
|
|
63407
|
+
k(this, "activated$", this._activated$.pipe(m7()));
|
|
63405
63408
|
k(this, "_injector");
|
|
63406
63409
|
k(this, "_renderContext");
|
|
63407
63410
|
this._injector = e.createChild(), this._renderContext = {
|
|
@@ -63672,7 +63675,7 @@ let P4 = class extends D2 {
|
|
|
63672
63675
|
P4 = FE([
|
|
63673
63676
|
l4(0, b3(we)),
|
|
63674
63677
|
l4(1, aa),
|
|
63675
|
-
l4(2, b3(
|
|
63678
|
+
l4(2, b3(k7))
|
|
63676
63679
|
], P4);
|
|
63677
63680
|
const BE = $4("engine-render.render-manager.service");
|
|
63678
63681
|
function AE(r) {
|
|
@@ -63725,7 +63728,7 @@ let o7 = (u4 = class extends sa {
|
|
|
63725
63728
|
onStarting() {
|
|
63726
63729
|
ia(this._injector, [
|
|
63727
63730
|
[RE],
|
|
63728
|
-
[
|
|
63731
|
+
[T8, { useClass: I4 }],
|
|
63729
63732
|
[LE, { useClass: b0 }],
|
|
63730
63733
|
[BE, { useClass: P4 }]
|
|
63731
63734
|
]);
|
|
@@ -66474,7 +66477,7 @@ const UE = [
|
|
|
66474
66477
|
ZhLatnPinyin: BT
|
|
66475
66478
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
66476
66479
|
export {
|
|
66477
|
-
|
|
66480
|
+
T7 as BASE_OBJECT_ARRAY,
|
|
66478
66481
|
EB as BG_Z_INDEX,
|
|
66479
66482
|
K as BORDER_TYPE,
|
|
66480
66483
|
CB as BORDER_Z_INDEX,
|
|
@@ -66490,9 +66493,9 @@ export {
|
|
|
66490
66493
|
I4 as CanvasColorService,
|
|
66491
66494
|
k4 as CanvasRenderMode,
|
|
66492
66495
|
m6 as CheckboxShape,
|
|
66493
|
-
|
|
66496
|
+
z8 as Circle,
|
|
66494
66497
|
pb as ColumnHeaderLayout,
|
|
66495
|
-
|
|
66498
|
+
L7 as ComponentExtension,
|
|
66496
66499
|
NB as Control,
|
|
66497
66500
|
yb as Custom,
|
|
66498
66501
|
KB as CustomObject,
|
|
@@ -66509,11 +66512,11 @@ export {
|
|
|
66509
66512
|
$T as DRAWING_OBJECT_LAYER_INDEX,
|
|
66510
66513
|
NT as DRAWING_OBJECT_LOWER_LAYER_INDEX,
|
|
66511
66514
|
UT as DRAWING_OBJECT_UPPER_LAYER_INDEX,
|
|
66512
|
-
|
|
66515
|
+
_8 as DashedRect,
|
|
66513
66516
|
P2 as DataStreamTreeNode,
|
|
66514
66517
|
Yv as DeviceInputEventType,
|
|
66515
66518
|
u2 as DeviceType,
|
|
66516
|
-
|
|
66519
|
+
w8 as DocBackground,
|
|
66517
66520
|
v4 as DocSimpleSkeleton,
|
|
66518
66521
|
u3 as DocumentEditArea,
|
|
66519
66522
|
v3 as DocumentSkeleton,
|
|
@@ -66534,7 +66537,7 @@ export {
|
|
|
66534
66537
|
J1 as GlyphType,
|
|
66535
66538
|
s7 as Group,
|
|
66536
66539
|
wB as HitCanvas,
|
|
66537
|
-
|
|
66540
|
+
T8 as ICanvasColorService,
|
|
66538
66541
|
Ne as INITIAL_MATRIX,
|
|
66539
66542
|
Xv as INITIAL_Path2,
|
|
66540
66543
|
BE as IRenderManagerService,
|
|
@@ -66543,7 +66546,7 @@ export {
|
|
|
66543
66546
|
UB as Image,
|
|
66544
66547
|
xv as IsSafari,
|
|
66545
66548
|
ga as LINK_VIEW_PORT_TYPE,
|
|
66546
|
-
|
|
66549
|
+
j8 as Layer,
|
|
66547
66550
|
P3 as LineType,
|
|
66548
66551
|
J4 as Liquid,
|
|
66549
66552
|
DE as MAIN_VIEW_PORT_KEY,
|
|
@@ -66571,14 +66574,14 @@ export {
|
|
|
66571
66574
|
J5 as RICHTEXT_OBJECT_ARRAY,
|
|
66572
66575
|
R1 as Rect,
|
|
66573
66576
|
O3 as RegularPolygon,
|
|
66574
|
-
|
|
66577
|
+
I7 as RenderComponent,
|
|
66575
66578
|
P4 as RenderManagerService,
|
|
66576
66579
|
ze as RenderUnit,
|
|
66577
66580
|
qB as RichText,
|
|
66578
66581
|
Jv as RollingAverage,
|
|
66579
66582
|
zC as RowHeaderLayout,
|
|
66580
66583
|
ay as SHAPE_OBJECT_ARRAY,
|
|
66581
|
-
|
|
66584
|
+
f7 as SHAPE_TYPE,
|
|
66582
66585
|
ib as SHEET_EXTENSION_PREFIX,
|
|
66583
66586
|
nb as SHEET_EXTENSION_TYPE,
|
|
66584
66587
|
c2 as SHEET_VIEWPORT_KEY,
|
|
@@ -66586,21 +66589,21 @@ export {
|
|
|
66586
66589
|
jE as Scene,
|
|
66587
66590
|
jB as SceneCanvas,
|
|
66588
66591
|
qC as SceneViewer,
|
|
66589
|
-
|
|
66592
|
+
D8 as ScrollBar,
|
|
66590
66593
|
ye as ScrollTimer,
|
|
66591
66594
|
pE as ScrollTimerType,
|
|
66592
66595
|
C3 as Shape,
|
|
66593
|
-
|
|
66594
|
-
|
|
66596
|
+
N7 as SheetColumnHeaderExtensionRegistry,
|
|
66597
|
+
$7 as SheetComponent,
|
|
66595
66598
|
x3 as SheetExtension,
|
|
66596
|
-
|
|
66599
|
+
P7 as SheetRowHeaderExtensionRegistry,
|
|
66597
66600
|
tb as ShowGridlinesState,
|
|
66598
66601
|
Pv as SkeletonType,
|
|
66599
66602
|
VB as Slide,
|
|
66600
66603
|
GB as Spreadsheet,
|
|
66601
66604
|
xB as SpreadsheetColumnHeader,
|
|
66602
66605
|
G3 as SpreadsheetExtensionRegistry,
|
|
66603
|
-
|
|
66606
|
+
U7 as SpreadsheetHeader,
|
|
66604
66607
|
PB as SpreadsheetRowHeader,
|
|
66605
66608
|
Z5 as SpreadsheetSkeleton,
|
|
66606
66609
|
ry as TEXT_OBJECT_ARRAY,
|
|
@@ -66612,7 +66615,7 @@ export {
|
|
|
66612
66615
|
eb as UniverPrintingContext,
|
|
66613
66616
|
o7 as UniverRenderEnginePlugin,
|
|
66614
66617
|
Qv as UniverRenderingContext,
|
|
66615
|
-
|
|
66618
|
+
O7 as UniverRenderingContext2D,
|
|
66616
66619
|
b2 as VERTICAL_ROTATE_ANGLE,
|
|
66617
66620
|
U as Vector2,
|
|
66618
66621
|
QB as Viewport,
|
|
@@ -66625,7 +66628,7 @@ export {
|
|
|
66625
66628
|
A3 as convertTextRotation,
|
|
66626
66629
|
IB as convertTransformToOffsetX,
|
|
66627
66630
|
LB as convertTransformToOffsetY,
|
|
66628
|
-
|
|
66631
|
+
_7 as createCanvasElement,
|
|
66629
66632
|
HT as createImageElement,
|
|
66630
66633
|
Z1 as degToRad,
|
|
66631
66634
|
$v as drawDiagonalLineByBorderType,
|
|
@@ -66640,23 +66643,23 @@ export {
|
|
|
66640
66643
|
B0 as getCurrentScrollXY,
|
|
66641
66644
|
ME as getCurrentTypeOfRenderer,
|
|
66642
66645
|
Ee as getDPI,
|
|
66643
|
-
|
|
66646
|
+
B7 as getDevicePixelRatio,
|
|
66644
66647
|
r0 as getDocsSkeletonPageSize,
|
|
66645
66648
|
d3 as getFontStyleString,
|
|
66646
66649
|
Gv as getGroupState,
|
|
66647
66650
|
RB as getLastColumn,
|
|
66648
66651
|
qy as getLastLine,
|
|
66649
66652
|
Uv as getLineOffset,
|
|
66650
|
-
|
|
66653
|
+
M7 as getLineWidth,
|
|
66651
66654
|
Hv as getLineWith,
|
|
66652
66655
|
R3 as getNumberUnitValue,
|
|
66653
66656
|
DB as getOffsetRectForDom,
|
|
66654
66657
|
oz as getPageFromPath,
|
|
66655
66658
|
Nv as getParagraphByGlyph,
|
|
66656
66659
|
F6 as getPointerPrefix,
|
|
66657
|
-
|
|
66660
|
+
R7 as getRotateOffsetAndFarthestHypotenuse,
|
|
66658
66661
|
qv as getRotateOrientation,
|
|
66659
|
-
|
|
66662
|
+
E7 as getScale,
|
|
66660
66663
|
Iv as getSizeForDom,
|
|
66661
66664
|
cB as getSystemHighlightColor,
|
|
66662
66665
|
MB as getTableIdAndSliceIndex,
|
|
@@ -66664,7 +66667,7 @@ export {
|
|
|
66664
66667
|
j3 as getValueType,
|
|
66665
66668
|
OB as glyphIterator,
|
|
66666
66669
|
VT as hasAllLatin,
|
|
66667
|
-
|
|
66670
|
+
j7 as hasArabic,
|
|
66668
66671
|
KT as hasBasicLatin,
|
|
66669
66672
|
Ce as hasCJK,
|
|
66670
66673
|
T6 as hasCJKPunctuation,
|
|
@@ -66674,12 +66677,12 @@ export {
|
|
|
66674
66677
|
ZT as hasLatinOneSupplement,
|
|
66675
66678
|
hB as hasListGlyph,
|
|
66676
66679
|
Av as hasSpace,
|
|
66677
|
-
|
|
66680
|
+
w7 as hasTibetan,
|
|
66678
66681
|
nB as hasUnMergedCellInRow,
|
|
66679
|
-
|
|
66682
|
+
S7 as inViewRanges,
|
|
66680
66683
|
lB as injectStyle,
|
|
66681
66684
|
WT as isArray,
|
|
66682
|
-
|
|
66685
|
+
x7 as isCjkCenterAlignedPunctuation,
|
|
66683
66686
|
q4 as isCjkLeftAlignedPunctuation,
|
|
66684
66687
|
G4 as isCjkRightAlignedPunctuation,
|
|
66685
66688
|
qT as isDate,
|
|
@@ -66705,13 +66708,13 @@ export {
|
|
|
66705
66708
|
rB as pxToInch,
|
|
66706
66709
|
T3 as pxToNum,
|
|
66707
66710
|
tB as pxToPt,
|
|
66708
|
-
|
|
66711
|
+
D7 as radToDeg,
|
|
66709
66712
|
HC as renderImageWatermark,
|
|
66710
66713
|
UC as renderTextWatermark,
|
|
66711
66714
|
$C as renderUserInfoWatermark,
|
|
66712
66715
|
NC as renderWatermark,
|
|
66713
66716
|
ae as requestNewFrame,
|
|
66714
|
-
|
|
66717
|
+
A7 as setLineType,
|
|
66715
66718
|
rb as sheetContentViewportKeys,
|
|
66716
66719
|
sb as sheetHeaderViewportKeys,
|
|
66717
66720
|
h4 as startWithEmoji,
|