igniteui-webcomponents-excel 4.8.1 → 5.0.0-beta.0

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.
@@ -23,11 +23,13 @@ import { WorkbookStyleCollection } from "./WorkbookStyleCollection";
23
23
  import { WorkbookFontData } from "./WorkbookFontData";
24
24
  import { WorkbookBuiltInStyle } from "./WorkbookBuiltInStyle";
25
25
  import { BuiltInStyleType_$type } from "./BuiltInStyleType";
26
+ import { WorksheetReferenceCollection } from "./WorksheetReferenceCollection";
27
+ import { Enumerable } from "igniteui-webcomponents-core";
26
28
  import { IWorksheetImage_$type } from "./IWorksheetImage";
27
29
  import { ExcelImage } from "./ExcelImage";
28
30
  import { WorksheetShape } from "./WorksheetShape";
29
31
  import { WorksheetChart } from "./WorksheetChart";
30
- import { WorksheetReferenceCollection } from "./WorksheetReferenceCollection";
32
+ import { DataValidationRule } from "./DataValidationRule";
31
33
  import { WorkbookFormatCollection } from "./WorkbookFormatCollection";
32
34
  import { Worksheet } from "./Worksheet";
33
35
  import { CFSerializer } from "./CFSerializer";
@@ -35,7 +37,7 @@ import { WorkItemExtensions } from "./WorkItemExtensions";
35
37
  import { Formula } from "./Formula";
36
38
  import { WorksheetRow } from "./WorksheetRow";
37
39
  import { BiffRecordStream } from "./BiffRecordStream";
38
- import { DataValidationRule } from "./DataValidationRule";
40
+ import { WorksheetHyperlink } from "./WorksheetHyperlink";
39
41
  import { StructuredStorageManager } from "./StructuredStorageManager";
40
42
  import { Async } from "./Async";
41
43
  import { FormulaContext } from "./FormulaContext";
@@ -48,13 +50,11 @@ import { TokenReferenceResolver } from "./TokenReferenceResolver";
48
50
  import { FormulaTokenVisitor } from "./FormulaTokenVisitor";
49
51
  import { BIFF8RecordType_$type } from "./BIFF8RecordType";
50
52
  import { BiffRecordBase$3 } from "./BiffRecordBase$3";
51
- import { WorksheetHyperlink } from "./WorksheetHyperlink";
52
53
  import { BinaryReader } from "igniteui-webcomponents-core";
53
54
  import { Sheet } from "./Sheet";
54
55
  import { PrintOptions } from "./PrintOptions";
55
56
  import { WorksheetTable } from "./WorksheetTable";
56
57
  import { WorksheetTableColumn } from "./WorksheetTableColumn";
57
- import { Enumerable } from "igniteui-webcomponents-core";
58
58
  import { MultipleCellBlankInfo } from "./MultipleCellBlankInfo";
59
59
  import { MultipleCellRKInfo } from "./MultipleCellRKInfo";
60
60
  import { ArrayInteriorFormula } from "./ArrayInteriorFormula";
@@ -320,24 +320,26 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
320
320
  }
321
321
  constructor(a, b, c, d) {
322
322
  super(a, c, d);
323
- this._cv = null;
324
- this._cn = new WorkbookSerializationDataExcel2003();
325
323
  this._cw = null;
326
- this._c2 = 0;
327
- this._ct = null;
328
- this._cu = null;
324
+ this._cn = new WorkbookSerializationDataExcel2003();
329
325
  this._cx = null;
326
+ this._c3 = 0;
327
+ this._cu = null;
328
+ this._cv = null;
329
+ this._cy = null;
330
+ this._ct = null;
330
331
  this._cs = null;
331
332
  this._cr = null;
332
333
  this._cm = null;
333
334
  this._cj = null;
334
335
  this._cb = null;
335
336
  this._cn = new WorkbookSerializationDataExcel2003(1, b);
336
- this._cw = new List$1(WorkbookSaveManagerExcel2003_ExtSstItem.$, 0);
337
- this._ct = new Dictionary$2(Base.$, SingleTargetFormula.$, 0);
338
- this._cu = new Dictionary$2(Base.$, WorksheetCell.$, 0);
339
- this._cx = new List$1(WorkbookStyle.$, 0);
340
- this._cs = new Dictionary$2(Number_$type, Number_$type, 0);
337
+ this._cx = new List$1(WorkbookSaveManagerExcel2003_ExtSstItem.$, 0);
338
+ this._cu = new Dictionary$2(Base.$, SingleTargetFormula.$, 0);
339
+ this._cv = new Dictionary$2(Base.$, WorksheetCell.$, 0);
340
+ this._cy = new List$1(WorkbookStyle.$, 0);
341
+ this._ct = new Dictionary$2(Number_$type, Number_$type, 0);
342
+ this._cr = new Dictionary$2(WorksheetCellFormatData.$, Number_$type, 0);
341
343
  }
342
344
  disposeCore(a) {
343
345
  if (a) {
@@ -345,7 +347,7 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
345
347
  this._cl.dispose();
346
348
  this._cl = null;
347
349
  }
348
- this._c7.dispose();
350
+ this._c8.dispose();
349
351
  }
350
352
  }
351
353
  get__r() {
@@ -366,12 +368,7 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
366
368
  if (a == c) {
367
369
  return 15;
368
370
  }
369
- let d = b._g(c);
370
- let e = b._g(a);
371
- if (e > d) {
372
- e--;
373
- }
374
- return (this._c2 + e);
371
+ return this._cr.item(a);
375
372
  }
376
373
  _a9(a) {
377
374
  let b;
@@ -389,27 +386,27 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
389
386
  d.add(d._inner[0]);
390
387
  d.add(d._inner[0]);
391
388
  d.add(null);
392
- this._c9(b);
393
- this._c9(a._j(1, 0));
394
- this._c9(a._j(2, 0));
395
- this._c9(a._j(1, 1));
396
- this._c9(a._j(2, 1));
397
- this._c9(a._j(1, 2));
398
- this._c9(a._j(2, 2));
399
- this._c9(a._j(1, 3));
400
- this._c9(a._j(2, 3));
401
- this._c9(a._j(1, 4));
402
- this._c9(a._j(2, 4));
403
- this._c9(a._j(1, 5));
404
- this._c9(a._j(2, 5));
405
- this._c9(a._j(1, 6));
406
- this._c9(a._j(2, 6));
407
- this._c8(this._b._ca._p);
408
- this._c9(a._i(3));
409
- this._c9(a._i(6));
410
- this._c9(a._i(4));
411
- this._c9(a._i(7));
412
- this._c9(a._i(5));
389
+ this._da(b);
390
+ this._da(a._j(1, 0));
391
+ this._da(a._j(2, 0));
392
+ this._da(a._j(1, 1));
393
+ this._da(a._j(2, 1));
394
+ this._da(a._j(1, 2));
395
+ this._da(a._j(2, 2));
396
+ this._da(a._j(1, 3));
397
+ this._da(a._j(2, 3));
398
+ this._da(a._j(1, 4));
399
+ this._da(a._j(2, 4));
400
+ this._da(a._j(1, 5));
401
+ this._da(a._j(2, 5));
402
+ this._da(a._j(1, 6));
403
+ this._da(a._j(2, 6));
404
+ this._c9(this._b._ca._p);
405
+ this._da(a._i(3));
406
+ this._da(a._i(6));
407
+ this._da(a._i(4));
408
+ this._da(a._i(7));
409
+ this._da(a._i(5));
413
410
  for (let e of fromEnum(this._b._styles$i)) {
414
411
  if (e._o == false) {
415
412
  continue;
@@ -425,20 +422,23 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
425
422
  case 7:
426
423
  case 0:
427
424
  case 5:
428
- this._c1.add(e);
425
+ this._c2.add(e);
429
426
  continue;
430
427
  }
431
428
  }
432
- this._c1.add(e);
433
- this._c9(e);
429
+ this._c2.add(e);
430
+ this._da(e);
434
431
  }
