@mlightcad/data-model 1.7.25 → 1.7.26

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.
@@ -52,7 +52,7 @@ class Ct {
52
52
  throw new Error("Invalid constructor argument for AcDbDwgVersion");
53
53
  }
54
54
  }
55
- class Jo {
55
+ class th {
56
56
  constructor(t = {}) {
57
57
  this._database = t.database, this._precision = Math.max(0, Math.min(16, t.precision ?? 16)), this._version = t.version instanceof Ct ? t.version : t.version != null ? new Ct(t.version) : void 0, this._lines = [], this._handleMap = /* @__PURE__ */ new Map(), this._nextHandle = 1;
58
58
  }
@@ -194,7 +194,7 @@ class Jo {
194
194
  return t.replace(/\r\n|\r|\n/g, " ").replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]/g, "");
195
195
  }
196
196
  }
197
- function th(i, t) {
197
+ function eh(i, t) {
198
198
  for (var e = 0; e < t.length; e++) {
199
199
  const s = t[e];
200
200
  if (typeof s != "string" && !Array.isArray(s)) {
@@ -207,7 +207,7 @@ function th(i, t) {
207
207
  }
208
208
  return Object.freeze(Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }));
209
209
  }
210
- var S = ((i) => (i[i.ByColor = 1] = "ByColor", i[i.ByACI = 2] = "ByACI", i[i.ByLayer = 3] = "ByLayer", i[i.ByBlock = 4] = "ByBlock", i[i.None = 0] = "None", i))(S || {});
210
+ var E = ((i) => (i[i.ByColor = 1] = "ByColor", i[i.ByACI = 2] = "ByACI", i[i.ByLayer = 3] = "ByLayer", i[i.ByBlock = 4] = "ByBlock", i[i.None = 0] = "None", i))(E || {});
211
211
  const pr = {
212
212
  aliceblue: 15792383,
213
213
  antiquewhite: 16444375,
@@ -353,7 +353,7 @@ const pr = {
353
353
  whitesmoke: 16119285,
354
354
  yellow: 16776960,
355
355
  yellowgreen: 10145074
356
- }, Si = [
356
+ }, Ei = [
357
357
  0,
358
358
  16711680,
359
359
  16776960,
@@ -614,12 +614,12 @@ const pr = {
614
614
  ];
615
615
  let ye = class {
616
616
  static getColorByIndex(t) {
617
- return Si[t];
617
+ return Ei[t];
618
618
  }
619
619
  static getIndexByColor(t) {
620
- const e = Si.length - 1;
620
+ const e = Ei.length - 1;
621
621
  for (let s = 1; s < e; ++s)
622
- if (Si[s] === t)
622
+ if (Ei[s] === t)
623
623
  return s;
624
624
  }
625
625
  static getColorByName(t) {
@@ -635,8 +635,8 @@ let ye = class {
635
635
  return this.getNameByColor(e);
636
636
  }
637
637
  }, nt = class te {
638
- constructor(t = S.ByLayer, e) {
639
- this._colorMethod = t, this._colorMethod == S.ByColor && e == null ? this._value = 16777215 : this._colorMethod == S.ByACI ? e == null ? this._value = 8 : e === 0 ? this._colorMethod = S.ByBlock : e === 256 ? this._colorMethod = S.ByLayer : this._value = Math.max(0, Math.min(e, 256)) : this._value = e;
638
+ constructor(t = E.ByLayer, e) {
639
+ this._colorMethod = t, this._colorMethod == E.ByColor && e == null ? this._value = 16777215 : this._colorMethod == E.ByACI ? e == null ? this._value = 8 : e === 0 ? this._colorMethod = E.ByBlock : e === 256 ? this._colorMethod = E.ByLayer : this._value = Math.max(0, Math.min(e, 256)) : this._value = e;
640
640
  }
641
641
  get colorMethod() {
642
642
  return this._colorMethod;
@@ -658,11 +658,11 @@ let ye = class {
658
658
  }
659
659
  get RGB() {
660
660
  switch (this._colorMethod) {
661
- case S.ByColor:
662
- case S.ByBlock:
663
- case S.ByLayer:
661
+ case E.ByColor:
662
+ case E.ByBlock:
663
+ case E.ByLayer:
664
664
  return this._value;
665
- case S.ByACI:
665
+ case E.ByACI:
666
666
  return this._value ? ye.getColorByIndex(this._value) : this._value;
667
667
  default:
668
668
  return;
@@ -670,10 +670,10 @@ let ye = class {
670
670
  }
671
671
  setRGB(t, e, s) {
672
672
  const n = Math.max(0, Math.min(255, Math.round(t))), r = Math.max(0, Math.min(255, Math.round(e))), a = Math.max(0, Math.min(255, Math.round(s)));
673
- return this._value = n << 16 | r << 8 | a, this._colorMethod = S.ByColor, this;
673
+ return this._value = n << 16 | r << 8 | a, this._colorMethod = E.ByColor, this;
674
674
  }
675
675
  setRGBValue(t) {
676
- return t == null || !Number.isFinite(t) ? this : (this._value = t & 16777215, this._colorMethod = S.ByColor, this);
676
+ return t == null || !Number.isFinite(t) ? this : (this._value = t & 16777215, this._colorMethod = E.ByColor, this);
677
677
  }
678
678
  setRGBFromCss(t) {
679
679
  if (!t) return this;
@@ -714,46 +714,46 @@ let ye = class {
714
714
  return `rgba(${e >> 16 & 255},${e >> 8 & 255},${e & 255},${t})`;
715
715
  }
716
716
  get colorIndex() {
717
- return this._colorMethod === S.ByACI ? this._value : this._colorMethod === S.ByLayer ? 256 : this._colorMethod === S.ByBlock ? 0 : void 0;
717
+ return this._colorMethod === E.ByACI ? this._value : this._colorMethod === E.ByLayer ? 256 : this._colorMethod === E.ByBlock ? 0 : void 0;
718
718
  }
719
719
  set colorIndex(t) {
720
720
  if (t == null) return;
721
721
  const e = Math.max(0, Math.min(256, Math.round(t)));
722
- e === 0 ? (this._colorMethod = S.ByBlock, this._value = void 0) : e === 256 ? (this._colorMethod = S.ByLayer, this._value = void 0) : (this._colorMethod = S.ByACI, this._value = e);
722
+ e === 0 ? (this._colorMethod = E.ByBlock, this._value = void 0) : e === 256 ? (this._colorMethod = E.ByLayer, this._value = void 0) : (this._colorMethod = E.ByACI, this._value = e);
723
723
  }
724
724
  get isByColor() {
725
- return this._colorMethod === S.ByColor;
725
+ return this._colorMethod === E.ByColor;
726
726
  }
727
727
  get isByACI() {
728
- return this._colorMethod === S.ByACI;
728
+ return this._colorMethod === E.ByACI;
729
729
  }
730
730
  get isForeground() {
731
- return this._colorMethod === S.ByACI && this._value === 7;
731
+ return this._colorMethod === E.ByACI && this._value === 7;
732
732
  }
733
733
  setForeground() {
734
- return this._colorMethod = S.ByACI, this._value = 7, this;
734
+ return this._colorMethod = E.ByACI, this._value = 7, this;
735
735
  }
736
736
  get isByLayer() {
737
- return this._colorMethod === S.ByLayer;
737
+ return this._colorMethod === E.ByLayer;
738
738
  }
739
739
  setByLayer(t) {
740
- return this._colorMethod = S.ByLayer, t == null ? this._value = 256 : this._value = t, this;
740
+ return this._colorMethod = E.ByLayer, t == null ? this._value = 256 : this._value = t, this;
741
741
  }
742
742
  get isByBlock() {
743
- return this._colorMethod === S.ByBlock;
743
+ return this._colorMethod === E.ByBlock;
744
744
  }
745
745
  setByBlock(t) {
746
- return this._colorMethod = S.ByBlock, t == null ? this._value = 0 : this._value = t, this;
746
+ return this._colorMethod = E.ByBlock, t == null ? this._value = 0 : this._value = t, this;
747
747
  }
748
748
  get colorName() {
749
749
  switch (this._colorMethod) {
750
- case S.ByLayer:
750
+ case E.ByLayer:
751
751
  return "ByLayer";
752
- case S.ByBlock:
752
+ case E.ByBlock:
753
753
  return "ByBlock";
754
- case S.ByColor:
754
+ case E.ByColor:
755
755
  return this._value ? ye.getNameByColor(this._value) : "";
756
- case S.ByACI:
756
+ case E.ByACI:
757
757
  return this._value ? ye.getNameByIndex(this._value) : "";
758
758
  default:
759
759
  return;
@@ -762,7 +762,7 @@ let ye = class {
762
762
  set colorName(t) {
763
763
  if (!t) return;
764
764
  const e = ye.getColorByName(t);
765
- e !== void 0 && (this._value = e, this._colorMethod = S.ByColor);
765
+ e !== void 0 && (this._value = e, this._colorMethod = E.ByColor);
766
766
  }
767
767
  clone() {
768
768
  const t = new te();
@@ -776,13 +776,13 @@ let ye = class {
776
776
  }
777
777
  toString() {
778
778
  switch (this._colorMethod) {
779
- case S.ByLayer:
779
+ case E.ByLayer:
780
780
  return "ByLayer";
781
- case S.ByBlock:
781
+ case E.ByBlock:
782
782
  return "ByBlock";
783
- case S.ByACI:
783
+ case E.ByACI:
784
784
  return this._value !== void 0 ? String(this._value) : "";
785
- case S.ByColor:
785
+ case E.ByColor:
786
786
  return this._value ? `${this.red},${this.green},${this.blue}` : "";
787
787
  default:
788
788
  return "";
@@ -792,35 +792,35 @@ let ye = class {
792
792
  if (!t) return;
793
793
  const e = t.trim();
794
794
  if (/^bylayer$/i.test(e))
795
- return new te(S.ByLayer);
795
+ return new te(E.ByLayer);
796
796
  if (/^byblock$/i.test(e))
797
- return new te(S.ByBlock);
797
+ return new te(E.ByBlock);
798
798
  const s = e.match(
799
799
  /^rgb\s*:\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})$/i
800
800
  );
801
801
  if (s) {
802
- const r = Number(s[1]), a = Number(s[2]), o = Number(s[3]), l = new te(S.ByColor);
802
+ const r = Number(s[1]), a = Number(s[2]), o = Number(s[3]), l = new te(E.ByColor);
803
803
  return l.setRGB(r, a, o), l;
804
804
  }
805
805
  if (/^\d{1,3},\d{1,3},\d{1,3}$/.test(e)) {
806
- const [r, a, o] = e.split(",").map(Number), l = new te(S.ByColor);
806
+ const [r, a, o] = e.split(",").map(Number), l = new te(E.ByColor);
807
807
  return l.setRGB(r, a, o), l;
808
808
  }
809
809
  if (/^\d+$/.test(e)) {
810
810
  const r = parseInt(e, 10);
811
- return new te(S.ByACI, r);
811
+ return new te(E.ByACI, r);
812
812
  }
813
813
  if (/^book\$/i.test(e)) {
814
814
  const r = e.substring(e.indexOf("$") + 1), a = ye.getColorByName(r);
815
- return a != null ? new te(S.ByColor, a) : void 0;
815
+ return a != null ? new te(E.ByColor, a) : void 0;
816
816
  }
817
817
  const n = ye.getColorByName(e);
818
818
  if (n != null)
819
- return new te(S.ByColor, n);
819
+ return new te(E.ByColor, n);
820
820
  }
821
821
  };
822
- class cu {
823
- constructor(t = S.ByColor, e = 0) {
822
+ class pu {
823
+ constructor(t = E.ByColor, e = 0) {
824
824
  this._colorMethod = t, this._value = e;
825
825
  }
826
826
  get colorMethd() {
@@ -830,49 +830,49 @@ class cu {
830
830
  return this._value >> 16 & 255;
831
831
  }
832
832
  set red(t) {
833
- this._colorMethod = S.ByColor, this._value = this._value & 65535 | (t & 255) << 16;
833
+ this._colorMethod = E.ByColor, this._value = this._value & 65535 | (t & 255) << 16;
834
834
  }
835
835
  get green() {
836
836
  return this._value >> 8 & 255;
837
837
  }
838
838
  set green(t) {
839
- this._colorMethod = S.ByColor, this._value = this._value & 16711935 | (t & 255) << 8;
839
+ this._colorMethod = E.ByColor, this._value = this._value & 16711935 | (t & 255) << 8;
840
840
  }
841
841
  get blue() {
842
842
  return this._value & 255;
843
843
  }
844
844
  set blue(t) {
845
- this._colorMethod = S.ByColor, this._value = this._value & 16776960 | t & 255;
845
+ this._colorMethod = E.ByColor, this._value = this._value & 16776960 | t & 255;
846
846
  }
847
847
  setRGB(t, e, s) {
848
- this._colorMethod = S.ByColor, this._value = (t & 255) << 16 | (e & 255) << 8 | s & 255;
848
+ this._colorMethod = E.ByColor, this._value = (t & 255) << 16 | (e & 255) << 8 | s & 255;
849
849
  }
850
850
  get colorIndex() {
851
851
  return this._value;
852
852
  }
853
853
  set colorIndex(t) {
854
- this._colorMethod = S.ByACI, this._value = t;
854
+ this._colorMethod = E.ByACI, this._value = t;
855
855
  }
856
856
  get layerIndex() {
857
857
  return this._value;
858
858
  }
859
859
  set layerIndex(t) {
860
- this._colorMethod = S.ByLayer, this._value = t;
860
+ this._colorMethod = E.ByLayer, this._value = t;
861
861
  }
862
862
  isByColor() {
863
- return this._colorMethod === S.ByColor;
863
+ return this._colorMethod === E.ByColor;
864
864
  }
865
865
  isByLayer() {
866
- return this._colorMethod === S.ByLayer;
866
+ return this._colorMethod === E.ByLayer;
867
867
  }
868
868
  isByBlock() {
869
- return this._colorMethod === S.ByBlock;
869
+ return this._colorMethod === E.ByBlock;
870
870
  }
871
871
  isByACI() {
872
- return this._colorMethod === S.ByACI;
872
+ return this._colorMethod === E.ByACI;
873
873
  }
874
874
  isNone() {
875
- return this._colorMethod === S.None;
875
+ return this._colorMethod === E.None;
876
876
  }
877
877
  get rawValue() {
878
878
  return this._value;
@@ -904,7 +904,7 @@ const Mt = {
904
904
  return new Error("Not implemented yet");
905
905
  }
906
906
  };
907
- let du = class {
907
+ let gu = class {
908
908
  constructor() {
909
909
  this._listeners = {};
910
910
  }
@@ -978,10 +978,10 @@ function wi(i, ...t) {
978
978
  Object.prototype.hasOwnProperty.call(e, s) && i[s] === void 0 && (i[s] = e[s]);
979
979
  return i;
980
980
  }
981
- function eh(i, t) {
981
+ function sh(i, t) {
982
982
  return i != null && Object.prototype.hasOwnProperty.call(i, t);
983
983
  }
984
- function sh(i) {
984
+ function ih(i) {
985
985
  return i == null ? !0 : Array.isArray(i) || typeof i == "string" ? i.length === 0 : i instanceof Map || i instanceof Set ? i.size === 0 : typeof i == "object" ? Object.keys(i).length === 0 : !1;
986
986
  }
987
987
  function ms(i, t) {
@@ -1017,15 +1017,15 @@ function ms(i, t) {
1017
1017
  return !1;
1018
1018
  return !0;
1019
1019
  }
1020
- var ih = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1021
- function nh(i) {
1020
+ var nh = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1021
+ function rh(i) {
1022
1022
  return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
1023
1023
  }
1024
1024
  var $r = { exports: {} };
1025
1025
  (function(i) {
1026
1026
  (function(t, e) {
1027
1027
  i.exports ? i.exports = e() : t.log = e();
1028
- })(ih, function() {
1028
+ })(nh, function() {
1029
1029
  var t = function() {
1030
1030
  }, e = "undefined", s = typeof window !== e && typeof window.navigator !== e && /Trident\/|MSIE /.test(window.navigator.userAgent), n = [
1031
1031
  "trace",
@@ -1168,16 +1168,16 @@ var $r = { exports: {} };
1168
1168
  });
1169
1169
  })($r);
1170
1170
  var qr = $r.exports;
1171
- const rh = nh(qr), ah = th({ __proto__: null, default: rh }, [qr]), gu = !0, Ds = ah;
1171
+ const ah = rh(qr), oh = eh({ __proto__: null, default: ah }, [qr]), _u = !0, Ds = oh;
1172
1172
  Ds.setLevel("debug");
1173
- const mu = (i) => {
1173
+ const wu = (i) => {
1174
1174
  try {
1175
1175
  Ds.setLevel(i);
1176
1176
  } catch (t) {
1177
1177
  Ds.setLevel("error"), Ds.error(t);
1178
1178
  }
1179
1179
  };
1180
- let oh = class Kr {
1180
+ let hh = class Kr {
1181
1181
  constructor(t, e) {
1182
1182
  this.events = {
1183
1183
  attrChanged: new K(),
@@ -1221,7 +1221,7 @@ let oh = class Kr {
1221
1221
  return this.get(t) != null;
1222
1222
  }
1223
1223
  hasChanged(t) {
1224
- return t == null ? !sh(this.changed) : eh(this.changed, t);
1224
+ return t == null ? !ih(this.changed) : sh(this.changed, t);
1225
1225
  }
1226
1226
  changedAttributes(t) {
1227
1227
  if (!t) return this.hasChanged() ? Cs(this.changed) : {};
@@ -1269,7 +1269,7 @@ let oh = class Kr {
1269
1269
  return this.entries.delete(t);
1270
1270
  }
1271
1271
  };
1272
- class yu {
1272
+ class xu {
1273
1273
  static formatBytes(t, e = 2) {
1274
1274
  if (t === 0) return "0 B";
1275
1275
  const s = 1024, n = Math.max(0, e), r = ["B", "KB", "MB", "GB", "TB"], a = Math.floor(Math.log(t) / Math.log(s)), o = t / Math.pow(s, a);
@@ -1356,7 +1356,7 @@ let In = class Ft {
1356
1356
  return r._method = n, r._alpha = Ft.clampAlpha(s), r;
1357
1357
  }
1358
1358
  };
1359
- class hh {
1359
+ class lh {
1360
1360
  constructor(t) {
1361
1361
  this.name = t;
1362
1362
  }
@@ -1364,7 +1364,7 @@ class hh {
1364
1364
  throw new Error("run() must be implemented by subclass");
1365
1365
  }
1366
1366
  }
1367
- class lh {
1367
+ class ch {
1368
1368
  constructor() {
1369
1369
  this.tasks = [], this.onProgress = () => {
1370
1370
  }, this.onComplete = () => {
@@ -1408,7 +1408,7 @@ class lh {
1408
1408
  this.onComplete(s);
1409
1409
  }
1410
1410
  }
1411
- let ch = class {
1411
+ let dh = class {
1412
1412
  constructor(t, e, s) {
1413
1413
  this.isLoading = !1, this.itemsLoaded = 0, this.itemsTotal = 0, this.urlModifier = void 0, this.handlers = [], this.onStart = void 0, this.onLoad = t, this.onProgress = e, this.onError = s;
1414
1414
  }
@@ -1443,10 +1443,10 @@ let ch = class {
1443
1443
  return null;
1444
1444
  }
1445
1445
  };
1446
- const dh = new ch();
1447
- class wu {
1446
+ const uh = new dh();
1447
+ class bu {
1448
1448
  constructor(t) {
1449
- this.manager = t !== void 0 ? t : dh, this.crossOrigin = "anonymous", this.withCredentials = !1, this.path = "", this.resourcePath = "", this.requestHeader = {};
1449
+ this.manager = t !== void 0 ? t : uh, this.crossOrigin = "anonymous", this.withCredentials = !1, this.path = "", this.resourcePath = "", this.requestHeader = {};
1450
1450
  }
1451
1451
  loadAsync(t, e) {
1452
1452
  return new Promise((s, n) => {
@@ -1473,7 +1473,7 @@ class wu {
1473
1473
  }
1474
1474
  var Be = 256, Qr = [], mr = 256, Bs;
1475
1475
  for (; Be--; ) Qr[Be] = (Be + 256).toString(16).substring(1);
1476
- function uh(i) {
1476
+ function ph(i) {
1477
1477
  var t = 0, e = 11;
1478
1478
  if (!Bs || Be + e > mr * 2)
1479
1479
  for (Bs = "", Be = 0; t < mr; t++)
@@ -1482,12 +1482,12 @@ function uh(i) {
1482
1482
  }
1483
1483
  const Mi = "TEMP_";
1484
1484
  let Wi;
1485
- function ph(i) {
1485
+ function gh(i) {
1486
1486
  Wi = i;
1487
1487
  }
1488
1488
  class ue {
1489
1489
  constructor(t, e) {
1490
- if (t = t || {}, this._attrs = new oh(t, e), this._xDataMap = /* @__PURE__ */ new Map(), !this._attrs.get("objectId"))
1490
+ if (t = t || {}, this._attrs = new hh(t, e), this._xDataMap = /* @__PURE__ */ new Map(), !this._attrs.get("objectId"))
1491
1491
  try {
1492
1492
  this._attrs.set("objectId", this.database.generateHandle());
1493
1493
  } catch {
@@ -1495,7 +1495,7 @@ class ue {
1495
1495
  }
1496
1496
  }
1497
1497
  generateTemporaryHandle() {
1498
- return Mi + uh();
1498
+ return Mi + ph();
1499
1499
  }
1500
1500
  get attrs() {
1501
1501
  return this._attrs;
@@ -1614,7 +1614,7 @@ class ue {
1614
1614
  }
1615
1615
  }
1616
1616
  let Di;
1617
- function gh(i) {
1617
+ function mh(i) {
1618
1618
  Di = i;
1619
1619
  }
1620
1620
  function Jr() {
@@ -1647,8 +1647,8 @@ const mi = class mi {
1647
1647
  };
1648
1648
  mi.instance = new mi();
1649
1649
  let Gi = mi;
1650
- ph(Jr);
1651
- var mh = /* @__PURE__ */ ((i) => (i.kForRead = "kForRead", i.kForWrite = "kForWrite", i))(mh || {});
1650
+ gh(Jr);
1651
+ var yh = /* @__PURE__ */ ((i) => (i.kForRead = "kForRead", i.kForWrite = "kForWrite", i))(yh || {});
1652
1652
  class ta {
1653
1653
  constructor(t) {
1654
1654
  if (this._values = [], t)
@@ -1731,7 +1731,7 @@ class ee {
1731
1731
  this.events = {
1732
1732
  registered: new K(),
1733
1733
  unregistered: new K()
1734
- }, this._converters = /* @__PURE__ */ new Map(), this.register("dxf", new ou());
1734
+ }, this._converters = /* @__PURE__ */ new Map(), this.register("dxf", new cu());
1735
1735
  }
1736
1736
  static createInstance() {
1737
1737
  return ee._instance == null && (ee._instance = new ee()), this._instance;
@@ -1810,7 +1810,7 @@ class Ps {
1810
1810
  }
1811
1811
  const yr = new nt();
1812
1812
  var ia = /* @__PURE__ */ ((i) => (i[i.UTF8 = 0] = "UTF8", i[i.US_ASCII = 1] = "US_ASCII", i[i.ISO_8859_1 = 2] = "ISO_8859_1", i[i.ISO_8859_2 = 3] = "ISO_8859_2", i[i.ISO_8859_3 = 4] = "ISO_8859_3", i[i.ISO_8859_4 = 5] = "ISO_8859_4", i[i.ISO_8859_5 = 6] = "ISO_8859_5", i[i.ISO_8859_6 = 7] = "ISO_8859_6", i[i.ISO_8859_7 = 8] = "ISO_8859_7", i[i.ISO_8859_8 = 9] = "ISO_8859_8", i[i.ISO_8859_9 = 10] = "ISO_8859_9", i[i.CP437 = 11] = "CP437", i[i.CP850 = 12] = "CP850", i[i.CP852 = 13] = "CP852", i[i.CP855 = 14] = "CP855", i[i.CP857 = 15] = "CP857", i[i.CP860 = 16] = "CP860", i[i.CP861 = 17] = "CP861", i[i.CP863 = 18] = "CP863", i[i.CP864 = 19] = "CP864", i[i.CP865 = 20] = "CP865", i[i.CP869 = 21] = "CP869", i[i.CP932 = 22] = "CP932", i[i.MACINTOSH = 23] = "MACINTOSH", i[i.BIG5 = 24] = "BIG5", i[i.CP949 = 25] = "CP949", i[i.JOHAB = 26] = "JOHAB", i[i.CP866 = 27] = "CP866", i[i.ANSI_1250 = 28] = "ANSI_1250", i[i.ANSI_1251 = 29] = "ANSI_1251", i[i.ANSI_1252 = 30] = "ANSI_1252", i[i.GB2312 = 31] = "GB2312", i[i.ANSI_1253 = 32] = "ANSI_1253", i[i.ANSI_1254 = 33] = "ANSI_1254", i[i.ANSI_1255 = 34] = "ANSI_1255", i[i.ANSI_1256 = 35] = "ANSI_1256", i[i.ANSI_1257 = 36] = "ANSI_1257", i[i.ANSI_874 = 37] = "ANSI_874", i[i.ANSI_932 = 38] = "ANSI_932", i[i.ANSI_936 = 39] = "ANSI_936", i[i.ANSI_949 = 40] = "ANSI_949", i[i.ANSI_950 = 41] = "ANSI_950", i[i.ANSI_1361 = 42] = "ANSI_1361", i[i.UTF16 = 43] = "UTF16", i[i.ANSI_1258 = 44] = "ANSI_1258", i[i.UNDEFINED = 255] = "UNDEFINED", i))(ia || {});
1813
- const yh = [
1813
+ const _h = [
1814
1814
  "utf-8",
1815
1815
  "utf-8",
1816
1816
  "iso-8859-1",
@@ -1856,7 +1856,7 @@ const yh = [
1856
1856
  "utf-8",
1857
1857
  "utf-16le",
1858
1858
  "windows-1258"
1859
- ], _h = (i) => yh[i], ys = "Continuous", it = "Standard", Tt = "ByLayer", _s = "ByBlock", _r = "mlightcad", wr = "ACAD", rt = [
1859
+ ], wh = (i) => _h[i], ys = "Continuous", it = "Standard", Tt = "ByLayer", _s = "ByBlock", _r = "mlightcad", wr = "ACAD", rt = [
1860
1860
  "00",
1861
1861
  "01",
1862
1862
  "02",
@@ -2116,7 +2116,7 @@ const yh = [
2116
2116
  ];
2117
2117
  let xr = 1234567;
2118
2118
  const na = Math.PI / 180, ra = 180 / Math.PI;
2119
- function wh() {
2119
+ function xh() {
2120
2120
  const i = Math.random() * 4294967295 | 0, t = Math.random() * 4294967295 | 0, e = Math.random() * 4294967295 | 0, s = Math.random() * 4294967295 | 0;
2121
2121
  return (rt[i & 255] + rt[i >> 8 & 255] + rt[i >> 16 & 255] + rt[i >> 24 & 255] + "-" + rt[t & 255] + rt[t >> 8 & 255] + "-" + rt[t >> 16 & 15 | 64] + rt[t >> 24 & 255] + "-" + rt[e & 63 | 128] + rt[e >> 8 & 255] + "-" + rt[e >> 16 & 255] + rt[e >> 24 & 255] + rt[s & 255] + rt[s >> 8 & 255] + rt[s >> 16 & 255] + rt[s >> 24 & 255]).toLowerCase();
2122
2122
  }
@@ -2126,100 +2126,100 @@ function oe(i, t, e) {
2126
2126
  function aa(i, t) {
2127
2127
  return (i % t + t) % t;
2128
2128
  }
2129
- function xh(i, t, e, s, n) {
2129
+ function fh(i, t, e, s, n) {
2130
2130
  return s + (i - t) * (n - s) / (e - t);
2131
2131
  }
2132
- function fh(i, t, e) {
2132
+ function bh(i, t, e) {
2133
2133
  return i !== t ? (e - i) / (t - i) : 0;
2134
2134
  }
2135
2135
  function oa(i, t, e) {
2136
2136
  return (1 - e) * i + e * t;
2137
2137
  }
2138
- function bh(i, t, e, s) {
2138
+ function Ih(i, t, e, s) {
2139
2139
  return oa(i, t, 1 - Math.exp(-e * s));
2140
2140
  }
2141
- function Ih(i, t = 1) {
2141
+ function Ph(i, t = 1) {
2142
2142
  return t - Math.abs(aa(i, t * 2) - t);
2143
2143
  }
2144
- function Ph(i, t, e) {
2144
+ function Sh(i, t, e) {
2145
2145
  return i <= t ? 0 : i >= e ? 1 : (i = (i - t) / (e - t), i * i * (3 - 2 * i));
2146
2146
  }
2147
2147
  function Eh(i, t, e) {
2148
2148
  return i <= t ? 0 : i >= e ? 1 : (i = (i - t) / (e - t), i * i * i * (i * (i * 6 - 15) + 10));
2149
2149
  }
2150
- function Sh(i, t) {
2150
+ function Mh(i, t) {
2151
2151
  return i + Math.floor(Math.random() * (t - i + 1));
2152
2152
  }
2153
- function Mh(i, t) {
2153
+ function Th(i, t) {
2154
2154
  return i + Math.random() * (t - i);
2155
2155
  }
2156
- function Th(i) {
2156
+ function Ah(i) {
2157
2157
  return i * (0.5 - Math.random());
2158
2158
  }
2159
- function Ah(i) {
2159
+ function vh(i) {
2160
2160
  i !== void 0 && (xr = i);
2161
2161
  let t = xr += 1831565813;
2162
2162
  return t = Math.imul(t ^ t >>> 15, t | 1), t ^= t + Math.imul(t ^ t >>> 7, t | 61), ((t ^ t >>> 14) >>> 0) / 4294967296;
2163
2163
  }
2164
- function vh(i) {
2164
+ function kh(i) {
2165
2165
  return i * na;
2166
2166
  }
2167
- function kh(i) {
2167
+ function Lh(i) {
2168
2168
  return i * ra;
2169
2169
  }
2170
- function Lh(i) {
2170
+ function Nh(i) {
2171
2171
  return (i & i - 1) === 0 && i !== 0;
2172
2172
  }
2173
- function Nh(i) {
2173
+ function Oh(i) {
2174
2174
  return Math.pow(2, Math.ceil(Math.log(i) / Math.LN2));
2175
2175
  }
2176
- function Oh(i) {
2176
+ function Ch(i) {
2177
2177
  return Math.pow(2, Math.floor(Math.log(i) / Math.LN2));
2178
2178
  }
2179
2179
  function Hs(i) {
2180
2180
  const t = Math.PI * 2;
2181
2181
  return (i % t + t) % t;
2182
2182
  }
2183
- function Ch(i, t, e) {
2183
+ function Bh(i, t, e) {
2184
2184
  return i > t && i < e || i > e && i < t;
2185
2185
  }
2186
- function Bh(i, t, e, s = !1) {
2186
+ function Fh(i, t, e, s = !1) {
2187
2187
  return i = Hs(i), t = Hs(t), e = Hs(e), s ? t > e ? i <= t && i >= e : i <= t || i >= e : t < e ? i >= t && i <= e : i >= t || i <= e;
2188
2188
  }
2189
2189
  function ha(i) {
2190
2190
  return i = Math.abs(i), i < 1 ? 0 : Math.ceil(Math.log10(Math.abs(i) + 1));
2191
2191
  }
2192
- function Fh(i, t = 1e-7) {
2192
+ function Rh(i, t = 1e-7) {
2193
2193
  const e = ha(i);
2194
2194
  return Math.max(Math.pow(10, e) * t, t);
2195
2195
  }
2196
2196
  const v = {
2197
2197
  DEG2RAD: na,
2198
2198
  RAD2DEG: ra,
2199
- generateUUID: wh,
2199
+ generateUUID: xh,
2200
2200
  clamp: oe,
2201
2201
  euclideanModulo: aa,
2202
- mapLinear: xh,
2203
- inverseLerp: fh,
2202
+ mapLinear: fh,
2203
+ inverseLerp: bh,
2204
2204
  lerp: oa,
2205
- damp: bh,
2206
- pingpong: Ih,
2207
- smoothstep: Ph,
2205
+ damp: Ih,
2206
+ pingpong: Ph,
2207
+ smoothstep: Sh,
2208
2208
  smootherstep: Eh,
2209
- randInt: Sh,
2210
- randFloat: Mh,
2211
- randFloatSpread: Th,
2212
- seededRandom: Ah,
2213
- degToRad: vh,
2214
- radToDeg: kh,
2215
- isPowerOfTwo: Lh,
2216
- ceilPowerOfTwo: Nh,
2217
- floorPowerOfTwo: Oh,
2209
+ randInt: Mh,
2210
+ randFloat: Th,
2211
+ randFloatSpread: Ah,
2212
+ seededRandom: vh,
2213
+ degToRad: kh,
2214
+ radToDeg: Lh,
2215
+ isPowerOfTwo: Nh,
2216
+ ceilPowerOfTwo: Oh,
2217
+ floorPowerOfTwo: Ch,
2218
2218
  normalizeAngle: Hs,
2219
- isBetween: Ch,
2220
- isBetweenAngle: Bh,
2219
+ isBetween: Bh,
2220
+ isBetweenAngle: Fh,
2221
2221
  intPartLength: ha,
2222
- relativeEps: Fh
2222
+ relativeEps: Rh
2223
2223
  }, Hi = class la {
2224
2224
  constructor(t, e) {
2225
2225
  this.x = 0, this.y = 0;
@@ -2550,7 +2550,7 @@ const Ui = class ca {
2550
2550
  };
2551
2551
  Ui.IDENTITY = Object.freeze(new Ui());
2552
2552
  let xi = Ui;
2553
- const Ti = new xi(), je = 1e-6, D = 2 * Math.PI, xu = {
2553
+ const Ti = new xi(), je = 1e-6, D = 2 * Math.PI, Iu = {
2554
2554
  x: 0,
2555
2555
  y: 0
2556
2556
  }, da = {
@@ -3172,7 +3172,7 @@ const Ai = new b(), fr = new Ye(), Xi = class ga {
3172
3172
  return e[0] = s[0] * n, e[1] = s[1] * n, e[2] = s[2] * n, e[3] = 0, e[4] = s[4] * r, e[5] = s[5] * r, e[6] = s[6] * r, e[7] = 0, e[8] = s[8] * a, e[9] = s[9] * a, e[10] = s[10] * a, e[11] = 0, e[12] = 0, e[13] = 0, e[14] = 0, e[15] = 1, this;
3173
3173
  }
3174
3174
  makeRotationFromQuaternion(t) {
3175
- return this.compose(Rh, t, zh);
3175
+ return this.compose(zh, t, Vh);
3176
3176
  }
3177
3177
  lookAt(t, e, s) {
3178
3178
  const n = this.elements;
@@ -3292,7 +3292,7 @@ const Ai = new b(), fr = new Ye(), Xi = class ga {
3292
3292
  };
3293
3293
  Xi.IDENTITY = Object.freeze(new Xi());
3294
3294
  let G = Xi;
3295
- const We = new b(), vt = new G(), Rh = new b(0, 0, 0), zh = new b(1, 1, 1), ae = new b(), Fs = new b(), yt = new b();
3295
+ const We = new b(), vt = new G(), zh = new b(0, 0, 0), Vh = new b(1, 1, 1), ae = new b(), Fs = new b(), yt = new b();
3296
3296
  let C = class ma {
3297
3297
  constructor(t = void 0, e = void 0) {
3298
3298
  this.min = t == null ? new b(1 / 0, 1 / 0, 1 / 0) : new b(t.x, t.y, t.z), this.max = e == null ? new b(-1 / 0, -1 / 0, -1 / 0) : new b(e.x, e.y, e.z);
@@ -3485,7 +3485,7 @@ let gt = class ya {
3485
3485
  return t.min.equals(this.min) && t.max.equals(this.max);
3486
3486
  }
3487
3487
  };
3488
- const Ir = new b(), Vh = new b(), jh = new xi();
3488
+ const Ir = new b(), jh = new b(), Wh = new xi();
3489
3489
  class bi {
3490
3490
  constructor(t = new b(1, 0, 0), e = 0) {
3491
3491
  this.normal = t, this.constant = e;
@@ -3500,7 +3500,7 @@ class bi {
3500
3500
  return this.normal.copy(t), this.constant = -e.dot(this.normal), this;
3501
3501
  }
3502
3502
  setFromCoplanarPoints(t, e, s) {
3503
- const n = Ir.subVectors(s, e).cross(Vh.subVectors(t, e)).normalize();
3503
+ const n = Ir.subVectors(s, e).cross(jh.subVectors(t, e)).normalize();
3504
3504
  return this.setFromNormalAndCoplanarPoint(n, t), this;
3505
3505
  }
3506
3506
  copy(t) {
@@ -3526,7 +3526,7 @@ class bi {
3526
3526
  return t.copy(this.normal).multiplyScalar(-this.constant);
3527
3527
  }
3528
3528
  applyMatrix4(t, e) {
3529
- const s = e || jh.getNormalMatrix(t), n = this.coplanarPoint(Ir).applyMatrix4(t), r = this.normal.applyMatrix3(s).normalize();
3529
+ const s = e || Wh.getNormalMatrix(t), n = this.coplanarPoint(Ir).applyMatrix4(t), r = this.normal.applyMatrix3(s).normalize();
3530
3530
  return this.constant = -n.dot(r), this;
3531
3531
  }
3532
3532
  translate(t) {
@@ -3560,7 +3560,7 @@ let k = class _a extends Y {
3560
3560
  }), n;
3561
3561
  }
3562
3562
  };
3563
- const Pr = new G(), Er = new Ye(), xa = class Yi {
3563
+ const Pr = new G(), Sr = new Ye(), xa = class Yi {
3564
3564
  constructor(t = 0, e = 0, s = 0, n = Yi.DEFAULT_ORDER) {
3565
3565
  this._x = t, this._y = e, this._z = s, this._order = n;
3566
3566
  }
@@ -3628,7 +3628,7 @@ const Pr = new G(), Er = new Ye(), xa = class Yi {
3628
3628
  return this.set(t.x, t.y, t.z, e);
3629
3629
  }
3630
3630
  reorder(t) {
3631
- return Er.setFromEuler(this), this.setFromQuaternion(Er, t);
3631
+ return Sr.setFromEuler(this), this.setFromQuaternion(Sr, t);
3632
3632
  }
3633
3633
  equals(t) {
3634
3634
  return t._x === this._x && t._y === this._y && t._z === this._z && t._order === this._order;
@@ -3649,7 +3649,7 @@ const Pr = new G(), Er = new Ye(), xa = class Yi {
3649
3649
  }
3650
3650
  };
3651
3651
  xa.DEFAULT_ORDER = "XYZ";
3652
- let fu = xa;
3652
+ let Pu = xa;
3653
3653
  function fa(i, t, e = !1) {
3654
3654
  const s = i.x, n = i.y;
3655
3655
  let r = !1;
@@ -3661,7 +3661,7 @@ function fa(i, t, e = !1) {
3661
3661
  }
3662
3662
  return r;
3663
3663
  }
3664
- function Wh(i, t) {
3664
+ function Dh(i, t) {
3665
3665
  if (i.length === 0 || t.length === 0)
3666
3666
  return !1;
3667
3667
  const e = new gt().setFromPoints(i), s = new gt().setFromPoints(t);
@@ -3674,11 +3674,11 @@ function Wh(i, t) {
3674
3674
  }
3675
3675
  return !1;
3676
3676
  }
3677
- const Dh = {
3677
+ const Gh = {
3678
3678
  isPointInPolygon: fa,
3679
- isPolygonIntersect: Wh
3679
+ isPolygonIntersect: Dh
3680
3680
  };
3681
- function bu(i, t) {
3681
+ function Su(i, t) {
3682
3682
  const e = [], s = t - 1, n = i;
3683
3683
  for (let r = 0; r <= n; r++)
3684
3684
  e.push(0);
@@ -3688,7 +3688,7 @@ function bu(i, t) {
3688
3688
  e.push(s - n + 1);
3689
3689
  return e;
3690
3690
  }
3691
- function Iu(i, t) {
3691
+ function Eu(i, t) {
3692
3692
  const e = t.length - 1, s = i, n = [0];
3693
3693
  let r = 0;
3694
3694
  for (let o = 1; o <= e; o++) {
@@ -3706,7 +3706,7 @@ function Iu(i, t) {
3706
3706
  a.push(e - s + 1);
3707
3707
  return a;
3708
3708
  }
3709
- function Gh(i, t = "Uniform") {
3709
+ function Hh(i, t = "Uniform") {
3710
3710
  const e = i.length;
3711
3711
  if (e === 0)
3712
3712
  return [];
@@ -3723,7 +3723,7 @@ function Gh(i, t = "Uniform") {
3723
3723
  }
3724
3724
  return r < 1e-12 ? new Array(e).fill(0).map((a, o) => o / s) : n.map((a) => a / r);
3725
3725
  }
3726
- function Hh(i, t) {
3726
+ function Uh(i, t) {
3727
3727
  const e = t.length - 1, s = i, n = e + s + 1, r = new Array(n + 1).fill(0), a = t[t.length - 1];
3728
3728
  for (let o = n - s; o <= n; o++)
3729
3729
  r[o] = a;
@@ -3735,7 +3735,7 @@ function Hh(i, t) {
3735
3735
  }
3736
3736
  return r;
3737
3737
  }
3738
- function Pu(i, t) {
3738
+ function Mu(i, t) {
3739
3739
  const e = t.length - 1, s = i, n = [0];
3740
3740
  let r = 0;
3741
3741
  for (let o = 1; o <= e; o++) {
@@ -3793,9 +3793,9 @@ function ba(i, t, e = "Uniform", s, n) {
3793
3793
  const r = i.map((B) => [B[0], B[1], B[2] ?? 0]), a = !!s, o = !!n, l = (a ? 1 : 0) + (o ? 1 : 0), c = r.length - 1, u = c + l;
3794
3794
  if (u < t)
3795
3795
  throw new Error("Not enough points to interpolate a curve of this degree.");
3796
- const d = Gh(r, e), g = d.slice();
3796
+ const d = Hh(r, e), g = d.slice();
3797
3797
  a && g.unshift(d[0]), o && g.push(d[d.length - 1]);
3798
- const p = Hh(t, g), m = u + 1, y = new Array(m), x = new Array(m), f = new Array(m), P = new Array(m);
3798
+ const p = Uh(t, g), m = u + 1, y = new Array(m), x = new Array(m), f = new Array(m), P = new Array(m);
3799
3799
  let I = 0;
3800
3800
  y[I] = new Array(m).fill(0), y[I][0] = 1, x[I] = r[0][0], f[I] = r[0][1], P[I] = r[0][2], I++;
3801
3801
  for (let B = 1; B <= c - 1; B++) {
@@ -3846,7 +3846,7 @@ function Us(i, t, e, s, n) {
3846
3846
  }
3847
3847
  return Math.abs(l) >= 1e-10 && (o[0] /= l, o[1] /= l, o[2] /= l), o;
3848
3848
  }
3849
- function Uh(i, t, e, s) {
3849
+ function Xh(i, t, e, s) {
3850
3850
  const n = i, r = t[n], a = t[t.length - n - 1];
3851
3851
  let o = 0;
3852
3852
  const l = 1e3, c = (a - r) / l;
@@ -3870,7 +3870,7 @@ function Uh(i, t, e, s) {
3870
3870
  ), g = d[0] - u[0], p = d[1] - u[1], m = d[2] - u[2];
3871
3871
  return o += Math.sqrt(g * g + p * p + m * m), o;
3872
3872
  }
3873
- function Eu(i, t = 3, e = "Uniform", s, n) {
3873
+ function Tu(i, t = 3, e = "Uniform", s, n) {
3874
3874
  return i.length === 0 ? [] : ba(
3875
3875
  i,
3876
3876
  t,
@@ -3879,16 +3879,16 @@ function Eu(i, t = 3, e = "Uniform", s, n) {
3879
3879
  n
3880
3880
  ).controlPoints;
3881
3881
  }
3882
- const Sr = new G(), Mr = new b(), Xh = new b(), Yh = new b(), Li = new w();
3882
+ const Er = new G(), Mr = new b(), Yh = new b(), $h = new b(), Li = new w();
3883
3883
  function Ia(i) {
3884
3884
  return new G().setFromExtrusionDirection(
3885
3885
  new b(i.x, i.y, i.z)
3886
3886
  );
3887
3887
  }
3888
3888
  function Pa(i) {
3889
- return Sr.setFromExtrusionDirection(
3889
+ return Er.setFromExtrusionDirection(
3890
3890
  new b(i.x, i.y, i.z)
3891
- ), Sr.extractBasis(Mr, Xh, Yh), Mr.clone();
3891
+ ), Er.extractBasis(Mr, Yh, $h), Mr.clone();
3892
3892
  }
3893
3893
  function Tr(i, t) {
3894
3894
  return new w(i.x, i.y, i.z ?? 0).applyMatrix4(
@@ -3908,15 +3908,15 @@ function Ar(i, t, e) {
3908
3908
  (n.z ?? 0) - (s.z ?? 0)
3909
3909
  ), v.normalizeAngle(Math.atan2(Li.y, Li.x));
3910
3910
  }
3911
- let Ea = class {
3911
+ class Sa {
3912
3912
  constructor() {
3913
3913
  this._boundingBoxNeedsUpdate = !1;
3914
3914
  }
3915
3915
  get boundingBoxNeedUpdate() {
3916
3916
  return this._boundingBoxNeedsUpdate;
3917
3917
  }
3918
- };
3919
- class Sa extends Ea {
3918
+ }
3919
+ class Ea extends Sa {
3920
3920
  translate(t) {
3921
3921
  return this.transform(new xi().makeTranslation(t.x, t.y));
3922
3922
  }
@@ -3924,7 +3924,7 @@ class Sa extends Ea {
3924
3924
  return (this._box == null || this._boundingBoxNeedsUpdate) && (this._box = this.calculateBoundingBox(), this._boundingBoxNeedsUpdate = !1), this._box;
3925
3925
  }
3926
3926
  }
3927
- let bs = class Ma extends Sa {
3927
+ let bs = class Ma extends Ea {
3928
3928
  constructor() {
3929
3929
  super(), this._loops = [];
3930
3930
  }
@@ -3975,7 +3975,7 @@ let bs = class Ma extends Sa {
3975
3975
  let g = l + 1;
3976
3976
  for (; g < a; g++) {
3977
3977
  const p = n[g], m = e[p];
3978
- if (s[p].containsBox(d) && Dh.isPointInPolygon(
3978
+ if (s[p].containsBox(d) && Gh.isPointInPolygon(
3979
3979
  u[v.randInt(0, u.length - 1)],
3980
3980
  m
3981
3981
  )) {
@@ -4026,7 +4026,7 @@ let bs = class Ma extends Sa {
4026
4026
  s.push(n.index);
4027
4027
  }), s;
4028
4028
  }
4029
- }, Es = class extends Sa {
4029
+ }, Ss = class extends Ea {
4030
4030
  constructor() {
4031
4031
  super(), this.arcLengthDivisions = 100;
4032
4032
  }
@@ -4101,7 +4101,7 @@ let bs = class Ma extends Sa {
4101
4101
  const e = this.getUtoTmapping(t);
4102
4102
  return this.getTangent(e);
4103
4103
  }
4104
- }, Re = class $i extends Es {
4104
+ }, Re = class $i extends Ss {
4105
4105
  constructor(t, e, s, n, r) {
4106
4106
  super();
4107
4107
  const a = +(t !== void 0) + +(e !== void 0) + +(s !== void 0) + +(n !== void 0) + +(r !== void 0);
@@ -4274,7 +4274,7 @@ let bs = class Ma extends Sa {
4274
4274
  return e;
4275
4275
  }
4276
4276
  };
4277
- class $h extends Ea {
4277
+ class qh extends Sa {
4278
4278
  translate(t) {
4279
4279
  return this.transform(new G().makeTranslation(t.x, t.y, t.z));
4280
4280
  }
@@ -4282,9 +4282,9 @@ class $h extends Ea {
4282
4282
  return (this._box == null || this._boundingBoxNeedsUpdate) && (this._box = this.calculateBoundingBox(), this._boundingBoxNeedsUpdate = !1), this._box;
4283
4283
  }
4284
4284
  }
4285
- class Ss extends $h {
4285
+ class Es extends qh {
4286
4286
  }
4287
- class ze extends Ss {
4287
+ class ze extends Es {
4288
4288
  constructor(t, e) {
4289
4289
  super(), this._start = new w(t), this._end = new w(e);
4290
4290
  }
@@ -4397,7 +4397,7 @@ class ze extends Ss {
4397
4397
  }
4398
4398
  }
4399
4399
  const _e = new b(), vr = new b(), Rs = new b();
4400
- class Ge extends Ss {
4400
+ class Ge extends Es {
4401
4401
  static computeCenterPoint(t, e, s) {
4402
4402
  const n = new b().addVectors(t, e).multiplyScalar(0.5), r = new b().addVectors(t, s).multiplyScalar(0.5), a = new b().subVectors(e, t), o = new b().subVectors(s, t), l = new b().crossVectors(a, o).normalize();
4403
4403
  if (l.lengthSq() === 0)
@@ -4598,7 +4598,7 @@ class Ge extends Ss {
4598
4598
  }
4599
4599
  }
4600
4600
  const kr = new b();
4601
- let ri = class Xs extends Es {
4601
+ let ri = class Xs extends Ss {
4602
4602
  constructor(t, e, s, n = 0, r = D, a = !1, o = 0) {
4603
4603
  super(), this.center = t, this.majorAxisRadius = e, this.minorAxisRadius = s, (r - n) % D == 0 ? (this.startAngle = 0, this.endAngle = D) : (this.startAngle = n, this.endAngle = r), this.clockwise = a, this.rotation = o;
4604
4604
  }
@@ -4733,7 +4733,7 @@ let ri = class Xs extends Es {
4733
4733
  );
4734
4734
  }
4735
4735
  };
4736
- class ws extends Ss {
4736
+ class ws extends Es {
4737
4737
  constructor(t, e, s, n, r, a = 0, o = D) {
4738
4738
  super(), this.center = t, this.normal = e, this.majorAxis = s, this.majorAxisRadius = n, this.minorAxisRadius = r;
4739
4739
  const l = Math.abs(o - a);
@@ -4931,7 +4931,7 @@ class ws extends Ss {
4931
4931
  return new bi(this.normal, t);
4932
4932
  }
4933
4933
  }
4934
- class At extends Es {
4934
+ class At extends Ss {
4935
4935
  constructor(t = null, e = !1) {
4936
4936
  super(), this._vertices = t || new Array(), this._closed = e;
4937
4937
  }
@@ -5040,7 +5040,7 @@ class At extends Es {
5040
5040
  return e;
5041
5041
  }
5042
5042
  }
5043
- class ie extends Es {
5043
+ class ie extends Ss {
5044
5044
  constructor(t, e) {
5045
5045
  super(), this._start = new k(t), this._end = new k(e);
5046
5046
  }
@@ -5085,7 +5085,7 @@ class ie extends Es {
5085
5085
  return new ie(this._start.clone(), this._end.clone());
5086
5086
  }
5087
5087
  }
5088
- let ai = class Ot extends Es {
5088
+ let ai = class Ot extends Ss {
5089
5089
  constructor(t = []) {
5090
5090
  super(), this._curves = t;
5091
5091
  }
@@ -5246,7 +5246,7 @@ class Ni {
5246
5246
  return this.c0 + this.c1 * t + this.c2 * e + this.c3 * s;
5247
5247
  }
5248
5248
  }
5249
- class Pn extends Ss {
5249
+ class Pn extends Es {
5250
5250
  constructor(t = [], e = !1, s = "centripetal", n = 0.5) {
5251
5251
  super(), this.isCatmullRomCurve3d = !0, this.type = "CatmullRomCurve3d", this._tmp = new b(), this._px = new Ni(), this._py = new Ni(), this._pz = new Ni(), this._points = t.map((r) => new w(r)), this._closed = e, this._curveType = s, this._tension = n;
5252
5252
  }
@@ -5377,7 +5377,7 @@ let Bt = class us {
5377
5377
  }
5378
5378
  length() {
5379
5379
  const t = this._controlPoints.map((e) => [e.x, e.y, e.z]);
5380
- return Uh(
5380
+ return Xh(
5381
5381
  this._degree,
5382
5382
  this._knots,
5383
5383
  t,
@@ -5436,7 +5436,7 @@ let Bt = class us {
5436
5436
  const n = this.createFitPointsForClosedCurve(t).map((r) => [r.x, r.y, r.z]);
5437
5437
  return us.byPoints(n, e, s);
5438
5438
  }
5439
- }, ne = class Ys extends Ss {
5439
+ }, ne = class Ys extends Es {
5440
5440
  constructor(t, e, s, n, r, a) {
5441
5441
  super();
5442
5442
  const o = arguments.length;
@@ -5684,7 +5684,7 @@ let Bt = class us {
5684
5684
  }
5685
5685
  };
5686
5686
  var Ta = ((i) => (i.ClosedFilled = "", i.Dot = "_DOT", i.DotSmall = "_DOTSMALL", i.DotBlank = "_DOTBLANK", i.Origin = "_ORIGIN", i.Origin2 = "_ORIGIN2", i.Open = "_OPEN", i.Open90 = "_OPEN90", i.Open30 = "_OPEN30", i.Closed = "_CLOSED", i.Small = "_SMALL", i.None = "_NONE", i.Oblique = "_OBLIQUE", i.BoxFilled = "_BOXFILLED", i.Box = "_BOXBLANK", i.ClosedBlank = "_CLOSEDBLANK", i.DatumBlank = "_DATUMBLANK", i.DatumFilled = "_DATUMFILLED", i.Integral = "_INTEGRAL", i.ArchTick = "_ARCHTICK", i))(Ta || {}), He = ((i) => (i[i.ByBlock = -2] = "ByBlock", i[i.ByDIPs = -4] = "ByDIPs", i[i.ByLayer = -1] = "ByLayer", i[i.ByLineWeightDefault = -3] = "ByLineWeightDefault", i[i.LineWeight000 = 0] = "LineWeight000", i[i.LineWeight005 = 5] = "LineWeight005", i[i.LineWeight009 = 9] = "LineWeight009", i[i.LineWeight013 = 13] = "LineWeight013", i[i.LineWeight015 = 15] = "LineWeight015", i[i.LineWeight018 = 18] = "LineWeight018", i[i.LineWeight020 = 20] = "LineWeight020", i[i.LineWeight025 = 25] = "LineWeight025", i[i.LineWeight030 = 30] = "LineWeight030", i[i.LineWeight035 = 35] = "LineWeight035", i[i.LineWeight040 = 40] = "LineWeight040", i[i.LineWeight050 = 50] = "LineWeight050", i[i.LineWeight053 = 53] = "LineWeight053", i[i.LineWeight060 = 60] = "LineWeight060", i[i.LineWeight070 = 70] = "LineWeight070", i[i.LineWeight080 = 80] = "LineWeight080", i[i.LineWeight090 = 90] = "LineWeight090", i[i.LineWeight100 = 100] = "LineWeight100", i[i.LineWeight106 = 106] = "LineWeight106", i[i.LineWeight120 = 120] = "LineWeight120", i[i.LineWeight140 = 140] = "LineWeight140", i[i.LineWeight158 = 158] = "LineWeight158", i[i.LineWeight200 = 200] = "LineWeight200", i[i.LineWeight211 = 211] = "LineWeight211", i))(He || {}), he = ((i) => (i[i.LEFT_TO_RIGHT = 1] = "LEFT_TO_RIGHT", i[i.RIGHT_TO_LEFT = 2] = "RIGHT_TO_LEFT", i[i.TOP_TO_BOTTOM = 3] = "TOP_TO_BOTTOM", i[i.BOTTOM_TO_TOP = 4] = "BOTTOM_TO_TOP", i[i.BY_STYLE = 5] = "BY_STYLE", i))(he || {}), dt = ((i) => (i[i.TopLeft = 1] = "TopLeft", i[i.TopCenter = 2] = "TopCenter", i[i.TopRight = 3] = "TopRight", i[i.MiddleLeft = 4] = "MiddleLeft", i[i.MiddleCenter = 5] = "MiddleCenter", i[i.MiddleRight = 6] = "MiddleRight", i[i.BottomLeft = 7] = "BottomLeft", i[i.BottomCenter = 8] = "BottomCenter", i[i.BottomRight = 9] = "BottomRight", i))(dt || {}), Aa = ((i) => (i[i.OPTIMIZED_2D = 0] = "OPTIMIZED_2D", i[i.WIREFRAME = 1] = "WIREFRAME", i[i.HIDDEN_LINE = 2] = "HIDDEN_LINE", i[i.FLAT_SHADED = 3] = "FLAT_SHADED", i[i.GOURAUD_SHADED = 4] = "GOURAUD_SHADED", i[i.FLAT_SHADED_WITH_WIREFRAME = 5] = "FLAT_SHADED_WITH_WIREFRAME", i[i.GOURAUD_SHADED_WITH_WIREFRAME = 6] = "GOURAUD_SHADED_WITH_WIREFRAME", i))(Aa || {}), va = ((i) => (i[i.NON_ORTHOGRAPHIC = 0] = "NON_ORTHOGRAPHIC", i[i.TOP = 1] = "TOP", i[i.BOTTOM = 2] = "BOTTOM", i[i.FRONT = 3] = "FRONT", i[i.BACK = 4] = "BACK", i[i.LEFT = 5] = "LEFT", i[i.RIGHT = 6] = "RIGHT", i))(va || {}), ka = ((i) => (i[i.ONE_DISTANT_LIGHT = 0] = "ONE_DISTANT_LIGHT", i[i.TWO_DISTANT_LIGHTS = 1] = "TWO_DISTANT_LIGHTS", i))(ka || {});
5687
- let qh = class La {
5687
+ let Kh = class La {
5688
5688
  constructor() {
5689
5689
  this._number = -1, this._id = "", this._groupId = "", this._centerPoint = new w(), this._height = 0, this._width = 0, this._viewCenter = new w(), this._viewHeight = 0;
5690
5690
  }
@@ -6166,7 +6166,7 @@ const Ln = class Ln extends at {
6166
6166
  };
6167
6167
  Ln.typeName = "2dPolyline";
6168
6168
  let qi = Ln;
6169
- var Kh = /* @__PURE__ */ ((i) => (i[i.Vertex = 0] = "Vertex", i[i.CurveFitVertex = 1] = "CurveFitVertex", i[i.SplineFitVertex = 8] = "SplineFitVertex", i[i.SplineCtlVertex = 9] = "SplineCtlVertex", i))(Kh || {});
6169
+ var Zh = /* @__PURE__ */ ((i) => (i[i.Vertex = 0] = "Vertex", i[i.CurveFitVertex = 1] = "CurveFitVertex", i[i.SplineFitVertex = 8] = "SplineFitVertex", i[i.SplineCtlVertex = 9] = "SplineCtlVertex", i))(Zh || {});
6170
6170
  const Nn = class Nn extends mt {
6171
6171
  get dxfTypeName() {
6172
6172
  return "VERTEX";
@@ -6374,7 +6374,7 @@ const On = class On extends at {
6374
6374
  };
6375
6375
  On.typeName = "3dPolyline";
6376
6376
  let Ki = On;
6377
- var Zh = /* @__PURE__ */ ((i) => (i[i.SimpleVertex = 0] = "SimpleVertex", i[i.ControlVertex = 1] = "ControlVertex", i[i.FitVertex = 2] = "FitVertex", i))(Zh || {});
6377
+ var Qh = /* @__PURE__ */ ((i) => (i[i.SimpleVertex = 0] = "SimpleVertex", i[i.ControlVertex = 1] = "ControlVertex", i[i.FitVertex = 2] = "FitVertex", i))(Qh || {});
6378
6378
  const Cn = class Cn extends mt {
6379
6379
  get dxfTypeName() {
6380
6380
  return "VERTEX";
@@ -6654,7 +6654,7 @@ const Bn = class Bn extends at {
6654
6654
  };
6655
6655
  Bn.typeName = "Arc";
6656
6656
  let Zi = Bn;
6657
- var Qh = /* @__PURE__ */ ((i) => (i[i.LEFT = 0] = "LEFT", i[i.CENTER = 1] = "CENTER", i[i.RIGHT = 2] = "RIGHT", i[i.ALIGNED = 3] = "ALIGNED", i[i.MIDDLE = 4] = "MIDDLE", i[i.FIT = 5] = "FIT", i))(Qh || {}), Jh = /* @__PURE__ */ ((i) => (i[i.BASELINE = 0] = "BASELINE", i[i.BOTTOM = 1] = "BOTTOM", i[i.MIDDLE = 2] = "MIDDLE", i[i.TOP = 3] = "TOP", i))(Jh || {});
6657
+ var Jh = /* @__PURE__ */ ((i) => (i[i.LEFT = 0] = "LEFT", i[i.CENTER = 1] = "CENTER", i[i.RIGHT = 2] = "RIGHT", i[i.ALIGNED = 3] = "ALIGNED", i[i.MIDDLE = 4] = "MIDDLE", i[i.FIT = 5] = "FIT", i))(Jh || {}), tl = /* @__PURE__ */ ((i) => (i[i.BASELINE = 0] = "BASELINE", i[i.BOTTOM = 1] = "BOTTOM", i[i.MIDDLE = 2] = "MIDDLE", i[i.TOP = 3] = "TOP", i))(tl || {});
6658
6658
  const Fn = class Fn extends mt {
6659
6659
  get dxfTypeName() {
6660
6660
  return "TEXT";
@@ -7859,13 +7859,19 @@ const Wn = class Wn extends mt {
7859
7859
  };
7860
7860
  Wn.typeName = "Face";
7861
7861
  let sn = Wn;
7862
- var qs = /* @__PURE__ */ ((i) => (i[i.UserDefined = 0] = "UserDefined", i[i.Predefined = 1] = "Predefined", i[i.Custom = 2] = "Custom", i))(qs || {}), tl = /* @__PURE__ */ ((i) => (i[i.Normal = 0] = "Normal", i[i.Outer = 1] = "Outer", i[i.Ignore = 2] = "Ignore", i))(tl || {});
7862
+ var qs = /* @__PURE__ */ ((i) => (i[i.UserDefined = 0] = "UserDefined", i[i.Predefined = 1] = "Predefined", i[i.Custom = 2] = "Custom", i))(qs || {}), el = /* @__PURE__ */ ((i) => (i[i.Normal = 0] = "Normal", i[i.Outer = 1] = "Outer", i[i.Ignore = 2] = "Ignore", i))(el || {}), Na = /* @__PURE__ */ ((i) => (i[i.HatchObject = 0] = "HatchObject", i[i.GradientObject = 1] = "GradientObject", i))(Na || {}), sl = /* @__PURE__ */ ((i) => (i[i.PreDefinedGradient = 0] = "PreDefinedGradient", i[i.UserDefinedGradient = 1] = "UserDefinedGradient", i))(sl || {});
7863
7863
  const Dn = class Dn extends mt {
7864
+ constructor() {
7865
+ super(), this._gradientAngle = 0, this._elevation = 0, this._geo = new bs(), this._isSolidFill = !1, this._definitionLines = [], this._patternName = "", this._patternType = 1, this._patternAngle = 0, this._patternScale = 1, this._hatchStyle = 0, this._hatchObjectType = 0, this._gradientAngle = 0, this._gradientShift = 0, this._shadeTintValue = 0, this._gradientStartColor = void 0, this._gradientEndColor = void 0, this._gradientType = 0, this._gradientName = "", this._gradientOneColorMode = !1;
7866
+ }
7864
7867
  get dxfTypeName() {
7865
7868
  return "HATCH";
7866
7869
  }
7867
- constructor() {
7868
- super(), this._elevation = 0, this._geo = new bs(), this._isSolidFill = !1, this._definitionLines = [], this._patternName = "", this._patternType = 1, this._patternAngle = 0, this._patternScale = 1, this._hatchStyle = 0;
7870
+ get isGradient() {
7871
+ return this._hatchObjectType === 1;
7872
+ }
7873
+ get isHatch() {
7874
+ return this._hatchObjectType === 0;
7869
7875
  }
7870
7876
  get isSolidFill() {
7871
7877
  return this._isSolidFill || this._patternName.toUpperCase() === "SOLID";
@@ -7912,6 +7918,60 @@ const Dn = class Dn extends mt {
7912
7918
  set elevation(t) {
7913
7919
  this._elevation = t;
7914
7920
  }
7921
+ get hatchObjectType() {
7922
+ return this._hatchObjectType;
7923
+ }
7924
+ set hatchObjectType(t) {
7925
+ this._hatchObjectType = t;
7926
+ }
7927
+ get gradientAngle() {
7928
+ return this._gradientAngle;
7929
+ }
7930
+ set gradientAngle(t) {
7931
+ this._gradientAngle = t;
7932
+ }
7933
+ get gradientShift() {
7934
+ return this._gradientShift;
7935
+ }
7936
+ set gradientShift(t) {
7937
+ this._gradientShift = t;
7938
+ }
7939
+ get gradientType() {
7940
+ return this._gradientType;
7941
+ }
7942
+ set gradientType(t) {
7943
+ this._gradientType = t;
7944
+ }
7945
+ get gradientName() {
7946
+ return this._gradientName;
7947
+ }
7948
+ set gradientName(t) {
7949
+ this._gradientName = t;
7950
+ }
7951
+ get gradientOneColorMode() {
7952
+ return this._gradientOneColorMode;
7953
+ }
7954
+ set gradientOneColorMode(t) {
7955
+ this._gradientOneColorMode = t;
7956
+ }
7957
+ get shadeTintValue() {
7958
+ return this._shadeTintValue;
7959
+ }
7960
+ set shadeTintValue(t) {
7961
+ this._shadeTintValue = t;
7962
+ }
7963
+ get gradientStartColor() {
7964
+ return this._gradientStartColor;
7965
+ }
7966
+ set gradientStartColor(t) {
7967
+ this._gradientStartColor = t == null || !Number.isFinite(t) ? void 0 : t & 16777215;
7968
+ }
7969
+ get gradientEndColor() {
7970
+ return this._gradientEndColor;
7971
+ }
7972
+ set gradientEndColor(t) {
7973
+ this._gradientEndColor = t == null || !Number.isFinite(t) ? void 0 : t & 16777215;
7974
+ }
7915
7975
  add(t) {
7916
7976
  this._geo.add(t);
7917
7977
  }
@@ -8040,7 +8100,16 @@ const Dn = class Dn extends mt {
8040
8100
  e.fillType = {
8041
8101
  solidFill: this.isSolidFill,
8042
8102
  patternAngle: this.patternAngle,
8043
- definitionLines: this.definitionLines
8103
+ definitionLines: this.definitionLines,
8104
+ gradient: this.isGradient ? {
8105
+ name: this.gradientName,
8106
+ angle: this.gradientAngle,
8107
+ shift: this.gradientShift,
8108
+ oneColorMode: this.gradientOneColorMode,
8109
+ shadeTintValue: this.shadeTintValue,
8110
+ startColor: this.gradientStartColor,
8111
+ endColor: this.gradientEndColor
8112
+ } : void 0
8044
8113
  }, e.drawOrder = -1;
8045
8114
  const s = this.buildAreasFromLoops();
8046
8115
  if (s.length === 0)
@@ -8066,7 +8135,11 @@ const Dn = class Dn extends mt {
8066
8135
  t
8067
8136
  ).z;
8068
8137
  const n = new w(1, 0, 0).applyMatrix4(t), r = new w().applyMatrix4(t), a = new w(n).sub(r);
8069
- return a.length() > 0 && (this._patternAngle += Math.atan2(a.y, a.x), this._patternScale *= a.length()), this;
8138
+ if (a.length() > 0) {
8139
+ const o = Math.atan2(a.y, a.x);
8140
+ this._patternAngle += o, this._gradientAngle += o, this._patternScale *= a.length();
8141
+ }
8142
+ return this;
8070
8143
  }
8071
8144
  dxfOutFields(t) {
8072
8145
  super.dxfOutFields(t);
@@ -8118,12 +8191,12 @@ const Dn = class Dn extends mt {
8118
8191
  }
8119
8192
  }), t.writeInt16(75, this.hatchStyle), t.writeInt16(76, this.patternType), t.writeAngle(52, this.patternAngle), t.writeDouble(41, this.patternScale), t.writeInt16(77, 0), t.writeInt16(78, this.definitionLines.length), this.definitionLines.forEach((s) => {
8120
8193
  t.writeAngle(53, s.angle), t.writePoint2d(43, s.base), t.writePoint2d(45, s.offset), t.writeInt16(79, s.dashLengths.length), s.dashLengths.forEach((n) => t.writeDouble(49, n));
8121
- }), t.writeInt16(98, 0), this;
8194
+ }), this.isGradient && (t.writeInt16(450, this._hatchObjectType), t.writeInt16(451, 0), t.writeInt16(452, this._gradientOneColorMode ? 1 : 0), t.writeAngle(460, this._gradientAngle), t.writeDouble(461, this._gradientShift), t.writeString(470, this._gradientName)), t.writeInt16(98, 0), this;
8122
8195
  }
8123
8196
  };
8124
8197
  Dn.typeName = "Hatch";
8125
8198
  let oi = Dn;
8126
- var el = /* @__PURE__ */ ((i) => (i[i.MText = 0] = "MText", i[i.Fcf = 1] = "Fcf", i[i.BlockReference = 2] = "BlockReference", i[i.NoAnnotation = 3] = "NoAnnotation", i))(el || {});
8199
+ var il = /* @__PURE__ */ ((i) => (i[i.MText = 0] = "MText", i[i.Fcf = 1] = "Fcf", i[i.BlockReference = 2] = "BlockReference", i[i.NoAnnotation = 3] = "NoAnnotation", i))(il || {});
8127
8200
  const Gn = class Gn extends at {
8128
8201
  get dxfTypeName() {
8129
8202
  return "LEADER";
@@ -8210,13 +8283,13 @@ const Gn = class Gn extends at {
8210
8283
  Gn.typeName = "Leader";
8211
8284
  let nn = Gn;
8212
8285
  var V = /* @__PURE__ */ ((i) => (i[i.EndPoint = 1] = "EndPoint", i[i.MidPoint = 2] = "MidPoint", i[i.Center = 3] = "Center", i[i.Node = 4] = "Node", i[i.Quadrant = 5] = "Quadrant", i[i.Insertion = 7] = "Insertion", i[i.Perpendicular = 8] = "Perpendicular", i[i.Tangent = 9] = "Tangent", i[i.Nearest = 10] = "Nearest", i[i.Centroid = 11] = "Centroid", i))(V || {});
8213
- function Tu(i) {
8286
+ function vu(i) {
8214
8287
  let t = 0;
8215
8288
  for (const e of i)
8216
8289
  t |= 1 << e - 1;
8217
8290
  return t;
8218
8291
  }
8219
- function Au(i) {
8292
+ function ku(i) {
8220
8293
  const t = [];
8221
8294
  for (const e of Object.values(V)) {
8222
8295
  if (typeof e != "number") continue;
@@ -8225,16 +8298,16 @@ function Au(i) {
8225
8298
  }
8226
8299
  return t;
8227
8300
  }
8228
- function vu(i, t) {
8301
+ function Lu(i, t) {
8229
8302
  return i ^ 1 << t - 1;
8230
8303
  }
8231
- function ku(i, t) {
8304
+ function Nu(i, t) {
8232
8305
  return (i & 1 << t - 1) !== 0;
8233
8306
  }
8234
- function Lu(i, t) {
8307
+ function Ou(i, t) {
8235
8308
  return i | 1 << t - 1;
8236
8309
  }
8237
- function Nu(i, t) {
8310
+ function Cu(i, t) {
8238
8311
  return i & ~(1 << t - 1);
8239
8312
  }
8240
8313
  const Hn = class Hn extends at {
@@ -8801,7 +8874,7 @@ const Xn = class Xn extends at {
8801
8874
  };
8802
8875
  Xn.typeName = "Spline";
8803
8876
  let ci = Xn;
8804
- const sl = new b(), Yn = class Yn extends Ue {
8877
+ const nl = new b(), Yn = class Yn extends Ue {
8805
8878
  get dxfTypeName() {
8806
8879
  return "ACAD_TABLE";
8807
8880
  }
@@ -9011,7 +9084,7 @@ const sl = new b(), Yn = class Yn extends Ue {
9011
9084
  text: m.text,
9012
9085
  height: m.textHeight,
9013
9086
  width: f,
9014
- position: sl.set(s, -e, 0).clone().add(M),
9087
+ position: nl.set(s, -e, 0).clone().add(M),
9015
9088
  rotation: this.rotation,
9016
9089
  attachmentPoint: A
9017
9090
  }, T = this.getTextStyle(m);
@@ -9368,7 +9441,7 @@ const qn = class qn extends at {
9368
9441
  subWorldDraw(t) {
9369
9442
  const e = this._geo.getPoints(100), s = this.createWidthProfile();
9370
9443
  if (s != null) {
9371
- const r = il(s, this.closed);
9444
+ const r = rl(s, this.closed);
9372
9445
  if (r != null) {
9373
9446
  const a = t.subEntityTraits;
9374
9447
  return a.fillType = {
@@ -9396,7 +9469,7 @@ const qn = class qn extends at {
9396
9469
  let r = !1;
9397
9470
  for (let a = 0; a < s; a++) {
9398
9471
  const o = t[a], l = t[(a + 1) % e], c = Math.max(0, o.startWidth ?? 0), u = Math.max(0, o.endWidth ?? 0);
9399
- (c > St || u > St) && (r = !0);
9472
+ (c > Et || u > Et) && (r = !0);
9400
9473
  const d = this.sampleSegment(o, l), g = d.length - 1;
9401
9474
  for (let p = 0; p <= g; p++) {
9402
9475
  if (p === 0 && n.length > 0 || this.closed && a === s - 1 && p === g)
@@ -9405,14 +9478,14 @@ const qn = class qn extends at {
9405
9478
  n.push({
9406
9479
  x: d[p].x,
9407
9480
  y: d[p].y,
9408
- width: ol(c, u, m)
9481
+ width: ll(c, u, m)
9409
9482
  });
9410
9483
  }
9411
9484
  }
9412
9485
  return r && n.length >= 2 ? n : null;
9413
9486
  }
9414
9487
  sampleSegment(t, e) {
9415
- if (t.bulge && Math.abs(t.bulge) > St) {
9488
+ if (t.bulge && Math.abs(t.bulge) > Et) {
9416
9489
  const n = new Re(t, e, t.bulge).getPoints(32);
9417
9490
  if (n.length > 1)
9418
9491
  return n.map((r) => new k(r.x, r.y));
@@ -9425,12 +9498,12 @@ const qn = class qn extends at {
9425
9498
  };
9426
9499
  qn.typeName = "Polyline";
9427
9500
  let on = qn;
9428
- const St = 1e-6, Cr = 4;
9429
- function il(i, t) {
9501
+ const Et = 1e-6, Cr = 4;
9502
+ function rl(i, t) {
9430
9503
  if (i.length < 2) return null;
9431
- const e = rl(i, t);
9504
+ const e = ol(i, t);
9432
9505
  if (e.length < 2) return null;
9433
- const { left: s, right: n } = nl(e, t);
9506
+ const { left: s, right: n } = al(e, t);
9434
9507
  if (s.length < 2 || n.length < 2) return null;
9435
9508
  const r = new bs();
9436
9509
  if (t) {
@@ -9442,13 +9515,13 @@ function il(i, t) {
9442
9515
  const a = [...s, ...n.reverse()];
9443
9516
  return Oi(a) ? (r.add(new At(a, !0)), r) : null;
9444
9517
  }
9445
- function nl(i, t) {
9518
+ function al(i, t) {
9446
9519
  const e = [], s = [];
9447
9520
  for (let n = 0; n < i.length; n++) {
9448
9521
  const r = i[n], a = Math.max(0, r.width) / 2;
9449
- if (a <= St)
9522
+ if (a <= Et)
9450
9523
  continue;
9451
- const o = al(i, n, t);
9524
+ const o = hl(i, n, t);
9452
9525
  o != null && (e.push({
9453
9526
  x: r.x + o.x * a,
9454
9527
  y: r.y + o.y * a
@@ -9459,32 +9532,32 @@ function nl(i, t) {
9459
9532
  }
9460
9533
  return { left: e, right: s };
9461
9534
  }
9462
- function rl(i, t) {
9535
+ function ol(i, t) {
9463
9536
  const e = [];
9464
9537
  if (i.forEach((s) => {
9465
9538
  const n = e[e.length - 1];
9466
- (!n || Math.abs(n.x - s.x) > St || Math.abs(n.y - s.y) > St || Math.abs(n.width - s.width) > St) && e.push(s);
9539
+ (!n || Math.abs(n.x - s.x) > Et || Math.abs(n.y - s.y) > Et || Math.abs(n.width - s.width) > Et) && e.push(s);
9467
9540
  }), t && e.length > 1) {
9468
9541
  const s = e[0], n = e[e.length - 1];
9469
- Math.abs(s.x - n.x) <= St && Math.abs(s.y - n.y) <= St && e.pop();
9542
+ Math.abs(s.x - n.x) <= Et && Math.abs(s.y - n.y) <= Et && e.pop();
9470
9543
  }
9471
9544
  return e;
9472
9545
  }
9473
- function al(i, t, e) {
9546
+ function hl(i, t, e) {
9474
9547
  const s = i.length, n = i[t], r = i[(t - 1 + s) % s], a = i[(t + 1) % s];
9475
9548
  let o = Br(n.x - r.x, n.y - r.y), l = Br(a.x - n.x, a.y - n.y);
9476
9549
  if (e || (t === 0 && (o = l), t === s - 1 && (l = o)), o == null && l == null) return null;
9477
9550
  if (o == null) return zs(l);
9478
9551
  if (l == null) return zs(o);
9479
9552
  const c = zs(o), u = zs(l), d = c.x + u.x, g = c.y + u.y, p = Math.hypot(d, g);
9480
- if (p <= St)
9553
+ if (p <= Et)
9481
9554
  return u;
9482
- const m = { x: d / p, y: g / p }, y = Math.abs(m.x * u.x + m.y * u.y), x = y <= St ? Cr : Math.min(1 / y, Cr);
9555
+ const m = { x: d / p, y: g / p }, y = Math.abs(m.x * u.x + m.y * u.y), x = y <= Et ? Cr : Math.min(1 / y, Cr);
9483
9556
  return { x: m.x * x, y: m.y * x };
9484
9557
  }
9485
9558
  function Br(i, t) {
9486
9559
  const e = Math.hypot(i, t);
9487
- return e <= St ? null : { x: i / e, y: t / e };
9560
+ return e <= Et ? null : { x: i / e, y: t / e };
9488
9561
  }
9489
9562
  function zs(i) {
9490
9563
  return { x: -i.y, y: i.x };
@@ -9499,9 +9572,9 @@ function hn(i) {
9499
9572
  return t / 2;
9500
9573
  }
9501
9574
  function Oi(i) {
9502
- return i.length >= 3 && Math.abs(hn(i)) > St;
9575
+ return i.length >= 3 && Math.abs(hn(i)) > Et;
9503
9576
  }
9504
- function ol(i, t, e) {
9577
+ function ll(i, t, e) {
9505
9578
  return i + (t - i) * e;
9506
9579
  }
9507
9580
  const Kn = class Kn extends mt {
@@ -9584,7 +9657,7 @@ const Kn = class Kn extends mt {
9584
9657
  };
9585
9658
  Kn.typeName = "Point";
9586
9659
  let ln = Kn;
9587
- var hl = /* @__PURE__ */ ((i) => (i[i.Invalid = 0] = "Invalid", i[i.Rect = 1] = "Rect", i[i.Poly = 2] = "Poly", i))(hl || {}), ll = /* @__PURE__ */ ((i) => (i[i.Show = 1] = "Show", i[i.ShowUnAligned = 2] = "ShowUnAligned", i[i.Clip = 4] = "Clip", i[i.Transparent = 8] = "Transparent", i))(ll || {});
9660
+ var cl = /* @__PURE__ */ ((i) => (i[i.Invalid = 0] = "Invalid", i[i.Rect = 1] = "Rect", i[i.Poly = 2] = "Poly", i))(cl || {}), dl = /* @__PURE__ */ ((i) => (i[i.Show = 1] = "Show", i[i.ShowUnAligned = 2] = "ShowUnAligned", i[i.Clip = 4] = "Clip", i[i.Transparent = 8] = "Transparent", i))(dl || {});
9588
9661
  const Zn = class Zn extends mt {
9589
9662
  get dxfTypeName() {
9590
9663
  return "IMAGE";
@@ -9975,7 +10048,7 @@ const Jn = class Jn extends mt {
9975
10048
  }
9976
10049
  }
9977
10050
  toGiViewport() {
9978
- const t = new qh();
10051
+ const t = new Kh();
9979
10052
  return t.id = this.objectId, t.groupId = this.ownerId, t.number = this.number, t.centerPoint = this.centerPoint, t.width = this.width, t.height = this.height, t.viewHeight = this.viewHeight, t.viewCenter = this.viewCenter, t;
9980
10053
  }
9981
10054
  createViewportRect(t, e) {
@@ -10184,7 +10257,7 @@ const er = class er extends at {
10184
10257
  };
10185
10258
  er.typeName = "Xline";
10186
10259
  let pn = er;
10187
- class cl {
10260
+ class ul {
10188
10261
  constructor(t) {
10189
10262
  this.position = new w(t.x, t.y, t.z || 0);
10190
10263
  }
@@ -10194,7 +10267,7 @@ const sr = class sr extends at {
10194
10267
  return "POLYLINE";
10195
10268
  }
10196
10269
  constructor(t, e, s, n = !1, r = !1) {
10197
- super(), this._mCount = t, this._nCount = e, this._closedM = n, this._closedN = r, this._vertices = s.map((a) => new cl(a));
10270
+ super(), this._mCount = t, this._nCount = e, this._closedM = n, this._closedN = r, this._vertices = s.map((a) => new ul(a));
10198
10271
  }
10199
10272
  get mCount() {
10200
10273
  return this._mCount;
@@ -10388,12 +10461,12 @@ const sr = class sr extends at {
10388
10461
  };
10389
10462
  sr.typeName = "PolygonMesh";
10390
10463
  let gn = sr;
10391
- class dl {
10464
+ class pl {
10392
10465
  constructor(t) {
10393
10466
  this.position = new w(t.x, t.y, t.z || 0);
10394
10467
  }
10395
10468
  }
10396
- class ul {
10469
+ class gl {
10397
10470
  constructor(t) {
10398
10471
  this.vertexIndices = t;
10399
10472
  }
@@ -10403,7 +10476,7 @@ const ir = class ir extends at {
10403
10476
  return "POLYLINE";
10404
10477
  }
10405
10478
  constructor(t, e) {
10406
- super(), this._vertices = t.map((s) => new dl(s)), this._faces = e.map((s) => new ul(s));
10479
+ super(), this._vertices = t.map((s) => new pl(s)), this._faces = e.map((s) => new gl(s));
10407
10480
  }
10408
10481
  get numberOfVertices() {
10409
10482
  return this._vertices.length;
@@ -11099,7 +11172,7 @@ const ar = class ar extends ce {
11099
11172
  });
11100
11173
  if (this.dimensionText) {
11101
11174
  const n = new li();
11102
- return n.attachmentPoint = dt.MiddleLeft, n.layer = "0", n.color = new nt(S.ByBlock), n.location = t, n.contents = this.dimensionText ?? "", n.height = 10, n.direction = s(e), n.styleName = this.dimensionStyle.dimtxsty, n;
11175
+ return n.attachmentPoint = dt.MiddleLeft, n.layer = "0", n.color = new nt(E.ByBlock), n.location = t, n.contents = this.dimensionText ?? "", n.height = 10, n.direction = s(e), n.styleName = this.dimensionStyle.dimtxsty, n;
11103
11176
  }
11104
11177
  }
11105
11178
  createArrows(t) {
@@ -11500,8 +11573,8 @@ const dr = class dr extends ui {
11500
11573
  };
11501
11574
  dr.typeName = "RotatedDimension";
11502
11575
  let bn = dr;
11503
- var pl = /* @__PURE__ */ ((i) => (i[i.kInches = 0] = "kInches", i[i.kMillimeters = 1] = "kMillimeters", i[i.kPixels = 2] = "kPixels", i))(pl || {}), gl = /* @__PURE__ */ ((i) => (i[i.k0degrees = 0] = "k0degrees", i[i.k90degrees = 1] = "k90degrees", i[i.k180degrees = 2] = "k180degrees", i[i.k270degrees = 3] = "k270degrees", i))(gl || {}), ml = /* @__PURE__ */ ((i) => (i[i.kDisplay = 0] = "kDisplay", i[i.kExtents = 1] = "kExtents", i[i.kLimits = 2] = "kLimits", i[i.kView = 3] = "kView", i[i.kWindow = 4] = "kWindow", i[i.kLayout = 5] = "kLayout", i))(ml || {}), Ce = /* @__PURE__ */ ((i) => (i[i.kDraft = 0] = "kDraft", i[i.kPreview = 1] = "kPreview", i[i.kNormal = 2] = "kNormal", i[i.kPresentation = 3] = "kPresentation", i[i.kMaximum = 4] = "kMaximum", i[i.kCustom = 5] = "kCustom", i))(Ce || {}), gs = /* @__PURE__ */ ((i) => (i[i.kAsDisplayed = 0] = "kAsDisplayed", i[i.kWireframe = 1] = "kWireframe", i[i.kHidden = 2] = "kHidden", i[i.kRendered = 3] = "kRendered", i[i.kVisualStyle = 4] = "kVisualStyle", i[i.kRenderPreset = 5] = "kRenderPreset", i))(gs || {}), yl = /* @__PURE__ */ ((i) => (i[i.kScaleToFit = 0] = "kScaleToFit", i[i.k1_128in_1ft = 1] = "k1_128in_1ft", i[i.k1_64in_1ft = 2] = "k1_64in_1ft", i[i.k1_32in_1ft = 3] = "k1_32in_1ft", i[i.k1_16in_1ft = 4] = "k1_16in_1ft", i[i.k3_32in_1ft = 5] = "k3_32in_1ft", i[i.k1_8in_1ft = 6] = "k1_8in_1ft", i[i.k3_16in_1ft = 7] = "k3_16in_1ft", i[i.k1_4in_1ft = 8] = "k1_4in_1ft", i[i.k3_8in_1ft = 9] = "k3_8in_1ft", i[i.k1_2in_1ft = 10] = "k1_2in_1ft", i[i.k3_4in_1ft = 11] = "k3_4in_1ft", i[i.k1in_1ft = 12] = "k1in_1ft", i[i.k3in_1ft = 13] = "k3in_1ft", i[i.k6in_1ft = 14] = "k6in_1ft", i[i.k1ft_1ft = 15] = "k1ft_1ft", i[i.k1_1 = 16] = "k1_1", i[i.k1_2 = 17] = "k1_2", i[i.k1_4 = 18] = "k1_4", i[i.k1_5 = 19] = "k1_5", i[i.k1_8 = 20] = "k1_8", i[i.k1_10 = 21] = "k1_10", i[i.k1_16 = 22] = "k1_16", i[i.k1_20 = 23] = "k1_20", i[i.k1_30 = 24] = "k1_30", i[i.k1_40 = 25] = "k1_40", i[i.k1_50 = 26] = "k1_50", i[i.k1_100 = 27] = "k1_100", i[i.k2_1 = 28] = "k2_1", i[i.k4_1 = 29] = "k4_1", i[i.k8_1 = 30] = "k8_1", i[i.k10_1 = 31] = "k10_1", i[i.k100_1 = 32] = "k100_1", i[i.k1000_1 = 33] = "k1000_1", i[i.k1and1_2in_1ft = 34] = "k1and1_2in_1ft", i))(yl || {});
11504
- const _l = {
11576
+ var ml = /* @__PURE__ */ ((i) => (i[i.kInches = 0] = "kInches", i[i.kMillimeters = 1] = "kMillimeters", i[i.kPixels = 2] = "kPixels", i))(ml || {}), yl = /* @__PURE__ */ ((i) => (i[i.k0degrees = 0] = "k0degrees", i[i.k90degrees = 1] = "k90degrees", i[i.k180degrees = 2] = "k180degrees", i[i.k270degrees = 3] = "k270degrees", i))(yl || {}), _l = /* @__PURE__ */ ((i) => (i[i.kDisplay = 0] = "kDisplay", i[i.kExtents = 1] = "kExtents", i[i.kLimits = 2] = "kLimits", i[i.kView = 3] = "kView", i[i.kWindow = 4] = "kWindow", i[i.kLayout = 5] = "kLayout", i))(_l || {}), Ce = /* @__PURE__ */ ((i) => (i[i.kDraft = 0] = "kDraft", i[i.kPreview = 1] = "kPreview", i[i.kNormal = 2] = "kNormal", i[i.kPresentation = 3] = "kPresentation", i[i.kMaximum = 4] = "kMaximum", i[i.kCustom = 5] = "kCustom", i))(Ce || {}), gs = /* @__PURE__ */ ((i) => (i[i.kAsDisplayed = 0] = "kAsDisplayed", i[i.kWireframe = 1] = "kWireframe", i[i.kHidden = 2] = "kHidden", i[i.kRendered = 3] = "kRendered", i[i.kVisualStyle = 4] = "kVisualStyle", i[i.kRenderPreset = 5] = "kRenderPreset", i))(gs || {}), wl = /* @__PURE__ */ ((i) => (i[i.kScaleToFit = 0] = "kScaleToFit", i[i.k1_128in_1ft = 1] = "k1_128in_1ft", i[i.k1_64in_1ft = 2] = "k1_64in_1ft", i[i.k1_32in_1ft = 3] = "k1_32in_1ft", i[i.k1_16in_1ft = 4] = "k1_16in_1ft", i[i.k3_32in_1ft = 5] = "k3_32in_1ft", i[i.k1_8in_1ft = 6] = "k1_8in_1ft", i[i.k3_16in_1ft = 7] = "k3_16in_1ft", i[i.k1_4in_1ft = 8] = "k1_4in_1ft", i[i.k3_8in_1ft = 9] = "k3_8in_1ft", i[i.k1_2in_1ft = 10] = "k1_2in_1ft", i[i.k3_4in_1ft = 11] = "k3_4in_1ft", i[i.k1in_1ft = 12] = "k1in_1ft", i[i.k3in_1ft = 13] = "k3in_1ft", i[i.k6in_1ft = 14] = "k6in_1ft", i[i.k1ft_1ft = 15] = "k1ft_1ft", i[i.k1_1 = 16] = "k1_1", i[i.k1_2 = 17] = "k1_2", i[i.k1_4 = 18] = "k1_4", i[i.k1_5 = 19] = "k1_5", i[i.k1_8 = 20] = "k1_8", i[i.k1_10 = 21] = "k1_10", i[i.k1_16 = 22] = "k1_16", i[i.k1_20 = 23] = "k1_20", i[i.k1_30 = 24] = "k1_30", i[i.k1_40 = 25] = "k1_40", i[i.k1_50 = 26] = "k1_50", i[i.k1_100 = 27] = "k1_100", i[i.k2_1 = 28] = "k2_1", i[i.k4_1 = 29] = "k4_1", i[i.k8_1 = 30] = "k8_1", i[i.k10_1 = 31] = "k10_1", i[i.k100_1 = 32] = "k100_1", i[i.k1000_1 = 33] = "k1000_1", i[i.k1and1_2in_1ft = 34] = "k1and1_2in_1ft", i))(wl || {});
11577
+ const xl = {
11505
11578
  0: 0,
11506
11579
  1: 1 / 1536,
11507
11580
  2: 1 / 768,
@@ -11538,7 +11611,7 @@ const _l = {
11538
11611
  33: 1e3,
11539
11612
  34: 1 / 8
11540
11613
  };
11541
- class wl extends ue {
11614
+ class fl extends ue {
11542
11615
  constructor(t = !1) {
11543
11616
  super(), this._plotSettingsName = "", this._plotCfgName = "", this._canonicalMediaName = "", this._currentStyleSheet = "", this._plotOrigin = new k(), this._customPrintScale = { numerator: 1, denominator: 1 }, this._plotPaperSize = new k(), this._plotPaperMargins = { left: 0, right: 0, top: 0, bottom: 0 }, this._plotViewName = "", this._plotWindowArea = new gt(), this._modelType = t, this._plotCentered = !1, this._plotHidden = !1, this._plotPaperUnits = 1, this._plotPlotStyles = !0, this._plotRotation = 0, this._plotType = 5, this._plotViewportBorders = !1, this._printLineweights = !0, this._scaleLineweights = !1, this._drawViewportsFirst = !1, this._showPlotStyles = !0, this._shadePlotType = 0, this._shadePlotResLevel = 2, this._shadePlotCustomDpi = 300, this._shadePlotId = void 0, this._stdScaleType = 0, this._useStandardScale = !0;
11544
11617
  }
@@ -11783,7 +11856,7 @@ class wl extends ue {
11783
11856
  this._stdScaleType = t;
11784
11857
  }
11785
11858
  get stdScale() {
11786
- return _l[this._stdScaleType] ?? 1;
11859
+ return xl[this._stdScaleType] ?? 1;
11787
11860
  }
11788
11861
  get useStandardScale() {
11789
11862
  return this._useStandardScale;
@@ -11797,7 +11870,7 @@ class wl extends ue {
11797
11870
  return this.plotViewportBorders && (e |= 1), this.showPlotStyles && (e |= 2), this.plotCentered && (e |= 4), this.plotHidden && (e |= 8), this.useStandardScale && (e |= 16), this.plotPlotStyles && (e |= 32), this.scaleLineweights && (e |= 64), this.printLineweights && (e |= 128), this.drawViewportsFirst && (e |= 512), this.modelType && (e |= 1024), t.writeInt16(70, e), t.writeInt16(72, this.plotPaperUnits), t.writeInt16(73, this.plotRotation), t.writeInt16(74, this.plotType), t.writeString(7, this.currentStyleSheet), t.writeInt16(75, this.stdScaleType), t.writeInt16(76, this.shadePlot), t.writeInt16(77, this.shadePlotResLevel), t.writeInt16(78, this.shadePlotCustomDPI), t.writeDouble(147, this.stdScale), t.writeObjectId(333, this.shadePlotId), this;
11798
11871
  }
11799
11872
  }
11800
- class Ii extends wl {
11873
+ class Ii extends fl {
11801
11874
  constructor() {
11802
11875
  super(), this._tabOrder = -1, this._tabSelected = !1, this._blockTableRecordId = "", this._layoutName = "", this._limits = new gt(), this._extents = new C(), this._viewportArray = [];
11803
11876
  }
@@ -11937,7 +12010,7 @@ class Ks extends ue {
11937
12010
  return this;
11938
12011
  }
11939
12012
  }
11940
- class xl extends Ks {
12013
+ class bl extends Ks {
11941
12014
  getBtrIdAt(t) {
11942
12015
  for (const [e, s] of this._recordsByName)
11943
12016
  if (s.blockTableRecordId == t) return s;
@@ -11963,7 +12036,7 @@ class Ve extends ue {
11963
12036
  return super.dxfOutFields(t), t.writeSubclassMarker("AcDbSymbolTableRecord"), this;
11964
12037
  }
11965
12038
  }
11966
- var fl = /* @__PURE__ */ ((i) => (i[i.Any = 0] = "Any", i[i.Uniform = 1] = "Uniform", i))(fl || {});
12039
+ var Il = /* @__PURE__ */ ((i) => (i[i.Any = 0] = "Any", i[i.Uniform = 1] = "Uniform", i))(Il || {});
11967
12040
  const le = class le extends Ve {
11968
12041
  static isModelSapceName(t) {
11969
12042
  return t.toLowerCase() == le.MODEL_SPACE_NAME.toLowerCase();
@@ -12061,7 +12134,7 @@ const le = class le extends Ve {
12061
12134
  };
12062
12135
  le.MODEL_SPACE_NAME = "*Model_Space", le.PAPER_SPACE_NAME_PREFIX = "*Paper_Space";
12063
12136
  let Z = le;
12064
- class bl {
12137
+ class Pl {
12065
12138
  constructor() {
12066
12139
  this.events = {
12067
12140
  layoutCreated: new K(),
@@ -12131,8 +12204,8 @@ class bl {
12131
12204
  }), e.currentSpaceId = t.blockTableRecordId, !0) : !1;
12132
12205
  }
12133
12206
  }
12134
- gh(() => new bl());
12135
- class Il extends ue {
12207
+ mh(() => new Pl());
12208
+ class Sl extends ue {
12136
12209
  constructor() {
12137
12210
  super(), this._sourceFileName = "";
12138
12211
  }
@@ -12146,8 +12219,8 @@ class Il extends ue {
12146
12219
  return super.dxfOutFields(t), t.writeSubclassMarker("AcDbRasterImageDef"), t.writeString(1, this.sourceFileName), t.writeInt16(280, 1), t.writeInt16(281, 0), this;
12147
12220
  }
12148
12221
  }
12149
- var Pl = /* @__PURE__ */ ((i) => (i[i.NotApplicable = 0] = "NotApplicable", i[i.Ignore = 1] = "Ignore", i[i.Replace = 2] = "Replace", i[i.XrefMangleName = 3] = "XrefMangleName", i[i.MangleName = 4] = "MangleName", i))(Pl || {});
12150
- class Ou extends ue {
12222
+ var El = /* @__PURE__ */ ((i) => (i[i.NotApplicable = 0] = "NotApplicable", i[i.Ignore = 1] = "Ignore", i[i.Replace = 2] = "Replace", i[i.XrefMangleName = 3] = "XrefMangleName", i[i.MangleName = 4] = "MangleName", i))(El || {});
12223
+ class Bu extends ue {
12151
12224
  constructor() {
12152
12225
  super(...arguments), this._data = null;
12153
12226
  }
@@ -12171,14 +12244,14 @@ class Ou extends ue {
12171
12244
  return super.dxfOutFields(t), t.writeSubclassMarker("AcDbXrecord"), t.writeInt16(280, 1), t.writeResultBuffer(this.data), this;
12172
12245
  }
12173
12246
  }
12174
- class El {
12247
+ class Ml {
12175
12248
  constructor(t) {
12176
12249
  this.db = t;
12177
12250
  }
12178
12251
  createDefaultLayer() {
12179
12252
  const t = new nt();
12180
12253
  return t.colorIndex = 7, this.db.tables.layerTable.add(
12181
- new En({
12254
+ new Sn({
12182
12255
  name: "0",
12183
12256
  standardFlags: 0,
12184
12257
  linetype: "Continuous",
@@ -12215,7 +12288,7 @@ class El {
12215
12288
  }
12216
12289
  createDefaultTextStyle() {
12217
12290
  this.db.tables.textStyleTable.add(
12218
- new Sn({
12291
+ new En({
12219
12292
  name: it,
12220
12293
  standardFlag: 0,
12221
12294
  fixedTextHeight: 0,
@@ -12252,14 +12325,14 @@ class El {
12252
12325
  }
12253
12326
  }
12254
12327
  }
12255
- var Sl = /* @__PURE__ */ ((i) => (i.ClosedFilled = "", i.Dot = "_DOT", i.DotSmall = "_DOTSMALL", i.DotBlank = "_DOTBLANK", i.Origin = "_ORIGIN", i.Origin2 = "_ORIGIN2", i.Open = "_OPEN", i.Open90 = "_OPEN90", i.Open30 = "_OPEN30", i.Closed = "_CLOSED", i.Small = "_SMALL", i.None = "_NONE", i.Oblique = "_OBLIQUE", i.BoxFilled = "_BOXFILLED", i.Box = "_BOXBLANK", i.ClosedBlank = "_CLOSEDBLANK", i.DatumBlank = "_DATUMBLANK", i.DatumFilled = "_DATUMFILLED", i.Integral = "_INTEGRAL", i.ArchTick = "_ARCHTICK", i))(Sl || {}), Na = /* @__PURE__ */ ((i) => (i[i.Undefined = 0] = "Undefined", i[i.Inches = 1] = "Inches", i[i.Feet = 2] = "Feet", i[i.Miles = 3] = "Miles", i[i.Millimeters = 4] = "Millimeters", i[i.Centimeters = 5] = "Centimeters", i[i.Meters = 6] = "Meters", i[i.Kilometers = 7] = "Kilometers", i[i.Microinches = 8] = "Microinches", i[i.Mils = 9] = "Mils", i[i.Yards = 10] = "Yards", i[i.Angstroms = 11] = "Angstroms", i[i.Nanometers = 12] = "Nanometers", i[i.Microns = 13] = "Microns", i[i.Decimeters = 14] = "Decimeters", i[i.Dekameters = 15] = "Dekameters", i[i.Hectometers = 16] = "Hectometers", i[i.Gigameters = 17] = "Gigameters", i[i.Astronomical = 18] = "Astronomical", i[i.LightYears = 19] = "LightYears", i[i.Parsecs = 20] = "Parsecs", i[i.USSurveyFeet = 21] = "USSurveyFeet", i[i.USSurveyInch = 22] = "USSurveyInch", i[i.USSurveyYard = 23] = "USSurveyYard", i[i.USSurveyMile = 24] = "USSurveyMile", i[
12328
+ var Tl = /* @__PURE__ */ ((i) => (i.ClosedFilled = "", i.Dot = "_DOT", i.DotSmall = "_DOTSMALL", i.DotBlank = "_DOTBLANK", i.Origin = "_ORIGIN", i.Origin2 = "_ORIGIN2", i.Open = "_OPEN", i.Open90 = "_OPEN90", i.Open30 = "_OPEN30", i.Closed = "_CLOSED", i.Small = "_SMALL", i.None = "_NONE", i.Oblique = "_OBLIQUE", i.BoxFilled = "_BOXFILLED", i.Box = "_BOXBLANK", i.ClosedBlank = "_CLOSEDBLANK", i.DatumBlank = "_DATUMBLANK", i.DatumFilled = "_DATUMFILLED", i.Integral = "_INTEGRAL", i.ArchTick = "_ARCHTICK", i))(Tl || {}), Oa = /* @__PURE__ */ ((i) => (i[i.Undefined = 0] = "Undefined", i[i.Inches = 1] = "Inches", i[i.Feet = 2] = "Feet", i[i.Miles = 3] = "Miles", i[i.Millimeters = 4] = "Millimeters", i[i.Centimeters = 5] = "Centimeters", i[i.Meters = 6] = "Meters", i[i.Kilometers = 7] = "Kilometers", i[i.Microinches = 8] = "Microinches", i[i.Mils = 9] = "Mils", i[i.Yards = 10] = "Yards", i[i.Angstroms = 11] = "Angstroms", i[i.Nanometers = 12] = "Nanometers", i[i.Microns = 13] = "Microns", i[i.Decimeters = 14] = "Decimeters", i[i.Dekameters = 15] = "Dekameters", i[i.Hectometers = 16] = "Hectometers", i[i.Gigameters = 17] = "Gigameters", i[i.Astronomical = 18] = "Astronomical", i[i.LightYears = 19] = "LightYears", i[i.Parsecs = 20] = "Parsecs", i[i.USSurveyFeet = 21] = "USSurveyFeet", i[i.USSurveyInch = 22] = "USSurveyInch", i[i.USSurveyYard = 23] = "USSurveyYard", i[i.USSurveyMile = 24] = "USSurveyMile", i[
12256
12329
  i.Max = 24
12257
12330
  /* USSurveyMile */
12258
- ] = "Max", i))(Na || {});
12259
- function Cu(i) {
12331
+ ] = "Max", i))(Oa || {});
12332
+ function Fu(i) {
12260
12333
  return i == 4 || i == 5 || i == 6 || i == 7 || i == 12 || i == 13 || i == 14 || i == 15 || i == 16 || i == 17;
12261
12334
  }
12262
- function Bu(i) {
12335
+ function Ru(i) {
12263
12336
  return i == 1 || i == 2 || i == 3 || i == 8 || i == 9 || i == 10 || i == 21;
12264
12337
  }
12265
12338
  class pe extends ue {
@@ -12312,7 +12385,7 @@ class pe extends ue {
12312
12385
  return super.dxfOutFields(t), t.writeSubclassMarker("AcDbSymbolTable"), t.writeInt16(70, this.numEntries), this;
12313
12386
  }
12314
12387
  }
12315
- class Ml extends pe {
12388
+ class Al extends pe {
12316
12389
  constructor(t) {
12317
12390
  super(t);
12318
12391
  }
@@ -12346,12 +12419,12 @@ class Ml extends pe {
12346
12419
  return e;
12347
12420
  }
12348
12421
  }
12349
- class Tl extends pe {
12422
+ class vl extends pe {
12350
12423
  constructor(t) {
12351
12424
  super(t);
12352
12425
  }
12353
12426
  }
12354
- var Al = /* @__PURE__ */ ((i) => (i[i.Center = 0] = "Center", i[i.Left = 1] = "Left", i[i.Right = 2] = "Right", i[i.OverFirst = 3] = "OverFirst", i[i.OverSecond = 4] = "OverSecond", i))(Al || {}), vl = /* @__PURE__ */ ((i) => (i[i.Center = 0] = "Center", i[i.Above = 1] = "Above", i[i.Outside = 2] = "Outside", i[i.JIS = 3] = "JIS", i[i.Below = 4] = "Below", i))(vl || {}), kl = /* @__PURE__ */ ((i) => (i[i.Feet = 0] = "Feet", i[i.None = 1] = "None", i[i.Inch = 2] = "Inch", i[i.FeetAndInch = 3] = "FeetAndInch", i[i.Leading = 4] = "Leading", i[i.Trailing = 8] = "Trailing", i[i.LeadingAndTrailing = 12] = "LeadingAndTrailing", i))(kl || {}), Ll = /* @__PURE__ */ ((i) => (i[i.None = 0] = "None", i[i.Leading = 1] = "Leading", i[i.Trailing = 2] = "Trailing", i[i.LeadingAndTrailing = 3] = "LeadingAndTrailing", i))(Ll || {}), Nl = /* @__PURE__ */ ((i) => (i[i.Bottom = 0] = "Bottom", i[i.Middle = 1] = "Middle", i[i.Top = 2] = "Top", i))(Nl || {});
12427
+ var kl = /* @__PURE__ */ ((i) => (i[i.Center = 0] = "Center", i[i.Left = 1] = "Left", i[i.Right = 2] = "Right", i[i.OverFirst = 3] = "OverFirst", i[i.OverSecond = 4] = "OverSecond", i))(kl || {}), Ll = /* @__PURE__ */ ((i) => (i[i.Center = 0] = "Center", i[i.Above = 1] = "Above", i[i.Outside = 2] = "Outside", i[i.JIS = 3] = "JIS", i[i.Below = 4] = "Below", i))(Ll || {}), Nl = /* @__PURE__ */ ((i) => (i[i.Feet = 0] = "Feet", i[i.None = 1] = "None", i[i.Inch = 2] = "Inch", i[i.FeetAndInch = 3] = "FeetAndInch", i[i.Leading = 4] = "Leading", i[i.Trailing = 8] = "Trailing", i[i.LeadingAndTrailing = 12] = "LeadingAndTrailing", i))(Nl || {}), Ol = /* @__PURE__ */ ((i) => (i[i.None = 0] = "None", i[i.Leading = 1] = "Leading", i[i.Trailing = 2] = "Trailing", i[i.LeadingAndTrailing = 3] = "LeadingAndTrailing", i))(Ol || {}), Cl = /* @__PURE__ */ ((i) => (i[i.Bottom = 0] = "Bottom", i[i.Middle = 1] = "Middle", i[i.Top = 2] = "Top", i))(Cl || {});
12355
12428
  const yi = class yi extends Ve {
12356
12429
  constructor(t, e) {
12357
12430
  t = t || {}, wi(t, yi.DEFAULT_DIM_VALUES), super(t, e);
@@ -12828,7 +12901,7 @@ yi.DEFAULT_DIM_VALUES = {
12828
12901
  dimlwe: -2
12829
12902
  };
12830
12903
  let Xe = yi;
12831
- class Ol extends pe {
12904
+ class Bl extends pe {
12832
12905
  constructor(t) {
12833
12906
  super(t);
12834
12907
  }
@@ -12839,7 +12912,7 @@ class Ol extends pe {
12839
12912
  });
12840
12913
  }
12841
12914
  }
12842
- class En extends Ve {
12915
+ class Sn extends Ve {
12843
12916
  constructor(t, e) {
12844
12917
  t = t || {}, wi(t, {
12845
12918
  color: new nt(),
@@ -12953,7 +13026,7 @@ class En extends Ve {
12953
13026
  return super.dxfOutFields(t), t.writeSubclassMarker("AcDbLayerTableRecord"), t.writeString(2, this.name), t.writeInt16(70, this.standardFlags), t.writeCmColor(this.color), t.writeString(6, this.linetype), t.writeInt16(290, this.isPlottable ? 1 : 0), t.writeInt16(370, this.lineWeight), t.writeTransparency(this.transparency), this.description && t.writeString(4, this.description), this;
12954
13027
  }
12955
13028
  }
12956
- class Cl extends pe {
13029
+ class Fl extends pe {
12957
13030
  constructor(t) {
12958
13031
  super(t);
12959
13032
  }
@@ -13046,7 +13119,7 @@ class Fe extends Ve {
13046
13119
  return this;
13047
13120
  }
13048
13121
  }
13049
- class Bl extends pe {
13122
+ class Rl extends pe {
13050
13123
  constructor(t) {
13051
13124
  super(t);
13052
13125
  }
@@ -13066,7 +13139,7 @@ class Bl extends pe {
13066
13139
  return Array.from(t);
13067
13140
  }
13068
13141
  }
13069
- class Sn extends Ve {
13142
+ class En extends Ve {
13070
13143
  constructor(t) {
13071
13144
  super(), this.name = t.name, this._textStyle = t, this._textStyle.font = this.getFileNameWithoutExtension(
13072
13145
  this._textStyle.font || this._textStyle.extendedFont || this.name
@@ -13132,17 +13205,17 @@ class Sn extends Ve {
13132
13205
  ), t.writeDouble(42, this.priorSize), t.writeString(3, this.fileName), t.writeString(4, this.bigFontFileName), this;
13133
13206
  }
13134
13207
  }
13135
- class Fl extends pe {
13208
+ class zl extends pe {
13136
13209
  constructor(t) {
13137
13210
  super(t);
13138
13211
  }
13139
13212
  }
13140
- class Rl extends pe {
13213
+ class Vl extends pe {
13141
13214
  constructor(t) {
13142
13215
  super(t);
13143
13216
  }
13144
13217
  }
13145
- const zl = () => ({
13218
+ const jl = () => ({
13146
13219
  center: new k(),
13147
13220
  viewDirectionFromTarget: new w(0, 0, 1),
13148
13221
  viewTarget: new w(0, 0, 0),
@@ -13169,9 +13242,9 @@ const zl = () => ({
13169
13242
  contrast: 0,
13170
13243
  ambientColor: void 0
13171
13244
  });
13172
- class Oa extends Ve {
13245
+ class Ca extends Ve {
13173
13246
  constructor() {
13174
- super(), this._gsView = zl(), this._centerPoint = this._gsView.center;
13247
+ super(), this._gsView = jl(), this._centerPoint = this._gsView.center;
13175
13248
  }
13176
13249
  get gsView() {
13177
13250
  return this._gsView;
@@ -13315,7 +13388,7 @@ class Oa extends Ve {
13315
13388
  this._gsView.ambientColor = t;
13316
13389
  }
13317
13390
  }
13318
- class Ca extends Oa {
13391
+ class Ba extends Ca {
13319
13392
  constructor() {
13320
13393
  super(), this._circleSides = 100, this._lowerLeftCorner = new k(0, 0), this._upperRightCorner = new k(1, 1), this._snapBase = new k(0, 0), this._snapAngle = 0, this._snapSpacing = new k(0, 0), this._standardFlag = 0, this._gridSpacing = new k(), this._gridMajor = 10;
13321
13394
  }
@@ -13392,7 +13465,7 @@ class Ca extends Oa {
13392
13465
  return super.dxfOutFields(t), t.writeSubclassMarker("AcDbViewportTableRecord"), t.writeString(2, this.name), t.writeDouble(45, this.gsView.viewHeight), t.writePoint2d(10, this.lowerLeftCorner), t.writePoint2d(11, this.upperRightCorner), t.writePoint2d(12, this.center), t.writePoint2d(13, this.snapBase), t.writePoint2d(14, this.snapIncrements), t.writePoint2d(15, this.gridIncrements), t.writeInt16(70, this.standardFlag), t.writeInt16(71, this.circleSides), t.writeDouble(42, this.gsView.lensLength), t.writePoint3d(16, this.gsView.viewDirectionFromTarget), t.writePoint3d(17, this.gsView.viewTarget), t.writeAngle(50, this.snapAngle), t.writeAngle(51, this.gsView.viewTwistAngle), t.writeInt16(61, this.gridMajor), t.writeInt16(281, this.backgroundObjectId ? 1 : 0), t.writeObjectId(332, this.backgroundObjectId), this;
13393
13466
  }
13394
13467
  }
13395
- class Vl extends pe {
13468
+ class Wl extends pe {
13396
13469
  constructor(t) {
13397
13470
  super(t);
13398
13471
  }
@@ -13431,7 +13504,7 @@ const R = {
13431
13504
  SHORTCUTMENU: "SHORTCUTMENU",
13432
13505
  TEXTSTYLE: "TEXTSTYLE",
13433
13506
  WHITEBKCOLOR: "WHITEBKCOLOR"
13434
- }, Fu = Object.freeze(
13507
+ }, zu = Object.freeze(
13435
13508
  Object.values(R)
13436
13509
  ), _i = class _i {
13437
13510
  constructor() {
@@ -13441,7 +13514,7 @@ const R = {
13441
13514
  name: R.CECOLOR,
13442
13515
  type: "color",
13443
13516
  isDbVar: !0,
13444
- defaultValue: new nt(S.ByLayer)
13517
+ defaultValue: new nt(E.ByLayer)
13445
13518
  }), this.registerVar({
13446
13519
  name: R.CELTSCALE,
13447
13520
  type: "number",
@@ -13487,7 +13560,7 @@ const R = {
13487
13560
  type: "color",
13488
13561
  isDbVar: !1,
13489
13562
  defaultValue: (() => {
13490
- const t = new nt(S.ByColor);
13563
+ const t = new nt(E.ByColor);
13491
13564
  return t.setRGB(96, 165, 250), t;
13492
13565
  })()
13493
13566
  }), this.registerVar({
@@ -13596,7 +13669,7 @@ const R = {
13596
13669
  };
13597
13670
  _i._instance = null;
13598
13671
  let pi = _i;
13599
- class Ru extends ue {
13672
+ class Vu extends ue {
13600
13673
  constructor() {
13601
13674
  super({ objectId: "0" }), this.events = {
13602
13675
  dictObjetSet: new K(),
@@ -13608,19 +13681,19 @@ class Ru extends ue {
13608
13681
  layerModified: new K(),
13609
13682
  layerErased: new K(),
13610
13683
  openProgress: new K()
13611
- }, this._version = new Ct("AC1014"), this._angBase = 0, this._angDir = 0, this._aunits = sa.DecimalDegrees, this._celtscale = 1, this._cecolor = new nt(), this._celtype = Tt, this._celweight = He.ByLayer, this._clayer = "0", this._textstyle = it, this._extents = new C(), this._insunits = Na.Millimeters, this._ltscale = 1, this._lwdisplay = !1, this._pdmode = 0, this._pdsize = 0, this._osmode = 0, this._maxHandle = 0, this._tables = {
13612
- appIdTable: new Vl(this),
13613
- blockTable: new Ml(this),
13614
- dimStyleTable: new Tl(this),
13615
- linetypeTable: new Cl(this),
13616
- textStyleTable: new Bl(this),
13617
- viewTable: new Fl(this),
13618
- layerTable: new Ol(this),
13619
- viewportTable: new Rl(this)
13684
+ }, this._version = new Ct("AC1014"), this._angBase = 0, this._angDir = 0, this._aunits = sa.DecimalDegrees, this._celtscale = 1, this._cecolor = new nt(), this._celtype = Tt, this._celweight = He.ByLayer, this._clayer = "0", this._textstyle = it, this._extents = new C(), this._insunits = Oa.Millimeters, this._ltscale = 1, this._lwdisplay = !1, this._pdmode = 0, this._pdsize = 0, this._osmode = 0, this._maxHandle = 0, this._tables = {
13685
+ appIdTable: new Wl(this),
13686
+ blockTable: new Al(this),
13687
+ dimStyleTable: new vl(this),
13688
+ linetypeTable: new Fl(this),
13689
+ textStyleTable: new Rl(this),
13690
+ viewTable: new zl(this),
13691
+ layerTable: new Bl(this),
13692
+ viewportTable: new Vl(this)
13620
13693
  }, this._objects = {
13621
13694
  dictionary: new Ks(this),
13622
13695
  imageDefinition: new Ks(this),
13623
- layout: new xl(this),
13696
+ layout: new bl(this),
13624
13697
  xrecord: new Ks(this)
13625
13698
  };
13626
13699
  }
@@ -13969,7 +14042,7 @@ class Ru extends ue {
13969
14042
  }
13970
14043
  dxfOut(t, e = 16, s = this.version.name, n = !1) {
13971
14044
  this.ensureDatabaseDefaults();
13972
- const r = s instanceof Ct ? s : new Ct(s), a = new Jo({
14045
+ const r = s instanceof Ct ? s : new Ct(s), a = new th({
13973
14046
  database: this,
13974
14047
  precision: e,
13975
14048
  version: r
@@ -13977,7 +14050,7 @@ class Ru extends ue {
13977
14050
  return this.writeDxfHeaderSection(a), this.writeDxfTablesSection(a, r), this.writeDxfBlocksSection(a), this.writeDxfEntitiesSection(a), this.writeDxfObjectsSection(a), a.writeStart("EOF"), a.toString();
13978
14051
  }
13979
14052
  async regen() {
13980
- await new hu(this).read(
14053
+ await new du(this).read(
13981
14054
  null,
13982
14055
  this,
13983
14056
  500,
@@ -14000,14 +14073,14 @@ class Ru extends ue {
14000
14073
  dimStyle: !0,
14001
14074
  layout: !0
14002
14075
  }) {
14003
- const e = new El(this);
14076
+ const e = new Ml(this);
14004
14077
  t.layer && e.createDefaultLayer(), t.lineType && e.createDefaultLineType(), t.textStyle && e.createDefaultTextStyle(), t.dimStyle && e.createDefaultDimStyle(), t.layout && e.createDefaultLayout();
14005
14078
  }
14006
14079
  ensureDatabaseDefaults() {
14007
14080
  if (!this.tables.layerTable.has("0")) {
14008
14081
  const e = new nt();
14009
14082
  e.colorIndex = 7, this.tables.layerTable.add(
14010
- new En({
14083
+ new Sn({
14011
14084
  name: "0",
14012
14085
  standardFlags: 0,
14013
14086
  linetype: ys,
@@ -14040,7 +14113,7 @@ class Ru extends ue {
14040
14113
  totalPatternLength: 0
14041
14114
  })
14042
14115
  ), this.tables.textStyleTable.has(it) || this.tables.textStyleTable.add(
14043
- new Sn({
14116
+ new En({
14044
14117
  name: it,
14045
14118
  standardFlag: 0,
14046
14119
  fixedTextHeight: 0,
@@ -14058,7 +14131,7 @@ class Ru extends ue {
14058
14131
  dimtxsty: it
14059
14132
  })
14060
14133
  ), !this.tables.viewportTable.has("*Active")) {
14061
- const e = new Ca();
14134
+ const e = new Ba();
14062
14135
  e.name = "*Active", this.tables.viewportTable.add(e);
14063
14136
  }
14064
14137
  const t = this.tables.blockTable.modelSpace;
@@ -14207,14 +14280,14 @@ class Ru extends ue {
14207
14280
  }
14208
14281
  }
14209
14282
  }
14210
- const Ba = "Load Database", Vr = 3e4, jl = 12e4, Wl = 1024 * 1024;
14211
- class ut extends hh {
14283
+ const Fa = "Load Database", Vr = 3e4, Dl = 12e4, Gl = 1024 * 1024;
14284
+ class ut extends lh {
14212
14285
  constructor(t, e) {
14213
14286
  super(t.stage), this.data = t, this.progress = e;
14214
14287
  }
14215
14288
  async run(t) {
14216
14289
  const e = Zr.getInstance().getEntry(
14217
- Ba
14290
+ Fa
14218
14291
  ), s = Date.now();
14219
14292
  this.progress && await this.progress(this.data.progress.value, this.data.stage, "START");
14220
14293
  const n = await this.data.task(t);
@@ -14226,13 +14299,13 @@ class ut extends hh {
14226
14299
  ), this.data.progress.value += this.data.step, this.data.progress.value > 100 && (this.data.progress.value = 100)), e && (e.data[this.name] = Date.now() - s), n;
14227
14300
  }
14228
14301
  }
14229
- class Fa {
14302
+ class Ra {
14230
14303
  constructor(t = {}) {
14231
14304
  this.config = t;
14232
14305
  }
14233
14306
  async read(t, e, s, n, r, a) {
14234
14307
  const o = {
14235
- name: Ba,
14308
+ name: Fa,
14236
14309
  data: { total: 0 },
14237
14310
  format() {
14238
14311
  let d = "";
@@ -14243,7 +14316,7 @@ class Fa {
14243
14316
  }
14244
14317
  };
14245
14318
  Zr.getInstance().collect(o), this.progress = n;
14246
- const l = { value: 0 }, c = new lh();
14319
+ const l = { value: 0 }, c = new ch();
14247
14320
  c.setCompleteCallback(() => this.onFinished()), c.setErrorCallback((d) => this.onError(d)), c.addTask(
14248
14321
  new ut(
14249
14322
  {
@@ -14424,9 +14497,9 @@ class Fa {
14424
14497
  const s = e ?? this.config.timeout;
14425
14498
  if (s != null)
14426
14499
  return s;
14427
- const n = Math.ceil(t.byteLength / Wl), r = Vr + n * 1e3;
14500
+ const n = Math.ceil(t.byteLength / Gl), r = Vr + n * 1e3;
14428
14501
  return Math.min(
14429
- jl,
14502
+ Dl,
14430
14503
  Math.max(Vr, r)
14431
14504
  );
14432
14505
  }
@@ -14467,7 +14540,7 @@ class Fa {
14467
14540
  throw new Error("Not impelemented yet!");
14468
14541
  }
14469
14542
  }
14470
- class zu extends Oa {
14543
+ class ju extends Ca {
14471
14544
  constructor() {
14472
14545
  super(), this._standardFlags = 0, this._viewWidth = this.viewHeight, this._ucsAssociated = !1, this._cameraPlottable = !1, this._ucsElevation = 0;
14473
14546
  }
@@ -14529,7 +14602,7 @@ class zu extends Oa {
14529
14602
  return super.dxfOutFields(t), t.writeSubclassMarker("AcDbViewTableRecord"), t.writeString(2, this.name), t.writeInt16(70, this.standardFlags), t.writeDouble(40, this.gsView.viewHeight), t.writePoint2d(10, this.centerPoint), t.writeDouble(41, this.viewWidth), t.writePoint3d(11, this.gsView.viewDirectionFromTarget), t.writePoint3d(12, this.gsView.viewTarget), t.writeDouble(42, this.gsView.lensLength), t.writeDouble(43, this.gsView.frontClippingPlane), t.writeDouble(44, this.gsView.backClippingPlane), t.writeAngle(50, this.gsView.viewTwistAngle), t.writeInt16(71, this.gsView.viewMode), t.writeInt16(281, this.gsView.renderMode), t.writeInt16(72, this.ucsAssociated ? 1 : 0), t.writeInt16(73, this.cameraPlottable ? 1 : 0), t.writeObjectId(332, this.backgroundObjectId), t.writeObjectId(334, this.liveSectionObjectId), t.writeObjectId(348, this.gsView.visualStyleObjectId), this.ucsAssociated && (t.writePoint3d(110, this.gsView.ucsOrigin), t.writePoint3d(111, this.gsView.ucsXAxis), t.writePoint3d(112, this.gsView.ucsYAxis), t.writeInt16(79, this.gsView.orthographicType), t.writeDouble(146, this.ucsElevation), t.writeObjectId(345, this.ucsObjectId), t.writeObjectId(346, this.ucsBaseObjectId)), this;
14530
14603
  }
14531
14604
  }
14532
- var J, $e, X, q, qe, kt, we, Vt, ot, jt, Lt, xe, fe, be, _t, Wt, Ke, Ze, Ie, Pe, Qe, Je, ts, wt, Dt, H, Ee, es, L, ht, ss, lt, is, Gt, j, ns, Ht, Se, Ci, Bi, Nt, rs, Me, xt, Ut, Xt, Yt, as, os, $t, Te, Ae, Fi, hs, ve, qt, ke, tt, Kt, ft, Ri, et, zi, Zt, bt, Le, ls, Ne, It, Qt, Pt, Jt, Vi, Oe, Et;
14605
+ var J, $e, X, q, qe, kt, we, Vt, ot, jt, Lt, xe, fe, be, _t, Wt, Ke, Ze, Ie, Pe, Qe, Je, ts, wt, Dt, H, Se, es, L, ht, ss, lt, is, Gt, j, ns, Ht, Ee, Ci, Bi, Nt, rs, Me, xt, Ut, Xt, Yt, as, os, $t, Te, Ae, Fi, hs, ve, qt, ke, tt, Kt, ft, Ri, et, zi, Zt, bt, Le, ls, Ne, It, Qt, Pt, Jt, Vi, Oe, St;
14533
14606
  (J = {})[J.None = 0] = "None", J[J.Anonymous = 1] = "Anonymous", J[J.NonConstant = 2] = "NonConstant", J[J.Xref = 4] = "Xref", J[J.XrefOverlay = 8] = "XrefOverlay", J[J.ExternallyDependent = 16] = "ExternallyDependent", J[J.ResolvedOrDependent = 32] = "ResolvedOrDependent", J[J.ReferencedXref = 64] = "ReferencedXref";
14534
14607
  ($e = {})[$e.BYBLOCK = 0] = "BYBLOCK", $e[$e.BYLAYER = 256] = "BYLAYER";
14535
14608
  (X = {})[X.Rotated = 0] = "Rotated", X[X.Aligned = 1] = "Aligned", X[X.Angular = 2] = "Angular", X[X.Diameter = 3] = "Diameter", X[X.Radius = 4] = "Radius", X[X.Angular3Point = 5] = "Angular3Point", X[X.Ordinate = 6] = "Ordinate", X[X.ReferenceIsExclusive = 32] = "ReferenceIsExclusive", X[X.IsOrdinateXTypeFlag = 64] = "IsOrdinateXTypeFlag", X[X.IsCustomTextPositionFlag = 128] = "IsCustomTextPositionFlag";
@@ -14538,21 +14611,21 @@ var J, $e, X, q, qe, kt, we, Vt, ot, jt, Lt, xe, fe, be, _t, Wt, Ke, Ze, Ie, Pe,
14538
14611
  var jr = ((kt = {})[kt.Center = 0] = "Center", kt[kt.Above = 1] = "Above", kt[kt.Outside = 2] = "Outside", kt[kt.JIS = 3] = "JIS", kt[kt.Below = 4] = "Below", kt);
14539
14612
  (we = {})[we.WithDimension = 0] = "WithDimension", we[we.AddLeader = 1] = "AddLeader", we[we.Independent = 2] = "Independent";
14540
14613
  (Vt = {})[Vt.BothOutside = 0] = "BothOutside", Vt[Vt.ArrowFirst = 1] = "ArrowFirst", Vt[Vt.TextFirst = 2] = "TextFirst", Vt[Vt.Auto = 3] = "Auto";
14541
- var De = ((ot = {})[ot.Feet = 0] = "Feet", ot[ot.None = 1] = "None", ot[ot.Inch = 2] = "Inch", ot[ot.FeetAndInch = 3] = "FeetAndInch", ot[ot.Leading = 4] = "Leading", ot[ot.Trailing = 8] = "Trailing", ot[ot.LeadingAndTrailing = 12] = "LeadingAndTrailing", ot), Dl = ((jt = {})[jt.None = 0] = "None", jt[jt.Leading = 1] = "Leading", jt[jt.Trailing = 2] = "Trailing", jt[jt.LeadingAndTrailing = 3] = "LeadingAndTrailing", jt), Gl = ((Lt = {})[Lt.Center = 0] = "Center", Lt[Lt.First = 1] = "First", Lt[Lt.Second = 2] = "Second", Lt[Lt.OverFirst = 3] = "OverFirst", Lt[Lt.OverSecond = 4] = "OverSecond", Lt), Hl = ((xe = {})[xe.Bottom = 0] = "Bottom", xe[xe.Center = 1] = "Center", xe[xe.Top = 2] = "Top", xe);
14614
+ var De = ((ot = {})[ot.Feet = 0] = "Feet", ot[ot.None = 1] = "None", ot[ot.Inch = 2] = "Inch", ot[ot.FeetAndInch = 3] = "FeetAndInch", ot[ot.Leading = 4] = "Leading", ot[ot.Trailing = 8] = "Trailing", ot[ot.LeadingAndTrailing = 12] = "LeadingAndTrailing", ot), Hl = ((jt = {})[jt.None = 0] = "None", jt[jt.Leading = 1] = "Leading", jt[jt.Trailing = 2] = "Trailing", jt[jt.LeadingAndTrailing = 3] = "LeadingAndTrailing", jt), Ul = ((Lt = {})[Lt.Center = 0] = "Center", Lt[Lt.First = 1] = "First", Lt[Lt.Second = 2] = "Second", Lt[Lt.OverFirst = 3] = "OverFirst", Lt[Lt.OverSecond = 4] = "OverSecond", Lt), Xl = ((xe = {})[xe.Bottom = 0] = "Bottom", xe[xe.Center = 1] = "Center", xe[xe.Top = 2] = "Top", xe);
14542
14615
  (fe = {})[fe.None = 0] = "None", fe[fe.UseDrawingBackground = 1] = "UseDrawingBackground", fe[fe.Custom = 2] = "Custom";
14543
14616
  (be = {})[be.Horizontal = 0] = "Horizontal", be[be.Diagonal = 1] = "Diagonal", be[be.NotStacked = 2] = "NotStacked";
14544
14617
  (_t = {})[_t.Scientific = 1] = "Scientific", _t[_t.Decimal = 2] = "Decimal", _t[_t.Engineering = 3] = "Engineering", _t[_t.Architectural = 4] = "Architectural", _t[_t.Fractional = 5] = "Fractional", _t[_t.WindowDesktop = 6] = "WindowDesktop";
14545
14618
  (Wt = {})[Wt.Decimal = 0] = "Decimal", Wt[Wt.DegreesMinutesSecond = 1] = "DegreesMinutesSecond", Wt[Wt.Gradian = 2] = "Gradian", Wt[Wt.Radian = 3] = "Radian";
14546
- var Ul = ((Ke = {})[Ke.PatternFill = 0] = "PatternFill", Ke[Ke.SolidFill = 1] = "SolidFill", Ke);
14619
+ var Yl = ((Ke = {})[Ke.PatternFill = 0] = "PatternFill", Ke[Ke.SolidFill = 1] = "SolidFill", Ke);
14547
14620
  (Ze = {})[Ze.NonAssociative = 0] = "NonAssociative", Ze[Ze.Associative = 1] = "Associative";
14548
14621
  (Ie = {})[Ie.Normal = 0] = "Normal", Ie[Ie.Outer = 1] = "Outer", Ie[Ie.Ignore = 2] = "Ignore";
14549
14622
  (Pe = {})[Pe.UserDefined = 0] = "UserDefined", Pe[Pe.Predefined = 1] = "Predefined", Pe[Pe.Custom = 2] = "Custom";
14550
14623
  (Qe = {})[Qe.NotAnnotated = 0] = "NotAnnotated", Qe[Qe.Annotated = 1] = "Annotated";
14551
14624
  (Je = {})[Je.Solid = 0] = "Solid", Je[Je.Gradient = 1] = "Gradient";
14552
14625
  (ts = {})[ts.TwoColor = 0] = "TwoColor", ts[ts.OneColor = 1] = "OneColor";
14553
- var Xl = ((wt = {})[wt.Default = 0] = "Default", wt[wt.External = 1] = "External", wt[wt.Polyline = 2] = "Polyline", wt[wt.Derived = 4] = "Derived", wt[wt.Textbox = 8] = "Textbox", wt[wt.Outermost = 16] = "Outermost", wt), js = ((Dt = {})[Dt.Line = 1] = "Line", Dt[Dt.Circular = 2] = "Circular", Dt[Dt.Elliptic = 3] = "Elliptic", Dt[Dt.Spline = 4] = "Spline", Dt), Yl = ((H = {})[H.Off = 0] = "Off", H[H.Solid = 1] = "Solid", H[H.Dashed = 2] = "Dashed", H[H.Dotted = 3] = "Dotted", H[H.ShotDash = 4] = "ShotDash", H[H.MediumDash = 5] = "MediumDash", H[H.LongDash = 6] = "LongDash", H[H.DoubleShortDash = 7] = "DoubleShortDash", H[H.DoubleMediumDash = 8] = "DoubleMediumDash", H[H.DoubleLongDash = 9] = "DoubleLongDash", H[H.DoubleMediumLongDash = 10] = "DoubleMediumLongDash", H[H.SparseDot = 11] = "SparseDot", H);
14554
- Yl.Off;
14555
- (Ee = {})[Ee.Standard = -3] = "Standard", Ee[Ee.ByLayer = -2] = "ByLayer", Ee[Ee.ByBlock = -1] = "ByBlock";
14626
+ var $l = ((wt = {})[wt.Default = 0] = "Default", wt[wt.External = 1] = "External", wt[wt.Polyline = 2] = "Polyline", wt[wt.Derived = 4] = "Derived", wt[wt.Textbox = 8] = "Textbox", wt[wt.Outermost = 16] = "Outermost", wt), js = ((Dt = {})[Dt.Line = 1] = "Line", Dt[Dt.Circular = 2] = "Circular", Dt[Dt.Elliptic = 3] = "Elliptic", Dt[Dt.Spline = 4] = "Spline", Dt), ql = ((H = {})[H.Off = 0] = "Off", H[H.Solid = 1] = "Solid", H[H.Dashed = 2] = "Dashed", H[H.Dotted = 3] = "Dotted", H[H.ShotDash = 4] = "ShotDash", H[H.MediumDash = 5] = "MediumDash", H[H.LongDash = 6] = "LongDash", H[H.DoubleShortDash = 7] = "DoubleShortDash", H[H.DoubleMediumDash = 8] = "DoubleMediumDash", H[H.DoubleLongDash = 9] = "DoubleLongDash", H[H.DoubleMediumLongDash = 10] = "DoubleMediumLongDash", H[H.SparseDot = 11] = "SparseDot", H);
14627
+ ql.Off;
14628
+ (Se = {})[Se.Standard = -3] = "Standard", Se[Se.ByLayer = -2] = "ByLayer", Se[Se.ByBlock = -1] = "ByBlock";
14556
14629
  (es = {})[es.English = 0] = "English", es[es.Metric = 1] = "Metric";
14557
14630
  (L = {})[L.PERSPECTIVE_MODE = 1] = "PERSPECTIVE_MODE", L[L.FRONT_CLIPPING = 2] = "FRONT_CLIPPING", L[L.BACK_CLIPPING = 4] = "BACK_CLIPPING", L[L.UCS_FOLLOW = 8] = "UCS_FOLLOW", L[L.FRONT_CLIP_NOT_AT_EYE = 16] = "FRONT_CLIP_NOT_AT_EYE", L[L.UCS_ICON_VISIBILITY = 32] = "UCS_ICON_VISIBILITY", L[L.UCS_ICON_AT_ORIGIN = 64] = "UCS_ICON_AT_ORIGIN", L[L.FAST_ZOOM = 128] = "FAST_ZOOM", L[L.SNAP_MODE = 256] = "SNAP_MODE", L[L.GRID_MODE = 512] = "GRID_MODE", L[L.ISOMETRIC_SNAP_STYLE = 1024] = "ISOMETRIC_SNAP_STYLE", L[L.HIDE_PLOT_MODE = 2048] = "HIDE_PLOT_MODE", L[L.K_ISO_PAIR_TOP = 4096] = "K_ISO_PAIR_TOP", L[L.K_ISO_PAIR_RIGHT = 8192] = "K_ISO_PAIR_RIGHT", L[L.VIEWPORT_ZOOM_LOCKING = 16384] = "VIEWPORT_ZOOM_LOCKING", L[L.UNUSED = 32768] = "UNUSED", L[L.NON_RECTANGULAR_CLIPPING = 65536] = "NON_RECTANGULAR_CLIPPING", L[L.VIEWPORT_OFF = 131072] = "VIEWPORT_OFF", L[L.GRID_BEYOND_DRAWING_LIMITS = 262144] = "GRID_BEYOND_DRAWING_LIMITS", L[L.ADAPTIVE_GRID_DISPLAY = 524288] = "ADAPTIVE_GRID_DISPLAY", L[L.SUBDIVISION_BELOW_SPACING = 1048576] = "SUBDIVISION_BELOW_SPACING", L[L.GRID_FOLLOWS_WORKPLANE = 2097152] = "GRID_FOLLOWS_WORKPLANE";
14558
14631
  (ht = {})[ht.OPTIMIZED_2D = 0] = "OPTIMIZED_2D", ht[ht.WIREFRAME = 1] = "WIREFRAME", ht[ht.HIDDEN_LINE = 2] = "HIDDEN_LINE", ht[ht.FLAT_SHADED = 3] = "FLAT_SHADED", ht[ht.GOURAUD_SHADED = 4] = "GOURAUD_SHADED", ht[ht.FLAT_SHADED_WITH_WIREFRAME = 5] = "FLAT_SHADED_WITH_WIREFRAME", ht[ht.GOURAUD_SHADED_WITH_WIREFRAME = 6] = "GOURAUD_SHADED_WITH_WIREFRAME";
@@ -14572,7 +14645,7 @@ function de(i) {
14572
14645
  return t.y = e.value, (e = i.next()).code !== s + 20 ? i.rewind() : t.z = e.value, t;
14573
14646
  }
14574
14647
  let Ms = Symbol();
14575
- function E(i, t) {
14648
+ function S(i, t) {
14576
14649
  return (e, s, n) => {
14577
14650
  let r = function(l, c = !1) {
14578
14651
  return l.reduce((u, d) => {
@@ -14603,7 +14676,7 @@ function E(i, t) {
14603
14676
  break;
14604
14677
  }
14605
14678
  if (d) {
14606
- let [x, f] = $l(n, d);
14679
+ let [x, f] = Kl(n, d);
14607
14680
  p && !m ? (Object.prototype.hasOwnProperty.call(x, f) || (x[f] = []), x[f].push(y)) : x[f] = y;
14608
14681
  }
14609
14682
  u.pushContext && (o -= 1), a = !0, e = s.next();
@@ -14611,7 +14684,7 @@ function E(i, t) {
14611
14684
  return t && Object.setPrototypeOf(n, t), a;
14612
14685
  };
14613
14686
  }
14614
- function $l(i, t) {
14687
+ function Kl(i, t) {
14615
14688
  let e = t.split(".");
14616
14689
  if (!e.length) throw Error("[parserGenerator::getObjectByPath] Invalid empty path");
14617
14690
  let s = i;
@@ -14634,15 +14707,15 @@ function _(i, t) {
14634
14707
  function N({ value: i }) {
14635
14708
  return !!i;
14636
14709
  }
14637
- function ql({ value: i }) {
14710
+ function Zl({ value: i }) {
14638
14711
  return i.trim();
14639
14712
  }
14640
- let Kl = [{ code: 281, name: "isEntity", parser: N }, { code: 280, name: "wasProxy", parser: N }, { code: 91, name: "instanceCount", parser: h }, { code: 90, name: "proxyFlag", parser: h }, { code: 3, name: "appName", parser: h }, { code: 2, name: "cppClassName", parser: h }, { code: 1, name: "name", parser: h }], Zl = E(Kl), Ql = [{ code: 0, name: "classes", isMultiple: !0, parser(i, t) {
14713
+ let Ql = [{ code: 281, name: "isEntity", parser: N }, { code: 280, name: "wasProxy", parser: N }, { code: 91, name: "instanceCount", parser: h }, { code: 90, name: "proxyFlag", parser: h }, { code: 3, name: "appName", parser: h }, { code: 2, name: "cppClassName", parser: h }, { code: 1, name: "name", parser: h }], Jl = S(Ql), tc = [{ code: 0, name: "classes", isMultiple: !0, parser(i, t) {
14641
14714
  if (i.value !== "CLASS") return Ms;
14642
14715
  i = t.next();
14643
14716
  let e = {};
14644
- return Zl(i, t, e), e;
14645
- } }], Jl = E(Ql);
14717
+ return Jl(i, t, e), e;
14718
+ } }], ec = S(tc);
14646
14719
  (ns = {})[ns.RayTrace = 0] = "RayTrace", ns[ns.ShadowMap = 1] = "ShadowMap";
14647
14720
  function Rt(i, t, e) {
14648
14721
  for (; O(i, 102); ) {
@@ -14661,8 +14734,8 @@ function Rt(i, t, e) {
14661
14734
  }
14662
14735
  t.rewind();
14663
14736
  }
14664
- let tc = [{ code: 1001, name: "xdata", isMultiple: !0, parser: Ra }], ec = /* @__PURE__ */ new Set([1010, 1011, 1012, 1013]);
14665
- function Ra(i, t) {
14737
+ let sc = [{ code: 1001, name: "xdata", isMultiple: !0, parser: za }], ic = /* @__PURE__ */ new Set([1010, 1011, 1012, 1013]);
14738
+ function za(i, t) {
14666
14739
  var n;
14667
14740
  if (!O(i, 1001)) throw Error("XData must starts with code 1001");
14668
14741
  let e = { appName: i.value, value: [] };
@@ -14674,96 +14747,96 @@ function Ra(i, t) {
14674
14747
  i.value === "{" ? s.push([]) : (s.pop(), (n = s[s.length - 1]) == null || n.push(r)), i = t.next();
14675
14748
  continue;
14676
14749
  }
14677
- ec.has(i.code) ? r.push(de(t)) : r.push(i.value), i = t.next();
14750
+ ic.has(i.code) ? r.push(de(t)) : r.push(i.value), i = t.next();
14678
14751
  }
14679
14752
  return t.rewind(), e;
14680
14753
  }
14681
14754
  (Ht = {})[Ht.CAST_AND_RECEIVE = 0] = "CAST_AND_RECEIVE", Ht[Ht.CAST = 1] = "CAST", Ht[Ht.RECEIVE = 2] = "RECEIVE", Ht[Ht.IGNORE = 3] = "IGNORE";
14682
- let z = [...tc, { code: 284, name: "shadowMode", parser: h }, { code: 390, name: "plotStyleHardId", parser: h }, { code: 380, name: "plotStyleType", parser: h }, { code: 440, name: "transparency", parser: h }, { code: 430, name: "colorName", parser: h }, { code: 420, name: "color", parser: h }, { code: 310, name: "proxyEntity", isMultiple: !0, isReducible: !0, parser: (i, t, e) => (e.proxyEntity ?? "") + i.value }, { code: [92, 160], name: "proxyByte", parser: h }, { code: 60, name: "isVisible", parser: N }, { code: 48, name: "lineTypeScale", parser: h }, { code: 370, name: "lineweight", parser: h }, { code: 62, name: "colorIndex", parser: h }, { code: 347, name: "materialObjectHardId", parser: h }, { code: 6, name: "lineType", parser: h }, { code: 8, name: "layer", parser: h }, { code: 410, name: "layoutTabName", parser: h }, { code: 67, name: "isInPaperSpace", parser: N }, { code: 100 }, { code: 330, name: "ownerBlockRecordSoftId", parser: h }, { code: 102, parser: Rt }, { code: 102, parser: Rt }, { code: 102, parser: Rt }, { code: 5, name: "handle", parser: h }];
14683
- function Ei(i) {
14755
+ let z = [...sc, { code: 284, name: "shadowMode", parser: h }, { code: 390, name: "plotStyleHardId", parser: h }, { code: 380, name: "plotStyleType", parser: h }, { code: 440, name: "transparency", parser: h }, { code: 430, name: "colorName", parser: h }, { code: 420, name: "color", parser: h }, { code: 310, name: "proxyEntity", isMultiple: !0, isReducible: !0, parser: (i, t, e) => (e.proxyEntity ?? "") + i.value }, { code: [92, 160], name: "proxyByte", parser: h }, { code: 60, name: "isVisible", parser: N }, { code: 48, name: "lineTypeScale", parser: h }, { code: 370, name: "lineweight", parser: h }, { code: 62, name: "colorIndex", parser: h }, { code: 347, name: "materialObjectHardId", parser: h }, { code: 6, name: "lineType", parser: h }, { code: 8, name: "layer", parser: h }, { code: 410, name: "layoutTabName", parser: h }, { code: 67, name: "isInPaperSpace", parser: N }, { code: 100 }, { code: 330, name: "ownerBlockRecordSoftId", parser: h }, { code: 102, parser: Rt }, { code: 102, parser: Rt }, { code: 102, parser: Rt }, { code: 5, name: "handle", parser: h }];
14756
+ function Si(i) {
14684
14757
  return [{ code: 3, name: i, parser: (t, e, s) => (s._code3text = (s._code3text ?? "") + t.value, s._code3text + (s._code1text ?? "")), isMultiple: !0, isReducible: !0 }, { code: 1, name: i, parser: (t, e, s) => (s._code1text = t.value, (s._code3text ?? "") + s._code1text) }];
14685
14758
  }
14686
- function za(i, t, e) {
14759
+ function Va(i, t, e) {
14687
14760
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
14688
14761
  }
14689
- let sc = { extrusionDirection: { x: 0, y: 0, z: 1 } }, ic = [{ code: 210, name: "extrusionDirection", parser: _ }, { code: 51, name: "endAngle", parser: h }, { code: 50, name: "startAngle", parser: h }, { code: 100, name: "subclassMarker", parser: h }, { code: 40, name: "radius", parser: h }, { code: 10, name: "center", parser: _ }, { code: 39, name: "thickness", parser: h }, { code: 100 }, ...z];
14690
- class Va {
14762
+ let nc = { extrusionDirection: { x: 0, y: 0, z: 1 } }, rc = [{ code: 210, name: "extrusionDirection", parser: _ }, { code: 51, name: "endAngle", parser: h }, { code: 50, name: "startAngle", parser: h }, { code: 100, name: "subclassMarker", parser: h }, { code: 40, name: "radius", parser: h }, { code: 10, name: "center", parser: _ }, { code: 39, name: "thickness", parser: h }, { code: 100 }, ...z];
14763
+ class ja {
14691
14764
  parseEntity(t, e) {
14692
14765
  let s = {};
14693
14766
  return this.parser(e, t, s), s;
14694
14767
  }
14695
14768
  constructor() {
14696
- za(this, "parser", E(ic, sc));
14769
+ Va(this, "parser", S(rc, nc));
14697
14770
  }
14698
14771
  }
14699
- za(Va, "ForEntityName", "ARC");
14700
- (Se = {})[Se.BeforeText = 0] = "BeforeText", Se[Se.AboveText = 1] = "AboveText", Se[Se.None = 2] = "None";
14701
- let Mn = [{ name: "DIMPOST", code: 3 }, { name: "DIMAPOST", code: 4, defaultValue: "" }, { name: "DIMBLK_OBSOLETE", code: 5 }, { name: "DIMBLK1_OBSOLETE", code: 6 }, { name: "DIMBLK2_OBSOLETE", code: 7 }, { name: "DIMSCALE", code: 40, defaultValue: 1 }, { name: "DIMASZ", code: 41, defaultValue: 0.25 }, { name: "DIMEXO", code: 42, defaultValue: 0.625, defaultValueImperial: 0.0625 }, { name: "DIMDLI", code: 43, defaultValue: 3.75, defaultValueImperial: 0.38 }, { name: "DIMEXE", code: 44, defaultValue: 2.25, defaultValueImperial: 0.28 }, { name: "DIMRND", code: 45, defaultValue: 0 }, { name: "DIMDLE", code: 46, defaultValue: 0 }, { name: "DIMTP", code: 47, defaultValue: 0 }, { name: "DIMTM", code: 48, defaultValue: 0 }, { name: "DIMFXL", code: 49, defaultValue: 1 }, { name: "DIMJOGANG", code: 50, defaultValue: 45 }, { name: "DIMTFILL", code: 69, defaultValue: 0 }, { name: "DIMTFILLCLR", code: 70, defaultValue: 0 }, { name: "DIMTOL", code: 71, defaultValue: 0, defaultValueImperial: 1 }, { name: "DIMLIM", code: 72, defaultValue: 0 }, { name: "DIMTIH", code: 73, defaultValue: 0, defaultValueImperial: 1 }, { name: "DIMTOH", code: 74, defaultValue: 0, defaultValueImperial: 1 }, { name: "DIMSE1", code: 75, defaultValue: 0 }, { name: "DIMSE2", code: 76, defaultValue: 0 }, { name: "DIMTAD", code: 77, defaultValue: jr.Above, defaultValueImperial: jr.Center }, { name: "DIMZIN", code: 78, defaultValue: De.Trailing, defaultValueImperial: De.Feet }, { name: "DIMAZIN", code: 79, defaultValue: Dl.None }, { name: "DIMARCSYM", code: 90, defaultValue: 0 }, { name: "DIMTXT", code: 140, defaultValue: 2.5, defaultValueImperial: 0.28 }, { name: "DIMCEN", code: 141, defaultValue: 2.5, defaultValueImperial: 0.09 }, { name: "DIMTSZ", code: 142, defaultValue: 0 }, { name: "DIMALTF", code: 143, defaultValue: 25.4 }, { name: "DIMLFAC", code: 144, defaultValue: 1 }, { name: "DIMTVP", code: 145, defaultValue: 0 }, { name: "DIMTFAC", code: 146, defaultValue: 1 }, { name: "DIMGAP", code: 147, defaultValue: 0.625, defaultValueImperial: 0.09 }, { name: "DIMALTRND", code: 148, defaultValue: 0 }, { name: "DIMALT", code: 170, defaultValue: 0 }, { name: "DIMALTD", code: 171, defaultValue: 3, defaultValueImperial: 2 }, { name: "DIMTOFL", code: 172, defaultValue: 1, defaultValueImperial: 0 }, { name: "DIMSAH", code: 173, defaultValue: 0 }, { name: "DIMTIX", code: 174, defaultValue: 0 }, { name: "DIMSOXD", code: 175, defaultValue: 0 }, { name: "DIMCLRD", code: 176, defaultValue: 0 }, { name: "DIMCLRE", code: 177, defaultValue: 0 }, { name: "DIMCLRT", code: 178, defaultValue: 0 }, { name: "DIMADEC", code: 179, defaultValue: 0 }, { name: "DIMUNIT", code: 270 }, { name: "DIMDEC", code: 271, defaultValue: 2, defaultValueImperial: 4 }, { name: "DIMTDEC", code: 272, defaultValue: 2, defaultValueImperial: 4 }, { name: "DIMALTU", code: 273, defaultValue: 2 }, { name: "DIMALTTD", code: 274, defaultValue: 3, defaultValueImperial: 2 }, { name: "DIMAUNIT", code: 275, defaultValue: 0 }, { name: "DIMFRAC", code: 276, defaultValue: 0 }, { name: "DIMLUNIT", code: 277, defaultValue: 2 }, { name: "DIMDSEP", code: 278, defaultValue: 44, defaultValueImperial: 46 }, { name: "DIMTMOVE", code: 279, defaultValue: 0 }, { name: "DIMJUST", code: 280, defaultValue: Gl.Center }, { name: "DIMSD1", code: 281, defaultValue: 0 }, { name: "DIMSD2", code: 282, defaultValue: 0 }, { name: "DIMTOLJ", code: 283, defaultValue: Hl.Center }, { name: "DIMTZIN", code: 284, defaultValue: De.Trailing, defaultValueImperial: De.Feet }, { name: "DIMALTZ", code: 285, defaultValue: De.Trailing }, { name: "DIMALTTZ", code: 286, defaultValue: De.Trailing }, { name: "DIMFIT", code: 287 }, { name: "DIMUPT", code: 288, defaultValue: 0 }, { name: "DIMATFIT", code: 289, defaultValue: 3 }, { name: "DIMFXLON", code: 290, defaultValue: 0 }, { name: "DIMTXTDIRECTION", code: 294, defaultValue: 0 }, { name: "DIMTXSTY", code: 340, defaultValue: "Standard" }, { name: "DIMLDRBLK", code: 341, defaultValue: "" }, { name: "DIMBLK", code: 342, defaultValue: "" }, { name: "DIMBLK1", code: 343, defaultValue: "" }, { name: "DIMBLK2", code: 344, defaultValue: "" }, { name: "DIMLTYPE", code: 345, defaultValue: "" }, { name: "DIMLTEX1", code: 346, defaultValue: "" }, { name: "DIMLTEX2", code: 347, defaultValue: "" }, { name: "DIMLWD", code: 371, defaultValue: -2 }, { name: "DIMLWE", code: 372, defaultValue: -2 }], ja = [{ code: 3, name: "styleName", parser: h }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 51, name: "ocsRotation", parser: h }, { code: 53, name: "textRotation", parser: h }, { code: 1, name: "text", parser: h }, { code: 42, name: "measurement", parser: h }, { code: 72, name: "textLineSpacingStyle", parser: h }, { code: 71, name: "attachmentPoint", parser: h }, { code: 70, name: "dimensionType", parser: h }, { code: 11, name: "textPoint", parser: _ }, { code: 10, name: "definitionPoint", parser: _ }, { code: 2, name: "name", parser: h }, { code: 280, name: "version", parser: h }, { code: 100 }], nc = [{ code: 100 }, { code: 52, name: "obliqueAngle", parser: h }, { code: 50, name: "rotationAngle", parser: h }, { code: 14, name: "subDefinitionPoint2", parser: _ }, { code: 13, name: "subDefinitionPoint1", parser: _ }, { code: 12, name: "insertionPoint", parser: _ }, { code: 100, name: "subclassMarker", parser: h }], rc = [{ code: 16, name: "arcPoint", parser: _ }, { code: 15, name: "centerPoint", parser: _ }, { code: 14, name: "subDefinitionPoint2", parser: _ }, { code: 13, name: "subDefinitionPoint1", parser: _ }, { code: 100, name: "subclassMarker", parser: h }], ac = [{ code: 14, name: "subDefinitionPoint2", parser: _ }, { code: 13, name: "subDefinitionPoint1", parser: _ }, { code: 100, name: "subclassMarker", parser: h }], oc = [{ code: 40, name: "leaderLength", parser: h }, { code: 15, name: "subDefinitionPoint", parser: _ }, { code: 100, name: "subclassMarker", parser: h }], hc = [{ code: 100, parser(i, t, e) {
14772
+ Va(ja, "ForEntityName", "ARC");
14773
+ (Ee = {})[Ee.BeforeText = 0] = "BeforeText", Ee[Ee.AboveText = 1] = "AboveText", Ee[Ee.None = 2] = "None";
14774
+ let Mn = [{ name: "DIMPOST", code: 3 }, { name: "DIMAPOST", code: 4, defaultValue: "" }, { name: "DIMBLK_OBSOLETE", code: 5 }, { name: "DIMBLK1_OBSOLETE", code: 6 }, { name: "DIMBLK2_OBSOLETE", code: 7 }, { name: "DIMSCALE", code: 40, defaultValue: 1 }, { name: "DIMASZ", code: 41, defaultValue: 0.25 }, { name: "DIMEXO", code: 42, defaultValue: 0.625, defaultValueImperial: 0.0625 }, { name: "DIMDLI", code: 43, defaultValue: 3.75, defaultValueImperial: 0.38 }, { name: "DIMEXE", code: 44, defaultValue: 2.25, defaultValueImperial: 0.28 }, { name: "DIMRND", code: 45, defaultValue: 0 }, { name: "DIMDLE", code: 46, defaultValue: 0 }, { name: "DIMTP", code: 47, defaultValue: 0 }, { name: "DIMTM", code: 48, defaultValue: 0 }, { name: "DIMFXL", code: 49, defaultValue: 1 }, { name: "DIMJOGANG", code: 50, defaultValue: 45 }, { name: "DIMTFILL", code: 69, defaultValue: 0 }, { name: "DIMTFILLCLR", code: 70, defaultValue: 0 }, { name: "DIMTOL", code: 71, defaultValue: 0, defaultValueImperial: 1 }, { name: "DIMLIM", code: 72, defaultValue: 0 }, { name: "DIMTIH", code: 73, defaultValue: 0, defaultValueImperial: 1 }, { name: "DIMTOH", code: 74, defaultValue: 0, defaultValueImperial: 1 }, { name: "DIMSE1", code: 75, defaultValue: 0 }, { name: "DIMSE2", code: 76, defaultValue: 0 }, { name: "DIMTAD", code: 77, defaultValue: jr.Above, defaultValueImperial: jr.Center }, { name: "DIMZIN", code: 78, defaultValue: De.Trailing, defaultValueImperial: De.Feet }, { name: "DIMAZIN", code: 79, defaultValue: Hl.None }, { name: "DIMARCSYM", code: 90, defaultValue: 0 }, { name: "DIMTXT", code: 140, defaultValue: 2.5, defaultValueImperial: 0.28 }, { name: "DIMCEN", code: 141, defaultValue: 2.5, defaultValueImperial: 0.09 }, { name: "DIMTSZ", code: 142, defaultValue: 0 }, { name: "DIMALTF", code: 143, defaultValue: 25.4 }, { name: "DIMLFAC", code: 144, defaultValue: 1 }, { name: "DIMTVP", code: 145, defaultValue: 0 }, { name: "DIMTFAC", code: 146, defaultValue: 1 }, { name: "DIMGAP", code: 147, defaultValue: 0.625, defaultValueImperial: 0.09 }, { name: "DIMALTRND", code: 148, defaultValue: 0 }, { name: "DIMALT", code: 170, defaultValue: 0 }, { name: "DIMALTD", code: 171, defaultValue: 3, defaultValueImperial: 2 }, { name: "DIMTOFL", code: 172, defaultValue: 1, defaultValueImperial: 0 }, { name: "DIMSAH", code: 173, defaultValue: 0 }, { name: "DIMTIX", code: 174, defaultValue: 0 }, { name: "DIMSOXD", code: 175, defaultValue: 0 }, { name: "DIMCLRD", code: 176, defaultValue: 0 }, { name: "DIMCLRE", code: 177, defaultValue: 0 }, { name: "DIMCLRT", code: 178, defaultValue: 0 }, { name: "DIMADEC", code: 179, defaultValue: 0 }, { name: "DIMUNIT", code: 270 }, { name: "DIMDEC", code: 271, defaultValue: 2, defaultValueImperial: 4 }, { name: "DIMTDEC", code: 272, defaultValue: 2, defaultValueImperial: 4 }, { name: "DIMALTU", code: 273, defaultValue: 2 }, { name: "DIMALTTD", code: 274, defaultValue: 3, defaultValueImperial: 2 }, { name: "DIMAUNIT", code: 275, defaultValue: 0 }, { name: "DIMFRAC", code: 276, defaultValue: 0 }, { name: "DIMLUNIT", code: 277, defaultValue: 2 }, { name: "DIMDSEP", code: 278, defaultValue: 44, defaultValueImperial: 46 }, { name: "DIMTMOVE", code: 279, defaultValue: 0 }, { name: "DIMJUST", code: 280, defaultValue: Ul.Center }, { name: "DIMSD1", code: 281, defaultValue: 0 }, { name: "DIMSD2", code: 282, defaultValue: 0 }, { name: "DIMTOLJ", code: 283, defaultValue: Xl.Center }, { name: "DIMTZIN", code: 284, defaultValue: De.Trailing, defaultValueImperial: De.Feet }, { name: "DIMALTZ", code: 285, defaultValue: De.Trailing }, { name: "DIMALTTZ", code: 286, defaultValue: De.Trailing }, { name: "DIMFIT", code: 287 }, { name: "DIMUPT", code: 288, defaultValue: 0 }, { name: "DIMATFIT", code: 289, defaultValue: 3 }, { name: "DIMFXLON", code: 290, defaultValue: 0 }, { name: "DIMTXTDIRECTION", code: 294, defaultValue: 0 }, { name: "DIMTXSTY", code: 340, defaultValue: "Standard" }, { name: "DIMLDRBLK", code: 341, defaultValue: "" }, { name: "DIMBLK", code: 342, defaultValue: "" }, { name: "DIMBLK1", code: 343, defaultValue: "" }, { name: "DIMBLK2", code: 344, defaultValue: "" }, { name: "DIMLTYPE", code: 345, defaultValue: "" }, { name: "DIMLTEX1", code: 346, defaultValue: "" }, { name: "DIMLTEX2", code: 347, defaultValue: "" }, { name: "DIMLWD", code: 371, defaultValue: -2 }, { name: "DIMLWE", code: 372, defaultValue: -2 }], Wa = [{ code: 3, name: "styleName", parser: h }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 51, name: "ocsRotation", parser: h }, { code: 53, name: "textRotation", parser: h }, { code: 1, name: "text", parser: h }, { code: 42, name: "measurement", parser: h }, { code: 72, name: "textLineSpacingStyle", parser: h }, { code: 71, name: "attachmentPoint", parser: h }, { code: 70, name: "dimensionType", parser: h }, { code: 11, name: "textPoint", parser: _ }, { code: 10, name: "definitionPoint", parser: _ }, { code: 2, name: "name", parser: h }, { code: 280, name: "version", parser: h }, { code: 100 }], ac = [{ code: 100 }, { code: 52, name: "obliqueAngle", parser: h }, { code: 50, name: "rotationAngle", parser: h }, { code: 14, name: "subDefinitionPoint2", parser: _ }, { code: 13, name: "subDefinitionPoint1", parser: _ }, { code: 12, name: "insertionPoint", parser: _ }, { code: 100, name: "subclassMarker", parser: h }], oc = [{ code: 16, name: "arcPoint", parser: _ }, { code: 15, name: "centerPoint", parser: _ }, { code: 14, name: "subDefinitionPoint2", parser: _ }, { code: 13, name: "subDefinitionPoint1", parser: _ }, { code: 100, name: "subclassMarker", parser: h }], hc = [{ code: 14, name: "subDefinitionPoint2", parser: _ }, { code: 13, name: "subDefinitionPoint1", parser: _ }, { code: 100, name: "subclassMarker", parser: h }], lc = [{ code: 40, name: "leaderLength", parser: h }, { code: 15, name: "subDefinitionPoint", parser: _ }, { code: 100, name: "subclassMarker", parser: h }], cc = [{ code: 100, parser(i, t, e) {
14702
14775
  let s = function(n) {
14703
14776
  switch (n) {
14704
14777
  case "AcDbAlignedDimension":
14705
- return E(nc);
14778
+ return S(ac);
14706
14779
  case "AcDb3PointAngularDimension":
14707
14780
  case "AcDb2LineAngularDimension":
14708
- return E(rc);
14781
+ return S(oc);
14709
14782
  case "AcDbOrdinateDimension":
14710
- return E(ac);
14783
+ return S(hc);
14711
14784
  case "AcDbRadialDimension":
14712
14785
  case "AcDbDiametricDimension":
14713
- return E(oc);
14786
+ return S(lc);
14714
14787
  }
14715
14788
  return null;
14716
14789
  }(i.value);
14717
14790
  if (!s) return Ms;
14718
14791
  s(i, t, e);
14719
- }, pushContext: !0 }, ...Mn.map((i) => ({ ...i, parser: h })), ...ja, ...z];
14792
+ }, pushContext: !0 }, ...Mn.map((i) => ({ ...i, parser: h })), ...Wa, ...z];
14720
14793
  class Zs {
14721
14794
  parseEntity(t, e) {
14722
14795
  let s = {};
14723
- return E(hc)(e, t, s), s;
14796
+ return S(cc)(e, t, s), s;
14724
14797
  }
14725
14798
  }
14726
14799
  (Ci = "ForEntityName") in Zs ? Object.defineProperty(Zs, Ci, { value: "DIMENSION", enumerable: !0, configurable: !0, writable: !0 }) : Zs[Ci] = "DIMENSION";
14727
- let lc = [{ code: 73 }, { code: 17, name: "leaderEnd", parser: _ }, { code: 16, name: "leaderStart", parser: _ }, { code: 71, name: "hasLeader", parser: N }, { code: 41, name: "endAngle", parser: h }, { code: 40, name: "startAngle", parser: h }, { code: 70, name: "isPartial", parser: N }, { code: 15, name: "centerPoint", parser: _ }, { code: 14, name: "xline2Point", parser: _ }, { code: 13, name: "xline1Point", parser: _ }, { code: 100, name: "subclassMarker", parser: h, pushContext: !0 }, ...Mn.map((i) => ({ ...i, parser: h })), ...ja, ...z];
14800
+ let dc = [{ code: 73 }, { code: 17, name: "leaderEnd", parser: _ }, { code: 16, name: "leaderStart", parser: _ }, { code: 71, name: "hasLeader", parser: N }, { code: 41, name: "endAngle", parser: h }, { code: 40, name: "startAngle", parser: h }, { code: 70, name: "isPartial", parser: N }, { code: 15, name: "centerPoint", parser: _ }, { code: 14, name: "xline2Point", parser: _ }, { code: 13, name: "xline1Point", parser: _ }, { code: 100, name: "subclassMarker", parser: h, pushContext: !0 }, ...Mn.map((i) => ({ ...i, parser: h })), ...Wa, ...z];
14728
14801
  class Qs {
14729
14802
  parseEntity(t, e) {
14730
14803
  let s = {};
14731
- return E(lc)(e, t, s), s;
14804
+ return S(dc)(e, t, s), s;
14732
14805
  }
14733
14806
  }
14734
14807
  (Bi = "ForEntityName") in Qs ? Object.defineProperty(Qs, Bi, { value: "ARC_DIMENSION", enumerable: !0, configurable: !0, writable: !0 }) : Qs[Bi] = "ARC_DIMENSION";
14735
14808
  (Nt = {})[Nt.NONE = 0] = "NONE", Nt[Nt.INVISIBLE = 1] = "INVISIBLE", Nt[Nt.CONSTANT = 2] = "CONSTANT", Nt[Nt.VERIFICATION_REQUIRED = 4] = "VERIFICATION_REQUIRED", Nt[Nt.PRESET = 8] = "PRESET";
14736
14809
  (rs = {})[rs.MULTILINE = 2] = "MULTILINE", rs[rs.CONSTANT_MULTILINE = 4] = "CONSTANT_MULTILINE";
14737
14810
  (Me = {})[Me.NONE = 0] = "NONE", Me[Me.MIRRORED_X = 2] = "MIRRORED_X", Me[Me.MIRRORED_Y = 4] = "MIRRORED_Y";
14738
- var cc = ((xt = {})[xt.LEFT = 0] = "LEFT", xt[xt.CENTER = 1] = "CENTER", xt[xt.RIGHT = 2] = "RIGHT", xt[xt.ALIGNED = 3] = "ALIGNED", xt[xt.MIDDLE = 4] = "MIDDLE", xt[xt.FIT = 5] = "FIT", xt), dc = ((Ut = {})[Ut.BASELINE = 0] = "BASELINE", Ut[Ut.BOTTOM = 1] = "BOTTOM", Ut[Ut.MIDDLE = 2] = "MIDDLE", Ut[Ut.TOP = 3] = "TOP", Ut);
14739
- function Wa(i, t, e) {
14811
+ var uc = ((xt = {})[xt.LEFT = 0] = "LEFT", xt[xt.CENTER = 1] = "CENTER", xt[xt.RIGHT = 2] = "RIGHT", xt[xt.ALIGNED = 3] = "ALIGNED", xt[xt.MIDDLE = 4] = "MIDDLE", xt[xt.FIT = 5] = "FIT", xt), pc = ((Ut = {})[Ut.BASELINE = 0] = "BASELINE", Ut[Ut.BOTTOM = 1] = "BOTTOM", Ut[Ut.MIDDLE = 2] = "MIDDLE", Ut[Ut.TOP = 3] = "TOP", Ut);
14812
+ function Da(i, t, e) {
14740
14813
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
14741
14814
  }
14742
- let Da = { thickness: 0, rotation: 0, xScale: 1, obliqueAngle: 0, styleName: "STANDARD", generationFlag: 0, halign: cc.LEFT, valign: dc.BASELINE, extrusionDirection: { x: 0, y: 0, z: 1 } }, Ga = [{ code: 73, name: "valign", parser: h }, { code: 100 }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 11, name: "endPoint", parser: _ }, { code: 72, name: "valign", parser: h }, { code: 72, name: "halign", parser: h }, { code: 71, name: "generationFlag", parser: h }, { code: 7, name: "styleName", parser: h }, { code: 51, name: "obliqueAngle", parser: h }, { code: 41, name: "xScale", parser: h }, { code: 50, name: "rotation", parser: h }, { code: 1, name: "text", parser: h }, { code: 40, name: "textHeight", parser: h }, { code: 10, name: "startPoint", parser: _ }, { code: 39, name: "thickness", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
14743
- class Ha {
14815
+ let Ga = { thickness: 0, rotation: 0, xScale: 1, obliqueAngle: 0, styleName: "STANDARD", generationFlag: 0, halign: uc.LEFT, valign: pc.BASELINE, extrusionDirection: { x: 0, y: 0, z: 1 } }, Ha = [{ code: 73, name: "valign", parser: h }, { code: 100 }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 11, name: "endPoint", parser: _ }, { code: 72, name: "valign", parser: h }, { code: 72, name: "halign", parser: h }, { code: 71, name: "generationFlag", parser: h }, { code: 7, name: "styleName", parser: h }, { code: 51, name: "obliqueAngle", parser: h }, { code: 41, name: "xScale", parser: h }, { code: 50, name: "rotation", parser: h }, { code: 1, name: "text", parser: h }, { code: 40, name: "textHeight", parser: h }, { code: 10, name: "startPoint", parser: _ }, { code: 39, name: "thickness", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
14816
+ class Ua {
14744
14817
  parseEntity(t, e) {
14745
14818
  let s = {};
14746
14819
  return this.parser(e, t, s), s;
14747
14820
  }
14748
14821
  constructor() {
14749
- Wa(this, "parser", E(Ga, Da));
14822
+ Da(this, "parser", S(Ha, Ga));
14750
14823
  }
14751
14824
  }
14752
- function Ua(i, t, e) {
14825
+ function Xa(i, t, e) {
14753
14826
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
14754
14827
  }
14755
- Wa(Ha, "ForEntityName", "TEXT");
14756
- let uc = { ...Da }, pc = [{ code: 2 }, { code: 40, name: "annotationScale", parser: h }, { code: 10, name: "alignmentPoint", parser: _ }, { code: 340, name: "secondaryAttributesHardIds", isMultiple: !0, parser: h }, { code: 70, name: "numberOfSecondaryAttributes", parser: h }, { code: 70, name: "isReallyLocked", parser: N }, { code: 70, name: "mtextFlag", parser: h }, { code: 280, name: "isDuplicatedRecord", parser: N }, { code: 100 }, { code: 280, name: "isLocked", parser: N }, { code: 74, name: "valign", parser: h }, { code: 73 }, { code: 70, name: "attributeFlag", parser: h }, { code: 2, name: "tag", parser: h }, { code: 3, name: "prompt", parser: h }, { code: 280 }, { code: 100, name: "subclassMarker", parser: h }, ...Ga.slice(2)];
14757
- class Xa {
14828
+ Da(Ua, "ForEntityName", "TEXT");
14829
+ let gc = { ...Ga }, mc = [{ code: 2 }, { code: 40, name: "annotationScale", parser: h }, { code: 10, name: "alignmentPoint", parser: _ }, { code: 340, name: "secondaryAttributesHardIds", isMultiple: !0, parser: h }, { code: 70, name: "numberOfSecondaryAttributes", parser: h }, { code: 70, name: "isReallyLocked", parser: N }, { code: 70, name: "mtextFlag", parser: h }, { code: 280, name: "isDuplicatedRecord", parser: N }, { code: 100 }, { code: 280, name: "isLocked", parser: N }, { code: 74, name: "valign", parser: h }, { code: 73 }, { code: 70, name: "attributeFlag", parser: h }, { code: 2, name: "tag", parser: h }, { code: 3, name: "prompt", parser: h }, { code: 280 }, { code: 100, name: "subclassMarker", parser: h }, ...Ha.slice(2)];
14830
+ class Ya {
14758
14831
  parseEntity(t, e) {
14759
14832
  let s = {};
14760
14833
  return this.parser(e, t, s), s;
14761
14834
  }
14762
14835
  constructor() {
14763
- Ua(this, "parser", E(pc, uc));
14836
+ Xa(this, "parser", S(mc, gc));
14764
14837
  }
14765
14838
  }
14766
- function gc(i, t) {
14839
+ function yc(i, t) {
14767
14840
  let e = {};
14768
14841
  for (let s of i) {
14769
14842
  let n = t(s);
@@ -14777,12 +14850,12 @@ function* gi(i, t = 1 / 0, e = 1) {
14777
14850
  function Wr(i) {
14778
14851
  return { x: i.x ?? 0, y: i.y ?? 0, z: i.z ?? 0 };
14779
14852
  }
14780
- Ua(Xa, "ForEntityName", "ATTDEF");
14781
- var mc = [0, 16711680, 16776960, 65280, 65535, 255, 16711935, 16777215, 8421504, 12632256, 16711680, 16744319, 13369344, 13395558, 10027008, 10046540, 8323072, 8339263, 4980736, 4990502, 16727808, 16752511, 13382400, 13401958, 10036736, 10051404, 8331008, 8343359, 4985600, 4992806, 16744192, 16760703, 13395456, 13408614, 10046464, 10056268, 8339200, 8347455, 4990464, 4995366, 16760576, 16768895, 13408512, 13415014, 10056192, 10061132, 8347392, 8351551, 4995328, 4997670, 16776960, 16777087, 13421568, 13421670, 10000384, 10000460, 8355584, 8355647, 5000192, 5000230, 12582656, 14679935, 10079232, 11717734, 7510016, 8755276, 6258432, 7307071, 3755008, 4344870, 8388352, 12582783, 6736896, 10079334, 5019648, 7510092, 4161280, 6258495, 2509824, 3755046, 4194048, 10485631, 3394560, 8375398, 2529280, 6264908, 2064128, 5209919, 1264640, 3099686, 65280, 8388479, 52224, 6736998, 38912, 5019724, 32512, 4161343, 19456, 2509862, 65343, 8388511, 52275, 6737023, 38950, 5019743, 32543, 4161359, 19475, 2509871, 65407, 8388543, 52326, 6737049, 38988, 5019762, 32575, 4161375, 19494, 2509881, 65471, 8388575, 52377, 6737074, 39026, 5019781, 32607, 4161391, 19513, 2509890, 65535, 8388607, 52428, 6737100, 39064, 5019800, 32639, 4161407, 19532, 2509900, 49151, 8380415, 39372, 6730444, 29336, 5014936, 24447, 4157311, 14668, 2507340, 32767, 8372223, 26316, 6724044, 19608, 5010072, 16255, 4153215, 9804, 2505036, 16383, 8364031, 13260, 6717388, 9880, 5005208, 8063, 4149119, 4940, 2502476, 255, 8355839, 204, 6710988, 152, 5000344, 127, 4145023, 76, 2500172, 4129023, 10452991, 3342540, 8349388, 2490520, 6245528, 2031743, 5193599, 1245260, 3089996, 8323327, 12550143, 6684876, 10053324, 4980888, 7490712, 4128895, 6242175, 2490444, 3745356, 12517631, 14647295, 10027212, 11691724, 7471256, 8735896, 6226047, 7290751, 3735628, 4335180, 16711935, 16744447, 13369548, 13395660, 9961624, 9981080, 8323199, 8339327, 4980812, 4990540, 16711871, 16744415, 13369497, 13395634, 9961586, 9981061, 8323167, 8339311, 4980793, 4990530, 16711807, 16744383, 13369446, 13395609, 9961548, 9981042, 8323135, 8339295, 4980774, 4990521, 16711743, 16744351, 13369395, 13395583, 9961510, 9981023, 8323103, 8339279, 4980755, 4990511, 3355443, 5987163, 8684676, 11382189, 14079702, 16777215];
14782
- function yc(i) {
14783
- return mc[i];
14853
+ Xa(Ya, "ForEntityName", "ATTDEF");
14854
+ var _c = [0, 16711680, 16776960, 65280, 65535, 255, 16711935, 16777215, 8421504, 12632256, 16711680, 16744319, 13369344, 13395558, 10027008, 10046540, 8323072, 8339263, 4980736, 4990502, 16727808, 16752511, 13382400, 13401958, 10036736, 10051404, 8331008, 8343359, 4985600, 4992806, 16744192, 16760703, 13395456, 13408614, 10046464, 10056268, 8339200, 8347455, 4990464, 4995366, 16760576, 16768895, 13408512, 13415014, 10056192, 10061132, 8347392, 8351551, 4995328, 4997670, 16776960, 16777087, 13421568, 13421670, 10000384, 10000460, 8355584, 8355647, 5000192, 5000230, 12582656, 14679935, 10079232, 11717734, 7510016, 8755276, 6258432, 7307071, 3755008, 4344870, 8388352, 12582783, 6736896, 10079334, 5019648, 7510092, 4161280, 6258495, 2509824, 3755046, 4194048, 10485631, 3394560, 8375398, 2529280, 6264908, 2064128, 5209919, 1264640, 3099686, 65280, 8388479, 52224, 6736998, 38912, 5019724, 32512, 4161343, 19456, 2509862, 65343, 8388511, 52275, 6737023, 38950, 5019743, 32543, 4161359, 19475, 2509871, 65407, 8388543, 52326, 6737049, 38988, 5019762, 32575, 4161375, 19494, 2509881, 65471, 8388575, 52377, 6737074, 39026, 5019781, 32607, 4161391, 19513, 2509890, 65535, 8388607, 52428, 6737100, 39064, 5019800, 32639, 4161407, 19532, 2509900, 49151, 8380415, 39372, 6730444, 29336, 5014936, 24447, 4157311, 14668, 2507340, 32767, 8372223, 26316, 6724044, 19608, 5010072, 16255, 4153215, 9804, 2505036, 16383, 8364031, 13260, 6717388, 9880, 5005208, 8063, 4149119, 4940, 2502476, 255, 8355839, 204, 6710988, 152, 5000344, 127, 4145023, 76, 2500172, 4129023, 10452991, 3342540, 8349388, 2490520, 6245528, 2031743, 5193599, 1245260, 3089996, 8323327, 12550143, 6684876, 10053324, 4980888, 7490712, 4128895, 6242175, 2490444, 3745356, 12517631, 14647295, 10027212, 11691724, 7471256, 8735896, 6226047, 7290751, 3735628, 4335180, 16711935, 16744447, 13369548, 13395660, 9961624, 9981080, 8323199, 8339327, 4980812, 4990540, 16711871, 16744415, 13369497, 13395634, 9961586, 9981061, 8323167, 8339311, 4980793, 4990530, 16711807, 16744383, 13369446, 13395609, 9961548, 9981042, 8323135, 8339295, 4980774, 4990521, 16711743, 16744351, 13369395, 13395583, 9961510, 9981023, 8323103, 8339279, 4980755, 4990511, 3355443, 5987163, 8684676, 11382189, 14079702, 16777215];
14855
+ function wc(i) {
14856
+ return _c[i];
14784
14857
  }
14785
- function _c(i) {
14858
+ function xc(i) {
14786
14859
  i.rewind();
14787
14860
  let t = i.next();
14788
14861
  if (t.code !== 101) throw Error("Bad call for skipEmbeddedObject()");
@@ -14791,7 +14864,7 @@ function _c(i) {
14791
14864
  while (t.code !== 0);
14792
14865
  i.rewind();
14793
14866
  }
14794
- function wc(i, t, e) {
14867
+ function fc(i, t, e) {
14795
14868
  if (O(t, 102)) return Rt(t, e, i), !0;
14796
14869
  switch (t.code) {
14797
14870
  case 0:
@@ -14816,7 +14889,7 @@ function wc(i, t, e) {
14816
14889
  i.materialObjectHardId = t.value;
14817
14890
  break;
14818
14891
  case 62:
14819
- i.colorIndex = t.value, i.color = yc(Math.abs(t.value));
14892
+ i.colorIndex = t.value, i.color = wc(Math.abs(t.value));
14820
14893
  break;
14821
14894
  case 370:
14822
14895
  i.lineweight = t.value;
@@ -14848,232 +14921,244 @@ function wc(i, t, e) {
14848
14921
  i.shadowMode = t.value;
14849
14922
  break;
14850
14923
  case 1001:
14851
- (i.xdata ?? (i.xdata = [])).push(Ra(t, e));
14924
+ (i.xdata ?? (i.xdata = [])).push(za(t, e));
14852
14925
  break;
14853
14926
  default:
14854
14927
  return !1;
14855
14928
  }
14856
14929
  return !0;
14857
14930
  }
14858
- function Ya(i, t, e) {
14931
+ function $a(i, t, e) {
14859
14932
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
14860
14933
  }
14861
- let xc = { textStyle: "STANDARD", extrusionDirection: { x: 0, y: 0, z: 1 }, rotation: 0 }, Js = [{ code: 46, name: "annotationHeight", parser: h }, { code: 101, parser(i, t) {
14862
- _c(t);
14863
- } }, { code: 50, name: "columnHeight", parser: h }, { code: 49, name: "columnGutter", parser: h }, { code: 48, name: "columnWidth", parser: h }, { code: 79, name: "columnAutoHeight", parser: h }, { code: 78, name: "columnFlowReversed", parser: h }, { code: 76, name: "columnCount", parser: h }, { code: 75, name: "columnType", parser: h }, { code: 441, name: "backgroundFillTransparency", parser: h }, { code: 63, name: "backgroundFillColor", parser: h }, { code: 45, name: "fillBoxScale", parser: h }, { code: [...gi(430, 440)], name: "backgroundColor", parser: h }, { code: [...gi(420, 430)], name: "backgroundColor", parser: h }, { code: 90, name: "backgroundFill", parser: h }, { code: 44, name: "lineSpacing", parser: h }, { code: 73, name: "lineSpacingStyle", parser: h }, { code: 50, name: "rotation", parser: h }, { code: 43 }, { code: 42 }, { code: 11, name: "direction", parser: _ }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 7, name: "styleName", parser: h }, ...Ei("text"), { code: 72, name: "drawingDirection", parser: h }, { code: 71, name: "attachmentPoint", parser: h }, { code: 41, name: "width", parser: h }, { code: 40, name: "height", parser: h }, { code: 10, name: "insertionPoint", parser: _ }, { code: 100, name: "subclassMarker", parser: h }, ...z];
14864
- class $a {
14934
+ let bc = { textStyle: "STANDARD", extrusionDirection: { x: 0, y: 0, z: 1 }, rotation: 0 }, Js = [{ code: 46, name: "annotationHeight", parser: h }, { code: 101, parser(i, t) {
14935
+ xc(t);
14936
+ } }, { code: 50, name: "columnHeight", parser: h }, { code: 49, name: "columnGutter", parser: h }, { code: 48, name: "columnWidth", parser: h }, { code: 79, name: "columnAutoHeight", parser: h }, { code: 78, name: "columnFlowReversed", parser: h }, { code: 76, name: "columnCount", parser: h }, { code: 75, name: "columnType", parser: h }, { code: 441, name: "backgroundFillTransparency", parser: h }, { code: 63, name: "backgroundFillColor", parser: h }, { code: 45, name: "fillBoxScale", parser: h }, { code: [...gi(430, 440)], name: "backgroundColor", parser: h }, { code: [...gi(420, 430)], name: "backgroundColor", parser: h }, { code: 90, name: "backgroundFill", parser: h }, { code: 44, name: "lineSpacing", parser: h }, { code: 73, name: "lineSpacingStyle", parser: h }, { code: 50, name: "rotation", parser: h }, { code: 43 }, { code: 42 }, { code: 11, name: "direction", parser: _ }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 7, name: "styleName", parser: h }, ...Si("text"), { code: 72, name: "drawingDirection", parser: h }, { code: 71, name: "attachmentPoint", parser: h }, { code: 41, name: "width", parser: h }, { code: 40, name: "height", parser: h }, { code: 10, name: "insertionPoint", parser: _ }, { code: 100, name: "subclassMarker", parser: h }, ...z];
14937
+ class qa {
14865
14938
  parseEntity(t, e) {
14866
14939
  let s = {};
14867
14940
  return this.parser(e, t, s), s;
14868
14941
  }
14869
14942
  constructor() {
14870
- Ya(this, "parser", E(Js, xc));
14943
+ $a(this, "parser", S(Js, bc));
14871
14944
  }
14872
14945
  }
14873
- function qa(i, t, e) {
14946
+ function Ka(i, t, e) {
14874
14947
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
14875
14948
  }
14876
- Ya($a, "ForEntityName", "MTEXT");
14877
- let fc = { thickness: 0, rotation: 0, scale: 1, obliqueAngle: 0, textStyle: "STANDARD", textGenerationFlag: 0, horizontalJustification: 0, verticalJustification: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, bc = [...Js.slice(Js.findIndex(({ name: i }) => i === "columnType"), Js.findIndex(({ name: i }) => i === "subclassMarker") + 1), { code: 100 }, { code: 0, parser(i) {
14949
+ $a(qa, "ForEntityName", "MTEXT");
14950
+ let Ic = { thickness: 0, rotation: 0, scale: 1, obliqueAngle: 0, textStyle: "STANDARD", textGenerationFlag: 0, horizontalJustification: 0, verticalJustification: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, Pc = [...Js.slice(Js.findIndex(({ name: i }) => i === "columnType"), Js.findIndex(({ name: i }) => i === "subclassMarker") + 1), { code: 100 }, { code: 0, parser(i) {
14878
14951
  if (!O(i, 0, "MTEXT")) return Ms;
14879
14952
  } }, { code: 2, name: "definitionTag", parser: h }, { code: 40, name: "annotationScale", parser: h }, { code: 10, name: "alignmentPoint", parser: _ }, { code: 340, name: "secondaryAttributesHardId", parser: h }, { code: 70, name: "numberOfSecondaryAttributes", parser: h }, { code: 70, name: "isReallyLocked", parser: N }, { code: 70, name: "mtextFlag", parser: h }, { code: 280, name: "isDuplicatedEntriesKeep", parser: N }, { code: 100 }, { code: 280, name: "lockPositionFlag", parser: N }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 11, name: "alignmentPoint", parser: _ }, { code: 74, name: "verticalJustification", parser: h }, { code: 72, name: "horizontalJustification", parser: h }, { code: 71, name: "textGenerationFlag", parser: h }, { code: 7, name: "textStyle", parser: h }, { code: 51, name: "obliqueAngle", parser: h }, { code: 41, name: "scale", parser: h }, { code: 50, name: "rotation", parser: h }, { code: 73 }, { code: 70, name: "attributeFlag", parser: h }, { code: 2, name: "tag", parser: h }, { code: 280 }, { code: 100, name: "subclassMarker", parser: h }, { code: 1, name: "text", parser: h }, { code: 40, name: "textHeight", parser: h }, { code: 10, name: "startPoint", parser: _ }, { code: 39, name: "thickness", parser: h }, { code: 100 }, ...z];
14880
- class Ka {
14953
+ class Za {
14881
14954
  parseEntity(t, e) {
14882
14955
  let s = {};
14883
14956
  return this.parser(e, t, s), s;
14884
14957
  }
14885
14958
  constructor() {
14886
- qa(this, "parser", E(bc, fc));
14959
+ Ka(this, "parser", S(Pc, Ic));
14887
14960
  }
14888
14961
  }
14889
- function Za(i, t, e) {
14962
+ function Qa(i, t, e) {
14890
14963
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
14891
14964
  }
14892
- qa(Ka, "ForEntityName", "ATTRIB");
14893
- let Ic = [...Ei("data"), { code: 70, name: "version", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
14894
- class Qa {
14965
+ Ka(Za, "ForEntityName", "ATTRIB");
14966
+ let Sc = [...Si("data"), { code: 70, name: "version", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
14967
+ class Ja {
14895
14968
  parseEntity(t, e) {
14896
14969
  let s = {};
14897
14970
  return this.parser(e, t, s), s;
14898
14971
  }
14899
14972
  constructor() {
14900
- Za(this, "parser", E(Ic));
14973
+ Qa(this, "parser", S(Sc));
14901
14974
  }
14902
14975
  }
14903
- function Ja(i, t, e) {
14976
+ function to(i, t, e) {
14904
14977
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
14905
14978
  }
14906
- Za(Qa, "ForEntityName", "BODY");
14907
- let Pc = { thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, Ec = [{ code: 210, name: "extrusionDirection", parser: _ }, { code: 40, name: "radius", parser: h }, { code: 10, name: "center", parser: _ }, { code: 39, name: "thickness", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
14908
- class to {
14979
+ Qa(Ja, "ForEntityName", "BODY");
14980
+ let Ec = { thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, Mc = [{ code: 210, name: "extrusionDirection", parser: _ }, { code: 40, name: "radius", parser: h }, { code: 10, name: "center", parser: _ }, { code: 39, name: "thickness", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
14981
+ class eo {
14909
14982
  parseEntity(t, e) {
14910
14983
  let s = {};
14911
14984
  return this.parser(e, t, s), s;
14912
14985
  }
14913
14986
  constructor() {
14914
- Ja(this, "parser", E(Ec, Pc));
14987
+ to(this, "parser", S(Mc, Ec));
14915
14988
  }
14916
14989
  }
14917
- function eo(i, t, e) {
14990
+ function so(i, t, e) {
14918
14991
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
14919
14992
  }
14920
- Ja(to, "ForEntityName", "CIRCLE");
14921
- let Sc = { extrusionDirection: { x: 0, y: 0, z: 1 } }, Mc = [{ code: 42, name: "endAngle", parser: h }, { code: 41, name: "startAngle", parser: h }, { code: 40, name: "axisRatio", parser: h }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 11, name: "majorAxisEndPoint", parser: _ }, { code: 10, name: "center", parser: _ }, { code: 100, name: "subclassMarker", parser: h }, ...z];
14922
- class so {
14993
+ to(eo, "ForEntityName", "CIRCLE");
14994
+ let Tc = { extrusionDirection: { x: 0, y: 0, z: 1 } }, Ac = [{ code: 42, name: "endAngle", parser: h }, { code: 41, name: "startAngle", parser: h }, { code: 40, name: "axisRatio", parser: h }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 11, name: "majorAxisEndPoint", parser: _ }, { code: 10, name: "center", parser: _ }, { code: 100, name: "subclassMarker", parser: h }, ...z];
14995
+ class io {
14923
14996
  parseEntity(t, e) {
14924
14997
  let s = {};
14925
14998
  return this.parser(e, t, s), s;
14926
14999
  }
14927
15000
  constructor() {
14928
- eo(this, "parser", E(Mc, Sc));
15001
+ so(this, "parser", S(Ac, Tc));
14929
15002
  }
14930
15003
  }
14931
- function io(i, t, e) {
15004
+ function no(i, t, e) {
14932
15005
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
14933
15006
  }
14934
- eo(so, "ForEntityName", "ELLIPSE");
14935
- let Tc = [{ code: 13, name: "vertices.3", parser: _ }, { code: 12, name: "vertices.2", parser: _ }, { code: 11, name: "vertices.1", parser: _ }, { code: 10, name: "vertices.0", parser: _ }, { code: 100, name: "subclassMarker", parser: h }, ...z];
14936
- class no {
15007
+ so(io, "ForEntityName", "ELLIPSE");
15008
+ let vc = [{ code: 13, name: "vertices.3", parser: _ }, { code: 12, name: "vertices.2", parser: _ }, { code: 11, name: "vertices.1", parser: _ }, { code: 10, name: "vertices.0", parser: _ }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15009
+ class ro {
14937
15010
  parseEntity(t, e) {
14938
15011
  let s = {};
14939
15012
  return this.parser(e, t, s), s;
14940
15013
  }
14941
15014
  constructor() {
14942
- io(this, "parser", E(Tc));
15015
+ no(this, "parser", S(vc));
14943
15016
  }
14944
15017
  }
14945
- io(no, "ForEntityName", "3DFACE");
15018
+ no(ro, "ForEntityName", "3DFACE");
14946
15019
  (Xt = {})[Xt.First = 1] = "First", Xt[Xt.Second = 2] = "Second", Xt[Xt.Third = 4] = "Third", Xt[Xt.Fourth = 8] = "Fourth";
14947
- let ro = [{ code: 330, name: "sourceBoundaryObjects", parser: h, isMultiple: !0 }, { code: 97, name: "numberOfSourceBoundaryObjects", parser: h }], Ac = [{ code: 11, name: "end", parser: _ }, { code: 10, name: "start", parser: _ }], vc = [{ code: 73, name: "isCCW", parser: N }, { code: 51, name: "endAngle", parser: h }, { code: 50, name: "startAngle", parser: h }, { code: 40, name: "radius", parser: h }, { code: 10, name: "center", parser: _ }], kc = [{ code: 73, name: "isCCW", parser: N }, { code: 51, name: "endAngle", parser: h }, { code: 50, name: "startAngle", parser: h }, { code: 40, name: "lengthOfMinorAxis", parser: h }, { code: 11, name: "end", parser: _ }, { code: 10, name: "center", parser: _ }], Lc = [{ code: 13, name: "endTangent", parser: _ }, { code: 12, name: "startTangent", parser: _ }, { code: 11, name: "fitDatum", isMultiple: !0, parser: _ }, { code: 97, name: "numberOfFitData", parser: h }, { code: 10, name: "controlPoints", isMultiple: !0, parser(i, t) {
15020
+ let ao = [{ code: 330, name: "sourceBoundaryObjects", parser: h, isMultiple: !0 }, { code: 97, name: "numberOfSourceBoundaryObjects", parser: h }], kc = [{ code: 11, name: "end", parser: _ }, { code: 10, name: "start", parser: _ }], Lc = [{ code: 73, name: "isCCW", parser: N }, { code: 51, name: "endAngle", parser: h }, { code: 50, name: "startAngle", parser: h }, { code: 40, name: "radius", parser: h }, { code: 10, name: "center", parser: _ }], Nc = [{ code: 73, name: "isCCW", parser: N }, { code: 51, name: "endAngle", parser: h }, { code: 50, name: "startAngle", parser: h }, { code: 40, name: "lengthOfMinorAxis", parser: h }, { code: 11, name: "end", parser: _ }, { code: 10, name: "center", parser: _ }], Oc = [{ code: 13, name: "endTangent", parser: _ }, { code: 12, name: "startTangent", parser: _ }, { code: 11, name: "fitDatum", isMultiple: !0, parser: _ }, { code: 97, name: "numberOfFitData", parser: h }, { code: 10, name: "controlPoints", isMultiple: !0, parser(i, t) {
14948
15021
  let e = { ...de(t), weight: 1 };
14949
15022
  return (i = t.next()).code === 42 ? e.weight = i.value : t.rewind(), e;
14950
- } }, { code: 40, name: "knots", isMultiple: !0, parser: h }, { code: 96, name: "numberOfControlPoints", parser: h }, { code: 95, name: "numberOfKnots", parser: h }, { code: 74, name: "isPeriodic", parser: N }, { code: 73, name: "splineFlag", parser: h }, { code: 94, name: "degree", parser: h }], Nc = { [js.Line]: Ac, [js.Circular]: vc, [js.Elliptic]: kc, [js.Spline]: Lc }, Oc = [...ro, { code: 72, name: "edges", parser(i, t) {
14951
- let e = { type: i.value }, s = E(Nc[e.type]);
15023
+ } }, { code: 40, name: "knots", isMultiple: !0, parser: h }, { code: 96, name: "numberOfControlPoints", parser: h }, { code: 95, name: "numberOfKnots", parser: h }, { code: 74, name: "isPeriodic", parser: N }, { code: 73, name: "splineFlag", parser: h }, { code: 94, name: "degree", parser: h }], Cc = { [js.Line]: kc, [js.Circular]: Lc, [js.Elliptic]: Nc, [js.Spline]: Oc }, Bc = [...ao, { code: 72, name: "edges", parser(i, t) {
15024
+ let e = { type: i.value }, s = S(Cc[e.type]);
14952
15025
  if (!s) throw Error(`Invalid edge type ${e.type}`);
14953
15026
  return s(i = t.next(), t, e), e;
14954
- }, isMultiple: !0 }, { code: 93, name: "numberOfEdges", parser: h }], Cc = [...ro, { code: 10, name: "vertices", parser(i, t) {
15027
+ }, isMultiple: !0 }, { code: 93, name: "numberOfEdges", parser: h }], Fc = [...ao, { code: 10, name: "vertices", parser(i, t) {
14955
15028
  let e = { ...de(t), bulge: 0 };
14956
15029
  return (i = t.next()).code === 42 ? e.bulge = i.value : t.rewind(), e;
14957
15030
  }, isMultiple: !0 }, { code: 93, name: "numberOfVertices", parser: h }, { code: 73, name: "isClosed", parser: N }, { code: 72, name: "hasBulge", parser: N }];
14958
- function Bc(i, t) {
14959
- let e = { boundaryPathTypeFlag: i.value }, s = e.boundaryPathTypeFlag & Xl.Polyline;
14960
- return i = t.next(), s ? E(Cc)(i, t, e) : E(Oc)(i, t, e), e;
15031
+ function Rc(i, t) {
15032
+ let e = { boundaryPathTypeFlag: i.value }, s = e.boundaryPathTypeFlag & $l.Polyline;
15033
+ return i = t.next(), s ? S(Fc)(i, t, e) : S(Bc)(i, t, e), e;
14961
15034
  }
14962
- let Fc = [{ code: 49, name: "dashLengths", parser: h, isMultiple: !0 }, { code: 79, name: "numberOfDashLengths", parser: h }, { code: 45, name: "offset", parser: Dr }, { code: 43, name: "base", parser: Dr }, { code: 53, name: "angle", parser: h }];
15035
+ let zc = [{ code: 49, name: "dashLengths", parser: h, isMultiple: !0 }, { code: 79, name: "numberOfDashLengths", parser: h }, { code: 45, name: "offset", parser: Dr }, { code: 43, name: "base", parser: Dr }, { code: 53, name: "angle", parser: h }];
14963
15036
  function Dr(i, t) {
14964
15037
  let e = i.code + 1, s = { x: i.value, y: 1 };
14965
15038
  return (i = t.next()).code === e ? s.y = i.value : t.rewind(), s;
14966
15039
  }
14967
- function Rc(i, t) {
15040
+ function Vc(i, t) {
14968
15041
  let e = {};
14969
- return E(Fc)(i, t, e), e;
15042
+ return S(zc)(i, t, e), e;
15043
+ }
15044
+ function jc(i, t) {
15045
+ let e = [];
15046
+ for (; i.code === 463; ) {
15047
+ let s = { reservedField: i.value };
15048
+ if ((i = t.next()).code === 63 && (s.colorIndex = i.value, i = t.next()), i.code === 421) s.rgb = i.value, e.push(s), i = t.next();
15049
+ else {
15050
+ t.rewind();
15051
+ break;
15052
+ }
15053
+ }
15054
+ return i.code !== 463 && e.length > 0 && t.rewind(), e;
14970
15055
  }
14971
- function ao(i, t, e) {
15056
+ function oo(i, t, e) {
14972
15057
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
14973
15058
  }
14974
- let zc = { extrusionDirection: { x: 0, y: 0, z: 1 }, gradientRotation: 0, colorTint: 0 }, Vc = [{ code: 470 }, { code: 463 }, { code: 462, name: "colorTint", parser: h }, { code: 461, name: "gradientDefinition", parser: h }, { code: 460, name: "gradientRotation", parser: h }, { code: 453, name: "numberOfColors", parser: h }, { code: 452, name: "gradientColorFlag", parser: h }, { code: 451 }, { code: 450, name: "gradientFlag", parser: h }, { code: 10, name: "seedPoints", parser: _, isMultiple: !0 }, { code: 99 }, { code: 11, name: "offsetVector", parser: _ }, { code: 98, name: "numberOfSeedPoints", parser: h }, { code: 47, name: "pixelSize", parser: h }, { code: 53, name: "definitionLines", parser: Rc, isMultiple: !0 }, { code: 78, name: "numberOfDefinitionLines", parser: h }, { code: 77, name: "isDouble", parser: N }, { code: 73, name: "isAnnotated", parser: N }, { code: 41, name: "patternScale", parser: h }, { code: 52, name: "patternAngle", parser: h }, { code: 76, name: "patternType", parser: h }, { code: 75, name: "hatchStyle", parser: h }, { code: 92, name: "boundaryPaths", parser: Bc, isMultiple: !0 }, { code: 91, name: "numberOfBoundaryPaths", parser: h }, { code: 71, name: "associativity", parser: h }, { code: 63, name: "patternFillColor", parser: h }, { code: 70, name: "solidFill", parser: h }, { code: 2, name: "patternName", parser: h }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 10, name: "elevationPoint", parser: _ }, { code: 100, name: "subclassMarker", parser: h, pushContext: !0 }, ...z];
14975
- class oo {
15059
+ let Wc = { extrusionDirection: { x: 0, y: 0, z: 1 }, gradientRotation: 0, colorTint: 0 }, Dc = [{ code: 470, name: "gradientName", parser: h }, { code: 463, name: "gradientColors", parser: jc }, { code: 462, name: "colorTint", parser: h }, { code: 461, name: "gradientDefinition", parser: h }, { code: 460, name: "gradientRotation", parser: h }, { code: 453, name: "numberOfColors", parser: h }, { code: 452, name: "gradientColorFlag", parser: h }, { code: 451 }, { code: 450, name: "gradientFlag", parser: h }, { code: 10, name: "seedPoints", parser: _, isMultiple: !0 }, { code: 99 }, { code: 11, name: "offsetVector", parser: _ }, { code: 98, name: "numberOfSeedPoints", parser: h }, { code: 47, name: "pixelSize", parser: h }, { code: 53, name: "definitionLines", parser: Vc, isMultiple: !0 }, { code: 78, name: "numberOfDefinitionLines", parser: h }, { code: 77, name: "isDouble", parser: N }, { code: 73, name: "isAnnotated", parser: N }, { code: 41, name: "patternScale", parser: h }, { code: 52, name: "patternAngle", parser: h }, { code: 76, name: "patternType", parser: h }, { code: 75, name: "hatchStyle", parser: h }, { code: 92, name: "boundaryPaths", parser: Rc, isMultiple: !0 }, { code: 91, name: "numberOfBoundaryPaths", parser: h }, { code: 71, name: "associativity", parser: h }, { code: 63, name: "patternFillColor", parser: h }, { code: 70, name: "solidFill", parser: h }, { code: 2, name: "patternName", parser: h }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 10, name: "elevationPoint", parser: _ }, { code: 100, name: "subclassMarker", parser: h, pushContext: !0 }, ...z];
15060
+ class ho {
14976
15061
  parseEntity(t, e) {
14977
15062
  let s = {};
14978
15063
  return this.parser(e, t, s), s;
14979
15064
  }
14980
15065
  constructor() {
14981
- ao(this, "parser", E(Vc, zc));
15066
+ oo(this, "parser", S(Dc, Wc));
14982
15067
  }
14983
15068
  }
14984
- function ho(i, t, e) {
15069
+ function lo(i, t, e) {
14985
15070
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
14986
15071
  }
14987
- ao(oo, "ForEntityName", "HATCH");
14988
- let jc = { brightness: 50, contrast: 50, fade: 0, clippingBoundaryPath: [] }, Wc = [{ code: 290, name: "clipMode", parser: h }, { code: 14, name: "clippingBoundaryPath", isMultiple: !0, parser: _ }, { code: 91, name: "countBoundaryPoints", parser: h }, { code: 71, name: "clippingBoundaryType", parser: h }, { code: 360, name: "imageDefReactorHandle", parser: h }, { code: 283, name: "fade", parser: h }, { code: 282, name: "contrast", parser: h }, { code: 281, name: "brightness", parser: h }, { code: 280, name: "isClipped", parser: N }, { code: 70, name: "flags", parser: h }, { code: 340, name: "imageDefHandle", parser: h }, { code: 13, name: "imageSize", parser: _ }, { code: 12, name: "vPixel", parser: _ }, { code: 11, name: "uPixel", parser: _ }, { code: 10, name: "position", parser: _ }, { code: 90, name: "version", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
14989
- class lo {
15072
+ oo(ho, "ForEntityName", "HATCH");
15073
+ let Gc = { brightness: 50, contrast: 50, fade: 0, clippingBoundaryPath: [] }, Hc = [{ code: 290, name: "clipMode", parser: h }, { code: 14, name: "clippingBoundaryPath", isMultiple: !0, parser: _ }, { code: 91, name: "countBoundaryPoints", parser: h }, { code: 71, name: "clippingBoundaryType", parser: h }, { code: 360, name: "imageDefReactorHandle", parser: h }, { code: 283, name: "fade", parser: h }, { code: 282, name: "contrast", parser: h }, { code: 281, name: "brightness", parser: h }, { code: 280, name: "isClipped", parser: N }, { code: 70, name: "flags", parser: h }, { code: 340, name: "imageDefHandle", parser: h }, { code: 13, name: "imageSize", parser: _ }, { code: 12, name: "vPixel", parser: _ }, { code: 11, name: "uPixel", parser: _ }, { code: 10, name: "position", parser: _ }, { code: 90, name: "version", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15074
+ class co {
14990
15075
  parseEntity(t, e) {
14991
15076
  let s = {};
14992
15077
  return this.parser(e, t, s), s;
14993
15078
  }
14994
15079
  constructor() {
14995
- ho(this, "parser", E(Wc, jc));
15080
+ lo(this, "parser", S(Hc, Gc));
14996
15081
  }
14997
15082
  }
14998
- ho(lo, "ForEntityName", "IMAGE");
15083
+ lo(co, "ForEntityName", "IMAGE");
14999
15084
  (Yt = {})[Yt.ShowImage = 1] = "ShowImage", Yt[Yt.ShowImageWhenNotAlignedWithScreen = 2] = "ShowImageWhenNotAlignedWithScreen", Yt[Yt.UseClippingBoundary = 4] = "UseClippingBoundary", Yt[Yt.TransparencyIsOn = 8] = "TransparencyIsOn";
15000
15085
  (as = {})[as.Rectangular = 1] = "Rectangular", as[as.Polygonal = 2] = "Polygonal";
15001
15086
  (os = {})[os.Outside = 0] = "Outside", os[os.Inside = 1] = "Inside";
15002
- function co(i, t, e) {
15087
+ function uo(i, t, e) {
15003
15088
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15004
15089
  }
15005
- let Dc = { xScale: 1, yScale: 1, zScale: 1, rotation: 0, columnCount: 0, rowCount: 0, columnSpacing: 0, rowSpacing: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, Gc = [{ code: 210, name: "extrusionDirection", parser: _ }, { code: 45, name: "rowSpacing", parser: h }, { code: 44, name: "columnSpacing", parser: h }, { code: 71, name: "rowCount", parser: h }, { code: 70, name: "columnCount", parser: h }, { code: 50, name: "rotation", parser: h }, { code: 43, name: "zScale", parser: h }, { code: 42, name: "yScale", parser: h }, { code: 41, name: "xScale", parser: h }, { code: 10, name: "insertionPoint", parser: _ }, { code: 2, name: "name", parser: h }, { code: 66, name: "isVariableAttributes", parser: N }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15006
- class uo {
15090
+ let Uc = { xScale: 1, yScale: 1, zScale: 1, rotation: 0, columnCount: 0, rowCount: 0, columnSpacing: 0, rowSpacing: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, Xc = [{ code: 210, name: "extrusionDirection", parser: _ }, { code: 45, name: "rowSpacing", parser: h }, { code: 44, name: "columnSpacing", parser: h }, { code: 71, name: "rowCount", parser: h }, { code: 70, name: "columnCount", parser: h }, { code: 50, name: "rotation", parser: h }, { code: 43, name: "zScale", parser: h }, { code: 42, name: "yScale", parser: h }, { code: 41, name: "xScale", parser: h }, { code: 10, name: "insertionPoint", parser: _ }, { code: 2, name: "name", parser: h }, { code: 66, name: "isVariableAttributes", parser: N }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15091
+ class po {
15007
15092
  parseEntity(t, e) {
15008
15093
  let s = {};
15009
15094
  return this.parser(e, t, s), s;
15010
15095
  }
15011
15096
  constructor() {
15012
- co(this, "parser", E(Gc, Dc));
15097
+ uo(this, "parser", S(Xc, Uc));
15013
15098
  }
15014
15099
  }
15015
- function po(i, t, e) {
15100
+ function go(i, t, e) {
15016
15101
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15017
15102
  }
15018
- co(uo, "ForEntityName", "INSERT");
15019
- let Hc = { isArrowheadEnabled: !0 }, Uc = [{ code: 213, name: "offsetFromAnnotation", parser: _ }, { code: 212, name: "offsetFromBlock", parser: _ }, { code: 211, name: "horizontalDirection", parser: _ }, { code: 210, name: "normal", parser: _ }, { code: 340, name: "associatedAnnotation", parser: h }, { code: 77, name: "byBlockColor", parser: h }, { code: 10, name: "vertices", parser: _, isMultiple: !0 }, { code: 76, name: "numberOfVertices", parser: h }, { code: 41, name: "textWidth", parser: h }, { code: 40, name: "textHeight", parser: h }, { code: 75, name: "isHooklineExists", parser: N }, { code: 74, name: "isHooklineSameDirection", parser: N }, { code: 73, name: "leaderCreationFlag", parser: h }, { code: 72, name: "isSpline", parser: N }, { code: 71, name: "isArrowheadEnabled", parser: N }, { code: 3, name: "styleName", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15020
- class go {
15103
+ uo(po, "ForEntityName", "INSERT");
15104
+ let Yc = { isArrowheadEnabled: !0 }, $c = [{ code: 213, name: "offsetFromAnnotation", parser: _ }, { code: 212, name: "offsetFromBlock", parser: _ }, { code: 211, name: "horizontalDirection", parser: _ }, { code: 210, name: "normal", parser: _ }, { code: 340, name: "associatedAnnotation", parser: h }, { code: 77, name: "byBlockColor", parser: h }, { code: 10, name: "vertices", parser: _, isMultiple: !0 }, { code: 76, name: "numberOfVertices", parser: h }, { code: 41, name: "textWidth", parser: h }, { code: 40, name: "textHeight", parser: h }, { code: 75, name: "isHooklineExists", parser: N }, { code: 74, name: "isHooklineSameDirection", parser: N }, { code: 73, name: "leaderCreationFlag", parser: h }, { code: 72, name: "isSpline", parser: N }, { code: 71, name: "isArrowheadEnabled", parser: N }, { code: 3, name: "styleName", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15105
+ class mo {
15021
15106
  parseEntity(t, e) {
15022
15107
  let s = {};
15023
15108
  return this.parser(e, t, s), s;
15024
15109
  }
15025
15110
  constructor() {
15026
- po(this, "parser", E(Uc, Hc));
15111
+ go(this, "parser", S($c, Yc));
15027
15112
  }
15028
15113
  }
15029
- po(go, "ForEntityName", "LEADER");
15114
+ go(mo, "ForEntityName", "LEADER");
15030
15115
  ($t = {})[$t.TextAnnotation = 0] = "TextAnnotation", $t[$t.ToleranceAnnotation = 1] = "ToleranceAnnotation", $t[$t.BlockReferenceAnnotation = 2] = "BlockReferenceAnnotation", $t[$t.NoAnnotation = 3] = "NoAnnotation";
15031
- function mo(i, t, e) {
15116
+ function yo(i, t, e) {
15032
15117
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15033
15118
  }
15034
- let Xc = { thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, Yc = [{ code: 210, name: "extrusionDirection", parser: _ }, { code: 11, name: "endPoint", parser: _ }, { code: 10, name: "startPoint", parser: _ }, { code: 39, name: "thickness", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15035
- class yo {
15119
+ let qc = { thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, Kc = [{ code: 210, name: "extrusionDirection", parser: _ }, { code: 11, name: "endPoint", parser: _ }, { code: 10, name: "startPoint", parser: _ }, { code: 39, name: "thickness", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15120
+ class _o {
15036
15121
  parseEntity(t, e) {
15037
15122
  let s = {};
15038
15123
  return this.parser(e, t, s), s;
15039
15124
  }
15040
15125
  constructor() {
15041
- mo(this, "parser", E(Yc, Xc));
15126
+ yo(this, "parser", S(Kc, qc));
15042
15127
  }
15043
15128
  }
15044
- function _o(i, t, e) {
15129
+ function wo(i, t, e) {
15045
15130
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15046
15131
  }
15047
- mo(yo, "ForEntityName", "LINE");
15048
- let $c = [{ code: 280, name: "shadowMapSoftness", parser: h }, { code: 91, name: "shadowMapSize", parser: h }, { code: 73, name: "shadowType", parser: h }, { code: 293, name: "isShadowCast", parser: N }, { code: 51, name: "falloffAngle", parser: h }, { code: 50, name: "hotspotAngle", parser: h }, { code: 42, name: "limitEnd", parser: h }, { code: 41, name: "limitStart", parser: h }, { code: 292, name: "isAttenuationLimited", parser: N }, { code: 72, name: "attenuationType", parser: h }, { code: 11, name: "target", parser: _ }, { code: 10, name: "position", parser: _ }, { code: 40, name: "intensity", parser: h }, { code: 291, name: "isPlotGlyph", parser: N }, { code: 290, name: "isOn", parser: N }, { code: 421, name: "lightColorInstance", parser: h }, { code: 63, name: "lightColorIndex", parser: h }, { code: 70, name: "lightType", parser: h }, { code: 1, name: "name", parser: h }, { code: 90, name: "version", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15049
- class wo {
15132
+ yo(_o, "ForEntityName", "LINE");
15133
+ let Zc = [{ code: 280, name: "shadowMapSoftness", parser: h }, { code: 91, name: "shadowMapSize", parser: h }, { code: 73, name: "shadowType", parser: h }, { code: 293, name: "isShadowCast", parser: N }, { code: 51, name: "falloffAngle", parser: h }, { code: 50, name: "hotspotAngle", parser: h }, { code: 42, name: "limitEnd", parser: h }, { code: 41, name: "limitStart", parser: h }, { code: 292, name: "isAttenuationLimited", parser: N }, { code: 72, name: "attenuationType", parser: h }, { code: 11, name: "target", parser: _ }, { code: 10, name: "position", parser: _ }, { code: 40, name: "intensity", parser: h }, { code: 291, name: "isPlotGlyph", parser: N }, { code: 290, name: "isOn", parser: N }, { code: 421, name: "lightColorInstance", parser: h }, { code: 63, name: "lightColorIndex", parser: h }, { code: 70, name: "lightType", parser: h }, { code: 1, name: "name", parser: h }, { code: 90, name: "version", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15134
+ class xo {
15050
15135
  parseEntity(t, e) {
15051
15136
  let s = {};
15052
15137
  return this.parser(e, t, s), s;
15053
15138
  }
15054
15139
  constructor() {
15055
- _o(this, "parser", E($c));
15140
+ wo(this, "parser", S(Zc));
15056
15141
  }
15057
15142
  }
15058
- _o(wo, "ForEntityName", "LIGHT");
15143
+ wo(xo, "ForEntityName", "LIGHT");
15059
15144
  (Te = {})[Te.Distant = 1] = "Distant", Te[Te.Point = 2] = "Point", Te[Te.Spot = 3] = "Spot";
15060
15145
  (Ae = {})[Ae.None = 0] = "None", Ae[Ae.InverseLinear = 1] = "InverseLinear", Ae[Ae.InverseSquare = 2] = "InverseSquare";
15061
- let qc = { flag: 0, elevation: 0, thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 }, vertices: [] }, Kc = { bulge: 0 }, Zc = [{ code: 42, name: "bulge", parser: h }, { code: 41, name: "endWidth", parser: h }, { code: 40, name: "startWidth", parser: h }, { code: 91, name: "id", parser: h }, { code: 20, name: "y", parser: h }, { code: 10, name: "x", parser: h }], Qc = [{ code: 210, name: "extrusionDirection", parser: _ }, { code: 10, name: "vertices", isMultiple: !0, parser(i, t) {
15146
+ let Qc = { flag: 0, elevation: 0, thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 }, vertices: [] }, Jc = { bulge: 0 }, td = [{ code: 42, name: "bulge", parser: h }, { code: 41, name: "endWidth", parser: h }, { code: 40, name: "startWidth", parser: h }, { code: 91, name: "id", parser: h }, { code: 20, name: "y", parser: h }, { code: 10, name: "x", parser: h }], ed = [{ code: 210, name: "extrusionDirection", parser: _ }, { code: 10, name: "vertices", isMultiple: !0, parser(i, t) {
15062
15147
  let e = {};
15063
- return E(Zc, Kc)(i, t, e), e;
15148
+ return S(td, Jc)(i, t, e), e;
15064
15149
  } }, { code: 39, name: "thickness", parser: h }, { code: 38, name: "elevation", parser: h }, { code: 43, name: "constantWidth", parser: h }, { code: 70, name: "flag", parser: h }, { code: 90, name: "numberOfVertices", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15065
15150
  class ti {
15066
15151
  parseEntity(t, e) {
15067
15152
  let s = {};
15068
- return E(Qc, qc)(e, t, s), s;
15153
+ return S(ed, Qc)(e, t, s), s;
15069
15154
  }
15070
15155
  }
15071
15156
  (Fi = "ForEntityName") in ti ? Object.defineProperty(ti, Fi, { value: "LWPOLYLINE", enumerable: !0, configurable: !0, writable: !0 }) : ti[Fi] = "LWPOLYLINE";
15072
15157
  (hs = {})[hs.IS_CLOSED = 1] = "IS_CLOSED", hs[hs.PLINE_GEN = 128] = "PLINE_GEN";
15073
- function xo(i, t, e) {
15158
+ function fo(i, t, e) {
15074
15159
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15075
15160
  }
15076
- let Jc = [{ code: 90, name: "overridenSubEntityCount", parser: h }, { code: 140, name: "edgeCreaseWeights", parser: h, isMultiple: !0 }, { code: 95, name: "edgeCreaseCount", parser: h }, { code: 94, parser(i, t, e) {
15161
+ let sd = [{ code: 90, name: "overridenSubEntityCount", parser: h }, { code: 140, name: "edgeCreaseWeights", parser: h, isMultiple: !0 }, { code: 95, name: "edgeCreaseCount", parser: h }, { code: 94, parser(i, t, e) {
15077
15162
  e.edgeCount = i.value, e.edgeIndices = [];
15078
15163
  for (let s = 0; s < e.edgeCount; ++s) {
15079
15164
  let n = [];
@@ -15089,44 +15174,44 @@ let Jc = [{ code: 90, name: "overridenSubEntityCount", parser: h }, { code: 140,
15089
15174
  for (let o = 0; o < r; ++o) a.push(s[n++]);
15090
15175
  e.faceIndices.push(a);
15091
15176
  }
15092
- } }, { code: 10, name: "vertices", parser: _, isMultiple: !0 }, { code: 92, name: "verticesCount", parser: h }, { code: 91, name: "subdivisionLevel", parser: h }, { code: 40, name: "blendCrease", parser: h }, { code: 72, name: "isBlendCreased", parser: N }, { code: 71, name: "version", parser: h }, { code: 100, name: "subclassMarker", parser: ql, pushContext: !0 }, ...z];
15093
- class fo {
15177
+ } }, { code: 10, name: "vertices", parser: _, isMultiple: !0 }, { code: 92, name: "verticesCount", parser: h }, { code: 91, name: "subdivisionLevel", parser: h }, { code: 40, name: "blendCrease", parser: h }, { code: 72, name: "isBlendCreased", parser: N }, { code: 71, name: "version", parser: h }, { code: 100, name: "subclassMarker", parser: Zl, pushContext: !0 }, ...z];
15178
+ class bo {
15094
15179
  parseEntity(t, e) {
15095
15180
  let s = {};
15096
15181
  return this.parser(e, t, s), s;
15097
15182
  }
15098
15183
  constructor() {
15099
- xo(this, "parser", E(Jc));
15184
+ fo(this, "parser", S(sd));
15100
15185
  }
15101
15186
  }
15102
- function bo(i, t, e) {
15187
+ function Io(i, t, e) {
15103
15188
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15104
15189
  }
15105
- xo(fo, "ForEntityName", "MESH");
15106
- let td = [{ code: 42, name: "fillParameters", parser: h, isMultiple: !0 }, { code: 75, name: "fillCount", parser: h }, { code: 41, name: "parameters", parser: h, isMultiple: !0 }, { code: 74, name: "parameterCount", parser: h }], ed = [{ code: [74, 41, 75, 42], name: "elements", parser(i, t) {
15107
- let e = E(td), s = {};
15190
+ fo(bo, "ForEntityName", "MESH");
15191
+ let id = [{ code: 42, name: "fillParameters", parser: h, isMultiple: !0 }, { code: 75, name: "fillCount", parser: h }, { code: 41, name: "parameters", parser: h, isMultiple: !0 }, { code: 74, name: "parameterCount", parser: h }], nd = [{ code: [74, 41, 75, 42], name: "elements", parser(i, t) {
15192
+ let e = S(id), s = {};
15108
15193
  return e(i, t, s), s;
15109
- }, isMultiple: !0 }, { code: 13, name: "miterDirection", parser: _ }, { code: 12, name: "direction", parser: _ }, { code: 11, name: "position", parser: _ }], sd = [{ code: [11, 12, 13], name: "segments", parser(i, t) {
15110
- let e = E(ed), s = {};
15194
+ }, isMultiple: !0 }, { code: 13, name: "miterDirection", parser: _ }, { code: 12, name: "direction", parser: _ }, { code: 11, name: "position", parser: _ }], rd = [{ code: [11, 12, 13], name: "segments", parser(i, t) {
15195
+ let e = S(nd), s = {};
15111
15196
  return e(i, t, s), s;
15112
15197
  }, isMultiple: !0 }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 10, name: "startPosition", parser: _ }, { code: 73, name: "styleCount", parser: h }, { code: 72, name: "vertexCount", parser: h }, { code: 71, name: "flags", parser: h }, { code: 70, name: "justification", parser: h }, { code: 40, name: "scale", parser: h }, { code: 340, name: "styleObjectHandle", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h, pushContext: !0 }, ...z];
15113
- class Io {
15198
+ class Po {
15114
15199
  parseEntity(t, e) {
15115
15200
  let s = {};
15116
15201
  return this.parser(e, t, s), s;
15117
15202
  }
15118
15203
  constructor() {
15119
- bo(this, "parser", E(sd));
15204
+ Io(this, "parser", S(rd));
15120
15205
  }
15121
15206
  }
15122
- bo(Io, "ForEntityName", "MLINE");
15207
+ Io(Po, "ForEntityName", "MLINE");
15123
15208
  (ve = {})[ve.Top = 0] = "Top", ve[ve.Zero = 1] = "Zero", ve[ve.Bottom = 2] = "Bottom";
15124
15209
  (qt = {})[qt.HasVertex = 1] = "HasVertex", qt[qt.Closed = 2] = "Closed", qt[qt.SuppressStartCaps = 4] = "SuppressStartCaps", qt[qt.SuppressEndCaps = 8] = "SuppressEndCaps";
15125
15210
  (ke = {})[ke.LEFT_TO_RIGHT = 1] = "LEFT_TO_RIGHT", ke[ke.TOP_TO_BOTTOM = 3] = "TOP_TO_BOTTOM", ke[ke.BY_STYLE = 5] = "BY_STYLE";
15126
- function Po(i, t, e) {
15211
+ function So(i, t, e) {
15127
15212
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15128
15213
  }
15129
- let id = {}, nd = [{ code: 170, name: "multileaderType", parser: h }, { code: 291, name: "doglegEnabled", parser: N }, { code: 40, name: "doglegLength", parser: h }, { code: 172, name: "contentType", parser: h }, { code: 3, name: "textContent", parser: h }, { code: 12, name: "textAnchor", parser: _ }, { code: 344, name: "blockHandle", parser: h }, { code: 15, name: "blockPosition", parser: _ }, { code: 302, name: "leaderSections", parser: function(i, t, e) {
15214
+ let ad = {}, od = [{ code: 170, name: "multileaderType", parser: h }, { code: 291, name: "doglegEnabled", parser: N }, { code: 40, name: "doglegLength", parser: h }, { code: 172, name: "contentType", parser: h }, { code: 3, name: "textContent", parser: h }, { code: 12, name: "textAnchor", parser: _ }, { code: 344, name: "blockHandle", parser: h }, { code: 15, name: "blockPosition", parser: _ }, { code: 302, name: "leaderSections", parser: function(i, t, e) {
15130
15215
  let s, n = { leaderLines: [] };
15131
15216
  for (; t.hasNext() && (s = t.next()).code !== 303; ) switch (s.code) {
15132
15217
  case 10:
@@ -15139,11 +15224,11 @@ let id = {}, nd = [{ code: 170, name: "multileaderType", parser: h }, { code: 29
15139
15224
  n.doglegLength = s.value;
15140
15225
  break;
15141
15226
  case 304:
15142
- n.leaderLines.push(function(r) {
15143
- let a, o = { vertices: [] };
15144
- for (; r.hasNext() && (a = r.next()).code !== 305; ) a.code === 10 && o.vertices.push(_(a.value, r));
15145
- return o;
15146
- }(t));
15227
+ n.leaderLines.push(function(r, a, o) {
15228
+ let l, c = { vertices: [] };
15229
+ for (; a.hasNext() && (l = a.next()).code !== 305; ) l.code === 10 && c.vertices.push(_(l.value, a));
15230
+ return c;
15231
+ }(0, t));
15147
15232
  }
15148
15233
  return n;
15149
15234
  }, isMultiple: !0 }, ...z];
@@ -15153,153 +15238,153 @@ class Eo {
15153
15238
  return this.parser(e, t, s), s;
15154
15239
  }
15155
15240
  constructor() {
15156
- Po(this, "parser", E(nd, id));
15241
+ So(this, "parser", S(od, ad));
15157
15242
  }
15158
15243
  }
15159
- function So(i, t, e) {
15244
+ function Mo(i, t, e) {
15160
15245
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15161
15246
  }
15162
- Po(Eo, "ForEntityName", "MULTILEADER");
15163
- let rd = { thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 }, angle: 0 }, ad = [{ code: 50, name: "angle", parser: h }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 39, name: "thickness", parser: h }, { code: 10, name: "position", parser: _ }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15164
- class Mo {
15247
+ So(Eo, "ForEntityName", "MULTILEADER");
15248
+ let hd = { thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 }, angle: 0 }, ld = [{ code: 50, name: "angle", parser: h }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 39, name: "thickness", parser: h }, { code: 10, name: "position", parser: _ }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15249
+ class To {
15165
15250
  parseEntity(t, e) {
15166
15251
  let s = {};
15167
15252
  return this.parser(e, t, s), s;
15168
15253
  }
15169
15254
  constructor() {
15170
- So(this, "parser", E(ad, rd));
15255
+ Mo(this, "parser", S(ld, hd));
15171
15256
  }
15172
15257
  }
15173
- function To(i, t, e) {
15258
+ function Ao(i, t, e) {
15174
15259
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15175
15260
  }
15176
- So(Mo, "ForEntityName", "POINT");
15177
- let od = { startWidth: 0, endWidth: 0, bulge: 0 }, hd = [{ code: 91, name: "id", parser: h }, { code: [...gi(71, 75)], name: "faces", isMultiple: !0, parser: h }, { code: 50, name: "tangentDirection", parser: h }, { code: 70, name: "flag", parser: h }, { code: 42, name: "bulge", parser: h }, { code: 41, name: "endWidth", parser: h }, { code: 40, name: "startWidth", parser: h }, { code: 30, name: "z", parser: h }, { code: 20, name: "y", parser: h }, { code: 10, name: "x", parser: h }, { code: 100, name: "subclassMarker", parser: h }, { code: 100 }, ...z];
15261
+ Mo(To, "ForEntityName", "POINT");
15262
+ let cd = { startWidth: 0, endWidth: 0, bulge: 0 }, dd = [{ code: 91, name: "id", parser: h }, { code: [...gi(71, 75)], name: "faces", isMultiple: !0, parser: h }, { code: 50, name: "tangentDirection", parser: h }, { code: 70, name: "flag", parser: h }, { code: 42, name: "bulge", parser: h }, { code: 41, name: "endWidth", parser: h }, { code: 40, name: "startWidth", parser: h }, { code: 30, name: "z", parser: h }, { code: 20, name: "y", parser: h }, { code: 10, name: "x", parser: h }, { code: 100, name: "subclassMarker", parser: h }, { code: 100 }, ...z];
15178
15263
  class Tn {
15179
15264
  parseEntity(t, e) {
15180
15265
  let s = {};
15181
15266
  return this.parser(e, t, s), s;
15182
15267
  }
15183
15268
  constructor() {
15184
- To(this, "parser", E(hd, od));
15269
+ Ao(this, "parser", S(dd, cd));
15185
15270
  }
15186
15271
  }
15187
- function Ao(i, t, e) {
15272
+ function vo(i, t, e) {
15188
15273
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15189
15274
  }
15190
- To(Tn, "ForEntityName", "VERTEX");
15191
- let ld = { thickness: 0, flag: 0, startWidth: 0, endWidth: 0, meshMVertexCount: 0, meshNVertexCount: 0, surfaceMDensity: 0, surfaceNDensity: 0, smoothType: 0, extrusionDirection: { x: 0, y: 0, z: 1 }, vertices: [] }, cd = [{ code: 0, name: "vertices", isMultiple: !0, parser: (i, t) => O(i, 0, "VERTEX") ? (i = t.next(), new Tn().parseEntity(t, i)) : Ms }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 75, name: "smoothType", parser: h }, { code: 74, name: "surfaceNDensity", parser: h }, { code: 73, name: "surfaceMDensity", parser: h }, { code: 72, name: "meshNVertexCount", parser: h }, { code: 71, name: "meshMVertexCount", parser: h }, { code: 41, name: "endWidth", parser: h }, { code: 40, name: "startWidth", parser: h }, { code: 70, name: "flag", parser: h }, { code: 39, name: "thickness", parser: h }, { code: 30, name: "elevation", parser: h }, { code: 20 }, { code: 10 }, { code: 66 }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15192
- class vo {
15275
+ Ao(Tn, "ForEntityName", "VERTEX");
15276
+ let ud = { thickness: 0, flag: 0, startWidth: 0, endWidth: 0, meshMVertexCount: 0, meshNVertexCount: 0, surfaceMDensity: 0, surfaceNDensity: 0, smoothType: 0, extrusionDirection: { x: 0, y: 0, z: 1 }, vertices: [] }, pd = [{ code: 0, name: "vertices", isMultiple: !0, parser: (i, t) => O(i, 0, "VERTEX") ? (i = t.next(), new Tn().parseEntity(t, i)) : Ms }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 75, name: "smoothType", parser: h }, { code: 74, name: "surfaceNDensity", parser: h }, { code: 73, name: "surfaceMDensity", parser: h }, { code: 72, name: "meshNVertexCount", parser: h }, { code: 71, name: "meshMVertexCount", parser: h }, { code: 41, name: "endWidth", parser: h }, { code: 40, name: "startWidth", parser: h }, { code: 70, name: "flag", parser: h }, { code: 39, name: "thickness", parser: h }, { code: 30, name: "elevation", parser: h }, { code: 20 }, { code: 10 }, { code: 66 }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15277
+ class ko {
15193
15278
  parseEntity(t, e) {
15194
15279
  let s = {};
15195
15280
  return this.parser(e, t, s), s;
15196
15281
  }
15197
15282
  constructor() {
15198
- Ao(this, "parser", E(cd, ld));
15283
+ vo(this, "parser", S(pd, ud));
15199
15284
  }
15200
15285
  }
15201
- Ao(vo, "ForEntityName", "POLYLINE");
15286
+ vo(ko, "ForEntityName", "POLYLINE");
15202
15287
  (tt = {})[tt.CLOSED_POLYLINE = 1] = "CLOSED_POLYLINE", tt[tt.CURVE_FIT = 2] = "CURVE_FIT", tt[tt.SPLINE_FIT = 4] = "SPLINE_FIT", tt[tt.POLYLINE_3D = 8] = "POLYLINE_3D", tt[tt.POLYGON_3D = 16] = "POLYGON_3D", tt[tt.CLOSED_POLYGON = 32] = "CLOSED_POLYGON", tt[tt.POLYFACE = 64] = "POLYFACE", tt[tt.CONTINUOUS = 128] = "CONTINUOUS";
15203
15288
  var Ws = ((Kt = {})[Kt.NONE = 0] = "NONE", Kt[Kt.QUADRATIC = 5] = "QUADRATIC", Kt[Kt.CUBIC = 6] = "CUBIC", Kt[Kt.BEZIER = 8] = "BEZIER", Kt);
15204
- function ko(i, t, e) {
15289
+ function Lo(i, t, e) {
15205
15290
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15206
15291
  }
15207
- let dd = [{ code: 11, name: "direction", parser: _ }, { code: 10, name: "position", parser: _ }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15208
- class Lo {
15292
+ let gd = [{ code: 11, name: "direction", parser: _ }, { code: 10, name: "position", parser: _ }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15293
+ class No {
15209
15294
  parseEntity(t, e) {
15210
15295
  let s = {};
15211
15296
  return this.parser(e, t, s), s;
15212
15297
  }
15213
15298
  constructor() {
15214
- ko(this, "parser", E(dd));
15299
+ Lo(this, "parser", S(gd));
15215
15300
  }
15216
15301
  }
15217
- function No(i, t, e) {
15302
+ function Oo(i, t, e) {
15218
15303
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15219
15304
  }
15220
- ko(Lo, "ForEntityName", "RAY");
15221
- let ud = [...Ei("data"), { code: 70, name: "version", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15222
- class Oo {
15305
+ Lo(No, "ForEntityName", "RAY");
15306
+ let md = [...Si("data"), { code: 70, name: "version", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15307
+ class Co {
15223
15308
  parseEntity(t, e) {
15224
15309
  let s = {};
15225
15310
  return this.parser(e, t, s), s;
15226
15311
  }
15227
15312
  constructor() {
15228
- No(this, "parser", E(ud));
15313
+ Oo(this, "parser", S(md));
15229
15314
  }
15230
15315
  }
15231
- function Co(i, t, e) {
15316
+ function Bo(i, t, e) {
15232
15317
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15233
15318
  }
15234
- No(Oo, "ForEntityName", "REGION");
15235
- let pd = { vertices: [], backLineVertices: [] }, gd = [{ code: 360, name: "geometrySettingHardId", parser: h }, { code: 12, name: "backLineVertices", isMultiple: !0, parser: _ }, { code: 93, name: "numberOfBackLineVertices", parser: h }, { code: 11, name: "vertices", isMultiple: !0, parser: _ }, { code: 92, name: "verticesCount", parser: h }, { code: [63, 411], name: "indicatorColor", parser: h }, { code: 70, name: "indicatorTransparency", parser: h }, { code: 41, name: "bottomHeight", parser: h }, { code: 40, name: "topHeight", parser: h }, { code: 10, name: "verticalDirection", parser: _ }, { code: 1, name: "name", parser: h }, { code: 91, name: "flag", parser: h }, { code: 90, name: "state", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15236
- class Bo {
15319
+ Oo(Co, "ForEntityName", "REGION");
15320
+ let yd = { vertices: [], backLineVertices: [] }, _d = [{ code: 360, name: "geometrySettingHardId", parser: h }, { code: 12, name: "backLineVertices", isMultiple: !0, parser: _ }, { code: 93, name: "numberOfBackLineVertices", parser: h }, { code: 11, name: "vertices", isMultiple: !0, parser: _ }, { code: 92, name: "verticesCount", parser: h }, { code: [63, 411], name: "indicatorColor", parser: h }, { code: 70, name: "indicatorTransparency", parser: h }, { code: 41, name: "bottomHeight", parser: h }, { code: 40, name: "topHeight", parser: h }, { code: 10, name: "verticalDirection", parser: _ }, { code: 1, name: "name", parser: h }, { code: 91, name: "flag", parser: h }, { code: 90, name: "state", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15321
+ class Fo {
15237
15322
  parseEntity(t, e) {
15238
15323
  let s = {};
15239
15324
  return this.parser(e, t, s), s;
15240
15325
  }
15241
15326
  constructor() {
15242
- Co(this, "parser", E(gd, pd));
15327
+ Bo(this, "parser", S(_d, yd));
15243
15328
  }
15244
15329
  }
15245
- function Fo(i, t, e) {
15330
+ function Ro(i, t, e) {
15246
15331
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15247
15332
  }
15248
- Co(Bo, "ForEntityName", "SECTION");
15249
- let md = { points: [], thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, yd = [{ code: 210, name: "extrusionDirection", parser: _ }, { code: 39, name: "thickness", parser: h }, { code: [...gi(10, 14)], name: "points", isMultiple: !0, parser: _ }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15250
- class Ro {
15333
+ Bo(Fo, "ForEntityName", "SECTION");
15334
+ let wd = { points: [], thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, xd = [{ code: 210, name: "extrusionDirection", parser: _ }, { code: 39, name: "thickness", parser: h }, { code: [...gi(10, 14)], name: "points", isMultiple: !0, parser: _ }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15335
+ class zo {
15251
15336
  parseEntity(t, e) {
15252
15337
  let s = {};
15253
15338
  return this.parser(e, t, s), s;
15254
15339
  }
15255
15340
  constructor() {
15256
- Fo(this, "parser", E(yd, md));
15341
+ Ro(this, "parser", S(xd, wd));
15257
15342
  }
15258
15343
  }
15259
- function zo(i, t, e) {
15344
+ function Vo(i, t, e) {
15260
15345
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15261
15346
  }
15262
- Fo(Ro, "ForEntityName", "SOLID");
15263
- let _d = [{ code: 350, name: "historyObjectSoftId", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...Ei("data"), { code: 70, name: "version", parser: h }, { code: 100 }, ...z];
15264
- class Vo {
15347
+ Ro(zo, "ForEntityName", "SOLID");
15348
+ let fd = [{ code: 350, name: "historyObjectSoftId", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...Si("data"), { code: 70, name: "version", parser: h }, { code: 100 }, ...z];
15349
+ class jo {
15265
15350
  parseEntity(t, e) {
15266
15351
  let s = {};
15267
15352
  return this.parser(e, t, s), s;
15268
15353
  }
15269
15354
  constructor() {
15270
- zo(this, "parser", E(_d));
15355
+ Vo(this, "parser", S(fd));
15271
15356
  }
15272
15357
  }
15273
- function jo(i, t, e) {
15358
+ function Wo(i, t, e) {
15274
15359
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15275
15360
  }
15276
- zo(Vo, "ForEntityName", "3DSOLID");
15277
- let wd = { knotTolerance: 1e-6, controlTolerance: 1e-6, fitTolerance: 1e-9, knotValues: [], controlPoints: [], fitPoints: [] }, xd = [{ code: 11, name: "fitPoints", isMultiple: !0, parser: _ }, { code: 10, name: "controlPoints", isMultiple: !0, parser: _ }, { code: 41, name: "weights", isMultiple: !0, parser: h }, { code: 40, name: "knots", isMultiple: !0, parser: h }, { code: 13, name: "endTangent", parser: _ }, { code: 12, name: "startTangent", parser: _ }, { code: 44, name: "fitTolerance", parser: h }, { code: 43, name: "controlTolerance", parser: h }, { code: 42, name: "knotTolerance", parser: h }, { code: 74, name: "numberOfFitPoints", parser: h }, { code: 73, name: "numberOfControlPoints", parser: h }, { code: 72, name: "numberOfKnots", parser: h }, { code: 71, name: "degree", parser: h }, { code: 70, name: "flag", parser: h }, { code: 210, name: "normal", parser: _ }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15278
- class Wo {
15361
+ Vo(jo, "ForEntityName", "3DSOLID");
15362
+ let bd = { knotTolerance: 1e-6, controlTolerance: 1e-6, fitTolerance: 1e-9, knotValues: [], controlPoints: [], fitPoints: [] }, Id = [{ code: 11, name: "fitPoints", isMultiple: !0, parser: _ }, { code: 10, name: "controlPoints", isMultiple: !0, parser: _ }, { code: 41, name: "weights", isMultiple: !0, parser: h }, { code: 40, name: "knots", isMultiple: !0, parser: h }, { code: 13, name: "endTangent", parser: _ }, { code: 12, name: "startTangent", parser: _ }, { code: 44, name: "fitTolerance", parser: h }, { code: 43, name: "controlTolerance", parser: h }, { code: 42, name: "knotTolerance", parser: h }, { code: 74, name: "numberOfFitPoints", parser: h }, { code: 73, name: "numberOfControlPoints", parser: h }, { code: 72, name: "numberOfKnots", parser: h }, { code: 71, name: "degree", parser: h }, { code: 70, name: "flag", parser: h }, { code: 210, name: "normal", parser: _ }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15363
+ class Do {
15279
15364
  parseEntity(t, e) {
15280
15365
  let s = {};
15281
15366
  return this.parser(e, t, s), s;
15282
15367
  }
15283
15368
  constructor() {
15284
- jo(this, "parser", E(xd, wd));
15369
+ Wo(this, "parser", S(Id, bd));
15285
15370
  }
15286
15371
  }
15287
- jo(Wo, "ForEntityName", "SPLINE");
15372
+ Wo(Do, "ForEntityName", "SPLINE");
15288
15373
  (ft = {})[ft.NONE = 0] = "NONE", ft[ft.CLOSED = 1] = "CLOSED", ft[ft.PERIODIC = 2] = "PERIODIC", ft[ft.RATIONAL = 4] = "RATIONAL", ft[ft.PLANAR = 8] = "PLANAR", ft[ft.LINEAR = 16] = "LINEAR";
15289
- function Do(i, t, e) {
15374
+ function Go(i, t, e) {
15290
15375
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15291
15376
  }
15292
- let fd = [{ code: 280, name: "shadowMapSoftness", parser: h }, { code: 71, name: "shadowMapSize", parser: h }, { code: 70, name: "shadowType", parser: h }, { code: 292, name: "isSummerTime", parser: N }, { code: 92, name: "time", parser: h }, { code: 91, name: "julianDay", parser: h }, { code: 291, name: "hasShadow", parser: N }, { code: 40, name: "intensity", parser: h }, { code: 421, name: "lightColorInstance", parser: h }, { code: 63, name: "lightColorIndex", parser: h }, { code: 290, name: "isOn", parser: N }, { code: 90, name: "version", parser: h }, { code: 100, name: "subclassMarker", parser: h, pushContext: !0 }, ...z.filter((i) => i.code !== 100)];
15293
- class Go {
15377
+ let Pd = [{ code: 280, name: "shadowMapSoftness", parser: h }, { code: 71, name: "shadowMapSize", parser: h }, { code: 70, name: "shadowType", parser: h }, { code: 292, name: "isSummerTime", parser: N }, { code: 92, name: "time", parser: h }, { code: 91, name: "julianDay", parser: h }, { code: 291, name: "hasShadow", parser: N }, { code: 40, name: "intensity", parser: h }, { code: 421, name: "lightColorInstance", parser: h }, { code: 63, name: "lightColorIndex", parser: h }, { code: 290, name: "isOn", parser: N }, { code: 90, name: "version", parser: h }, { code: 100, name: "subclassMarker", parser: h, pushContext: !0 }, ...z.filter((i) => i.code !== 100)];
15378
+ class Ho {
15294
15379
  parseEntity(t, e) {
15295
15380
  let s = { layer: "" };
15296
15381
  return this.parser(e, t, s), s;
15297
15382
  }
15298
15383
  constructor() {
15299
- Do(this, "parser", E(fd));
15384
+ Go(this, "parser", S(Pd));
15300
15385
  }
15301
15386
  }
15302
- Do(Go, "ForEntityName", "SUN");
15387
+ Go(Ho, "ForEntityName", "SUN");
15303
15388
  class ei {
15304
15389
  parseEntity(t, e) {
15305
15390
  let s = {};
@@ -15470,72 +15555,72 @@ class ei {
15470
15555
  }(t, e)), e = t.lastReadGroup;
15471
15556
  break;
15472
15557
  default:
15473
- wc(s, e, t), e = t.next();
15558
+ fc(s, e, t), e = t.next();
15474
15559
  }
15475
15560
  }
15476
15561
  return s;
15477
15562
  }
15478
15563
  }
15479
- function Ho(i, t, e) {
15564
+ function Uo(i, t, e) {
15480
15565
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15481
15566
  }
15482
15567
  (Ri = "ForEntityName") in ei ? Object.defineProperty(ei, Ri, { value: "ACAD_TABLE", enumerable: !0, configurable: !0, writable: !0 }) : ei[Ri] = "ACAD_TABLE";
15483
- let bd = [{ code: 11, name: "xAxisDirection", parser: _ }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 1, name: "text", parser: h }, { code: 10, name: "position", parser: _ }, { code: 3, name: "styleName", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15484
- class Uo {
15568
+ let Sd = [{ code: 11, name: "xAxisDirection", parser: _ }, { code: 210, name: "extrusionDirection", parser: _ }, { code: 1, name: "text", parser: h }, { code: 10, name: "position", parser: _ }, { code: 3, name: "styleName", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15569
+ class Xo {
15485
15570
  parseEntity(t, e) {
15486
15571
  let s = {};
15487
15572
  return this.parser(e, t, s), s;
15488
15573
  }
15489
15574
  constructor() {
15490
- Ho(this, "parser", E(bd));
15575
+ Uo(this, "parser", S(Sd));
15491
15576
  }
15492
15577
  }
15493
- Ho(Uo, "ForEntityName", "TOLERANCE");
15494
- var Id = ((et = {})[et.CREATED_BY_CURVE_FIT = 1] = "CREATED_BY_CURVE_FIT", et[et.TANGENT_DEFINED = 2] = "TANGENT_DEFINED", et[et.NOT_USED = 4] = "NOT_USED", et[et.CREATED_BY_SPLINE_FIT = 8] = "CREATED_BY_SPLINE_FIT", et[et.SPLINE_CONTROL_POINT = 16] = "SPLINE_CONTROL_POINT", et[et.FOR_POLYLINE = 32] = "FOR_POLYLINE", et[et.FOR_POLYGON = 64] = "FOR_POLYGON", et[et.POLYFACE = 128] = "POLYFACE", et);
15495
- let Pd = [{ code: [335, 343, 344, 91], name: "softPointers", isMultiple: !0, parser: h }, { code: 361, name: "sunId", parser: h }, { code: 431, name: "ambientLightColorName", parser: h }, { code: 421, name: "ambientLightColorInstance", parser: h }, { code: 63, name: "ambientLightColorIndex", parser: h }, { code: 142, name: "contrast", parser: h }, { code: 141, name: "brightness", parser: h }, { code: 282, name: "defaultLightingType", parser: h }, { code: 292, name: "isDefaultLighting", parser: N }, { code: 348, name: "visualStyleId", parser: h }, { code: 333, name: "shadePlotId", parser: h }, { code: 332, name: "backgroundId", parser: h }, { code: 61, name: "majorGridFrequency", parser: h }, { code: 170, name: "shadePlotMode", parser: h }, { code: 146, name: "elevation", parser: h }, { code: 79, name: "orthographicType", parser: h }, { code: 346, name: "ucsBaseId", parser: h }, { code: 345, name: "ucsId", parser: h }, { code: 112, name: "ucsYAxis", parser: _ }, { code: 111, name: "ucsXAxis", parser: _ }, { code: 110, name: "ucsOrigin", parser: _ }, { code: 74, name: "iconFlag", parser: h }, { code: 71, name: "ucsPerViewport", parser: h }, { code: 281, name: "renderMode", parser: h }, { code: 1, name: "sheetName", parser: h }, { code: 340, name: "clippingBoundaryId", parser: h }, { code: 90, name: "statusBitFlags", parser: h }, { code: 331, name: "frozenLayerIds", isMultiple: !0, parser: h }, { code: 72, name: "circleZoomPercent", parser: h }, { code: 51, name: "viewTwistAngle", parser: h }, { code: 50, name: "snapAngle", parser: h }, { code: 45, name: "viewHeight", parser: h }, { code: 44, name: "backClipZ", parser: h }, { code: 43, name: "frontClipZ", parser: h }, { code: 42, name: "perspectiveLensLength", parser: h }, { code: 17, name: "targetPoint", parser: _ }, { code: 16, name: "viewDirection", parser: _ }, { code: 15, name: "gridSpacing", parser: _ }, { code: 14, name: "snapSpacing", parser: _ }, { code: 13, name: "snapBase", parser: _ }, { code: 12, name: "displayCenter", parser: _ }, { code: 69, name: "viewportId", parser: h }, { code: 68, name: "status", parser: h }, { code: 41, name: "height", parser: h }, { code: 40, name: "width", parser: h }, { code: 10, name: "viewportCenter", parser: _ }, { code: 100, name: "subclassMarker", parser: h, pushContext: !0 }, ...z];
15578
+ Uo(Xo, "ForEntityName", "TOLERANCE");
15579
+ var Ed = ((et = {})[et.CREATED_BY_CURVE_FIT = 1] = "CREATED_BY_CURVE_FIT", et[et.TANGENT_DEFINED = 2] = "TANGENT_DEFINED", et[et.NOT_USED = 4] = "NOT_USED", et[et.CREATED_BY_SPLINE_FIT = 8] = "CREATED_BY_SPLINE_FIT", et[et.SPLINE_CONTROL_POINT = 16] = "SPLINE_CONTROL_POINT", et[et.FOR_POLYLINE = 32] = "FOR_POLYLINE", et[et.FOR_POLYGON = 64] = "FOR_POLYGON", et[et.POLYFACE = 128] = "POLYFACE", et);
15580
+ let Md = [{ code: [335, 343, 344, 91], name: "softPointers", isMultiple: !0, parser: h }, { code: 361, name: "sunId", parser: h }, { code: 431, name: "ambientLightColorName", parser: h }, { code: 421, name: "ambientLightColorInstance", parser: h }, { code: 63, name: "ambientLightColorIndex", parser: h }, { code: 142, name: "contrast", parser: h }, { code: 141, name: "brightness", parser: h }, { code: 282, name: "defaultLightingType", parser: h }, { code: 292, name: "isDefaultLighting", parser: N }, { code: 348, name: "visualStyleId", parser: h }, { code: 333, name: "shadePlotId", parser: h }, { code: 332, name: "backgroundId", parser: h }, { code: 61, name: "majorGridFrequency", parser: h }, { code: 170, name: "shadePlotMode", parser: h }, { code: 146, name: "elevation", parser: h }, { code: 79, name: "orthographicType", parser: h }, { code: 346, name: "ucsBaseId", parser: h }, { code: 345, name: "ucsId", parser: h }, { code: 112, name: "ucsYAxis", parser: _ }, { code: 111, name: "ucsXAxis", parser: _ }, { code: 110, name: "ucsOrigin", parser: _ }, { code: 74, name: "iconFlag", parser: h }, { code: 71, name: "ucsPerViewport", parser: h }, { code: 281, name: "renderMode", parser: h }, { code: 1, name: "sheetName", parser: h }, { code: 340, name: "clippingBoundaryId", parser: h }, { code: 90, name: "statusBitFlags", parser: h }, { code: 331, name: "frozenLayerIds", isMultiple: !0, parser: h }, { code: 72, name: "circleZoomPercent", parser: h }, { code: 51, name: "viewTwistAngle", parser: h }, { code: 50, name: "snapAngle", parser: h }, { code: 45, name: "viewHeight", parser: h }, { code: 44, name: "backClipZ", parser: h }, { code: 43, name: "frontClipZ", parser: h }, { code: 42, name: "perspectiveLensLength", parser: h }, { code: 17, name: "targetPoint", parser: _ }, { code: 16, name: "viewDirection", parser: _ }, { code: 15, name: "gridSpacing", parser: _ }, { code: 14, name: "snapSpacing", parser: _ }, { code: 13, name: "snapBase", parser: _ }, { code: 12, name: "displayCenter", parser: _ }, { code: 69, name: "viewportId", parser: h }, { code: 68, name: "status", parser: h }, { code: 41, name: "height", parser: h }, { code: 40, name: "width", parser: h }, { code: 10, name: "viewportCenter", parser: _ }, { code: 100, name: "subclassMarker", parser: h, pushContext: !0 }, ...z];
15496
15581
  class si {
15497
15582
  parseEntity(t, e) {
15498
15583
  let s = {};
15499
- return E(Pd)(e, t, s), s;
15584
+ return S(Md)(e, t, s), s;
15500
15585
  }
15501
15586
  }
15502
- function Xo(i, t, e) {
15587
+ function Yo(i, t, e) {
15503
15588
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15504
15589
  }
15505
15590
  (zi = "ForEntityName") in si ? Object.defineProperty(si, zi, { value: "VIEWPORT", enumerable: !0, configurable: !0, writable: !0 }) : si[zi] = "VIEWPORT";
15506
- let Ed = { brightness: 50, constrast: 50, fade: 0 }, Sd = [{ code: 14, name: "boundary", isMultiple: !0, parser: _ }, { code: 91, name: "numberOfVertices", parser: h }, { code: 71, name: "boundaryType", parser: h }, { code: 360, name: "imageDefReactorHardId", parser: h }, { code: 283, name: "fade", parser: h }, { code: 282, name: "contrast", parser: h }, { code: 281, name: "brightness", parser: h }, { code: 280, name: "isClipping", parser: N }, { code: 70, name: "displayFlag", parser: h }, { code: 340, name: "imageDefHardId", parser: h }, { code: 13, name: "imageSize", parser: _ }, { code: 12, name: "vDirection", parser: _ }, { code: 11, name: "uDirection", parser: _ }, { code: 10, name: "position", parser: _ }, { code: 90, name: "classVersion", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15507
- class Yo {
15591
+ let Td = { brightness: 50, constrast: 50, fade: 0 }, Ad = [{ code: 14, name: "boundary", isMultiple: !0, parser: _ }, { code: 91, name: "numberOfVertices", parser: h }, { code: 71, name: "boundaryType", parser: h }, { code: 360, name: "imageDefReactorHardId", parser: h }, { code: 283, name: "fade", parser: h }, { code: 282, name: "contrast", parser: h }, { code: 281, name: "brightness", parser: h }, { code: 280, name: "isClipping", parser: N }, { code: 70, name: "displayFlag", parser: h }, { code: 340, name: "imageDefHardId", parser: h }, { code: 13, name: "imageSize", parser: _ }, { code: 12, name: "vDirection", parser: _ }, { code: 11, name: "uDirection", parser: _ }, { code: 10, name: "position", parser: _ }, { code: 90, name: "classVersion", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15592
+ class $o {
15508
15593
  parseEntity(t, e) {
15509
15594
  let s = {};
15510
15595
  return this.parser(e, t, s), s;
15511
15596
  }
15512
15597
  constructor() {
15513
- Xo(this, "parser", E(Sd, Ed));
15598
+ Yo(this, "parser", S(Ad, Td));
15514
15599
  }
15515
15600
  }
15516
- Xo(Yo, "ForEntityName", "WIPEOUT");
15601
+ Yo($o, "ForEntityName", "WIPEOUT");
15517
15602
  (Zt = {})[Zt.ShowImage = 1] = "ShowImage", Zt[Zt.ShowImageWhenNotAligned = 2] = "ShowImageWhenNotAligned", Zt[Zt.UseClippingBoundary = 4] = "UseClippingBoundary", Zt[Zt.Transparency = 8] = "Transparency";
15518
- function $o(i, t, e) {
15603
+ function qo(i, t, e) {
15519
15604
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15520
15605
  }
15521
- let Md = [{ code: 11, name: "direction", parser: _ }, { code: 10, name: "position", parser: _ }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15522
- class qo {
15606
+ let vd = [{ code: 11, name: "direction", parser: _ }, { code: 10, name: "position", parser: _ }, { code: 100, name: "subclassMarker", parser: h }, ...z];
15607
+ class Ko {
15523
15608
  parseEntity(t, e) {
15524
15609
  let s = {};
15525
15610
  return this.parser(e, t, s), s;
15526
15611
  }
15527
15612
  constructor() {
15528
- $o(this, "parser", E(Md));
15613
+ qo(this, "parser", S(vd));
15529
15614
  }
15530
15615
  }
15531
- $o(qo, "ForEntityName", "XLINE");
15532
- let Td = 0;
15533
- function Ko(i) {
15616
+ qo(Ko, "ForEntityName", "XLINE");
15617
+ let kd = 0;
15618
+ function Zo(i) {
15534
15619
  if (!i) throw TypeError("entity cannot be undefined or null");
15535
- i.handle || (i.handle = Td++);
15620
+ i.handle || (i.handle = kd++);
15536
15621
  }
15537
- let Ad = Object.fromEntries([Va, Qs, Xa, Ka, Qa, to, Zs, so, no, lo, uo, go, yo, wo, ti, fo, Io, $a, Eo, Mo, vo, Lo, Oo, Bo, Ro, Vo, Wo, Go, ei, Ha, Uo, oo, Tn, si, Yo, qo].map((i) => [i.ForEntityName, new i()]));
15538
- function Zo(i, t) {
15622
+ let Ld = Object.fromEntries([ja, Qs, Ya, Za, Ja, eo, Zs, io, ro, co, po, mo, _o, xo, ti, bo, Po, qa, Eo, To, ko, No, Co, Fo, zo, jo, Do, Ho, ei, Ua, Xo, ho, Tn, si, $o, Ko].map((i) => [i.ForEntityName, new i()]));
15623
+ function Qo(i, t) {
15539
15624
  let e = [];
15540
15625
  for (; !O(i, 0, "EOF"); ) {
15541
15626
  if (i.code === 0) {
@@ -15543,12 +15628,12 @@ function Zo(i, t) {
15543
15628
  t.rewind();
15544
15629
  break;
15545
15630
  }
15546
- let s = Ad[i.value];
15631
+ let s = Ld[i.value];
15547
15632
  if (s) {
15548
15633
  let n = i.value;
15549
15634
  i = t.next();
15550
15635
  let r = s.parseEntity(t, i);
15551
- r.type = n, Ko(r), e.push(r);
15636
+ r.type = n, Zo(r), e.push(r);
15552
15637
  } else t.debug;
15553
15638
  }
15554
15639
  i = t.next();
@@ -15589,30 +15674,30 @@ function Hr(i, t, e = !1) {
15589
15674
  throw TypeError("String '" + s + "' cannot be cast to Boolean type");
15590
15675
  }(t.trim()) : i >= 300 && i <= 369 ? t : i >= 370 && i <= 389 ? parseInt(t.trim()) : i >= 390 && i <= 399 ? t : i >= 400 && i <= 409 ? parseInt(t.trim()) : i >= 410 && i <= 419 ? t : i >= 420 && i <= 429 ? parseInt(t.trim()) : i >= 430 && i <= 439 ? t : i >= 440 && i <= 459 ? parseInt(t.trim()) : i >= 460 && i <= 469 ? parseFloat(t.trim()) : i >= 470 && i <= 481 || i === 999 || i >= 1e3 && i <= 1009 ? t : i >= 1010 && i <= 1059 ? parseFloat(t.trim()) : i >= 1060 && i <= 1071 ? parseInt(t.trim()) : t;
15591
15676
  }
15592
- function vd(i, t) {
15677
+ function Nd(i, t) {
15593
15678
  let e = null, s = {};
15594
15679
  for (; !O(i, 0, "EOF") && !O(i, 0, "ENDSEC"); ) i.code === 9 ? e = i.value : i.code === 10 ? s[e] = de(t) : s[e] = i.value, i = t.next();
15595
15680
  return s;
15596
15681
  }
15597
15682
  let re = [{ code: 100, name: "subclassMarker", parser: h }, { code: 330, name: "ownerObjectId", parser: h }, { code: 102, isMultiple: !0, parser(i, t) {
15598
15683
  for (; !O(i, 0, "EOF") && !O(i, 102, "}"); ) i = t.next();
15599
- } }, { code: 5, name: "handle", parser: h }], kd = [{ code: 70, name: "flag", parser: h }, { code: 2, name: "appName", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...re], Ld = E(kd), Nd = E([{ code: 310, name: "bmpPreview", parser: h }, { code: 281, name: "scalability", parser: h }, { code: 280, name: "explodability", parser: h }, { code: 70, name: "insertionUnits", parser: h }, { code: 340, name: "layoutObjects", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...re]), Od = E([...Mn.map((i) => ({ ...i, parser: h })), { code: 70, name: "standardFlag", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h }, { code: 105, name: "handle", parser: h }, ...re.filter((i) => i.code !== 5)]), Cd = E([{ code: 347, name: "materialObjectId", parser: h }, { code: 390, name: "plotStyleNameObjectId", parser: h }, { code: 370, name: "lineweight", parser: h }, { code: 290, name: "isPlotting", parser: N }, { code: 6, name: "lineType", parser: h }, { code: 62, name: "colorIndex", parser: h }, { code: 70, name: "standardFlag", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...re]), Bd = E([{ code: 9, name: "text", parser: h }, { code: 45, name: "offsetY", parser: h }, { code: 44, name: "offsetX", parser: h }, { code: 50, name: "rotation", parser: h }, { code: 46, name: "scale", parser: h }, { code: 340, name: "styleObjectId", parser: h }, { code: 75, name: "shapeNumber", parser: h }, { code: 74, name: "elementTypeFlag", parser: h }, { code: 49, name: "elementLength", parser: h }], { elementTypeFlag: 0, elementLength: 0 }), Fd = E([{ code: 49, name: "pattern", parser(i, t) {
15684
+ } }, { code: 5, name: "handle", parser: h }], Od = [{ code: 70, name: "flag", parser: h }, { code: 2, name: "appName", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...re], Cd = S(Od), Bd = S([{ code: 310, name: "bmpPreview", parser: h }, { code: 281, name: "scalability", parser: h }, { code: 280, name: "explodability", parser: h }, { code: 70, name: "insertionUnits", parser: h }, { code: 340, name: "layoutObjects", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...re]), Fd = S([...Mn.map((i) => ({ ...i, parser: h })), { code: 70, name: "standardFlag", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h }, { code: 105, name: "handle", parser: h }, ...re.filter((i) => i.code !== 5)]), Rd = S([{ code: 347, name: "materialObjectId", parser: h }, { code: 390, name: "plotStyleNameObjectId", parser: h }, { code: 370, name: "lineweight", parser: h }, { code: 290, name: "isPlotting", parser: N }, { code: 6, name: "lineType", parser: h }, { code: 62, name: "colorIndex", parser: h }, { code: 70, name: "standardFlag", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...re]), zd = S([{ code: 9, name: "text", parser: h }, { code: 45, name: "offsetY", parser: h }, { code: 44, name: "offsetX", parser: h }, { code: 50, name: "rotation", parser: h }, { code: 46, name: "scale", parser: h }, { code: 340, name: "styleObjectId", parser: h }, { code: 75, name: "shapeNumber", parser: h }, { code: 74, name: "elementTypeFlag", parser: h }, { code: 49, name: "elementLength", parser: h }], { elementTypeFlag: 0, elementLength: 0 }), Vd = S([{ code: 49, name: "pattern", parser(i, t) {
15600
15685
  let e = {};
15601
- return Bd(i, t, e), e;
15602
- }, isMultiple: !0 }, { code: 40, name: "totalPatternLength", parser: h }, { code: 73, name: "numberOfLineTypes", parser: h }, { code: 72, parser: h }, { code: 3, name: "description", parser: h }, { code: 70, name: "standardFlag", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...re]), Rd = E([{ code: 1e3, name: "extendedFont", parser: h }, { code: 1001 }, { code: 4, name: "bigFont", parser: h }, { code: 3, name: "font", parser: h }, { code: 42, name: "lastHeight", parser: h }, { code: 71, name: "textGenerationFlag", parser: h }, { code: 50, name: "obliqueAngle", parser: h }, { code: 41, name: "widthFactor", parser: h }, { code: 40, name: "fixedTextHeight", parser: h }, { code: 70, name: "standardFlag", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...re]), zd = [{ code: 13, name: "orthographicOrigin", parser: _ }, { code: 71, name: "orthographicType", parser: h }, { code: 346, name: "baseUcsHandle", parser: h }, { code: 146, name: "elevation", parser: h }, { code: 79, name: "isOrthographic", parser: N }, { code: 12, name: "yAxis", parser: _ }, { code: 11, name: "xAxis", parser: _ }, { code: 10, name: "origin", parser: _ }, { code: 70, name: "flag", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...re], Vd = E(zd), jd = [{ code: 346, name: "baseUcsId", parser: h }, { code: 345, name: "ucsId", parser: h }, { code: 146, name: "elevation", parser: h }, { code: 79, name: "orthographicType", parser: h }, { code: 112, name: "ucsYAxis", parser: _ }, { code: 111, name: "ucsXAxis", parser: _ }, { code: 110, name: "ucsOrigin", parser: _ }, { code: 361, name: "sunHardId", parser: h }, { code: 348, name: "styleHardId", parser: h }, { code: 334, name: "liveSectionSoftId", parser: h }, { code: 332, name: "backgroundSoftId", parser: h }, { code: 73, name: "isPlottable", parser: N }, { code: 72, name: "isUcsAssociated", parser: N }, { code: 281, name: "renderMode", parser: h }, { code: 71, name: "viewMode", parser: h }, { code: 50, name: "twistAngle", parser: h }, { code: 44, name: "backClippingPlane", parser: h }, { code: 43, name: "frontClippingPlane", parser: h }, { code: 42, name: "lensLength", parser: h }, { code: 12, name: "target", parser: _ }, { code: 11, name: "direction", parser: _ }, { code: 10, name: "center", parser: _ }, { code: 41, name: "width", parser: h }, { code: 40, name: "height", parser: h }, { code: 70, name: "flag", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...re], Wd = E(jd), Dd = E([{ code: [63, 421, 431], name: "ambientColor", parser: h }, { code: 142, name: "contrast", parser: h }, { code: 141, name: "brightness", parser: h }, { code: 282, name: "defaultLightingType", parser: h }, { code: 292, name: "isDefaultLightingOn", parser: N }, { code: 348, name: "visualStyleObjectId", parser: h }, { code: 333, name: "shadePlotObjectId", parser: h }, { code: 332, name: "backgroundObjectId", parser: h }, { code: 61, name: "majorGridLines", parser: h }, { code: 170, name: "shadePlotSetting", parser: h }, { code: 146, name: "elevation", parser: h }, { code: 79, name: "orthographicType", parser: h }, { code: 112, name: "ucsYAxis", parser: _ }, { code: 111, name: "ucsXAxis", parser: _ }, { code: 110, name: "ucsOrigin", parser: _ }, { code: 74, name: "ucsIconSetting", parser: h }, { code: 71, name: "viewMode", parser: h }, { code: 281, name: "renderMode", parser: h }, { code: 1, name: "styleSheet", parser: h }, { code: [331, 441], name: "frozenLayers", parser: h, isMultiple: !0 }, { code: 72, name: "circleSides", parser: h }, { code: 51, name: "viewTwistAngle", parser: h }, { code: 50, name: "snapRotationAngle", parser: h }, { code: 45, name: "viewHeight", parser: h }, { code: 44, name: "backClippingPlane", parser: h }, { code: 43, name: "frontClippingPlane", parser: h }, { code: 42, name: "lensLength", parser: h }, { code: 17, name: "viewTarget", parser: _ }, { code: 16, name: "viewDirectionFromTarget", parser: _ }, { code: 15, name: "gridSpacing", parser: _ }, { code: 14, name: "snapSpacing", parser: _ }, { code: 13, name: "snapBasePoint", parser: _ }, { code: 12, name: "center", parser: _ }, { code: 11, name: "upperRightCorner", parser: _ }, { code: 10, name: "lowerLeftCorner", parser: _ }, { code: 70, name: "standardFlag", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...re]), Gd = { APPID: Ld, BLOCK_RECORD: Nd, DIMSTYLE: Od, LAYER: Cd, LTYPE: Fd, STYLE: Rd, UCS: Vd, VIEW: Wd, VPORT: Dd }, Hd = E([{ code: 70, name: "maxNumberOfEntries", parser: h }, { code: 100, name: "subclassMarker", parser: h }, { code: 330, name: "ownerObjectId", parser: h }, { code: 102, parser: Rt }, { code: 102, parser: Rt }, { code: 102, parser: Rt }, { code: 360, isMultiple: !0 }, { code: 5, name: "handle", parser: h }, { code: 2, name: "name", parser: h }]);
15603
- function Ud(i, t) {
15686
+ return zd(i, t, e), e;
15687
+ }, isMultiple: !0 }, { code: 40, name: "totalPatternLength", parser: h }, { code: 73, name: "numberOfLineTypes", parser: h }, { code: 72, parser: h }, { code: 3, name: "description", parser: h }, { code: 70, name: "standardFlag", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...re]), jd = S([{ code: 1e3, name: "extendedFont", parser: h }, { code: 1001 }, { code: 4, name: "bigFont", parser: h }, { code: 3, name: "font", parser: h }, { code: 42, name: "lastHeight", parser: h }, { code: 71, name: "textGenerationFlag", parser: h }, { code: 50, name: "obliqueAngle", parser: h }, { code: 41, name: "widthFactor", parser: h }, { code: 40, name: "fixedTextHeight", parser: h }, { code: 70, name: "standardFlag", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...re]), Wd = [{ code: 13, name: "orthographicOrigin", parser: _ }, { code: 71, name: "orthographicType", parser: h }, { code: 346, name: "baseUcsHandle", parser: h }, { code: 146, name: "elevation", parser: h }, { code: 79, name: "isOrthographic", parser: N }, { code: 12, name: "yAxis", parser: _ }, { code: 11, name: "xAxis", parser: _ }, { code: 10, name: "origin", parser: _ }, { code: 70, name: "flag", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...re], Dd = S(Wd), Gd = [{ code: 346, name: "baseUcsId", parser: h }, { code: 345, name: "ucsId", parser: h }, { code: 146, name: "elevation", parser: h }, { code: 79, name: "orthographicType", parser: h }, { code: 112, name: "ucsYAxis", parser: _ }, { code: 111, name: "ucsXAxis", parser: _ }, { code: 110, name: "ucsOrigin", parser: _ }, { code: 361, name: "sunHardId", parser: h }, { code: 348, name: "styleHardId", parser: h }, { code: 334, name: "liveSectionSoftId", parser: h }, { code: 332, name: "backgroundSoftId", parser: h }, { code: 73, name: "isPlottable", parser: N }, { code: 72, name: "isUcsAssociated", parser: N }, { code: 281, name: "renderMode", parser: h }, { code: 71, name: "viewMode", parser: h }, { code: 50, name: "twistAngle", parser: h }, { code: 44, name: "backClippingPlane", parser: h }, { code: 43, name: "frontClippingPlane", parser: h }, { code: 42, name: "lensLength", parser: h }, { code: 12, name: "target", parser: _ }, { code: 11, name: "direction", parser: _ }, { code: 10, name: "center", parser: _ }, { code: 41, name: "width", parser: h }, { code: 40, name: "height", parser: h }, { code: 70, name: "flag", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...re], Hd = S(Gd), Ud = S([{ code: [63, 421, 431], name: "ambientColor", parser: h }, { code: 142, name: "contrast", parser: h }, { code: 141, name: "brightness", parser: h }, { code: 282, name: "defaultLightingType", parser: h }, { code: 292, name: "isDefaultLightingOn", parser: N }, { code: 348, name: "visualStyleObjectId", parser: h }, { code: 333, name: "shadePlotObjectId", parser: h }, { code: 332, name: "backgroundObjectId", parser: h }, { code: 61, name: "majorGridLines", parser: h }, { code: 170, name: "shadePlotSetting", parser: h }, { code: 146, name: "elevation", parser: h }, { code: 79, name: "orthographicType", parser: h }, { code: 112, name: "ucsYAxis", parser: _ }, { code: 111, name: "ucsXAxis", parser: _ }, { code: 110, name: "ucsOrigin", parser: _ }, { code: 74, name: "ucsIconSetting", parser: h }, { code: 71, name: "viewMode", parser: h }, { code: 281, name: "renderMode", parser: h }, { code: 1, name: "styleSheet", parser: h }, { code: [331, 441], name: "frozenLayers", parser: h, isMultiple: !0 }, { code: 72, name: "circleSides", parser: h }, { code: 51, name: "viewTwistAngle", parser: h }, { code: 50, name: "snapRotationAngle", parser: h }, { code: 45, name: "viewHeight", parser: h }, { code: 44, name: "backClippingPlane", parser: h }, { code: 43, name: "frontClippingPlane", parser: h }, { code: 42, name: "lensLength", parser: h }, { code: 17, name: "viewTarget", parser: _ }, { code: 16, name: "viewDirectionFromTarget", parser: _ }, { code: 15, name: "gridSpacing", parser: _ }, { code: 14, name: "snapSpacing", parser: _ }, { code: 13, name: "snapBasePoint", parser: _ }, { code: 12, name: "center", parser: _ }, { code: 11, name: "upperRightCorner", parser: _ }, { code: 10, name: "lowerLeftCorner", parser: _ }, { code: 70, name: "standardFlag", parser: h }, { code: 2, name: "name", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...re]), Xd = { APPID: Cd, BLOCK_RECORD: Bd, DIMSTYLE: Fd, LAYER: Rd, LTYPE: Vd, STYLE: jd, UCS: Dd, VIEW: Hd, VPORT: Ud }, Yd = S([{ code: 70, name: "maxNumberOfEntries", parser: h }, { code: 100, name: "subclassMarker", parser: h }, { code: 330, name: "ownerObjectId", parser: h }, { code: 102, parser: Rt }, { code: 102, parser: Rt }, { code: 102, parser: Rt }, { code: 360, isMultiple: !0 }, { code: 5, name: "handle", parser: h }, { code: 2, name: "name", parser: h }]);
15688
+ function $d(i, t) {
15604
15689
  var s;
15605
15690
  let e = {};
15606
15691
  for (; !O(i, 0, "EOF") && !O(i, 0, "ENDSEC"); ) {
15607
15692
  if (O(i, 0, "TABLE")) {
15608
15693
  i = t.next();
15609
15694
  let n = { entries: [] };
15610
- Hd(i, t, n), e[n.name] = n;
15695
+ Yd(i, t, n), e[n.name] = n;
15611
15696
  }
15612
15697
  if (O(i, 0) && !O(i, 0, "ENDTAB")) {
15613
15698
  let n = i.value;
15614
15699
  i = t.next();
15615
- let r = Gd[n];
15700
+ let r = Xd[n];
15616
15701
  if (!r) {
15617
15702
  t.debug, i = t.next();
15618
15703
  continue;
@@ -15624,18 +15709,18 @@ function Ud(i, t) {
15624
15709
  }
15625
15710
  return e;
15626
15711
  }
15627
- function Xd(i, t) {
15712
+ function qd(i, t) {
15628
15713
  let e = {};
15629
15714
  for (; !O(i, 0, "EOF") && !O(i, 0, "ENDSEC"); ) {
15630
15715
  if (O(i, 0, "BLOCK")) {
15631
- let s = Yd(i = t.next(), t);
15632
- Ko(s), s.name && (e[s.name] = s);
15716
+ let s = Kd(i = t.next(), t);
15717
+ Zo(s), s.name && (e[s.name] = s);
15633
15718
  }
15634
15719
  i = t.next();
15635
15720
  }
15636
15721
  return e;
15637
15722
  }
15638
- function Yd(i, t) {
15723
+ function Kd(i, t) {
15639
15724
  let e = {};
15640
15725
  for (; !O(i, 0, "EOF"); ) {
15641
15726
  if (O(i, 0, "ENDBLK")) {
@@ -15676,16 +15761,16 @@ function Yd(i, t) {
15676
15761
  e.ownerHandle = i.value;
15677
15762
  break;
15678
15763
  case 0:
15679
- e.entities = Zo(i, t);
15764
+ e.entities = Qo(i, t);
15680
15765
  }
15681
15766
  i = t.next();
15682
15767
  }
15683
15768
  return e;
15684
15769
  }
15685
- let An = [{ code: 330, name: "ownerObjectId", parser: h }, { code: 102, parser: Rt }, { code: 102, parser: Rt }, { code: 102, parser: Rt }, { code: 5, name: "handle", parser: h }], Qo = [{ code: 333, name: "shadePlotId", parser: h }, { code: 149, name: "imageOriginY", parser: h }, { code: 148, name: "imageOriginX", parser: h }, { code: 147, name: "scaleFactor", parser: h }, { code: 78, name: "shadePlotCustomDPI", parser: h }, { code: 77, name: "shadePlotResolution", parser: h }, { code: 76, name: "shadePlotMode", parser: h }, { code: 75, name: "standardScaleType", parser: h }, { code: 7, name: "currentStyleSheet", parser: h }, { code: 74, name: "plotType", parser: h }, { code: 73, name: "plotRotation", parser: h }, { code: 72, name: "plotPaperUnit", parser: h }, { code: 70, name: "layoutFlag", parser: h }, { code: 143, name: "printScaleDenominator", parser: h }, { code: 142, name: "printScaleNumerator", parser: h }, { code: 141, name: "windowAreaYMax", parser: h }, { code: 140, name: "windowAreaXMax", parser: h }, { code: 49, name: "windowAreaYMin", parser: h }, { code: 48, name: "windowAreaXMin", parser: h }, { code: 47, name: "plotOriginY", parser: h }, { code: 46, name: "plotOriginX", parser: h }, { code: 45, name: "paperHeight", parser: h }, { code: 44, name: "paperWidth", parser: h }, { code: 43, name: "marginTop", parser: h }, { code: 42, name: "marginRight", parser: h }, { code: 41, name: "marginBottom", parser: h }, { code: 40, name: "marginLeft", parser: h }, { code: 6, name: "plotViewName", parser: h }, { code: 4, name: "paperSize", parser: h }, { code: 2, name: "configName", parser: h }, { code: 1, name: "pageSetupName", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...An], $d = [{ code: 346, name: "orthographicUcsId", parser: h }, { code: 345, name: "namedUcsId", parser: h }, { code: 331, name: "viewportId", parser: h }, { code: 330, name: "paperSpaceTableId", parser: h }, { code: 76, name: "orthographicType", parser: h }, { code: 17, name: "ucsYAxis", parser: _ }, { code: 16, name: "ucsXAxis", parser: _ }, { code: 13, name: "ucsOrigin", parser: _ }, { code: 146, name: "elevation", parser: h }, { code: 15, name: "maxExtent", parser: _ }, { code: 14, name: "minExtent", parser: _ }, { code: 12, name: "insertionPoint", parser: _ }, { code: 11, name: "maxLimit", parser: _ }, { code: 10, name: "minLimit", parser: _ }, { code: 71, name: "tabOrder", parser: h }, { code: 70, name: "controlFlag", parser: h }, { code: 1, name: "layoutName", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...Qo], qd = [{ code: 3, name: "entries", parser: (i, t) => {
15770
+ let An = [{ code: 330, name: "ownerObjectId", parser: h }, { code: 102, parser: Rt }, { code: 102, parser: Rt }, { code: 102, parser: Rt }, { code: 5, name: "handle", parser: h }], Jo = [{ code: 333, name: "shadePlotId", parser: h }, { code: 149, name: "imageOriginY", parser: h }, { code: 148, name: "imageOriginX", parser: h }, { code: 147, name: "scaleFactor", parser: h }, { code: 78, name: "shadePlotCustomDPI", parser: h }, { code: 77, name: "shadePlotResolution", parser: h }, { code: 76, name: "shadePlotMode", parser: h }, { code: 75, name: "standardScaleType", parser: h }, { code: 7, name: "currentStyleSheet", parser: h }, { code: 74, name: "plotType", parser: h }, { code: 73, name: "plotRotation", parser: h }, { code: 72, name: "plotPaperUnit", parser: h }, { code: 70, name: "layoutFlag", parser: h }, { code: 143, name: "printScaleDenominator", parser: h }, { code: 142, name: "printScaleNumerator", parser: h }, { code: 141, name: "windowAreaYMax", parser: h }, { code: 140, name: "windowAreaXMax", parser: h }, { code: 49, name: "windowAreaYMin", parser: h }, { code: 48, name: "windowAreaXMin", parser: h }, { code: 47, name: "plotOriginY", parser: h }, { code: 46, name: "plotOriginX", parser: h }, { code: 45, name: "paperHeight", parser: h }, { code: 44, name: "paperWidth", parser: h }, { code: 43, name: "marginTop", parser: h }, { code: 42, name: "marginRight", parser: h }, { code: 41, name: "marginBottom", parser: h }, { code: 40, name: "marginLeft", parser: h }, { code: 6, name: "plotViewName", parser: h }, { code: 4, name: "paperSize", parser: h }, { code: 2, name: "configName", parser: h }, { code: 1, name: "pageSetupName", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...An], Zd = [{ code: 346, name: "orthographicUcsId", parser: h }, { code: 345, name: "namedUcsId", parser: h }, { code: 331, name: "viewportId", parser: h }, { code: 330, name: "paperSpaceTableId", parser: h }, { code: 76, name: "orthographicType", parser: h }, { code: 17, name: "ucsYAxis", parser: _ }, { code: 16, name: "ucsXAxis", parser: _ }, { code: 13, name: "ucsOrigin", parser: _ }, { code: 146, name: "elevation", parser: h }, { code: 15, name: "maxExtent", parser: _ }, { code: 14, name: "minExtent", parser: _ }, { code: 12, name: "insertionPoint", parser: _ }, { code: 11, name: "maxLimit", parser: _ }, { code: 10, name: "minLimit", parser: _ }, { code: 71, name: "tabOrder", parser: h }, { code: 70, name: "controlFlag", parser: h }, { code: 1, name: "layoutName", parser: h }, { code: 100, name: "subclassMarker", parser: h }, ...Jo], Qd = [{ code: 3, name: "entries", parser: (i, t) => {
15686
15771
  let e = { name: i.value };
15687
15772
  return (i = t.next()).code === 350 ? e.objectSoftId = i.value : i.code === 360 ? e.objectHardId = i.value : t.rewind(), e;
15688
- }, isMultiple: !0 }, { code: 281, name: "recordCloneFlag", parser: h }, { code: 280, name: "isHardOwned", parser: N }, { code: 100, name: "subclassMarker", parser: h }, ...An], Kd = [{ code: 40, name: "wcsToOCSTransform", parser: Ur }, { code: 40, name: "ocsToWCSTransform", parser: Ur }, { code: 41, name: "backClippingDistance", parser: h }, { code: 73, name: "isBackClipping", parser: N, pushContext: !0 }, { code: 40, name: "frontClippingDistance", parser: h }, { code: 72, name: "isFrontClipping", parser: N, pushContext: !0 }, { code: 71, name: "isClipBoundaryDisplayed", parser: N }, { code: 11, name: "position", parser: _ }, { code: 210, name: "normal", parser: _ }, { code: 10, name: "boundaryVertices", parser: _, isMultiple: !0 }, { code: 70, name: "boundaryCount", parser: h }, { code: 100, name: "subclassMarker", parser: h }, { code: 100 }, ...An];
15773
+ }, isMultiple: !0 }, { code: 281, name: "recordCloneFlag", parser: h }, { code: 280, name: "isHardOwned", parser: N }, { code: 100, name: "subclassMarker", parser: h }, ...An], Jd = [{ code: 40, name: "wcsToOCSTransform", parser: Ur }, { code: 40, name: "ocsToWCSTransform", parser: Ur }, { code: 41, name: "backClippingDistance", parser: h }, { code: 73, name: "isBackClipping", parser: N, pushContext: !0 }, { code: 40, name: "frontClippingDistance", parser: h }, { code: 72, name: "isFrontClipping", parser: N, pushContext: !0 }, { code: 71, name: "isClipBoundaryDisplayed", parser: N }, { code: 11, name: "position", parser: _ }, { code: 210, name: "normal", parser: _ }, { code: 10, name: "boundaryVertices", parser: _, isMultiple: !0 }, { code: 70, name: "boundaryCount", parser: h }, { code: 100, name: "subclassMarker", parser: h }, { code: 100 }, ...An];
15689
15774
  function Ur(i, t) {
15690
15775
  let e = [];
15691
15776
  for (let s = 0; s < 3 && O(i, 40); ++s) {
@@ -15695,27 +15780,27 @@ function Ur(i, t) {
15695
15780
  }
15696
15781
  return t.rewind(), e;
15697
15782
  }
15698
- let Zd = [{ code: 330, name: "imageDefReactorIdSoft", isMultiple: !0, parser: h }, { code: 90, name: "version", parser: h }, { code: 1, name: "fileName", parser: h }, { code: 10, name: "size", parser: _ }, { code: 11, name: "sizeOfOnePixel", parser: _ }, { code: 280, name: "isLoaded", parser: h }, { code: 281, name: "resolutionUnits", parser: h }, { code: 100, name: "subclassMarker", parser: h }], Qd = { LAYOUT: $d, PLOTSETTINGS: Qo, DICTIONARY: qd, SPATIAL_FILTER: Kd, IMAGEDEF: Zd };
15699
- function Jd(i, t) {
15783
+ let tu = [{ code: 330, name: "imageDefReactorIdSoft", isMultiple: !0, parser: h }, { code: 90, name: "version", parser: h }, { code: 1, name: "fileName", parser: h }, { code: 10, name: "size", parser: _ }, { code: 11, name: "sizeOfOnePixel", parser: _ }, { code: 280, name: "isLoaded", parser: h }, { code: 281, name: "resolutionUnits", parser: h }, { code: 100, name: "subclassMarker", parser: h }], eu = { LAYOUT: Zd, PLOTSETTINGS: Jo, DICTIONARY: Qd, SPATIAL_FILTER: Jd, IMAGEDEF: tu };
15784
+ function su(i, t) {
15700
15785
  let e = [];
15701
15786
  for (; i.code !== 0 || !["EOF", "ENDSEC"].includes(i.value); ) {
15702
- let s = i.value, n = Qd[s];
15787
+ let s = i.value, n = eu[s];
15703
15788
  if (i.code === 0 && (n != null && n.length)) {
15704
- let r = E(n), a = { name: s };
15789
+ let r = S(n), a = { name: s };
15705
15790
  r(i = t.next(), t, a) ? (e.push(a), i = t.peek()) : i = t.next();
15706
15791
  } else i = t.next();
15707
15792
  }
15708
- return { byName: gc(e, ({ name: s }) => s) };
15793
+ return { byName: yc(e, ({ name: s }) => s) };
15709
15794
  }
15710
15795
  function xs(i, t, e) {
15711
15796
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
15712
15797
  }
15713
- class tu {
15798
+ class iu {
15714
15799
  constructor() {
15715
15800
  xs(this, "encoding", "utf-8"), xs(this, "encodingFailureFatal", !1), xs(this, "thumbnailImageFormat", "base64");
15716
15801
  }
15717
15802
  }
15718
- class eu extends EventTarget {
15803
+ class nu extends EventTarget {
15719
15804
  parseSync(t, e = !1) {
15720
15805
  let s = new Gr(t.split(/\r\n|\r|\n/g), e);
15721
15806
  if (!s.hasNext()) throw Error("Empty file");
@@ -15755,7 +15840,7 @@ class eu extends EventTarget {
15755
15840
  }
15756
15841
  parseAll(t) {
15757
15842
  let e = { header: {}, blocks: {}, entities: [], tables: {}, objects: { byName: {}, byTree: void 0 } }, s = t.next();
15758
- for (; !O(s, 0, "EOF"); ) O(s, 0, "SECTION") && (O(s = t.next(), 2, "HEADER") ? e.header = vd(s = t.next(), t) : O(s, 2, "CLASSES") ? Jl(s = t.next(), t, e) : O(s, 2, "BLOCKS") ? e.blocks = Xd(s = t.next(), t) : O(s, 2, "ENTITIES") ? e.entities = Zo(s = t.next(), t) : O(s, 2, "TABLES") ? e.tables = Ud(s = t.next(), t) : O(s, 2, "OBJECTS") ? e.objects = Jd(s = t.next(), t) : O(s, 2, "THUMBNAILIMAGE") && (e.thumbnailImage = function(n, r, a = "base64") {
15843
+ for (; !O(s, 0, "EOF"); ) O(s, 0, "SECTION") && (O(s = t.next(), 2, "HEADER") ? e.header = Nd(s = t.next(), t) : O(s, 2, "CLASSES") ? ec(s = t.next(), t, e) : O(s, 2, "BLOCKS") ? e.blocks = qd(s = t.next(), t) : O(s, 2, "ENTITIES") ? e.entities = Qo(s = t.next(), t) : O(s, 2, "TABLES") ? e.tables = $d(s = t.next(), t) : O(s, 2, "OBJECTS") ? e.objects = su(s = t.next(), t) : O(s, 2, "THUMBNAILIMAGE") && (e.thumbnailImage = function(n, r, a = "base64") {
15759
15844
  let o, l = "", c = 0;
15760
15845
  for (; !O(n, 0, "EOF") && !O(n, 0, "ENDSEC"); ) n.code === 90 ? c = n.value : n.code === 310 && (l += n.value), n = r.next();
15761
15846
  if (a === "hex") o = l;
@@ -15777,7 +15862,7 @@ class eu extends EventTarget {
15777
15862
  }
15778
15863
  constructor(t = {}) {
15779
15864
  super(), xs(this, "_decoder", void 0), xs(this, "_options", void 0);
15780
- let e = new tu();
15865
+ let e = new iu();
15781
15866
  this._options = Object.assign(e, t), this._decoder = new TextDecoder(this._options.encoding, { fatal: this._options.encodingFailureFatal });
15782
15867
  }
15783
15868
  }
@@ -15791,10 +15876,10 @@ class eu extends EventTarget {
15791
15876
  (Jt = {})[Jt.NONE = 0] = "NONE", Jt[Jt.AbsoluteRotation = 1] = "AbsoluteRotation", Jt[Jt.TextEmbedded = 2] = "TextEmbedded", Jt[Jt.ShapeEmbedded = 4] = "ShapeEmbedded";
15792
15877
  (Vi = {})[Vi.PaperSpace = 1] = "PaperSpace";
15793
15878
  (Oe = {})[Oe.XrefDependent = 16] = "XrefDependent", Oe[Oe.XrefResolved = 32] = "XrefResolved", Oe[Oe.Referenced = 64] = "Referenced";
15794
- (Et = {})[Et.Off = 0] = "Off", Et[Et.Perspective = 1] = "Perspective", Et[Et.ClipFront = 2] = "ClipFront", Et[Et.ClipBack = 4] = "ClipBack", Et[Et.UcsFollow = 8] = "UcsFollow", Et[Et.ClipFrontByFrontZ = 16] = "ClipFrontByFrontZ";
15795
- class su {
15879
+ (St = {})[St.Off = 0] = "Off", St[St.Perspective = 1] = "Perspective", St[St.ClipFront = 2] = "ClipFront", St[St.ClipBack = 4] = "ClipBack", St[St.UcsFollow = 8] = "UcsFollow", St[St.ClipFrontByFrontZ = 16] = "ClipFrontByFrontZ";
15880
+ class ru {
15796
15881
  parse(t) {
15797
- const e = new eu(), s = this.getDxfInfoFromBuffer(t);
15882
+ const e = new nu(), s = this.getDxfInfoFromBuffer(t);
15798
15883
  let n = "";
15799
15884
  return s.version && s.version.value <= 23 && s.encoding ? n = new TextDecoder(s.encoding).decode(t) : n = new TextDecoder().decode(t), e.parseSync(n);
15800
15885
  }
@@ -15820,7 +15905,7 @@ class su {
15820
15905
  const P = (d = y[x + 2]) == null ? void 0 : d.trim();
15821
15906
  if (P) {
15822
15907
  const I = ia[P];
15823
- o = _h(I);
15908
+ o = wh(I);
15824
15909
  }
15825
15910
  }
15826
15911
  if (a && o)
@@ -15925,7 +16010,7 @@ class Xr {
15925
16010
  var u;
15926
16011
  const e = !!(t.flag & 1), s = !!(t.flag & 8), n = !!(t.flag & 16), r = !!(t.flag & 64), a = !!(t.flag & 32), o = [], l = [], c = [];
15927
16012
  if ((u = t.vertices) == null || u.map((d) => {
15928
- d.flag & Id.SPLINE_CONTROL_POINT || (r && d.flag & 128 ? d.flag & 64 ? (o.push({
16013
+ d.flag & Ed.SPLINE_CONTROL_POINT || (r && d.flag & 128 ? d.flag & 64 ? (o.push({
15929
16014
  x: d.x,
15930
16015
  y: d.y,
15931
16016
  z: d.z
@@ -15975,14 +16060,14 @@ class Xr {
15975
16060
  convertHatch(t) {
15976
16061
  var n;
15977
16062
  const e = new oi();
15978
- return (n = t.definitionLines) == null || n.forEach((r) => {
16063
+ if ((n = t.definitionLines) == null || n.forEach((r) => {
15979
16064
  e.definitionLines.push({
15980
16065
  angle: v.degToRad(r.angle || 0),
15981
16066
  base: r.base,
15982
16067
  offset: r.offset,
15983
16068
  dashLengths: r.numberOfDashLengths > 0 ? r.dashLengths : []
15984
16069
  });
15985
- }), e.isSolidFill = t.solidFill == Ul.SolidFill, e.hatchStyle = t.hatchStyle, e.patternName = t.patternName, e.patternType = t.patternType, e.patternAngle = t.patternAngle == null ? 0 : v.degToRad(t.patternAngle), e.patternScale = t.patternScale == null ? 0 : t.patternScale, t.boundaryPaths.forEach((r) => {
16070
+ }), e.isSolidFill = t.solidFill == Yl.SolidFill, e.hatchStyle = t.hatchStyle, e.patternName = t.patternName, e.patternType = t.patternType, e.patternAngle = t.patternAngle == null ? 0 : v.degToRad(t.patternAngle), e.patternScale = t.patternScale == null ? 0 : t.patternScale, t.boundaryPaths.forEach((r) => {
15986
16071
  if (r.boundaryPathTypeFlag & 2) {
15987
16072
  const o = r, l = new At();
15988
16073
  l.closed = o.isClosed, o.vertices.forEach((c, u) => {
@@ -16060,7 +16145,14 @@ class Xr {
16060
16145
  const c = ai.buildFromEdges(l);
16061
16146
  c.length == 0 && l.length > 0 ? e.add(new ai(l)) : c.forEach((u) => e.add(u));
16062
16147
  }
16063
- }), e;
16148
+ }), t.gradientFlag) {
16149
+ const r = t;
16150
+ if (e.hatchObjectType = Na.GradientObject, e.gradientName = r.gradientName, e.gradientAngle = r.gradientRotation ?? 0, e.gradientShift = r.gradientDefinition ?? 0, e.gradientOneColorMode = r.gradientColorFlag == 1, e.shadeTintValue = r.colorTint ?? 0, r.gradientColors) {
16151
+ const a = r.gradientColors.length;
16152
+ a > 1 ? (e.gradientStartColor = r.gradientColors[0].rgb, e.gradientEndColor = r.gradientColors[1].rgb) : a > 0 && (e.gradientStartColor = r.gradientColors[0].rgb);
16153
+ }
16154
+ }
16155
+ return e;
16064
16156
  }
16065
16157
  convertTable(t) {
16066
16158
  const e = new rn(
@@ -16187,7 +16279,7 @@ class Xr {
16187
16279
  e.layer = t.layer || "0", t.handle && (e.objectId = t.handle.toString()), e.ownerId = t.ownerBlockRecordSoftId || "", t.lineType != null && (e.lineType = t.lineType), t.lineweight != null && (e.lineWeight = t.lineweight), t.lineTypeScale != null && (e.linetypeScale = t.lineTypeScale), t.color != null && e.color.setRGBValue(t.color), t.colorIndex != null && (e.color.colorIndex = t.colorIndex), t.colorName && (e.color.colorName = t.colorName), t.isVisible != null && (e.visibility = !t.isVisible), t.transparency != null && (e.transparency = In.deserialize(t.transparency));
16188
16280
  }
16189
16281
  }
16190
- class iu {
16282
+ class au {
16191
16283
  convertLayout(t, e) {
16192
16284
  var r, a;
16193
16285
  const s = new Ii();
@@ -16247,14 +16339,14 @@ class iu {
16247
16339
  return t.minLimit && s.limits.min.copy(t.minLimit), t.maxLimit && s.limits.max.copy(t.maxLimit), t.minExtent && s.extents.min.copy(t.minExtent), t.maxExtent && s.extents.max.copy(t.maxExtent), this.processCommonAttrs(t, s), s;
16248
16340
  }
16249
16341
  convertImageDef(t) {
16250
- const e = new Il();
16342
+ const e = new Sl();
16251
16343
  return e.sourceFileName = t.fileName, this.processCommonAttrs(t, e), e;
16252
16344
  }
16253
16345
  processCommonAttrs(t, e) {
16254
16346
  e.objectId = t.handle, t.ownerObjectId != null && (e.ownerId = t.ownerObjectId);
16255
16347
  }
16256
16348
  }
16257
- class nu {
16349
+ class ou {
16258
16350
  constructor(t) {
16259
16351
  this.taskId = 0, this.workers = /* @__PURE__ */ new Map(), this.pendingTasks = /* @__PURE__ */ new Map(), this.config = {
16260
16352
  workerUrl: t.workerUrl,
@@ -16374,9 +16466,9 @@ class nu {
16374
16466
  this.workers.clear();
16375
16467
  }
16376
16468
  }
16377
- class ru {
16469
+ class hu {
16378
16470
  constructor(t) {
16379
- this.framework = new nu(t);
16471
+ this.framework = new ou(t);
16380
16472
  }
16381
16473
  async execute(t, e) {
16382
16474
  return this.framework.execute(t, e);
@@ -16388,10 +16480,10 @@ class ru {
16388
16480
  this.framework.destroy();
16389
16481
  }
16390
16482
  }
16391
- function au(i) {
16392
- return new ru(i);
16483
+ function lu(i) {
16484
+ return new hu(i);
16393
16485
  }
16394
- class Vu {
16486
+ class Wu {
16395
16487
  constructor() {
16396
16488
  this.setupMessageHandler();
16397
16489
  }
@@ -16421,14 +16513,14 @@ class Vu {
16421
16513
  self.postMessage(r);
16422
16514
  }
16423
16515
  }
16424
- class ou extends Fa {
16516
+ class cu extends Ra {
16425
16517
  constructor(t = {}) {
16426
16518
  super(t), t.parserWorkerUrl || (t.parserWorkerUrl = "/assets/dxf-parser-worker.js");
16427
16519
  }
16428
16520
  async parse(t, e) {
16429
16521
  const s = this.config, n = this.getParserWorkerTimeout(t, e);
16430
16522
  if (s.useWorker && s.parserWorkerUrl) {
16431
- const r = au({
16523
+ const r = lu({
16432
16524
  workerUrl: s.parserWorkerUrl,
16433
16525
  timeout: n,
16434
16526
  maxConcurrentWorkers: 1
@@ -16445,7 +16537,7 @@ class ou extends Fa {
16445
16537
  );
16446
16538
  } else
16447
16539
  return {
16448
- model: new su().parse(t),
16540
+ model: new ru().parse(t),
16449
16541
  data: {
16450
16542
  unknownEntityCount: 0
16451
16543
  }
@@ -16573,7 +16665,7 @@ class ou extends Fa {
16573
16665
  }));
16574
16666
  }
16575
16667
  processObjects(t, e) {
16576
- const s = t.objects.byName, n = new iu();
16668
+ const s = t.objects.byName, n = new au();
16577
16669
  if ("LAYOUT" in s) {
16578
16670
  const r = e.objects.layout;
16579
16671
  s.LAYOUT.forEach((a) => {
@@ -16601,7 +16693,7 @@ class ou extends Fa {
16601
16693
  this.processCommonTableAttrs(s, e.tables.viewportTable);
16602
16694
  const r = s.entries;
16603
16695
  r && r.length > 0 && r.forEach((a) => {
16604
- const o = new Ca();
16696
+ const o = new Ba();
16605
16697
  this.processCommonTableEntryAttrs(a, o), a.circleSides && (o.circleSides = a.circleSides), o.standardFlag = a.standardFlag, o.center.copy(a.center), o.lowerLeftCorner.copy(a.lowerLeftCorner), o.upperRightCorner.copy(a.upperRightCorner), a.snapBasePoint && o.snapBase.copy(a.snapBasePoint), a.snapRotationAngle && (o.snapAngle = a.snapRotationAngle), a.snapSpacing && o.snapIncrements.copy(a.snapSpacing), a.majorGridLines && (o.gridMajor = a.majorGridLines), a.gridSpacing && o.gridIncrements.copy(a.gridSpacing), a.backgroundObjectId && (o.backgroundObjectId = a.backgroundObjectId), o.gsView.center.copy(a.center), o.gsView.viewDirectionFromTarget.copy(
16606
16698
  a.viewDirectionFromTarget
16607
16699
  ), o.gsView.viewTarget.copy(a.viewTarget), a.lensLength && (o.gsView.lensLength = a.lensLength), a.frontClippingPlane && (o.gsView.frontClippingPlane = a.frontClippingPlane), a.backClippingPlane && (o.gsView.backClippingPlane = a.backClippingPlane), a.viewHeight && (o.gsView.viewHeight = a.viewHeight), a.viewTwistAngle && (o.gsView.viewTwistAngle = a.viewTwistAngle), a.frozenLayers && (o.gsView.frozenLayers = a.frozenLayers), a.styleSheet && (o.gsView.styleSheet = a.styleSheet), a.renderMode && (o.gsView.renderMode = a.renderMode), a.viewMode && (o.gsView.viewMode = a.viewMode), a.ucsIconSetting && (o.gsView.ucsIconSetting = a.ucsIconSetting), a.ucsOrigin && o.gsView.ucsOrigin.copy(a.ucsOrigin), a.ucsXAxis && o.gsView.ucsXAxis.copy(a.ucsXAxis), a.ucsYAxis && o.gsView.ucsYAxis.copy(a.ucsYAxis), a.orthographicType && (o.gsView.orthographicType = a.orthographicType), a.shadePlotSetting && (o.gsView.shadePlotSetting = a.shadePlotSetting), a.shadePlotObjectId && (o.gsView.shadePlotObjectId = a.shadePlotObjectId), a.visualStyleObjectId && (o.gsView.visualStyleObjectId = a.visualStyleObjectId), a.isDefaultLightingOn && (o.gsView.isDefaultLightingOn = a.isDefaultLightingOn), a.defaultLightingType && (o.gsView.defaultLightingType = a.defaultLightingType), a.brightness && (o.gsView.brightness = a.brightness), a.contrast && (o.gsView.contrast = a.contrast), a.ambientColor && (o.gsView.ambientColor = a.ambientColor), e.tables.viewportTable.add(o);
@@ -16617,7 +16709,7 @@ class ou extends Fa {
16617
16709
  r && r.length > 0 && r.forEach((a) => {
16618
16710
  const o = new nt();
16619
16711
  o.colorIndex = a.colorIndex;
16620
- const l = new En({
16712
+ const l = new Sn({
16621
16713
  name: a.name,
16622
16714
  standardFlags: a.standardFlag,
16623
16715
  linetype: a.lineType,
@@ -16649,7 +16741,7 @@ class ou extends Fa {
16649
16741
  this.processCommonTableAttrs(s, e.tables.textStyleTable);
16650
16742
  const r = s.entries;
16651
16743
  r && r.length > 0 && r.forEach((a) => {
16652
- const o = new Sn(a);
16744
+ const o = new En(a);
16653
16745
  this.processCommonTableEntryAttrs(a, o), e.tables.textStyleTable.add(o);
16654
16746
  });
16655
16747
  }
@@ -16748,7 +16840,7 @@ class ou extends Fa {
16748
16840
  return s.flatMap((n) => e[n]);
16749
16841
  }
16750
16842
  }
16751
- class hu extends Fa {
16843
+ class du extends Ra {
16752
16844
  constructor(t) {
16753
16845
  super({}), this._database = t;
16754
16846
  }
@@ -16842,30 +16934,30 @@ class hu extends Fa {
16842
16934
  }
16843
16935
  export {
16844
16936
  wr as ACAD_APPID,
16845
- Fu as AC_DB_SYSTEM_VARIABLE_NAMES,
16937
+ zu as AC_DB_SYSTEM_VARIABLE_NAMES,
16846
16938
  nt as AcCmColor,
16847
- S as AcCmColorMethod,
16939
+ E as AcCmColorMethod,
16848
16940
  ye as AcCmColorUtil,
16849
- cu as AcCmEntityColor,
16941
+ pu as AcCmEntityColor,
16850
16942
  Mt as AcCmErrors,
16851
- du as AcCmEventDispatcher,
16943
+ gu as AcCmEventDispatcher,
16852
16944
  K as AcCmEventManager,
16853
- wu as AcCmLoader,
16854
- ch as AcCmLoadingManager,
16855
- oh as AcCmObject,
16945
+ bu as AcCmLoader,
16946
+ dh as AcCmLoadingManager,
16947
+ hh as AcCmObject,
16856
16948
  Zr as AcCmPerformanceCollector,
16857
- hh as AcCmTask,
16858
- lh as AcCmTaskScheduler,
16949
+ lh as AcCmTask,
16950
+ ch as AcCmTaskScheduler,
16859
16951
  In as AcCmTransparency,
16860
16952
  pt as AcCmTransparencyMethod,
16861
16953
  qi as AcDb2dPolyline,
16862
16954
  Lr as AcDb2dVertex,
16863
- Kh as AcDb2dVertexType,
16955
+ Zh as AcDb2dVertexType,
16864
16956
  _n as AcDb3PointAngularDimension,
16865
16957
  Ki as AcDb3dPolyline,
16866
16958
  Nr as AcDb3dVertex,
16867
- Zh as AcDb3dVertexType,
16868
- Oa as AcDbAbstractViewTableRecord,
16959
+ Qh as AcDb3dVertexType,
16960
+ Ca as AcDbAbstractViewTableRecord,
16869
16961
  ui as AcDbAlignedDimension,
16870
16962
  sa as AcDbAngleUnits,
16871
16963
  Zi as AcDbArc,
@@ -16874,85 +16966,87 @@ export {
16874
16966
  Qi as AcDbAttributeDefinition,
16875
16967
  st as AcDbAttributeFlags,
16876
16968
  se as AcDbAttributeMTextFlag,
16877
- Vu as AcDbBaseWorker,
16969
+ Wu as AcDbBaseWorker,
16878
16970
  ea as AcDbBatchProcessing,
16879
16971
  Ue as AcDbBlockReference,
16880
- fl as AcDbBlockScaling,
16881
- Ml as AcDbBlockTable,
16972
+ Il as AcDbBlockScaling,
16973
+ Al as AcDbBlockTable,
16882
16974
  Z as AcDbBlockTableRecord,
16883
16975
  tn as AcDbCircle,
16884
16976
  ia as AcDbCodePage,
16885
16977
  at as AcDbCurve,
16886
- El as AcDbDataGenerator,
16887
- Ru as AcDbDatabase,
16888
- Fa as AcDbDatabaseConverter,
16978
+ Ml as AcDbDataGenerator,
16979
+ Vu as AcDbDatabase,
16980
+ Ra as AcDbDatabaseConverter,
16889
16981
  ee as AcDbDatabaseConverterManager,
16890
16982
  wn as AcDbDiametricDimension,
16891
16983
  Ks as AcDbDictionary,
16892
- Sl as AcDbDimArrowType,
16893
- Tl as AcDbDimStyleTable,
16984
+ Tl as AcDbDimArrowType,
16985
+ vl as AcDbDimStyleTable,
16894
16986
  Xe as AcDbDimStyleTableRecord,
16895
- Al as AcDbDimTextHorizontal,
16896
- vl as AcDbDimTextVertical,
16897
- Nl as AcDbDimVerticalJustification,
16898
- kl as AcDbDimZeroSuppression,
16899
- Ll as AcDbDimZeroSuppressionAngular,
16987
+ kl as AcDbDimTextHorizontal,
16988
+ Ll as AcDbDimTextVertical,
16989
+ Cl as AcDbDimVerticalJustification,
16990
+ Nl as AcDbDimZeroSuppression,
16991
+ Ol as AcDbDimZeroSuppressionAngular,
16900
16992
  ce as AcDbDimension,
16901
- Pl as AcDbDuplicateRecordCloning,
16993
+ El as AcDbDuplicateRecordCloning,
16902
16994
  Ct as AcDbDwgVersion,
16903
16995
  Yr as AcDbDxfCode,
16904
- ou as AcDbDxfConverter,
16905
- Jo as AcDbDxfFiler,
16996
+ cu as AcDbDxfConverter,
16997
+ th as AcDbDxfFiler,
16906
16998
  en as AcDbEllipse,
16907
16999
  mt as AcDbEntity,
16908
17000
  sn as AcDbFace,
16909
17001
  Gs as AcDbFileType,
17002
+ sl as AcDbGradientPatternType,
16910
17003
  oi as AcDbHatch,
17004
+ Na as AcDbHatchObjectType,
16911
17005
  qs as AcDbHatchPatternType,
16912
- tl as AcDbHatchStyle,
17006
+ el as AcDbHatchStyle,
16913
17007
  Gi as AcDbHostApplicationServices,
16914
- Ol as AcDbLayerTable,
16915
- En as AcDbLayerTableRecord,
17008
+ Bl as AcDbLayerTable,
17009
+ Sn as AcDbLayerTableRecord,
16916
17010
  Ii as AcDbLayout,
16917
- xl as AcDbLayoutDictionary,
16918
- bl as AcDbLayoutManager,
17011
+ bl as AcDbLayoutDictionary,
17012
+ Pl as AcDbLayoutManager,
16919
17013
  nn as AcDbLeader,
16920
- el as AcDbLeaderAnnotationType,
17014
+ il as AcDbLeaderAnnotationType,
16921
17015
  hi as AcDbLine,
16922
17016
  yn as AcDbLineSpacingStyle,
16923
- Cl as AcDbLinetypeTable,
17017
+ Fl as AcDbLinetypeTable,
16924
17018
  Fe as AcDbLinetypeTableRecord,
16925
17019
  li as AcDbMText,
16926
17020
  ue as AcDbObject,
16927
17021
  Pi as AcDbObjectIterator,
16928
- mh as AcDbOpenMode,
17022
+ yh as AcDbOpenMode,
16929
17023
  xn as AcDbOrdinateDimension,
16930
17024
  V as AcDbOsnapMode,
16931
- pl as AcDbPlotPaperUnits,
16932
- gl as AcDbPlotRotation,
16933
- wl as AcDbPlotSettings,
17025
+ ml as AcDbPlotPaperUnits,
17026
+ yl as AcDbPlotRotation,
17027
+ fl as AcDbPlotSettings,
16934
17028
  Ce as AcDbPlotShadePlotResLevel,
16935
17029
  gs as AcDbPlotShadePlotType,
16936
- yl as AcDbPlotStdScaleType,
16937
- ml as AcDbPlotType,
17030
+ wl as AcDbPlotStdScaleType,
17031
+ _l as AcDbPlotType,
16938
17032
  ln as AcDbPoint,
16939
17033
  ps as AcDbPoly2dType,
16940
17034
  $s as AcDbPoly3dType,
16941
17035
  mn as AcDbPolyFaceMesh,
16942
- ul as AcDbPolyFaceMeshFace,
16943
- dl as AcDbPolyFaceMeshVertex,
17036
+ gl as AcDbPolyFaceMeshFace,
17037
+ pl as AcDbPolyFaceMeshVertex,
16944
17038
  gn as AcDbPolygonMesh,
16945
- cl as AcDbPolygonMeshVertex,
17039
+ ul as AcDbPolygonMeshVertex,
16946
17040
  on as AcDbPolyline,
16947
17041
  fn as AcDbRadialDimension,
16948
17042
  di as AcDbRasterImage,
16949
- hl as AcDbRasterImageClipBoundaryType,
16950
- Il as AcDbRasterImageDef,
16951
- ll as AcDbRasterImageImageDisplayOpt,
17043
+ cl as AcDbRasterImageClipBoundaryType,
17044
+ Sl as AcDbRasterImageDef,
17045
+ dl as AcDbRasterImageImageDisplayOpt,
16952
17046
  cn as AcDbRay,
16953
- Vl as AcDbRegAppTable,
17047
+ Wl as AcDbRegAppTable,
16954
17048
  zr as AcDbRegAppTableRecord,
16955
- hu as AcDbRegenerator,
17049
+ du as AcDbRegenerator,
16956
17050
  Ps as AcDbRenderingCache,
16957
17051
  ta as AcDbResultBuffer,
16958
17052
  bn as AcDbRotatedDimension,
@@ -16963,33 +17057,33 @@ export {
16963
17057
  R as AcDbSystemVariables,
16964
17058
  rn as AcDbTable,
16965
17059
  Is as AcDbText,
16966
- Qh as AcDbTextHorizontalMode,
16967
- Bl as AcDbTextStyleTable,
16968
- Sn as AcDbTextStyleTableRecord,
16969
- Jh as AcDbTextVerticalMode,
17060
+ Jh as AcDbTextHorizontalMode,
17061
+ Rl as AcDbTextStyleTable,
17062
+ En as AcDbTextStyleTableRecord,
17063
+ tl as AcDbTextVerticalMode,
16970
17064
  an as AcDbTrace,
16971
- Na as AcDbUnitsValue,
16972
- Fl as AcDbViewTable,
16973
- zu as AcDbViewTableRecord,
17065
+ Oa as AcDbUnitsValue,
17066
+ zl as AcDbViewTable,
17067
+ ju as AcDbViewTableRecord,
16974
17068
  dn as AcDbViewport,
16975
- Rl as AcDbViewportTable,
16976
- Ca as AcDbViewportTableRecord,
17069
+ Vl as AcDbViewportTable,
17070
+ Ba as AcDbViewportTableRecord,
16977
17071
  un as AcDbWipeout,
16978
- ru as AcDbWorkerApi,
16979
- nu as AcDbWorkerManager,
17072
+ hu as AcDbWorkerApi,
17073
+ ou as AcDbWorkerManager,
16980
17074
  pn as AcDbXline,
16981
- Ou as AcDbXrecord,
17075
+ Bu as AcDbXrecord,
16982
17076
  bs as AcGeArea2d,
16983
17077
  gt as AcGeBox2d,
16984
17078
  C as AcGeBox3d,
16985
17079
  Pn as AcGeCatmullRomCurve3d,
16986
17080
  Re as AcGeCircArc2d,
16987
17081
  Ge as AcGeCircArc3d,
16988
- Es as AcGeCurve2d,
17082
+ Ss as AcGeCurve2d,
16989
17083
  ri as AcGeEllipseArc2d,
16990
17084
  ws as AcGeEllipseArc3d,
16991
- fu as AcGeEuler,
16992
- Dh as AcGeGeometryUtil,
17085
+ Pu as AcGeEuler,
17086
+ Gh as AcGeGeometryUtil,
16993
17087
  ie as AcGeLine2d,
16994
17088
  ze as AcGeLine3d,
16995
17089
  ai as AcGeLoop2d,
@@ -17002,7 +17096,7 @@ export {
17002
17096
  w as AcGePoint3d,
17003
17097
  At as AcGePolyline2d,
17004
17098
  Ye as AcGeQuaternion,
17005
- Sa as AcGeShape2d,
17099
+ Ea as AcGeShape2d,
17006
17100
  ne as AcGeSpline3d,
17007
17101
  fi as AcGeTol,
17008
17102
  Y as AcGeVector2d,
@@ -17014,82 +17108,82 @@ export {
17014
17108
  he as AcGiMTextFlowDirection,
17015
17109
  va as AcGiOrthographicType,
17016
17110
  Aa as AcGiRenderMode,
17017
- qh as AcGiViewport,
17018
- yu as AcTrStringUtil,
17111
+ Kh as AcGiViewport,
17112
+ xu as AcTrStringUtil,
17019
17113
  _s as ByBlock,
17020
17114
  Tt as ByLayer,
17021
- gu as DEBUG_MODE,
17115
+ _u as DEBUG_MODE,
17022
17116
  ys as DEFAULT_LINE_TYPE,
17023
17117
  it as DEFAULT_TEXT_STYLE,
17024
17118
  ua as DEFAULT_TOL,
17025
17119
  na as DEG2RAD,
17026
- dh as DefaultLoadingManager,
17120
+ uh as DefaultLoadingManager,
17027
17121
  je as FLOAT_TOL,
17028
17122
  _r as MLIGHTCAD_APPID,
17029
- xu as ORIGIN_POINT_2D,
17123
+ Iu as ORIGIN_POINT_2D,
17030
17124
  da as ORIGIN_POINT_3D,
17031
17125
  ra as RAD2DEG,
17032
17126
  D as TAU,
17033
17127
  Mi as TEMP_OBJECT_ID_PREFIX,
17034
- Nu as acdbDisableOsnapMode,
17035
- Lu as acdbEnableOsnapMode,
17036
- ku as acdbHasOsnapMode,
17128
+ Cu as acdbDisableOsnapMode,
17129
+ Ou as acdbEnableOsnapMode,
17130
+ Nu as acdbHasOsnapMode,
17037
17131
  Jr as acdbHostApplicationServices,
17038
- Au as acdbMaskToOsnapModes,
17039
- Tu as acdbOsnapModesToMask,
17040
- vu as acdbToggleOsnapMode,
17132
+ ku as acdbMaskToOsnapModes,
17133
+ vu as acdbOsnapModesToMask,
17134
+ Lu as acdbToggleOsnapMode,
17041
17135
  ii as basisFunction,
17042
- Uh as calculateCurveLength,
17043
- Nh as ceilPowerOfTwo,
17136
+ Xh as calculateCurveLength,
17137
+ Oh as ceilPowerOfTwo,
17044
17138
  oe as clamp,
17045
17139
  Cs as clone,
17046
- Gh as computeParameterValues,
17047
- au as createWorkerApi,
17048
- bh as damp,
17140
+ Hh as computeParameterValues,
17141
+ lu as createWorkerApi,
17142
+ Ih as damp,
17049
17143
  gr as deepClone,
17050
17144
  wi as defaults,
17051
- vh as degToRad,
17052
- _h as dwgCodePageToEncoding,
17145
+ kh as degToRad,
17146
+ wh as dwgCodePageToEncoding,
17053
17147
  aa as euclideanModulo,
17054
17148
  Us as evaluateNurbsPoint,
17055
- Oh as floorPowerOfTwo,
17056
- Hh as generateAveragedKnots,
17057
- Iu as generateChordKnots,
17058
- Pu as generateSqrtChordKnots,
17059
- wh as generateUUID,
17060
- bu as generateUniformKnots,
17149
+ Ch as floorPowerOfTwo,
17150
+ Uh as generateAveragedKnots,
17151
+ Eu as generateChordKnots,
17152
+ Mu as generateSqrtChordKnots,
17153
+ xh as generateUUID,
17154
+ Su as generateUniformKnots,
17061
17155
  Ar as getOcsAngle,
17062
17156
  Pa as getOcsReferenceVector,
17063
- eh as has,
17157
+ sh as has,
17064
17158
  ha as intPartLength,
17065
- Eu as interpolateControlPoints,
17159
+ Tu as interpolateControlPoints,
17066
17160
  ba as interpolateNurbsCurve,
17067
- fh as inverseLerp,
17068
- Ch as isBetween,
17069
- Bh as isBetweenAngle,
17070
- sh as isEmpty,
17161
+ bh as inverseLerp,
17162
+ Bh as isBetween,
17163
+ Fh as isBetweenAngle,
17164
+ ih as isEmpty,
17071
17165
  ms as isEqual,
17072
- Bu as isImperialUnits,
17073
- Cu as isMetricUnits,
17166
+ Ru as isImperialUnits,
17167
+ Fu as isMetricUnits,
17074
17168
  fa as isPointInPolygon,
17075
- Wh as isPolygonIntersect,
17076
- Lh as isPowerOfTwo,
17169
+ Dh as isPolygonIntersect,
17170
+ Nh as isPowerOfTwo,
17077
17171
  oa as lerp,
17078
17172
  Ds as log,
17079
- xh as mapLinear,
17173
+ fh as mapLinear,
17080
17174
  Hs as normalizeAngle,
17081
- Ih as pingpong,
17082
- kh as radToDeg,
17083
- Mh as randFloat,
17084
- Th as randFloatSpread,
17085
- Sh as randInt,
17086
- Fh as relativeEps,
17087
- Ah as seededRandom,
17088
- ph as setAcDbHostApplicationServicesProvider,
17089
- gh as setAcDbLayoutManagerFactory,
17090
- mu as setLogLevel,
17175
+ Ph as pingpong,
17176
+ Lh as radToDeg,
17177
+ Th as randFloat,
17178
+ Ah as randFloatSpread,
17179
+ Mh as randInt,
17180
+ Rh as relativeEps,
17181
+ vh as seededRandom,
17182
+ gh as setAcDbHostApplicationServicesProvider,
17183
+ mh as setAcDbLayoutManagerFactory,
17184
+ wu as setLogLevel,
17091
17185
  Eh as smootherstep,
17092
- Ph as smoothstep,
17186
+ Sh as smoothstep,
17093
17187
  Tr as transformOcsPointToWcs,
17094
17188
  ni as transformWcsPointToOcs
17095
17189
  };