@mlightcad/cad-simple-viewer 1.7.8-preview.2 → 1.7.8-preview.4
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/dist/cad-simple-viewer.js +539 -459
- package/dist/cad-simple-viewer.umd.cjs +10 -10
- package/lib/i18n/ar/jig.d.ts +16 -0
- package/lib/i18n/ar/jig.d.ts.map +1 -1
- package/lib/i18n/ar/jig.js +13 -1
- package/lib/i18n/ar/jig.js.map +1 -1
- package/lib/i18n/cs/jig.d.ts +16 -0
- package/lib/i18n/cs/jig.d.ts.map +1 -1
- package/lib/i18n/cs/jig.js +16 -0
- package/lib/i18n/cs/jig.js.map +1 -1
- package/lib/i18n/en/jig.d.ts +16 -0
- package/lib/i18n/en/jig.d.ts.map +1 -1
- package/lib/i18n/en/jig.js +16 -0
- package/lib/i18n/en/jig.js.map +1 -1
- package/lib/i18n/tr/jig.d.ts +16 -0
- package/lib/i18n/tr/jig.d.ts.map +1 -1
- package/lib/i18n/tr/jig.js +16 -0
- package/lib/i18n/tr/jig.js.map +1 -1
- package/lib/i18n/zh/jig.d.ts +16 -0
- package/lib/i18n/zh/jig.d.ts.map +1 -1
- package/lib/i18n/zh/jig.js +16 -0
- package/lib/i18n/zh/jig.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var wy = Object.defineProperty;
|
|
2
2
|
var vy = (s, e, t) => e in s ? wy(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
3
|
var z = (s, e, t) => vy(s, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import { AcGeBox2d as ce, AcGeMathUtil as Mt, AcDbLinearUnits as Qa, AcDbAngleUnits as ra, AcCmColor as De, AcCmColorUtil as xy, AcDbSysVarManager as ne, AcDbSystemVariables as X, ACGI_MODEL_SPACE_BACKGROUND as Qs, AcCmColorMethod as Yi, acgiIsLightBackground as hc, ACGI_PAPER_SPACE_BACKGROUND as ky, acgiContrastingForegroundColor as Sy, accmYieldForPaint as er, AcDbLayerTableRecord as el, log as te, acdbOsnapModesToMask as _y, AcDbOsnapMode as he, AcCmEventManager as fe, AcGeMatrix3d as Pe, AcDbBlockReference as st, AcDbCircle as It, AcDbArc as ni, AcDbEllipse as Nr, AcDbPolyline as Se, AcDb2dPolyline as up, AcGePoint3d as A, AcGeCircArc2d as we, acdbMaskToOsnapModes as Pd, AcDbEntity as Cy, acdbHostApplicationServices as
|
|
4
|
+
import { AcGeBox2d as ce, AcGeMathUtil as Mt, AcDbLinearUnits as Qa, AcDbAngleUnits as ra, AcCmColor as De, AcCmColorUtil as xy, AcDbSysVarManager as ne, AcDbSystemVariables as X, ACGI_MODEL_SPACE_BACKGROUND as Qs, AcCmColorMethod as Yi, acgiIsLightBackground as hc, ACGI_PAPER_SPACE_BACKGROUND as ky, acgiContrastingForegroundColor as Sy, accmYieldForPaint as er, AcDbLayerTableRecord as el, log as te, acdbOsnapModesToMask as _y, AcDbOsnapMode as he, AcCmEventManager as fe, AcGeMatrix3d as Pe, AcDbBlockReference as st, AcDbCircle as It, AcDbArc as ni, AcDbEllipse as Nr, AcDbPolyline as Se, AcDb2dPolyline as up, AcGePoint3d as A, AcGeCircArc2d as we, acdbMaskToOsnapModes as Pd, AcDbEntity as Cy, acdbHostApplicationServices as Fe, AcGeGeometryUtil as rs, acdbHasOsnapMode as Ld, AcGeBox3d as In, AcDbLine as si, AcGeVector3d as Py, AcGePoint2d as G, AcDbDxfCode as _i, FLOAT_TOL as Ed, AcDbViewport as Mi, acdbPreviewIconToDataUrl as Ly, AcDbRenderingCache as Ii, AcGeVector2d as pc, AcDbDimStyleTableRecord as Ey, AcDbDataGenerator as My, AcDbAlignedDimension as eo, AcDbRotatedDimension as Fs, AcDb3PointAngularDimension as Rs, AcDbArcDimension as hp, acdbDimFeatureScale as Ay, AcDbDiametricDimension as pp, AcDbOrdinateDimension as mp, AcDbRadialDimension as fp, TAU as ii, AcGeTol as J, AcDbHatchStyle as Ci, HATCH_PATTERN_SOLID as aa, AcDbDatabase as js, AcGeLine2d as Md, AcGeLoop2d as Iy, AcDbHatch as Ty, AcDbHatchPatternType as Oy, AcDbRasterImageDef as Dy, AcDbRasterImage as mc, AcDbMLineJustification as Sn, AcDbMLine as yp, DEFAULT_TOL as fc, AcDbMText as tl, AcDbPoint as Ny, AcDbRay as yc, AcDbSpline as _n, AcDbFileType as jn, AcDbCurve as zy, AcCmPerformanceCollector as gp, acdbEstimateDatabaseMemory as By, acdbListAnnotationScales as Fy, acdbRemoveAnnotationScaleFromObject as Ry, acdbAddAnnotationScaleToObject as jy, acdbGetAnnotationScaleContexts as Vy, AcDbOpenDatabaseError as bp, AcDbBlockTableRecord as il, AcDbBlockTableRecordFlag as la, acgiForegroundColorForBackground as Hy, AcDbText as Ad, AcDbAttribute as Id, AcGiMTextAttachmentPoint as Wy, AcCmUiYieldGate as Gy, AcDbXline as $y, AcDbLayout as Uy } from "@mlightcad/data-model";
|
|
5
5
|
import { ACGI_DARK_THEME_FOREGROUND as kT, ACGI_LIGHT_THEME_FOREGROUND as ST, ACGI_MODEL_SPACE_BACKGROUND as _T, ACGI_PAPER_SPACE_BACKGROUND as CT, acgiContrastingForegroundColor as PT, acgiForegroundColorForBackground as LT, acgiIsLightBackground as ET } from "@mlightcad/data-model";
|
|
6
|
-
import { syncStyleMaterialIdFromMaterials as Td, getSceneDrawableUserData as Od, getMaterialMetadata as Dd, hasByLayerBinding as Ky, setMaterialMetadata as Yy, AcTrBatchedGroup as Zy, AcTrMTextRenderer as be, AcTrEntityPreview as wp, disposePreviewSubset as vp, AcTrGroup as Yt, AcTrTransientManager as Nd, AcTrHtmlTransientManager as zd, AcTrPreviewOverlayManager as
|
|
6
|
+
import { syncStyleMaterialIdFromMaterials as Td, getSceneDrawableUserData as Od, getMaterialMetadata as Dd, hasByLayerBinding as Ky, setMaterialMetadata as Yy, AcTrBatchedGroup as Zy, AcTrMTextRenderer as be, AcTrEntityPreview as wp, disposePreviewSubset as vp, AcTrGroup as Yt, AcTrTransientManager as Nd, AcTrHtmlTransientManager as zd, AcTrPreviewOverlayManager as Bd, injectMlGripHandleCss as Xy, AcTrViewportView as vn, AcTrHtmlGroup as xp, AcTrHtmlCanvasOverlay as Ut, AcTrHtmlDot as gc, AcTrHtmlCallout as zr, AcTrHtmlGrip as Re, AcTrHtmlStamp as qy, AcTrHtmlBadge as lt, AcTrHtmlSnapIndicator as kp, AcTrFontLoader as Jy, AcTrBaseView as Qy, AcTrOverlayViewport as eg, acTrWcsBoxToCssRect as tg, acTrIntersectCssRects as ig, acTrCssRectToWcsBox as ng, AcTrRenderer as sg, setAcTrDrawOrderZAllocator as og, AcTrMatrixUtil as Fd, hasPendingComplexLineTypeGlyphs as ca, AcTrGlyphEntity as dn, AcTrMText as rg, AcTrShape as ag, AcTrEntity as Rd, tryBuildDirectEntityMeta as lg, shouldExtendBboxForDirectEntity as cg } from "@mlightcad/three-renderer";
|
|
7
7
|
import { isDirectBatchCandidate as AT, shouldExtendBboxForDirectEntity as IT, tryBuildDirectEntityMeta as TT } from "@mlightcad/three-renderer";
|
|
8
8
|
import * as R from "three";
|
|
9
9
|
import { getColorByIndex as Sp, MTextAttachmentPoint as ie, MTextFlowDirection as _p, UnifiedRenderer as dg, MText as ug, resolveMTextWrapWidth as jd, estimateMTextWrapWidth as hg, LINE_SPACING_SCALE_FACTOR as pg, FontManager as xe, TextRenderProfiler as as, ShxParserFont as mg } from "@mlightcad/mtext-renderer";
|
|
10
10
|
import { ShxParserFont as DT } from "@mlightcad/mtext-renderer";
|
|
11
11
|
import fg from "three/examples/jsm/libs/stats.module";
|
|
12
12
|
import { CSS2DRenderer as yg } from "three/examples/jsm/renderers/CSS2DRenderer.js";
|
|
13
|
-
import { MTextParagraphAlignment as bt, MTextContext as to, rgb2int as gg, MTextLineAlignment as tt, MTextParser as bg, TokenType as Pi, MTextColor as
|
|
14
|
-
import { MTextParagraphAlignment as zT, MTextColor as
|
|
13
|
+
import { MTextParagraphAlignment as bt, MTextContext as to, rgb2int as gg, MTextLineAlignment as tt, MTextParser as bg, TokenType as Pi, MTextColor as Br } from "@mlightcad/mtext-parser";
|
|
14
|
+
import { MTextParagraphAlignment as zT, MTextColor as BT, MTextParagraphAlignment as FT } from "@mlightcad/mtext-parser";
|
|
15
15
|
import { Line2 as wg } from "three/examples/jsm/lines/Line2.js";
|
|
16
16
|
import { LineGeometry as vg } from "three/examples/jsm/lines/LineGeometry.js";
|
|
17
17
|
import { LineMaterial as xg } from "three/examples/jsm/lines/LineMaterial.js";
|
|
@@ -300,7 +300,7 @@ function Op(s) {
|
|
|
300
300
|
function tr(s) {
|
|
301
301
|
return (s.type === "cloud" || s.type === "rect" || s.type === "circle") && s.callout == null;
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function Bg(s) {
|
|
304
304
|
return s.type === "circle" ? {
|
|
305
305
|
kind: "circle",
|
|
306
306
|
center: s.center,
|
|
@@ -375,7 +375,7 @@ function Np(s, e, t, i) {
|
|
|
375
375
|
}
|
|
376
376
|
const Vs = /* @__PURE__ */ new Map();
|
|
377
377
|
let Hs, Go, ua;
|
|
378
|
-
function
|
|
378
|
+
function Fg(s) {
|
|
379
379
|
Go = s;
|
|
380
380
|
}
|
|
381
381
|
function zp(s) {
|
|
@@ -386,7 +386,7 @@ function zp(s) {
|
|
|
386
386
|
let e = Vs.get(s);
|
|
387
387
|
return e || (e = Go(), Vs.set(s, e)), e;
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function Fr() {
|
|
390
390
|
return zp(Hs);
|
|
391
391
|
}
|
|
392
392
|
function mo(s) {
|
|
@@ -558,7 +558,7 @@ class Rg {
|
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
560
|
function ee() {
|
|
561
|
-
return
|
|
561
|
+
return Fr().store;
|
|
562
562
|
}
|
|
563
563
|
function jg(s, e) {
|
|
564
564
|
return (s.type === "cloud" || s.type === "rect" || s.type === "circle") && s.callout ? {
|
|
@@ -572,12 +572,12 @@ const Vg = [
|
|
|
572
572
|
"answered",
|
|
573
573
|
"closed"
|
|
574
574
|
], Hg = 0.5, Wg = 0.55;
|
|
575
|
-
function
|
|
575
|
+
function Bp(s, e, t) {
|
|
576
576
|
const i = Math.hypot(e.x - s.x, e.y - s.y), n = Math.hypot(t.x - s.x, t.y - s.y);
|
|
577
577
|
return Math.min(i, n) * Hg;
|
|
578
578
|
}
|
|
579
579
|
const Gg = 1;
|
|
580
|
-
function
|
|
580
|
+
function Fp(s) {
|
|
581
581
|
const e = new ce();
|
|
582
582
|
switch (s.type) {
|
|
583
583
|
case "distance":
|
|
@@ -614,7 +614,7 @@ function $g(s) {
|
|
|
614
614
|
s.expandByPoint({ x: s.min.x - i, y: s.min.y - i }), s.expandByPoint({ x: s.max.x + i, y: s.max.y + i });
|
|
615
615
|
}
|
|
616
616
|
function Ug(s, e, t) {
|
|
617
|
-
const i =
|
|
617
|
+
const i = Fp(s), n = i ? new ce(i.min, i.max) : new ce();
|
|
618
618
|
for (const o of e)
|
|
619
619
|
o.right <= o.left && o.bottom <= o.top || (n.expandByPoint(t(o.left, o.top)), n.expandByPoint(t(o.right, o.bottom)));
|
|
620
620
|
if (!n.isEmpty())
|
|
@@ -644,7 +644,7 @@ function Rp(s, e, t, i) {
|
|
|
644
644
|
r.y
|
|
645
645
|
) <= i)
|
|
646
646
|
return !0;
|
|
647
|
-
const a = Math.atan2(o.y - n.y, o.x - n.x), l = Math.atan2(r.y - n.y, r.x - n.x), c = Mt.normalizeAngle(l - a) > Math.PI, d = t({ x: 0, y: 0 }), u = t({ x: 1, y: 0 }), p = Math.hypot(u.x - d.x, u.y - d.y), m =
|
|
647
|
+
const a = Math.atan2(o.y - n.y, o.x - n.x), l = Math.atan2(r.y - n.y, r.x - n.x), c = Mt.normalizeAngle(l - a) > Math.PI, d = t({ x: 0, y: 0 }), u = t({ x: 1, y: 0 }), p = Math.hypot(u.x - d.x, u.y - d.y), m = Bp(
|
|
648
648
|
s.vertex,
|
|
649
649
|
s.arm1,
|
|
650
650
|
s.arm2
|
|
@@ -1330,10 +1330,10 @@ class mb {
|
|
|
1330
1330
|
}
|
|
1331
1331
|
}
|
|
1332
1332
|
function gt() {
|
|
1333
|
-
return
|
|
1333
|
+
return Fr().history;
|
|
1334
1334
|
}
|
|
1335
1335
|
function zi() {
|
|
1336
|
-
return
|
|
1336
|
+
return Fr().sessionUndo;
|
|
1337
1337
|
}
|
|
1338
1338
|
function ot(s, e, t) {
|
|
1339
1339
|
gt().run(s, e, t);
|
|
@@ -1514,7 +1514,7 @@ const wb = [
|
|
|
1514
1514
|
function so(s) {
|
|
1515
1515
|
return typeof s == "object" && s !== null && !Array.isArray(s);
|
|
1516
1516
|
}
|
|
1517
|
-
function
|
|
1517
|
+
function Bt(s) {
|
|
1518
1518
|
return so(s) && typeof s.x == "number" && typeof s.y == "number" && Number.isFinite(s.x) && Number.isFinite(s.y);
|
|
1519
1519
|
}
|
|
1520
1520
|
function vb(s) {
|
|
@@ -1538,22 +1538,22 @@ function kb(s, e) {
|
|
|
1538
1538
|
if (!(!so(e) || e.type !== s))
|
|
1539
1539
|
switch (s) {
|
|
1540
1540
|
case "distance":
|
|
1541
|
-
return !
|
|
1541
|
+
return !Bt(e.start) || !Bt(e.end) ? void 0 : { type: s, start: e.start, end: e.end };
|
|
1542
1542
|
case "angle":
|
|
1543
|
-
return !
|
|
1543
|
+
return !Bt(e.vertex) || !Bt(e.arm1) || !Bt(e.arm2) ? void 0 : { type: s, vertex: e.vertex, arm1: e.arm1, arm2: e.arm2 };
|
|
1544
1544
|
case "area":
|
|
1545
|
-
return !Array.isArray(e.points) || e.points.length < 3 || !e.points.every(
|
|
1545
|
+
return !Array.isArray(e.points) || e.points.length < 3 || !e.points.every(Bt) ? void 0 : { type: s, points: e.points };
|
|
1546
1546
|
case "arc":
|
|
1547
|
-
return !
|
|
1547
|
+
return !Bt(e.center) || typeof e.radius != "number" || !(e.radius > 0) || !Bt(e.start) || !Bt(e.end) ? void 0 : {
|
|
1548
1548
|
type: s,
|
|
1549
1549
|
center: e.center,
|
|
1550
1550
|
radius: e.radius,
|
|
1551
1551
|
start: e.start,
|
|
1552
1552
|
end: e.end,
|
|
1553
|
-
...
|
|
1553
|
+
...Bt(e.through) ? { through: e.through } : {}
|
|
1554
1554
|
};
|
|
1555
1555
|
case "point":
|
|
1556
|
-
return
|
|
1556
|
+
return Bt(e.position) ? { type: s, position: e.position } : void 0;
|
|
1557
1557
|
}
|
|
1558
1558
|
}
|
|
1559
1559
|
function Sb(s) {
|
|
@@ -1869,7 +1869,7 @@ function Qi(s) {
|
|
|
1869
1869
|
const e = (t = Ot.get(s)) == null ? void 0 : t.snapshot;
|
|
1870
1870
|
return e ? { ...e, geometry: e.geometry } : void 0;
|
|
1871
1871
|
}
|
|
1872
|
-
function
|
|
1872
|
+
function Bb(s, e, t, i) {
|
|
1873
1873
|
if (!oo) return;
|
|
1874
1874
|
const n = { x: e, y: t }, o = (a) => s.worldToScreen(a), r = s.htmlTransientManager.groupsOnLayer(oe);
|
|
1875
1875
|
for (let a = r.length - 1; a >= 0; a--) {
|
|
@@ -1883,7 +1883,7 @@ function Fb(s, e, t, i) {
|
|
|
1883
1883
|
function On(s, e) {
|
|
1884
1884
|
return s.minX >= e.minX && s.maxX <= e.maxX && s.minY >= e.minY && s.maxY <= e.maxY;
|
|
1885
1885
|
}
|
|
1886
|
-
function
|
|
1886
|
+
function Fb(s) {
|
|
1887
1887
|
var e;
|
|
1888
1888
|
return 80 + (((e = s.id) == null ? void 0 : e.length) ?? 0) * 2;
|
|
1889
1889
|
}
|
|
@@ -1893,7 +1893,7 @@ function am(s, e = 32) {
|
|
|
1893
1893
|
const i = Math.min(t, e);
|
|
1894
1894
|
let n = 0;
|
|
1895
1895
|
for (let o = 0; o < i; o++)
|
|
1896
|
-
n +=
|
|
1896
|
+
n += Fb(s[o]);
|
|
1897
1897
|
return Math.round(n / i * t);
|
|
1898
1898
|
}
|
|
1899
1899
|
const Rb = 10;
|
|
@@ -1953,7 +1953,7 @@ function Wb(s, e, t) {
|
|
|
1953
1953
|
if (!r.visible || r.layoutId != null && r.layoutId !== n) continue;
|
|
1954
1954
|
const a = rm(r.id);
|
|
1955
1955
|
if (!a) continue;
|
|
1956
|
-
const l =
|
|
1956
|
+
const l = Fp(a);
|
|
1957
1957
|
l && iu(l, i, t) && o.push(r.id);
|
|
1958
1958
|
}
|
|
1959
1959
|
return o;
|
|
@@ -1986,7 +1986,7 @@ function Ub(s, e, t, i) {
|
|
|
1986
1986
|
const n = Math.max(
|
|
1987
1987
|
s.selectionBoxSize * 2,
|
|
1988
1988
|
Rb
|
|
1989
|
-
), o = Vb(s, e, t, n), r =
|
|
1989
|
+
), o = Vb(s, e, t, n), r = Bb(s, e, t, n), a = o ?? r;
|
|
1990
1990
|
if (!a) return !1;
|
|
1991
1991
|
const l = Gb(s, a, i);
|
|
1992
1992
|
return l && (s.isHtmlDirty = !0), l;
|
|
@@ -3611,11 +3611,11 @@ function yw(s) {
|
|
|
3611
3611
|
return s.isRgb && s.rgbValue !== null ? uu(s.rgbValue) : s.isAci && s.aci !== null ? uu(Sp(s.aci)) : "#ffffff";
|
|
3612
3612
|
}
|
|
3613
3613
|
function hu(s) {
|
|
3614
|
-
const e = new
|
|
3614
|
+
const e = new Br();
|
|
3615
3615
|
return e.rgbValue = fw(s), e;
|
|
3616
3616
|
}
|
|
3617
3617
|
function pu(s) {
|
|
3618
|
-
const e = new
|
|
3618
|
+
const e = new Br();
|
|
3619
3619
|
return s.aci !== null && Number.isFinite(s.aci) ? (e.aci = s.aci, e) : s.rgb !== null ? (e.rgbValue = Ec(s.rgb), e) : (e.rgbValue = 16777215, e);
|
|
3620
3620
|
}
|
|
3621
3621
|
function gw(s) {
|
|
@@ -4991,7 +4991,7 @@ const bo = "__mlightcadMTextInputBoxSceneRoot", Z = class Z {
|
|
|
4991
4991
|
if (this.colorSettings)
|
|
4992
4992
|
return this.colorSettings;
|
|
4993
4993
|
const e = this.toolbarTheme === "light" ? 0 : 16777215;
|
|
4994
|
-
return { byLayerColor: e, byBlockColor: e, color: new
|
|
4994
|
+
return { byLayerColor: e, byBlockColor: e, color: new Br(256) };
|
|
4995
4995
|
}
|
|
4996
4996
|
focusImeInput() {
|
|
4997
4997
|
this.imeInput && this.imeInput.focus({ preventScroll: !0 });
|
|
@@ -5934,14 +5934,14 @@ const ge = class ge {
|
|
|
5934
5934
|
...T,
|
|
5935
5935
|
fixedTextHeight: S,
|
|
5936
5936
|
lastHeight: S
|
|
5937
|
-
} : void 0, P = c ? null : ge.createHiddenToolbarContainer(t.container), M = Sw(d),
|
|
5937
|
+
} : void 0, P = c ? null : ge.createHiddenToolbarContainer(t.container), M = Sw(d), B = _w(u), j = new cl({
|
|
5938
5938
|
scene: t.internalScene,
|
|
5939
5939
|
camera: t.internalCamera,
|
|
5940
5940
|
width: n,
|
|
5941
5941
|
position: g.clone(),
|
|
5942
5942
|
initialText: r,
|
|
5943
5943
|
...M !== void 0 ? { initialAttachmentPoint: M } : {},
|
|
5944
|
-
...
|
|
5944
|
+
...B !== void 0 ? { initialDrawingDirection: B } : {},
|
|
5945
5945
|
...typeof p == "number" && Number.isFinite(p) ? { rotation: p } : {},
|
|
5946
5946
|
...m ? { directionVector: m } : {},
|
|
5947
5947
|
...typeof y == "number" && Number.isFinite(y) && y > 0 ? { initialLineSpaceFactor: y } : {},
|
|
@@ -5956,7 +5956,7 @@ const ge = class ge {
|
|
|
5956
5956
|
imeTarget: t.canvas,
|
|
5957
5957
|
colorSettings: {
|
|
5958
5958
|
layer: k.clayer,
|
|
5959
|
-
color: new
|
|
5959
|
+
color: new Br(),
|
|
5960
5960
|
byLayerColor: E,
|
|
5961
5961
|
byBlockColor: E
|
|
5962
5962
|
},
|
|
@@ -6374,7 +6374,7 @@ function gu(s) {
|
|
|
6374
6374
|
function zw(s, e) {
|
|
6375
6375
|
return s.isOff === e.isOff && s.isFrozen === e.isFrozen && s.isLocked === e.isLocked;
|
|
6376
6376
|
}
|
|
6377
|
-
function
|
|
6377
|
+
function Bw() {
|
|
6378
6378
|
const s = el.prototype, e = Object.getOwnPropertyDescriptor(s, "isLocked");
|
|
6379
6379
|
!(e != null && e.get) || !e.set || e.configurable === !1 || Object.defineProperty(s, "isLocked", {
|
|
6380
6380
|
configurable: !0,
|
|
@@ -6386,7 +6386,7 @@ function Fw() {
|
|
|
6386
6386
|
}
|
|
6387
6387
|
});
|
|
6388
6388
|
}
|
|
6389
|
-
|
|
6389
|
+
Bw();
|
|
6390
6390
|
function Qt(s, e) {
|
|
6391
6391
|
var n, o;
|
|
6392
6392
|
const t = e == null ? void 0 : e.layer;
|
|
@@ -6411,7 +6411,7 @@ function pm(s, e) {
|
|
|
6411
6411
|
}
|
|
6412
6412
|
return { ids: i, lockedCount: n };
|
|
6413
6413
|
}
|
|
6414
|
-
const re = "Layer",
|
|
6414
|
+
const re = "Layer", Fw = "Entity";
|
|
6415
6415
|
function se(s, e, t) {
|
|
6416
6416
|
var n;
|
|
6417
6417
|
if ((n = s.transactionManager) != null && n.hasTransaction())
|
|
@@ -9281,7 +9281,7 @@ class qw {
|
|
|
9281
9281
|
* Initializes the Three.js scene and layout management structures.
|
|
9282
9282
|
*/
|
|
9283
9283
|
constructor() {
|
|
9284
|
-
this._skipSpatialIndex = !1, this._scene = new R.Scene(), this._transientManager = new Nd(this._scene), this._htmlTransientManager = new zd(this._scene), this._previewOverlayManager = new
|
|
9284
|
+
this._skipSpatialIndex = !1, this._scene = new R.Scene(), this._transientManager = new Nd(this._scene), this._htmlTransientManager = new zd(this._scene), this._previewOverlayManager = new Bd(this._scene), this._layers = /* @__PURE__ */ new Map(), this._layouts = /* @__PURE__ */ new Map(), this._activeLayoutBtrId = "", this._modelSpaceBtrId = "";
|
|
9285
9285
|
}
|
|
9286
9286
|
get skipSpatialIndex() {
|
|
9287
9287
|
return this._skipSpatialIndex;
|
|
@@ -9423,7 +9423,7 @@ class qw {
|
|
|
9423
9423
|
clear() {
|
|
9424
9424
|
return this._layouts.forEach((e) => {
|
|
9425
9425
|
this._scene.remove(e.internalObject), e.clear();
|
|
9426
|
-
}), this._layouts.clear(), this._layers.clear(), this._transientManager.clear(), this._htmlTransientManager.clear(), this._previewOverlayManager.clear(), this._scene.clear(), this._transientManager = new Nd(this._scene), this._htmlTransientManager = new zd(this._scene), this._previewOverlayManager = new
|
|
9426
|
+
}), this._layouts.clear(), this._layers.clear(), this._transientManager.clear(), this._htmlTransientManager.clear(), this._previewOverlayManager.clear(), this._scene.clear(), this._transientManager = new Nd(this._scene), this._htmlTransientManager = new zd(this._scene), this._previewOverlayManager = new Bd(this._scene), this;
|
|
9427
9427
|
}
|
|
9428
9428
|
/**
|
|
9429
9429
|
* Hover the specified entities. Propagates the request to **every**
|
|
@@ -10785,11 +10785,11 @@ function hv() {
|
|
|
10785
10785
|
function ur() {
|
|
10786
10786
|
return Vr() ? "phone" : cv() ? "pad" : "desktop";
|
|
10787
10787
|
}
|
|
10788
|
-
function
|
|
10788
|
+
function Bi() {
|
|
10789
10789
|
return ur() !== "desktop" || hv();
|
|
10790
10790
|
}
|
|
10791
10791
|
function pv(s) {
|
|
10792
|
-
return Vr() ? !0 : s &&
|
|
10792
|
+
return Vr() ? !0 : s && Bi();
|
|
10793
10793
|
}
|
|
10794
10794
|
function Hr(s) {
|
|
10795
10795
|
if (typeof window.matchMedia != "function")
|
|
@@ -11456,8 +11456,8 @@ function Ov(s, e) {
|
|
|
11456
11456
|
function xm(s, e, t = 1e-8) {
|
|
11457
11457
|
return hr(s.x, s.y, e.x, e.y) <= t;
|
|
11458
11458
|
}
|
|
11459
|
-
const Dv = 20, _a = 16, Nv = 48, zv = 8,
|
|
11460
|
-
function
|
|
11459
|
+
const Dv = 20, _a = 16, Nv = 48, zv = 8, Bv = 32;
|
|
11460
|
+
function Fv(s, e) {
|
|
11461
11461
|
return s.min.x <= e.max.x && s.max.x >= e.min.x && s.min.y <= e.max.y && s.max.y >= e.min.y;
|
|
11462
11462
|
}
|
|
11463
11463
|
function Lu(s) {
|
|
@@ -11497,7 +11497,7 @@ function Eu(s, e) {
|
|
|
11497
11497
|
}
|
|
11498
11498
|
function Rv(s) {
|
|
11499
11499
|
const e = s.subGetIntersectCurves().length;
|
|
11500
|
-
return e > 0 && e <=
|
|
11500
|
+
return e > 0 && e <= Bv;
|
|
11501
11501
|
}
|
|
11502
11502
|
function Ca(s, e) {
|
|
11503
11503
|
return km(e) ? s : s.map(
|
|
@@ -11737,7 +11737,7 @@ class qe {
|
|
|
11737
11737
|
for (let p = 0; p < r.length; p++)
|
|
11738
11738
|
for (let m = p + 1; m < r.length; m++) {
|
|
11739
11739
|
if (u >= Nv || performance.now() - d > zv) return;
|
|
11740
|
-
if (r[p].viewportId !== r[m].viewportId || !
|
|
11740
|
+
if (r[p].viewportId !== r[m].viewportId || !Fv(r[p].box, r[m].box)) continue;
|
|
11741
11741
|
u++;
|
|
11742
11742
|
const f = r[p].viewportId, y = f != null ? this._view.getViewportCoordinateMapper(f) : void 0;
|
|
11743
11743
|
if (f != null && !y) continue;
|
|
@@ -11767,7 +11767,7 @@ class qe {
|
|
|
11767
11767
|
return i instanceof Cy ? i : void 0;
|
|
11768
11768
|
}
|
|
11769
11769
|
collectOsnapPoints(e, t, i, n) {
|
|
11770
|
-
const o = this._view.pick(e, i), r =
|
|
11770
|
+
const o = this._view.pick(e, i), r = Fe().workingDatabase, a = [], l = rs.point2dToPoint3d(e), c = rs.point2dToPoint3d(t);
|
|
11771
11771
|
return o.forEach((d) => {
|
|
11772
11772
|
const u = qe.getEntityById(r, d.id);
|
|
11773
11773
|
if (!u) return;
|
|
@@ -12712,17 +12712,17 @@ class qv {
|
|
|
12712
12712
|
}
|
|
12713
12713
|
const Jv = new Xv(), Qv = new qv();
|
|
12714
12714
|
function it() {
|
|
12715
|
-
return
|
|
12715
|
+
return Bi() ? Qv : Jv;
|
|
12716
12716
|
}
|
|
12717
12717
|
function ex(s) {
|
|
12718
12718
|
if (!it().point.showsCursorDynamicInput) return !1;
|
|
12719
|
-
const e = s ??
|
|
12719
|
+
const e = s ?? Fe().workingDatabase;
|
|
12720
12720
|
return Number(
|
|
12721
12721
|
ne.instance().getVar(X.DYNMODE, e)
|
|
12722
12722
|
) !== 0;
|
|
12723
12723
|
}
|
|
12724
12724
|
function tx(s) {
|
|
12725
|
-
const e = s ??
|
|
12725
|
+
const e = s ?? Fe().workingDatabase, t = ne.instance().getVar(
|
|
12726
12726
|
X.ORTHOMODE,
|
|
12727
12727
|
e
|
|
12728
12728
|
);
|
|
@@ -12734,7 +12734,7 @@ function ix(s, e) {
|
|
|
12734
12734
|
}
|
|
12735
12735
|
const Ls = 2, nx = 4;
|
|
12736
12736
|
function ao(s) {
|
|
12737
|
-
return s ??
|
|
12737
|
+
return s ?? Fe().workingDatabase;
|
|
12738
12738
|
}
|
|
12739
12739
|
function Sm(s, e, t) {
|
|
12740
12740
|
const i = ne.instance().getVar(s, e), n = Number(i);
|
|
@@ -15431,7 +15431,7 @@ const I = {
|
|
|
15431
15431
|
USER: {
|
|
15432
15432
|
...I.USER
|
|
15433
15433
|
}
|
|
15434
|
-
},
|
|
15434
|
+
}, F = {
|
|
15435
15435
|
arc: {
|
|
15436
15436
|
startPointOrCenter: "Specify start point of arc or",
|
|
15437
15437
|
secondPointOrOptions: "Specify second point of arc or",
|
|
@@ -16798,6 +16798,7 @@ const I = {
|
|
|
16798
16798
|
exportFormat: "Export format",
|
|
16799
16799
|
exportInvisibleLayers: "Export invisible layers",
|
|
16800
16800
|
exportLayouts: "Export layouts",
|
|
16801
|
+
background: "Background color",
|
|
16801
16802
|
initialView: "Initial view when opening HTML",
|
|
16802
16803
|
viewerMode: "Offline viewer mode",
|
|
16803
16804
|
chunkSizeMiB: "Chunk size in MiB (multi-file package)",
|
|
@@ -16842,6 +16843,21 @@ const I = {
|
|
|
16842
16843
|
display: "Measure & Review(M)",
|
|
16843
16844
|
local: "Measure & Review",
|
|
16844
16845
|
global: "Measure"
|
|
16846
|
+
},
|
|
16847
|
+
black: {
|
|
16848
|
+
display: "Black(B)",
|
|
16849
|
+
local: "Black",
|
|
16850
|
+
global: "Black"
|
|
16851
|
+
},
|
|
16852
|
+
white: {
|
|
16853
|
+
display: "White(W)",
|
|
16854
|
+
local: "White",
|
|
16855
|
+
global: "White"
|
|
16856
|
+
},
|
|
16857
|
+
space: {
|
|
16858
|
+
display: "Space(S)",
|
|
16859
|
+
local: "Space",
|
|
16860
|
+
global: "Space"
|
|
16845
16861
|
}
|
|
16846
16862
|
}
|
|
16847
16863
|
},
|
|
@@ -16883,9 +16899,9 @@ const I = {
|
|
|
16883
16899
|
}
|
|
16884
16900
|
}
|
|
16885
16901
|
}, bx = {
|
|
16886
|
-
...
|
|
16902
|
+
...F,
|
|
16887
16903
|
arc: {
|
|
16888
|
-
...
|
|
16904
|
+
...F.arc,
|
|
16889
16905
|
startPointOrCenter: "حدد نقطة بداية القوس أو",
|
|
16890
16906
|
secondPointOrOptions: "حدد النقطة الثانية للقوس أو",
|
|
16891
16907
|
secondPoint: "حدد النقطة الثانية للقوس",
|
|
@@ -16899,7 +16915,7 @@ const I = {
|
|
|
16899
16915
|
tangentDirection: "حدد اتجاه المماس عند نقطة بداية القوس",
|
|
16900
16916
|
radius: "حدد نصف قطر القوس",
|
|
16901
16917
|
invalid: {
|
|
16902
|
-
...
|
|
16918
|
+
...F.arc.invalid,
|
|
16903
16919
|
threePoint: "قوس الثلاث نقاط غير صالح: النقاط على استقامة واحدة أو لا يمكنها تعريف قوس.",
|
|
16904
16920
|
center: "إدخال المركز غير صالح: يجب أن تقع نقطتا البداية والنهاية على الدائرة نفسها.",
|
|
16905
16921
|
angle: "الزاوية غير صالحة: يجب أن تكون الزاوية المحصورة أكبر من 0 وأقل من 360 درجة.",
|
|
@@ -16908,7 +16924,7 @@ const I = {
|
|
|
16908
16924
|
radius: "نصف القطر غير صالح: لا يمكن لنصف القطر المحدد توصيل نقطتي البداية والنهاية."
|
|
16909
16925
|
},
|
|
16910
16926
|
keywords: {
|
|
16911
|
-
...
|
|
16927
|
+
...F.arc.keywords,
|
|
16912
16928
|
center: {
|
|
16913
16929
|
display: "المركز(C)",
|
|
16914
16930
|
local: "المركز",
|
|
@@ -16942,7 +16958,7 @@ const I = {
|
|
|
16942
16958
|
}
|
|
16943
16959
|
},
|
|
16944
16960
|
circle: {
|
|
16945
|
-
...
|
|
16961
|
+
...F.circle,
|
|
16946
16962
|
center: "حدد مركز الدائرة",
|
|
16947
16963
|
centerOrOptions: "حدد نقطة مركز الدائرة أو",
|
|
16948
16964
|
radius: "حدد نصف قطر الدائرة",
|
|
@@ -16954,7 +16970,7 @@ const I = {
|
|
|
16954
16970
|
threePointSecond: "حدد النقطة الثانية على الدائرة",
|
|
16955
16971
|
threePointThird: "حدد النقطة الثالثة على الدائرة",
|
|
16956
16972
|
keywords: {
|
|
16957
|
-
...
|
|
16973
|
+
...F.circle.keywords,
|
|
16958
16974
|
threeP: {
|
|
16959
16975
|
display: "3 نقاط(3P)",
|
|
16960
16976
|
local: "3 نقاط",
|
|
@@ -16973,7 +16989,7 @@ const I = {
|
|
|
16973
16989
|
}
|
|
16974
16990
|
},
|
|
16975
16991
|
copy: {
|
|
16976
|
-
...
|
|
16992
|
+
...F.copy,
|
|
16977
16993
|
basePointOrOptions: "حدد نقطة الأساس أو",
|
|
16978
16994
|
displacementOrArray: "حدد الإزاحة أو",
|
|
16979
16995
|
secondPointOrArray: "حدد النقطة الثانية أو",
|
|
@@ -16982,7 +16998,7 @@ const I = {
|
|
|
16982
16998
|
arraySecondPointOrFit: "حدد النقطة الثانية أو",
|
|
16983
16999
|
arrayFitSecondPoint: "حدد النقطة الثانية",
|
|
16984
17000
|
keywords: {
|
|
16985
|
-
...
|
|
17001
|
+
...F.copy.keywords,
|
|
16986
17002
|
displacement: {
|
|
16987
17003
|
display: "إزاحة(D)",
|
|
16988
17004
|
local: "إزاحة",
|
|
@@ -17016,21 +17032,21 @@ const I = {
|
|
|
17016
17032
|
}
|
|
17017
17033
|
},
|
|
17018
17034
|
dimlinear: {
|
|
17019
|
-
...
|
|
17035
|
+
...F.dimlinear,
|
|
17020
17036
|
xLine1Point: "حدد نقطة أصل خط الامتداد الأول",
|
|
17021
17037
|
xLine2Point: "حدد نقطة أصل خط الامتداد الثاني",
|
|
17022
17038
|
dimLinePoint: "حدد موقع خط البُعد"
|
|
17023
17039
|
},
|
|
17024
|
-
dimaligned: { ...
|
|
17025
|
-
dimradius: { ...
|
|
17026
|
-
dimdiameter: { ...
|
|
17027
|
-
dimangular: { ...
|
|
17028
|
-
dimarc: { ...
|
|
17029
|
-
dimordinate: { ...
|
|
17030
|
-
dimcontinue: { ...
|
|
17031
|
-
dimbaseline: { ...
|
|
17040
|
+
dimaligned: { ...F.dimaligned },
|
|
17041
|
+
dimradius: { ...F.dimradius },
|
|
17042
|
+
dimdiameter: { ...F.dimdiameter },
|
|
17043
|
+
dimangular: { ...F.dimangular },
|
|
17044
|
+
dimarc: { ...F.dimarc },
|
|
17045
|
+
dimordinate: { ...F.dimordinate },
|
|
17046
|
+
dimcontinue: { ...F.dimcontinue },
|
|
17047
|
+
dimbaseline: { ...F.dimbaseline },
|
|
17032
17048
|
ellipse: {
|
|
17033
|
-
...
|
|
17049
|
+
...F.ellipse,
|
|
17034
17050
|
axisEndpointOrOptions: "حدد نقطة نهاية محور القطع الناقص أو",
|
|
17035
17051
|
arcAxisEndpointOrCenter: "حدد نقطة نهاية محور القوس البيضاوي أو",
|
|
17036
17052
|
center: "حدد مركز القطع الناقص",
|
|
@@ -17041,13 +17057,13 @@ const I = {
|
|
|
17041
17057
|
arcStartAngle: "حدد زاوية بداية القوس البيضاوي",
|
|
17042
17058
|
arcEndAngle: "حدد زاوية نهاية القوس البيضاوي",
|
|
17043
17059
|
invalid: {
|
|
17044
|
-
...
|
|
17060
|
+
...F.ellipse.invalid,
|
|
17045
17061
|
axis: "المحور غير صالح: يجب أن يكون طول المحور أكبر من 0.",
|
|
17046
17062
|
otherAxis: "المحور الآخر غير صالح: يجب أن تكون المسافة أكبر من 0.",
|
|
17047
17063
|
rotation: "الدوران غير صالح: يجب أن يكون المحور الأصغر الناتج أكبر من 0."
|
|
17048
17064
|
},
|
|
17049
17065
|
keywords: {
|
|
17050
|
-
...
|
|
17066
|
+
...F.ellipse.keywords,
|
|
17051
17067
|
arc: {
|
|
17052
17068
|
display: "قوس(A)",
|
|
17053
17069
|
local: "قوس",
|
|
@@ -17066,7 +17082,7 @@ const I = {
|
|
|
17066
17082
|
}
|
|
17067
17083
|
},
|
|
17068
17084
|
hatch: {
|
|
17069
|
-
...
|
|
17085
|
+
...F.hatch,
|
|
17070
17086
|
prompt: "حدد عنصر حدود أو",
|
|
17071
17087
|
pickPoint: "حدد نقطة داخلية (أو اضغط Enter للإنهاء)",
|
|
17072
17088
|
select: "حدد العناصر المطلوب تهشيرها",
|
|
@@ -17077,7 +17093,7 @@ const I = {
|
|
|
17077
17093
|
associative: "حدد حالة الترابط",
|
|
17078
17094
|
invalidBoundary: "العناصر المحددة لا تكوّن حدودًا مغلقة.",
|
|
17079
17095
|
keywords: {
|
|
17080
|
-
...
|
|
17096
|
+
...F.hatch.keywords,
|
|
17081
17097
|
pick: {
|
|
17082
17098
|
display: "اختيار نقاط(P)",
|
|
17083
17099
|
local: "اختيار نقاط",
|
|
@@ -17146,13 +17162,13 @@ const I = {
|
|
|
17146
17162
|
}
|
|
17147
17163
|
},
|
|
17148
17164
|
line: {
|
|
17149
|
-
...
|
|
17165
|
+
...F.line,
|
|
17150
17166
|
firstPoint: "حدد النقطة الأولى",
|
|
17151
17167
|
firstPointOrContinue: "حدد النقطة الأولى أو",
|
|
17152
17168
|
nextPoint: "حدد النقطة التالية",
|
|
17153
17169
|
nextPointWithOptions: "حدد النقطة التالية أو",
|
|
17154
17170
|
keywords: {
|
|
17155
|
-
...
|
|
17171
|
+
...F.line.keywords,
|
|
17156
17172
|
continue: {
|
|
17157
17173
|
display: "متابعة(C)",
|
|
17158
17174
|
local: "متابعة",
|
|
@@ -17171,14 +17187,14 @@ const I = {
|
|
|
17171
17187
|
}
|
|
17172
17188
|
},
|
|
17173
17189
|
xline: {
|
|
17174
|
-
...
|
|
17190
|
+
...F.xline,
|
|
17175
17191
|
firstPointOrOptions: "حدد نقطة أو",
|
|
17176
17192
|
secondPoint: "حدد النقطة الثانية",
|
|
17177
17193
|
throughPoint: "حدد نقطة يمر بها الخط",
|
|
17178
17194
|
angle: "أدخل زاوية الخط الإنشائي",
|
|
17179
17195
|
invalidDirection: "اتجاه XLINE غير صالح.",
|
|
17180
17196
|
keywords: {
|
|
17181
|
-
...
|
|
17197
|
+
...F.xline.keywords,
|
|
17182
17198
|
hor: {
|
|
17183
17199
|
display: "أفقي(H)",
|
|
17184
17200
|
local: "أفقي",
|
|
@@ -17197,17 +17213,17 @@ const I = {
|
|
|
17197
17213
|
}
|
|
17198
17214
|
},
|
|
17199
17215
|
ray: {
|
|
17200
|
-
...
|
|
17216
|
+
...F.ray,
|
|
17201
17217
|
startPoint: "حدد نقطة البداية",
|
|
17202
17218
|
throughPoint: "حدد نقطة يمر بها الشعاع"
|
|
17203
17219
|
},
|
|
17204
17220
|
move: {
|
|
17205
|
-
...
|
|
17221
|
+
...F.move,
|
|
17206
17222
|
basePointOrDisplacement: "حدد نقطة الأساس أو",
|
|
17207
17223
|
secondPointOrDisplacement: "حدد النقطة الثانية أو",
|
|
17208
17224
|
displacement: "حدد الإزاحة",
|
|
17209
17225
|
keywords: {
|
|
17210
|
-
...
|
|
17226
|
+
...F.move.keywords,
|
|
17211
17227
|
displacement: {
|
|
17212
17228
|
display: "إزاحة(D)",
|
|
17213
17229
|
local: "إزاحة",
|
|
@@ -17216,7 +17232,7 @@ const I = {
|
|
|
17216
17232
|
}
|
|
17217
17233
|
},
|
|
17218
17234
|
offset: {
|
|
17219
|
-
...
|
|
17235
|
+
...F.offset,
|
|
17220
17236
|
distance: "حدد مسافة الإزاحة",
|
|
17221
17237
|
selectObject: "حدد العنصر المطلوب إزاحته أو اضغط Enter للإنهاء",
|
|
17222
17238
|
sidePoint: "حدد نقطة في جهة الإزاحة",
|
|
@@ -17225,28 +17241,28 @@ const I = {
|
|
|
17225
17241
|
offsetFailed: "تعذر إنشاء منحنى إزاحة في الجهة المحددة."
|
|
17226
17242
|
},
|
|
17227
17243
|
mtext: {
|
|
17228
|
-
...
|
|
17244
|
+
...F.mtext,
|
|
17229
17245
|
point: "حدد نقطة إدراج النص متعدد الأسطر"
|
|
17230
17246
|
},
|
|
17231
17247
|
point: {
|
|
17232
|
-
...
|
|
17248
|
+
...F.point,
|
|
17233
17249
|
point: "حدد نقطة"
|
|
17234
17250
|
},
|
|
17235
17251
|
polygon: {
|
|
17236
|
-
...
|
|
17252
|
+
...F.polygon,
|
|
17237
17253
|
numberOfSides: "أدخل عدد الأضلاع",
|
|
17238
17254
|
centerOrEdge: "حدد مركز المضلع أو",
|
|
17239
17255
|
radiusOrType: "أدخل الخيارات",
|
|
17240
17256
|
edgeStart: "حدد نقطة النهاية الأولى للضلع",
|
|
17241
17257
|
edgeEnd: "حدد نقطة النهاية الثانية للضلع",
|
|
17242
17258
|
invalid: {
|
|
17243
|
-
...
|
|
17259
|
+
...F.polygon.invalid,
|
|
17244
17260
|
sides: "عدد الأضلاع غير صالح. أدخل عددًا صحيحًا بين 3 و1024.",
|
|
17245
17261
|
radius: "نصف القطر غير صالح. يجب أن يكون أكبر من 0.",
|
|
17246
17262
|
edge: "الضلع غير صالح. يجب أن يكون طول الضلع أكبر من 0."
|
|
17247
17263
|
},
|
|
17248
17264
|
keywords: {
|
|
17249
|
-
...
|
|
17265
|
+
...F.polygon.keywords,
|
|
17250
17266
|
edge: {
|
|
17251
17267
|
display: "حافة(E)",
|
|
17252
17268
|
local: "حافة",
|
|
@@ -17265,7 +17281,7 @@ const I = {
|
|
|
17265
17281
|
}
|
|
17266
17282
|
},
|
|
17267
17283
|
polyline: {
|
|
17268
|
-
...
|
|
17284
|
+
...F.polyline,
|
|
17269
17285
|
firstPoint: "حدد النقطة الأولى",
|
|
17270
17286
|
nextPoint: "حدد النقطة التالية (أو اضغط Enter للإنهاء)",
|
|
17271
17287
|
nextPointWithOptions: "حدد النقطة التالية أو",
|
|
@@ -17276,7 +17292,7 @@ const I = {
|
|
|
17276
17292
|
arcEndPoint: "حدد نقطة نهاية القوس",
|
|
17277
17293
|
arcRadius: "حدد نصف قطر القوس",
|
|
17278
17294
|
keywords: {
|
|
17279
|
-
...
|
|
17295
|
+
...F.polyline.keywords,
|
|
17280
17296
|
arc: {
|
|
17281
17297
|
display: "قوس(A)",
|
|
17282
17298
|
local: "قوس",
|
|
@@ -17320,7 +17336,7 @@ const I = {
|
|
|
17320
17336
|
}
|
|
17321
17337
|
},
|
|
17322
17338
|
rect: {
|
|
17323
|
-
...
|
|
17339
|
+
...F.rect,
|
|
17324
17340
|
firstPoint: "حدد نقطة الركن الأول",
|
|
17325
17341
|
nextPoint: "حدد نقطة الركن المقابل",
|
|
17326
17342
|
firstPointWithOptions: "حدد نقطة الركن الأول أو",
|
|
@@ -17341,7 +17357,7 @@ const I = {
|
|
|
17341
17357
|
invalidRect: "تعذر إنشاء المستطيل. حدد أركانًا أو أبعادًا صالحة.",
|
|
17342
17358
|
thicknessNotSupported: "سماكة المستطيل لا تُكتب حاليًا إلى بيانات العنصر، لذلك سيتم تجاهل إعداد السماكة.",
|
|
17343
17359
|
keywords: {
|
|
17344
|
-
...
|
|
17360
|
+
...F.rect.keywords,
|
|
17345
17361
|
chamfer: {
|
|
17346
17362
|
display: "شطف(C)",
|
|
17347
17363
|
local: "شطف",
|
|
@@ -17395,7 +17411,7 @@ const I = {
|
|
|
17395
17411
|
}
|
|
17396
17412
|
},
|
|
17397
17413
|
rotate: {
|
|
17398
|
-
...
|
|
17414
|
+
...F.rotate,
|
|
17399
17415
|
basePoint: "حدد نقطة الأساس",
|
|
17400
17416
|
rotationAngleOrOptions: "حدد زاوية الدوران أو",
|
|
17401
17417
|
referenceAngleOrPoints: "حدد الزاوية المرجعية أو",
|
|
@@ -17403,11 +17419,11 @@ const I = {
|
|
|
17403
17419
|
secondReferencePoint: "حدد النقطة الثانية",
|
|
17404
17420
|
newAngle: "حدد الزاوية الجديدة",
|
|
17405
17421
|
invalid: {
|
|
17406
|
-
...
|
|
17422
|
+
...F.rotate.invalid,
|
|
17407
17423
|
referencePoints: "النقاط المرجعية غير صالحة: يجب أن تكون النقطتان مختلفتين."
|
|
17408
17424
|
},
|
|
17409
17425
|
keywords: {
|
|
17410
|
-
...
|
|
17426
|
+
...F.rotate.keywords,
|
|
17411
17427
|
copy: {
|
|
17412
17428
|
display: "نسخ(C)",
|
|
17413
17429
|
local: "نسخ",
|
|
@@ -17426,7 +17442,7 @@ const I = {
|
|
|
17426
17442
|
}
|
|
17427
17443
|
},
|
|
17428
17444
|
spline: {
|
|
17429
|
-
...
|
|
17445
|
+
...F.spline,
|
|
17430
17446
|
firstPoint: "حدد النقطة الأولى",
|
|
17431
17447
|
nextPoint: "حدد النقطة التالية (أو اضغط Enter للإنهاء)",
|
|
17432
17448
|
firstPointWithOptions: "حدد النقطة الأولى أو",
|
|
@@ -17436,7 +17452,7 @@ const I = {
|
|
|
17436
17452
|
knotsPrompt: "أدخل طريقة توزيع العقد",
|
|
17437
17453
|
degreePrompt: "حدد درجة منحنى Spline",
|
|
17438
17454
|
keywords: {
|
|
17439
|
-
...
|
|
17455
|
+
...F.spline.keywords,
|
|
17440
17456
|
method: {
|
|
17441
17457
|
display: "طريقة(M)",
|
|
17442
17458
|
local: "طريقة",
|
|
@@ -17490,7 +17506,7 @@ const I = {
|
|
|
17490
17506
|
}
|
|
17491
17507
|
},
|
|
17492
17508
|
zoom: {
|
|
17493
|
-
...
|
|
17509
|
+
...F.zoom,
|
|
17494
17510
|
mainPrompt: "حدد ركن نافذة التكبير أو",
|
|
17495
17511
|
firstCorner: "حدد الركن الأول",
|
|
17496
17512
|
secondCorner: "حدد الركن المقابل",
|
|
@@ -17498,7 +17514,7 @@ const I = {
|
|
|
17498
17514
|
heightOrScale: "أدخل الارتفاع أو معامل المقياس (nX أو nXP)",
|
|
17499
17515
|
scaleFactor: "أدخل معامل المقياس (nX أو nXP)",
|
|
17500
17516
|
keywords: {
|
|
17501
|
-
...
|
|
17517
|
+
...F.zoom.keywords,
|
|
17502
17518
|
all: {
|
|
17503
17519
|
display: "الكل(A)",
|
|
17504
17520
|
local: "الكل",
|
|
@@ -17547,18 +17563,18 @@ const I = {
|
|
|
17547
17563
|
}
|
|
17548
17564
|
},
|
|
17549
17565
|
hideobjects: {
|
|
17550
|
-
...
|
|
17566
|
+
...F.hideobjects,
|
|
17551
17567
|
hidden: "تم إخفاء العناصر",
|
|
17552
17568
|
restored: "تمت استعادة العناصر",
|
|
17553
17569
|
nothingToRestore: "لا توجد عناصر مخفية لاستعادتها"
|
|
17554
17570
|
},
|
|
17555
17571
|
entout: {
|
|
17556
|
-
...
|
|
17572
|
+
...F.entout,
|
|
17557
17573
|
longSidePrompt: "أدخل حجم الضلع الأطول للمعاينة بالبكسل",
|
|
17558
17574
|
exported: "تم تصدير معاينات العناصر",
|
|
17559
17575
|
skipped: "تم تخطي بعض العناصر",
|
|
17560
17576
|
failed: {
|
|
17561
|
-
...
|
|
17577
|
+
...F.entout.failed,
|
|
17562
17578
|
"no-preview-root": "تعذر إنشاء هندسة المعاينة للعناصر المحددة",
|
|
17563
17579
|
"no-bounds": "تعذر حساب حدود المعاينة للعناصر المحددة",
|
|
17564
17580
|
"capture-failed": "تعذر عرض صورة معاينة العناصر",
|
|
@@ -17566,7 +17582,7 @@ const I = {
|
|
|
17566
17582
|
}
|
|
17567
17583
|
},
|
|
17568
17584
|
layer: {
|
|
17569
|
-
...
|
|
17585
|
+
...F.layer,
|
|
17570
17586
|
main: "أدخل خيارًا",
|
|
17571
17587
|
listSummary: "تمت طباعة قائمة الطبقات في وحدة تحكم المتصفح",
|
|
17572
17588
|
emptyInput: "لم يتم إدخال اسم طبقة.",
|
|
@@ -17589,7 +17605,7 @@ const I = {
|
|
|
17589
17605
|
notFound: "الطبقة غير موجودة",
|
|
17590
17606
|
cannotChangeCurrent: "لا يمكن إيقاف الطبقة الحالية أو تجميدها.",
|
|
17591
17607
|
keywords: {
|
|
17592
|
-
...
|
|
17608
|
+
...F.layer.keywords,
|
|
17593
17609
|
list: {
|
|
17594
17610
|
display: "قائمة(?)",
|
|
17595
17611
|
local: "قائمة",
|
|
@@ -17653,12 +17669,12 @@ const I = {
|
|
|
17653
17669
|
}
|
|
17654
17670
|
},
|
|
17655
17671
|
layon: {
|
|
17656
|
-
...
|
|
17672
|
+
...F.layon,
|
|
17657
17673
|
alreadyOn: "جميع الطبقات قيد التشغيل بالفعل.",
|
|
17658
17674
|
turnedOn: "تم تشغيل الطبقات"
|
|
17659
17675
|
},
|
|
17660
17676
|
laycur: {
|
|
17661
|
-
...
|
|
17677
|
+
...F.laycur,
|
|
17662
17678
|
prompt: "حدد العناصر المطلوب نقلها إلى الطبقة الحالية",
|
|
17663
17679
|
currentLayerNotFound: "الطبقة الحالية غير موجودة.",
|
|
17664
17680
|
noObjects: "لم يتم تحديد عناصر صالحة.",
|
|
@@ -17666,7 +17682,7 @@ const I = {
|
|
|
17666
17682
|
changed: "تم نقل العناصر إلى الطبقة الحالية"
|
|
17667
17683
|
},
|
|
17668
17684
|
layfrz: {
|
|
17669
|
-
...
|
|
17685
|
+
...F.layfrz,
|
|
17670
17686
|
prompt: "حدد عنصرًا على الطبقة المطلوب تجميدها أو",
|
|
17671
17687
|
invalidSelection: "العنصر المحدد غير صالح.",
|
|
17672
17688
|
settingsPrompt: "أدخل إعداد LAYFRZ المطلوب تغييره",
|
|
@@ -17681,7 +17697,7 @@ const I = {
|
|
|
17681
17697
|
restored: "تمت استعادة الطبقة",
|
|
17682
17698
|
nothingToUndo: "لا توجد عملية LAYFRZ يمكن التراجع عنها.",
|
|
17683
17699
|
keywords: {
|
|
17684
|
-
...
|
|
17700
|
+
...F.layfrz.keywords,
|
|
17685
17701
|
settings: {
|
|
17686
17702
|
display: "إعدادات(S)",
|
|
17687
17703
|
local: "إعدادات",
|
|
@@ -17730,7 +17746,7 @@ const I = {
|
|
|
17730
17746
|
}
|
|
17731
17747
|
},
|
|
17732
17748
|
layiso: {
|
|
17733
|
-
...
|
|
17749
|
+
...F.layiso,
|
|
17734
17750
|
prompt: "حدد عناصر على الطبقة أو الطبقات المطلوب عزلها أو",
|
|
17735
17751
|
settingsPrompt: "أدخل إعداد الطبقات غير المعزولة",
|
|
17736
17752
|
offModePrompt: "حدد سلوك إيقاف الطبقات غير المعزولة",
|
|
@@ -17741,7 +17757,7 @@ const I = {
|
|
|
17741
17757
|
vpfreezeFallback: "العارض الحالي لا يدعم التجميد المستقل لكل منفذ عرض؛ سيتم استخدام الإيقاف بدلًا من ذلك.",
|
|
17742
17758
|
lockFadeFallback: "العارض الحالي لا يدعم إظهار الطبقات بتأثير التلاشي؛ سيتم قفل الطبقات غير المعزولة دون تلاشي.",
|
|
17743
17759
|
keywords: {
|
|
17744
|
-
...
|
|
17760
|
+
...F.layiso.keywords,
|
|
17745
17761
|
settings: {
|
|
17746
17762
|
display: "إعدادات(S)",
|
|
17747
17763
|
local: "إعدادات",
|
|
@@ -17765,19 +17781,19 @@ const I = {
|
|
|
17765
17781
|
}
|
|
17766
17782
|
},
|
|
17767
17783
|
layuniso: {
|
|
17768
|
-
...
|
|
17784
|
+
...F.layuniso,
|
|
17769
17785
|
noPrevious: "لا توجد حالة LAYISO سابقة لاستعادتها.",
|
|
17770
17786
|
layerNotFound: "الطبقة غير موجودة",
|
|
17771
17787
|
nothingRestored: "لم تتم استعادة أي تغييرات طبقات من LAYISO.",
|
|
17772
17788
|
restored: "تمت استعادة الطبقات"
|
|
17773
17789
|
},
|
|
17774
17790
|
laythw: {
|
|
17775
|
-
...
|
|
17791
|
+
...F.laythw,
|
|
17776
17792
|
alreadyThawed: "جميع الطبقات غير مجمدة بالفعل.",
|
|
17777
17793
|
thawed: "تم إلغاء تجميد الطبقات"
|
|
17778
17794
|
},
|
|
17779
17795
|
laylck: {
|
|
17780
|
-
...
|
|
17796
|
+
...F.laylck,
|
|
17781
17797
|
prompt: "حدد عنصرًا على الطبقة المطلوب قفلها",
|
|
17782
17798
|
invalidSelection: "العنصر المحدد غير صالح.",
|
|
17783
17799
|
layerNotFound: "الطبقة غير موجودة",
|
|
@@ -17785,7 +17801,7 @@ const I = {
|
|
|
17785
17801
|
locked: "تم قفل الطبقة"
|
|
17786
17802
|
},
|
|
17787
17803
|
layulk: {
|
|
17788
|
-
...
|
|
17804
|
+
...F.layulk,
|
|
17789
17805
|
prompt: "حدد عنصرًا على الطبقة المطلوب إلغاء قفلها",
|
|
17790
17806
|
invalidSelection: "العنصر المحدد غير صالح.",
|
|
17791
17807
|
layerNotFound: "الطبقة غير موجودة",
|
|
@@ -17793,7 +17809,7 @@ const I = {
|
|
|
17793
17809
|
unlocked: "تم إلغاء قفل الطبقة"
|
|
17794
17810
|
},
|
|
17795
17811
|
layoff: {
|
|
17796
|
-
...
|
|
17812
|
+
...F.layoff,
|
|
17797
17813
|
prompt: "حدد عنصرًا على الطبقة المطلوب إيقافها أو",
|
|
17798
17814
|
invalidSelection: "العنصر المحدد غير صالح.",
|
|
17799
17815
|
settingsPrompt: "أدخل إعداد LAYOFF المطلوب تغييره",
|
|
@@ -17808,7 +17824,7 @@ const I = {
|
|
|
17808
17824
|
restored: "تمت استعادة الطبقة",
|
|
17809
17825
|
nothingToUndo: "لا توجد عملية LAYOFF يمكن التراجع عنها.",
|
|
17810
17826
|
keywords: {
|
|
17811
|
-
...
|
|
17827
|
+
...F.layoff.keywords,
|
|
17812
17828
|
settings: {
|
|
17813
17829
|
display: "إعدادات(S)",
|
|
17814
17830
|
local: "إعدادات",
|
|
@@ -17857,12 +17873,12 @@ const I = {
|
|
|
17857
17873
|
}
|
|
17858
17874
|
},
|
|
17859
17875
|
layerp: {
|
|
17860
|
-
...
|
|
17876
|
+
...F.layerp,
|
|
17861
17877
|
restored: "تمت استعادة حالة الطبقات السابقة.",
|
|
17862
17878
|
noPreviousState: "لا توجد حالة طبقات سابقة لاستعادتها."
|
|
17863
17879
|
},
|
|
17864
17880
|
mline: {
|
|
17865
|
-
...
|
|
17881
|
+
...F.mline,
|
|
17866
17882
|
startPointWithOptions: "حدد نقطة البداية أو",
|
|
17867
17883
|
nextPointWithOptions: "حدد النقطة التالية أو",
|
|
17868
17884
|
justificationPrompt: "أدخل نوع المحاذاة",
|
|
@@ -17872,7 +17888,7 @@ const I = {
|
|
|
17872
17888
|
styleListHeader: "أنماط الخطوط المتعددة المحملة",
|
|
17873
17889
|
styleListEmpty: "لا توجد أنماط خطوط متعددة محملة في الرسم الحالي.",
|
|
17874
17890
|
keywords: {
|
|
17875
|
-
...
|
|
17891
|
+
...F.mline.keywords,
|
|
17876
17892
|
justification: {
|
|
17877
17893
|
display: "محاذاة(J)",
|
|
17878
17894
|
local: "محاذاة",
|
|
@@ -17916,13 +17932,13 @@ const I = {
|
|
|
17916
17932
|
}
|
|
17917
17933
|
},
|
|
17918
17934
|
measureAngle: {
|
|
17919
|
-
...
|
|
17935
|
+
...F.measureAngle,
|
|
17920
17936
|
vertex: "حدد نقطة رأس الزاوية",
|
|
17921
17937
|
arm1: "حدد نقطة على الضلع الأول",
|
|
17922
17938
|
arm2: "حدد نقطة على الضلع الثاني"
|
|
17923
17939
|
},
|
|
17924
17940
|
measureArc: {
|
|
17925
|
-
...
|
|
17941
|
+
...F.measureArc,
|
|
17926
17942
|
startPoint: "حدد نقطة بداية القوس",
|
|
17927
17943
|
throughPoint: "حدد نقطة على القوس",
|
|
17928
17944
|
endPoint: "حدد نقطة نهاية القوس",
|
|
@@ -17930,71 +17946,71 @@ const I = {
|
|
|
17930
17946
|
invalidPoints: "النقاط الثلاث على استقامة واحدة ولا يمكنها تعريف قوس."
|
|
17931
17947
|
},
|
|
17932
17948
|
measureArea: {
|
|
17933
|
-
...
|
|
17949
|
+
...F.measureArea,
|
|
17934
17950
|
firstPoint: "حدد النقطة الأولى",
|
|
17935
17951
|
nextPoint: "حدد النقطة التالية (أو اضغط Enter للإنهاء)"
|
|
17936
17952
|
},
|
|
17937
17953
|
measureDistance: {
|
|
17938
|
-
...
|
|
17954
|
+
...F.measureDistance,
|
|
17939
17955
|
firstPoint: "حدد النقطة الأولى",
|
|
17940
17956
|
secondPoint: "حدد النقطة الثانية"
|
|
17941
17957
|
},
|
|
17942
17958
|
measureContinuous: {
|
|
17943
|
-
...
|
|
17959
|
+
...F.measureContinuous,
|
|
17944
17960
|
firstPoint: "حدد النقطة الأولى",
|
|
17945
17961
|
nextPoint: "حدد النقطة التالية (أو اضغط Enter للإنهاء)"
|
|
17946
17962
|
},
|
|
17947
17963
|
measurePoint: {
|
|
17948
|
-
...
|
|
17964
|
+
...F.measurePoint,
|
|
17949
17965
|
point: "حدد نقطة"
|
|
17950
17966
|
},
|
|
17951
17967
|
measurement: {
|
|
17952
|
-
...
|
|
17968
|
+
...F.measurement,
|
|
17953
17969
|
import: {
|
|
17954
|
-
...
|
|
17970
|
+
...F.measurement.import,
|
|
17955
17971
|
chooseFile: "اختر ملف JSON جانبيًا يحتوي على القياسات"
|
|
17956
17972
|
}
|
|
17957
17973
|
},
|
|
17958
17974
|
markup: {
|
|
17959
|
-
...
|
|
17975
|
+
...F.markup,
|
|
17960
17976
|
author: "حدد اسم مؤلف المراجعة (سيتم حفظه للاستخدام لاحقًا)",
|
|
17961
17977
|
text: {
|
|
17962
|
-
...
|
|
17978
|
+
...F.markup.text,
|
|
17963
17979
|
point: "حدد موضع علامة النص",
|
|
17964
17980
|
content: "أدخل نص علامة المراجعة"
|
|
17965
17981
|
},
|
|
17966
17982
|
line: {
|
|
17967
|
-
...
|
|
17983
|
+
...F.markup.line,
|
|
17968
17984
|
firstPoint: "حدد النقطة الأولى لخط المراجعة",
|
|
17969
17985
|
secondPoint: "حدد النقطة الثانية لخط المراجعة"
|
|
17970
17986
|
},
|
|
17971
17987
|
arrow: {
|
|
17972
|
-
...
|
|
17988
|
+
...F.markup.arrow,
|
|
17973
17989
|
firstPoint: "حدد نقطة بداية السهم",
|
|
17974
17990
|
secondPoint: "حدد رأس السهم"
|
|
17975
17991
|
},
|
|
17976
17992
|
cloud: {
|
|
17977
|
-
...
|
|
17993
|
+
...F.markup.cloud,
|
|
17978
17994
|
firstCorner: "حدد الركن الأول للسحابة",
|
|
17979
17995
|
secondCorner: "حدد الركن المقابل للسحابة"
|
|
17980
17996
|
},
|
|
17981
17997
|
rect: {
|
|
17982
|
-
...
|
|
17998
|
+
...F.markup.rect,
|
|
17983
17999
|
firstCorner: "حدد الركن الأول للمستطيل",
|
|
17984
18000
|
secondCorner: "حدد الركن المقابل للمستطيل"
|
|
17985
18001
|
},
|
|
17986
18002
|
circle: {
|
|
17987
|
-
...
|
|
18003
|
+
...F.markup.circle,
|
|
17988
18004
|
center: "حدد مركز الدائرة",
|
|
17989
18005
|
radius: "حدد نصف قطر الدائرة"
|
|
17990
18006
|
},
|
|
17991
18007
|
shape: {
|
|
17992
|
-
...
|
|
18008
|
+
...F.markup.shape,
|
|
17993
18009
|
calloutOn: "[وسيلة الشرح مفعلة]",
|
|
17994
18010
|
calloutOff: "[وسيلة الشرح معطلة]",
|
|
17995
18011
|
calloutAnchor: "حدد موضع نص وسيلة الشرح",
|
|
17996
18012
|
keywords: {
|
|
17997
|
-
...
|
|
18013
|
+
...F.markup.shape.keywords,
|
|
17998
18014
|
callout: {
|
|
17999
18015
|
display: "تعليق توضيحي(C)",
|
|
18000
18016
|
local: "تعليق توضيحي",
|
|
@@ -18008,48 +18024,48 @@ const I = {
|
|
|
18008
18024
|
}
|
|
18009
18025
|
},
|
|
18010
18026
|
highlight: {
|
|
18011
|
-
...
|
|
18027
|
+
...F.markup.highlight,
|
|
18012
18028
|
firstCorner: "حدد الركن الأول لمنطقة التمييز",
|
|
18013
18029
|
secondCorner: "حدد الركن المقابل لمنطقة التمييز"
|
|
18014
18030
|
},
|
|
18015
18031
|
callout: {
|
|
18016
|
-
...
|
|
18032
|
+
...F.markup.callout,
|
|
18017
18033
|
tip: "حدد رأس خط التوجيه، أو حدد إطار سحابة/مستطيل/دائرة بدون تعليق توضيحي",
|
|
18018
18034
|
anchor: "حدد موضع نص وسيلة الشرح",
|
|
18019
18035
|
content: "أدخل نص وسيلة الشرح"
|
|
18020
18036
|
},
|
|
18021
18037
|
stamp: {
|
|
18022
|
-
...
|
|
18038
|
+
...F.markup.stamp,
|
|
18023
18039
|
kind: "أدخل معرّف الختم [approved/rejected/revised/for-review/custom]",
|
|
18024
18040
|
imageUrl: "أدخل رابط صورة الختم المخصص (اختياري)",
|
|
18025
18041
|
caption: "أدخل تسمية الختم (اختياري)",
|
|
18026
18042
|
point: "حدد نقطة إدراج الختم"
|
|
18027
18043
|
},
|
|
18028
18044
|
import: {
|
|
18029
|
-
...
|
|
18045
|
+
...F.markup.import,
|
|
18030
18046
|
chooseFile: "اختر ملف JSON جانبيًا يحتوي على علامات المراجعة"
|
|
18031
18047
|
}
|
|
18032
18048
|
},
|
|
18033
18049
|
bmpout: {
|
|
18034
|
-
...
|
|
18050
|
+
...F.bmpout,
|
|
18035
18051
|
boundsFirstCorner: "حدد الركن الأول لحدود الصورة",
|
|
18036
18052
|
boundsSecondCorner: "حدد الركن المقابل",
|
|
18037
18053
|
longSidePrompt: "أدخل حجم الضلع الأطول بالبكسل"
|
|
18038
18054
|
},
|
|
18039
18055
|
jpgout: {
|
|
18040
|
-
...
|
|
18056
|
+
...F.jpgout,
|
|
18041
18057
|
boundsFirstCorner: "حدد الركن الأول لحدود الصورة",
|
|
18042
18058
|
boundsSecondCorner: "حدد الركن المقابل",
|
|
18043
18059
|
longSidePrompt: "أدخل حجم الضلع الأطول بالبكسل"
|
|
18044
18060
|
},
|
|
18045
18061
|
pngout: {
|
|
18046
|
-
...
|
|
18062
|
+
...F.pngout,
|
|
18047
18063
|
boundsFirstCorner: "حدد الركن الأول لحدود الصورة",
|
|
18048
18064
|
boundsSecondCorner: "حدد الركن المقابل",
|
|
18049
18065
|
longSidePrompt: "أدخل حجم الضلع الأطول بالبكسل"
|
|
18050
18066
|
},
|
|
18051
18067
|
imageattach: {
|
|
18052
|
-
...
|
|
18068
|
+
...F.imageattach,
|
|
18053
18069
|
insertionPoint: "حدد نقطة الإدراج:",
|
|
18054
18070
|
scale: "حدد معامل المقياس:",
|
|
18055
18071
|
rotation: "حدد زاوية الدوران:",
|
|
@@ -18057,7 +18073,7 @@ const I = {
|
|
|
18057
18073
|
decodeFailed: "فشلت قراءة ملف الصورة المحدد."
|
|
18058
18074
|
},
|
|
18059
18075
|
insert: {
|
|
18060
|
-
...
|
|
18076
|
+
...F.insert,
|
|
18061
18077
|
blockName: "أدخل اسم الكتلة:",
|
|
18062
18078
|
insertionPoint: "حدد نقطة الإدراج:",
|
|
18063
18079
|
scale: "حدد معامل المقياس:",
|
|
@@ -18068,7 +18084,7 @@ const I = {
|
|
|
18068
18084
|
xrefNotAllowed: "لا يمكن إدراج مرجع خارجي باستخدام -INSERT."
|
|
18069
18085
|
},
|
|
18070
18086
|
xattach: {
|
|
18071
|
-
...
|
|
18087
|
+
...F.xattach,
|
|
18072
18088
|
insertionPoint: "حدد نقطة الإدراج:",
|
|
18073
18089
|
scale: "حدد معامل المقياس:",
|
|
18074
18090
|
rotation: "حدد زاوية الدوران:",
|
|
@@ -18078,7 +18094,7 @@ const I = {
|
|
|
18078
18094
|
loadFailed: "فشلت قراءة ملف الرسم المحدد."
|
|
18079
18095
|
},
|
|
18080
18096
|
revcloud: {
|
|
18081
|
-
...
|
|
18097
|
+
...F.revcloud,
|
|
18082
18098
|
firstCornerOrOptions: "حدد نقطة الركن الأول أو",
|
|
18083
18099
|
firstCorner: "حدد نقطة الركن الأول",
|
|
18084
18100
|
oppositeCorner: "حدد الركن المقابل",
|
|
@@ -18094,7 +18110,7 @@ const I = {
|
|
|
18094
18110
|
invalidArcLength: "يجب أن يكون طول القوس أكبر من 0.",
|
|
18095
18111
|
invalidObject: "لا يمكن تحويل العنصر المحدد إلى سحابة مراجعة.",
|
|
18096
18112
|
keywords: {
|
|
18097
|
-
...
|
|
18113
|
+
...F.revcloud.keywords,
|
|
18098
18114
|
arcLength: {
|
|
18099
18115
|
display: "طول القوس(A)",
|
|
18100
18116
|
local: "طول القوس",
|
|
@@ -18153,7 +18169,7 @@ const I = {
|
|
|
18153
18169
|
}
|
|
18154
18170
|
},
|
|
18155
18171
|
sketch: {
|
|
18156
|
-
...
|
|
18172
|
+
...F.sketch,
|
|
18157
18173
|
specifySketch: "حدد الرسم الحر أو",
|
|
18158
18174
|
sketching: "حرّك المؤشر للرسم (انقر أو اضغط Enter للإيقاف)",
|
|
18159
18175
|
type: "أدخل نوع الرسم الحر",
|
|
@@ -18162,7 +18178,7 @@ const I = {
|
|
|
18162
18178
|
firstPoint: "حدد النقطة الأولى",
|
|
18163
18179
|
nextPoint: "حدد نقطة النهاية",
|
|
18164
18180
|
keywords: {
|
|
18165
|
-
...
|
|
18181
|
+
...F.sketch.keywords,
|
|
18166
18182
|
type: {
|
|
18167
18183
|
display: "نوع(T)",
|
|
18168
18184
|
local: "نوع",
|
|
@@ -18196,20 +18212,21 @@ const I = {
|
|
|
18196
18212
|
}
|
|
18197
18213
|
},
|
|
18198
18214
|
sysvar: {
|
|
18199
|
-
...
|
|
18215
|
+
...F.sysvar,
|
|
18200
18216
|
prompt: "أدخل القيمة الجديدة"
|
|
18201
18217
|
},
|
|
18202
18218
|
chtml: {
|
|
18203
|
-
...
|
|
18219
|
+
...F.chtml,
|
|
18204
18220
|
exportFormat: "تنسيق التصدير",
|
|
18205
18221
|
exportInvisibleLayers: "تصدير الطبقات غير المرئية",
|
|
18206
18222
|
exportLayouts: "تصدير المخططات",
|
|
18223
|
+
background: "لون الخلفية",
|
|
18207
18224
|
initialView: "العرض الأولي عند فتح HTML",
|
|
18208
18225
|
viewerMode: "وضع العارض دون اتصال",
|
|
18209
18226
|
chunkSizeMiB: "حجم الجزء بالميبيبايت (حزمة متعددة الملفات)",
|
|
18210
18227
|
compressChunks: "ضغط الأجزاء (حزمة متعددة الملفات)",
|
|
18211
18228
|
keywords: {
|
|
18212
|
-
...
|
|
18229
|
+
...F.chtml.keywords,
|
|
18213
18230
|
single: {
|
|
18214
18231
|
display: "ملف واحد(S)",
|
|
18215
18232
|
local: "ملف واحد",
|
|
@@ -18249,16 +18266,31 @@ const I = {
|
|
|
18249
18266
|
display: "قياس(M)",
|
|
18250
18267
|
local: "قياس",
|
|
18251
18268
|
global: "Measure"
|
|
18269
|
+
},
|
|
18270
|
+
black: {
|
|
18271
|
+
display: "أسود(B)",
|
|
18272
|
+
local: "أسود",
|
|
18273
|
+
global: "Black"
|
|
18274
|
+
},
|
|
18275
|
+
white: {
|
|
18276
|
+
display: "أبيض(W)",
|
|
18277
|
+
local: "أبيض",
|
|
18278
|
+
global: "White"
|
|
18279
|
+
},
|
|
18280
|
+
space: {
|
|
18281
|
+
display: "حسب المساحة(S)",
|
|
18282
|
+
local: "حسب المساحة",
|
|
18283
|
+
global: "Space"
|
|
18252
18284
|
}
|
|
18253
18285
|
}
|
|
18254
18286
|
},
|
|
18255
18287
|
cpdf: {
|
|
18256
|
-
...
|
|
18288
|
+
...F.cpdf,
|
|
18257
18289
|
modelSpaceFit: "إطار مساحة النموذج",
|
|
18258
18290
|
exportLayouts: "تصدير المخططات",
|
|
18259
18291
|
textMode: "عرض النص",
|
|
18260
18292
|
keywords: {
|
|
18261
|
-
...
|
|
18293
|
+
...F.cpdf.keywords,
|
|
18262
18294
|
extents: {
|
|
18263
18295
|
display: "الامتدادات(E)",
|
|
18264
18296
|
local: "الامتدادات",
|
|
@@ -19090,19 +19122,19 @@ const I = {
|
|
|
19090
19122
|
}
|
|
19091
19123
|
},
|
|
19092
19124
|
dimlinear: {
|
|
19093
|
-
...
|
|
19125
|
+
...F.dimlinear,
|
|
19094
19126
|
xLine1Point: "Zadejte počátek první pomocné čáry",
|
|
19095
19127
|
xLine2Point: "Zadejte počátek druhé pomocné čáry",
|
|
19096
19128
|
dimLinePoint: "Zadejte umístění kótovací čáry"
|
|
19097
19129
|
},
|
|
19098
|
-
dimaligned: { ...
|
|
19099
|
-
dimradius: { ...
|
|
19100
|
-
dimdiameter: { ...
|
|
19101
|
-
dimangular: { ...
|
|
19102
|
-
dimarc: { ...
|
|
19103
|
-
dimordinate: { ...
|
|
19104
|
-
dimcontinue: { ...
|
|
19105
|
-
dimbaseline: { ...
|
|
19130
|
+
dimaligned: { ...F.dimaligned },
|
|
19131
|
+
dimradius: { ...F.dimradius },
|
|
19132
|
+
dimdiameter: { ...F.dimdiameter },
|
|
19133
|
+
dimangular: { ...F.dimangular },
|
|
19134
|
+
dimarc: { ...F.dimarc },
|
|
19135
|
+
dimordinate: { ...F.dimordinate },
|
|
19136
|
+
dimcontinue: { ...F.dimcontinue },
|
|
19137
|
+
dimbaseline: { ...F.dimbaseline },
|
|
19106
19138
|
ellipse: {
|
|
19107
19139
|
axisEndpointOrOptions: "Zadejte koncový bod osy elipsy nebo",
|
|
19108
19140
|
arcAxisEndpointOrCenter: "Zadejte koncový bod osy eliptického oblouku nebo",
|
|
@@ -20196,6 +20228,7 @@ const I = {
|
|
|
20196
20228
|
exportFormat: "Formát exportu",
|
|
20197
20229
|
exportInvisibleLayers: "Exportovat neviditelné hladiny",
|
|
20198
20230
|
exportLayouts: "Exportovat rozvržení",
|
|
20231
|
+
background: "Barva pozadí",
|
|
20199
20232
|
initialView: "Počáteční pohled při otevření HTML",
|
|
20200
20233
|
viewerMode: "Režim offline prohlížeče",
|
|
20201
20234
|
chunkSizeMiB: "Velikost části v MiB (vícesouborový balíček)",
|
|
@@ -20240,6 +20273,21 @@ const I = {
|
|
|
20240
20273
|
display: "Měření a kontrola(M)",
|
|
20241
20274
|
local: "Měření a kontrola",
|
|
20242
20275
|
global: "Measure"
|
|
20276
|
+
},
|
|
20277
|
+
black: {
|
|
20278
|
+
display: "Černá(B)",
|
|
20279
|
+
local: "Černá",
|
|
20280
|
+
global: "Black"
|
|
20281
|
+
},
|
|
20282
|
+
white: {
|
|
20283
|
+
display: "Bílá(W)",
|
|
20284
|
+
local: "Bílá",
|
|
20285
|
+
global: "White"
|
|
20286
|
+
},
|
|
20287
|
+
space: {
|
|
20288
|
+
display: "Prostor(S)",
|
|
20289
|
+
local: "Prostor",
|
|
20290
|
+
global: "Space"
|
|
20243
20291
|
}
|
|
20244
20292
|
}
|
|
20245
20293
|
},
|
|
@@ -21280,19 +21328,19 @@ const I = {
|
|
|
21280
21328
|
}
|
|
21281
21329
|
},
|
|
21282
21330
|
dimlinear: {
|
|
21283
|
-
...
|
|
21331
|
+
...F.dimlinear,
|
|
21284
21332
|
xLine1Point: "İlk uzatma çizgisinin başlangıç noktasını belirtin",
|
|
21285
21333
|
xLine2Point: "İkinci uzatma çizgisinin başlangıç noktasını belirtin",
|
|
21286
21334
|
dimLinePoint: "Ölçü çizgisi konumunu belirtin"
|
|
21287
21335
|
},
|
|
21288
|
-
dimaligned: { ...
|
|
21289
|
-
dimradius: { ...
|
|
21290
|
-
dimdiameter: { ...
|
|
21291
|
-
dimangular: { ...
|
|
21292
|
-
dimarc: { ...
|
|
21293
|
-
dimordinate: { ...
|
|
21294
|
-
dimcontinue: { ...
|
|
21295
|
-
dimbaseline: { ...
|
|
21336
|
+
dimaligned: { ...F.dimaligned },
|
|
21337
|
+
dimradius: { ...F.dimradius },
|
|
21338
|
+
dimdiameter: { ...F.dimdiameter },
|
|
21339
|
+
dimangular: { ...F.dimangular },
|
|
21340
|
+
dimarc: { ...F.dimarc },
|
|
21341
|
+
dimordinate: { ...F.dimordinate },
|
|
21342
|
+
dimcontinue: { ...F.dimcontinue },
|
|
21343
|
+
dimbaseline: { ...F.dimbaseline },
|
|
21296
21344
|
ellipse: {
|
|
21297
21345
|
axisEndpointOrOptions: "Elipsin eksen uç noktasını belirtin veya",
|
|
21298
21346
|
arcAxisEndpointOrCenter: "Eliptik yayın eksen uç noktasını belirtin veya",
|
|
@@ -22386,6 +22434,7 @@ const I = {
|
|
|
22386
22434
|
exportFormat: "Dışa aktarma biçimi",
|
|
22387
22435
|
exportInvisibleLayers: "Görünmez katmanları dışa aktar",
|
|
22388
22436
|
exportLayouts: "Yerleşimleri dışa aktar",
|
|
22437
|
+
background: "Arka plan rengi",
|
|
22389
22438
|
initialView: "HTML açılırken başlangıç görünümü",
|
|
22390
22439
|
viewerMode: "Çevrimdışı görüntüleyici modu",
|
|
22391
22440
|
chunkSizeMiB: "Parça boyutu (MiB, çok dosyalı paket)",
|
|
@@ -22430,6 +22479,21 @@ const I = {
|
|
|
22430
22479
|
display: "Ölçüm ve İnceleme(Ö)",
|
|
22431
22480
|
local: "Ölçüm ve İnceleme",
|
|
22432
22481
|
global: "Measure"
|
|
22482
|
+
},
|
|
22483
|
+
black: {
|
|
22484
|
+
display: "Siyah(B)",
|
|
22485
|
+
local: "Siyah",
|
|
22486
|
+
global: "Black"
|
|
22487
|
+
},
|
|
22488
|
+
white: {
|
|
22489
|
+
display: "Beyaz(W)",
|
|
22490
|
+
local: "Beyaz",
|
|
22491
|
+
global: "White"
|
|
22492
|
+
},
|
|
22493
|
+
space: {
|
|
22494
|
+
display: "Alan(S)",
|
|
22495
|
+
local: "Alan",
|
|
22496
|
+
global: "Space"
|
|
22433
22497
|
}
|
|
22434
22498
|
}
|
|
22435
22499
|
},
|
|
@@ -24521,6 +24585,7 @@ const I = {
|
|
|
24521
24585
|
exportFormat: "导出格式",
|
|
24522
24586
|
exportInvisibleLayers: "是否导出不可见图层",
|
|
24523
24587
|
exportLayouts: "是否导出布局",
|
|
24588
|
+
background: "背景颜色",
|
|
24524
24589
|
initialView: "打开 HTML 时的初始视图",
|
|
24525
24590
|
viewerMode: "离线查看器模式",
|
|
24526
24591
|
chunkSizeMiB: "每个分片大小(MiB,多文件包)",
|
|
@@ -24565,6 +24630,21 @@ const I = {
|
|
|
24565
24630
|
display: "测量与批注(M)",
|
|
24566
24631
|
local: "测量与批注",
|
|
24567
24632
|
global: "Measure"
|
|
24633
|
+
},
|
|
24634
|
+
black: {
|
|
24635
|
+
display: "黑色(B)",
|
|
24636
|
+
local: "黑色",
|
|
24637
|
+
global: "Black"
|
|
24638
|
+
},
|
|
24639
|
+
white: {
|
|
24640
|
+
display: "白色(W)",
|
|
24641
|
+
local: "白色",
|
|
24642
|
+
global: "White"
|
|
24643
|
+
},
|
|
24644
|
+
space: {
|
|
24645
|
+
display: "随空间(S)",
|
|
24646
|
+
local: "随空间",
|
|
24647
|
+
global: "Space"
|
|
24568
24648
|
}
|
|
24569
24649
|
}
|
|
24570
24650
|
},
|
|
@@ -24799,7 +24879,7 @@ const I = {
|
|
|
24799
24879
|
};
|
|
24800
24880
|
h.mergeLocaleMessage("en", {
|
|
24801
24881
|
command: I,
|
|
24802
|
-
jig:
|
|
24882
|
+
jig: F,
|
|
24803
24883
|
main: Sx
|
|
24804
24884
|
});
|
|
24805
24885
|
h.mergeLocaleMessage("zh", {
|
|
@@ -25741,11 +25821,11 @@ const kA = rn(
|
|
|
25741
25821
|
`<g fill="none" stroke-linejoin="miter"><path stroke="currentColor" stroke-width="1.5" stroke-linecap="butt" d="M4.9 11.6A8.3 8.3 0 0 1 13.2 3.3"/><path stroke="currentColor" stroke-width="1.35" stroke-linecap="square" d="M10.4 11.6H13.2V8.8"/><path stroke="currentColor" stroke-width="1.35" stroke-linecap="butt" d="M13.2 11.6v1.7"/><rect stroke="${ae}" stroke-width="1.15" x="3.65" y="10.35" width="2.5" height="2.5"/><rect stroke="${ae}" stroke-width="1.15" x="11.95" y="2.05" width="2.5" height="2.5"/></g>`
|
|
25742
25822
|
), LA = rn(
|
|
25743
25823
|
`<circle fill="none" stroke="${ae}" stroke-width="1.4" cx="9.1" cy="7.3" r="4.7"/><circle fill="${ae}" cx="9.1" cy="7.3" r="1.05"/><path fill="none" stroke="${ae}" stroke-width="1.35" stroke-linecap="round" d="M9.1 7.3 13.35 3.7"/><path fill="${ae}" d="M13.35 3.7 11.15 4.2 12.55 5.7Z"/>`
|
|
25744
|
-
),
|
|
25824
|
+
), Bx = rn(
|
|
25745
25825
|
`<g fill="none" stroke="${ae}" stroke-linecap="round" stroke-linejoin="round"><path stroke-width="1.4" d="M4 4.8v7.4h7.6"/><path stroke-width="1.2" stroke-dasharray="1.7 1.2" d="M4 6.9h7M11 12.2V6.9"/></g><path fill="${ae}" d="M4 2.5 2.45 4.8h3.1ZM13.8 12.2 11.5 10.7v3Z"/><circle fill="${ae}" cx="11" cy="6.9" r="1.3"/>`
|
|
25746
|
-
), Im = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512" fill="currentColor" aria-hidden="true"><path d="M 459.5 0 L 475.5 0 L 476.5 1 L 479.5 1 L 485.5 3 Q 487.8 6.2 492.5 7 L 501 14.5 L 505 19.5 L 511 32.5 Q 510.2 35.8 512 36.5 L 512 52.5 L 511 53.5 L 511 56.5 L 509 62.5 L 506 68.5 L 493 89.5 L 483 108.5 L 478 115.5 L 472 127.5 L 467 134.5 L 457 153.5 L 452 160.5 L 442 179.5 L 437 186.5 L 431 198.5 L 440 213.5 L 440 215.5 L 443 220.5 L 447 232.5 L 448 240.5 L 449 241.5 L 449 245.5 L 450 246.5 L 450 254.5 L 451 255.5 L 451 274.5 L 450 275.5 L 450 283.5 L 449 284.5 L 449 289.5 L 448 290.5 L 448 294.5 L 447 295.5 L 446 302.5 L 442 314.5 L 438 322.5 L 438 324.5 L 428 345.5 L 428 347.5 L 425 352.5 L 422 361.5 L 418 368.5 L 418 370.5 L 415 375.5 L 412 384.5 L 408 391.5 L 408 393.5 L 405 398.5 L 402 407.5 L 398 414.5 L 395 423.5 L 391 430.5 L 391 432.5 L 381 453.5 L 381 455.5 L 378 460.5 L 375 469.5 L 371 476.5 L 368 485.5 L 361.5 497 L 353.5 501 L 348.5 501 L 347.5 500 L 344.5 500 L 329.5 495 L 326.5 493 L 321.5 492 L 318.5 490 L 303.5 485 L 289.5 478 L 287.5 478 L 282 473.5 L 279 467.5 L 279 459.5 L 280 458.5 L 280 455.5 L 281 454.5 L 281 451.5 L 282 450.5 L 283 442.5 L 284 441.5 L 286 431.5 L 285.5 431 L 281.5 435 L 259.5 455 L 255.5 457 L 246.5 457 L 223.5 444 L 189.5 421 L 155.5 394 L 133 373.5 L 130 367.5 L 130 359.5 L 134 352.5 L 223 233.5 L 242 206.5 L 254.5 192 L 271.5 177 L 285.5 168 L 299.5 161 L 314.5 156 L 317.5 156 L 318.5 155 L 330.5 154 L 331.5 153 L 352.5 153 L 354 151.5 L 356 146.5 L 372 120.5 L 374 115.5 L 387 94.5 L 397 75.5 L 402 68.5 L 408 56.5 L 413 49.5 L 423 30.5 L 431 17.5 L 439.5 9 L 449.5 3 L 455.5 1 L 458.5 1 L 459.5 0 Z M 466 30 L 459 33 L 454 39 L 448 51 L 443 58 L 433 77 L 428 84 L 414 110 L 409 117 L 407 122 L 405 124 L 403 129 L 401 131 L 399 136 L 384 161 L 386 162 L 388 162 L 396 166 L 409 175 L 422 153 L 424 148 L 429 141 L 431 136 L 433 134 L 435 129 L 437 127 L 439 122 L 444 115 L 454 96 L 459 89 L 469 70 L 474 63 L 482 47 L 482 43 L 480 38 L 475 32 L 469 30 L 466 30 Z M 333 183 L 332 184 L 328 184 L 327 185 L 324 185 L 323 186 L 320 186 L 314 188 L 300 195 L 286 205 L 271 220 L 267 225 L 266 228 L 410 310 L 412 307 L 412 305 L 416 296 L 418 285 L 419 284 L 419 279 L 420 278 L 420 252 L 419 251 L 419 246 L 417 241 L 417 238 L 411 224 L 402 211 L 389 198 L 371 188 L 362 185 L 352 184 L 351 183 L 333 183 Z M 248 252 L 195 322 L 193 326 L 172 353 L 167 361 L 194 384 L 228 409 L 249 422 L 256 417 L 303 372 L 310 368 L 318 368 L 322 370 L 328 378 Q 327 381 329 382 L 329 386 L 326 395 L 326 399 L 323 408 L 323 411 L 322 412 L 322 416 L 319 425 L 319 428 L 318 429 L 318 432 L 317 433 L 317 437 L 314 446 L 314 449 L 313 450 L 313 453 L 312 454 L 316 456 L 318 456 L 331 462 L 343 466 L 351 448 L 351 446 L 354 441 L 354 439 L 357 434 L 357 432 L 364 418 L 364 416 L 367 411 L 367 409 L 370 404 L 370 402 L 377 388 L 377 386 L 380 381 L 380 379 L 383 374 L 383 372 L 387 365 L 390 356 L 393 351 L 393 349 L 396 344 L 397 339 L 375 326 L 373 324 L 368 322 L 366 320 L 361 318 L 354 313 L 349 311 L 347 309 L 342 307 L 340 305 L 335 303 L 321 294 L 316 292 L 314 290 L 309 288 L 307 286 L 302 284 L 295 279 L 276 269 L 248 252 Z "/><path d="M 170.5 100 L 179.5 100 Q 185 102 188 106.5 L 190 110.5 L 190 134.5 L 184.5 142 L 177.5 145 L 171.5 145 L 166.5 143 L 162 138.5 L 159 129.5 L 159 115.5 L 160 114.5 Q 159.2 109.7 161 107.5 L 166.5 102 L 170.5 100 Z "/><path d="M 131.5 140 L 151.5 140 L 156.5 142 L 162 147.5 L 164 151.5 L 164 159.5 L 163 162.5 L 158.5 168 L 152.5 171 L 130.5 171 L 124.5 168 L 122 165.5 L 119 159.5 L 119 151.5 Q 121.3 145.3 126.5 142 L 131.5 140 Z "/><path d="M 197.5 140 L 218.5 140 L 223.5 142 L 228 146.5 L 231 152.5 L 231 158.5 L 229 163.5 L 223.5 169 L 218.5 171 L 197.5 171 L 192.5 169 L 188 164.5 L 186 160.5 L 185 153.5 L 188 146.5 L 191.5 143 L 197.5 140 Z "/><path d="M 171.5 166 L 177.5 166 L 180.5 167 L 187 171.5 L 190 176.5 L 190 200.5 Q 188 206 183.5 209 L 179.5 211 L 173.5 212 L 167.5 210 L 161 203.5 Q 159.2 201.3 160 196.5 L 159 195.5 L 159 181.5 L 162 172.5 L 165.5 169 L 171.5 166 Z "/><path d="M 50.5 223 L 60.5 223 L 68 228.5 L 71 234.5 L 71 256.5 Q 69.1 262.6 64.5 266 L 59.5 268 L 51.5 268 Q 45.3 265.7 42 260.5 L 40 255.5 L 40 235.5 L 42 230.5 L 48.5 224 L 50.5 223 Z "/><path d="M 13.5 263 L 30.5 263 Q 31.5 265 35.5 264 L 43 270.5 L 45 274.5 L 45 282.5 Q 43.1 288.6 38.5 292 L 33.5 294 L 10.5 294 Q 5 292 2 287.5 L 0 283.5 L 0 274.5 Q 2.3 268.3 7.5 265 L 13.5 263 Z "/><path d="M 80.5 263 L 97.5 263 L 103.5 265 L 108 268.5 L 111 273.5 L 112 279.5 L 109 287.5 L 104.5 292 L 100.5 294 L 77.5 294 Q 71.3 291.7 68 286.5 L 66 281.5 L 66 276.5 L 69 269.5 L 72.5 266 L 80.5 263 Z "/><path d="M 54.5 289 L 61.5 290 L 69 296.5 L 71 301.5 L 71 322.5 L 69 327.5 L 63.5 333 L 58.5 335 L 53.5 335 L 46.5 332 L 43 328.5 L 40 321.5 L 40 302.5 Q 41.8 301.8 41 298.5 L 46.5 292 L 54.5 289 Z "/><path d="M 98.5 400 L 107.5 402 L 113 407.5 L 115 411.5 L 115 434.5 Q 112.7 440.7 107.5 444 L 101.5 446 L 96.5 446 L 90.5 443 L 87 439.5 L 84 430.5 L 84 415.5 L 85 414.5 Q 84.3 410.3 86 408.5 L 92.5 402 L 98.5 400 Z "/><path d="M 55.5 441 L 77.5 441 L 80.5 442 L 86 446.5 L 89 451.5 L 89 460.5 Q 86.7 466.7 81.5 470 L 76.5 472 L 56.5 472 L 51.5 470 L 46 464.5 L 44 460.5 L 44 452.5 L 45 449.5 L 49.5 444 L 55.5 441 Z "/><path d="M 121.5 441 L 144.5 441 Q 150.7 443.3 154 448.5 L 156 453.5 L 156 458.5 L 154 464.5 L 148.5 470 L 146.5 470 L 143.5 472 L 122.5 472 L 116.5 469 L 113 465.5 L 111 461.5 L 110 455.5 Q 112 454.5 111 450.5 L 117.5 443 L 121.5 441 Z "/><path d="M 96.5 467 L 103.5 467 L 106.5 468 L 113 473.5 L 115 478.5 L 115 501.5 Q 113 507 108.5 510 L 104.5 512 L 95.5 512 Q 89.3 509.7 86 504.5 Q 84.3 502.7 85 498.5 L 84 497.5 L 84 482.5 L 87 473.5 L 91.5 469 L 96.5 467 Z "/></svg>', EA = Im, MA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><rect x="3" y="3" width="7" height="7" fill="currentColor"/><rect x="14" y="14" width="7" height="7" fill="none" stroke="currentColor" stroke-width="1"/><path d="M12 4a8 8 0 0 1 7.25 7.25" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round"/><path d="M20.75 10 L17.25 10 L19 12.5 Z" fill="currentColor"/><path d="M12 20a8 8 0 0 1-8-8" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round"/><path d="M6 14 L2.5 14 L4 11 Z" fill="currentColor"/></svg>', AA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="2.5" y="2.5" width="15" height="15" rx="1.5" fill="#fff" stroke="currentColor" stroke-width="1.2"/><g fill="none" stroke="#000" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"><path d="M5.5 6.5h4.5M5.5 10h7M5.5 13.5h9"/><path d="M13.25 6.5v4.25h-3.25"/></g></svg>', IA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20" fill="none" style="fill:none"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12.4 3.25H5.5A2.25 2.25 0 0 0 3.25 5.5v9A2.25 2.25 0 0 0 5.5 16.75h9A2.25 2.25 0 0 0 16.75 14.5V8.6"/><g transform="rotate(45 13.2 6.7)"><rect x="11.7" y="1.55" width="3" height="7.45" rx="1.45"/><path d="M11.7 3.2h3"/><path d="M11.7 9 13.2 12.15 14.7 9"/><rect x="12.8" y="7.05" width="0.8" height="1.2" rx="0.4"/></g></g></svg>',
|
|
25826
|
+
), Im = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512" fill="currentColor" aria-hidden="true"><path d="M 459.5 0 L 475.5 0 L 476.5 1 L 479.5 1 L 485.5 3 Q 487.8 6.2 492.5 7 L 501 14.5 L 505 19.5 L 511 32.5 Q 510.2 35.8 512 36.5 L 512 52.5 L 511 53.5 L 511 56.5 L 509 62.5 L 506 68.5 L 493 89.5 L 483 108.5 L 478 115.5 L 472 127.5 L 467 134.5 L 457 153.5 L 452 160.5 L 442 179.5 L 437 186.5 L 431 198.5 L 440 213.5 L 440 215.5 L 443 220.5 L 447 232.5 L 448 240.5 L 449 241.5 L 449 245.5 L 450 246.5 L 450 254.5 L 451 255.5 L 451 274.5 L 450 275.5 L 450 283.5 L 449 284.5 L 449 289.5 L 448 290.5 L 448 294.5 L 447 295.5 L 446 302.5 L 442 314.5 L 438 322.5 L 438 324.5 L 428 345.5 L 428 347.5 L 425 352.5 L 422 361.5 L 418 368.5 L 418 370.5 L 415 375.5 L 412 384.5 L 408 391.5 L 408 393.5 L 405 398.5 L 402 407.5 L 398 414.5 L 395 423.5 L 391 430.5 L 391 432.5 L 381 453.5 L 381 455.5 L 378 460.5 L 375 469.5 L 371 476.5 L 368 485.5 L 361.5 497 L 353.5 501 L 348.5 501 L 347.5 500 L 344.5 500 L 329.5 495 L 326.5 493 L 321.5 492 L 318.5 490 L 303.5 485 L 289.5 478 L 287.5 478 L 282 473.5 L 279 467.5 L 279 459.5 L 280 458.5 L 280 455.5 L 281 454.5 L 281 451.5 L 282 450.5 L 283 442.5 L 284 441.5 L 286 431.5 L 285.5 431 L 281.5 435 L 259.5 455 L 255.5 457 L 246.5 457 L 223.5 444 L 189.5 421 L 155.5 394 L 133 373.5 L 130 367.5 L 130 359.5 L 134 352.5 L 223 233.5 L 242 206.5 L 254.5 192 L 271.5 177 L 285.5 168 L 299.5 161 L 314.5 156 L 317.5 156 L 318.5 155 L 330.5 154 L 331.5 153 L 352.5 153 L 354 151.5 L 356 146.5 L 372 120.5 L 374 115.5 L 387 94.5 L 397 75.5 L 402 68.5 L 408 56.5 L 413 49.5 L 423 30.5 L 431 17.5 L 439.5 9 L 449.5 3 L 455.5 1 L 458.5 1 L 459.5 0 Z M 466 30 L 459 33 L 454 39 L 448 51 L 443 58 L 433 77 L 428 84 L 414 110 L 409 117 L 407 122 L 405 124 L 403 129 L 401 131 L 399 136 L 384 161 L 386 162 L 388 162 L 396 166 L 409 175 L 422 153 L 424 148 L 429 141 L 431 136 L 433 134 L 435 129 L 437 127 L 439 122 L 444 115 L 454 96 L 459 89 L 469 70 L 474 63 L 482 47 L 482 43 L 480 38 L 475 32 L 469 30 L 466 30 Z M 333 183 L 332 184 L 328 184 L 327 185 L 324 185 L 323 186 L 320 186 L 314 188 L 300 195 L 286 205 L 271 220 L 267 225 L 266 228 L 410 310 L 412 307 L 412 305 L 416 296 L 418 285 L 419 284 L 419 279 L 420 278 L 420 252 L 419 251 L 419 246 L 417 241 L 417 238 L 411 224 L 402 211 L 389 198 L 371 188 L 362 185 L 352 184 L 351 183 L 333 183 Z M 248 252 L 195 322 L 193 326 L 172 353 L 167 361 L 194 384 L 228 409 L 249 422 L 256 417 L 303 372 L 310 368 L 318 368 L 322 370 L 328 378 Q 327 381 329 382 L 329 386 L 326 395 L 326 399 L 323 408 L 323 411 L 322 412 L 322 416 L 319 425 L 319 428 L 318 429 L 318 432 L 317 433 L 317 437 L 314 446 L 314 449 L 313 450 L 313 453 L 312 454 L 316 456 L 318 456 L 331 462 L 343 466 L 351 448 L 351 446 L 354 441 L 354 439 L 357 434 L 357 432 L 364 418 L 364 416 L 367 411 L 367 409 L 370 404 L 370 402 L 377 388 L 377 386 L 380 381 L 380 379 L 383 374 L 383 372 L 387 365 L 390 356 L 393 351 L 393 349 L 396 344 L 397 339 L 375 326 L 373 324 L 368 322 L 366 320 L 361 318 L 354 313 L 349 311 L 347 309 L 342 307 L 340 305 L 335 303 L 321 294 L 316 292 L 314 290 L 309 288 L 307 286 L 302 284 L 295 279 L 276 269 L 248 252 Z "/><path d="M 170.5 100 L 179.5 100 Q 185 102 188 106.5 L 190 110.5 L 190 134.5 L 184.5 142 L 177.5 145 L 171.5 145 L 166.5 143 L 162 138.5 L 159 129.5 L 159 115.5 L 160 114.5 Q 159.2 109.7 161 107.5 L 166.5 102 L 170.5 100 Z "/><path d="M 131.5 140 L 151.5 140 L 156.5 142 L 162 147.5 L 164 151.5 L 164 159.5 L 163 162.5 L 158.5 168 L 152.5 171 L 130.5 171 L 124.5 168 L 122 165.5 L 119 159.5 L 119 151.5 Q 121.3 145.3 126.5 142 L 131.5 140 Z "/><path d="M 197.5 140 L 218.5 140 L 223.5 142 L 228 146.5 L 231 152.5 L 231 158.5 L 229 163.5 L 223.5 169 L 218.5 171 L 197.5 171 L 192.5 169 L 188 164.5 L 186 160.5 L 185 153.5 L 188 146.5 L 191.5 143 L 197.5 140 Z "/><path d="M 171.5 166 L 177.5 166 L 180.5 167 L 187 171.5 L 190 176.5 L 190 200.5 Q 188 206 183.5 209 L 179.5 211 L 173.5 212 L 167.5 210 L 161 203.5 Q 159.2 201.3 160 196.5 L 159 195.5 L 159 181.5 L 162 172.5 L 165.5 169 L 171.5 166 Z "/><path d="M 50.5 223 L 60.5 223 L 68 228.5 L 71 234.5 L 71 256.5 Q 69.1 262.6 64.5 266 L 59.5 268 L 51.5 268 Q 45.3 265.7 42 260.5 L 40 255.5 L 40 235.5 L 42 230.5 L 48.5 224 L 50.5 223 Z "/><path d="M 13.5 263 L 30.5 263 Q 31.5 265 35.5 264 L 43 270.5 L 45 274.5 L 45 282.5 Q 43.1 288.6 38.5 292 L 33.5 294 L 10.5 294 Q 5 292 2 287.5 L 0 283.5 L 0 274.5 Q 2.3 268.3 7.5 265 L 13.5 263 Z "/><path d="M 80.5 263 L 97.5 263 L 103.5 265 L 108 268.5 L 111 273.5 L 112 279.5 L 109 287.5 L 104.5 292 L 100.5 294 L 77.5 294 Q 71.3 291.7 68 286.5 L 66 281.5 L 66 276.5 L 69 269.5 L 72.5 266 L 80.5 263 Z "/><path d="M 54.5 289 L 61.5 290 L 69 296.5 L 71 301.5 L 71 322.5 L 69 327.5 L 63.5 333 L 58.5 335 L 53.5 335 L 46.5 332 L 43 328.5 L 40 321.5 L 40 302.5 Q 41.8 301.8 41 298.5 L 46.5 292 L 54.5 289 Z "/><path d="M 98.5 400 L 107.5 402 L 113 407.5 L 115 411.5 L 115 434.5 Q 112.7 440.7 107.5 444 L 101.5 446 L 96.5 446 L 90.5 443 L 87 439.5 L 84 430.5 L 84 415.5 L 85 414.5 Q 84.3 410.3 86 408.5 L 92.5 402 L 98.5 400 Z "/><path d="M 55.5 441 L 77.5 441 L 80.5 442 L 86 446.5 L 89 451.5 L 89 460.5 Q 86.7 466.7 81.5 470 L 76.5 472 L 56.5 472 L 51.5 470 L 46 464.5 L 44 460.5 L 44 452.5 L 45 449.5 L 49.5 444 L 55.5 441 Z "/><path d="M 121.5 441 L 144.5 441 Q 150.7 443.3 154 448.5 L 156 453.5 L 156 458.5 L 154 464.5 L 148.5 470 L 146.5 470 L 143.5 472 L 122.5 472 L 116.5 469 L 113 465.5 L 111 461.5 L 110 455.5 Q 112 454.5 111 450.5 L 117.5 443 L 121.5 441 Z "/><path d="M 96.5 467 L 103.5 467 L 106.5 468 L 113 473.5 L 115 478.5 L 115 501.5 Q 113 507 108.5 510 L 104.5 512 L 95.5 512 Q 89.3 509.7 86 504.5 Q 84.3 502.7 85 498.5 L 84 497.5 L 84 482.5 L 87 473.5 L 91.5 469 L 96.5 467 Z "/></svg>', EA = Im, MA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><rect x="3" y="3" width="7" height="7" fill="currentColor"/><rect x="14" y="14" width="7" height="7" fill="none" stroke="currentColor" stroke-width="1"/><path d="M12 4a8 8 0 0 1 7.25 7.25" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round"/><path d="M20.75 10 L17.25 10 L19 12.5 Z" fill="currentColor"/><path d="M12 20a8 8 0 0 1-8-8" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round"/><path d="M6 14 L2.5 14 L4 11 Z" fill="currentColor"/></svg>', AA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="2.5" y="2.5" width="15" height="15" rx="1.5" fill="#fff" stroke="currentColor" stroke-width="1.2"/><g fill="none" stroke="#000" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"><path d="M5.5 6.5h4.5M5.5 10h7M5.5 13.5h9"/><path d="M13.25 6.5v4.25h-3.25"/></g></svg>', IA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20" fill="none" style="fill:none"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12.4 3.25H5.5A2.25 2.25 0 0 0 3.25 5.5v9A2.25 2.25 0 0 0 5.5 16.75h9A2.25 2.25 0 0 0 16.75 14.5V8.6"/><g transform="rotate(45 13.2 6.7)"><rect x="11.7" y="1.55" width="3" height="7.45" rx="1.45"/><path d="M11.7 3.2h3"/><path d="M11.7 9 13.2 12.15 14.7 9"/><rect x="12.8" y="7.05" width="0.8" height="1.2" rx="0.4"/></g></g></svg>', Fx = '<path fill="none" stroke="currentColor" stroke-width="1.35" stroke-linecap="butt" stroke-linejoin="miter" d="M2.6 6.8v8.5h5.2l2.2 2.4 2.2-2.4h5.2"/>', Tm = '<g fill="none" stroke="currentColor" stroke-width="1.2" stroke-linejoin="round" transform="rotate(46 14.8 9)"><rect x="13.65" y="4.7" width="2.3" height="5.6" rx="1.05"/><path d="M13.65 10.3 14.8 12.9 15.95 10.3"/></g>';
|
|
25747
25827
|
function is(s) {
|
|
25748
|
-
return `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20">${
|
|
25828
|
+
return `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20">${Fx}${s}</svg>`;
|
|
25749
25829
|
}
|
|
25750
25830
|
const Rx = is(
|
|
25751
25831
|
'<path fill="currentColor" d="M6.4 12.2c-1.85 0-3.3-1.25-3.3-2.85 0-1.35.95-2.5 2.3-2.8.45-1.7 1.95-2.85 3.7-2.85 1.25 0 2.35.55 3.05 1.45.55-.7 1.45-1.15 2.5-1.15 1.85 0 3.25 1.3 3.25 2.95 0 .3-.05.55-.1.8 1.2.4 2.05 1.4 2.05 2.65 0 1.55-1.5 2.8-3.4 2.8H6.4Z"/>'
|
|
@@ -25759,14 +25839,14 @@ const Rx = is(
|
|
|
25759
25839
|
'<path fill="currentColor" fill-rule="evenodd" d="M10 2.2 15.3 13.1h-2.2l-1.05-2.95H7.95L6.9 13.1H4.7L10 2.2Zm0 3.4-1.15 3.2h2.3L10 5.6Z"/>'
|
|
25760
25840
|
), DA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" d="M4 16 16 4"/><circle cx="4" cy="16" r="1.6" fill="currentColor"/><circle cx="16" cy="4" r="1.6" fill="currentColor"/></svg>', NA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="3" y="5.5" width="14" height="9" rx="1.5" fill="currentColor" fill-opacity="0.28" stroke="currentColor" stroke-width="1.5"/></svg>', zA = is(
|
|
25761
25841
|
'<g transform="rotate(-40 10 7.6)" fill="currentColor"><path d="M3.5 6.75h9V5.15L16.7 7.6 12.5 10.05V8.45h-9Z"/></g>'
|
|
25762
|
-
),
|
|
25842
|
+
), BA = zc(
|
|
25763
25843
|
"M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z"
|
|
25764
|
-
), Hx = `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="3.5" y="3" width="13" height="14" rx="1.5" fill="none" stroke="currentColor" stroke-width="1.5"/><path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" d="M3.5 6.5h13"/><path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" d="M6.5 9.5h7M6.5 12h7M6.5 14.5h3.2"/><g fill="none" stroke="${ae}" stroke-width="1.7" stroke-linecap="round"><circle cx="14.5" cy="14.7" r="4.2"/><path d="M17.5 17.7 19.5 19.7"/></g></svg>`,
|
|
25844
|
+
), Hx = `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="3.5" y="3" width="13" height="14" rx="1.5" fill="none" stroke="currentColor" stroke-width="1.5"/><path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" d="M3.5 6.5h13"/><path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" d="M6.5 9.5h7M6.5 12h7M6.5 14.5h3.2"/><g fill="none" stroke="${ae}" stroke-width="1.7" stroke-linecap="round"><circle cx="14.5" cy="14.7" r="4.2"/><path d="M17.5 17.7 19.5 19.7"/></g></svg>`, FA = Hx, RA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20" fill="none" aria-hidden="true"><path stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round" d="M4.5 2h6.4L15.5 6.6V16.5A1.5 1.5 0 0 1 14 18H4.5A1.5 1.5 0 0 1 3 16.5V3.5A1.5 1.5 0 0 1 4.5 2z"/><path stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round" d="M10.9 2v4.6h4.6"/><path stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="M10 5.8v6M7.2 9.6 10 12.5l2.8-2.9"/></svg>', jA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 00-1.883 2.542l.857 6a2.25 2.25 0 002.227 1.932H19.05a2.25 2.25 0 002.227-1.932l.857-6a2.25 2.25 0 00-1.883-2.542m-16.5 0V6A2.25 2.25 0 016 3.75h3.879a1.5 1.5 0 011.06.44l2.122 2.12a1.5 1.5 0 001.06.44H18A2.25 2.25 0 0120.25 9v.776"/></svg>', Wx = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20" fill="none" aria-hidden="true"><path stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round" d="M15.5 2H9.1L4.5 6.6V16.5A1.5 1.5 0 0 0 6 18h9.5A1.5 1.5 0 0 0 17 16.5V3.5A1.5 1.5 0 0 0 15.5 2z"/><path stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round" d="M9.1 2v4.6H4.5"/><path stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="M10 14.2V8M7.2 10.4 10 7.5l2.8 2.9"/></svg>', VA = Im, Gx = zc(
|
|
25765
25845
|
"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"
|
|
25766
25846
|
), $x = zc(
|
|
25767
25847
|
"M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176S0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6q-43.2 72-153.6 172.8c-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176S1024 528 1024 512s-48.001-73.6-134.401-176",
|
|
25768
25848
|
"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112s-67.2 48-112 48"
|
|
25769
|
-
), HA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="m18.5 10 4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301 14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725 16.676 16.676 0 0 1 3.524 17.273l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877 16.165 16.165 0 0 0 11.91 6.001L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z"/></svg>', WA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><circle cx="10" cy="10" r="4" fill="currentColor"/><path fill="none" stroke="currentColor" stroke-width="1.5" d="M10 2v2M10 16v2M2 10h2M16 10h2M4.2 4.2l1.4 1.4M14.4 14.4l1.4 1.4M4.2 15.8l1.4-1.4M14.4 5.6l1.4-1.4"/></svg>', GA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M10 3a7 7 0 1 0 0 14 9 9 0 0 1 0-14Z"/></svg>', $A = Wx, UA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M4 3h12v14H4V3Zm2 2v2h8V5H6Zm0 4v6h8V9H6Z"/></svg>', KA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M5 3h7l3 3v11H5V3Zm6 0v3h3"/><text x="6" y="16" fill="currentColor" font-size="5" font-family="Arial">PDF</text></svg>', YA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="none" stroke="currentColor" stroke-width="1.5" d="M4 4h12v12H4z"/><circle cx="8" cy="10" r="2" fill="currentColor"/></svg>', ZA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="3" y="3" width="14" height="14" rx="1.5" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="15" y="5" width="1.5" height="10" rx=".5" fill="currentColor"/></svg>', XA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="3" y="3" width="14" height="3" rx=".5" fill="currentColor"/><rect x="5" y="8" width="10" height="9" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/></svg>', qA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="5" y="3" width="10" height="9" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="3" y="14" width="14" height="3" rx=".5" fill="currentColor"/></svg>', JA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="3" y="3" width="3" height="14" rx=".5" fill="currentColor"/><rect x="8" y="5" width="9" height="10" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/></svg>', QA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="5" y="5" width="9" height="10" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="14" y="3" width="3" height="14" rx=".5" fill="currentColor"/></svg>', eI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" d="M5 5l10 10M15 5 5 15"/></svg>', tI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><circle cx="10" cy="4" r="1.5" fill="currentColor"/><circle cx="10" cy="10" r="1.5" fill="currentColor"/><circle cx="10" cy="16" r="1.5" fill="currentColor"/></svg>', Ux = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill="currentColor" d="M10 6.5 5.5 11h9L10 6.5Z"/></svg>', Kx = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill="currentColor" d="M10 13.5 14.5 9h-9L10 13.5Z"/></svg>', Om = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill="currentColor" d="M13.5 10 9 14.5V5.5L13.5 10Z"/></svg>', Dm = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill="currentColor" d="M6.5 10 11 14.5V5.5L6.5 10Z"/></svg>', iI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M10 2.6 18 9.8h-2.1V17h-4.4v-4.4H8.5V17H4.1V9.8H2L10 2.6Zm0 1.8L5.3 9.8V15.8h2V11.4h5.4v4.4h2V9.8L10 4.4Z"/></svg>', nI = `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20">${Am}<path fill="${ae}" d="M14.85 0.85 15.95 4.05 19.15 5.15 15.95 6.25 14.85 9.45 13.75 6.25 10.55 5.15 13.75 4.05Z"/><path fill="${ae}" d="M17.55 8.35 18.15 10.15 19.95 10.75 18.15 11.35 17.55 13.15 16.95 11.35 15.15 10.75 16.95 10.15Z"/></svg>`, sI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M8.08 2.1h3.84l.32 1.52a6.4 6.4 0 0 1 1.36.78l1.48-.64 1.92 1.92-.64 1.48c.3.42.54.88.78 1.36l1.52.32v3.84l-1.52.32a6.4 6.4 0 0 1-.78 1.36l.64 1.48-1.92 1.92-1.48-.64a6.4 6.4 0 0 1-1.36.78l-.32 1.52H8.08l-.32-1.52a6.4 6.4 0 0 1-1.36-.78l-1.48.64-1.92-1.92.64-1.48a6.4 6.4 0 0 1-.78-1.36L1.34 11.92V8.08l1.52-.32c.24-.48.48-.94.78-1.36l-.64-1.48 1.92-1.92 1.48.64c.42-.3.88-.54 1.36-.78L8.08 2.1ZM10 7.2A2.8 2.8 0 1 0 10 12.8 2.8 2.8 0 0 0 10 7.2Z"/></svg>', oI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="none" stroke="currentColor" stroke-width="1.5" d="M10 2.5v6M7 5.5h6"/><circle cx="10" cy="14.5" r="3.2" fill="none" stroke="currentColor" stroke-width="1.5"/><circle cx="10" cy="14.5" r="1.1" fill="currentColor"/></svg>', rI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M10.09 3.53 16.09 6.97 10.09 10.29 4.18 7 10.09 3.56M10.09 2.4 2.17 7 3.31 7.65 10.09 11.45 17 7.62 18.17 7 10.08 2.37 10.09 2.4Z"/><path fill="currentColor" d="M10.25 14.83 18.17 10.22 17 9.57 10.22 13.57 3.32 9.59 2.17 10.22 10.25 14.83Z"/><path fill="currentColor" d="M10.25 17.63 18.17 13 17 12.37 10.22 16.37 3.32 12.38 2.17 13 10.25 17.63Z"/></svg>', aI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M10.09 5.15 16.09 8.59 10.09 11.91 4.18 8.59 10.09 5.15ZM10.09 4 2.17 8.61 3.31 9.25 10.09 13.06 17 9.24 18.16 8.61 10.08 4 10.09 4Z"/><path fill="currentColor" d="M10.25 16.46 18.17 11.85 17 11.2 10.22 15.2 3.32 11.21 2.17 11.85 10.25 16.46Z"/><path fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" d="M3.5 3.5 16.5 16.5"/></svg>', lI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M2.25 2.25h4.878v4.878H2.25V2.25Zm.978.978v2.924h2.924V3.228H3.228Z"/><path fill="currentColor" d="M5.175 20.773V7.128H4.204V21.75H21.75V4.204H7.128v.971H20.773v15.598H5.175Z"/></svg>', cI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="M3 2H2v16h16v-1H8v-5H3V2zm0 11v4h4v-4H3z"/></svg>', dI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="M16.98 11L18.5 11L18.5 10L16.98 10C16.86 8.13 16.05 6.44 14.8 5.2L16.88 2.83L16.12 2.17L14.05 4.54C12.79 3.57 11.21 3 9.5 3C5.36 3 2 6.36 2 10.5C2 14.64 5.36 18 9.5 18C13.47 18 16.73 14.91 16.98 11ZM15.98 10C15.86 8.43 15.18 7.01 14.14 5.95L10.6 10L15.98 10ZM13.39 5.29L8.4 11L15.98 11C15.73 14.36 12.92 17 9.5 17C5.91 17 3 14.09 3 10.5C3 6.91 5.91 4 9.5 4C10.96 4 12.31 4.48 13.39 5.29Z"/></svg>', uI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="#e75958" d="M22 12H12l5 8.66A10 10 0 0 0 22 12Z"/><path fill="#814dff" d="M17 20.66 12 12 7 20.66A10 10 0 0 0 17 20.66Z"/><path fill="#13b0ce" d="M7 20.66 12 12H2A10 10 0 0 0 7 20.66Z"/><path fill="#4ecd83" d="M2 12H12L7 3.34A10 10 0 0 0 2 12Z"/><path fill="#ffc33f" d="M7 3.34 12 12l5-8.66A10 10 0 0 0 7 3.34Z"/><path fill="#ff9543" d="M17 3.34 12 12H22A10 10 0 0 0 17 3.34Z"/></svg>', hI = Nx, pI =
|
|
25849
|
+
), HA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="m18.5 10 4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301 14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725 16.676 16.676 0 0 1 3.524 17.273l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877 16.165 16.165 0 0 0 11.91 6.001L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z"/></svg>', WA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><circle cx="10" cy="10" r="4" fill="currentColor"/><path fill="none" stroke="currentColor" stroke-width="1.5" d="M10 2v2M10 16v2M2 10h2M16 10h2M4.2 4.2l1.4 1.4M14.4 14.4l1.4 1.4M4.2 15.8l1.4-1.4M14.4 5.6l1.4-1.4"/></svg>', GA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M10 3a7 7 0 1 0 0 14 9 9 0 0 1 0-14Z"/></svg>', $A = Wx, UA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M4 3h12v14H4V3Zm2 2v2h8V5H6Zm0 4v6h8V9H6Z"/></svg>', KA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M5 3h7l3 3v11H5V3Zm6 0v3h3"/><text x="6" y="16" fill="currentColor" font-size="5" font-family="Arial">PDF</text></svg>', YA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="none" stroke="currentColor" stroke-width="1.5" d="M4 4h12v12H4z"/><circle cx="8" cy="10" r="2" fill="currentColor"/></svg>', ZA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="3" y="3" width="14" height="14" rx="1.5" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="15" y="5" width="1.5" height="10" rx=".5" fill="currentColor"/></svg>', XA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="3" y="3" width="14" height="3" rx=".5" fill="currentColor"/><rect x="5" y="8" width="10" height="9" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/></svg>', qA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="5" y="3" width="10" height="9" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="3" y="14" width="14" height="3" rx=".5" fill="currentColor"/></svg>', JA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="3" y="3" width="3" height="14" rx=".5" fill="currentColor"/><rect x="8" y="5" width="9" height="10" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/></svg>', QA = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="5" y="5" width="9" height="10" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="14" y="3" width="3" height="14" rx=".5" fill="currentColor"/></svg>', eI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" d="M5 5l10 10M15 5 5 15"/></svg>', tI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><circle cx="10" cy="4" r="1.5" fill="currentColor"/><circle cx="10" cy="10" r="1.5" fill="currentColor"/><circle cx="10" cy="16" r="1.5" fill="currentColor"/></svg>', Ux = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill="currentColor" d="M10 6.5 5.5 11h9L10 6.5Z"/></svg>', Kx = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill="currentColor" d="M10 13.5 14.5 9h-9L10 13.5Z"/></svg>', Om = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill="currentColor" d="M13.5 10 9 14.5V5.5L13.5 10Z"/></svg>', Dm = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill="currentColor" d="M6.5 10 11 14.5V5.5L6.5 10Z"/></svg>', iI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M10 2.6 18 9.8h-2.1V17h-4.4v-4.4H8.5V17H4.1V9.8H2L10 2.6Zm0 1.8L5.3 9.8V15.8h2V11.4h5.4v4.4h2V9.8L10 4.4Z"/></svg>', nI = `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20">${Am}<path fill="${ae}" d="M14.85 0.85 15.95 4.05 19.15 5.15 15.95 6.25 14.85 9.45 13.75 6.25 10.55 5.15 13.75 4.05Z"/><path fill="${ae}" d="M17.55 8.35 18.15 10.15 19.95 10.75 18.15 11.35 17.55 13.15 16.95 11.35 15.15 10.75 16.95 10.15Z"/></svg>`, sI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M8.08 2.1h3.84l.32 1.52a6.4 6.4 0 0 1 1.36.78l1.48-.64 1.92 1.92-.64 1.48c.3.42.54.88.78 1.36l1.52.32v3.84l-1.52.32a6.4 6.4 0 0 1-.78 1.36l.64 1.48-1.92 1.92-1.48-.64a6.4 6.4 0 0 1-1.36.78l-.32 1.52H8.08l-.32-1.52a6.4 6.4 0 0 1-1.36-.78l-1.48.64-1.92-1.92.64-1.48a6.4 6.4 0 0 1-.78-1.36L1.34 11.92V8.08l1.52-.32c.24-.48.48-.94.78-1.36l-.64-1.48 1.92-1.92 1.48.64c.42-.3.88-.54 1.36-.78L8.08 2.1ZM10 7.2A2.8 2.8 0 1 0 10 12.8 2.8 2.8 0 0 0 10 7.2Z"/></svg>', oI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="none" stroke="currentColor" stroke-width="1.5" d="M10 2.5v6M7 5.5h6"/><circle cx="10" cy="14.5" r="3.2" fill="none" stroke="currentColor" stroke-width="1.5"/><circle cx="10" cy="14.5" r="1.1" fill="currentColor"/></svg>', rI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M10.09 3.53 16.09 6.97 10.09 10.29 4.18 7 10.09 3.56M10.09 2.4 2.17 7 3.31 7.65 10.09 11.45 17 7.62 18.17 7 10.08 2.37 10.09 2.4Z"/><path fill="currentColor" d="M10.25 14.83 18.17 10.22 17 9.57 10.22 13.57 3.32 9.59 2.17 10.22 10.25 14.83Z"/><path fill="currentColor" d="M10.25 17.63 18.17 13 17 12.37 10.22 16.37 3.32 12.38 2.17 13 10.25 17.63Z"/></svg>', aI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M10.09 5.15 16.09 8.59 10.09 11.91 4.18 8.59 10.09 5.15ZM10.09 4 2.17 8.61 3.31 9.25 10.09 13.06 17 9.24 18.16 8.61 10.08 4 10.09 4Z"/><path fill="currentColor" d="M10.25 16.46 18.17 11.85 17 11.2 10.22 15.2 3.32 11.21 2.17 11.85 10.25 16.46Z"/><path fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" d="M3.5 3.5 16.5 16.5"/></svg>', lI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M2.25 2.25h4.878v4.878H2.25V2.25Zm.978.978v2.924h2.924V3.228H3.228Z"/><path fill="currentColor" d="M5.175 20.773V7.128H4.204V21.75H21.75V4.204H7.128v.971H20.773v15.598H5.175Z"/></svg>', cI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="M3 2H2v16h16v-1H8v-5H3V2zm0 11v4h4v-4H3z"/></svg>', dI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="M16.98 11L18.5 11L18.5 10L16.98 10C16.86 8.13 16.05 6.44 14.8 5.2L16.88 2.83L16.12 2.17L14.05 4.54C12.79 3.57 11.21 3 9.5 3C5.36 3 2 6.36 2 10.5C2 14.64 5.36 18 9.5 18C13.47 18 16.73 14.91 16.98 11ZM15.98 10C15.86 8.43 15.18 7.01 14.14 5.95L10.6 10L15.98 10ZM13.39 5.29L8.4 11L15.98 11C15.73 14.36 12.92 17 9.5 17C5.91 17 3 14.09 3 10.5C3 6.91 5.91 4 9.5 4C10.96 4 12.31 4.48 13.39 5.29Z"/></svg>', uI = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="#e75958" d="M22 12H12l5 8.66A10 10 0 0 0 22 12Z"/><path fill="#814dff" d="M17 20.66 12 12 7 20.66A10 10 0 0 0 17 20.66Z"/><path fill="#13b0ce" d="M7 20.66 12 12H2A10 10 0 0 0 7 20.66Z"/><path fill="#4ecd83" d="M2 12H12L7 3.34A10 10 0 0 0 2 12Z"/><path fill="#ffc33f" d="M7 3.34 12 12l5-8.66A10 10 0 0 0 7 3.34Z"/><path fill="#ff9543" d="M17 3.34 12 12H22A10 10 0 0 0 17 3.34Z"/></svg>', hI = Nx, pI = Bx, mI = Rx, fI = jx, yI = Vx, gI = Gx, bI = $x, Nm = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><circle cx="4" cy="10" r="1.6" fill="currentColor"/><circle cx="10" cy="10" r="1.6" fill="currentColor"/><circle cx="16" cy="10" r="1.6" fill="currentColor"/></svg>', Yx = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 14 4 9l5-5"/><path d="M4 9h10.5a5.5 5.5 0 0 1 0 11H11"/></svg>', Zx = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m15 14 5-5-5-5"/><path d="M20 9H9.5a5.5 5.5 0 0 0 0 11H13"/></svg>', Xx = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 6h18"/><path d="M8 6V4h8v2"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"/><path d="M10 11v6"/><path d="M14 11v6"/></svg>', qx = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none"><text x="2" y="18" font-family="Georgia, Times New Roman, serif" font-size="16" font-weight="600" fill="currentColor">A</text><g stroke="#2dd4bf" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M18 4v16"/><path d="M15.5 6.5 18 4l2.5 2.5"/><path d="M15.5 17.5 18 20l2.5-2.5"/></g></svg>', Jx = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>';
|
|
25770
25850
|
function Wt(s, e = "ml-ex-ui-icon") {
|
|
25771
25851
|
if (typeof s == "function") return s();
|
|
25772
25852
|
if (s instanceof HTMLElement) return s.cloneNode(!0);
|
|
@@ -26074,7 +26154,7 @@ const zm = 500, i0 = 10, ht = class ht {
|
|
|
26074
26154
|
};
|
|
26075
26155
|
ht.styleId = "ml-ui-dialog-styles", ht.compactClass = "ml-ui-dialog--compact", ht.nextTitleId = 0;
|
|
26076
26156
|
let en = ht;
|
|
26077
|
-
const Ou = "ml-ui-touch-point-tutorial-styles", Kt = 1e4,
|
|
26157
|
+
const Ou = "ml-ui-touch-point-tutorial-styles", Kt = 1e4, Bm = 38, Fm = 42, Sl = 4, n0 = 500, So = 500, Du = 2e3, s0 = 900, Wi = 1800, o0 = 400, _o = 280, La = 180, r0 = 36, a0 = r0 / 2, l0 = 5, _l = 18, Rm = _l / 2, c0 = a0 + l0 + Rm;
|
|
26078
26158
|
function jm(s = /* @__PURE__ */ new Date()) {
|
|
26079
26159
|
const e = s.getFullYear(), t = String(s.getMonth() + 1).padStart(2, "0"), i = String(s.getDate()).padStart(2, "0");
|
|
26080
26160
|
return `${e}-${t}-${i}`;
|
|
@@ -26443,14 +26523,14 @@ const me = class me extends en {
|
|
|
26443
26523
|
me.openInstance = null;
|
|
26444
26524
|
let Cl = me;
|
|
26445
26525
|
function u0() {
|
|
26446
|
-
const s = 160 *
|
|
26526
|
+
const s = 160 * Bm / 100, e = 100 * Fm / 100;
|
|
26447
26527
|
return {
|
|
26448
26528
|
xPct: (s + Sl) / 160 * 100,
|
|
26449
26529
|
yPct: (e + Sl) / 100 * 100
|
|
26450
26530
|
};
|
|
26451
26531
|
}
|
|
26452
26532
|
function h0() {
|
|
26453
|
-
const s = 160 *
|
|
26533
|
+
const s = 160 * Bm / 100, e = 100 * Fm / 100, t = Sl, i = s - t, n = s + t, o = e - t, r = e + t, a = "rgba(210, 210, 210, 0.55)", l = "rgba(230, 70, 70, 0.95)";
|
|
26454
26534
|
return `<svg viewBox="0 0 160 100" preserveAspectRatio="none" aria-hidden="true">
|
|
26455
26535
|
<line x1="0" y1="${o}" x2="${i}" y2="${o}" stroke="${a}" stroke-width="0.9"/>
|
|
26456
26536
|
<line x1="${n}" y1="${o}" x2="160" y2="${o}" stroke="${a}" stroke-width="0.9"/>
|
|
@@ -26487,7 +26567,7 @@ function f0() {
|
|
|
26487
26567
|
function y0() {
|
|
26488
26568
|
const s = pe.instance;
|
|
26489
26569
|
return d0(
|
|
26490
|
-
|
|
26570
|
+
Bi,
|
|
26491
26571
|
{
|
|
26492
26572
|
hideForever: s.get("hideTouchPointTutorial"),
|
|
26493
26573
|
snoozeDate: s.get("touchPointTutorialSnoozeDate")
|
|
@@ -26540,7 +26620,7 @@ class b0 {
|
|
|
26540
26620
|
return i ? this.parse(i) : null;
|
|
26541
26621
|
}
|
|
26542
26622
|
}
|
|
26543
|
-
class
|
|
26623
|
+
class Bc {
|
|
26544
26624
|
constructor(e) {
|
|
26545
26625
|
this.options = e;
|
|
26546
26626
|
}
|
|
@@ -26553,11 +26633,11 @@ class Fc {
|
|
|
26553
26633
|
return i ? this.parse(i) : null;
|
|
26554
26634
|
}
|
|
26555
26635
|
}
|
|
26556
|
-
class w0 extends
|
|
26636
|
+
class w0 extends Bc {
|
|
26557
26637
|
}
|
|
26558
|
-
class v0 extends
|
|
26638
|
+
class v0 extends Bc {
|
|
26559
26639
|
}
|
|
26560
|
-
class Nu extends
|
|
26640
|
+
class Nu extends Bc {
|
|
26561
26641
|
constructor(e) {
|
|
26562
26642
|
super(e);
|
|
26563
26643
|
}
|
|
@@ -26933,7 +27013,7 @@ const Is = class Is {
|
|
|
26933
27013
|
// Dynamic Prompt Settings
|
|
26934
27014
|
// ---------------------------------------------------------------------------
|
|
26935
27015
|
getSysVarValue(e) {
|
|
26936
|
-
const t =
|
|
27016
|
+
const t = Fe().workingDatabase;
|
|
26937
27017
|
return ne.instance().getVar(e, t);
|
|
26938
27018
|
}
|
|
26939
27019
|
isDynamicInputEnabled() {
|
|
@@ -26956,7 +27036,7 @@ const Is = class Is {
|
|
|
26956
27036
|
};
|
|
26957
27037
|
Is.stylesInjected = !1;
|
|
26958
27038
|
let Nn = Is;
|
|
26959
|
-
class
|
|
27039
|
+
class Bu {
|
|
26960
27040
|
/**
|
|
26961
27041
|
* Creates a rubber-band renderer bound to one editor view.
|
|
26962
27042
|
*
|
|
@@ -27062,7 +27142,7 @@ class Fu {
|
|
|
27062
27142
|
for (; O > Math.PI; ) O -= Math.PI * 2;
|
|
27063
27143
|
const D = E + O / 2, S = g - y, T = x - y, C = y * 2;
|
|
27064
27144
|
this.angleSvg.style.left = `${S}px`, this.angleSvg.style.top = `${T}px`, this.angleSvg.setAttribute("width", `${C}`), this.angleSvg.setAttribute("height", `${C}`), this.angleSvg.setAttribute("viewBox", `0 0 ${C} ${C}`);
|
|
27065
|
-
const P = y, M = y,
|
|
27145
|
+
const P = y, M = y, B = P + y * Math.cos(E), j = M + y * Math.sin(E), U = P + y * Math.cos(E + O), Q = M + y * Math.sin(E + O), K = Math.abs(O) > Math.PI ? "1" : "0", le = O >= 0 ? "1" : "0", Ce = `M ${B} ${j} A ${y} ${y} 0 ${K} ${le} ${U} ${Q}`;
|
|
27066
27146
|
this.anglePath.setAttribute("d", Ce);
|
|
27067
27147
|
const Ke = Math.abs(O), dt = (f = v.instance.curDocument) == null ? void 0 : f.database, Ve = dt ? dt.formatter.formatAngle(Ke, {
|
|
27068
27148
|
showUnits: !0,
|
|
@@ -27079,10 +27159,10 @@ class Fu {
|
|
|
27079
27159
|
}
|
|
27080
27160
|
}
|
|
27081
27161
|
const Po = 9, Gs = /* @__PURE__ */ new WeakMap();
|
|
27082
|
-
let
|
|
27162
|
+
let Fu = !1;
|
|
27083
27163
|
function _0() {
|
|
27084
|
-
if (
|
|
27085
|
-
|
|
27164
|
+
if (Fu) return;
|
|
27165
|
+
Fu = !0;
|
|
27086
27166
|
const s = document.createElement("style");
|
|
27087
27167
|
s.id = "ml-simulated-mouse-cursor-styles", s.textContent = `
|
|
27088
27168
|
.ml-simulated-mouse-cursor {
|
|
@@ -27329,7 +27409,7 @@ const Ts = class Ts extends Nn {
|
|
|
27329
27409
|
hideSimulatedCursor: () => {
|
|
27330
27410
|
Ru(this.view);
|
|
27331
27411
|
}
|
|
27332
|
-
}, this.allowPrompt = t.allowPrompt !== !1, this.allowPickCommit = t.allowPickCommit !== !1, this.suppressDisplay = !this.isDynamicInputEnabled(), this.orthoReferencePoint = t.orthoReferencePoint ?? t.basePoint ?? void 0, t.disableOSnap || (this.osnapMarkerManager = new Gr(e)), t.basePoint && (this.rubberBand = new
|
|
27412
|
+
}, this.allowPrompt = t.allowPrompt !== !1, this.allowPickCommit = t.allowPickCommit !== !1, this.suppressDisplay = !this.isDynamicInputEnabled(), this.orthoReferencePoint = t.orthoReferencePoint ?? t.basePoint ?? void 0, t.disableOSnap || (this.osnapMarkerManager = new Gr(e)), t.basePoint && (this.rubberBand = new Bu(e), this.rubberBand.start(t.basePoint, {
|
|
27333
27413
|
color: "var(--ml-ui-canvas-line, #0f0)",
|
|
27334
27414
|
showBaseLineOnly: t.showBaseLineOnly,
|
|
27335
27415
|
baseAngle: t.baseAngle
|
|
@@ -27623,7 +27703,7 @@ const Ts = class Ts extends Nn {
|
|
|
27623
27703
|
* Used by two-point distance acquisition when the first point is picked by click.
|
|
27624
27704
|
*/
|
|
27625
27705
|
setBasePoint(e, t) {
|
|
27626
|
-
this.disposed || this.rubberBand || (this.rubberBand = new
|
|
27706
|
+
this.disposed || this.rubberBand || (this.rubberBand = new Bu(this.view), this.rubberBand.start(e, {
|
|
27627
27707
|
color: (t == null ? void 0 : t.color) ?? "var(--ml-ui-canvas-line, #0f0)",
|
|
27628
27708
|
showBaseLineOnly: t == null ? void 0 : t.showBaseLineOnly,
|
|
27629
27709
|
baseAngle: t == null ? void 0 : t.baseAngle
|
|
@@ -27717,11 +27797,11 @@ function Ml(s) {
|
|
|
27717
27797
|
}, p = (L, O) => e.move(L, O, !0) === "panning" ? (l(), a(), "panning") : (!i || !e.isLoupe || s.onMove(L, O), "continue"), m = (L) => {
|
|
27718
27798
|
L.pointerType === "touch" && L.pointerId === e.pointerId && p(L.clientX, L.clientY);
|
|
27719
27799
|
}, f = (L, O, D, S) => {
|
|
27720
|
-
var
|
|
27800
|
+
var B, j;
|
|
27721
27801
|
if (e.phase === "idle" || S !== e.pointerId) return;
|
|
27722
27802
|
const T = i, C = n, P = o, M = D ? e.end() : (e.cancel(), "ignore");
|
|
27723
27803
|
if (i = !1, l(), a(), c(), !D || M === "ignore") {
|
|
27724
|
-
T && ((
|
|
27804
|
+
T && ((B = s.onAbort) == null || B.call(s));
|
|
27725
27805
|
return;
|
|
27726
27806
|
}
|
|
27727
27807
|
if (T) {
|
|
@@ -28060,9 +28140,9 @@ const Vu = "ml-mobile-cmd-styles", z0 = {
|
|
|
28060
28140
|
x: "0",
|
|
28061
28141
|
y: "0"
|
|
28062
28142
|
};
|
|
28063
|
-
class
|
|
28143
|
+
class Fc {
|
|
28064
28144
|
constructor(e) {
|
|
28065
|
-
this.helpPanel = null, this.callbacks = null, this.open = !1, this.collapsed = !1, this.showMetrics = !1, this.showStringInput = !1, this.hasBasePoint = !1, this.frozenTexts = null, this.frozenHasBasePoint = !1, this.compactPromptRaf = 0, this.host = e.host, this.activeClass = e.activeClass ?? "ml-mobile-cmd-active", this.isPhoneLayout = e.isPhoneLayout, this.subscribeLayout = e.subscribeLayout, this.helpDocsUrl = e.helpDocsUrl, this.helpHostOpt = e.helpHost, this.labelsFn = e.labels,
|
|
28145
|
+
this.helpPanel = null, this.callbacks = null, this.open = !1, this.collapsed = !1, this.showMetrics = !1, this.showStringInput = !1, this.hasBasePoint = !1, this.frozenTexts = null, this.frozenHasBasePoint = !1, this.compactPromptRaf = 0, this.host = e.host, this.activeClass = e.activeClass ?? "ml-mobile-cmd-active", this.isPhoneLayout = e.isPhoneLayout, this.subscribeLayout = e.subscribeLayout, this.helpDocsUrl = e.helpDocsUrl, this.helpHostOpt = e.helpHost, this.labelsFn = e.labels, Fc.injectCss(), this.root = document.createElement("div"), this.root.className = "ml-mobile-cmd", this.root.hidden = !0, this.root.setAttribute("aria-hidden", "true"), this.panel = document.createElement("div"), this.panel.className = "ml-mobile-cmd-panel", this.metricButtons = {
|
|
28066
28146
|
length: this.makeMetricButton("length"),
|
|
28067
28147
|
angle: this.makeMetricButton("angle"),
|
|
28068
28148
|
dx: this.makeMetricButton("dx"),
|
|
@@ -28073,7 +28153,7 @@ class Bc {
|
|
|
28073
28153
|
if (!this.collapsed) return;
|
|
28074
28154
|
const i = t.target;
|
|
28075
28155
|
i != null && i.closest("button") || this.setCollapsed(!1);
|
|
28076
|
-
}), this.accessoryContentEl = document.createElement("div"), this.accessoryContentEl.className = "ml-mobile-cmd-accessory-content", this.helpBtn = document.createElement("button"), this.helpBtn.type = "button", this.helpBtn.className = "ml-mobile-cmd-help", this.helpBtn.innerHTML =
|
|
28156
|
+
}), this.accessoryContentEl = document.createElement("div"), this.accessoryContentEl.className = "ml-mobile-cmd-accessory-content", this.helpBtn = document.createElement("button"), this.helpBtn.type = "button", this.helpBtn.className = "ml-mobile-cmd-help", this.helpBtn.innerHTML = B0(), this.helpBtn.addEventListener("click", (t) => {
|
|
28077
28157
|
t.preventDefault(), t.stopPropagation(), this.openHelpPanel();
|
|
28078
28158
|
}), this.sinkPointer(this.helpBtn), this.collapseBtn = document.createElement("button"), this.collapseBtn.type = "button", this.collapseBtn.className = "ml-mobile-cmd-collapse", this.collapseBtn.innerHTML = Wu(), this.collapseBtn.addEventListener("click", (t) => {
|
|
28079
28159
|
t.preventDefault(), t.stopPropagation(), this.setCollapsed(!this.collapsed);
|
|
@@ -28172,7 +28252,7 @@ class Bc {
|
|
|
28172
28252
|
}
|
|
28173
28253
|
/** Expands or collapses the panel into compact mode. */
|
|
28174
28254
|
setCollapsed(e) {
|
|
28175
|
-
this.collapsed !== e && (this.collapsed = e, this.panel.classList.toggle("is-collapsed", e), this.collapseBtn.innerHTML = e ?
|
|
28255
|
+
this.collapsed !== e && (this.collapsed = e, this.panel.classList.toggle("is-collapsed", e), this.collapseBtn.innerHTML = e ? F0() : Wu(), this.refreshCollapseLabel(), this.open && this.applyMetricVisibility());
|
|
28176
28256
|
}
|
|
28177
28257
|
/** Shows the accessory / title row (custom content slot + help + collapse). */
|
|
28178
28258
|
prepareAccessory() {
|
|
@@ -28388,13 +28468,13 @@ class Bc {
|
|
|
28388
28468
|
function Hu(s) {
|
|
28389
28469
|
return s.trim().replace(/[::]\s*$/, "");
|
|
28390
28470
|
}
|
|
28391
|
-
function
|
|
28471
|
+
function B0() {
|
|
28392
28472
|
return '<svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true"><path fill="currentColor" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 15.2a1.2 1.2 0 1 1 0-2.4 1.2 1.2 0 0 1 0 2.4zm1.6-5.35c-.62.36-1 .9-1 1.55h-1.5c0-1.18.6-2.05 1.45-2.55.62-.36.95-.7.95-1.25 0-.7-.55-1.2-1.4-1.2-.9 0-1.45.5-1.55 1.3H8.9C9.1 7.95 10.35 7 12.1 7c1.85 0 3.15 1.05 3.15 2.55 0 .95-.5 1.7-1.65 2.3z"/></svg>';
|
|
28393
28473
|
}
|
|
28394
28474
|
function Wu() {
|
|
28395
28475
|
return '<svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true"><path fill="currentColor" d="M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"/></svg>';
|
|
28396
28476
|
}
|
|
28397
|
-
function
|
|
28477
|
+
function F0() {
|
|
28398
28478
|
return '<svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true"><path fill="currentColor" d="M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"/></svg>';
|
|
28399
28479
|
}
|
|
28400
28480
|
function R0() {
|
|
@@ -28884,7 +28964,7 @@ class H0 {
|
|
|
28884
28964
|
* @param host - View container that receives the overlay (and CSS variables).
|
|
28885
28965
|
*/
|
|
28886
28966
|
constructor(e) {
|
|
28887
|
-
this.boundRelabel = () => this.panel.refreshLabels(), this.panel = new
|
|
28967
|
+
this.boundRelabel = () => this.panel.refreshLabels(), this.panel = new Fc({
|
|
28888
28968
|
host: e,
|
|
28889
28969
|
isPhoneLayout: Vr,
|
|
28890
28970
|
subscribeLayout: Hr,
|
|
@@ -30137,10 +30217,10 @@ const Os = class Os {
|
|
|
30137
30217
|
let l = null, c = null, d = null, u = null, p = null;
|
|
30138
30218
|
const m = (C, P, M = "add") => {
|
|
30139
30219
|
if (!l || !d || !c) return;
|
|
30140
|
-
const
|
|
30220
|
+
const B = this.view.viewportToCanvas({
|
|
30141
30221
|
x: C,
|
|
30142
30222
|
y: P
|
|
30143
|
-
}), j = this.view.screenToWorld(
|
|
30223
|
+
}), j = this.view.screenToWorld(B), U = this.view.worldToScreen(l), Q = this.view.worldToScreen(j), K = Math.min(U.x, Q.x), le = Math.min(U.y, Q.y), Ce = Math.abs(U.x - Q.x), Ke = Math.abs(U.y - Q.y), dt = this.view.getSelectionMode(c, B), Ve = this.view.getSelectionPreviewStyle(dt, M);
|
|
30144
30224
|
Object.assign(d.style, {
|
|
30145
30225
|
left: `${K}px`,
|
|
30146
30226
|
top: `${le}px`,
|
|
@@ -30194,8 +30274,8 @@ const Os = class Os {
|
|
|
30194
30274
|
C.key === "Enter" && (x(), t([...a]));
|
|
30195
30275
|
}, _ = (C) => {
|
|
30196
30276
|
this.shouldUseRightClickEnter() && C.preventDefault();
|
|
30197
|
-
}, k = (C, P) => this.view.viewportToCanvas({ x: C, y: P }), E = (C, P, M,
|
|
30198
|
-
if (
|
|
30277
|
+
}, k = (C, P) => this.view.viewportToCanvas({ x: C, y: P }), E = (C, P, M, B) => {
|
|
30278
|
+
if (B) {
|
|
30199
30279
|
const j = this.view.pick(P);
|
|
30200
30280
|
j.length > 0 ? this.view.applySelection([j[0].id], M) : M === "replace" && this.view.selectionSet.clear();
|
|
30201
30281
|
} else if (l && c) {
|
|
@@ -30225,8 +30305,8 @@ const Os = class Os {
|
|
|
30225
30305
|
}, T = (C) => {
|
|
30226
30306
|
if (C.button !== 0 || !l || !c || Ht(C) || nt())
|
|
30227
30307
|
return;
|
|
30228
|
-
const P = k(C.clientX, C.clientY), M = this.view.screenToWorld(P),
|
|
30229
|
-
d == null || d.remove(), d = null, u = null, E(P, M, j,
|
|
30308
|
+
const P = k(C.clientX, C.clientY), M = this.view.screenToWorld(P), B = this.view.isSelectionClick(c, P), j = this.view.getSelectionActionFromEvent(C, "add");
|
|
30309
|
+
d == null || d.remove(), d = null, u = null, E(P, M, j, B), l = null, c = null;
|
|
30230
30310
|
};
|
|
30231
30311
|
p = Ml({
|
|
30232
30312
|
element: this.view.canvas,
|
|
@@ -30244,12 +30324,12 @@ const Os = class Os {
|
|
|
30244
30324
|
O();
|
|
30245
30325
|
return;
|
|
30246
30326
|
}
|
|
30247
|
-
const
|
|
30248
|
-
d == null || d.remove(), d = null, u = null, E(
|
|
30327
|
+
const B = k(C, P), j = this.view.screenToWorld(B);
|
|
30328
|
+
d == null || d.remove(), d = null, u = null, E(B, j, "add", !M), l = null, c = null;
|
|
30249
30329
|
},
|
|
30250
30330
|
onTap: (C, P) => {
|
|
30251
|
-
const M = k(C, P),
|
|
30252
|
-
E(M,
|
|
30331
|
+
const M = k(C, P), B = this.view.screenToWorld(M);
|
|
30332
|
+
E(M, B, "add", !0);
|
|
30253
30333
|
},
|
|
30254
30334
|
onAbort: () => {
|
|
30255
30335
|
O();
|
|
@@ -30438,9 +30518,9 @@ const Os = class Os {
|
|
|
30438
30518
|
c == null || c.remove(), c = null;
|
|
30439
30519
|
}, y = () => {
|
|
30440
30520
|
f(), a = null, l = null, p = !1, m = null;
|
|
30441
|
-
}, g = (M,
|
|
30521
|
+
}, g = (M, B) => this.view.viewportToCanvas({ x: M, y: B }), x = (M, B) => {
|
|
30442
30522
|
if (!a || !c || !l) return;
|
|
30443
|
-
const j = g(M,
|
|
30523
|
+
const j = g(M, B), U = this.view.screenToWorld(j), Q = this.view.worldToScreen(a), K = this.view.worldToScreen(U), le = this.view.getSelectionMode(l, j), Ce = this.view.getSelectionPreviewStyle(le, "add");
|
|
30444
30524
|
Object.assign(c.style, {
|
|
30445
30525
|
left: `${Math.min(Q.x, K.x)}px`,
|
|
30446
30526
|
top: `${Math.min(Q.y, K.y)}px`,
|
|
@@ -30449,12 +30529,12 @@ const Os = class Os {
|
|
|
30449
30529
|
borderStyle: Ce.borderStyle,
|
|
30450
30530
|
background: Ce.background
|
|
30451
30531
|
}), c.style.setProperty("--line-color", Ce.lineColor);
|
|
30452
|
-
}, w = (M,
|
|
30453
|
-
const j = g(M,
|
|
30454
|
-
l = j, a = this.view.screenToWorld(j), p = !1, m = { clientX: M, clientY:
|
|
30455
|
-
}, _ = (M,
|
|
30532
|
+
}, w = (M, B) => {
|
|
30533
|
+
const j = g(M, B);
|
|
30534
|
+
l = j, a = this.view.screenToWorld(j), p = !1, m = { clientX: M, clientY: B }, f(), c = document.createElement("div"), c.className = "ml-jig-preview-rect", this.view.container.appendChild(c), x(M, B);
|
|
30535
|
+
}, _ = (M, B) => {
|
|
30456
30536
|
if (!a || !l) return !1;
|
|
30457
|
-
const j = g(M,
|
|
30537
|
+
const j = g(M, B);
|
|
30458
30538
|
if (this.view.isSelectionClick(l, j)) return !1;
|
|
30459
30539
|
const U = this.view.screenToWorld(j), Q = new ce().expandByPoint(a).expandByPoint(U);
|
|
30460
30540
|
return E(), t(new Hi(b.OK, Q)), !0;
|
|
@@ -30512,19 +30592,19 @@ const Os = class Os {
|
|
|
30512
30592
|
setNavigationEnabled: (M) => {
|
|
30513
30593
|
this.view.setNavigationEnabled(M);
|
|
30514
30594
|
},
|
|
30515
|
-
onActivate: (M,
|
|
30516
|
-
w(M,
|
|
30595
|
+
onActivate: (M, B) => {
|
|
30596
|
+
w(M, B), m = null, x(M, B);
|
|
30517
30597
|
},
|
|
30518
|
-
onMove: (M,
|
|
30519
|
-
x(M,
|
|
30598
|
+
onMove: (M, B) => {
|
|
30599
|
+
x(M, B);
|
|
30520
30600
|
},
|
|
30521
|
-
onBoxEnd: (M,
|
|
30601
|
+
onBoxEnd: (M, B, j) => {
|
|
30522
30602
|
if (!(!a || !l)) {
|
|
30523
30603
|
if (!j) {
|
|
30524
30604
|
y();
|
|
30525
30605
|
return;
|
|
30526
30606
|
}
|
|
30527
|
-
_(M,
|
|
30607
|
+
_(M, B);
|
|
30528
30608
|
}
|
|
30529
30609
|
},
|
|
30530
30610
|
onAbort: () => {
|
|
@@ -30724,7 +30804,7 @@ const Os = class Os {
|
|
|
30724
30804
|
* @returns Normalized 0..3 shortcut-menu mode
|
|
30725
30805
|
*/
|
|
30726
30806
|
getShortcutMenuMode() {
|
|
30727
|
-
const e =
|
|
30807
|
+
const e = Fe().workingDatabase, t = ne.instance().getVar(
|
|
30728
30808
|
X.SHORTCUTMENU,
|
|
30729
30809
|
e
|
|
30730
30810
|
), i = Math.trunc(Number(t));
|
|
@@ -32676,7 +32756,7 @@ const pt = class pt extends $ {
|
|
|
32676
32756
|
const a = e.view.width / Math.max(e.view.height, 1);
|
|
32677
32757
|
return t.tables.viewportTable.getActiveVportBox(a) ?? void 0;
|
|
32678
32758
|
}
|
|
32679
|
-
const o =
|
|
32759
|
+
const o = Fe().layoutManager.getActiveLayout(t), r = o == null ? void 0 : o.limits;
|
|
32680
32760
|
if (r && !r.isEmpty())
|
|
32681
32761
|
return r;
|
|
32682
32762
|
}
|
|
@@ -33719,13 +33799,13 @@ function Tk() {
|
|
|
33719
33799
|
}
|
|
33720
33800
|
const Ok = 0, Ue = Ok, Un = 12;
|
|
33721
33801
|
let tf = Tk(), Hc = Un, Ys = "adaptive", Xi;
|
|
33722
|
-
const
|
|
33802
|
+
const Bl = /* @__PURE__ */ new Set();
|
|
33723
33803
|
function Wc() {
|
|
33724
|
-
for (const s of
|
|
33804
|
+
for (const s of Bl) s();
|
|
33725
33805
|
}
|
|
33726
33806
|
function Gc(s) {
|
|
33727
|
-
return
|
|
33728
|
-
|
|
33807
|
+
return Bl.add(s), () => {
|
|
33808
|
+
Bl.delete(s);
|
|
33729
33809
|
};
|
|
33730
33810
|
}
|
|
33731
33811
|
function _e() {
|
|
@@ -33746,7 +33826,7 @@ function zk(s) {
|
|
|
33746
33826
|
function _I(s) {
|
|
33747
33827
|
!Number.isFinite(s) || s <= 0 || (Hc = s, Ys = "adaptive", Xi = void 0, Wc());
|
|
33748
33828
|
}
|
|
33749
|
-
function
|
|
33829
|
+
function Bk(s, e) {
|
|
33750
33830
|
!Number.isFinite(e) || e <= 0 || (Ys = s, s === "adaptive" ? (Hc = e, Xi = void 0) : Xi = e, Wc());
|
|
33751
33831
|
}
|
|
33752
33832
|
function yr(s) {
|
|
@@ -33771,7 +33851,7 @@ function kt() {
|
|
|
33771
33851
|
...Ys === "custom" && Xi != null && Xi > 0 ? { textHeightWcs: Xi } : {}
|
|
33772
33852
|
};
|
|
33773
33853
|
}
|
|
33774
|
-
function
|
|
33854
|
+
function Fk(s, e) {
|
|
33775
33855
|
const t = s.fontSize != null && s.fontSize > 0 ? s.fontSize : Un, i = s.arrowSizeWcs != null && s.arrowSizeWcs > 0 ? s.arrowSizeWcs : Ne(oi, e);
|
|
33776
33856
|
let n;
|
|
33777
33857
|
return s.textHeightMode === "custom" && s.textHeightWcs != null && s.textHeightWcs > 0 ? n = s.textHeightWcs : s.textHeightMode === "adaptive" ? n = Ne(t, e) : s.textHeightWcs != null && s.textHeightWcs > 0 ? n = s.textHeightWcs : n = Ne(t, e), {
|
|
@@ -33915,9 +33995,9 @@ function at(s) {
|
|
|
33915
33995
|
return;
|
|
33916
33996
|
const x = y.pointerId, w = y.clientX, _ = y.clientY;
|
|
33917
33997
|
let k = !1;
|
|
33918
|
-
const E = l && y.pointerType === "touch", L = gr(e, y), O = e, D = (
|
|
33919
|
-
var
|
|
33920
|
-
E && ((
|
|
33998
|
+
const E = l && y.pointerType === "touch", L = gr(e, y), O = e, D = (B) => l ? Uk(e, B, L) : gr(e, B), S = () => {
|
|
33999
|
+
var B;
|
|
34000
|
+
E && ((B = e.hideMobileSnapLoupe) == null || B.call(e));
|
|
33921
34001
|
}, T = () => {
|
|
33922
34002
|
window.removeEventListener(
|
|
33923
34003
|
"pointermove",
|
|
@@ -33934,19 +34014,19 @@ function at(s) {
|
|
|
33934
34014
|
), d === T && (d = void 0);
|
|
33935
34015
|
}, C = () => {
|
|
33936
34016
|
u && (u = !1, Xu(!1, e.container ?? document));
|
|
33937
|
-
}, P = (
|
|
33938
|
-
if (
|
|
34017
|
+
}, P = (B) => {
|
|
34018
|
+
if (B.pointerId === x) {
|
|
33939
34019
|
if (!k) {
|
|
33940
|
-
const j =
|
|
34020
|
+
const j = B.clientX - w, U = B.clientY - _;
|
|
33941
34021
|
if (j * j + U * U < Zu * Zu)
|
|
33942
34022
|
return;
|
|
33943
|
-
k = !0,
|
|
34023
|
+
k = !0, B.preventDefault(), t.style.cursor = "grabbing", r && (u = !0, Xu(!0, e.container ?? document)), i == null || i();
|
|
33944
34024
|
}
|
|
33945
|
-
n(D(
|
|
34025
|
+
n(D(B), B), E && $k(e, B), e.isHtmlDirty = !0;
|
|
33946
34026
|
}
|
|
33947
|
-
}, M = (
|
|
34027
|
+
}, M = (B) => {
|
|
33948
34028
|
var j, U;
|
|
33949
|
-
|
|
34029
|
+
B.pointerId === x && (T(), S(), l && k && (typeof O.clearOverlayGripOsnap == "function" ? O.clearOverlayGripOsnap() : (U = (j = O.osnapResolver) == null ? void 0 : j.clearAcquiredCenters) == null || U.call(j)), k && (t.style.cursor = a, C(), o()));
|
|
33950
34030
|
};
|
|
33951
34031
|
d == null || d(), d = () => {
|
|
33952
34032
|
S(), C(), T();
|
|
@@ -34439,16 +34519,16 @@ function EI(s, e, t) {
|
|
|
34439
34519
|
s.addVertexAt(n, i[n]);
|
|
34440
34520
|
s.closed = !0;
|
|
34441
34521
|
}
|
|
34442
|
-
let
|
|
34522
|
+
let Bn = !0;
|
|
34443
34523
|
function MI() {
|
|
34444
|
-
return
|
|
34524
|
+
return Bn;
|
|
34445
34525
|
}
|
|
34446
34526
|
function AI(s) {
|
|
34447
|
-
|
|
34527
|
+
Bn = s;
|
|
34448
34528
|
}
|
|
34449
34529
|
async function Xc(s, e) {
|
|
34450
34530
|
for (; ; ) {
|
|
34451
|
-
const t =
|
|
34531
|
+
const t = Bn ? "jig.markup.shape.calloutOn" : "jig.markup.shape.calloutOff", i = new N(
|
|
34452
34532
|
`${h.t(e)} ${h.t(t)}`
|
|
34453
34533
|
);
|
|
34454
34534
|
i.keywords.add(
|
|
@@ -34464,11 +34544,11 @@ async function Xc(s, e) {
|
|
|
34464
34544
|
if (n.status === b.Keyword) {
|
|
34465
34545
|
const o = n.stringResult ?? "";
|
|
34466
34546
|
if (o === "Callout") {
|
|
34467
|
-
|
|
34547
|
+
Bn = !0;
|
|
34468
34548
|
continue;
|
|
34469
34549
|
}
|
|
34470
34550
|
if (o === "NoCallout") {
|
|
34471
|
-
|
|
34551
|
+
Bn = !1;
|
|
34472
34552
|
continue;
|
|
34473
34553
|
}
|
|
34474
34554
|
continue;
|
|
@@ -34555,10 +34635,10 @@ class iS extends Y {
|
|
|
34555
34635
|
* `showAt`). Mobile: show as soon as long-press capture starts jig updates.
|
|
34556
34636
|
*/
|
|
34557
34637
|
syncCapsulePreviewVisibility() {
|
|
34558
|
-
!this._capsuleRevealed &&
|
|
34638
|
+
!this._capsuleRevealed && Bi() && (this._capsuleRevealed = !0), this._bubble.object.visible = this._capsuleRevealed;
|
|
34559
34639
|
}
|
|
34560
34640
|
armDesktopCapsulePreview() {
|
|
34561
|
-
if (
|
|
34641
|
+
if (Bi()) return;
|
|
34562
34642
|
const e = this._view.canvas;
|
|
34563
34643
|
this._desktopMoveArm = (t) => {
|
|
34564
34644
|
t.pointerType !== "touch" && (this._capsuleRevealed = !0, this.disarmDesktopCapsulePreview());
|
|
@@ -34620,7 +34700,7 @@ class iS extends Y {
|
|
|
34620
34700
|
}
|
|
34621
34701
|
}
|
|
34622
34702
|
async function Kr(s, e, t) {
|
|
34623
|
-
if (!(t != null && t.force) && !
|
|
34703
|
+
if (!(t != null && t.force) && !Bn) return;
|
|
34624
34704
|
const i = _e(), n = new iS(s.view, e, i, {
|
|
34625
34705
|
previewShape: t == null ? void 0 : t.previewShape,
|
|
34626
34706
|
toward: t == null ? void 0 : t.toward
|
|
@@ -35608,7 +35688,7 @@ function uS(s, e) {
|
|
|
35608
35688
|
return i.isEmpty() ? void 0 : i;
|
|
35609
35689
|
}
|
|
35610
35690
|
function ki() {
|
|
35611
|
-
return
|
|
35691
|
+
return Fr().presenter;
|
|
35612
35692
|
}
|
|
35613
35693
|
Ik((s, e) => {
|
|
35614
35694
|
ki().publish(s, e);
|
|
@@ -35620,7 +35700,7 @@ function ci(s, e) {
|
|
|
35620
35700
|
ot(s, "Create Markup", () => {
|
|
35621
35701
|
const t = {
|
|
35622
35702
|
...e,
|
|
35623
|
-
style:
|
|
35703
|
+
style: Fk(e.style, s)
|
|
35624
35704
|
};
|
|
35625
35705
|
ee().upsert(t), ki().publish(s, t);
|
|
35626
35706
|
});
|
|
@@ -35909,7 +35989,7 @@ function gS(s) {
|
|
|
35909
35989
|
const t = De.fromString(e);
|
|
35910
35990
|
return t ? t.isByLayer ? 256 : t.isByBlock ? 0 : t.isByACI && t.colorIndex != null ? t.colorIndex : null : null;
|
|
35911
35991
|
}
|
|
35912
|
-
function
|
|
35992
|
+
function Fn(s, e, t) {
|
|
35913
35993
|
const i = document.createElement("div");
|
|
35914
35994
|
i.className = `ml-aci-palette ${e}`;
|
|
35915
35995
|
for (const n of s) {
|
|
@@ -36043,19 +36123,19 @@ function bS(s) {
|
|
|
36043
36123
|
br(e, o), s.onSelect(o, r);
|
|
36044
36124
|
};
|
|
36045
36125
|
e.appendChild(
|
|
36046
|
-
|
|
36126
|
+
Fn(
|
|
36047
36127
|
Zm,
|
|
36048
36128
|
"ml-aci-palette-large",
|
|
36049
36129
|
s.selectedIndex
|
|
36050
36130
|
)
|
|
36051
36131
|
), e.appendChild(
|
|
36052
|
-
|
|
36132
|
+
Fn(
|
|
36053
36133
|
Ym,
|
|
36054
36134
|
"ml-aci-palette-small",
|
|
36055
36135
|
s.selectedIndex
|
|
36056
36136
|
)
|
|
36057
36137
|
), e.appendChild(
|
|
36058
|
-
|
|
36138
|
+
Fn(
|
|
36059
36139
|
Xm,
|
|
36060
36140
|
"ml-aci-palette-gray",
|
|
36061
36141
|
s.selectedIndex
|
|
@@ -36080,7 +36160,7 @@ function wS(s) {
|
|
|
36080
36160
|
!e && (w === 0 || w === 256) || (t = w, br(i, w), m.value = String(w), g(), (_ = s.onChange) == null || _.call(s, w));
|
|
36081
36161
|
};
|
|
36082
36162
|
i.appendChild(
|
|
36083
|
-
|
|
36163
|
+
Fn(
|
|
36084
36164
|
Zm,
|
|
36085
36165
|
"ml-aci-palette-large",
|
|
36086
36166
|
t
|
|
@@ -36088,7 +36168,7 @@ function wS(s) {
|
|
|
36088
36168
|
);
|
|
36089
36169
|
const o = document.createElement("div");
|
|
36090
36170
|
if (o.className = "ml-aci-small-row", o.appendChild(
|
|
36091
|
-
|
|
36171
|
+
Fn(
|
|
36092
36172
|
Ym,
|
|
36093
36173
|
"ml-aci-palette-small",
|
|
36094
36174
|
t
|
|
@@ -36102,7 +36182,7 @@ function wS(s) {
|
|
|
36102
36182
|
k.type = "button", k.textContent = s.labels.byBlock ?? "ByBlock", k.addEventListener("click", () => n(0)), w.append(_, k), o.appendChild(w);
|
|
36103
36183
|
}
|
|
36104
36184
|
i.appendChild(o), i.appendChild(
|
|
36105
|
-
|
|
36185
|
+
Fn(
|
|
36106
36186
|
Xm,
|
|
36107
36187
|
"ml-aci-palette-gray",
|
|
36108
36188
|
t
|
|
@@ -36394,9 +36474,9 @@ const Ds = class Ds extends en {
|
|
|
36394
36474
|
}
|
|
36395
36475
|
};
|
|
36396
36476
|
Ds.nextGroupId = 0;
|
|
36397
|
-
let
|
|
36477
|
+
let Fl = Ds;
|
|
36398
36478
|
async function kS(s) {
|
|
36399
|
-
return
|
|
36479
|
+
return Fl.open({
|
|
36400
36480
|
host: s.view.container,
|
|
36401
36481
|
theme: Qe(s.view.container),
|
|
36402
36482
|
initialMode: s.initialMode,
|
|
@@ -36629,7 +36709,7 @@ class LS {
|
|
|
36629
36709
|
*/
|
|
36630
36710
|
syncFromSession() {
|
|
36631
36711
|
if (this.kind === "measure") {
|
|
36632
|
-
const i = Qd(), n =
|
|
36712
|
+
const i = Qd(), n = Fe().workingDatabase, o = (i == null ? void 0 : i.color) ?? (n ? Nt(n) : Zp("#7b8794"));
|
|
36633
36713
|
this.paint(o);
|
|
36634
36714
|
return;
|
|
36635
36715
|
}
|
|
@@ -36720,7 +36800,7 @@ class LS {
|
|
|
36720
36800
|
t ? (rb(
|
|
36721
36801
|
m.textHeightMode,
|
|
36722
36802
|
m.textHeightMode === "custom" ? m.textHeightWcs ?? m.fontSize : m.fontSize
|
|
36723
|
-
), eu(this.view, m)) : (
|
|
36803
|
+
), eu(this.view, m)) : (Bk(
|
|
36724
36804
|
m.textHeightMode,
|
|
36725
36805
|
m.textHeightMode === "custom" ? m.textHeightWcs ?? m.fontSize : m.fontSize
|
|
36726
36806
|
), Qu(this.view, m));
|
|
@@ -36837,7 +36917,7 @@ function AS(s, e, t) {
|
|
|
36837
36917
|
const y = IS(e);
|
|
36838
36918
|
t.setActiveKind(y), s.selectionSessionAccessory = null, i.setExtensionItems([]);
|
|
36839
36919
|
const g = Vc((E = e.activeCommand) == null ? void 0 : E.globalName) != null, x = jr() != null, w = ee().selectedId != null, _ = x || w;
|
|
36840
|
-
i.isVisible && y != null && Jm(y) && (g && !
|
|
36920
|
+
i.isVisible && y != null && Jm(y) && (g && !Bi() || !g && _) ? a() : r();
|
|
36841
36921
|
}, c = ee().subscribe(l), d = nm(l), u = (y) => {
|
|
36842
36922
|
(y.key === "isShowRibbon" || y.key === "isShowShortCutToolbar") && l();
|
|
36843
36923
|
}, p = () => l(), m = () => {
|
|
@@ -37025,17 +37105,17 @@ class DS {
|
|
|
37025
37105
|
x,
|
|
37026
37106
|
M
|
|
37027
37107
|
);
|
|
37028
|
-
const
|
|
37108
|
+
const B = this.flipPixelsVertically(
|
|
37029
37109
|
M,
|
|
37030
37110
|
g,
|
|
37031
37111
|
x
|
|
37032
37112
|
), j = w ? this.cropPixelsCentered(
|
|
37033
|
-
|
|
37113
|
+
B,
|
|
37034
37114
|
g,
|
|
37035
37115
|
x,
|
|
37036
37116
|
m,
|
|
37037
37117
|
f
|
|
37038
|
-
) :
|
|
37118
|
+
) : B, U = this.createCanvasFromPixels(
|
|
37039
37119
|
j,
|
|
37040
37120
|
m,
|
|
37041
37121
|
f
|
|
@@ -37300,14 +37380,14 @@ class zS {
|
|
|
37300
37380
|
return ((e == null ? void 0 : e.trim()) || "drawing").replace(/\.[^.]+$/, "") || "drawing";
|
|
37301
37381
|
}
|
|
37302
37382
|
}
|
|
37303
|
-
class
|
|
37383
|
+
class BS extends $ {
|
|
37304
37384
|
async execute(e) {
|
|
37305
37385
|
await this.withBusyIndicator(() => {
|
|
37306
37386
|
new zS().convert();
|
|
37307
37387
|
}, h.t("main.message.exportingDxf"));
|
|
37308
37388
|
}
|
|
37309
37389
|
}
|
|
37310
|
-
class
|
|
37390
|
+
class FS extends ed {
|
|
37311
37391
|
constructor() {
|
|
37312
37392
|
super("jpeg", "jpgout");
|
|
37313
37393
|
}
|
|
@@ -37891,7 +37971,7 @@ class hf {
|
|
|
37891
37971
|
* @returns The value returned by `fn`.
|
|
37892
37972
|
*/
|
|
37893
37973
|
runEntityEdit(e) {
|
|
37894
|
-
return se(this.db,
|
|
37974
|
+
return se(this.db, Fw, e);
|
|
37895
37975
|
}
|
|
37896
37976
|
}
|
|
37897
37977
|
async function pf(s) {
|
|
@@ -39122,7 +39202,7 @@ function hh(s, e, t) {
|
|
|
39122
39202
|
const i = e.x - s.x, n = e.y - s.y, o = t === 1 ? Math.atan2(n, i) : Math.atan2(n, -i);
|
|
39123
39203
|
return Mt.normalizeAngle(o);
|
|
39124
39204
|
}
|
|
39125
|
-
function
|
|
39205
|
+
function Fi(s) {
|
|
39126
39206
|
if (!s) return;
|
|
39127
39207
|
const e = s.clockwise ? -1 : 1, t = { x: s.center.x, y: s.center.y, z: 0 };
|
|
39128
39208
|
return {
|
|
@@ -39159,7 +39239,7 @@ function Xs(s) {
|
|
|
39159
39239
|
function gf(s, e) {
|
|
39160
39240
|
s.center = e.center, s.radius = e.radius, s.startAngle = e.startAngle, s.endAngle = e.endAngle, s.normal = ff(e.normalSign);
|
|
39161
39241
|
}
|
|
39162
|
-
function
|
|
39242
|
+
function Ft(s) {
|
|
39163
39243
|
return {
|
|
39164
39244
|
center: { x: s.x, y: s.y, z: 0 },
|
|
39165
39245
|
radius: 1e-6,
|
|
@@ -39169,12 +39249,12 @@ function Bt(s) {
|
|
|
39169
39249
|
};
|
|
39170
39250
|
}
|
|
39171
39251
|
function ph(s, e, t, i = !1) {
|
|
39172
|
-
return
|
|
39252
|
+
return Fi(
|
|
39173
39253
|
we.tryCreateByThreePoints(s, e, t, i)
|
|
39174
39254
|
);
|
|
39175
39255
|
}
|
|
39176
39256
|
function mh(s, e, t, i) {
|
|
39177
|
-
return
|
|
39257
|
+
return Fi(
|
|
39178
39258
|
we.tryCreateByCenterStartEnd(
|
|
39179
39259
|
s,
|
|
39180
39260
|
e,
|
|
@@ -39184,7 +39264,7 @@ function mh(s, e, t, i) {
|
|
|
39184
39264
|
);
|
|
39185
39265
|
}
|
|
39186
39266
|
function Ao(s, e, t, i) {
|
|
39187
|
-
return
|
|
39267
|
+
return Fi(
|
|
39188
39268
|
we.tryCreateByCenterStartProjectedEnd(
|
|
39189
39269
|
s,
|
|
39190
39270
|
e,
|
|
@@ -39194,27 +39274,27 @@ function Ao(s, e, t, i) {
|
|
|
39194
39274
|
);
|
|
39195
39275
|
}
|
|
39196
39276
|
function hs(s, e, t) {
|
|
39197
|
-
return
|
|
39277
|
+
return Fi(
|
|
39198
39278
|
we.tryCreateByCenterStartSweep(s, e, t)
|
|
39199
39279
|
);
|
|
39200
39280
|
}
|
|
39201
39281
|
function ps(s, e, t) {
|
|
39202
|
-
return
|
|
39282
|
+
return Fi(
|
|
39203
39283
|
we.tryCreateByCenterStartChord(s, e, t)
|
|
39204
39284
|
);
|
|
39205
39285
|
}
|
|
39206
39286
|
function Ta(s, e, t) {
|
|
39207
|
-
return
|
|
39287
|
+
return Fi(
|
|
39208
39288
|
we.tryCreateByStartEndAngle(s, e, t)
|
|
39209
39289
|
);
|
|
39210
39290
|
}
|
|
39211
39291
|
function Oa(s, e, t) {
|
|
39212
|
-
return
|
|
39292
|
+
return Fi(
|
|
39213
39293
|
we.tryCreateByStartEndDirection(s, e, t)
|
|
39214
39294
|
);
|
|
39215
39295
|
}
|
|
39216
39296
|
function Da(s, e, t) {
|
|
39217
|
-
return
|
|
39297
|
+
return Fi(
|
|
39218
39298
|
we.tryCreateByStartEndRadius(s, e, t)
|
|
39219
39299
|
);
|
|
39220
39300
|
}
|
|
@@ -39574,7 +39654,7 @@ class a_ extends $ {
|
|
|
39574
39654
|
i,
|
|
39575
39655
|
this.applyCtrlDirectionValue(this.degToRad(m))
|
|
39576
39656
|
),
|
|
39577
|
-
|
|
39657
|
+
Ft(i)
|
|
39578
39658
|
);
|
|
39579
39659
|
const d = await v.instance.editor.getAngle(c), u = d.status === b.OK ? d.value : void 0;
|
|
39580
39660
|
if (u == null) return;
|
|
@@ -39596,7 +39676,7 @@ class a_ extends $ {
|
|
|
39596
39676
|
i,
|
|
39597
39677
|
this.applyCtrlDirectionValue(c)
|
|
39598
39678
|
),
|
|
39599
|
-
|
|
39679
|
+
Ft(i)
|
|
39600
39680
|
);
|
|
39601
39681
|
const r = await v.instance.editor.getDistance(o), a = r.status === b.OK ? r.value : void 0;
|
|
39602
39682
|
if (a == null) return;
|
|
@@ -39638,7 +39718,7 @@ class a_ extends $ {
|
|
|
39638
39718
|
n,
|
|
39639
39719
|
this.applyCtrlDirectionValue(this.degToRad(m))
|
|
39640
39720
|
),
|
|
39641
|
-
|
|
39721
|
+
Ft(n)
|
|
39642
39722
|
);
|
|
39643
39723
|
const d = await v.instance.editor.getAngle(c), u = d.status === b.OK ? d.value : void 0;
|
|
39644
39724
|
if (u == null) return;
|
|
@@ -39660,7 +39740,7 @@ class a_ extends $ {
|
|
|
39660
39740
|
n,
|
|
39661
39741
|
this.applyCtrlDirectionValue(c)
|
|
39662
39742
|
),
|
|
39663
|
-
|
|
39743
|
+
Ft(n)
|
|
39664
39744
|
);
|
|
39665
39745
|
const r = await v.instance.editor.getDistance(o), a = r.status === b.OK ? r.value : void 0;
|
|
39666
39746
|
if (a == null) return;
|
|
@@ -39698,7 +39778,7 @@ class a_ extends $ {
|
|
|
39698
39778
|
n,
|
|
39699
39779
|
this.applyCtrlDirectionValue(this.degToRad(m))
|
|
39700
39780
|
),
|
|
39701
|
-
|
|
39781
|
+
Ft(i)
|
|
39702
39782
|
);
|
|
39703
39783
|
const d = await v.instance.editor.getAngle(c), u = d.status === b.OK ? d.value : void 0;
|
|
39704
39784
|
if (u == null) return;
|
|
@@ -39721,7 +39801,7 @@ class a_ extends $ {
|
|
|
39721
39801
|
n,
|
|
39722
39802
|
Math.atan2(f.y - i.y, f.x - i.x)
|
|
39723
39803
|
),
|
|
39724
|
-
|
|
39804
|
+
Ft(i)
|
|
39725
39805
|
);
|
|
39726
39806
|
const d = await v.instance.editor.getPoint(c), u = d.status === b.OK ? d.value : void 0;
|
|
39727
39807
|
if (!u) return;
|
|
@@ -39742,7 +39822,7 @@ class a_ extends $ {
|
|
|
39742
39822
|
n,
|
|
39743
39823
|
this.applyCtrlDirectionValue(c)
|
|
39744
39824
|
),
|
|
39745
|
-
|
|
39825
|
+
Ft(i)
|
|
39746
39826
|
);
|
|
39747
39827
|
const r = await v.instance.editor.getDistance(o), a = r.status === b.OK ? r.value : void 0;
|
|
39748
39828
|
if (a == null) return;
|
|
@@ -39802,7 +39882,7 @@ class a_ extends $ {
|
|
|
39802
39882
|
a,
|
|
39803
39883
|
this.applyCtrlDirectionSign(1)
|
|
39804
39884
|
),
|
|
39805
|
-
|
|
39885
|
+
Ft(i)
|
|
39806
39886
|
);
|
|
39807
39887
|
const o = await v.instance.editor.getPoint(n);
|
|
39808
39888
|
if (o.status !== b.OK) return;
|
|
@@ -39895,7 +39975,7 @@ class a_ extends $ {
|
|
|
39895
39975
|
// Live preview follows the same Ctrl reverse behavior as final commit.
|
|
39896
39976
|
this.isCtrlDirectionFlipped()
|
|
39897
39977
|
),
|
|
39898
|
-
|
|
39978
|
+
Ft(t)
|
|
39899
39979
|
);
|
|
39900
39980
|
const o = await v.instance.editor.getPoint(n);
|
|
39901
39981
|
if (o.status !== b.OK) return;
|
|
@@ -39965,7 +40045,7 @@ class a_ extends $ {
|
|
|
39965
40045
|
r,
|
|
39966
40046
|
this.applyCtrlDirectionSign(1)
|
|
39967
40047
|
),
|
|
39968
|
-
|
|
40048
|
+
Ft(i)
|
|
39969
40049
|
);
|
|
39970
40050
|
const o = await v.instance.editor.getPoint(n);
|
|
39971
40051
|
if (o.status === b.OK) {
|
|
@@ -40038,7 +40118,7 @@ class a_ extends $ {
|
|
|
40038
40118
|
o,
|
|
40039
40119
|
this.applyCtrlDirectionSign(1)
|
|
40040
40120
|
),
|
|
40041
|
-
|
|
40121
|
+
Ft(t)
|
|
40042
40122
|
);
|
|
40043
40123
|
const a = await v.instance.editor.getPoint(r);
|
|
40044
40124
|
if (a.status === b.OK) {
|
|
@@ -40486,7 +40566,7 @@ class c_ extends $ {
|
|
|
40486
40566
|
return bh(e, t, i);
|
|
40487
40567
|
}
|
|
40488
40568
|
}
|
|
40489
|
-
const
|
|
40569
|
+
const Be = "*UDIM";
|
|
40490
40570
|
function d_(s) {
|
|
40491
40571
|
const e = s.tables.blockTable.newIterator();
|
|
40492
40572
|
let t = 0;
|
|
@@ -40611,7 +40691,7 @@ function vf(s, e) {
|
|
|
40611
40691
|
i.push(n.objectId);
|
|
40612
40692
|
i.length > 0 && t.removeEntity(i), s.tables.blockTable.remove(e);
|
|
40613
40693
|
}
|
|
40614
|
-
function Ri(s, e, t =
|
|
40694
|
+
function Ri(s, e, t = Be) {
|
|
40615
40695
|
bf(s), vf(s, t), s.tables.blockTable.add(e.createDimBlock(t)), e.dimBlockId = t;
|
|
40616
40696
|
}
|
|
40617
40697
|
function ji(s, e) {
|
|
@@ -40619,7 +40699,7 @@ function ji(s, e) {
|
|
|
40619
40699
|
const t = d_(s);
|
|
40620
40700
|
return s.tables.blockTable.add(e.createDimBlock(t)), e.dimBlockId = t, t;
|
|
40621
40701
|
}
|
|
40622
|
-
function Vi(s, e =
|
|
40702
|
+
function Vi(s, e = Be) {
|
|
40623
40703
|
vf(s, e);
|
|
40624
40704
|
}
|
|
40625
40705
|
function xf(s) {
|
|
@@ -40654,9 +40734,9 @@ function Wl(s, e, t) {
|
|
|
40654
40734
|
return Math.abs(t.y - n) >= o ? 0 : Math.PI / 2;
|
|
40655
40735
|
}
|
|
40656
40736
|
function zI(s) {
|
|
40657
|
-
return s instanceof
|
|
40737
|
+
return s instanceof Fs;
|
|
40658
40738
|
}
|
|
40659
|
-
function
|
|
40739
|
+
function BI(s) {
|
|
40660
40740
|
return s instanceof eo;
|
|
40661
40741
|
}
|
|
40662
40742
|
let Xr = null, sd = null, qr = 0;
|
|
@@ -40725,10 +40805,10 @@ class b_ extends Y {
|
|
|
40725
40805
|
update(e) {
|
|
40726
40806
|
this._dim.dimLinePoint = e;
|
|
40727
40807
|
const t = this._dim.xLine2Point.x - this._dim.xLine1Point.x, i = this._dim.xLine2Point.y - this._dim.xLine1Point.y;
|
|
40728
|
-
this._dim.rotation = Math.atan2(i, t), Ri(this._db, this._dim,
|
|
40808
|
+
this._dim.rotation = Math.atan2(i, t), Ri(this._db, this._dim, Be);
|
|
40729
40809
|
}
|
|
40730
40810
|
end() {
|
|
40731
|
-
super.end(), Vi(this._db,
|
|
40811
|
+
super.end(), Vi(this._db, Be);
|
|
40732
40812
|
}
|
|
40733
40813
|
}
|
|
40734
40814
|
class w_ extends $ {
|
|
@@ -40819,10 +40899,10 @@ class v_ extends Y {
|
|
|
40819
40899
|
return this._dim;
|
|
40820
40900
|
}
|
|
40821
40901
|
update(e) {
|
|
40822
|
-
this._dim.arcPoint = new A().copy(e), Ri(this._db, this._dim,
|
|
40902
|
+
this._dim.arcPoint = new A().copy(e), Ri(this._db, this._dim, Be);
|
|
40823
40903
|
}
|
|
40824
40904
|
end() {
|
|
40825
|
-
super.end(), Vi(this._db,
|
|
40905
|
+
super.end(), Vi(this._db, Be);
|
|
40826
40906
|
}
|
|
40827
40907
|
}
|
|
40828
40908
|
class x_ extends $ {
|
|
@@ -40948,10 +41028,10 @@ class S_ extends Y {
|
|
|
40948
41028
|
return this._dim;
|
|
40949
41029
|
}
|
|
40950
41030
|
update(e) {
|
|
40951
|
-
this._dim.arcPoint = new A().copy(e), Ri(this._db, this._dim,
|
|
41031
|
+
this._dim.arcPoint = new A().copy(e), Ri(this._db, this._dim, Be);
|
|
40952
41032
|
}
|
|
40953
41033
|
end() {
|
|
40954
|
-
super.end(), Vi(this._db,
|
|
41034
|
+
super.end(), Vi(this._db, Be);
|
|
40955
41035
|
}
|
|
40956
41036
|
}
|
|
40957
41037
|
class __ extends $ {
|
|
@@ -41061,8 +41141,8 @@ function Cf(s, e, t, i) {
|
|
|
41061
41141
|
);
|
|
41062
41142
|
}
|
|
41063
41143
|
const n = t === "baseline" ? s.xLine1Point.clone() : s.xLine2Point.clone(), o = t === "baseline" && i > 0 ? C_(s, i) : s.dimLinePoint.clone();
|
|
41064
|
-
if (s instanceof
|
|
41065
|
-
const r = new
|
|
41144
|
+
if (s instanceof Fs) {
|
|
41145
|
+
const r = new Fs(n, e, o);
|
|
41066
41146
|
return r.rotation = s.rotation, r;
|
|
41067
41147
|
}
|
|
41068
41148
|
return new eo(n, e, o);
|
|
@@ -41082,11 +41162,11 @@ class L_ extends Y {
|
|
|
41082
41162
|
_f(n, t), (o = this._dim) != null && o.objectId && this._dim.objectId !== n.objectId && this._view.removeTransientEntity(this._dim.objectId), this._dim = n, Ri(
|
|
41083
41163
|
this._db,
|
|
41084
41164
|
n,
|
|
41085
|
-
|
|
41165
|
+
Be
|
|
41086
41166
|
);
|
|
41087
41167
|
}
|
|
41088
41168
|
end() {
|
|
41089
|
-
super.end(), this._dim = null, Vi(this._db,
|
|
41169
|
+
super.end(), this._dim = null, Vi(this._db, Be);
|
|
41090
41170
|
}
|
|
41091
41171
|
}
|
|
41092
41172
|
async function Pf(s, e) {
|
|
@@ -41154,10 +41234,10 @@ class A_ extends Y {
|
|
|
41154
41234
|
this._center.y - r * this._radius,
|
|
41155
41235
|
this._center.z ?? 0
|
|
41156
41236
|
);
|
|
41157
|
-
this._dim.chordPoint = a, this._dim.farChordPoint = l, this._dim.leaderLength = Math.max(0, n - this._radius), Ri(this._db, this._dim,
|
|
41237
|
+
this._dim.chordPoint = a, this._dim.farChordPoint = l, this._dim.leaderLength = Math.max(0, n - this._radius), Ri(this._db, this._dim, Be);
|
|
41158
41238
|
}
|
|
41159
41239
|
end() {
|
|
41160
|
-
super.end(), Vi(this._db,
|
|
41240
|
+
super.end(), Vi(this._db, Be);
|
|
41161
41241
|
}
|
|
41162
41242
|
}
|
|
41163
41243
|
class I_ extends $ {
|
|
@@ -41212,7 +41292,7 @@ class I_ extends $ {
|
|
|
41212
41292
|
const jt = "jig.dimlinear";
|
|
41213
41293
|
class T_ extends Y {
|
|
41214
41294
|
constructor(e, t, i, n, o = null) {
|
|
41215
|
-
super(e), this._db = t, this._forcedRotation = o, this._dim = new
|
|
41295
|
+
super(e), this._db = t, this._forcedRotation = o, this._dim = new Fs(i, n, i), ct(this._dim, t);
|
|
41216
41296
|
const r = o ?? Wl(i, n, i);
|
|
41217
41297
|
this._dim.rotation = r;
|
|
41218
41298
|
}
|
|
@@ -41227,10 +41307,10 @@ class T_ extends Y {
|
|
|
41227
41307
|
this._dim.xLine1Point,
|
|
41228
41308
|
this._dim.xLine2Point,
|
|
41229
41309
|
e
|
|
41230
|
-
), Ri(this._db, this._dim,
|
|
41310
|
+
), Ri(this._db, this._dim, Be);
|
|
41231
41311
|
}
|
|
41232
41312
|
end() {
|
|
41233
|
-
super.end(), Vi(this._db,
|
|
41313
|
+
super.end(), Vi(this._db, Be);
|
|
41234
41314
|
}
|
|
41235
41315
|
}
|
|
41236
41316
|
class O_ extends $ {
|
|
@@ -41291,7 +41371,7 @@ class O_ extends $ {
|
|
|
41291
41371
|
}
|
|
41292
41372
|
const m = p.value;
|
|
41293
41373
|
d.end();
|
|
41294
|
-
const f = new
|
|
41374
|
+
const f = new Fs(
|
|
41295
41375
|
o,
|
|
41296
41376
|
r,
|
|
41297
41377
|
m
|
|
@@ -41337,10 +41417,10 @@ class D_ extends Y {
|
|
|
41337
41417
|
return this._dim;
|
|
41338
41418
|
}
|
|
41339
41419
|
update(e) {
|
|
41340
|
-
this._dim.definingPoint = new A().copy(this._feature), this._dim.leaderEndPoint = new A().copy(e), this._dim.useXAxis = this.resolveXAxis(e), Ri(this._db, this._dim,
|
|
41420
|
+
this._dim.definingPoint = new A().copy(this._feature), this._dim.leaderEndPoint = new A().copy(e), this._dim.useXAxis = this.resolveXAxis(e), Ri(this._db, this._dim, Be);
|
|
41341
41421
|
}
|
|
41342
41422
|
end() {
|
|
41343
|
-
super.end(), Vi(this._db,
|
|
41423
|
+
super.end(), Vi(this._db, Be);
|
|
41344
41424
|
}
|
|
41345
41425
|
resolveXAxis(e) {
|
|
41346
41426
|
if (this.forcedAxis === "x") return !0;
|
|
@@ -41417,13 +41497,13 @@ class z_ extends Y {
|
|
|
41417
41497
|
);
|
|
41418
41498
|
this._dim.chordPoint = o;
|
|
41419
41499
|
const r = Math.max(0, n - this._radius);
|
|
41420
|
-
this._dim.leaderLength = r, Ri(this._db, this._dim,
|
|
41500
|
+
this._dim.leaderLength = r, Ri(this._db, this._dim, Be);
|
|
41421
41501
|
}
|
|
41422
41502
|
end() {
|
|
41423
|
-
super.end(), Vi(this._db,
|
|
41503
|
+
super.end(), Vi(this._db, Be);
|
|
41424
41504
|
}
|
|
41425
41505
|
}
|
|
41426
|
-
class
|
|
41506
|
+
class B_ extends $ {
|
|
41427
41507
|
constructor() {
|
|
41428
41508
|
super(), this.mode = H.Write;
|
|
41429
41509
|
}
|
|
@@ -41608,7 +41688,7 @@ const rd = { x: 0, y: 0, z: 1 };
|
|
|
41608
41688
|
function Io(s, e) {
|
|
41609
41689
|
return Math.hypot(e.x - s.x, e.y - s.y);
|
|
41610
41690
|
}
|
|
41611
|
-
function
|
|
41691
|
+
function F_(s, e) {
|
|
41612
41692
|
return {
|
|
41613
41693
|
x: (s.x + e.x) / 2,
|
|
41614
41694
|
y: (s.y + e.y) / 2,
|
|
@@ -41874,7 +41954,7 @@ class $_ extends $ {
|
|
|
41874
41954
|
this.warnInvalidInput("axis");
|
|
41875
41955
|
return;
|
|
41876
41956
|
}
|
|
41877
|
-
const d =
|
|
41957
|
+
const d = F_(t, r), u = Io(t, r) / 2, p = await this.promptOtherAxis(
|
|
41878
41958
|
e,
|
|
41879
41959
|
d,
|
|
41880
41960
|
c,
|
|
@@ -42874,7 +42954,7 @@ class iC extends $ {
|
|
|
42874
42954
|
i.setPosition(l);
|
|
42875
42955
|
let c = 1, d = 1, u = 1;
|
|
42876
42956
|
if (!((n == null ? void 0 : n.specifyScale) !== !1) && n)
|
|
42877
|
-
c =
|
|
42957
|
+
c = Ba(n.scaleX, 1), d = Ba(n.scaleY, c), u = Ba(n.scaleZ, c), i.setScaleFactors(c, d, u);
|
|
42878
42958
|
else {
|
|
42879
42959
|
i.setMode("scale");
|
|
42880
42960
|
const g = new Me(
|
|
@@ -42910,7 +42990,7 @@ class iC extends $ {
|
|
|
42910
42990
|
}), !0;
|
|
42911
42991
|
}
|
|
42912
42992
|
}
|
|
42913
|
-
function
|
|
42993
|
+
function Ba(s, e) {
|
|
42914
42994
|
return s !== void 0 && s > 0 ? s : e;
|
|
42915
42995
|
}
|
|
42916
42996
|
class nC extends Y {
|
|
@@ -43861,12 +43941,12 @@ class vC extends $ {
|
|
|
43861
43941
|
P.jig = p();
|
|
43862
43942
|
const M = await v.instance.editor.getDouble(P);
|
|
43863
43943
|
if (w(M.status)) return "finish";
|
|
43864
|
-
const
|
|
43944
|
+
const B = new N(
|
|
43865
43945
|
h.t("jig.polyline.arcEndPoint")
|
|
43866
43946
|
);
|
|
43867
|
-
|
|
43947
|
+
B.useDashedLine = !0, B.useBasePoint = !0, B.basePoint = new A(C);
|
|
43868
43948
|
const j = (M.value ?? 0) * (Math.PI / 180), U = c();
|
|
43869
|
-
|
|
43949
|
+
B.jig = m(
|
|
43870
43950
|
void 0,
|
|
43871
43951
|
(le) => o(
|
|
43872
43952
|
u(
|
|
@@ -43877,7 +43957,7 @@ class vC extends $ {
|
|
|
43877
43957
|
)
|
|
43878
43958
|
)
|
|
43879
43959
|
);
|
|
43880
|
-
const Q = await v.instance.editor.getPoint(
|
|
43960
|
+
const Q = await v.instance.editor.getPoint(B);
|
|
43881
43961
|
if (w(Q.status)) return "finish";
|
|
43882
43962
|
const K = u(
|
|
43883
43963
|
C,
|
|
@@ -43894,16 +43974,16 @@ class vC extends $ {
|
|
|
43894
43974
|
P.jig = p();
|
|
43895
43975
|
const M = await v.instance.editor.getPoint(P);
|
|
43896
43976
|
if (w(M.status)) return "finish";
|
|
43897
|
-
const
|
|
43977
|
+
const B = new N(
|
|
43898
43978
|
h.t("jig.polyline.arcEndPoint")
|
|
43899
43979
|
);
|
|
43900
|
-
|
|
43980
|
+
B.useDashedLine = !0, B.useBasePoint = !0, B.basePoint = new A(C), B.jig = m(
|
|
43901
43981
|
void 0,
|
|
43902
43982
|
(Q) => o(
|
|
43903
43983
|
r(C, Q, M.value)
|
|
43904
43984
|
)
|
|
43905
43985
|
);
|
|
43906
|
-
const j = await v.instance.editor.getPoint(
|
|
43986
|
+
const j = await v.instance.editor.getPoint(B);
|
|
43907
43987
|
if (w(j.status)) return "finish";
|
|
43908
43988
|
const U = r(
|
|
43909
43989
|
C,
|
|
@@ -43919,16 +43999,16 @@ class vC extends $ {
|
|
|
43919
43999
|
P.jig = p(), P.useDashedLine = !0, P.useBasePoint = !0, P.basePoint = new A(C);
|
|
43920
44000
|
const M = await v.instance.editor.getPoint(P);
|
|
43921
44001
|
if (w(M.status)) return "finish";
|
|
43922
|
-
const
|
|
44002
|
+
const B = new N(
|
|
43923
44003
|
h.t("jig.polyline.arcEndPoint")
|
|
43924
44004
|
);
|
|
43925
|
-
|
|
44005
|
+
B.useDashedLine = !0, B.useBasePoint = !0, B.basePoint = new A(C), B.jig = m(
|
|
43926
44006
|
void 0,
|
|
43927
44007
|
(Q) => o(
|
|
43928
44008
|
a(C, M.value, Q)
|
|
43929
44009
|
)
|
|
43930
44010
|
);
|
|
43931
|
-
const j = await v.instance.editor.getPoint(
|
|
44011
|
+
const j = await v.instance.editor.getPoint(B);
|
|
43932
44012
|
if (w(j.status)) return "finish";
|
|
43933
44013
|
const U = a(
|
|
43934
44014
|
C,
|
|
@@ -43944,16 +44024,16 @@ class vC extends $ {
|
|
|
43944
44024
|
P.jig = p();
|
|
43945
44025
|
const M = await v.instance.editor.getDouble(P);
|
|
43946
44026
|
if (w(M.status)) return "finish";
|
|
43947
|
-
const
|
|
44027
|
+
const B = new N(
|
|
43948
44028
|
h.t("jig.polyline.arcEndPoint")
|
|
43949
44029
|
);
|
|
43950
|
-
|
|
44030
|
+
B.useDashedLine = !0, B.useBasePoint = !0, B.basePoint = new A(C), B.jig = m(
|
|
43951
44031
|
void 0,
|
|
43952
44032
|
(Q) => o(
|
|
43953
44033
|
l(C, Q, M.value ?? 0)
|
|
43954
44034
|
)
|
|
43955
44035
|
);
|
|
43956
|
-
const j = await v.instance.editor.getPoint(
|
|
44036
|
+
const j = await v.instance.editor.getPoint(B);
|
|
43957
44037
|
if (w(j.status)) return "finish";
|
|
43958
44038
|
const U = l(
|
|
43959
44039
|
C,
|
|
@@ -44177,7 +44257,7 @@ class gn extends Y {
|
|
|
44177
44257
|
update(e) {
|
|
44178
44258
|
}
|
|
44179
44259
|
}
|
|
44180
|
-
function
|
|
44260
|
+
function Fa(s) {
|
|
44181
44261
|
return {
|
|
44182
44262
|
chamferDist1: s.chamferDist1,
|
|
44183
44263
|
chamferDist2: s.chamferDist2,
|
|
@@ -44209,7 +44289,7 @@ const zs = class zs extends $ {
|
|
|
44209
44289
|
* @param context - Current application/document context.
|
|
44210
44290
|
*/
|
|
44211
44291
|
async execute(e) {
|
|
44212
|
-
const t =
|
|
44292
|
+
const t = Fa(zs._settings), i = await this.promptFirstCorner(t);
|
|
44213
44293
|
if (!i) return;
|
|
44214
44294
|
const n = await this.promptSecondInput(
|
|
44215
44295
|
e,
|
|
@@ -44222,7 +44302,7 @@ const zs = class zs extends $ {
|
|
|
44222
44302
|
this.warnRectMessage("invalidRect");
|
|
44223
44303
|
return;
|
|
44224
44304
|
}
|
|
44225
|
-
J.isPositive(t.thickness) && this.warnRectMessage("thicknessNotSupported"), e.doc.database.tables.blockTable.modelSpace.appendEntity(o), zs._settings =
|
|
44305
|
+
J.isPositive(t.thickness) && this.warnRectMessage("thicknessNotSupported"), e.doc.database.tables.blockTable.modelSpace.appendEntity(o), zs._settings = Fa(t);
|
|
44226
44306
|
}
|
|
44227
44307
|
/**
|
|
44228
44308
|
* Emits a warning message for invalid rectangle input.
|
|
@@ -44537,7 +44617,7 @@ const zs = class zs extends $ {
|
|
|
44537
44617
|
};
|
|
44538
44618
|
}
|
|
44539
44619
|
};
|
|
44540
|
-
zs._settings =
|
|
44620
|
+
zs._settings = Fa(
|
|
44541
44621
|
_C
|
|
44542
44622
|
);
|
|
44543
44623
|
let Xl = zs;
|
|
@@ -44585,7 +44665,7 @@ function Nf(s, e) {
|
|
|
44585
44665
|
}
|
|
44586
44666
|
return t;
|
|
44587
44667
|
}
|
|
44588
|
-
function
|
|
44668
|
+
function BC(s, e, t) {
|
|
44589
44669
|
const i = Nf(s, e);
|
|
44590
44670
|
let n = i > 0 ? (t % i + i) % i : 0;
|
|
44591
44671
|
const o = e ? s.length : s.length - 1;
|
|
@@ -44600,7 +44680,7 @@ function FC(s, e, t) {
|
|
|
44600
44680
|
const r = s[e ? 0 : s.length - 1];
|
|
44601
44681
|
return new G(r.x, r.y);
|
|
44602
44682
|
}
|
|
44603
|
-
function
|
|
44683
|
+
function FC(s, e) {
|
|
44604
44684
|
if (!e) return 1;
|
|
44605
44685
|
const t = Math.sin(s * 12.9898 + 78.233) * 43758.5453;
|
|
44606
44686
|
return 0.75 + (t - Math.floor(t)) * 0.5;
|
|
@@ -44609,7 +44689,7 @@ function RC(s, e, t) {
|
|
|
44609
44689
|
const i = Math.max(e * 0.35, s * 1e-4), n = [];
|
|
44610
44690
|
let o = s, r = 0;
|
|
44611
44691
|
for (; o > i * 0.5; ) {
|
|
44612
|
-
let a = e *
|
|
44692
|
+
let a = e * FC(r, t);
|
|
44613
44693
|
if (a = Math.min(Math.max(a, i), o), o - a < i * 0.5 && (a = o), n.push(a), o -= a, r++, n.length > 4096) break;
|
|
44614
44694
|
}
|
|
44615
44695
|
return n.length === 0 && n.push(s), n;
|
|
@@ -44627,7 +44707,7 @@ function jC(s, e, t, i) {
|
|
|
44627
44707
|
s.reset(!1);
|
|
44628
44708
|
let u = 0;
|
|
44629
44709
|
return a.forEach((p, m) => {
|
|
44630
|
-
const f =
|
|
44710
|
+
const f = BC(n, t, u);
|
|
44631
44711
|
c && d != null ? s.addVertexAt(m, f, l, 0, d) : s.addVertexAt(m, f, l), u += p;
|
|
44632
44712
|
}), s.closed = t, s.numberOfVertices >= 2;
|
|
44633
44713
|
}
|
|
@@ -44761,7 +44841,7 @@ function KC(s, e) {
|
|
|
44761
44841
|
return t.length >= 2 ? { points: t, closed: !!s.closed } : void 0;
|
|
44762
44842
|
}
|
|
44763
44843
|
}
|
|
44764
|
-
function
|
|
44844
|
+
function Bf(s, e, t) {
|
|
44765
44845
|
return Zn(s, e) <= Math.max(t * 0.5, 1e-6);
|
|
44766
44846
|
}
|
|
44767
44847
|
const YC = {
|
|
@@ -44845,7 +44925,7 @@ class qC extends Y {
|
|
|
44845
44925
|
}
|
|
44846
44926
|
update(e) {
|
|
44847
44927
|
const t = this._settings.arcLength ?? 1, i = this._points[this._points.length - 1];
|
|
44848
|
-
i && Zn(i, e) >= t && this._points.push(ei(e)), this._closed = this._points.length >= 3 &&
|
|
44928
|
+
i && Zn(i, e) >= t && this._points.push(ei(e)), this._closed = this._points.length >= 3 && Bf(this._points[0], e, t);
|
|
44849
44929
|
const n = this._closed ? this._points : [...this._points, ei(e)];
|
|
44850
44930
|
nn(this._cloud, n, this._closed, this._settings);
|
|
44851
44931
|
}
|
|
@@ -45014,7 +45094,7 @@ const Tr = class Tr extends $ {
|
|
|
45014
45094
|
return;
|
|
45015
45095
|
}
|
|
45016
45096
|
if (l.status !== b.OK || !l.value) return;
|
|
45017
|
-
if (o.points.length >= 3 &&
|
|
45097
|
+
if (o.points.length >= 3 && Bf(o.points[0], l.value, r)) {
|
|
45018
45098
|
await this.commitCloud(e, o.points, !0, t);
|
|
45019
45099
|
return;
|
|
45020
45100
|
}
|
|
@@ -45379,7 +45459,7 @@ class s1 extends Y {
|
|
|
45379
45459
|
);
|
|
45380
45460
|
return;
|
|
45381
45461
|
}
|
|
45382
|
-
const t = e.map((r) => new A(r.x, r.y, 0)), i =
|
|
45462
|
+
const t = e.map((r) => new A(r.x, r.y, 0)), i = Ff(t.length, this._settings), n = this._closed && t.length >= 3;
|
|
45383
45463
|
if (this._settings.method === "fit") {
|
|
45384
45464
|
this._spline.rebuild(
|
|
45385
45465
|
t,
|
|
@@ -45644,7 +45724,7 @@ function ud(s, e, t) {
|
|
|
45644
45724
|
d
|
|
45645
45725
|
);
|
|
45646
45726
|
}
|
|
45647
|
-
const o =
|
|
45727
|
+
const o = Ff(n.length, e), r = t && n.length >= 3;
|
|
45648
45728
|
if (e.method === "fit")
|
|
45649
45729
|
return new _n(
|
|
45650
45730
|
n,
|
|
@@ -45655,7 +45735,7 @@ function ud(s, e, t) {
|
|
|
45655
45735
|
const a = Ms(n.length, o), l = new _n(n, a, void 0, o, !1);
|
|
45656
45736
|
return r && (l.closed = !0), l;
|
|
45657
45737
|
}
|
|
45658
|
-
function
|
|
45738
|
+
function Ff(s, e) {
|
|
45659
45739
|
const t = Math.max(1, s - 1);
|
|
45660
45740
|
return e.method === "fit" ? Math.min(3, t) : Math.min(Math.max(1, e.degree), t);
|
|
45661
45741
|
}
|
|
@@ -45692,7 +45772,7 @@ function Ms(s, e) {
|
|
|
45692
45772
|
return t;
|
|
45693
45773
|
}
|
|
45694
45774
|
async function jf(s, e) {
|
|
45695
|
-
const t =
|
|
45775
|
+
const t = Fe(), i = t._workingDatabase;
|
|
45696
45776
|
t.workingDatabase = s;
|
|
45697
45777
|
try {
|
|
45698
45778
|
return await e();
|
|
@@ -46229,7 +46309,7 @@ function _1(s, e, t, i, n, o, r = 2, a) {
|
|
|
46229
46309
|
a
|
|
46230
46310
|
), c.beginPath(), c.moveTo(d.x, d.y), c.lineTo(u.x, u.y), c.moveTo(d.x, d.y), c.lineTo(p.x, p.y), c.stroke();
|
|
46231
46311
|
const m = Math.atan2(u.y - d.y, u.x - d.x), f = Math.atan2(p.y - d.y, p.x - d.x), y = Mt.normalizeAngle(f - m) > Math.PI, g = Sc(
|
|
46232
|
-
|
|
46312
|
+
Bp(t, i, n),
|
|
46233
46313
|
e
|
|
46234
46314
|
);
|
|
46235
46315
|
g > 0 && (c.beginPath(), c.arc(d.x, d.y, g, m, f, y), c.stroke()), c.restore();
|
|
@@ -46489,7 +46569,7 @@ class Qr extends uo {
|
|
|
46489
46569
|
vertex: { ...i.vertex },
|
|
46490
46570
|
arm1: { ...i.arm1 },
|
|
46491
46571
|
arm2: { ...i.arm2 }
|
|
46492
|
-
},
|
|
46572
|
+
}, B = P ? { ...P, geometry: M } : {
|
|
46493
46573
|
id: this.entityId,
|
|
46494
46574
|
type: "angle",
|
|
46495
46575
|
layoutId: r,
|
|
@@ -46497,7 +46577,7 @@ class Qr extends uo {
|
|
|
46497
46577
|
geometry: M
|
|
46498
46578
|
};
|
|
46499
46579
|
_t(e, "Move Angle", () => {
|
|
46500
|
-
co(e, t,
|
|
46580
|
+
co(e, t, B);
|
|
46501
46581
|
});
|
|
46502
46582
|
}, T = (C, P) => at({
|
|
46503
46583
|
view: e,
|
|
@@ -46744,7 +46824,7 @@ class ea extends uo {
|
|
|
46744
46824
|
a = (le == null ? void 0 : le.length) ?? 0, _.setText(At(t, a)), ye(e, _, l()), L(ri(this.entityId) ?? this.style), e.isHtmlDirty = !0;
|
|
46745
46825
|
}, M = () => {
|
|
46746
46826
|
n.start = { ...C.start }, n.end = { ...C.end }, n.through = C.through ? { ...C.through } : void 0, n.geom = { ...C.geom }, ye(e, p, n.start), ye(e, f, n.end), m && n.through && ye(e, m, n.through), P();
|
|
46747
|
-
},
|
|
46827
|
+
}, B = () => {
|
|
46748
46828
|
ho(e, this.entityId), C = {
|
|
46749
46829
|
start: { ...n.start },
|
|
46750
46830
|
end: { ...n.end },
|
|
@@ -46789,7 +46869,7 @@ class ea extends uo {
|
|
|
46789
46869
|
at({
|
|
46790
46870
|
view: e,
|
|
46791
46871
|
el: p.element,
|
|
46792
|
-
onDragStart:
|
|
46872
|
+
onDragStart: B,
|
|
46793
46873
|
onMove: (K) => {
|
|
46794
46874
|
n.start = U(K), ye(e, p, n.start), P();
|
|
46795
46875
|
},
|
|
@@ -46798,7 +46878,7 @@ class ea extends uo {
|
|
|
46798
46878
|
at({
|
|
46799
46879
|
view: e,
|
|
46800
46880
|
el: f.element,
|
|
46801
|
-
onDragStart:
|
|
46881
|
+
onDragStart: B,
|
|
46802
46882
|
onMove: (K) => {
|
|
46803
46883
|
n.end = U(K), ye(e, f, n.end), P();
|
|
46804
46884
|
},
|
|
@@ -46808,7 +46888,7 @@ class ea extends uo {
|
|
|
46808
46888
|
at({
|
|
46809
46889
|
view: e,
|
|
46810
46890
|
el: m.element,
|
|
46811
|
-
onDragStart:
|
|
46891
|
+
onDragStart: B,
|
|
46812
46892
|
onMove: (K) => {
|
|
46813
46893
|
n.through = K, ye(e, m, K), P();
|
|
46814
46894
|
},
|
|
@@ -47180,8 +47260,8 @@ class ia extends uo {
|
|
|
47180
47260
|
canvases: [l.canvas]
|
|
47181
47261
|
});
|
|
47182
47262
|
const w = (P = this.style) => {
|
|
47183
|
-
var
|
|
47184
|
-
const M = ((
|
|
47263
|
+
var B;
|
|
47264
|
+
const M = ((B = Qi(this.entityId)) == null ? void 0 : B.style.arrowSizeWcs) ?? y;
|
|
47185
47265
|
S1(
|
|
47186
47266
|
l.canvas,
|
|
47187
47267
|
e,
|
|
@@ -47222,8 +47302,8 @@ class ia extends uo {
|
|
|
47222
47302
|
D();
|
|
47223
47303
|
return;
|
|
47224
47304
|
}
|
|
47225
|
-
const
|
|
47226
|
-
...
|
|
47305
|
+
const B = Qi(this.entityId), j = B ? {
|
|
47306
|
+
...B,
|
|
47227
47307
|
geometry: {
|
|
47228
47308
|
type: "distance",
|
|
47229
47309
|
start: { ...i.start },
|
|
@@ -47568,7 +47648,7 @@ async function md(s, e) {
|
|
|
47568
47648
|
() => s.view.editor.withCursor(z1, e)
|
|
47569
47649
|
);
|
|
47570
47650
|
}
|
|
47571
|
-
const
|
|
47651
|
+
const FI = md;
|
|
47572
47652
|
class ss extends ef {
|
|
47573
47653
|
constructor() {
|
|
47574
47654
|
super(), this.mode = H.Read;
|
|
@@ -47578,11 +47658,11 @@ class ss extends ef {
|
|
|
47578
47658
|
return md(e, t);
|
|
47579
47659
|
}
|
|
47580
47660
|
}
|
|
47581
|
-
function
|
|
47661
|
+
function B1(s, e, t) {
|
|
47582
47662
|
const i = e.x - s.x, n = e.y - s.y, o = t.x - s.x, r = t.y - s.y, a = i * o + n * r, l = i * r - n * o;
|
|
47583
47663
|
return Math.atan2(Math.abs(l), a) * 180 / Math.PI;
|
|
47584
47664
|
}
|
|
47585
|
-
function
|
|
47665
|
+
function F1(s, e, t, i, n, o, r) {
|
|
47586
47666
|
Qr.create(t, i, n, o, r).commit(
|
|
47587
47667
|
s,
|
|
47588
47668
|
e
|
|
@@ -47664,7 +47744,7 @@ class j1 extends Y {
|
|
|
47664
47744
|
i
|
|
47665
47745
|
);
|
|
47666
47746
|
});
|
|
47667
|
-
const n =
|
|
47747
|
+
const n = B1(this._vertex, this._arm1, e), o = sr(this._db, n * Math.PI / 180), r = $t(
|
|
47668
47748
|
o,
|
|
47669
47749
|
t,
|
|
47670
47750
|
ly(
|
|
@@ -47710,7 +47790,7 @@ class V1 extends ss {
|
|
|
47710
47790
|
const p = await t.getPoint(u);
|
|
47711
47791
|
if (p.status !== b.OK) return;
|
|
47712
47792
|
const m = p.value;
|
|
47713
|
-
|
|
47793
|
+
F1(
|
|
47714
47794
|
e.view,
|
|
47715
47795
|
i,
|
|
47716
47796
|
a,
|
|
@@ -47980,7 +48060,7 @@ function tP(s) {
|
|
|
47980
48060
|
}
|
|
47981
48061
|
return i;
|
|
47982
48062
|
}
|
|
47983
|
-
const
|
|
48063
|
+
const Bo = 20, iP = 0.02;
|
|
47984
48064
|
function nP(s) {
|
|
47985
48065
|
return Mt.normalizeAngle(s + Math.PI) - Math.PI;
|
|
47986
48066
|
}
|
|
@@ -48007,10 +48087,10 @@ function Gf(s, e) {
|
|
|
48007
48087
|
}
|
|
48008
48088
|
function yd(s, e) {
|
|
48009
48089
|
const t = s.doc.database.tables.blockTable, i = s.view.curPos, n = /* @__PURE__ */ new Set(), o = [
|
|
48010
|
-
...s.view.pick(i,
|
|
48011
|
-
...s.view.pick(e,
|
|
48090
|
+
...s.view.pick(i, Bo),
|
|
48091
|
+
...s.view.pick(e, Bo)
|
|
48012
48092
|
].filter((u) => n.has(u.id) ? !1 : (n.add(u.id), !0)), r = s.view.worldToScreen(i), a = { x: i.x, y: i.y, z: 0 };
|
|
48013
|
-
let l = null, c =
|
|
48093
|
+
let l = null, c = Bo, d = -1 / 0;
|
|
48014
48094
|
for (const u of o) {
|
|
48015
48095
|
const p = t.getEntityById(u.id);
|
|
48016
48096
|
if (p)
|
|
@@ -48020,7 +48100,7 @@ function yd(s, e) {
|
|
|
48020
48100
|
r.x - y.x,
|
|
48021
48101
|
r.y - y.y
|
|
48022
48102
|
);
|
|
48023
|
-
if (g >
|
|
48103
|
+
if (g > Bo) continue;
|
|
48024
48104
|
const x = Z1(
|
|
48025
48105
|
m,
|
|
48026
48106
|
{ x: f.x, y: f.y },
|
|
@@ -48668,7 +48748,7 @@ function gP(s, e) {
|
|
|
48668
48748
|
new D1()
|
|
48669
48749
|
);
|
|
48670
48750
|
}
|
|
48671
|
-
|
|
48751
|
+
Fg(() => ({
|
|
48672
48752
|
store: new Rg(),
|
|
48673
48753
|
presenter: new dS(),
|
|
48674
48754
|
history: new pb(),
|
|
@@ -48805,10 +48885,10 @@ class xP extends Y {
|
|
|
48805
48885
|
* `showAt`). Mobile: show as soon as long-press capture starts jig updates.
|
|
48806
48886
|
*/
|
|
48807
48887
|
syncCapsulePreviewVisibility() {
|
|
48808
|
-
!this._capsuleRevealed &&
|
|
48888
|
+
!this._capsuleRevealed && Bi() && (this._capsuleRevealed = !0), this._bubble.object.visible = this._capsuleRevealed;
|
|
48809
48889
|
}
|
|
48810
48890
|
armDesktopCapsulePreview() {
|
|
48811
|
-
if (
|
|
48891
|
+
if (Bi()) return;
|
|
48812
48892
|
const e = this._view.canvas;
|
|
48813
48893
|
this._desktopMoveArm = (t) => {
|
|
48814
48894
|
t.pointerType !== "touch" && (this._capsuleRevealed = !0, this.disarmDesktopCapsulePreview());
|
|
@@ -48852,7 +48932,7 @@ class kP extends Si {
|
|
|
48852
48932
|
if (n.status !== b.OK) return;
|
|
48853
48933
|
const o = n.value, r = e.view, a = Hb(r, { x: o.x, y: o.y });
|
|
48854
48934
|
if (a && tr(a.geometry)) {
|
|
48855
|
-
const c =
|
|
48935
|
+
const c = Bg(a.geometry), d = await Kr(e, c, {
|
|
48856
48936
|
force: !0,
|
|
48857
48937
|
previewShape: !1,
|
|
48858
48938
|
toward: { x: o.x, y: o.y }
|
|
@@ -49235,10 +49315,10 @@ function zP(s) {
|
|
|
49235
49315
|
return `${JSON.stringify(e, null, 2)}
|
|
49236
49316
|
`;
|
|
49237
49317
|
}
|
|
49238
|
-
function
|
|
49318
|
+
function BP(s) {
|
|
49239
49319
|
return s ? `${s.replace(/\.(dwg|dxf)$/i, "")}.markup.json` : "drawing.markup.json";
|
|
49240
49320
|
}
|
|
49241
|
-
function
|
|
49321
|
+
function FP(s, e) {
|
|
49242
49322
|
if (typeof document > "u") return;
|
|
49243
49323
|
const t = new Blob([e], { type: "application/json;charset=utf-8" }), i = URL.createObjectURL(t), n = document.createElement("a");
|
|
49244
49324
|
n.href = i, n.download = s, n.click(), URL.revokeObjectURL(i);
|
|
@@ -49274,7 +49354,7 @@ class jP extends $ {
|
|
|
49274
49354
|
const t = ee();
|
|
49275
49355
|
t.drawingName || (t.drawingName = e.doc.fileName || e.doc.docTitle);
|
|
49276
49356
|
const i = zP(t.toSidecar());
|
|
49277
|
-
BP(
|
|
49357
|
+
FP(BP(t.drawingName), i), t.markClean();
|
|
49278
49358
|
}
|
|
49279
49359
|
}
|
|
49280
49360
|
class VP extends $ {
|
|
@@ -49616,7 +49696,7 @@ class Va extends lo {
|
|
|
49616
49696
|
});
|
|
49617
49697
|
}
|
|
49618
49698
|
}
|
|
49619
|
-
const
|
|
49699
|
+
const Bs = class Bs extends $ {
|
|
49620
49700
|
/**
|
|
49621
49701
|
* Creates the COPY command. Drawing geometry may only be copied in Write mode.
|
|
49622
49702
|
*/
|
|
@@ -49848,7 +49928,7 @@ const Fs = class Fs extends $ {
|
|
|
49848
49928
|
t.clear();
|
|
49849
49929
|
return;
|
|
49850
49930
|
}
|
|
49851
|
-
let o =
|
|
49931
|
+
let o = Bs._defaultMode, r, a = !1;
|
|
49852
49932
|
for (; !r; ) {
|
|
49853
49933
|
const l = new N(
|
|
49854
49934
|
h.t("jig.copy.basePointOrOptions")
|
|
@@ -49885,7 +49965,7 @@ const Fs = class Fs extends $ {
|
|
|
49885
49965
|
t.clear();
|
|
49886
49966
|
return;
|
|
49887
49967
|
}
|
|
49888
|
-
o = u,
|
|
49968
|
+
o = u, Bs._defaultMode = u;
|
|
49889
49969
|
}
|
|
49890
49970
|
await this.executeCopyLoop(
|
|
49891
49971
|
e,
|
|
@@ -49896,8 +49976,8 @@ const Fs = class Fs extends $ {
|
|
|
49896
49976
|
), t.clear();
|
|
49897
49977
|
}
|
|
49898
49978
|
};
|
|
49899
|
-
|
|
49900
|
-
let ec =
|
|
49979
|
+
Bs._defaultMode = "Multiple";
|
|
49980
|
+
let ec = Bs;
|
|
49901
49981
|
class qP extends $ {
|
|
49902
49982
|
constructor() {
|
|
49903
49983
|
super(), this.mode = H.Write;
|
|
@@ -49926,7 +50006,7 @@ class JP extends $ {
|
|
|
49926
50006
|
);
|
|
49927
50007
|
}
|
|
49928
50008
|
}
|
|
49929
|
-
class
|
|
50009
|
+
class Bh extends lo {
|
|
49930
50010
|
constructor(e, t, i) {
|
|
49931
50011
|
super(e, t), this._basePoint = new A(i);
|
|
49932
50012
|
}
|
|
@@ -49986,7 +50066,7 @@ class QP extends $ {
|
|
|
49986
50066
|
const m = new N(
|
|
49987
50067
|
h.t("jig.move.secondPointOrDisplacement")
|
|
49988
50068
|
);
|
|
49989
|
-
return a(m), o && (m.useBasePoint = !0, m.useDashedLine = !0, m.basePoint = o, m.jig = new
|
|
50069
|
+
return a(m), o && (m.useBasePoint = !0, m.useDashedLine = !0, m.basePoint = o, m.jig = new Bh(
|
|
49990
50070
|
e.view,
|
|
49991
50071
|
n,
|
|
49992
50072
|
o
|
|
@@ -50005,7 +50085,7 @@ class QP extends $ {
|
|
|
50005
50085
|
const m = new N(
|
|
50006
50086
|
h.t("jig.move.displacement")
|
|
50007
50087
|
);
|
|
50008
|
-
return m.useBasePoint = !0, m.useDashedLine = !0, m.basePoint = new A(0, 0, 0), m.jig = new
|
|
50088
|
+
return m.useBasePoint = !0, m.useDashedLine = !0, m.basePoint = new A(0, 0, 0), m.jig = new Bh(
|
|
50009
50089
|
e.view,
|
|
50010
50090
|
n,
|
|
50011
50091
|
m.basePoint
|
|
@@ -50230,9 +50310,9 @@ class kr extends $ {
|
|
|
50230
50310
|
c.setState(new r(c)), await c.run((d) => d instanceof vt ? v.instance.editor.getDistance(d) : d instanceof je ? v.instance.editor.getEntity(d) : v.instance.editor.getPoint(d));
|
|
50231
50311
|
}
|
|
50232
50312
|
}
|
|
50233
|
-
class
|
|
50313
|
+
class Fo extends Q0 {
|
|
50234
50314
|
}
|
|
50235
|
-
class
|
|
50315
|
+
class Fh extends lo {
|
|
50236
50316
|
/**
|
|
50237
50317
|
* Creates a dynamic ROTATE preview jig.
|
|
50238
50318
|
*
|
|
@@ -50333,7 +50413,7 @@ const Cd = class Cd extends $ {
|
|
|
50333
50413
|
const n = new rt(
|
|
50334
50414
|
h.t("jig.rotate.referenceAngleOrPoints")
|
|
50335
50415
|
);
|
|
50336
|
-
this.addKeyword(n, "points"), n.useBasePoint = !0, n.useDashedLine = !0, n.basePoint = i, n.allowNegative = !0, n.allowZero = !0, n.useDefaultValue = !0, n.defaultValue = 0, n.jig = new
|
|
50416
|
+
this.addKeyword(n, "points"), n.useBasePoint = !0, n.useDashedLine = !0, n.basePoint = i, n.allowNegative = !0, n.allowZero = !0, n.useDefaultValue = !0, n.defaultValue = 0, n.jig = new Fo(e.view, t);
|
|
50337
50417
|
const o = await v.instance.editor.getAngle(n);
|
|
50338
50418
|
if (o.status === b.OK)
|
|
50339
50419
|
return o.value ?? 0;
|
|
@@ -50341,7 +50421,7 @@ const Cd = class Cd extends $ {
|
|
|
50341
50421
|
const r = new N(
|
|
50342
50422
|
h.t("jig.rotate.firstReferencePoint")
|
|
50343
50423
|
);
|
|
50344
|
-
r.jig = new
|
|
50424
|
+
r.jig = new Fo(
|
|
50345
50425
|
e.view,
|
|
50346
50426
|
t
|
|
50347
50427
|
);
|
|
@@ -50350,7 +50430,7 @@ const Cd = class Cd extends $ {
|
|
|
50350
50430
|
const l = new N(
|
|
50351
50431
|
h.t("jig.rotate.secondReferencePoint")
|
|
50352
50432
|
);
|
|
50353
|
-
l.useBasePoint = !0, l.useDashedLine = !0, l.basePoint = new A(a.value), l.jig = new
|
|
50433
|
+
l.useBasePoint = !0, l.useDashedLine = !0, l.basePoint = new A(a.value), l.jig = new Fo(
|
|
50354
50434
|
e.view,
|
|
50355
50435
|
t
|
|
50356
50436
|
);
|
|
@@ -50386,7 +50466,7 @@ const Cd = class Cd extends $ {
|
|
|
50386
50466
|
const o = new rt(
|
|
50387
50467
|
h.t("jig.rotate.rotationAngleOrOptions")
|
|
50388
50468
|
);
|
|
50389
|
-
this.addKeyword(o, "copy"), this.addKeyword(o, "reference"), o.useBasePoint = !0, o.useDashedLine = !0, o.basePoint = i, o.allowNegative = !0, o.allowZero = !0, o.allowNone = !0, o.jig = new
|
|
50469
|
+
this.addKeyword(o, "copy"), this.addKeyword(o, "reference"), o.useBasePoint = !0, o.useDashedLine = !0, o.basePoint = i, o.allowNegative = !0, o.allowZero = !0, o.allowNone = !0, o.jig = new Fh(
|
|
50390
50470
|
e.view,
|
|
50391
50471
|
t,
|
|
50392
50472
|
i
|
|
@@ -50413,7 +50493,7 @@ const Cd = class Cd extends $ {
|
|
|
50413
50493
|
const c = new rt(
|
|
50414
50494
|
h.t("jig.rotate.newAngle")
|
|
50415
50495
|
);
|
|
50416
|
-
c.useBasePoint = !0, c.useDashedLine = !0, c.basePoint = i, c.allowNegative = !0, c.allowZero = !0, c.allowNone = !0, c.jig = new
|
|
50496
|
+
c.useBasePoint = !0, c.useDashedLine = !0, c.basePoint = i, c.allowNegative = !0, c.allowZero = !0, c.allowNone = !0, c.jig = new Fh(
|
|
50417
50497
|
e.view,
|
|
50418
50498
|
t,
|
|
50419
50499
|
i,
|
|
@@ -50442,7 +50522,7 @@ const Cd = class Cd extends $ {
|
|
|
50442
50522
|
const { entities: n } = i, o = new N(
|
|
50443
50523
|
h.t("jig.rotate.basePoint")
|
|
50444
50524
|
);
|
|
50445
|
-
o.jig = new
|
|
50525
|
+
o.jig = new Fo(
|
|
50446
50526
|
e.view,
|
|
50447
50527
|
n
|
|
50448
50528
|
), o.allowNone = !0;
|
|
@@ -50770,7 +50850,7 @@ function Rh(s) {
|
|
|
50770
50850
|
})).sort((e, t) => t.estimatedBytes - e.estimatedBytes);
|
|
50771
50851
|
}
|
|
50772
50852
|
function lL(s) {
|
|
50773
|
-
const e =
|
|
50853
|
+
const e = By(s);
|
|
50774
50854
|
return {
|
|
50775
50855
|
estimate: e,
|
|
50776
50856
|
categories: Rh(e.byCategory),
|
|
@@ -50978,7 +51058,7 @@ class pL extends $ {
|
|
|
50978
51058
|
this.listScales(n);
|
|
50979
51059
|
return;
|
|
50980
51060
|
}
|
|
50981
|
-
const p =
|
|
51061
|
+
const p = Fy(i).map((x) => x.scaleName).filter(Boolean), m = new Ae(
|
|
50982
51062
|
`${h.t("jig.objectscale.scaleName")} [${p.join(", ")}]`
|
|
50983
51063
|
);
|
|
50984
51064
|
i.cannoscale && (m.defaultValue = i.cannoscale, m.useDefaultValue = !0);
|
|
@@ -52315,10 +52395,10 @@ const NL = async (s) => s ? s() : { minimumChunkSize: 1e3 }, Xf = async () => {
|
|
|
52315
52395
|
function zL(s = {}) {
|
|
52316
52396
|
s.enabled !== !1 && (sa = s, !_r && (q.on("open-file", Xf), _r = !0));
|
|
52317
52397
|
}
|
|
52318
|
-
function
|
|
52398
|
+
function BL(s) {
|
|
52319
52399
|
sa = s;
|
|
52320
52400
|
}
|
|
52321
|
-
function
|
|
52401
|
+
function FL() {
|
|
52322
52402
|
_r && (q.off("open-file", Xf), _r = !1, sa = {});
|
|
52323
52403
|
}
|
|
52324
52404
|
const Mn = class Mn {
|
|
@@ -54548,7 +54628,7 @@ class v {
|
|
|
54548
54628
|
r
|
|
54549
54629
|
), this._sessions = [this._activeSession], mo(this._activeSession.id), this._fontLoader = new ML(), xe.instance.setFontLoader(this._fontLoader.fontLoader);
|
|
54550
54630
|
const a = this.resolveFontsBaseUrl();
|
|
54551
|
-
this._fontLoader.baseUrl = a, xe.instance.baseUrl = a, be.getInstance().setFontUrl(a), this.installFontFileLoadTimeout(),
|
|
54631
|
+
this._fontLoader.baseUrl = a, xe.instance.baseUrl = a, be.getInstance().setFontUrl(a), this.installFontFileLoadTimeout(), Fe().workingDatabase = t.database, this._commandManager = new Xe(), this.registerCommands(), ne.instance().events.sysVarChanged.addEventListener((d) => {
|
|
54552
54632
|
const u = d.name.toUpperCase();
|
|
54553
54633
|
(u === X.CANNOSCALE || u === X.ANNOALLVISIBLE) && this.regen();
|
|
54554
54634
|
}), this._pluginManager = new _L(
|
|
@@ -54626,7 +54706,7 @@ class v {
|
|
|
54626
54706
|
this._mainView.abortConversion(), (e = this._splitView) == null || e.abortConversion(), await this._pluginManager.unloadAllPlugins();
|
|
54627
54707
|
for (const i of [...this._sessions])
|
|
54628
54708
|
i.context.dispose(), i.doc.destroy(), i.viewState && this.curView.disposeSessionState(i.viewState);
|
|
54629
|
-
this._sessions = [], (t = this._splitView) == null || t.dispose(), this._splitView = void 0, this._mainView.dispose(),
|
|
54709
|
+
this._sessions = [], (t = this._splitView) == null || t.dispose(), this._splitView = void 0, this._mainView.dispose(), FL(), CE(), be.resetInstance(), HL(), v._instance = void 0;
|
|
54630
54710
|
}
|
|
54631
54711
|
/**
|
|
54632
54712
|
* Last worker readiness result for this manager, or null if not checked yet.
|
|
@@ -54730,7 +54810,7 @@ class v {
|
|
|
54730
54810
|
return this._openingSession && i === n ? !1 : (await this._commandManager.cancelActive(), this.events.documentToBeActivated.dispatch({
|
|
54731
54811
|
doc: e,
|
|
54732
54812
|
mode: e.openMode
|
|
54733
|
-
}), i === n ? (this.parkActiveSession(), this._activeSession = t, t.context.resume(), t.viewState && (this.curView.restoreSessionState(t.viewState), t.viewState = void 0)) : (this._activeSession !== this._openingSession && this._activeSession.context.suspend(), this._activeSession = t, t.context.resume()), mo(t.id),
|
|
54813
|
+
}), i === n ? (this.parkActiveSession(), this._activeSession = t, t.context.resume(), t.viewState && (this.curView.restoreSessionState(t.viewState), t.viewState = void 0)) : (this._activeSession !== this._openingSession && this._activeSession.context.suspend(), this._activeSession = t, t.context.resume()), mo(t.id), Fe().workingDatabase = e.database, this._pluginManager.setContext(t.context), this.curView.bindDrawDatabase(e.database), this.setActiveLayout(), this.curView.syncDisplaySysVars(e.database), this.events.documentActivated.dispatch({
|
|
54734
54814
|
doc: e,
|
|
54735
54815
|
mode: e.openMode
|
|
54736
54816
|
}), this._openingSession || this.syncProgressOverlayHost(), !0);
|
|
@@ -55310,7 +55390,7 @@ class v {
|
|
|
55310
55390
|
* Sets default options applied when opening files through the built-in OPEN dialog.
|
|
55311
55391
|
*/
|
|
55312
55392
|
setOpenDocumentDefaults(e) {
|
|
55313
|
-
this._openDocumentDefaults = e,
|
|
55393
|
+
this._openDocumentDefaults = e, BL({
|
|
55314
55394
|
enabled: !0,
|
|
55315
55395
|
getOpenDocumentDefaults: () => this.resolveOpenDocumentDefaults()
|
|
55316
55396
|
});
|
|
@@ -55450,7 +55530,7 @@ class v {
|
|
|
55450
55530
|
this.resolveCommandAliases(n, a)
|
|
55451
55531
|
);
|
|
55452
55532
|
};
|
|
55453
|
-
t("about", "about", new nL()), t("arc", "arc", new a_()), t("cachefont", "cachefont", new Sr()), t("circle", "circle", new c_()), t("close", "close", new mL()), this._disableExport || (t("bmpout", "bmpout", new NS()), t("cdxf", "cdxf", new
|
|
55533
|
+
t("about", "about", new nL()), t("arc", "arc", new a_()), t("cachefont", "cachefont", new Sr()), t("circle", "circle", new c_()), t("close", "close", new mL()), this._disableExport || (t("bmpout", "bmpout", new NS()), t("cdxf", "cdxf", new BS()), t("jpgout", "jpgout", new FS()), t("pngout", "pngout", new RS())), t("entout", "entout", new VS()), t("ellipse", "ellipse", new $_()), t("erase", "erase", new qP()), t("hideobjects", "hideobjects", new JP()), t("dimlinear", "dimlinear", new O_()), t("dimaligned", "dimaligned", new w_()), t("dimradius", "dimradius", new B_()), t("dimdiameter", "dimdiameter", new I_()), t("dimangular", "dimangular", new x_()), t("dimarc", "dimarc", new __()), t("dimordinate", "dimordinate", new N_()), t("dimcontinue", "dimcontinue", new E_()), t("dimbaseline", "dimbaseline", new M_()), gP(t, {
|
|
55454
55534
|
view: this._mainView,
|
|
55455
55535
|
commandManager: this._commandManager
|
|
55456
55536
|
}), t("-hatch", "-hatch", new Ul()), t("imageattach", "imageattach", new Q_()), t("-insert", "-insert", new iC()), t("xattach", "xattach", new g1()), t("-layer", "-layer", new n_()), t("laycur", "laycur", new US()), t("laydel", "laydel", new $S()), t("layfrz", "layfrz", new Rl()), t("layiso", "layiso", new jl()), t("laylck", "laylck", new ZS()), t("layon", "layon", new XS()), t("layoff", "layoff", new Vl()), t("laythw", "laythw", new QS()), t("layuniso", "layuniso", new e_()), t("layulk", "layulk", new t_()), t("layerp", "layerp", new JS()), t("layerclose", "layerclose", new i_()), t("line", "line", new Cn()), t("mline", "mline", new sC()), t("mtext", "mtext", new uC()), t("copy", "copy", new ec()), t("move", "move", new QP()), t("offset", "offset", new kr()), t("rotate", "rotate", new tc()), t("log", "log", new oL()), t("objectscale", "objectscale", new pL()), t("open", "open", new hL()), t("pan", "pan", new SL()), t("point", "point", new hC()), t("polygon", "polygon", new Zl()), t("pline", "pline", new vC()), t("qnew", "qnew", new fL()), t("ray", "ray", new kC()), t("rectang", "rectang", new Xl()), t("regen", "regen", new yL()), t("revcloud", "revcloud", new ql()), XP(t, {
|
|
@@ -55700,7 +55780,7 @@ class v {
|
|
|
55700
55780
|
doc: r,
|
|
55701
55781
|
mode: this.getDocumentEventMode(t)
|
|
55702
55782
|
});
|
|
55703
|
-
const l = a.tables.blockTable.modelSpace.objectId, c = a.currentSpaceId !== l, d =
|
|
55783
|
+
const l = a.tables.blockTable.modelSpace.objectId, c = a.currentSpaceId !== l, d = Fe().layoutManager.getActiveLayout(a), u = d == null ? void 0 : d.limits, p = this.resolveOpenViewMode(t);
|
|
55704
55784
|
o.setOpenViewMode(p);
|
|
55705
55785
|
const m = (t == null ? void 0 : t.progressiveRendering) ?? !1;
|
|
55706
55786
|
let f = !1;
|
|
@@ -55994,7 +56074,7 @@ class v {
|
|
|
55994
56074
|
return i !== this._activeSession && await this.activateDocument(i.doc), !1;
|
|
55995
56075
|
await this._commandManager.cancelActive(), this._activeSession.context.suspend(), t === this.curView && (this._activeSession.viewState = this.curView.beginNewSession());
|
|
55996
56076
|
const n = new Ga(), o = new Ya(t, n), r = new Ha(`doc-${this._nextSessionId++}`, o);
|
|
55997
|
-
return this._sessions.push(r), this._activeSession = r, mo(r.id),
|
|
56077
|
+
return this._sessions.push(r), this._activeSession = r, mo(r.id), Fe().workingDatabase = n.database, this._pluginManager.setContext(o), this.bindOpenProgress(n), this.events.documentCreated.dispatch({
|
|
55998
56078
|
doc: n,
|
|
55999
56079
|
mode: n.openMode
|
|
56000
56080
|
}), !0;
|
|
@@ -56017,7 +56097,7 @@ class v {
|
|
|
56017
56097
|
`doc-${this._nextSessionId++}`,
|
|
56018
56098
|
o
|
|
56019
56099
|
);
|
|
56020
|
-
this._sessions = [r], this._activeSession = r, mo(r.id),
|
|
56100
|
+
this._sessions = [r], this._activeSession = r, mo(r.id), Fe().workingDatabase = n.database, this._pluginManager.setContext(o), this.bindOpenProgress(n), this.curView.bindDrawDatabase(n.database);
|
|
56021
56101
|
}
|
|
56022
56102
|
/**
|
|
56023
56103
|
* Removes overlay layouts belonging to a session being closed.
|
|
@@ -56245,7 +56325,7 @@ function kn(s) {
|
|
|
56245
56325
|
}
|
|
56246
56326
|
const iy = 13, ny = 14, sy = 1, uT = ny * 2 + sy * 2, NE = 0.5, zE = 0.5;
|
|
56247
56327
|
let wn;
|
|
56248
|
-
function
|
|
56328
|
+
function BE() {
|
|
56249
56329
|
if (wn !== void 0) return wn;
|
|
56250
56330
|
if (typeof document > "u")
|
|
56251
56331
|
return wn = null, null;
|
|
@@ -56266,10 +56346,10 @@ function ry(s) {
|
|
|
56266
56346
|
function ay(s, e) {
|
|
56267
56347
|
return s > 0 ? 2 * (oy(e) + ry(e)) * s : 0;
|
|
56268
56348
|
}
|
|
56269
|
-
function
|
|
56349
|
+
function FE(s, e, t) {
|
|
56270
56350
|
const i = ay(e, t);
|
|
56271
56351
|
if (!(e > 0)) return i;
|
|
56272
|
-
const n =
|
|
56352
|
+
const n = BE();
|
|
56273
56353
|
if (!n)
|
|
56274
56354
|
return s.length * e * 0.6 + i;
|
|
56275
56355
|
const o = (t == null ? void 0 : t.fontWeight) ?? "500", r = (t == null ? void 0 : t.fontFamily) ?? "sans-serif";
|
|
@@ -56278,7 +56358,7 @@ function BE(s, e, t) {
|
|
|
56278
56358
|
function RE(s, e, t, i) {
|
|
56279
56359
|
if (!(e > 0) || !(t > 0))
|
|
56280
56360
|
return e;
|
|
56281
|
-
const n = (i == null ? void 0 : i.maxLineFraction) ?? NE, o = t * n, r =
|
|
56361
|
+
const n = (i == null ? void 0 : i.maxLineFraction) ?? NE, o = t * n, r = FE(
|
|
56282
56362
|
s,
|
|
56283
56363
|
e,
|
|
56284
56364
|
i
|
|
@@ -57141,8 +57221,8 @@ const tp = {
|
|
|
57141
57221
|
if (performance.now() - this._lastProgressivePaintAt < U)
|
|
57142
57222
|
return;
|
|
57143
57223
|
}
|
|
57144
|
-
let
|
|
57145
|
-
this._isDirty && (P && (this._progressivePaintCount++, this._lastProgressivePaintAt = performance.now(), this._progressivePaintUrgent = !1),
|
|
57224
|
+
let B = !1;
|
|
57225
|
+
this._isDirty && (P && (this._progressivePaintCount++, this._lastProgressivePaintAt = performance.now(), this._progressivePaintUrgent = !1), B = this._layoutViewManager.render(this._scene)), this.internalCamera && (this._isDirty || this._htmlDirty) && this._css2dRenderer.render(this._scene.internalScene, this.internalCamera), (j = this._stats) == null || j.update(), this._isDirty = B, this._htmlDirty = !1;
|
|
57146
57226
|
}, this._meshGlyphFlushTimer = null, this._disposeCanvasTouchCallout = o;
|
|
57147
57227
|
const r = () => this.noteProgressiveUserInput(), a = () => {
|
|
57148
57228
|
r(), this.focusViewerForShortcuts();
|
|
@@ -57211,7 +57291,7 @@ const tp = {
|
|
|
57211
57291
|
}, L = (S, T, C = "replace") => {
|
|
57212
57292
|
if (!m || !y || !f)
|
|
57213
57293
|
return;
|
|
57214
|
-
const P = this.viewportToCanvas({ x: S, y: T }), M = this.screenToWorld(P),
|
|
57294
|
+
const P = this.viewportToCanvas({ x: S, y: T }), M = this.screenToWorld(P), B = this.worldToScreen(m), j = this.worldToScreen(M), U = Math.min(B.x, j.x), Q = Math.min(B.y, j.y), K = Math.abs(B.x - j.x), le = Math.abs(B.y - j.y), Ce = this.getSelectionMode(f, P), Ke = this.getSelectionPreviewStyle(Ce, C);
|
|
57215
57295
|
Object.assign(y.style, {
|
|
57216
57296
|
left: `${U}px`,
|
|
57217
57297
|
top: `${Q}px`,
|
|
@@ -57225,16 +57305,16 @@ const tp = {
|
|
|
57225
57305
|
const M = this.viewportToCanvas({
|
|
57226
57306
|
x: S,
|
|
57227
57307
|
y: T
|
|
57228
|
-
}),
|
|
57308
|
+
}), B = this.screenToWorld(M);
|
|
57229
57309
|
if (_(), P)
|
|
57230
57310
|
if (Ub(this, M.x, M.y, C))
|
|
57231
57311
|
C === "replace" && this.selectionSet.clear();
|
|
57232
57312
|
else if (this.entitySelectionEnabled) {
|
|
57233
|
-
const j = this.pick(
|
|
57313
|
+
const j = this.pick(B);
|
|
57234
57314
|
j.length > 0 ? (C === "replace" && this.htmlTransientManager.deselectAll(), this.applySelection([j[0].id], C)) : C === "replace" && this.selectionSet.clear();
|
|
57235
57315
|
} else C === "replace" && this.selectionSet.clear();
|
|
57236
57316
|
else {
|
|
57237
|
-
const j = new ce().expandByPoint(m).expandByPoint(
|
|
57317
|
+
const j = new ce().expandByPoint(m).expandByPoint(B), U = this.getSelectionMode(f, M);
|
|
57238
57318
|
this.entitySelectionEnabled && this.selectByBoxWithMode(j, U, C), Kb(this, j, U, C);
|
|
57239
57319
|
}
|
|
57240
57320
|
m = null, f = null;
|
|
@@ -57313,14 +57393,14 @@ const tp = {
|
|
|
57313
57393
|
},
|
|
57314
57394
|
{ signal: D }
|
|
57315
57395
|
), this._onLayoutSwitched = (S) => {
|
|
57316
|
-
var
|
|
57396
|
+
var B, j;
|
|
57317
57397
|
if (!this.isActiveManagedView()) return;
|
|
57318
|
-
const T = S.layout.database, C = (j = (
|
|
57398
|
+
const T = S.layout.database, C = (j = (B = v._instance) == null ? void 0 : B.curDocument) == null ? void 0 : j.database;
|
|
57319
57399
|
if (T && C && T !== C)
|
|
57320
57400
|
return;
|
|
57321
57401
|
const P = S.layout.blockTableRecordId, M = !this._initializedLayouts.has(P);
|
|
57322
57402
|
this._initializedLayouts.add(P), this.activeLayoutBtrId = P, this.createLayoutViewIfNeeded(P), this.loadLayoutEntitiesIfNeeded(P), this.refreshCanvasBackgroundForActiveLayout(), this._isDirty = !0, M && this.applyInitialZoom(P, S.layout);
|
|
57323
|
-
},
|
|
57403
|
+
}, Fe().layoutManager.events.layoutSwitched.addEventListener(
|
|
57324
57404
|
this._onLayoutSwitched
|
|
57325
57405
|
), this._css2dRenderer = new yg(), this._css2dRenderer.setSize(this.width, this.height), this._css2dRenderer.domElement.style.position = "absolute", this._css2dRenderer.domElement.style.top = "0px", this._css2dRenderer.domElement.style.left = "0px", this._css2dRenderer.domElement.style.pointerEvents = "none", this._css2dRenderer.domElement.style.zIndex = String(
|
|
57326
57406
|
nv
|
|
@@ -58493,7 +58573,7 @@ const tp = {
|
|
|
58493
58573
|
* @inheritdoc
|
|
58494
58574
|
*/
|
|
58495
58575
|
updateEntityPreview(e, t) {
|
|
58496
|
-
this._scene.updatePreview(e,
|
|
58576
|
+
this._scene.updatePreview(e, Fd.createMatrix4(t)) && (this._isDirty = !0);
|
|
58497
58577
|
}
|
|
58498
58578
|
/**
|
|
58499
58579
|
* @inheritdoc
|
|
@@ -58508,7 +58588,7 @@ const tp = {
|
|
|
58508
58588
|
const t = this._scene.updateTransientPreviewTransforms(
|
|
58509
58589
|
e.map((i) => ({
|
|
58510
58590
|
objectId: i.objectId,
|
|
58511
|
-
matrix:
|
|
58591
|
+
matrix: Fd.createMatrix4(i.matrix)
|
|
58512
58592
|
}))
|
|
58513
58593
|
);
|
|
58514
58594
|
t.webgl && (this._isDirty = !0), t.html && (this._htmlDirty = !0);
|
|
@@ -59030,7 +59110,7 @@ const tp = {
|
|
|
59030
59110
|
this._onSysVarChanged
|
|
59031
59111
|
), this._onSettingsModified && pe.instance.events.modified.removeEventListener(
|
|
59032
59112
|
this._onSettingsModified
|
|
59033
|
-
), this._onLayoutSwitched &&
|
|
59113
|
+
), this._onLayoutSwitched && Fe().layoutManager.events.layoutSwitched.removeEventListener(
|
|
59034
59114
|
this._onLayoutSwitched
|
|
59035
59115
|
), this._onCommandWillStartHitTest && this.editor.events.commandWillStart.removeEventListener(
|
|
59036
59116
|
this._onCommandWillStartHitTest
|
|
@@ -60104,10 +60184,10 @@ function yM(s, e, t, i = {}) {
|
|
|
60104
60184
|
var T, C, P;
|
|
60105
60185
|
for (const M of k) {
|
|
60106
60186
|
if (u) return;
|
|
60107
|
-
const
|
|
60108
|
-
if (
|
|
60187
|
+
const B = M.dxfTypeName;
|
|
60188
|
+
if (B !== "TEXT" && B !== "MTEXT" && B !== "INSERT" && B !== "ATTRIB" && B !== "ATTDEF" || M.visibility === !1 || B === "ATTDEF" && (M.isInvisible || !(M.isConst || M.isConstMTextAttribute)) || M.layer && M.layer !== "0" && !np(s, M.layer, c))
|
|
60109
60189
|
continue;
|
|
60110
|
-
if (
|
|
60190
|
+
if (B === "INSERT") {
|
|
60111
60191
|
if (D >= fM) continue;
|
|
60112
60192
|
const Q = sp(M), K = L && Q ? pM(L, Q) : Q ?? L, le = `${O}/${M.objectId}`;
|
|
60113
60193
|
for (const dt of ((T = M.attributeIterator) == null ? void 0 : T.call(M)) ?? []) {
|
|
@@ -60133,8 +60213,8 @@ function yM(s, e, t, i = {}) {
|
|
|
60133
60213
|
), S.delete(Ce);
|
|
60134
60214
|
continue;
|
|
60135
60215
|
}
|
|
60136
|
-
const U =
|
|
60137
|
-
String((
|
|
60216
|
+
const U = B === "MTEXT" || B === "ATTDEF" && M.isConstMTextAttribute && M.mtext ? Vo(
|
|
60217
|
+
String((B === "MTEXT" ? M : M.mtext).contents ?? "")
|
|
60138
60218
|
) : Ho(M.textString);
|
|
60139
60219
|
d(U) && m(
|
|
60140
60220
|
E,
|
|
@@ -60143,7 +60223,7 @@ function yM(s, e, t, i = {}) {
|
|
|
60143
60223
|
E.kind,
|
|
60144
60224
|
U,
|
|
60145
60225
|
L,
|
|
60146
|
-
|
|
60226
|
+
B === "ATTDEF" ? { tag: M.tag } : {}
|
|
60147
60227
|
);
|
|
60148
60228
|
}
|
|
60149
60229
|
}, y = (k) => {
|
|
@@ -60207,11 +60287,11 @@ function yM(s, e, t, i = {}) {
|
|
|
60207
60287
|
P && P !== "<>" && P !== " " && C.push(Vo(P.replace("<>", "")));
|
|
60208
60288
|
} else {
|
|
60209
60289
|
const P = Number(k.numRows) || 0, M = Number(k.numColumns) || 0;
|
|
60210
|
-
for (let
|
|
60290
|
+
for (let B = 0; B < P; B++)
|
|
60211
60291
|
for (let j = 0; j < M; j++)
|
|
60212
60292
|
try {
|
|
60213
60293
|
C.push(
|
|
60214
|
-
Vo(String(((_ = k.textString) == null ? void 0 : _.call(k,
|
|
60294
|
+
Vo(String(((_ = k.textString) == null ? void 0 : _.call(k, B, j)) ?? ""))
|
|
60215
60295
|
);
|
|
60216
60296
|
} catch {
|
|
60217
60297
|
}
|
|
@@ -60350,7 +60430,7 @@ async function fT(s, e, t = {}) {
|
|
|
60350
60430
|
if (Za.set(i, o), i.activeLayoutBtrId !== e.layoutId) {
|
|
60351
60431
|
if (t.activateLayout === !1) return "layout-mismatch";
|
|
60352
60432
|
if (!n.tables.blockTable.getIdAt(e.layoutId)) return "layout-missing";
|
|
60353
|
-
if (i.isLayoutInitialized(e.layoutId) || i.markLayoutAsInitialized(e.layoutId),
|
|
60433
|
+
if (i.isLayoutInitialized(e.layoutId) || i.markLayoutAsInitialized(e.layoutId), Fe().layoutManager.setCurrentLayoutBtrId(
|
|
60354
60434
|
e.layoutId,
|
|
60355
60435
|
n
|
|
60356
60436
|
), i.activeLayoutBtrId !== e.layoutId) return "layout-switch-failed";
|
|
@@ -63089,8 +63169,8 @@ export {
|
|
|
63089
63169
|
mL as AcApCloseCmd,
|
|
63090
63170
|
Ya as AcApContext,
|
|
63091
63171
|
NS as AcApConvertToBmpCmd,
|
|
63092
|
-
|
|
63093
|
-
|
|
63172
|
+
BS as AcApConvertToDxfCmd,
|
|
63173
|
+
FS as AcApConvertToJpgCmd,
|
|
63094
63174
|
RS as AcApConvertToPngCmd,
|
|
63095
63175
|
ed as AcApConvertToRasterImageCmd,
|
|
63096
63176
|
ec as AcApCopyCmd,
|
|
@@ -63109,7 +63189,7 @@ export {
|
|
|
63109
63189
|
T_ as AcApDimLinearJig,
|
|
63110
63190
|
N_ as AcApDimOrdinateCmd,
|
|
63111
63191
|
D_ as AcApDimOrdinateJig,
|
|
63112
|
-
|
|
63192
|
+
B_ as AcApDimRadiusCmd,
|
|
63113
63193
|
z_ as AcApDimRadiusJig,
|
|
63114
63194
|
v as AcApDocManager,
|
|
63115
63195
|
Ha as AcApDocSession,
|
|
@@ -63316,11 +63396,11 @@ export {
|
|
|
63316
63396
|
ap as AcUiFileOpenPanel,
|
|
63317
63397
|
Al as AcUiFullscreenPanel,
|
|
63318
63398
|
Il as AcUiHelpPanel,
|
|
63319
|
-
|
|
63399
|
+
Fc as AcUiMobileSessionPanel,
|
|
63320
63400
|
Mk as AcUiShortCutToolbar,
|
|
63321
63401
|
Ck as AcUiSimpleToolbar,
|
|
63322
63402
|
cp as AcUiSubToolbar,
|
|
63323
|
-
|
|
63403
|
+
Fl as AcUiTextHeightDialog,
|
|
63324
63404
|
dp as AcUiToolbar,
|
|
63325
63405
|
Cl as AcUiTouchPointTutorial,
|
|
63326
63406
|
g0 as AcUiTouchPointTutorialDialog,
|
|
@@ -63328,12 +63408,12 @@ export {
|
|
|
63328
63408
|
hA as DEFAULT_GRIP_HOT_COLOR_CSS,
|
|
63329
63409
|
gv as DEFAULT_GRIP_SIZE_PX,
|
|
63330
63410
|
tp as DEFAULT_VIEW_2D_OPTIONS,
|
|
63331
|
-
|
|
63411
|
+
Be as DIM_PREVIEW_BLOCK,
|
|
63332
63412
|
wf as DIM_STYLE_FIELDS,
|
|
63333
63413
|
JI as DWG_CONVERTER_PACKAGE,
|
|
63334
63414
|
ZI as DWG_PARSER_MAIN_FILE,
|
|
63335
63415
|
YI as DWG_PARSER_WORKER_FILE,
|
|
63336
|
-
|
|
63416
|
+
Fw as ENTITY_EDIT_LABEL,
|
|
63337
63417
|
bv as GRIP_APPEARANCE_SYSVARS,
|
|
63338
63418
|
IA as ICON_ANNOTATION,
|
|
63339
63419
|
$x as ICON_ANNOTATION_HIDE,
|
|
@@ -63371,17 +63451,17 @@ export {
|
|
|
63371
63451
|
Hx as ICON_MARKUP_PANEL,
|
|
63372
63452
|
fI as ICON_MARKUP_RECT,
|
|
63373
63453
|
gI as ICON_MARKUP_SHOW,
|
|
63374
|
-
|
|
63454
|
+
BA as ICON_MARKUP_STAMP,
|
|
63375
63455
|
OA as ICON_MARKUP_TEXT,
|
|
63376
63456
|
xA as ICON_MEASURE,
|
|
63377
|
-
|
|
63457
|
+
FA as ICON_MEASUREMENT_PANEL,
|
|
63378
63458
|
_A as ICON_MEASURE_ANGLE,
|
|
63379
63459
|
PA as ICON_MEASURE_ARC,
|
|
63380
63460
|
CA as ICON_MEASURE_AREA,
|
|
63381
63461
|
SA as ICON_MEASURE_CONTINUOUS,
|
|
63382
63462
|
pI as ICON_MEASURE_COORDINATE,
|
|
63383
63463
|
kA as ICON_MEASURE_DISTANCE,
|
|
63384
|
-
|
|
63464
|
+
Bx as ICON_MEASURE_POINT,
|
|
63385
63465
|
LA as ICON_MEASURE_RADIUS,
|
|
63386
63466
|
Nm as ICON_MORE,
|
|
63387
63467
|
jA as ICON_OPEN,
|
|
@@ -63458,8 +63538,8 @@ export {
|
|
|
63458
63538
|
ov as ML_UI_Z_SHORTCUT_TOOLBAR,
|
|
63459
63539
|
qI as MTEXT_RENDERER_PACKAGE,
|
|
63460
63540
|
jL as MTEXT_RENDERER_WORKER_FILE,
|
|
63461
|
-
|
|
63462
|
-
|
|
63541
|
+
BT as MTextColor,
|
|
63542
|
+
FT as MTextParagraphAlignment,
|
|
63463
63543
|
ib as OVERLAY_HAIRLINE_LINE_WEIGHT,
|
|
63464
63544
|
nx as POLARMODE_ADDITIONAL_ANGLES,
|
|
63465
63545
|
Ls as POLARMODE_POLAR_TRACKING,
|
|
@@ -63498,7 +63578,7 @@ export {
|
|
|
63498
63578
|
Jp as acapDrawOverlayLeader,
|
|
63499
63579
|
Vc as acapDrawStyleKindForCommand,
|
|
63500
63580
|
jo as acapEscapeHtml,
|
|
63501
|
-
|
|
63581
|
+
FE as acapEstimateMeasureBadgeWidthPx,
|
|
63502
63582
|
pT as acapFindExcerpt,
|
|
63503
63583
|
bM as acapFindHitBox,
|
|
63504
63584
|
mT as acapFindText,
|
|
@@ -63574,15 +63654,15 @@ export {
|
|
|
63574
63654
|
wi as acapSeedOverlaySizesFromWcs,
|
|
63575
63655
|
lb as acapSeedOverlayStrokeWcs,
|
|
63576
63656
|
Mg as acapSetDocsBaseUrl,
|
|
63577
|
-
|
|
63657
|
+
Fg as acapSetMarkupBagFactory,
|
|
63578
63658
|
nb as acapSetMeasurementDrawColor,
|
|
63579
63659
|
qM as acapSetMeasurementDrawFontSize,
|
|
63580
63660
|
rb as acapSetMeasurementTextHeight,
|
|
63581
63661
|
lT as acapSetNotificationCenter,
|
|
63582
63662
|
dT as acapSetNotificationUiPlacement,
|
|
63583
63663
|
ke as acapSyncLiveOverlayTextHeight,
|
|
63584
|
-
|
|
63585
|
-
|
|
63664
|
+
FL as acapUninstallOpenFileDialog,
|
|
63665
|
+
BL as acapUpdateOpenFileDialogOptions,
|
|
63586
63666
|
vk as acapViewportPaperBox,
|
|
63587
63667
|
Sc as acapWcsToScreenPx,
|
|
63588
63668
|
iT as acapWithDataSourceBusy,
|
|
@@ -63608,7 +63688,7 @@ export {
|
|
|
63608
63688
|
ex as acedIsDynamicInputEnabled,
|
|
63609
63689
|
Ea as acedIsGhostClientOrigin,
|
|
63610
63690
|
hv as acedIsHandheldDevice,
|
|
63611
|
-
|
|
63691
|
+
Bi as acedIsMobileOrPadUi,
|
|
63612
63692
|
Vr as acedIsMobileUiLayout,
|
|
63613
63693
|
Ht as acedIsTouchDerivedMouseEvent,
|
|
63614
63694
|
Hm as acedIsTouchLongPressContextMenu,
|
|
@@ -63753,7 +63833,7 @@ export {
|
|
|
63753
63833
|
KE as geBox2dToThreeBox3d,
|
|
63754
63834
|
HE as geBox3dToGeBox2d,
|
|
63755
63835
|
WE as geBox3dToThreeBox3d,
|
|
63756
|
-
|
|
63836
|
+
Fr as getActiveMarkupBag,
|
|
63757
63837
|
Qd as getActiveMeasurementStyle,
|
|
63758
63838
|
kf as getBaselineStep,
|
|
63759
63839
|
m_ as getChainBaseId,
|
|
@@ -63788,7 +63868,7 @@ export {
|
|
|
63788
63868
|
Dp as hitTestMarkupShapeOutline,
|
|
63789
63869
|
Rp as hitTestMeasurementGeometry,
|
|
63790
63870
|
Wl as inferLinearRotation,
|
|
63791
|
-
|
|
63871
|
+
BI as isAlignedDimension,
|
|
63792
63872
|
tr as isAttachableShapeMarkup,
|
|
63793
63873
|
AT as isDirectBatchCandidate,
|
|
63794
63874
|
dr as isEffectiveSpatialQueryHit,
|
|
@@ -63805,7 +63885,7 @@ export {
|
|
|
63805
63885
|
RL as isOpenFileProgressComplete,
|
|
63806
63886
|
tx as isOrthoModeEnabled,
|
|
63807
63887
|
ax as isPolarTrackingEnabled,
|
|
63808
|
-
|
|
63888
|
+
Bf as isRevCloudCloseToStart,
|
|
63809
63889
|
zI as isRotatedDimension,
|
|
63810
63890
|
zw as isSameLayerIsoState,
|
|
63811
63891
|
CL as isScriptQuitCommand,
|
|
@@ -63822,14 +63902,14 @@ export {
|
|
|
63822
63902
|
ol as markupGeometryCenter,
|
|
63823
63903
|
Vk as markupNow,
|
|
63824
63904
|
qk as markupRectCorners,
|
|
63825
|
-
|
|
63826
|
-
|
|
63905
|
+
Bg as markupShapeOutlineFromGeometry,
|
|
63906
|
+
BP as markupSidecarFileName,
|
|
63827
63907
|
Mh as measureAngleBadgeWorld,
|
|
63828
63908
|
Eh as measureAngleDeg,
|
|
63829
63909
|
ja as measureCentroid,
|
|
63830
63910
|
Lh as measureShoelaceArea,
|
|
63831
63911
|
Ug as measurementFocusBox,
|
|
63832
|
-
|
|
63912
|
+
Fp as measurementGeometryBounds,
|
|
63833
63913
|
Hp as measurementLengthUnitSymbol,
|
|
63834
63914
|
Eb as measurementSidecarFileName,
|
|
63835
63915
|
xv as migrateStoredSettings,
|
|
@@ -63843,8 +63923,8 @@ export {
|
|
|
63843
63923
|
Hh as parseScriptLines,
|
|
63844
63924
|
Rk as patchMarkupStyleWcs,
|
|
63845
63925
|
Hb as pickAttachableShapeMarkupAt,
|
|
63846
|
-
|
|
63847
|
-
|
|
63926
|
+
Bb as pickMeasurementAt,
|
|
63927
|
+
F1 as placeAngleMeasurement,
|
|
63848
63928
|
Oh as placeArcMeasurement,
|
|
63849
63929
|
U1 as placeAreaMeasurement,
|
|
63850
63930
|
$f as placeDistanceMeasurement,
|
|
@@ -63903,7 +63983,7 @@ export {
|
|
|
63903
63983
|
zk as setMarkupDrawColor,
|
|
63904
63984
|
_I as setMarkupDrawFontSize,
|
|
63905
63985
|
AI as setMarkupShapeCalloutEnabled,
|
|
63906
|
-
|
|
63986
|
+
Bk as setMarkupTextHeight,
|
|
63907
63987
|
YP as setMarkupVisible,
|
|
63908
63988
|
XM as setMeasurementUnitOverride,
|
|
63909
63989
|
Ab as setMeasurementVisible,
|
|
@@ -63939,7 +64019,7 @@ export {
|
|
|
63939
64019
|
fA as userCmdDescription,
|
|
63940
64020
|
OC as viewDiagonalLength,
|
|
63941
64021
|
PI as withMarkupInput,
|
|
63942
|
-
|
|
63943
|
-
|
|
64022
|
+
Fk as withMarkupStyleWcs,
|
|
64023
|
+
FI as withMeasureInput,
|
|
63944
64024
|
xh as writeDimStyleFields
|
|
63945
64025
|
};
|