435
- this._c2 = this._cz.count;
432
+ this._c3 = this._c0.count;
436
433
  let g = this._b._ca;
437
- for (let h of fromEnum(g)) {
438
- if (h == g._p) {
434
+ let h = Enumerable.z(WorksheetCellFormatData.$, Enumerable.u(WorksheetCellFormatData.$, g, (i) => i != null));
435
+ h.aa((i, j) => Base.compareSimple(i._dj, j._dj));
436
+ for (let i of fromEnum(h)) {
437
+ if (i == g._p) {
439
438
  continue;
440
439
  }
441
- this._c8(h);
440
+ this._cr.item(i, this._c0.count);
441
+ this._c9(i);
442
442
  }
443
443
  }
444
444
  _br(a) {
@@ -448,12 +448,12 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
448
448
  return;
449
449
  }
450
450
  let c = new WorkbookSerializationDataExcel2003_ImageHolder(b, 1);
451
- let d = this._c0.indexOf(c);
451
+ let d = this._c1.indexOf(c);
452
452
  if (d < 0) {
453
- this._c0.add(c);
453
+ this._c1.add(c);
454
454
  }
455
455
  else {
456
- c = this._c0._inner[d];
456
+ c = this._c1._inner[d];
457
457
  c.d++;
458
458
  }
459
459
  }
@@ -500,52 +500,52 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
500
500
  while (d.c(c)) {
501
501
  c++;
502
502
  }
503
- this._cs.item(e, c);
503
+ this._ct.item(e, c);
504
504
  }
505
505
  }
506
506
  for (let f of fromEnum(this._b._worksheets$i)) {
507
507
  if (f._conditionalFormats$i.count == 0) {
508
508
  continue;
509
509
  }
510
- if (this._cr == null) {
511
- this._cr = new Dictionary$2(Worksheet.$, CFSerializer.$, 0);
510
+ if (this._cs == null) {
511
+ this._cs = new Dictionary$2(Worksheet.$, CFSerializer.$, 0);
512
512
  }
513
- this._cr.addItem(f, CFSerializer.a(f));
513
+ this._cs.addItem(f, CFSerializer.a(f));
514
514
  }
515
515
  return WorkItemExtensions.a(WorkItemExtensions.c(this._cg(), () => Async.d(Sheet.$, this._a1, (g) => {
516
- a.add(this._c7.position);
516
+ a.add(this._c8.position);
517
517
  return this._cd(g);
518
- })), () => this._de(a));
518
+ })), () => this._df(a));
519
519
  }
