igniteui-webcomponents-excel 4.3.2 → 4.3.3-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.
@@ -72324,7 +72324,13 @@ let CellShiftOperation = /*@__PURE__*/ (() => {
72324
72324
  c._bc(a)._setFormatting1(c._cellFormatInternal, j);
72325
72325
  }
72326
72326
  else {
72327
- c._bc(a)._ar(j);
72327
+ let k = this.h._cb(a).b;
72328
+ if (k != null) {
72329
+ c._bc(a)._setFormatting1(k, j);
72330
+ }
72331
+ else {
72332
+ c._bc(a)._ar(j);
72333
+ }
72328
72334
  }
72329
72335
  return;
72330
72336
  }
@@ -72333,16 +72339,16 @@ let CellShiftOperation = /*@__PURE__*/ (() => {
72333
72339
  }
72334
72340
  }
72335
72341
  else if (f != null) {
72336
- let k = i != null ? i.d._bu() : g;
72337
- let l;
72342
+ let l = i != null ? i.d._bu() : g;
72338
72343
  let m;
72339
- if (((() => { let n = f.tryGetValue(a, m); m = n.p1; return n.ret; })())) {
72340
- l = Tuple.b(Base.$, Boolean_$type, IWorksheetCellFormat_$type, m.c, m.d, k);
72344
+ let n;
72345
+ if (((() => { let o = f.tryGetValue(a, n); n = o.p1; return o.ret; })())) {
72346
+ m = Tuple.b(Base.$, Boolean_$type, IWorksheetCellFormat_$type, n.c, n.d, l);
72341
72347
  }
72342
72348
  else {
72343
- l = Tuple.b(Base.$, Boolean_$type, IWorksheetCellFormat_$type, null, false, k);
72349
+ m = Tuple.b(Base.$, Boolean_$type, IWorksheetCellFormat_$type, null, false, l);
72344
72350
  }
72345
- f.item(a, l);
72351
+ f.item(a, m);
72346
72352
  }
72347
72353
  else {
72348
72354
  return;
@@ -90595,7 +90601,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
90595
90601
  let b = a != null ? a._p : null;
90596
90602
  for (let c of fromEnum(this.worksheet._ff)) {
90597
90603
  if (c.b._ca(b) == false) {
90598
- for (let d of fromEnum(this._ch(c.q, c.r, true))) {
90604
+ for (let d of fromEnum(this._ch(c.r, c.s, true))) {
90599
90605
  this._bc(d.r);
90600
90606
  }
90601
90607
  }
@@ -90765,7 +90771,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
90765
90771
  if (a != null && a._t == false && this != WorksheetRow._bm) {
90766
90772
  for (let b of fromEnum(a._ff)) {
90767
90773
  if (b.b._cd == false) {
90768
- for (let c = b.q; c <= b.r; c++) {
90774
+ for (let c = b.r; c <= b.s; c++) {
90769
90775
  this._bc(c);
90770
90776
  }
90771
90777
  }
@@ -90888,7 +90894,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
90888
90894
  if ((z.b.formatOptions & y) == 0) {
90889
90895
  continue;
90890
90896
  }
90891
- for (let aa = z.q; aa <= z.r; aa++) {
90897
+ for (let aa = z.r; aa <= z.s; aa++) {
90892
90898
  this._bc(aa);
90893
90899
  }
90894
90900
  }
@@ -91757,48 +91763,52 @@ let WorksheetRow = /*@__PURE__*/ (() => {
91757
91763
  p = this._a8(h.value);
91758
91764
  }
91759
91765
  for (let q = a; q <= b; q++) {
91760
- let r = this._bc(q);
91761
- r._ar(i);
91766
+ let r = j != null || d != null;
91767
+ let s = this._bc(q, r);
91768
+ if (s == null) {
91769
+ continue;
91770
+ }
91771
+ s._ar(i);
91762
91772
  if (j != null) {
91763
- r._setFormatting1(j, i);
91773
+ s._setFormatting1(j, i);
91764
91774
  if (nullableNotEquals(h, null)) {
91765
- r._a3(r.formatOptions & ~8, true, -97);
91775
+ s._a3(s.formatOptions & ~8, true, -97);
91766
91776
  if (p != null) {
91767
91777
  if (WorkbookColorInfo.l_op_Inequality(p.topBorderColorInfo, null) && WorkbookColorInfo.l_op_Equality(p.topBorderColorInfo, j.topBorderColorInfo) && p.topBorderStyle == j.topBorderStyle) {
91768
- r._bi(p.topBorderColorInfo, true, -97);
91769
- r._bj(p.topBorderStyle, true, -97);
91778
+ s._bi(p.topBorderColorInfo, true, -97);
91779
+ s._bj(p.topBorderStyle, true, -97);
91770
91780
  }
91771
91781
  if (WorkbookColorInfo.l_op_Inequality(p.bottomBorderColorInfo, null) && WorkbookColorInfo.l_op_Equality(p.bottomBorderColorInfo, j.bottomBorderColorInfo) && p.bottomBorderStyle == j.bottomBorderStyle) {
91772
- r._av(p.bottomBorderColorInfo, true, -97);
91773
- r._aw(p.bottomBorderStyle, true, -97);
91782
+ s._av(p.bottomBorderColorInfo, true, -97);
91783
+ s._aw(p.bottomBorderStyle, true, -97);
91774
91784
  }
91775
91785
  if (!c) {
91776
91786
  if (WorkbookColorInfo.l_op_Inequality(p.leftBorderColorInfo, null) && WorkbookColorInfo.l_op_Equality(p.leftBorderColorInfo, j.leftBorderColorInfo) && p.leftBorderStyle == j.leftBorderStyle) {
91777
- r._a9(p.leftBorderColorInfo, true, -97);
91778
- r._ba(p.leftBorderStyle, true, -97);
91787
+ s._a9(p.leftBorderColorInfo, true, -97);
91788
+ s._ba(p.leftBorderStyle, true, -97);
91779
91789
  }
91780
91790
  if (WorkbookColorInfo.l_op_Inequality(p.rightBorderColorInfo, null) && WorkbookColorInfo.l_op_Equality(p.rightBorderColorInfo, j.rightBorderColorInfo) && p.rightBorderStyle == j.rightBorderStyle) {
91781
- r._bd(p.rightBorderColorInfo, true, -97);
91782
- r._be(p.rightBorderStyle, true, -97);
91791
+ s._bd(p.rightBorderColorInfo, true, -97);
91792
+ s._be(p.rightBorderStyle, true, -97);
91783
91793
  }
91784
91794
  }
91785
91795
  }
91786
91796
  }
91787
91797
  }
91788
91798
  else if (d != null) {
91789
- let s = d._bc(q);
91790
- r.setFormatting(s);
91799
+ let t = d._bc(q);
91800
+ s.setFormatting(t);
91791
91801
  if (l != null) {
91792
- r._a3(r.formatOptions & ~8, true, -97);
91793
- let t = l._a8(q);
91794
- if (t != null) {
91795
- if (WorkbookColorInfo.l_op_Inequality(t.leftBorderColorInfo, null) && WorkbookColorInfo.l_op_Equality(t.leftBorderColorInfo, s.leftBorderColorInfo) && t.leftBorderStyle == s.leftBorderStyle) {
91796
- r._a9(t.leftBorderColorInfo, true, -97);
91797
- r._ba(t.leftBorderStyle, true, -97);
91802
+ s._a3(s.formatOptions & ~8, true, -97);
91803
+ let u = l._a8(q);
91804
+ if (u != null) {
91805
+ if (WorkbookColorInfo.l_op_Inequality(u.leftBorderColorInfo, null) && WorkbookColorInfo.l_op_Equality(u.leftBorderColorInfo, t.leftBorderColorInfo) && u.leftBorderStyle == t.leftBorderStyle) {
91806
+ s._a9(u.leftBorderColorInfo, true, -97);
91807
+ s._ba(u.leftBorderStyle, true, -97);
91798
91808
  }
91799
- if (WorkbookColorInfo.l_op_Inequality(t.rightBorderColorInfo, null) && WorkbookColorInfo.l_op_Equality(t.rightBorderColorInfo, s.rightBorderColorInfo) && t.rightBorderStyle == s.rightBorderStyle) {
91800
- r._bd(t.rightBorderColorInfo, true, -97);
91801
- r._be(t.rightBorderStyle, true, -97);
91809
+ if (WorkbookColorInfo.l_op_Inequality(u.rightBorderColorInfo, null) && WorkbookColorInfo.l_op_Equality(u.rightBorderColorInfo, t.rightBorderColorInfo) && u.rightBorderStyle == t.rightBorderStyle) {
91810
+ s._bd(u.rightBorderColorInfo, true, -97);
91811
+ s._be(u.rightBorderStyle, true, -97);
91802
91812
  }
91803
91813
  }
91804
91814
  }
@@ -91999,37 +92009,40 @@ let WorksheetRow = /*@__PURE__*/ (() => {
91999
92009
  /**
92000
92010
  * @hidden
92001
92011
  */
92002
- _bc(a) {
92003
- let b = this._aj(a);
92004
- return this._bb(b, a);
92012
+ _bc(a, b = true) {
92013
+ let c = this._aj(a);
92014
+ return this._bb(c, a, b);
92005
92015
  }
92006
92016
  /**
92007
92017
  * @hidden
92008
92018
  */
92009
- _bb(a, b) {
92010
- let c = b % 32;
92011
- let d = a[c];
92012
- let e;
92013
- if (d == null) {
92014
- let f = this.worksheet.workbook;
92015
- let g = f == null ? null : f._ca;
92016
- if (g == null) {
92017
- d = new WorksheetCellFormatData(null, 0);
92019
+ _bb(a, b, c = true) {
92020
+ let d = b % 32;
92021
+ let e = a[d];
92022
+ let f;
92023
+ if (e == null) {
92024
+ if (!c) {
92025
+ return null;
92026
+ }
92027
+ let g = this.worksheet.workbook;
92028
+ let h = g == null ? null : g._ca;
92029
+ if (h == null) {
92030
+ e = new WorksheetCellFormatData(null, 0);
92018
92031
  }
92019
92032
  else {
92020
- d = f._ca._p._bu();
92033
+ e = g._ca._p._bu();
92021
92034
  }
92022
- this._dk(b, d);
92023
- e = new WorksheetCellOwnedFormatProxy(d, g, this, b, a);
92024
- a[c] = e._bt;
92035
+ this._dk(b, e);
92036
+ f = new WorksheetCellOwnedFormatProxy(e, h, this, b, a);
92037
+ a[d] = f._bt;
92025
92038
  if (this._a3 != null) {
92026
92039
  this._a3._aj();
92027
92040
  }
92028
92041
  }
92029
92042
  else {
92030
- e = this._be(b, d, a, false);
92043
+ f = this._be(b, e, a, false);
92031
92044
  }
92032
- return e;
92045
+ return f;
92033
92046
  }
92034
92047
  /**
92035
92048
  * @hidden
@@ -92125,72 +92138,85 @@ let WorksheetRow = /*@__PURE__*/ (() => {
92125
92138
  }
92126
92139
  g = h._ca._p;
92127
92140
  }
92128
- let i = g;
92141
+ let i = null;
92142
+ let j = g;
92129
92143
  if (this._hasCellFormat) {
92130
- i = this._cellFormatInternal.d;
92144
+ j = this._cellFormatInternal.d;
92131
92145
  }
92132
- let j = null;
92133
- let k = -1;
92134
- let l = toNullable(WorksheetCellFormatBlock.$, null);
92146
+ else {
92147
+ i = this.worksheet._cb(a);
92148
+ }
92149
+ let k = null;
92150
+ let l = -1;
92151
+ let m = toNullable(WorksheetCellFormatBlock.$, null);
92135
92152
  while (d != null || f != null) {
92136
- if (j == null && d != null) {
92153
+ if (k == null && d != null) {
92137
92154
  if (++e < this._af.length) {
92138
- j = this._af[e];
92155
+ k = this._af[e];
92139
92156
  }
92140
- if (j == null) {
92157
+ if (k == null) {
92141
92158
  d = null;
92142
92159
  }
92143
92160
  }
92144
- if (nullableEquals(l, null) && f != null) {
92161
+ if (nullableEquals(m, null) && f != null) {
92145
92162
  if (f.moveNext() && f.current.a != null) {
92146
- l = toNullable(WorksheetCellFormatBlock.$, f.current);
92163
+ m = toNullable(WorksheetCellFormatBlock.$, f.current);
92147
92164
  }
92148
92165
  else {
92149
92166
  f.dispose();
92150
92167
  f = null;
92151
92168
  }
92152
92169
  }
92153
- let m = 32767;
92154
- if (j != null) {
92155
- m = Math.min(m, j.w);
92156
- }
92157
- if (l.hasValue) {
92158
- m = Math.min(m, l.value.b);
92170
+ let n = 32767;
92171
+ if (k != null) {
92172
+ n = Math.min(n, k.w);
92159
92173
  }
92160
- let n = null;
92161
- if (j != null && j.w == m) {
92162
- n = j;
92163
- j = null;
92174
+ if (m.hasValue) {
92175
+ n = Math.min(n, m.value.b);
92164
92176
  }
92165
92177
  let o = null;
92166
- if (l.hasValue && l.value.b == m) {
92167
- o = l.value.a;
92168
- l = toNullable(WorksheetCellFormatBlock.$, null);
92178
+ if (k != null && k.w == n) {
92179
+ o = k;
92180
+ k = null;
92181
+ }
92182
+ let p = null;
92183
+ if (m.hasValue && m.value.b == n) {
92184
+ p = m.value.a;
92185
+ m = toNullable(WorksheetCellFormatBlock.$, null);
92169
92186
  }
92170
- let p = m * 32;
92171
- if (b < p) {
92187
+ let q = n * 32;
92188
+ if (b < q) {
92172
92189
  return undefined;
92173
92190
  }
92174
- for (let q = Math.max(0, a - p); q < 32; q++) {
92175
- let r = (p + q);
92176
- if (b < r) {
92191
+ for (let r = Math.max(0, a - q); r < 32; r++) {
92192
+ let s = (q + r);
92193
+ if (b < s) {
92177
92194
  return undefined;
92178
92195
  }
92179
- if (r < k) {
92196
+ if (s < l) {
92180
92197
  continue;
92181
92198
  }
92182
- k = r;
92183
- let s = this._al(n, o == null ? null : o[q], i, g, r);
92184
- if (s == null) {
92199
+ l = s;
92200
+ let t = j;
92201
+ if (i != null) {
92202
+ if (!i.g(s)) {
92203
+ i = this.worksheet._cb(s);
92204
+ }
92205
+ if (i.b != null) {
92206
+ t = i.b;
92207
+ }
92208
+ }
92209
+ let u = this._al(o, p == null ? null : p[r], t, g, s);
92210
+ if (u == null) {
92185
92211
  continue;
92186
92212
  }
92187
- yield s;
92188
- n = s.d;
92189
- if (s.l && o != null) {
92190
- o[q] = null;
92213
+ yield u;
92214
+ o = u.d;
92215
+ if (u.l && p != null) {
92216
+ p[r] = null;
92191
92217
  }
92192
92218
  if (c) {
92193
- s.u();
92219
+ u.u();
92194
92220
  }
92195
92221
  }
92196
92222
  }
@@ -92386,7 +92412,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
92386
92412
  if (nullableEquals(d, null) || nullableGreaterThan(d, b)) {
92387
92413
  break;
92388
92414
  }
92389
- } while (this.worksheet._cb(d.value).i);
92415
+ } while (this.worksheet._cb(d.value).j);
92390
92416
  let e;
92391
92417
  if (nullableNotEquals(d, null)) {
92392
92418
  e = Math.min(b, d.value - 1);
@@ -92400,8 +92426,8 @@ let WorksheetRow = /*@__PURE__*/ (() => {
92400
92426
  break;
92401
92427
  }
92402
92428
  let h = this.worksheet._cb(f);
92403
- if (h.i) {
92404
- f = h.r;
92429
+ if (h.j) {
92430
+ f = h.s;
92405
92431
  }
92406
92432
  else if (nullableNotEquals(c, null)) {
92407
92433
  let i = this._a7(f);
@@ -93602,15 +93628,15 @@ let WorksheetRow = /*@__PURE__*/ (() => {
93602
93628
  }
93603
93629
  let k = h.b * 32;
93604
93630
  if (k != e) {
93605
- if (g && (f == null || f.r < e)) {
93631
+ if (g && (f == null || f.s < e)) {
93606
93632
  while (e < c) {
93607
93633
  f = this.worksheet._cb(e);
93608
93634
  a = ExcelUtils.h(a, ExcelUtils.g(f.b._ap));
93609
93635
  b = ExcelUtils.h(b, ExcelUtils.g(f.b._al));
93610
- if (f.r >= k) {
93636
+ if (f.s >= k) {
93611
93637
  break;
93612
93638
  }
93613
- e = f.r + 1;
93639
+ e = f.s + 1;
93614
93640
  }
93615
93641
  }
93616
93642
  else {
@@ -93620,7 +93646,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
93620
93646
  let l = h.a;
93621
93647
  for (let m = 0; m < 32; m++) {
93622
93648
  if (l[m] == null) {
93623
- if (g && (f == null || f.r < m + k)) {
93649
+ if (g && (f == null || f.s < m + k)) {
93624
93650
  f = this.worksheet._cb((m + k));
93625
93651
  a = ExcelUtils.h(a, ExcelUtils.g(f.b._ap));
93626
93652
  b = ExcelUtils.h(b, ExcelUtils.g(f.b._al));
@@ -93663,7 +93689,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
93663
93689
  f = this.worksheet._cb(e);
93664
93690
  a = ExcelUtils.h(a, ExcelUtils.g(f.b._ap));
93665
93691
  b = ExcelUtils.h(b, ExcelUtils.g(f.b._al));
93666
- e = f.r + 1;
93692
+ e = f.s + 1;
93667
93693
  } while (e < c);
93668
93694
  }
93669
93695
  }
@@ -93689,14 +93715,14 @@ let WorksheetRow = /*@__PURE__*/ (() => {
93689
93715
  }
93690
93716
  let l = i.b * 32;
93691
93717
  if (l != f) {
93692
- if (h && (g == null || g.r < f)) {
93718
+ if (h && (g == null || g.s < f)) {
93693
93719
  while (f < c) {
93694
93720
  g = this.worksheet._cb(f);
93695
93721
  b = ExcelUtils.h(b, ExcelUtils.g(d(g.b)));
93696
- if (g.r >= l) {
93722
+ if (g.s >= l) {
93697
93723
  break;
93698
93724
  }
93699
- f = g.r + 1;
93725
+ f = g.s + 1;
93700
93726
  }
93701
93727
  }
93702
93728
  else {
@@ -93706,7 +93732,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
93706
93732
  let m = i.a;
93707
93733
  for (let n = 0; n < 32 && b != 2; n++) {
93708
93734
  if (m[n] == null) {
93709
- if (h && (g == null || g.r < n + l)) {
93735
+ if (h && (g == null || g.s < n + l)) {
93710
93736
  g = this.worksheet._cb((n + l));
93711
93737
  b = ExcelUtils.h(b, ExcelUtils.g(d(g.b)));
93712
93738
  }
@@ -93734,7 +93760,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
93734
93760
  do {
93735
93761
  g = this.worksheet._cb(f);
93736
93762
  b = ExcelUtils.h(b, ExcelUtils.g(d(g.b)));
93737
- f = g.r + 1;
93763
+ f = g.s + 1;
93738
93764
  } while (f < c);
93739
93765
  }
93740
93766
  }
@@ -95510,13 +95536,13 @@ let Worksheet_HideUnhideChangeContext = /*@__PURE__*/ (() => {
95510
95536
  for (let h of fromEnum(this.a._ff)) {
95511
95537
  let i = false;
95512
95538
  for (let j of fromEnum(this.f)) {
95513
- if (j.a <= h.r && h.q <= j.b) {
95539
+ if (j.a <= h.s && h.r <= j.b) {
95514
95540
  i = true;
95515
95541
  break;
95516
95542
  }
95517
95543
  }
95518
95544
  if (i) {
95519
- h.i = (h.i == false);
95545
+ h.j = (h.j == false);
95520
95546
  }
95521
95547
  }
95522
95548
  }
@@ -96841,23 +96867,23 @@ let Worksheet = /*@__PURE__*/ (() => {
96841
96867
  let e = a;
96842
96868
  let f = (a + b - 1);
96843
96869
  let g;
96844
- if (c.r >= f) {
96870
+ if (c.s >= f) {
96845
96871
  g = new Array(1);
96846
96872
  g[0] = c.d(this.workbook, e, f);
96847
96873
  }
96848
96874
  else {
96849
96875
  let h = new List$1(WorksheetColumnBlock.$, 0);
96850
- let i = c.d(this.workbook, e, c.r);
96876
+ let i = c.d(this.workbook, e, c.s);
96851
96877
  h.add(i);
96852
- let j = b - i.t;
96853
- e = (e + i.t);
96878
+ let j = b - i.u;
96879
+ e = (e + i.u);
96854
96880
  while (j > 0) {
96855
96881
  d++;
96856
96882
  c = this._fe._inner[d];
96857
- i = c.d(this.workbook, e, Math.min(c.r, f));
96883
+ i = c.d(this.workbook, e, Math.min(c.s, f));
96858
96884
  h.add(i);
96859
- j -= i.t;
96860
- e += i.t;
96885
+ j -= i.u;
96886
+ e += i.u;
96861
96887
  }
96862
96888
  g = h.toArray();
96863
96889
  }
@@ -97163,7 +97189,7 @@ let Worksheet = /*@__PURE__*/ (() => {
97163
97189
  b = d.p3;
97164
97190
  }
97165
97191
  let e = this._cb(a);
97166
- let f = truncate(MathUtilities.f(e.n(this, 1)));
97192
+ let f = truncate(MathUtilities.f(e.o(this, 1)));
97167
97193
  return new WorksheetItemPosition(1, a, b, f);
97168
97194
  }
97169
97195
  /**
@@ -97180,7 +97206,7 @@ let Worksheet = /*@__PURE__*/ (() => {
97180
97206
  d = f.p2;
97181
97207
  e = f.p3;
97182
97208
  let g = this._cb(e);
97183
- let h = truncate(MathUtilities.f(g.n(this, 1)));
97209
+ let h = truncate(MathUtilities.f(g.o(this, 1)));
97184
97210
  return new WorksheetItemPosition(1, e, a - c, h);
97185
97211
  }
97186
97212
  /**
@@ -97201,7 +97227,7 @@ let Worksheet = /*@__PURE__*/ (() => {
97201
97227
  let k = Math.min(h, c);
97202
97228
  for (let l = g; l <= k; l++) {
97203
97229
  let m = this._cb(l);
97204
- let n = truncate(MathUtilities.f(m.n(this, 1)));
97230
+ let n = truncate(MathUtilities.f(m.o(this, 1)));
97205
97231
  if (n != 0) {
97206
97232
  d.add(new WorksheetItemPosition(1, l, j, n));
97207
97233
  }
@@ -97225,10 +97251,10 @@ let Worksheet = /*@__PURE__*/ (() => {
97225
97251
  let g = this._columns$i;
97226
97252
  for (let h = e; c ? h <= f : h >= f; h += d) {
97227
97253
  let i = this._cb(h);
97228
- if (i.k) {
97254
+ if (i.l) {
97229
97255
  continue;
97230
97256
  }
97231
- let j = c ? i.r : i.q;
97257
+ let j = c ? i.s : i.r;
97232
97258
  while (true) {
97233
97259
  yield g.item(h);
97234
97260
  if (h == j) {
@@ -97253,11 +97279,11 @@ let Worksheet = /*@__PURE__*/ (() => {
97253
97279
  */
97254
97280
  _ga(a, b = false) {
97255
97281
  if (a != null) {
97256
- if (b == false && a.i) {
97282
+ if (b == false && a.j) {
97257
97283
  return 0;
97258
97284
  }
97259
- if (a.v >= 0) {
97260
- return a.v;
97285
+ if (a.w >= 0) {
97286
+ return a.w;
97261
97287
  }
97262
97288
  }
97263
97289
  return this.defaultColumnWidth;
@@ -97291,7 +97317,7 @@ let Worksheet = /*@__PURE__*/ (() => {
97291
97317
  */
97292
97318
  _fo(a, b) {
97293
97319
  if (a != null) {
97294
- return a.n(this, 3, b);
97320
+ return a.o(this, 3, b);
97295
97321
  }
97296
97322
  return this.getDefaultColumnWidth(3);
97297
97323
  }
@@ -97609,23 +97635,23 @@ let Worksheet = /*@__PURE__*/ (() => {
97609
97635
  let l = this._b3;
97610
97636
  for (let m = k.count - 1; m >= 0; m--) {
97611
97637
  let n = k._inner[m];
97612
- if (n.m != 0) {
97613
- g = n.r + 1;
97638
+ if (n.n != 0) {
97639
+ g = n.s + 1;
97614
97640
  break;
97615
97641
  }
97616
97642
  else if (!Base.equalsStatic(n.b, l)) {
97617
- g = n.r;
97643
+ g = n.s;
97618
97644
  break;
97619
97645
  }
97620
97646
  }
97621
97647
  for (let o = 0; o < k.count; o++) {
97622
97648
  let p = k._inner[o];
97623
- if (p.m != 0) {
97624
- i = p.q;
97649
+ if (p.n != 0) {
97650
+ i = p.r;
97625
97651
  break;
97626
97652
  }
97627
97653
  else if (!Base.equalsStatic(p.b, l)) {
97628
- i = p.q;
97654
+ i = p.r;
97629
97655
  break;
97630
97656
  }
97631
97657
  }
@@ -97803,7 +97829,7 @@ let Worksheet = /*@__PURE__*/ (() => {
97803
97829
  * @hidden
97804
97830
  */
97805
97831
  _ec(a) {
97806
- return this._cb(a).i;
97832
+ return this._cb(a).j;
97807
97833
  }
97808
97834
  /**
97809
97835
  * @hidden
@@ -97844,10 +97870,10 @@ let Worksheet = /*@__PURE__*/ (() => {
97844
97870
  h.b = GenericCacheElementEx.r(WorksheetCellFormatData.$, f, i);
97845
97871
  this._hh();
97846
97872
  }
97847
- h.i = d;
97848
- h.m = e;
97849
- h.v = c;
97850
- h.j = g;
97873
+ h.j = d;
97874
+ h.n = e;
97875
+ h.w = c;
97876
+ h.k = g;
97851
97877
  }
97852
97878
  /**
97853
97879
  * @hidden
@@ -97857,7 +97883,7 @@ let Worksheet = /*@__PURE__*/ (() => {
97857
97883
  let d = ((() => { let e = this._f8(a, b, true, c); c = e.p3; return e.ret; })());
97858
97884
  let e = this.workbook._ff;
97859
97885
  let f = d;
97860
- let g = (c.r + 1);
97886
+ let g = (c.s + 1);
97861
97887
  let h = 0;
97862
97888
  for (let i = d + 1; i < this._fe.count; i++) {
97863
97889
  if (g >= e) {
@@ -97865,10 +97891,10 @@ let Worksheet = /*@__PURE__*/ (() => {
97865
97891
  continue;
97866
97892
  }
97867
97893
  let j = this._fe._inner[i];
97868
- let k = j.r + 1 - j.q;
97869
- j.q = g;
97870
- j.r = Math.min(g + k - 1, e - 1);
97871
- g = (j.r + 1);
97894
+ let k = j.s + 1 - j.r;
97895
+ j.r = g;
97896
+ j.s = Math.min(g + k - 1, e - 1);
97897
+ g = (j.s + 1);
97872
97898
  }
97873
97899
  while (h > 0) {
97874
97900
  d = this._fe.count - 1;
@@ -97888,28 +97914,28 @@ let Worksheet = /*@__PURE__*/ (() => {
97888
97914
  let d = this._fe._inner[c];
97889
97915
  let e = b;
97890
97916
  let f = c;
97891
- if (d.q == a && d.q + b >= d.r + 1) {
97892
- e -= d.t;
97917
+ if (d.r == a && d.r + b >= d.s + 1) {
97918
+ e -= d.u;
97893
97919
  this._id(c, d);
97894
97920
  if (c < this._fe.count) {
97895
97921
  let g = this._fe._inner[c];
97896
- let h = g.t;
97897
- g.q = a;
97898
- g.r = (a + h - 1);
97922
+ let h = g.u;
97923
+ g.r = a;
97924
+ g.s = (a + h - 1);
97899
97925
  }
97900
97926
  if (f > 0) {
97901
97927
  f--;
97902
97928
  }
97903
97929
  }
97904
97930
  else {
97905
- let i = Math.min(d.r + 1 - a, b);
97906
- d.r -= i;
97931
+ let i = Math.min(d.s + 1 - a, b);
97932
+ d.s -= i;
97907
97933
  e -= i;
97908
97934
  c++;
97909
97935
  }
97910
97936
  while (e > 0) {
97911
97937
  d = this._fe._inner[c];
97912
- let j = d.t;
97938
+ let j = d.u;
97913
97939
  if (j <= e) {
97914
97940
  e -= j;
97915
97941
  this._id(c, d);
@@ -97917,7 +97943,7 @@ let Worksheet = /*@__PURE__*/ (() => {
97917
97943
  else {
97918
97944
  j -= e;
97919
97945
  e = 0;
97920
- d.r = (d.q + j - 1);
97946
+ d.s = (d.r + j - 1);
97921
97947
  }
97922
97948
  }
97923
97949
  if (this._fe.count == 0) {
@@ -97932,23 +97958,23 @@ let Worksheet = /*@__PURE__*/ (() => {
97932
97958
  let b = this._fe._inner[this._fe.count - 1];
97933
97959
  let c = (this.workbook._ff - 1);
97934
97960
  do {
97935
- if (b.r <= c) {
97961
+ if (b.s <= c) {
97936
97962
  break;
97937
97963
  }
97938
97964
  if (this._fe.count == 1) {
97939
- b.r = c;
97965
+ b.s = c;
97940
97966
  break;
97941
97967
  }
97942
97968
  GenericCacheElementEx.q(WorksheetCellFormatData.$, b.b);
97943
97969
  this._fe.removeAt(this._fe.count - 1);
97944
97970
  b = this._fe._inner[this._fe.count - 1];
97945
97971
  } while (true);
97946
- if (b.r < c) {
97947
- if (b.k) {
97948
- b.r = c;
97972
+ if (b.s < c) {
97973
+ if (b.l) {
97974
+ b.s = c;
97949
97975
  }
97950
97976
  else {
97951
- let d = new WorksheetColumnBlock(0, (b.r + 1), c, this.workbook._ca._p);
97977
+ let d = new WorksheetColumnBlock(0, (b.s + 1), c, this.workbook._ca._p);
97952
97978
  d.b.k();
97953
97979
  this._fe.add(d);
97954
97980
  }
@@ -98161,45 +98187,45 @@ let Worksheet = /*@__PURE__*/ (() => {
98161
98187
  * @hidden
98162
98188
  */
98163
98189
  _h9(a) {
98164
- let b = a.q;
98165
- let c = a.r;
98190
+ let b = a.r;
98191
+ let c = a.s;
98166
98192
  let d;
98167
98193
  let e = ((() => { let f = this._f8(b, (c - (b + 1)), false, d); d = f.p3; return f.ret; })());
98168
98194
  let f = d == a;
98169
98195
  let g = 0;
98170
98196
  if (f) {
98171
- if (d.r >= a.r) {
98197
+ if (d.s >= a.s) {
98172
98198
  return;
98173
98199
  }
98174
- g = a.r - d.r;
98175
- d.r = a.r;
98200
+ g = a.s - d.s;
98201
+ d.s = a.s;
98176
98202
  }
98177
98203
  else {
98178
- if (d.q == a.q) {
98179
- if (d.r == a.r) {
98204
+ if (d.r == a.r) {
98205
+ if (d.s == a.s) {
98180
98206
  this._fe._inner[e] = a;
98181
98207
  return;
98182
98208
  }
98183
- if (d.r > a.r) {
98209
+ if (d.s > a.s) {
98184
98210
  this._fe.insert(e, a);
98185
- d.q = (a.r + 1);
98211
+ d.r = (a.s + 1);
98186
98212
  return;
98187
98213
  }
98188
- g = a.r - d.r;
98214
+ g = a.s - d.s;
98189
98215
  this._fe._inner[e] = a;
98190
98216
  }
98191
98217
  else {
98192
- if (a.r >= d.r) {
98193
- g = a.r - d.r;
98194
- d.r = (a.q - 1);
98218
+ if (a.s >= d.s) {
98219
+ g = a.s - d.s;
98220
+ d.s = (a.r - 1);
98195
98221
  this._fe.insert(e + 1, a);
98196
98222
  }
98197
98223
  else {
98198
- let h = d.r;
98199
- d.r = (a.q - 1);
98224
+ let h = d.s;
98225
+ d.s = (a.r - 1);
98200
98226
  this._fe.insert(e + 1, a);
98201
- if (h > a.r) {
98202
- this._fe.insert(e + 2, d.d(this.workbook, (a.r + 1), h));
98227
+ if (h > a.s) {
98228
+ this._fe.insert(e + 2, d.d(this.workbook, (a.s + 1), h));
98203
98229
  }
98204
98230
  }
98205
98231
  }
@@ -98207,12 +98233,12 @@ let Worksheet = /*@__PURE__*/ (() => {
98207
98233
  while (g > 0) {
98208
98234
  e++;
98209
98235
  d = this._fe._inner[e];
98210
- if (g >= d.t) {
98211
- g -= d.t;
98236
+ if (g >= d.u) {
98237
+ g -= d.u;
98212
98238
  this._fe.removeAt(e);
98213
98239
  }
98214
98240
  else {
98215
- d.q += g;
98241
+ d.r += g;
98216
98242
  g = 0;
98217
98243
  }
98218
98244
  }
@@ -98390,20 +98416,20 @@ let Worksheet = /*@__PURE__*/ (() => {
98390
98416
  let n = l.e;
98391
98417
  let o = this._f9(m);
98392
98418
  let p = this._ff._inner[o];
98393
- if (p.q < m) {
98394
- this._cc(m, Math.min(p.r, n));
98419
+ if (p.r < m) {
98420
+ this._cc(m, Math.min(p.s, n));
98395
98421
  o++;
98396
98422
  }
98397
98423
  let q = this._f9(n);
98398
98424
  p = this._ff._inner[q];
98399
- if (p.r > n) {
98400
- this._cc(Math.max(p.q, m), n);
98425
+ if (p.s > n) {
98426
+ this._cc(Math.max(p.r, m), n);
98401
98427
  }
98402
98428
  for (let r = o; r <= q; r++) {
98403
98429
  p = this._fe._inner[r];
98404
- p.v = l.c;
98405
- p.j = l.a;
98406
- p.i = l.b;
98430
+ p.w = l.c;
98431
+ p.k = l.a;
98432
+ p.j = l.b;
98407
98433
  }
98408
98434
  this._cd(n);
98409
98435
  this._cd(m);
@@ -98886,16 +98912,16 @@ let Worksheet = /*@__PURE__*/ (() => {
98886
98912
  _cc(a, b) {
98887
98913
  let c = this._f9(a);
98888
98914
  let d = this._fe._inner[c];
98889
- let e = d.r;
98890
- if (d.q != a) {
98891
- d.r = (a - 1);
98915
+ let e = d.s;
98916
+ if (d.r != a) {
98917
+ d.s = (a - 1);
98892
98918
  let f = new WorksheetColumnBlock(1, a, e, d);
98893
98919
  c++;
98894
98920
  this._fe.insert(c, f);
98895
98921
  d = f;
98896
98922
  }
98897
- if (d.r != b) {
98898
- d.r = b;
98923
+ if (d.s != b) {
98924
+ d.s = b;
98899
98925
  let g = new WorksheetColumnBlock(1, (b + 1), e, d);
98900
98926
  this._fe.insert(c + 1, g);
98901
98927
  }
@@ -98949,23 +98975,24 @@ let Worksheet = /*@__PURE__*/ (() => {
98949
98975
  _cd(a) {
98950
98976
  let b = this._f9(a);
98951
98977
  let c = this._fe._inner[b];
98952
- if (c.q != 0) {
98953
- let d = this._cb((c.q - 1));
98954
- if (c.equals(d)) {
98978
+ let d = this.defaultColumnWidth;
98979
+ if (c.r != 0) {
98980
+ let e = this._cb((c.r - 1));
98981
+ if (c.i(e, d)) {
98955
98982
  this._ff.removeAt(b);
98956
98983
  GenericCacheElementEx.q(WorksheetCellFormatData.$, c.b);
98957
- d.r = c.r;
98958
- c = d;
98984
+ e.s = c.s;
98985
+ c = e;
98959
98986
  }
98960
98987
  }
98961
- let e = this._columns$i.maxCount - 1;
98962
- if (c.r != e) {
98963
- let f = this._f9((c.r + 1));
98964
- let g = this._fe._inner[f];
98965
- if (c.equals(g)) {
98966
- this._ff.removeAt(f);
98967
- GenericCacheElementEx.q(WorksheetCellFormatData.$, g.b);
98968
- c.r = g.r;
98988
+ let f = this._columns$i.maxCount - 1;
98989
+ if (c.s != f) {
98990
+ let g = this._f9((c.s + 1));
98991
+ let h = this._fe._inner[g];
98992
+ if (c.i(h, d)) {
98993
+ this._ff.removeAt(g);
98994
+ GenericCacheElementEx.q(WorksheetCellFormatData.$, h.b);
98995
+ c.s = h.s;
98969
98996
  }
98970
98997
  }
98971
98998
  return c;
@@ -99183,10 +99210,11 @@ let Worksheet = /*@__PURE__*/ (() => {
99183
99210
  * @hidden
99184
99211
  */
99185
99212
  _ca(a = 0) {
99186
- let b = new WorksheetColumnBlock(0, a, (this.workbook._ff - 1), this.workbook._ca._p);
99187
- b.b.k();
99188
- this._fe.add(b);
99189
- return b;
99213
+ let b = this._b3;
99214
+ let c = new WorksheetColumnBlock(0, a, (this.workbook._ff - 1), b);
99215
+ c.b.k();
99216
+ this._fe.add(c);
99217
+ return c;
99190
99218
  }
99191
99219
  /**
99192
99220
  * @hidden
@@ -99207,7 +99235,7 @@ let Worksheet = /*@__PURE__*/ (() => {
99207
99235
  if (e.g(a)) {
99208
99236
  return d;
99209
99237
  }
99210
- let f = e.q - a;
99238
+ let f = e.r - a;
99211
99239
  if (f < 0) {
99212
99240
  b = d + 1;
99213
99241
  }
@@ -99312,20 +99340,23 @@ let Worksheet = /*@__PURE__*/ (() => {
99312
99340
  _hj(a) {
99313
99341
  let b = this._fe._inner[a];
99314
99342
  if (a == 0) {
99315
- b.r -= b.q;
99316
- b.q = 0;
99343
+ b.s -= b.r;
99344
+ b.r = 0;
99317
99345
  }
99318
99346
  for (let c = a + 1; c < this._fe.count; c++) {
99319
99347
  let d = this._fe._inner[c];
99320
- let e = d.t;
99321
- d.q = (b.r + 1);
99322
- d.r = (d.q + e - 1);
99348
+ let e = d.u;
99349
+ d.r = (b.s + 1);
99350
+ d.s = (d.r + e - 1);
99323
99351
  b = d;
99324
99352
  }
99325
- if (b.r < this.workbook._ff - 1 && false == b.k) {
99326
- b = this._ca((b.r + 1));
99353
+ if (b.s < this.workbook._ff - 1 && false == b.l) {
99354
+ b = this._ca((b.s + 1));
99355
+ if (b != this._cd(b.r)) {
99356
+ b = this._ff._inner[this._ff.count - 1];
99357
+ }
99327
99358
  }
99328
- b.r = (this.workbook._ff - 1);
99359
+ b.s = (this.workbook._ff - 1);
99329
99360
  }
99330
99361
  /**
99331
99362
  * @hidden
@@ -99336,8 +99367,8 @@ let Worksheet = /*@__PURE__*/ (() => {
99336
99367
  if (a == 0) {
99337
99368
  d = this._fe._inner[0];
99338
99369
  if (c) {
99339
- if (d.k) {
99340
- d.r = Math.min(d.r + b, f - 1);
99370
+ if (d.l) {
99371
+ d.s = Math.min(d.s + b, f - 1);
99341
99372
  }
99342
99373
  else {
99343
99374
  d = new WorksheetColumnBlock(0, a, (a + b - 1), this.workbook._ca._p);
@@ -99358,7 +99389,7 @@ let Worksheet = /*@__PURE__*/ (() => {
99358
99389
  }
99359
99390
  d = this._fe._inner[e];
99360
99391
  if (c) {
99361
- d.r = Math.min(d.r + b, f - 1);
99392
+ d.s = Math.min(d.s + b, f - 1);
99362
99393
  }
99363
99394
  }
99364
99395
  return {
@@ -99584,8 +99615,8 @@ let Worksheet = /*@__PURE__*/ (() => {
99584
99615
  this._cc(f, f);
99585
99616
  this._cc(h, h);
99586
99617
  for (let u of fromEnum(this._ff)) {
99587
- if (f <= u.q && u.r <= h) {
99588
- u.i = d;
99618
+ if (f <= u.r && u.s <= h) {
99619
+ u.j = d;
99589
99620
  }
99590
99621
  }
99591
99622
  }
@@ -100264,15 +100295,15 @@ let Worksheet = /*@__PURE__*/ (() => {
100264
100295
  */
100265
100296
  get _b3() {
100266
100297
  let a = 0;
100267
- let b = this._ff._inner[0].b;
100298
+ let b = this._ff.count == 0 ? null : this._ff._inner[0].b;
100268
100299
  for (let c = 0; c < this._ff.count; c++) {
100269
100300
  let d = this._ff._inner[c];
100270
- if (a <= d.t) {
100271
- a = d.t;
100301
+ if (a <= d.u) {
100302
+ a = d.u;
100272
100303
  b = d.b;
100273
100304
  }
100274
100305
  }
100275
- if (b._cd) {
100306
+ if (b == null || b._cd) {
100276
100307
  b = this.workbook != null ? this.workbook._ca._p : null;
100277
100308
  }
100278
100309
  return b;
@@ -112575,7 +112606,7 @@ let WorksheetColumn = /*@__PURE__*/ (() => {
112575
112606
  if (b == null) {
112576
112607
  return false;
112577
112608
  }
112578
- return b._cb(a).i;
112609
+ return b._cb(a).j;
112579
112610
  }
112580
112611
  /**
112581
112612
  * @hidden
@@ -112586,7 +112617,7 @@ let WorksheetColumn = /*@__PURE__*/ (() => {
112586
112617
  }
112587
112618
  this._ad();
112588
112619
  this._ak();
112589
- this.worksheet._cb(this.index).i = a;
112620
+ this.worksheet._cb(this.index).j = a;
112590
112621
  this._aj();
112591
112622
  }
112592
112623
  /**
@@ -112786,7 +112817,7 @@ let WorksheetColumn = /*@__PURE__*/ (() => {
112786
112817
  if (b == null) {
112787
112818
  return 0;
112788
112819
  }
112789
- return b._cb(a).m;
112820
+ return b._cb(a).n;
112790
112821
  }
112791
112822
  /**
112792
112823
  * @hidden
@@ -112797,7 +112828,7 @@ let WorksheetColumn = /*@__PURE__*/ (() => {
112797
112828
  }
112798
112829
  this._ad();
112799
112830
  this._ak();
112800
- this.worksheet._cb(this.index).m = a;
112831
+ this.worksheet._cb(this.index).n = a;
112801
112832
  this._aj();
112802
112833
  }
112803
112834
  /**
@@ -113151,7 +113182,7 @@ let WorksheetColumn = /*@__PURE__*/ (() => {
113151
113182
  if (b < 0) {
113152
113183
  return 0;
113153
113184
  }
113154
- return a._cb(b).v;
113185
+ return a._cb(b).w;
113155
113186
  }
113156
113187
  set width(a) {
113157
113188
  this._ad();
@@ -113180,10 +113211,10 @@ let WorksheetColumn = /*@__PURE__*/ (() => {
113180
113211
  }
113181
113212
  this._ak();
113182
113213
  let c = this.worksheet._cb(this.index);
113183
- c.v = a;
113184
- c.j = this.width >= 0;
113214
+ c.w = a;
113215
+ c.k = this.width >= 0;
113185
113216
  if (this._l) {
113186
- c.i = false;
113217
+ c.j = false;
113187
113218
  this._y();
113188
113219
  }
113189
113220
  this._aj();
@@ -113429,8 +113460,8 @@ let HiddenColumnCollection = /*@__PURE__*/ (() => {
113429
113460
  */
113430
113461
  _n(a) {
113431
113462
  for (let b of fromEnum(a._ff)) {
113432
- if (b.i) {
113433
- for (let c = b.q; c <= b.r; c++) {
113463
+ if (b.j) {
113464
+ for (let c = b.r; c <= b.s; c++) {
113434
113465
  this.add_1(a._columns$i.item(c));
113435
113466
  }
113436
113467
  }
@@ -144088,14 +144119,14 @@ let WorksheetElementResizeContext = /*@__PURE__*/ (() => {
144088
144119
  static k(a, b, c, d) {
144089
144120
  let e = new List$1(IndexRange.$, 0);
144090
144121
  for (let f of fromEnum(a._ff)) {
144091
- if (f.r < b) {
144122
+ if (f.s < b) {
144092
144123
  continue;
144093
144124
  }
144094
- if (c < f.q) {
144125
+ if (c < f.r) {
144095
144126
  break;
144096
144127
  }
144097
- if (f.i != d) {
144098
- e.add(new IndexRange(1, Math.max(f.q, b), Math.min(f.r, c)));
144128
+ if (f.j != d) {
144129
+ e.add(new IndexRange(1, Math.max(f.r, b), Math.min(f.s, c)));
144099
144130
  }
144100
144131
  }
144101
144132
  return e;
@@ -144145,16 +144176,16 @@ let WorksheetElementResizeContext = /*@__PURE__*/ (() => {
144145
144176
  let f = a._dv;
144146
144177
  let g = a.defaultRowHeight;
144147
144178
  for (let h of fromEnum(a._ff)) {
144148
- let i = h.q;
144149
- let j = h.r;
144179
+ let i = h.r;
144180
+ let j = h.s;
144150
144181
  if (j < b) {
144151
144182
  continue;
144152
144183
  }
144153
144184
  let k = d.count == 0 ? null : d._inner[d.count - 1];
144154
- if (k == null || k.c != h.v || k.a != h.j || k.b != h.i) {
144185
+ if (k == null || k.c != h.w || k.a != h.k || k.b != h.j) {
144155
144186
  let l = k == null ? b : k.e + 1;
144156
144187
  let m = Math.min(c, j);
144157
- k = new WorksheetElementResizeState(l, m, h.v, h.i, h.j);
144188
+ k = new WorksheetElementResizeState(l, m, h.w, h.j, h.k);
144158
144189
  d.add(k);
144159
144190
  }
144160
144191
  else {
@@ -144217,15 +144248,15 @@ let WorksheetElementResizeContext = /*@__PURE__*/ (() => {
144217
144248
  let i = a._ff._inner[h];
144218
144249
  let j = d.count;
144219
144250
  while (true) {
144220
- let k = i.v;
144221
- let l = i.i;
144222
- let m = i.j;
144223
- if (i.r < f.e) {
144251
+ let k = i.w;
144252
+ let l = i.j;
144253
+ let m = i.k;
144254
+ if (i.s < f.e) {
144224
144255
  h++;
144225
144256
  i = a._ff._inner[h];
144226
- if (i.v != k || i.i != l || i.j != m) {
144227
- d.add(new WorksheetElementResizeState(g, i.q - 1, k, l, m));
144228
- g = i.q;
144257
+ if (i.w != k || i.j != l || i.k != m) {
144258
+ d.add(new WorksheetElementResizeState(g, i.r - 1, k, l, m));
144259
+ g = i.r;
144229
144260
  }
144230
144261
  }
144231
144262
  else {
@@ -145737,11 +145768,11 @@ let WorksheetColumnBlock = /*@__PURE__*/ (() => {
145737
145768
  constructor(a, ..._rest) {
145738
145769
  super();
145739
145770
  this.a = null;
145740
- this.o = 0;
145741
- this.e = false;
145742
145771
  this.p = 0;
145743
- this.l = 0;
145744
- this.s = -1;
145772
+ this.e = false;
145773
+ this.q = 0;
145774
+ this.m = 0;
145775
+ this.t = -1;
145745
145776
  this.f = false;
145746
145777
  a = (a == void 0) ? 0 : a;
145747
145778
  switch (a) {
@@ -145750,8 +145781,8 @@ let WorksheetColumnBlock = /*@__PURE__*/ (() => {
145750
145781
  let c = _rest[0];
145751
145782
  let d = _rest[1];
145752
145783
  let e = _rest[2];
145753
- this.o = c;
145754
- this.p = d;
145784
+ this.p = c;
145785
+ this.q = d;
145755
145786
  this.a = e;
145756
145787
  }
145757
145788
  break;
@@ -145765,13 +145796,13 @@ let WorksheetColumnBlock = /*@__PURE__*/ (() => {
145765
145796
  let h = f[0];
145766
145797
  let i = f[1];
145767
145798
  let j = f[2];
145768
- this.o = h;
145769
- this.p = i;
145799
+ this.p = h;
145800
+ this.q = i;
145770
145801
  this.a = j;
145771
145802
  }
145772
145803
  this.e = e.e;
145773
- this.l = e.l;
145774
- this.s = e.s;
145804
+ this.m = e.m;
145805
+ this.t = e.t;
145775
145806
  this.a.k();
145776
145807
  this.f = e.f;
145777
145808
  }
@@ -145783,16 +145814,21 @@ let WorksheetColumnBlock = /*@__PURE__*/ (() => {
145783
145814
  if (b == null) {
145784
145815
  return false;
145785
145816
  }
145786
- return this.e == b.e && this.l == b.l && this.s == b.s && this.f == b.f && this.a.equals(b.a);
145817
+ return this.i(b);
145818
+ }
145819
+ i(a, b = -1) {
145820
+ let c = this.t < 0 ? b : this.t;
145821
+ let d = a.t < 0 ? b : a.t;
145822
+ return this.e == a.e && this.m == a.m && c == d && this.f == a.f && this.a.equals(a.a);
145787
145823
  }
145788
145824
  getHashCode() {
145789
- return Base.getHashCodeStatic(this.e) ^ (this.l) ^ (this.s) ^ Base.getHashCodeStatic(this.f) ^ this.a.getHashCode();
145825
+ return Base.getHashCodeStatic(this.e) ^ (this.m) ^ (this.t) ^ Base.getHashCodeStatic(this.f) ^ this.a.getHashCode();
145790
145826
  }
145791
145827
  toString() {
145792
145828
  let a = new StringBuilder(0);
145793
- a.r("FirstColumn: {0}, LastColumn: {1}", this.o, this.p);
145794
- if (this.s >= 0) {
145795
- a.q(", Width: {0}", this.s);
145829
+ a.r("FirstColumn: {0}, LastColumn: {1}", this.p, this.q);
145830
+ if (this.t >= 0) {
145831
+ a.q(", Width: {0}", this.t);
145796
145832
  }
145797
145833
  if (this.e) {
145798
145834
  a.l(", Hidden");
@@ -145800,32 +145836,32 @@ let WorksheetColumnBlock = /*@__PURE__*/ (() => {
145800
145836
  return a.toString();
145801
145837
  }
145802
145838
  c(a) {
145803
- return this.d(a, this.q, this.r);
145839
+ return this.d(a, this.r, this.s);
145804
145840
  }
145805
145841
  d(a, b, c) {
145806
145842
  let d = new WorksheetColumnBlock(0, b, c, this.b._bv(a));
145807
145843
  d.e = this.e;
145808
- d.l = this.l;
145809
- d.s = this.s;
145844
+ d.m = this.m;
145845
+ d.t = this.t;
145810
145846
  d.f = this.f;
145811
145847
  return d;
145812
145848
  }
145813
145849
  g(a) {
145814
- return a >= this.o && a <= this.p;
145850
+ return a >= this.p && a <= this.q;
145815
145851
  }
145816
- n(a, b, c = false) {
145817
- if (c == false && this.i) {
145852
+ o(a, b, c = false) {
145853
+ if (c == false && this.j) {
145818
145854
  return 0;
145819
145855
  }
145820
- return a._fl(this.v < 0 ? a.defaultColumnWidth : this.v, b);
145856
+ return a._fl(this.w < 0 ? a.defaultColumnWidth : this.w, b);
145821
145857
  }
145822
- x(a, b) {
145823
- if (this.k) {
145858
+ y(a, b) {
145859
+ if (this.l) {
145824
145860
  return;
145825
145861
  }
145826
145862
  let c = Workbook.getMaxColumnCount(b) - 1;
145827
- if (c < this.q) {
145828
- a.g(stringFormat(ExcelUtils.eh("LE_FormatLimitError_MaxColumnIndex"), Math.max(this.q, c + 1), c));
145863
+ if (c < this.r) {
145864
+ a.g(stringFormat(ExcelUtils.eh("LE_FormatLimitError_MaxColumnIndex"), Math.max(this.r, c + 1), c));
145829
145865
  }
145830
145866
  }
145831
145867
  get b() {
@@ -145834,47 +145870,47 @@ let WorksheetColumnBlock = /*@__PURE__*/ (() => {
145834
145870
  set b(a) {
145835
145871
  this.a = a;
145836
145872
  }
145837
- get t() {
145838
- return this.p + 1 - this.o;
145873
+ get u() {
145874
+ return this.q + 1 - this.p;
145839
145875
  }
145840
- get q() {
145841
- return this.o;
145876
+ get r() {
145877
+ return this.p;
145842
145878
  }
145843
- set q(a) {
145844
- this.o = a;
145879
+ set r(a) {
145880
+ this.p = a;
145845
145881
  }
145846
- get i() {
145882
+ get j() {
145847
145883
  return this.e;
145848
145884
  }
145849
- set i(a) {
145885
+ set j(a) {
145850
145886
  this.e = a;
145851
145887
  }
145852
- get j() {
145888
+ get k() {
145853
145889
  return this.f;
145854
145890
  }
145855
- set j(a) {
145891
+ set k(a) {
145856
145892
  this.f = a;
145857
145893
  }
145858
- get k() {
145859
- return this.e == false && this.l == 0 && this.s == -1 && this.a._cd;
145894
+ get l() {
145895
+ return this.e == false && this.m == 0 && this.t == -1 && this.a._cd;
145860
145896
  }
145861
- get r() {
145862
- return this.p;
145897
+ get s() {
145898
+ return this.q;
145863
145899
  }
145864
- set r(a) {
145865
- this.p = a;
145900
+ set s(a) {
145901
+ this.q = a;
145866
145902
  }
145867
- get m() {
145868
- return this.l;
145903
+ get n() {
145904
+ return this.m;
145869
145905
  }
145870
- set m(a) {
145871
- this.l = a;
145906
+ set n(a) {
145907
+ this.m = a;
145872
145908
  }
145873
- get v() {
145874
- return this.s;
145909
+ get w() {
145910
+ return this.t;
145875
145911
  }
145876
- set v(a) {
145877
- this.s = a;
145912
+ set w(a) {
145913
+ this.t = a;
145878
145914
  }
145879
145915
  }
145880
145916
  WorksheetColumnBlock.$t = /*@__PURE__*/ markType(WorksheetColumnBlock, 'WorksheetColumnBlock');
@@ -149047,11 +149083,11 @@ let WorkbookSaveManager = /*@__PURE__*/ (() => {
149047
149083
  let h = null;
149048
149084
  for (let i of fromEnum(a._ff)) {
149049
149085
  if (this._ah(a, i, h)) {
149050
- f = Math.max(i.m, f);
149086
+ f = Math.max(i.n, f);
149051
149087
  if (nullableEquals(b, null)) {
149052
- b = toNullable(Number_$type, i.q);
149088
+ b = toNullable(Number_$type, i.r);
149053
149089
  }
149054
- c = toNullable(Number_$type, (i.r + 1));
149090
+ c = toNullable(Number_$type, (i.s + 1));
149055
149091
  }
149056
149092
  h = i;
149057
149093
  }
@@ -149203,25 +149239,25 @@ let WorkbookSaveManager = /*@__PURE__*/ (() => {
149203
149239
  let e = false;
149204
149240
  if (a.displayOptions._ap) {
149205
149241
  if (c != null) {
149206
- d = c.m;
149207
- e = c.i;
149242
+ d = c.n;
149243
+ e = c.j;
149208
149244
  }
149209
149245
  }
149210
149246
  else {
149211
- let f = (b.r + 1);
149247
+ let f = (b.s + 1);
149212
149248
  if (f < a._columns$i.maxCount) {
149213
149249
  let g = a._cb(f);
149214
149250
  if (g != null) {
149215
- d = g.m;
149216
- e = g.i;
149251
+ d = g.n;
149252
+ e = g.j;
149217
149253
  }
149218
149254
  }
149219
149255
  }
149220
- let h = e && b.m < d;
149256
+ let h = e && b.n < d;
149221
149257
  if (h) {
149222
149258
  this._aw.add_1(b);
149223
149259
  }
149224
- return h || b.m != 0 || b.v >= 0 || b.b._cd == false;
149260
+ return h || b.n != 0 || b.w >= 0 || b.b._cd == false;
149225
149261
  }
149226
149262
  _v(a, b, c) {
149227
149263
  let d = false;
@@ -154273,7 +154309,7 @@ let WorksheetColumnCollection = /*@__PURE__*/ (() => {
154273
154309
  */
154274
154310
  _af(a, b) {
154275
154311
  for (let c of fromEnum(this._e._ff)) {
154276
- c.x(a, b);
154312
+ c.y(a, b);
154277
154313
  }
154278
154314
  }
154279
154315
  /**
@@ -154313,16 +154349,16 @@ let WorksheetColumnCollection = /*@__PURE__*/ (() => {
154313
154349
  let f = this._e.defaultColumnWidth;
154314
154350
  for (let g of fromEnum(this._e._ff)) {
154315
154351
  let h = 0;
154316
- if (e || g.i == false) {
154317
- if (g.v < 0) {
154352
+ if (e || g.j == false) {
154353
+ if (g.w < 0) {
154318
154354
  h = f;
154319
154355
  }
154320
154356
  else {
154321
- h = g.v;
154357
+ h = g.w;
154322
154358
  }
154323
154359
  }
154324
- let i = Math.max(0, Math.min(g.r, a - 1) - g.q + 1);
154325
- let j = Math.max(0, Math.min(g.r, b - 1) - g.q + 1);
154360
+ let i = Math.max(0, Math.min(g.s, a - 1) - g.r + 1);
154361
+ let j = Math.max(0, Math.min(g.s, b - 1) - g.r + 1);
154326
154362
  if (i == 0 && j == 0) {
154327
154363
  break;
154328
154364
  }
@@ -154344,15 +154380,15 @@ let WorksheetColumnCollection = /*@__PURE__*/ (() => {
154344
154380
  let g = this._e.defaultColumnWidth;
154345
154381
  for (let h of fromEnum(this._e._ff)) {
154346
154382
  let i = 0;
154347
- if (e || h.i == false) {
154348
- if (h.v < 0) {
154383
+ if (e || h.j == false) {
154384
+ if (h.w < 0) {
154349
154385
  i = g;
154350
154386
  }
154351
154387
  else {
154352
- i = h.v;
154388
+ i = h.w;
154353
154389
  }
154354
154390
  }
154355
- let j = (h.r - h.q) + 1;
154391
+ let j = (h.s - h.r) + 1;
154356
154392
  let k = i * j;
154357
154393
  if (f == false) {
154358
154394
  if (a < k) {
@@ -154398,10 +154434,10 @@ let WorksheetColumnCollection = /*@__PURE__*/ (() => {
154398
154434
  _as(a) {
154399
154435
  let b = new HashSet$1(WorksheetColumn.$, 0);
154400
154436
  for (let c of fromEnum(this._e._ff)) {
154401
- if (c.i == false) {
154437
+ if (c.j == false) {
154402
154438
  continue;
154403
154439
  }
154404
- for (let d = c.q; d <= c.r; d++) {
154440
+ for (let d = c.r; d <= c.s; d++) {
154405
154441
  b.add_1(this.item(d));
154406
154442
  }
154407
154443
  }
@@ -206171,7 +206207,7 @@ let ErfUtils = /*@__PURE__*/ (() => {
206171
206207
  }
206172
206208
  j = a * a;
206173
206209
  k = 0.12837916709551256 + j * (-0.3250421072470015 + j * (-0.02848174957559851 + j * (-0.0057702702964894416 + j * -2.3763016656650163E-05)));
206174
- h = 1 + j * (0.39791722395915535 + j * (0.0650222499887673 + j * (0.0050813062818757656 + j * (0.00013249473800432165 + j * -3.9602282787753681E-06))));
206210
+ h = 1 + j * (0.39791722395915535 + j * (0.0650222499887673 + j * (0.0050813062818757656 + j * (0.00013249473800432164 + j * -3.9602282787753681E-06))));
206175
206211
  i = k / h;
206176
206212
  return a + a * i;
206177
206213
  }
@@ -206201,7 +206237,7 @@ let ErfUtils = /*@__PURE__*/ (() => {
206201
206237
  e = 1 + h * (19.651271667439257 + h * (137.65775414351904 + h * (434.56587747522923 + h * (645.38727173326788 + h * (429.00814002756783 + h * (108.63500554177944 + h * (6.5702497703192817 + h * -0.0604244152148581)))))));
206202
206238
  }
206203
206239
  else {
206204
- d = -0.0098649429247001 + h * (-0.799283237680523 + h * (-17.757954917754752 + h * (-160.63638485582192 + h * (-637.56644336838963 + h * (-1025.0951316110773 + h * -483.5191916086514)))));
206240
+ d = -0.0098649429247001 + h * (-0.799283237680523 + h * (-17.757954917754752 + h * (-160.63638485582192 + h * (-637.56644336838963 + h * (-1025.0951316110772 + h * -483.5191916086514)))));
206205
206241
  e = 1 + h * (30.338060743482458 + h * (325.79251299657392 + h * (1536.729586084437 + h * (3199.8582195085955 + h * (2553.0504064331644 + h * (474.52854120695537 + h * -22.440952446585818))))));
206206
206242
  }
206207
206243
  j = ErfUtils.a8(a);
@@ -206233,7 +206269,7 @@ let ErfUtils = /*@__PURE__*/ (() => {
206233
206269
  }
206234
206270
  j = a * a;
206235
206271
  k = 0.12837916709551256 + j * (-0.3250421072470015 + j * (-0.02848174957559851 + j * (-0.0057702702964894416 + j * -2.3763016656650163E-05)));
206236
- h = 1 + j * (0.39791722395915535 + j * (0.0650222499887673 + j * (0.0050813062818757656 + j * (0.00013249473800432165 + j * -3.9602282787753681E-06))));
206272
+ h = 1 + j * (0.39791722395915535 + j * (0.0650222499887673 + j * (0.0050813062818757656 + j * (0.00013249473800432164 + j * -3.9602282787753681E-06))));
206237
206273
  i = k / h;
206238
206274
  if (b < 1070596096) {
206239
206275
  return 1 - (a + a * i);
@@ -206268,7 +206304,7 @@ let ErfUtils = /*@__PURE__*/ (() => {
206268
206304
  if (b < 0 && c >= 1075314688) {
206269
206305
  return 2 - 1E-300;
206270
206306
  }
206271
- d = -0.0098649429247001 + h * (-0.799283237680523 + h * (-17.757954917754752 + h * (-160.63638485582192 + h * (-637.56644336838963 + h * (-1025.0951316110773 + h * -483.5191916086514)))));
206307
+ d = -0.0098649429247001 + h * (-0.799283237680523 + h * (-17.757954917754752 + h * (-160.63638485582192 + h * (-637.56644336838963 + h * (-1025.0951316110772 + h * -483.5191916086514)))));
206272
206308
  e = 1 + h * (30.338060743482458 + h * (325.79251299657392 + h * (1536.729586084437 + h * (3199.8582195085955 + h * (2553.0504064331644 + h * (474.52854120695537 + h * -22.440952446585818))))));
206273
206309
  }
206274
206310
  j = ErfUtils.a8(a);
@@ -247714,18 +247750,18 @@ let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
247714
247750
  }
247715
247751
  f6(a, b) {
247716
247752
  let c = 0;
247717
- if (b.v >= 0) {
247718
- c = b.v / 256;
247753
+ if (b.w >= 0) {
247754
+ c = b.w / 256;
247719
247755
  }
247720
247756
  else {
247721
247757
  c = this.bl.defaultColumnWidth / 256;
247722
247758
  }
247723
- SpreadsheetMLMain.zy(this, intSToU((b.q + 1)), intSToU((b.r + 1)), toNullable(Number_$type, c), b.b._cd ? 0 : a._a8(b.b), b.i, void 0, b.v >= 0 && (b.v != this.bl.defaultColumnWidth || b.j), void 0, b.m, a._ae(b));
247759
+ SpreadsheetMLMain.zy(this, intSToU((b.r + 1)), intSToU((b.s + 1)), toNullable(Number_$type, c), b.b._cd ? 0 : a._a8(b.b), b.j, void 0, b.w >= 0 && (b.w != this.bl.defaultColumnWidth || b.k), void 0, b.n, a._ae(b));
247724
247760
  this.ad.k();
247725
247761
  }
247726
247762
  f7(a) {
247727
247763
  let b = this.bl._ff;
247728
- if (b.count == 1 && b._inner[0].k) {
247764
+ if (b.count == 1 && b._inner[0].l) {
247729
247765
  return;
247730
247766
  }
247731
247767
  SpreadsheetMLMain.z3(this);
@@ -248276,7 +248312,7 @@ let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
248276
248312
  }
248277
248313
  g1() {
248278
248314
  let at = this.bl._ek ? toNullable(Number_$type, this.bl.getDefaultColumnWidth(0)) : toNullable(Number_$type, null);
248279
- if (nullableNotEquals(at, null) && Enumerable.b(WorksheetColumnBlock.$, this.bl._ff, (au) => au.i)) {
248315
+ if (nullableNotEquals(at, null) && Enumerable.b(WorksheetColumnBlock.$, this.bl._ff, (au) => au.j)) {
248280
248316
  at = toNullable(Number_$type, 0);
248281
248317
  }
248282
248318
  SpreadsheetMLMain.adj(this, this.bl.defaultRowHeight / 20, truncate(MathUtilities.j(this.bl.getDefaultColumnWidth(2))), at, this.bl._d4, this.bl._dv, this.bl._dt, this.bl._ds);
@@ -307291,11 +307327,11 @@ let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
307291
307327
  }
307292
307328
  _dg(a) {
307293
307329
  let b = new List$1(WorksheetColumnBlock.$, 1, a._ff);
307294
- if (b.count == 1 && b._inner[0].k) {
307330
+ if (b.count == 1 && b._inner[0].l) {
307295
307331
  return;
307296
307332
  }
307297
307333
  for (let c of fromEnum(b)) {
307298
- if (c.k) {
307334
+ if (c.l) {
307299
307335
  continue;
307300
307336
  }
307301
307337
  this._ca.k(c);
@@ -317448,24 +317484,24 @@ let COLINFORecord = /*@__PURE__*/ (() => {
317448
317484
  if (c == null) {
317449
317485
  return;
317450
317486
  }
317451
- a._cl._write17(b.q);
317452
- let d = b.r;
317487
+ a._cl._write17(b.r);
317488
+ let d = b.s;
317453
317489
  if (d == 255) {
317454
317490
  d = 256;
317455
317491
  }
317456
317492
  a._cl._write17(d);
317457
- if (b.v < 0) {
317493
+ if (b.w < 0) {
317458
317494
  a._cl._write17(c.defaultColumnWidth);
317459
317495
  }
317460
317496
  else {
317461
- a._cl._write17(b.v);
317497
+ a._cl._write17(b.w);
317462
317498
  }
317463
317499
  a._cl._write17(a._a8(b.b));
317464
317500
  let e = 2;
317465
- if (b.i) {
317501
+ if (b.j) {
317466
317502
  e |= 1;
317467
317503
  }
317468
- e |= (b.m << 8);
317504
+ e |= (b.n << 8);
317469
317505
  if (a._ae(b)) {
317470
317506
  e |= 4096;
317471
317507
  }
@@ -321661,7 +321697,7 @@ let STANDARDWIDTHRecord = /*@__PURE__*/ (() => {
321661
321697
  return;
321662
321698
  }
321663
321699
  let c = b.defaultColumnWidth;
321664
- if (Enumerable.b(WorksheetColumnBlock.$, b._ff, (d) => d.i)) {
321700
+ if (Enumerable.b(WorksheetColumnBlock.$, b._ff, (d) => d.j)) {
321665
321701
  c = 0;
321666
321702
  }
321667
321703
  a._cl._write17(c);