520
- _c3(a) {
520
+ _c4(a) {
521
521
  let b;
522
- if (((() => { let c = this._cs.tryGetValue(a, b); b = c.p1; return c.ret; })())) {
522
+ if (((() => { let c = this._ct.tryGetValue(a, b); b = c.p1; return c.ret; })())) {
523
523
  return b;
524
524
  }
525
525
  return a;
526
526
  }
527
527
  _co(a) {
528
- return this._ct.item(a._bg);
528
+ return this._cu.item(a._bg);
529
529
  }
530
530
  _cp(a, b, c) {
531
531
  let d = c._bg;
532
532
  let e;
533
- if (((() => { let f = this._cu.tryGetValue(d, e); e = f.p1; return f.ret; })()) == false) {
534
- this._cu.item(d, e = a._cells$i.item(b));
535
- this._ct.item(d, Formula._u(c, e));
533
+ if (((() => { let f = this._cv.tryGetValue(d, e); e = f.p1; return f.ret; })()) == false) {
534
+ this._cv.item(d, e = a._cells$i.item(b));
535
+ this._cu.item(d, Formula._u(c, e));
536
536
  }
537
537
  return e;
538
538
  }
539
- _db(a) {
539
+ _dc(a) {
540
540
  this._cl = a._parentStream;
541
541
  }
542
- _dc(a) {
542
+ _dd(a) {
543
543
  if (this._cl != null) {
544
544
  this._cl._addSubStream(a);
545
545
  }
546
546
  this._cl = a;
547
547
  }
548
- _dd(a) {
548
+ _de(a) {
549
549
  a._am(WorkbookSaveManagerExcel2003.$, Boolean_$type, WorkbookSaveManagerExcel2003_PopuplateShapeDrawingPropertiesVisitor.d, this);
550
550
  }
551
551
  static _cc(a, b, c) {
@@ -568,7 +568,7 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
568
568
  });
569
569
  });
570
570
  }
571
- _c5(a, b, c, d = true) {
571
+ _c6(a, b, c, d = true) {
572
572
  let e = this._cl;
573
573
  let f = 0;
574
574
  if (b) {
@@ -615,7 +615,7 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
615
615
  v.h();
616
616
  return f;
617
617
  }
618
- _ds(a) {
618
+ _dt(a) {
619
619
  {
620
620
  let b = new Biff8RecordStream(3, this, a);
621
621
  try {
@@ -648,26 +648,26 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
648
648
  });
649
649
  });
650
650
  }
651
- _c8(a) {
651
+ _c9(a) {
652
652
  this._bf(a._bp, a);
653
- this._cz.add(a);
653
+ this._c0.add(a);
654
654
  }
655
- _c9(a) {
655
+ _da(a) {
656
656
  if (a != null) {
657
- this._av.addItem(a, this._cz.count);
658
- this._c8(a._i);
657
+ this._av.addItem(a, this._c0.count);
658
+ this._c9(a._i);
659
659
  }
660
660
  else {
661
661
  let b = new WorksheetCellFormatData(this._b, 1);
662
- this._c8(b);
662
+ this._c9(b);
663
663
  }
664
664
  }
665
- _da(a, b, c) {
666
- let d = this._c7.position;
667
- this._c7.position = a;
668
- let e = new BinaryReader(1, this._c7);
665
+ _db(a, b, c) {
666
+ let d = this._c8.position;
667
+ this._c8.position = a;
668
+ let e = new BinaryReader(1, this._c8);
669
669
  {
670
- let f = new Biff8RecordStream(4, this, this._c7, e);
670
+ let f = new Biff8RecordStream(4, this, this._c8, e);
671
671
  try {
672
672
  f.position = 12;
673
673
  f._write18(b);
@@ -682,7 +682,7 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
682
682
  }
683
683
  }
684
684
  }
685
- this._c7.position = d;
685
+ this._c8.position = d;
686
686
  }
687
687
  _cd(a) {
688
688
  if (a.type == 0) {
@@ -696,88 +696,88 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
696
696
  this._ca.k(a.displayOptions);
697
697
  this._ca.k(a.printOptions);
698
698
  this._ca.k(a);
699
- this._ds(2057);
700
- let b = this._c7.position;
701
- this._ds(523);
702
- this._ds(13);
703
- this._ds(12);
704
- this._ds(15);
705
- this._ds(17);
706
- this._ds(16);
707
- this._ds(95);
708
- this._ds(42);
709
- this._ds(43);
710
- this._ds(130);
711
- this._ds(128);
712
- this._ds(549);
713
- this._ds(129);
699
+ this._dt(2057);
700
+ let b = this._c8.position;
701
+ this._dt(523);
702
+ this._dt(13);
703
+ this._dt(12);
704
+ this._dt(15);
705
+ this._dt(17);
706
+ this._dt(16);
707
+ this._dt(95);
708
+ this._dt(42);
709
+ this._dt(43);
710
+ this._dt(130);
711
+ this._dt(128);
712
+ this._dt(549);
713
+ this._dt(129);
714
714
  if (a.printOptions._cp) {
715
- this._ds(27);
715
+ this._dt(27);
716
716
  }
717
717
  if (a.printOptions._cr) {
718
- this._ds(26);
719
- }
720
- this._ds(20);
721
- this._ds(21);
722
- this._ds(131);
723
- this._ds(132);
724
- this._ds(38);
725
- this._ds(39);
726
- this._ds(40);
727
- this._ds(41);
728
- this._ds(161);
729
- this._ds(2204);
718
+ this._dt(26);
719
+ }
720
+ this._dt(20);
721
+ this._dt(21);
722
+ this._dt(131);
723
+ this._dt(132);
724
+ this._dt(38);
725
+ this._dt(39);
726
+ this._dt(40);
727
+ this._dt(41);
728
+ this._dt(161);
729
+ this._dt(2204);
730
730
  if (a.sheetBackground != null) {
731
- this._ds(233);
731
+ this._dt(233);
732
732
  }
733
733
  if (a.isProtected) {
734
- this._ds(18);
734
+ this._dt(18);
735
735
  if (a.protection.allowEditScenarios == false) {
736
- this._ds(221);
736
+ this._dt(221);
737
737
  }
738
738
  if (a.protection.allowEditObjects == false) {
739
- this._ds(99);
739
+ this._dt(99);
740
740
  }
741
741
  let c = a.protection._c.h();
742
742
  if (c.hasValue && c.value != 0) {
743
- this._ds(19);
743
+ this._dt(19);
744
744
  }
745
745
  }
746
- let d = this._c7.position;
747
- this._ds(85);
748
- this._dg(a);
749
- this._ds(512);
746
+ let d = this._c8.position;
747
+ this._dt(85);
748
+ this._dh(a);
749
+ this._dt(512);
750
750
  return WorkItemExtensions.e(List$1.$.specialize(Number_$type), this._ci(a), (e) => {
751
751
  let f = WorkItemExtensions.m(List$1.$.specialize(Number_$type), e);
752
- this._da(b, d, f);
752
+ this._db(b, d, f);
753
753
  if (this._aj) {
754
- this._ds(236);
755
- }
756
- this._dw(a);
757
- this._ds(574);
758
- this._ds(2187);
759
- this._dr(a);
760
- this._dm(a);
761
- this._dt(a.displayOptions);
762
- this._di(a);
754
+ this._dt(236);
755
+ }
756
+ this._dx(a);
757
+ this._dt(574);
758
+ this._dt(2187);
759
+ this._ds(a);
760
+ this._dn(a);
761
+ this._du(a.displayOptions);
762
+ this._dj(a);
763
763
  if (a._el) {
764
- this._ds(153);
764
+ this._dt(153);
765
765
  }
766
766
  if (this._af(a)) {
767
- this._ds(229);
767
+ this._dt(229);
768
768
  }
769
769
  if (a._d8) {
770
770
  for (let g of fromEnum(a._hyperlinks$i)) {
771
771
  this._ca.k(g);
772
- this._ds(440);
772
+ this._dt(440);
773
773
  if (g.toolTip != null) {
774
- this._ds(2048);
774
+ this._dt(2048);
775
775
  }
776
776
  this._ca.h();
777
777
  }
778
778
  }
779
779
  if (a._d6) {
780
- this._ds(434);
780
+ this._dt(434);
781
781
  for (let h of fromEnum(a._dataValidationRules$i)) {
782
782
  let i = new List$1(CellAddressRange.$, 0);
783
783
  for (let j of fromEnum(h.value)) {
@@ -786,31 +786,31 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
786
786
  this._ca.k(h.key);
787
787
  this._ca.k(i);
788
788
  while (i.count != 0) {
789
- this._ds(446);
789
+ this._dt(446);
790
790
  }
791
791
  this._ca.h();
792
792
  this._ca.h();
793
793
  }
794
794
  }
795
795
  if (this._b._cp && a._ak != null) {
796
- this._ds(442);
796
+ this._dt(442);
797
797
  }
798
798
  if (WorkbookColorInfo.l_op_Inequality(a.displayOptions.tabColorInfo, null)) {
799
- this._ds(2146);
799
+ this._dt(2146);
800
800
  }
801
- if (this._cr != null && this._cr.containsKey(a)) {
802
- this._dh(a);
801
+ if (this._cs != null && this._cs.containsKey(a)) {
802
+ this._di(a);
803
803
  }
804
- this._ds(2151);
804
+ this._dt(2151);
805
805
  let k = a.protection._allowedEditRanges$i;
806
806
  for (let l = k.count - 1; l >= 0; l--) {
807
807
  this._ca.k(k.item(l));
808
- this._ds(2152);
808
+ this._dt(2152);
809
809
  this._ca.h();
810
810
  }
811
- this._dy(a);
812
- this._dx(a.filterSettings, true);
813
- this._ds(10);
811
+ this._dz(a);
812
+ this._dy(a.filterSettings, true);
813
+ this._dt(10);
814
814
  this._ca.h();
815
815
  this._ca.h();
816
816
  this._ca.h();
@@ -822,15 +822,15 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
822
822
  }
823
823
  return Enumerable.d(WorksheetTableColumn.$, a._columns$i, (b) => b.totalFormula != null || b.totalLabel != null);
824
824
  }
825
- _de(a) {
826
- if (this._cv == null) {
825
+ _df(a) {
826
+ if (this._cw == null) {
827
827
  return;
828
828
  }
829
- let b = new BinaryReader(1, this._c7);
829
+ let b = new BinaryReader(1, this._c8);
830
830
  for (let c = 0; c < a.count; c++) {
831
- this._c7.position = this._cv._inner[c];
831
+ this._c8.position = this._cw._inner[c];
832
832
  {
833
- let d = new Biff8RecordStream(4, this, this._c7, b);
833
+ let d = new Biff8RecordStream(4, this, this._c8, b);
834
834
  try {
835
835
  d._transform.k();
836
836
  d._write18(a._inner[c]);
@@ -843,18 +843,18 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
843
843
  }
844
844
  }
845
845
  }
846
- this._cv = null;
846
+ this._cw = null;
847
847
  }
848
- _df() {
849
- this._cv = new List$1(Number_$type, 0);
848
+ _dg() {
849
+ this._cw = new List$1(Number_$type, 0);
850
850
  for (let a of fromEnum(this._a1)) {
851
- this._cv.add(this._c7.position);
851
+ this._cw.add(this._c8.position);
852
852
  this._ca.k(a);
853
- this._ds(133);
853
+ this._dt(133);
854
854
  this._ca.h();
855
855
  }
856
856
  }
857
- _c6() {
857
+ _c7() {
858
858
  let a = this._a5(this._cm.b, this._ck);
859
859
  let b = this._ck.r;
860
860
  this._cm.c = a;
@@ -862,11 +862,11 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
862
862
  let c = MultipleCellBlankInfo.o(this);
863
863
  if (c != null) {
864
864
  this._ca.k(c);
865
- this._ds(190);
865
+ this._dt(190);
866
866
  this._ca.h();
867
867
  return c.k;
868
868
  }
869
- this._ds(513);
869
+ this._dt(513);
870
870
  return b;
871
871
  }
872
872
  if (ExcelUtils.bb(a)) {
@@ -876,23 +876,23 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
876
876
  let f = MultipleCellRKInfo.o(this);
877
877
  if (f != null) {
878
878
  this._ca.k(f);
879
- this._ds(189);
879
+ this._dt(189);
880
880
  this._ca.h();
881
881
  return f.k;
882
882
  }
883
- this._ds(638);
883
+ this._dt(638);
884
884
  }
885
885
  else {
886
- this._ds(515);
886
+ this._dt(515);
887
887
  }
888
888
  return b;
889
889
  }
890
890
  if (typeCast(Boolean_$type, a) !== null || typeCast(ErrorValue.$, a) !== null) {
891
- this._ds(517);
891
+ this._dt(517);
892
892
  return b;
893
893
  }
894
894
  if (typeCast(StringElementIndex.$, a) !== null) {
895
- this._ds(253);
895
+ this._dt(253);
896
896
  a.d();
897
897
  return b;
898
898
  }
@@ -901,21 +901,21 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
901
901
  if (g._as) {
902
902
  let h = this._cp(this._cm.b, b, g);
903
903
  this._ca.k(h);
904
- this._ds(6);
904
+ this._dt(6);
905
905
  this._ca.h();
906
906
  }
907
907
  else {
908
- this._ds(6);
908
+ this._dt(6);
909
909
  if (g._ak) {
910
910
  let i = g;
911
911
  if (i._c1.cellRange.firstRow == this._cm.b.index && i._c1.cellRange.firstColumn == b) {
912
- this._ds(545);
912
+ this._dt(545);
913
913
  }
914
914
  }
915
915
  else if (g._am) {
916
916
  let j = g._c1.cellsInTable;
917
917
  if (j.firstRow == this._cm.b.index - 1 && j.firstColumn == b - 1) {
918
- this._ds(566);
918
+ this._dt(566);
919
919
  }
920
920
  }
921
921
  }
@@ -923,7 +923,7 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
923
923
  }
924
924
  return b;
925
925
  }
926
- _dg(a) {
926
+ _dh(a) {
927
927
  let b = new List$1(WorksheetColumnBlock.$, 1, a._fg);
928
928
  if (b.count == 1 && b._inner[0].l) {
929
929
  return;
@@ -933,11 +933,11 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
933
933
  continue;
934
934
  }
935
935
  this._ca.k(c);
936
- this._ds(125);
936
+ this._dt(125);
937
937
  this._ca.h();
938
938
  }
939
939
  }
940
- _di(a) {
940
+ _dj(a) {
941
941
  if (this._b._cq == false) {
942
942
  return;
943
943
  }
@@ -953,7 +953,7 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
953
953
  }
954
954
  this._ca.k(c);
955
955
  this._ca.k(b);
956
- this._dk(e != null, d);
956
+ this._dl(e != null, d);
957
957
  this._ca.h();
958
958
  this._ca.h();
959
959
  if (e != null) {
@@ -961,98 +961,98 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
961
961
  }
962
962
  }
963
963
  }
964
- _dj() {
964
+ _dk() {
965
965
  if (this._b._cq == false) {
966
966
  return;
967
967
  }
968
968
  for (let a of fromEnum(this._b._customViews$i)) {
969
969
  this._ca.k(a);
970
- this._ds(425);
970
+ this._dt(425);
971
971
  this._ca.h();
972
972
  }
973
973
  }
974
- _dk(a, b) {
975
- this._ds(426);
976
- this._dt(this._ca.a(DisplayOptions.$));
974
+ _dl(a, b) {
975
+ this._dt(426);
976
+ this._du(this._ca.a(DisplayOptions.$));
977
977
  if (a) {
978
978
  let c = this._ca.a(PrintOptions.$);
979
979
  if (c._cp) {
980
- this._ds(27);
980
+ this._dt(27);
981
981
  }
982
982
  if (c._cr) {
983
- this._ds(26);
984
- }
985
- this._ds(20);
986
- this._ds(21);
987
- this._ds(131);
988
- this._ds(132);
989
- this._ds(38);
990
- this._ds(39);
991
- this._ds(40);
992
- this._ds(41);
993
- this._ds(161);
994
- this._ds(2204);
983
+ this._dt(26);
984
+ }
985
+ this._dt(20);
986
+ this._dt(21);
987
+ this._dt(131);
988
+ this._dt(132);
989
+ this._dt(38);
990
+ this._dt(39);
991
+ this._dt(40);
992
+ this._dt(41);
993
+ this._dt(161);
994
+ this._dt(2204);
995
995
  }
996
996
  if (b != null) {
997
- this._dx(b, false);
997
+ this._dy(b, false);
998
998
  }
999
- this._ds(427);
999
+ this._dt(427);
1000
1000
  }
1001
- _dl() {
1001
+ _dm() {
1002
1002
  let a = this._i;
1003
1003
  if (a.count == 0) {
1004
1004
  return;
1005
1005
  }
1006
1006
  for (let b of fromEnum(a)) {
1007
1007
  this._ca.k(b);
1008
- this._ds(430);
1008
+ this._dt(430);
1009
1009
  if ((typeCast(CurrentWorkbookReference.$, b) !== null) == false) {
1010
1010
  for (let c of fromEnum(b.u)) {
1011
1011
  this._ca.k(c);
1012
- this._ds(35);
1012
+ this._dt(35);
1013
1013
  this._ca.h();
1014
1014
  }
1015
1015
  }
1016
1016
  this._ca.h();
1017
1017
  }
1018
- this._ds(23);
1018
+ this._dt(23);
1019
1019
  }
1020
- _dm(a) {
1020
+ _dn(a) {
1021
1021
  if (a.displayOptions._b4 != 100) {
1022
- this._ds(160);
1022
+ this._dt(160);
1023
1023
  }
1024
1024
  }
1025
- _dn() {
1025
+ _dp() {
1026
1026
  for (let a of fromEnum(this._b._bb.u)) {
1027
1027
  this._ca.k(a);
1028
- this._ds(24);
1028
+ this._dt(24);
1029
1029
  if (a.comment != null && a.comment.length > 0) {
1030
- this._ds(2196);
1030
+ this._dt(2196);
1031
1031
  }
1032
1032
  this._ca.h();
1033
1033
  }
1034
1034
  }
1035
- _dp(a) {
1035
+ _dq(a) {
1036
1036
  this._ca.k(new WorkbookSaveManagerExcel2003_FormatHolder(a, this._b._b2.ad(a)));
1037
- this._ds(1054);
1037
+ this._dt(1054);
1038
1038
  this._ca.h();
1039
1039
  }
1040
- _dq() {
1041
- this._dp(5);
1042
- this._dp(6);
1043
- this._dp(7);
1044
- this._dp(8);
1045
- this._dp(42);
1046
- this._dp(41);
1047
- this._dp(44);
1048
- this._dp(43);
1040
+ _dr() {
1041
+ this._dq(5);
1042
+ this._dq(6);
1043
+ this._dq(7);
1044
+ this._dq(8);
1045
+ this._dq(42);
1046
+ this._dq(41);
1047
+ this._dq(44);
1048
+ this._dq(43);
1049
1049
  if (this._b._ct) {
1050
1050
  for (let a of fromEnum(this._b._b2.m())) {
1051
- this._dp(a);
1051
+ this._dq(a);
1052
1052
  }
1053
1053
  }
1054
1054
  }
1055
- _dr(a) {
1055
+ _ds(a) {
1056
1056
  let b = a.displayOptions;
1057
1057
  let c;
1058
1058
  if (b.panesAreFrozen) {
@@ -1062,78 +1062,78 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
1062
1062
  c = b.unfrozenPaneSettings.leftPaneWidth != 0 || b.unfrozenPaneSettings.topPaneHeight != 0;
1063
1063
  }
1064
1064
  if (c) {
1065
- this._ds(65);
1065
+ this._dt(65);
1066
1066
  }
1067
1067
  }
1068
- _dt(a) {
1068
+ _du(a) {
1069
1069
  a._bs();
1070
1070
  if (a._aj && a._ag.b.count > 0) {
1071
1071
  for (let b of fromEnum(a._ag.b)) {
1072
1072
  this._ca.k(b);
1073
- this._ds(29);
1073
+ this._dt(29);
1074
1074
  this._ca.h();
1075
1075
  }
1076
1076
  }
1077
1077
  else {
1078
- this._ds(29);
1078
+ this._dt(29);
1079
1079
  }
1080
1080
  }
1081
- _du() {
1081
+ _dv() {
1082
1082
  for (let a of fromEnum(this._h)) {
1083
1083
  if (a == null) {
1084
1084
  continue;
1085
1085
  }
1086
1086
  this._ca.k(a);
1087
- this._ds(49);
1087
+ this._dt(49);
1088
1088
  this._ca.h();
1089
1089
  }
1090
1090
  }
1091
1091
  _cg() {
1092
1092
  this._ca.k(this._b);
1093
- this._ds(2057);
1093
+ this._dt(2057);
1094
1094
  if (this._b._cs) {
1095
- this._ds(134);
1095
+ this._dt(134);
1096
1096
  }
1097
1097
  if (this._b._cw && !this._ag) {
1098
- this._ds(47);
1098
+ this._dt(47);
1099
1099
  }
1100
1100
  if (this._b.currentFormat == 1) {
1101
- this._ds(96);
1101
+ this._dt(96);
1102
1102
  }
1103
1103
  if (this._b._cs) {
1104
- this._ds(91);
1104
+ this._dt(91);
1105
1105
  }
1106
- this._ds(66);
1107
- this._ds(353);
1108
- this._ds(448);
1109
- this._ds(317);
1106
+ this._dt(66);
1107
+ this._dt(353);
1108
+ this._dt(448);
1109
+ this._dt(317);
1110
1110
  if (this._b._cp) {
1111
- this._ds(211);
1111
+ this._dt(211);
1112
1112
  if (this._b._co) {
1113
- this._ds(445);
1114
- }
1115
- this._ds(442);
1116
- }
1117
- this._ds(156);
1118
- this._ds(25);
1119
- this._ds(18);
1120
- this._ds(19);
1121
- this._ds(61);
1122
- this._ds(64);
1123
- this._ds(141);
1124
- this._ds(34);
1125
- this._ds(14);
1126
- this._ds(439);
1127
- this._ds(218);
1128
- this._du();
1129
- this._dq();
1130
- let a = this._c7.position;
1113
+ this._dt(445);
1114
+ }
1115
+ this._dt(442);
1116
+ }
1117
+ this._dt(156);
1118
+ this._dt(25);
1119
+ this._dt(18);
1120
+ this._dt(19);
1121
+ this._dt(61);
1122
+ this._dt(64);
1123
+ this._dt(141);
1124
+ this._dt(34);
1125
+ this._dt(14);
1126
+ this._dt(439);
1127
+ this._dt(218);
1128
+ this._dv();
1129
+ this._dr();
1130
+ let a = this._c8.position;
1131
1131
  let b = new List$1(XFRecord_XFContext.$, 0);
1132
- for (let c = 0; c < this._cz.count; c++) {
1133
- let d = this._cz._inner[c];
1132
+ for (let c = 0; c < this._c0.count; c++) {
1133
+ let d = this._c0._inner[c];
1134
1134
  let e = new XFRecord_XFContext(d, c, d._cg());
1135
1135
  this._ca.k(e);
1136
- this._ds(224);
1136
+ this._dt(224);
1137
1137
  this._ca.h();
1138
1138
  if (e.b.count != 0) {
1139
1139
  b.add(e);
@@ -1141,71 +1141,71 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
1141
1141
  }
1142
1142
  this._cn.s(a);
1143
1143
  if (b.count != 0) {
1144
- this._ds(2172);
1144
+ this._dt(2172);
1145
1145
  for (let f of fromEnum(b)) {
1146
1146
  this._ca.k(f);
1147
- this._ds(2173);
1147
+ this._dt(2173);
1148
1148
  this._ca.h();
1149
1149
  }
1150
1150
  }
1151
1151
  for (let g of fromEnum(this._g)) {
1152
1152
  this._ca.k(g);
1153
- this._ds(2189);
1153
+ this._dt(2189);
1154
1154
  this._ca.h();
1155
1155
  }
1156
- this._dv();
1157
- this._ds(2190);
1156
+ this._dw();
1157
+ this._dt(2190);
1158
1158
  for (let h of fromEnum(this._b._customTableStyles$i)) {
1159
- this._dz(h);
1159
+ this._d0(h);
1160
1160
  }
1161
- this._dj();
1161
+ this._dk();
1162
1162
  if (this._b._palette$i.isCustom) {
1163
- this._ds(146);
1163
+ this._dt(146);
1164
1164
  }
1165
- this._ds(352);
1166
- this._df();
1167
- this._ds(140);
1168
- this._dl();
1169
- this._dn();
1165
+ this._dt(352);
1166
+ this._dg();
1167
+ this._dt(140);
1168
+ this._dm();
1169
+ this._dp();
1170
1170
  if (this._aj) {
1171
- this._ds(235);
1171
+ this._dt(235);
1172
1172
  }
1173
1173
  return WorkItemExtensions.a(this._cf(252), () => {
1174
- this._ds(255);
1175
- this._ds(2198);
1176
- this._ds(10);
1174
+ this._dt(255);
1175
+ this._dt(2198);
1176
+ this._dt(10);
1177
1177
  this._ca.h();
1178
1178
  });
1179
1179
  }
1180
- _dv() {
1181
- if (this._cx.count == 0) {
1180
+ _dw() {
1181
+ if (this._cy.count == 0) {
1182
1182
  return;
1183
1183
  }
1184
- for (let a of fromEnum(this._cx)) {
1184
+ for (let a of fromEnum(this._cy)) {
1185
1185
  this._ca.k(a);
1186
- this._ds(659);
1186
+ this._dt(659);
1187
1187
  if (a._i._ch().count != 0) {
1188
- this._ds(2194);
1188
+ this._dt(2194);
1189
1189
  }
1190
1190
  this._ca.h();
1191
1191
  }
1192
1192
  }
1193
- _dw(a) {
1193
+ _dx(a) {
1194
1194
  let b = this._w(a);
1195
1195
  for (let c of fromEnum(b.j)) {
1196
1196
  this._ca.k(c.cell);
1197
- this._ds(28);
1197
+ this._dt(28);
1198
1198
  this._ca.h();
1199
1199
  }
1200
1200
  }
1201
- _dx(a, b) {
1201
+ _dy(a, b) {
1202
1202
  if (a.region == null) {
1203
1203
  return;
1204
1204
  }
1205
1205
  if (b) {
1206
- this._ds(155);
1206
+ this._dt(155);
1207
1207
  }
1208
- this._ds(157);
1208
+ this._dt(157);
1209
1209
  this._ca.k(a);
1210
1210
  let c = a.region._ad;
1211
1211
  let d = new SortedList$2(Number_$type, TableColumnFilterData.$, 1, UtilitiesInt32Comparer._c);
@@ -1221,28 +1221,28 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
1221
1221
  this._ca.k(d);
1222
1222
  for (let h of fromEnum(d._j)) {
1223
1223
  this._ca.k(h);
1224
- this._ds(158);
1224
+ this._dt(158);
1225
1225
  if (h.d) {
1226
- this._ds(2174);
1226
+ this._dt(2174);
1227
1227
  }
1228
1228
  }
1229
1229
  this._ca.h();
1230
1230
  if (a.sortSettings._o) {
1231
- this._ds(2197);
1231
+ this._dt(2197);
1232
1232
  }
1233
1233
  this._ca.h();
1234
1234
  }
1235
1235
  _ch(a, b) {
1236
- let c = this._c7.position;
1236
+ let c = this._c8.position;
1237
1237
  for (let d of fromEnum(b)) {
1238
1238
  this._ca.k(d);
1239
- this._ds(520);
1239
+ this._dt(520);
1240
1240
  this._ca.h();
1241
1241
  }
1242
1242
  let e = new List$1(Number_$type, 0);
1243
1243
  let f = 0;
1244
1244
  return WorkItemExtensions.g(Number_$type, Async.d(WorksheetRow.$, b, (g) => {
1245
- e.add(this._c7.position);
1245
+ e.add(this._c8.position);
1246
1246
  let h = g._hasCellFormat ? g._cellFormatInternal.d : null;
1247
1247
  let i = this._u(g);
1248
1248
  this._cm = new CellContext(g, i);
@@ -1255,7 +1255,7 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
1255
1255
  k.j = h || a._cb(k.r).b;
1256
1256
  }
1257
1257
  this._ck = k;
1258
- j = this._c6();
1258
+ j = this._c7();
1259
1259
  f += j + 1 - k.r;
1260
1260
  if (1000 < f) {
1261
1261
  f = 0;
@@ -1267,10 +1267,10 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
1267
1267
  this._ck = null;
1268
1268
  });
1269
1269
  }), () => {
1270
- let g = this._c7.position;
1270
+ let g = this._c8.position;
1271
1271
  let h = new DBCELLRecord_DBCELLInfo(c, e);
1272
1272
  this._ca.k(h);
1273
- this._ds(215);
1273
+ this._dt(215);
1274
1274
  this._ca.h();
1275
1275
  return g;
1276
1276
  });
@@ -1294,11 +1294,11 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
1294
1294
  })), () => c.add(e));
1295
1295
  }), () => Async.g(c.count > 0, () => WorkItemExtensions.e(Number_$type, this._ch(a, c), (e) => b.add(WorkItemExtensions.m(Number_$type, e))))), () => b);
1296
1296
  }
1297
- _dy(a) {
1297
+ _dz(a) {
1298
1298
  if (a._tables$i.count == 0) {
1299
1299
  return;
1300
1300
  }
1301
- this._ds(2161);
1301
+ this._dt(2161);
1302
1302
  for (let b of fromEnum(a._tables$i)) {
1303
1303
  let c = new SortedList$2(Number_$type, TableColumnFilterData.$, 1, UtilitiesInt32Comparer._c);
1304
1304
  for (let d = 0; d < b._columns$i.count; d++) {
@@ -1311,60 +1311,60 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
1311
1311
  this._ca.k(b);
1312
1312
  this._ca.k(c);
1313
1313
  if (WorkbookSaveManagerExcel2003._cq(b)) {
1314
- this._ds(2168);
1314
+ this._dt(2168);
1315
1315
  }
1316
1316
  else {
1317
- this._ds(2162);
1317
+ this._dt(2162);
1318
1318
  }
1319
1319
  this._ca.k(enumGetBox(LIST12Record_LIST12DataType_$type, 0));
1320
- this._ds(2167);
1320
+ this._dt(2167);
1321
1321
  this._ca.h();
1322
1322
  for (let g of fromEnum(c._j)) {
1323
1323
  if (g.d) {
1324
1324
  this._ca.k(g);
1325
- this._ds(2174);
1325
+ this._dt(2174);
1326
1326
  this._ca.h();
1327
1327
  }
1328
1328
  }
1329
1329
  this._ca.k(enumGetBox(LIST12Record_LIST12DataType_$type, 1));
1330
- this._ds(2167);
1330
+ this._dt(2167);
1331
1331
  this._ca.h();
1332
1332
  this._ca.k(enumGetBox(LIST12Record_LIST12DataType_$type, 2));
1333
- this._ds(2167);
1333
+ this._dt(2167);
1334
1334
  this._ca.h();
1335
1335
  if (b.sortSettings._o) {
1336
- this._ds(2197);
1336
+ this._dt(2197);
1337
1337
  }
1338
1338
  this._ca.h();
1339
1339
  this._ca.h();
1340
1340
  }
1341
1341
  }
1342
- _dz(a) {
1342
+ _d0(a) {
1343
1343
  this._ca.k(a);
1344
- this._ds(2191);
1344
+ this._dt(2191);
1345
1345
  for (let b of fromEnum(this._aa(a))) {
1346
1346
  this._ca.k(enumGetBox(WorksheetTableStyleArea_$type, b.key));
1347
1347
  this._ca.k(b.value);
1348
- this._ds(2192);
1348
+ this._dt(2192);
1349
1349
  this._ca.h();
1350
1350
  this._ca.h();
1351
1351
  }
1352
1352
  this._ca.h();
1353
1353
  }
1354
- _dh(a) {
1355
- if (this._cr == null) {
1354
+ _di(a) {
1355
+ if (this._cs == null) {
1356
1356
  return;
1357
1357
  }
1358
1358
  let b = null;
1359
- if (((() => { let c = this._cr.tryGetValue(a, b); b = c.p1; return c.ret; })()) == false) {
1359
+ if (((() => { let c = this._cs.tryGetValue(a, b); b = c.p1; return c.ret; })()) == false) {
1360
1360
  return;
1361
1361
  }
1362
1362
  for (let c of fromEnum(b.c)) {
1363
1363
  this._ca.k(c);
1364
- this._ds(2169);
1364
+ this._dt(2169);
1365
1365
  for (let d of fromEnum(c.h)) {
1366
1366
  this._ca.k(d);
1367
- this._ds(2170);
1367
+ this._dt(2170);
1368
1368
  this._ca.h();
1369
1369
  }
1370
1370
  this._ca.h();
@@ -1390,19 +1390,19 @@ export let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
1390
1390
  set _cl(a) {
1391
1391
  this._cn.d = a;
1392
1392
  }
1393
- get _cy() {
1394
- return this._cw;
1395
- }
1396
1393
  get _cz() {
1397
- return this._cn.p;
1394
+ return this._cx;
1398
1395
  }
1399
1396
  get _c0() {
1400
- return this._cn.q;
1397
+ return this._cn.p;
1401
1398
  }
1402
1399
  get _c1() {
1403
- return this._cx;
1400
+ return this._cn.q;
1401
+ }
1402
+ get _c2() {
1403
+ return this._cy;
1404
1404
  }
1405
- get _c7() {
1405
+ get _c8() {
1406
1406
  return this._cn.c;
1407
1407
  }
1408
1408
  get _b9() {
@@ -1583,7 +1583,7 @@ export let WorkbookSaveManagerExcel2003_PopuplateShapeDrawingPropertiesVisitor =
1583
1583
  else {
1584
1584
  c = new List$1(PropertyTableBase_PropertyValue.$, 0);
1585
1585
  }
1586
- let e = a._c0.indexOf(new WorkbookSerializationDataExcel2003_ImageHolder(b, 1));
1586
+ let e = a._c1.indexOf(new WorkbookSerializationDataExcel2003_ImageHolder(b, 1));
1587
1587
  if (e >= 0) {
1588
1588
  c.add(new PropertyTableBase_PropertyValue(1, 260, intSToU((e + 1)), false, true));
1589
1589
  }
@@ -2774,10 +2774,10 @@ export let Biff8RecordStream = /*@__PURE__*/ (() => {
2774
2774
  {
2775
2775
  let c = _rest[0];
2776
2776
  let d = _rest[1];
2777
- super(2, c, c._c7, d, c._cb);
2777
+ super(2, c, c._c8, d, c._cb);
2778
2778
  this._et = true;
2779
2779
  this._ew = false;
2780
- c._dc(this);
2780
+ c._dd(this);
2781
2781
  }
2782
2782
  break;
2783
2783
  case 4:
@@ -2816,7 +2816,7 @@ export let Biff8RecordStream = /*@__PURE__*/ (() => {
2816
2816
  }
2817
2817
  let c = this._saveManagerBiff8;
2818
2818
  if (c != null) {
2819
- c._db(this);
2819
+ c._dc(this);
2820
2820
  }
2821
2821
  }
2822
2822
  }
@@ -4995,11 +4995,11 @@ export let Biff8RecordStream = /*@__PURE__*/ (() => {
4995
4995
  h = i.p3;
4996
4996
  let j = -1;
4997
4997
  if (d != null) {
4998
- j = this._saveManagerBiff8._c1.indexOf(d);
4998
+ j = this._saveManagerBiff8._c2.indexOf(d);
4999
4999
  }
5000
5000
  let k = -1;
5001
5001
  if (g != null) {
5002
- k = this._saveManagerBiff8._c1.indexOf(g);
5002
+ k = this._saveManagerBiff8._c2.indexOf(g);
5003
5003
  }
5004
5004
  this._write18(a._a9);
5005
5005
  this._write18(intSToU(0));
@@ -5050,7 +5050,7 @@ export let Biff8RecordStream = /*@__PURE__*/ (() => {
5050
5050
  this._writeFeat11FdaAutoFilter(a, n);
5051
5051
  }
5052
5052
  if (q) {
5053
- this._saveManagerBiff8._c5(a.totalFormula, true, false);
5053
+ this._saveManagerBiff8._c6(a.totalFormula, true, false);
5054
5054
  }
5055
5055
  if (r) {
5056
5056
  this._writeXLUnicodeString(a.totalLabel);
@@ -5382,15 +5382,15 @@ export let Biff8RecordStream = /*@__PURE__*/ (() => {
5382
5382
  p = q.p4;
5383
5383
  let r = -1;
5384
5384
  if (c != null) {
5385
- r = this._saveManagerBiff8._c1.indexOf(c);
5385
+ r = this._saveManagerBiff8._c2.indexOf(c);
5386
5386
  }
5387
5387
  let s = -1;
5388
5388
  if (g != null) {
5389
- s = this._saveManagerBiff8._c1.indexOf(g);
5389
+ s = this._saveManagerBiff8._c2.indexOf(g);
5390
5390
  }
5391
5391
  let t = -1;
5392
5392
  if (j != null) {
5393
- t = this._saveManagerBiff8._c1.indexOf(j);
5393
+ t = this._saveManagerBiff8._c2.indexOf(j);
5394
5394
  }
5395
5395
  this._write13(0);
5396
5396
  this._write13(r);
@@ -7052,7 +7052,7 @@ export let ObjExtensionMethods = /*@__PURE__*/ (() => {
7052
7052
  if (a.a == null) {
7053
7053
  return;
7054
7054
  }
7055
- b._c5(a.a, false, false);
7055
+ b._c6(a.a, false, false);
7056
7056
  }
7057
7057
  static p(a) {
7058
7058
  let b = a._aw;
@@ -7773,7 +7773,7 @@ export let ChildAnchor = /*@__PURE__*/ (() => {
7773
7773
  let c = _rest[0];
7774
7774
  super(0, 0, 16);
7775
7775
  this.n = null;
7776
- this.n = ExcelUtils.hh(c._getBoundsInTwips());
7776
+ this.n = ExcelUtils.hi(c._getBoundsInTwips());
7777
7777
  }
7778
7778
  break;
7779
7779
  case 1:
@@ -8113,7 +8113,7 @@ export let ClientData = /*@__PURE__*/ (() => {
8113
8113
  }
8114
8114
  let m = d._g6._inner[f++];
8115
8115
  l.write(g, k, 6);
8116
- a._c5(m, true, false);
8116
+ a._c6(m, true, false);
8117
8117
  }
8118
8118
  break;
8119
8119
  case 4134:
@@ -8201,7 +8201,7 @@ export let ClientTextBox = /*@__PURE__*/ (() => {
8201
8201
  m(a) {
8202
8202
  super.m(a);
8203
8203
  a._ca.k(this.n);
8204
- a._ds(438);
8204
+ a._dt(438);
8205
8205
  a._cl._nextBlockType = 236;
8206
8206
  a._ca.h();
8207
8207
  }
@@ -8433,8 +8433,8 @@ export let DrawingGroupContainer = /*@__PURE__*/ (() => {
8433
8433
  let c = _rest[0];
8434
8434
  super(15, 0, 0);
8435
8435
  this.r(new DrawingGroup(0, c._a1));
8436
- if (c._c0.count > 0) {
8437
- this.r(new BLIPStoreContainer(0, c._c0));
8436
+ if (c._c1.count > 0) {
8437
+ this.r(new BLIPStoreContainer(0, c._c1));
8438
8438
  }
8439
8439
  if (c._b._ej != null && c._b._ej.count > 0) {
8440
8440
  this.r(new PropertyTable1(1, c._b._ej));
@@ -8569,7 +8569,7 @@ export let GroupShape = /*@__PURE__*/ (() => {
8569
8569
  let c = _rest[0];
8570
8570
  super(1, 0, 16);
8571
8571
  this.n = null;
8572
- this.n = ExcelUtils.hh(c._getBoundsInTwips());
8572
+ this.n = ExcelUtils.hi(c._getBoundsInTwips());
8573
8573
  }
8574
8574
  break;
8575
8575
  case 1:
@@ -8813,7 +8813,7 @@ export let PropertyTable1 = /*@__PURE__*/ (() => {
8813
8813
  return toNullable(Color.$, f.value);
8814
8814
  }
8815
8815
  if (nullableNotEquals(g, null)) {
8816
- return toNullable(Color.$, ExcelUtils.g5(a._b._palette$i._af(g.value)));
8816
+ return toNullable(Color.$, ExcelUtils.g6(a._b._palette$i._af(g.value)));
8817
8817
  }
8818
8818
  if (nullableNotEquals(h, null)) {
8819
8819
  switch (h.value) {
@@ -9331,7 +9331,7 @@ export let ShapeContainer = /*@__PURE__*/ (() => {
9331
9331
  if (d._b0.hasValue == false) {
9332
9332
  return;
9333
9333
  }
9334
- c._dd(d);
9334
+ c._de(d);
9335
9335
  let e = typeCast(WorksheetShapeGroup.$, d);
9336
9336
  if (e != null) {
9337
9337
  this.r(new GroupShape(0, e));
@@ -9394,7 +9394,7 @@ export let ShapeContainer = /*@__PURE__*/ (() => {
9394
9394
  }
9395
9395
  }
9396
9396
  else if (e != null) {
9397
- b._setBoundsInTwips(c, ExcelUtils.hg(e.o));
9397
+ b._setBoundsInTwips(c, ExcelUtils.hh(e.o));
9398
9398
  }
9399
9399
  if (WorksheetCell.l_op_Equality(b.topLeftCornerCell, null)) {
9400
9400
  return;
@@ -9973,7 +9973,7 @@ export let ARRAYRecord = /*@__PURE__*/ (() => {
9973
9973
  }
9974
9974
  a._cl._write17(e);
9975
9975
  a._cl._write18(intSToU(0));
9976
- a._c5(d, true, false);
9976
+ a._c6(d, true, false);
9977
9977
  }
9978
9978
  get_d() {
9979
9979
  return 545;
@@ -10458,7 +10458,7 @@ export let BITMAPRecord = /*@__PURE__*/ (() => {
10458
10458
  let l = a._aw._readUInt16();
10459
10459
  let m = a._aw._readUInt16();
10460
10460
  let n = a._aw._readBytes(k);
10461
- b.sheetBackground = ExcelUtils.g7(n, h, i);
10461
+ b.sheetBackground = ExcelUtils.g8(n, h, i);
10462
10462
  }
10463
10463
  i(a) {
10464
10464
  let b = a._ca.a(Worksheet.$);
@@ -11660,7 +11660,7 @@ export let DVRecord = /*@__PURE__*/ (() => {
11660
11660
  a._cl._write17(0);
11661
11661
  a._cl._write17(0);
11662
11662
  if (e != null) {
11663
- let q = a._c5(e, false, false, false);
11663
+ let q = a._c6(e, false, false, false);
11664
11664
  let r = a._cl.position;
11665
11665
  a._cl.position = p;
11666
11666
  a._cl._write13(q);
@@ -11671,7 +11671,7 @@ export let DVRecord = /*@__PURE__*/ (() => {
11671
11671
  a._cl._write17(0);
11672
11672
  let t = b._o(null);
11673
11673
  if (t != null) {
11674
- let u = a._c5(t, false, false, false);
11674
+ let u = a._c6(t, false, false, false);
11675
11675
  let v = a._cl.position;
11676
11676
  a._cl.position = s;
11677
11677
  a._cl._write13(u);
@@ -11930,7 +11930,7 @@ export let EXTERNNAMERecord = /*@__PURE__*/ (() => {
11930
11930
  }
11931
11931
  a._cl._write17(0);
11932
11932
  a._cl._write15(m, 0);
11933
- a._c5(b._j, true, true);
11933
+ a._c6(b._j, true, true);
11934
11934
  }
11935
11935
  }
11936
11936
  get_d() {
@@ -12020,8 +12020,8 @@ export let EXTSSTRecord = /*@__PURE__*/ (() => {
12020
12020
  i(a) {
12021
12021
  a._cl._write17(8);
12022
12022
  if (a._a3 > 0) {
12023
- for (let b = 0; b < a._cy.count; b++) {
12024
- let c = a._cy._inner[b];
12023
+ for (let b = 0; b < a._cz.count; b++) {
12024
+ let c = a._cz._inner[b];
12025
12025
  a._cl._write18(c.b);
12026
12026
  a._cl._write17(c.a);
12027
12027
  a._cl._write17(0);
@@ -12483,7 +12483,7 @@ export let FORMATRecord = /*@__PURE__*/ (() => {
12483
12483
  if (b == null) {
12484
12484
  return;
12485
12485
  }
12486
- let c = a._c3(b.b);
12486
+ let c = a._c4(b.b);
12487
12487
  a._cl._write17(c);
12488
12488
  a._cl._write15(b.d, 1);
12489
12489
  }
@@ -12551,15 +12551,15 @@ export let FORMULARecord = /*@__PURE__*/ (() => {
12551
12551
  b.write(BitConverter.h(k), 0, 2);
12552
12552
  b.write(BitConverter.i(intSToU(0)), 0, 4);
12553
12553
  a._cl._write11(b);
12554
- a._c5(d, true, false);
12554
+ a._c6(d, true, false);
12555
12555
  if (g && h.rowIndex == c.b.index && h._ab == e.r) {
12556
- a._ds(1212);
12556
+ a._dt(1212);
12557
12557
  }
12558
12558
  if (i == null) {
12559
12559
  return;
12560
12560
  }
12561
12561
  a._ca.k(i);
12562
- a._ds(519);
12562
+ a._dt(519);
12563
12563
  a._ca.h();
12564
12564
  }
12565
12565
  get_d() {
@@ -13449,7 +13449,7 @@ export let MERGEDCELLSRecord = /*@__PURE__*/ (() => {
13449
13449
  let g = a._aw._readUInt16();
13450
13450
  let h = a._aw._readUInt16();
13451
13451
  let i = a._aw._readUInt16();
13452
- let j = ExcelUtils.hf(h, f, i - h, g - f);
13452
+ let j = ExcelUtils.hg(h, f, i - h, g - f);
13453
13453
  if (c.add_1(j) == false) {
13454
13454
  continue;
13455
13455
  }
@@ -13856,7 +13856,7 @@ export let NAMERecord = /*@__PURE__*/ (() => {
13856
13856
  a._cl._write14(c);
13857
13857
  let f = 0;
13858
13858
  if (b._j != null) {
13859
- f = a._c5(b._j, false, false);
13859
+ f = a._c6(b._j, false, false);
13860
13860
  }
13861
13861
  a._cl.position = 4;
13862
13862
  a._cl._write17(f);
@@ -15118,7 +15118,7 @@ export let SHRFMLARecord = /*@__PURE__*/ (() => {
15118
15118
  a._cl._writeRefU(e);
15119
15119
  a._cl.writeByte(0);
15120
15120
  a._cl.writeByte((e._aa * e._ad));
15121
- a._c5(c, true, false, false);
15121
+ a._c6(c, true, false, false);
15122
15122
  }
15123
15123
  get_d() {
15124
15124
  return 1212;
@@ -15271,7 +15271,7 @@ export let SSTRecord = /*@__PURE__*/ (() => {
15271
15271
  let e = new WorkbookSaveManagerExcel2003_ExtSstItem();
15272
15272
  e.b = a._cl.position;
15273
15273
  e.a = a._cl._positionInCurrentBlock;
15274
- a._cy.add(e);
15274
+ a._cz.add(e);
15275
15275
  }
15276
15276
  if (c) {
15277
15277
  b = b._s(a._b);
@@ -15526,8 +15526,8 @@ export let STYLERecord = /*@__PURE__*/ (() => {
15526
15526
  }
15527
15527
  }
15528
15528
  i.formatOptions = j;
15529
- i._dj(j, g);
15530
- i._dt(63 & ~j);
15529
+ i._dk(j, g);
15530
+ i._du(63 & ~j);
15531
15531
  }
15532
15532
  }
15533
15533
  }
@@ -16346,7 +16346,7 @@ export let USERBVIEWRecord = /*@__PURE__*/ (() => {
16346
16346
  let u = a._aw._readFormattedString(1)._y;
16347
16347
  let v = a._b._customViews$i._add(u, r, s);
16348
16348
  v._v = d;
16349
- v.windowOptions._boundsInPixels$i = ExcelUtils.hf(e, f, g, h);
16349
+ v.windowOptions._boundsInPixels$i = ExcelUtils.hg(e, f, g, h);
16350
16350
  v.windowOptions.maximized = p;
16351
16351
  v.windowOptions.objectDisplayStyle = q;
16352
16352
  v.windowOptions.scrollBars = t;
@@ -17007,7 +17007,7 @@ export let WINDOW1Record = /*@__PURE__*/ (() => {
17007
17007
  let c = a._aw._readInt16();
17008
17008
  let d = a._aw._readUInt16();
17009
17009
  let e = a._aw._readUInt16();
17010
- a._b.windowOptions._boundsInTwips$i = ExcelUtils.hf(b, c, d, e);
17010
+ a._b.windowOptions._boundsInTwips$i = ExcelUtils.hg(b, c, d, e);
17011
17011
  let f = a._aw._readUInt16();
17012
17012
  a._b.windowOptions.minimized = (f & 2) == 2;
17013
17013
  let g = (f & 8) == 8;
@@ -17384,7 +17384,7 @@ export let XFCRCRecord = /*@__PURE__*/ (() => {
17384
17384
  let b = ExcelUtils.ew(0, a._b9);
17385
17385
  a._cl._writeFrtHeader();
17386
17386
  a._cl._write17(0);
17387
- a._cl._write17(a._cz.count);
17387
+ a._cl._write17(a._c0.count);
17388
17388
  a._cl._write18(b);
17389
17389
  }
17390
17390
  get_d() {
@@ -17427,7 +17427,7 @@ export let XFEXTRecord = /*@__PURE__*/ (() => {
17427
17427
  for (let e = 0; e < b.a.length; e++) {
17428
17428
  b.a[e].b(a, c);
17429
17429
  }
17430
- c._dv(d);
17430
+ c._dw(d);
17431
17431
  }
17432
17432
  i(a) {
17433
17433
  let b = a._ca.a(XFRecord_XFContext.$);
@@ -17611,9 +17611,13 @@ export let XFRecord = /*@__PURE__*/ (() => {
17611
17611
  al.formatOptions = ap;
17612
17612
  }
17613
17613
  else {
17614
- al._dv(ap);
17614
+ al._dw(ap);
17615
17615
  }
17616
17616
  let aq = a._b3.count;
17617
+ if (al._b1 == 0) {
17618
+ ao._ca._q++;
17619
+ al._dj = ao._ca._q;
17620
+ }
17617
17621
  a._b3.add(al);
17618
17622
  }
17619
17623
  i(a) {
@@ -17630,7 +17634,7 @@ export let XFRecord = /*@__PURE__*/ (() => {
17630
17634
  f = 0;
17631
17635
  }
17632
17636
  else {
17633
- f = a._c3(f);
17637
+ f = a._c4(f);
17634
17638
  }
17635
17639
  a._cl._write17(f);
17636
17640
  let g;