git-semver-tagger 1.10.0 → 1.12.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.
- package/kotlin/clikt-clikt-mordant.js +76 -76
- package/kotlin/clikt-clikt.js +1316 -1316
- package/kotlin/colormath-root-colormath.js +426 -426
- package/kotlin/command-line-tools-tagger-cli.js +360 -320
- package/kotlin/command-line-tools-tagger-cli.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1655 -1655
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1466 -1466
- package/kotlin/mordant-mordant.js +1157 -1157
- package/kotlin/tools-tagger-core.js +44 -14
- package/kotlin/tools-tagger-core.js.map +1 -1
- package/kotlin/tools-tagger-json.js +150 -130
- package/kotlin/tools-tagger-json.js.map +1 -1
- package/package.json +1 -1
|
@@ -141,26 +141,26 @@
|
|
|
141
141
|
} else if (other === get_DEFAULT_STYLE()) {
|
|
142
142
|
tmp = this;
|
|
143
143
|
} else {
|
|
144
|
-
var tmp0_elvis_lhs = other.
|
|
145
|
-
var tmp_0 = tmp0_elvis_lhs == null ? this.
|
|
146
|
-
var tmp1_elvis_lhs = other.
|
|
147
|
-
var tmp_1 = tmp1_elvis_lhs == null ? this.
|
|
148
|
-
var tmp2_elvis_lhs = other.
|
|
149
|
-
var tmp_2 = tmp2_elvis_lhs == null ? this.
|
|
150
|
-
var tmp3_elvis_lhs = other.
|
|
151
|
-
var tmp_3 = tmp3_elvis_lhs == null ? this.
|
|
152
|
-
var tmp4_elvis_lhs = other.
|
|
153
|
-
var tmp_4 = tmp4_elvis_lhs == null ? this.
|
|
154
|
-
var tmp5_elvis_lhs = other.
|
|
155
|
-
var tmp_5 = tmp5_elvis_lhs == null ? this.
|
|
156
|
-
var tmp6_elvis_lhs = other.
|
|
157
|
-
var tmp_6 = tmp6_elvis_lhs == null ? this.
|
|
158
|
-
var tmp7_elvis_lhs = other.
|
|
159
|
-
var tmp_7 = tmp7_elvis_lhs == null ? this.
|
|
160
|
-
var tmp8_elvis_lhs = other.
|
|
161
|
-
var tmp_8 = tmp8_elvis_lhs == null ? this.
|
|
162
|
-
var tmp9_elvis_lhs = other.
|
|
163
|
-
tmp = new TxtStyle(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, tmp_8, tmp9_elvis_lhs == null ? this.
|
|
144
|
+
var tmp0_elvis_lhs = other.s1x();
|
|
145
|
+
var tmp_0 = tmp0_elvis_lhs == null ? this.s1x() : tmp0_elvis_lhs;
|
|
146
|
+
var tmp1_elvis_lhs = other.t1x();
|
|
147
|
+
var tmp_1 = tmp1_elvis_lhs == null ? this.t1x() : tmp1_elvis_lhs;
|
|
148
|
+
var tmp2_elvis_lhs = other.y1x();
|
|
149
|
+
var tmp_2 = tmp2_elvis_lhs == null ? this.y1x() : tmp2_elvis_lhs;
|
|
150
|
+
var tmp3_elvis_lhs = other.u1x();
|
|
151
|
+
var tmp_3 = tmp3_elvis_lhs == null ? this.u1x() : tmp3_elvis_lhs;
|
|
152
|
+
var tmp4_elvis_lhs = other.v1x();
|
|
153
|
+
var tmp_4 = tmp4_elvis_lhs == null ? this.v1x() : tmp4_elvis_lhs;
|
|
154
|
+
var tmp5_elvis_lhs = other.z1x();
|
|
155
|
+
var tmp_5 = tmp5_elvis_lhs == null ? this.z1x() : tmp5_elvis_lhs;
|
|
156
|
+
var tmp6_elvis_lhs = other.w1x();
|
|
157
|
+
var tmp_6 = tmp6_elvis_lhs == null ? this.w1x() : tmp6_elvis_lhs;
|
|
158
|
+
var tmp7_elvis_lhs = other.x1x();
|
|
159
|
+
var tmp_7 = tmp7_elvis_lhs == null ? this.x1x() : tmp7_elvis_lhs;
|
|
160
|
+
var tmp8_elvis_lhs = other.a1y();
|
|
161
|
+
var tmp_8 = tmp8_elvis_lhs == null ? this.a1y() : tmp8_elvis_lhs;
|
|
162
|
+
var tmp9_elvis_lhs = other.b1y();
|
|
163
|
+
tmp = new TxtStyle(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, tmp_8, tmp9_elvis_lhs == null ? this.b1y() : tmp9_elvis_lhs);
|
|
164
164
|
}
|
|
165
165
|
return tmp;
|
|
166
166
|
}
|
|
@@ -172,8 +172,8 @@
|
|
|
172
172
|
initMetadataForClass(ThemeBuilder, 'ThemeBuilder');
|
|
173
173
|
initMetadataForClass(Whitespace, 'Whitespace', VOID, Enum);
|
|
174
174
|
function render$default(t, width, $super) {
|
|
175
|
-
width = width === VOID ? t.d1().
|
|
176
|
-
return $super === VOID ? this.
|
|
175
|
+
width = width === VOID ? t.d1().n20_1 : width;
|
|
176
|
+
return $super === VOID ? this.c22(t, width) : $super.c22.call(this, t, width);
|
|
177
177
|
}
|
|
178
178
|
initMetadataForInterface(Widget, 'Widget');
|
|
179
179
|
initMetadataForClass(WidthRange, 'WidthRange');
|
|
@@ -196,10 +196,10 @@
|
|
|
196
196
|
init = tmp;
|
|
197
197
|
var tmp_0;
|
|
198
198
|
if ($super === VOID) {
|
|
199
|
-
this.
|
|
199
|
+
this.h25(cells, init);
|
|
200
200
|
tmp_0 = Unit_instance;
|
|
201
201
|
} else {
|
|
202
|
-
tmp_0 = $super.
|
|
202
|
+
tmp_0 = $super.h25.call(this, cells, init);
|
|
203
203
|
}
|
|
204
204
|
return tmp_0;
|
|
205
205
|
}
|
|
@@ -213,10 +213,10 @@
|
|
|
213
213
|
init = tmp;
|
|
214
214
|
var tmp_0;
|
|
215
215
|
if ($super === VOID) {
|
|
216
|
-
this.
|
|
216
|
+
this.j25(content, init);
|
|
217
217
|
tmp_0 = Unit_instance;
|
|
218
218
|
} else {
|
|
219
|
-
tmp_0 = $super.
|
|
219
|
+
tmp_0 = $super.j25.call(this, content, init);
|
|
220
220
|
}
|
|
221
221
|
return tmp_0;
|
|
222
222
|
}
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
initMetadataForCompanion(Companion_2);
|
|
225
225
|
initMetadataForClass(ColumnWidth, 'ColumnWidth');
|
|
226
226
|
function padding(all) {
|
|
227
|
-
this.
|
|
227
|
+
this.p25(Padding_init_$Create$(all));
|
|
228
228
|
}
|
|
229
229
|
initMetadataForInterface(CellStyleBuilder, 'CellStyleBuilder');
|
|
230
230
|
initMetadataForClass(VerticalLayoutBuilderInstance, 'VerticalLayoutBuilderInstance', VerticalLayoutBuilderInstance, VOID, [LinearLayoutBuilder]);
|
|
@@ -274,30 +274,30 @@
|
|
|
274
274
|
//endregion
|
|
275
275
|
function AnsiCodes() {
|
|
276
276
|
AnsiCodes_instance = this;
|
|
277
|
-
this.
|
|
278
|
-
this.
|
|
279
|
-
this.
|
|
280
|
-
this.
|
|
281
|
-
this.
|
|
282
|
-
this.
|
|
283
|
-
this.
|
|
284
|
-
this.
|
|
285
|
-
this.
|
|
286
|
-
this.
|
|
287
|
-
this.
|
|
288
|
-
this.
|
|
289
|
-
this.
|
|
290
|
-
this.
|
|
291
|
-
this.
|
|
292
|
-
this.
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
295
|
-
this.
|
|
296
|
-
this.
|
|
297
|
-
this.
|
|
298
|
-
this.
|
|
299
|
-
this.
|
|
300
|
-
this.
|
|
277
|
+
this.u1w_1 = numberRangeToNumber(30, 37);
|
|
278
|
+
this.v1w_1 = numberRangeToNumber(90, 97);
|
|
279
|
+
this.w1w_1 = 38;
|
|
280
|
+
this.x1w_1 = 39;
|
|
281
|
+
this.y1w_1 = 10;
|
|
282
|
+
this.z1w_1 = numberRangeToNumber(40, 47);
|
|
283
|
+
this.a1x_1 = numberRangeToNumber(100, 107);
|
|
284
|
+
this.b1x_1 = 48;
|
|
285
|
+
this.c1x_1 = 49;
|
|
286
|
+
this.d1x_1 = 5;
|
|
287
|
+
this.e1x_1 = 2;
|
|
288
|
+
this.f1x_1 = 58;
|
|
289
|
+
this.g1x_1 = 0;
|
|
290
|
+
this.h1x_1 = 1;
|
|
291
|
+
this.i1x_1 = 22;
|
|
292
|
+
this.j1x_1 = 2;
|
|
293
|
+
this.k1x_1 = 3;
|
|
294
|
+
this.l1x_1 = 23;
|
|
295
|
+
this.m1x_1 = 4;
|
|
296
|
+
this.n1x_1 = 24;
|
|
297
|
+
this.o1x_1 = 7;
|
|
298
|
+
this.p1x_1 = 27;
|
|
299
|
+
this.q1x_1 = 9;
|
|
300
|
+
this.r1x_1 = 29;
|
|
301
301
|
}
|
|
302
302
|
var AnsiCodes_instance;
|
|
303
303
|
function AnsiCodes_getInstance() {
|
|
@@ -320,39 +320,39 @@
|
|
|
320
320
|
return '';
|
|
321
321
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
322
322
|
var codes = ArrayList_init_$Create$();
|
|
323
|
-
if (!equals(old.
|
|
323
|
+
if (!equals(old.s1x(), new_0.s1x())) {
|
|
324
324
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
325
|
-
var elements = toAnsi(new_0.
|
|
325
|
+
var elements = toAnsi(new_0.s1x(), 38, 39, 0);
|
|
326
326
|
addAll(codes, elements);
|
|
327
327
|
}
|
|
328
|
-
if (!equals(old.
|
|
328
|
+
if (!equals(old.t1x(), new_0.t1x())) {
|
|
329
329
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
330
|
-
var elements_0 = toAnsi(new_0.
|
|
330
|
+
var elements_0 = toAnsi(new_0.t1x(), 48, 49, 10);
|
|
331
331
|
addAll(codes, elements_0);
|
|
332
332
|
}
|
|
333
|
-
makeTag$style(codes, old.
|
|
334
|
-
makeTag$style(codes, old.
|
|
335
|
-
makeTag$style(codes, old.
|
|
336
|
-
makeTag$style(codes, old.
|
|
337
|
-
if (old.
|
|
333
|
+
makeTag$style(codes, old.u1x(), new_0.u1x(), 3, 23);
|
|
334
|
+
makeTag$style(codes, old.v1x(), new_0.v1x(), 4, 24);
|
|
335
|
+
makeTag$style(codes, old.w1x(), new_0.w1x(), 7, 27);
|
|
336
|
+
makeTag$style(codes, old.x1x(), new_0.x1x(), 9, 29);
|
|
337
|
+
if (old.y1x() === true && !(new_0.y1x() === true) || (old.z1x() === true && !(new_0.z1x() === true))) {
|
|
338
338
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
339
339
|
codes.v(22);
|
|
340
|
-
if (new_0.
|
|
340
|
+
if (new_0.y1x() === true) {
|
|
341
341
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
342
342
|
codes.v(1);
|
|
343
343
|
}
|
|
344
|
-
if (new_0.
|
|
344
|
+
if (new_0.z1x() === true) {
|
|
345
345
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
346
346
|
codes.v(2);
|
|
347
347
|
}
|
|
348
348
|
} else {
|
|
349
|
-
makeTag$style(codes, old.
|
|
350
|
-
makeTag$style(codes, old.
|
|
349
|
+
makeTag$style(codes, old.y1x(), new_0.y1x(), 1, 22);
|
|
350
|
+
makeTag$style(codes, old.z1x(), new_0.z1x(), 2, 22);
|
|
351
351
|
}
|
|
352
352
|
var csi = codes.p() ? '' : joinToString(codes, ';', '\x1B[', 'm');
|
|
353
353
|
var tmp;
|
|
354
|
-
if (!(old.
|
|
355
|
-
tmp = csi + makeHyperlinkTag(new_0.
|
|
354
|
+
if (!(old.a1y() == new_0.a1y()) && !(new_0.a1y() === '__mordant_reset__')) {
|
|
355
|
+
tmp = csi + makeHyperlinkTag(new_0.a1y(), new_0.b1y());
|
|
356
356
|
} else {
|
|
357
357
|
tmp = csi;
|
|
358
358
|
}
|
|
@@ -360,29 +360,29 @@
|
|
|
360
360
|
}
|
|
361
361
|
function toAnsi(_this__u8e3s4, select, reset, offset) {
|
|
362
362
|
var tmp34_safe_receiver = (!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, TextStyle) : false) ? _this__u8e3s4 : null;
|
|
363
|
-
var tmp0_elvis_lhs = tmp34_safe_receiver == null ? null : tmp34_safe_receiver.
|
|
363
|
+
var tmp0_elvis_lhs = tmp34_safe_receiver == null ? null : tmp34_safe_receiver.s1x();
|
|
364
364
|
var it = tmp0_elvis_lhs == null ? _this__u8e3s4 : tmp0_elvis_lhs;
|
|
365
365
|
var tmp;
|
|
366
366
|
if (it == null) {
|
|
367
367
|
tmp = listOf_0(reset);
|
|
368
368
|
} else {
|
|
369
369
|
if (it instanceof Ansi16) {
|
|
370
|
-
switch (it.
|
|
370
|
+
switch (it.z1s_1) {
|
|
371
371
|
case 39:
|
|
372
372
|
case 49:
|
|
373
373
|
tmp = listOf_0(reset);
|
|
374
374
|
break;
|
|
375
375
|
default:
|
|
376
|
-
tmp = listOf_0(it.
|
|
376
|
+
tmp = listOf_0(it.z1s_1 + offset | 0);
|
|
377
377
|
break;
|
|
378
378
|
}
|
|
379
379
|
} else {
|
|
380
380
|
if (it instanceof Ansi256) {
|
|
381
|
-
tmp = listOf([select, 5, it.
|
|
381
|
+
tmp = listOf([select, 5, it.d1t_1]);
|
|
382
382
|
} else {
|
|
383
383
|
// Inline function 'kotlin.run' call
|
|
384
|
-
var $this$run = it.
|
|
385
|
-
tmp = listOf([select, 2, $this$run.
|
|
384
|
+
var $this$run = it.a1s().i1v();
|
|
385
|
+
tmp = listOf([select, 2, $this$run.w1u(), $this$run.x1u(), $this$run.y1u()]);
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
}
|
|
@@ -406,7 +406,7 @@
|
|
|
406
406
|
// Inline function 'kotlin.text.buildString' call
|
|
407
407
|
// Inline function 'kotlin.apply' call
|
|
408
408
|
var this_0 = StringBuilder_init_$Create$();
|
|
409
|
-
var iterator = lines.
|
|
409
|
+
var iterator = lines.c1y_1.r();
|
|
410
410
|
var index = 0;
|
|
411
411
|
while (iterator.s()) {
|
|
412
412
|
var i = index;
|
|
@@ -419,10 +419,10 @@
|
|
|
419
419
|
var _iterator__ex2g4s = line.r();
|
|
420
420
|
while (_iterator__ex2g4s.s()) {
|
|
421
421
|
var span = _iterator__ex2g4s.t();
|
|
422
|
-
var newStyle = downsample(span.
|
|
422
|
+
var newStyle = downsample(span.g1y_1, level, hyperlinks);
|
|
423
423
|
this_0.o(makeTag(activeStyle, newStyle));
|
|
424
424
|
activeStyle = newStyle;
|
|
425
|
-
this_0.o(span.
|
|
425
|
+
this_0.o(span.f1y_1);
|
|
426
426
|
}
|
|
427
427
|
this_0.o(makeTag(activeStyle, get_DEFAULT_STYLE()));
|
|
428
428
|
}
|
|
@@ -439,7 +439,7 @@
|
|
|
439
439
|
tmp_0 = get_DEFAULT_STYLE();
|
|
440
440
|
break;
|
|
441
441
|
case 1:
|
|
442
|
-
var tmp29_safe_receiver = style.
|
|
442
|
+
var tmp29_safe_receiver = style.s1x();
|
|
443
443
|
var tmp_1;
|
|
444
444
|
if (tmp29_safe_receiver == null) {
|
|
445
445
|
tmp_1 = null;
|
|
@@ -449,13 +449,13 @@
|
|
|
449
449
|
if (tmp29_safe_receiver instanceof Ansi16) {
|
|
450
450
|
tmp_2 = tmp29_safe_receiver;
|
|
451
451
|
} else {
|
|
452
|
-
tmp_2 = tmp29_safe_receiver.
|
|
452
|
+
tmp_2 = tmp29_safe_receiver.a1s().i1v().e1t();
|
|
453
453
|
}
|
|
454
454
|
tmp_1 = tmp_2;
|
|
455
455
|
}
|
|
456
456
|
|
|
457
457
|
var tmp_3 = tmp_1;
|
|
458
|
-
var tmp30_safe_receiver = style.
|
|
458
|
+
var tmp30_safe_receiver = style.t1x();
|
|
459
459
|
var tmp_4;
|
|
460
460
|
if (tmp30_safe_receiver == null) {
|
|
461
461
|
tmp_4 = null;
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
if (tmp30_safe_receiver instanceof Ansi16) {
|
|
466
466
|
tmp_5 = tmp30_safe_receiver;
|
|
467
467
|
} else {
|
|
468
|
-
tmp_5 = tmp30_safe_receiver.
|
|
468
|
+
tmp_5 = tmp30_safe_receiver.a1s().i1v().e1t();
|
|
469
469
|
}
|
|
470
470
|
tmp_4 = tmp_5;
|
|
471
471
|
}
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
var tmp_6 = tmp_4;
|
|
474
474
|
// Inline function 'kotlin.takeIf' call
|
|
475
475
|
|
|
476
|
-
var this_0 = style.
|
|
476
|
+
var this_0 = style.a1y();
|
|
477
477
|
var tmp_7;
|
|
478
478
|
if (hyperlinks) {
|
|
479
479
|
tmp_7 = this_0;
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
var tmp_8 = tmp_7;
|
|
485
485
|
// Inline function 'kotlin.takeIf' call
|
|
486
486
|
|
|
487
|
-
var this_1 = style.
|
|
487
|
+
var this_1 = style.b1y();
|
|
488
488
|
var tmp_9;
|
|
489
489
|
if (hyperlinks) {
|
|
490
490
|
tmp_9 = this_1;
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
tmp_0 = copy(style, tmp_3, tmp_6, tmp_8, tmp$ret$6);
|
|
497
497
|
break;
|
|
498
498
|
case 2:
|
|
499
|
-
var tmp31_safe_receiver = style.
|
|
499
|
+
var tmp31_safe_receiver = style.s1x();
|
|
500
500
|
var tmp_10;
|
|
501
501
|
if (tmp31_safe_receiver == null) {
|
|
502
502
|
tmp_10 = null;
|
|
@@ -512,13 +512,13 @@
|
|
|
512
512
|
if (tmp_12) {
|
|
513
513
|
tmp_11 = tmp31_safe_receiver;
|
|
514
514
|
} else {
|
|
515
|
-
tmp_11 = tmp31_safe_receiver.
|
|
515
|
+
tmp_11 = tmp31_safe_receiver.a1s().i1v().h1v();
|
|
516
516
|
}
|
|
517
517
|
tmp_10 = tmp_11;
|
|
518
518
|
}
|
|
519
519
|
|
|
520
520
|
var tmp_13 = tmp_10;
|
|
521
|
-
var tmp32_safe_receiver = style.
|
|
521
|
+
var tmp32_safe_receiver = style.t1x();
|
|
522
522
|
var tmp_14;
|
|
523
523
|
if (tmp32_safe_receiver == null) {
|
|
524
524
|
tmp_14 = null;
|
|
@@ -534,7 +534,7 @@
|
|
|
534
534
|
if (tmp_16) {
|
|
535
535
|
tmp_15 = tmp32_safe_receiver;
|
|
536
536
|
} else {
|
|
537
|
-
tmp_15 = tmp32_safe_receiver.
|
|
537
|
+
tmp_15 = tmp32_safe_receiver.a1s().i1v().h1v();
|
|
538
538
|
}
|
|
539
539
|
tmp_14 = tmp_15;
|
|
540
540
|
}
|
|
@@ -542,7 +542,7 @@
|
|
|
542
542
|
var tmp_17 = tmp_14;
|
|
543
543
|
// Inline function 'kotlin.takeIf' call
|
|
544
544
|
|
|
545
|
-
var this_2 = style.
|
|
545
|
+
var this_2 = style.a1y();
|
|
546
546
|
var tmp_18;
|
|
547
547
|
if (hyperlinks) {
|
|
548
548
|
tmp_18 = this_2;
|
|
@@ -553,7 +553,7 @@
|
|
|
553
553
|
var tmp_19 = tmp_18;
|
|
554
554
|
// Inline function 'kotlin.takeIf' call
|
|
555
555
|
|
|
556
|
-
var this_3 = style.
|
|
556
|
+
var this_3 = style.b1y();
|
|
557
557
|
var tmp_20;
|
|
558
558
|
if (hyperlinks) {
|
|
559
559
|
tmp_20 = this_3;
|
|
@@ -565,7 +565,7 @@
|
|
|
565
565
|
tmp_0 = copy(style, tmp_13, tmp_17, tmp_19, tmp$ret$14);
|
|
566
566
|
break;
|
|
567
567
|
case 3:
|
|
568
|
-
tmp_0 = hyperlinks || style.
|
|
568
|
+
tmp_0 = hyperlinks || style.a1y() == null ? style : copy(style, style.s1x(), style.t1x(), null, null);
|
|
569
569
|
break;
|
|
570
570
|
default:
|
|
571
571
|
noWhenBranchMatchedException();
|
|
@@ -584,8 +584,8 @@
|
|
|
584
584
|
var new_0 = updateStyle($style._v, $this_invokeStyle, match.m1());
|
|
585
585
|
var tmp_0;
|
|
586
586
|
if (match.mc().o1_1 === 0) {
|
|
587
|
-
$openStyle._v = new_0.
|
|
588
|
-
$style._v = new_0.
|
|
587
|
+
$openStyle._v = new_0.i1y($this_invokeStyle);
|
|
588
|
+
$style._v = new_0.i1y($this_invokeStyle);
|
|
589
589
|
return '';
|
|
590
590
|
}
|
|
591
591
|
var tag = makeTag($style._v, new_0);
|
|
@@ -635,7 +635,7 @@
|
|
|
635
635
|
DEFAULT_STYLE = TextStyle_0(null, null, false, false, false, false, false, false, null);
|
|
636
636
|
EMPTY_LINES = new Lines(emptyList());
|
|
637
637
|
EMPTY_LINE = new Line(emptyList(), get_DEFAULT_STYLE());
|
|
638
|
-
SINGLE_SPACE = Companion_instance_0.
|
|
638
|
+
SINGLE_SPACE = Companion_instance_0.j1y(1);
|
|
639
639
|
DEFAULT_PADDING = Padding_init_$Create$(0);
|
|
640
640
|
ANSI_RE = Regex_init_$Create$('\x1B\\][^\x1B]*\x1B\\\\|\x1B(?:[@-Z\\\\-_]|\\[[0-?]*[ -/]*[@-~])');
|
|
641
641
|
}
|
|
@@ -647,7 +647,7 @@
|
|
|
647
647
|
var nextHyperlinkId;
|
|
648
648
|
function generateHyperlinkId() {
|
|
649
649
|
_init_properties_HyperlinkIds_kt__yuk2s2();
|
|
650
|
-
return get_nextHyperlinkId().
|
|
650
|
+
return get_nextHyperlinkId().k1y().toString();
|
|
651
651
|
}
|
|
652
652
|
var properties_initialized_HyperlinkIds_kt_p1red0;
|
|
653
653
|
function _init_properties_HyperlinkIds_kt__yuk2s2() {
|
|
@@ -692,7 +692,7 @@
|
|
|
692
692
|
var hyperlink = tmp;
|
|
693
693
|
var tmp_0;
|
|
694
694
|
if (hyperlink == null) {
|
|
695
|
-
tmp_0 = defaultStyle.
|
|
695
|
+
tmp_0 = defaultStyle.b1y();
|
|
696
696
|
} else {
|
|
697
697
|
// Inline function 'kotlin.collections.find' call
|
|
698
698
|
var tmp$ret$3;
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
tmp_0 = tmp37_safe_receiver == null ? null : drop(tmp37_safe_receiver, 3);
|
|
713
713
|
}
|
|
714
714
|
var id = tmp_0;
|
|
715
|
-
return copy(existingStyle, VOID, VOID, hyperlink == null ? defaultStyle.
|
|
715
|
+
return copy(existingStyle, VOID, VOID, hyperlink == null ? defaultStyle.a1y() : hyperlink, id);
|
|
716
716
|
}
|
|
717
717
|
function updateStyleWithCsi(ansi, existingStyle, defaultStyle) {
|
|
718
718
|
if (!endsWith(ansi, 'm'))
|
|
@@ -743,68 +743,68 @@
|
|
|
743
743
|
var codes = destination;
|
|
744
744
|
if (codes.p())
|
|
745
745
|
return defaultStyle;
|
|
746
|
-
var color = existingStyle.
|
|
747
|
-
var bgColor = existingStyle.
|
|
748
|
-
var bold = existingStyle.
|
|
749
|
-
var italic = existingStyle.
|
|
750
|
-
var underline = existingStyle.
|
|
751
|
-
var dim = existingStyle.
|
|
752
|
-
var inverse = existingStyle.
|
|
753
|
-
var strikethrough = existingStyle.
|
|
746
|
+
var color = existingStyle.s1x();
|
|
747
|
+
var bgColor = existingStyle.t1x();
|
|
748
|
+
var bold = existingStyle.y1x();
|
|
749
|
+
var italic = existingStyle.u1x();
|
|
750
|
+
var underline = existingStyle.v1x();
|
|
751
|
+
var dim = existingStyle.z1x();
|
|
752
|
+
var inverse = existingStyle.w1x();
|
|
753
|
+
var strikethrough = existingStyle.x1x();
|
|
754
754
|
var i = 0;
|
|
755
755
|
$l$loop_1: while (i <= get_lastIndex_0(codes)) {
|
|
756
756
|
var code = codes.c1(i);
|
|
757
757
|
if (code === 0) {
|
|
758
|
-
color = defaultStyle.
|
|
759
|
-
bgColor = defaultStyle.
|
|
760
|
-
var tmp0_elvis_lhs = defaultStyle.
|
|
758
|
+
color = defaultStyle.s1x();
|
|
759
|
+
bgColor = defaultStyle.t1x();
|
|
760
|
+
var tmp0_elvis_lhs = defaultStyle.y1x();
|
|
761
761
|
bold = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
762
|
-
var tmp1_elvis_lhs = defaultStyle.
|
|
762
|
+
var tmp1_elvis_lhs = defaultStyle.u1x();
|
|
763
763
|
italic = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
764
|
-
var tmp2_elvis_lhs = defaultStyle.
|
|
764
|
+
var tmp2_elvis_lhs = defaultStyle.v1x();
|
|
765
765
|
underline = tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs;
|
|
766
|
-
var tmp3_elvis_lhs = defaultStyle.
|
|
766
|
+
var tmp3_elvis_lhs = defaultStyle.z1x();
|
|
767
767
|
dim = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
768
|
-
var tmp4_elvis_lhs = defaultStyle.
|
|
768
|
+
var tmp4_elvis_lhs = defaultStyle.w1x();
|
|
769
769
|
inverse = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
|
|
770
|
-
var tmp5_elvis_lhs = defaultStyle.
|
|
770
|
+
var tmp5_elvis_lhs = defaultStyle.x1x();
|
|
771
771
|
strikethrough = tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs;
|
|
772
772
|
} else {
|
|
773
773
|
if (code === 22) {
|
|
774
|
-
var tmp6_elvis_lhs = defaultStyle.
|
|
774
|
+
var tmp6_elvis_lhs = defaultStyle.y1x();
|
|
775
775
|
bold = tmp6_elvis_lhs == null ? false : tmp6_elvis_lhs;
|
|
776
|
-
var tmp7_elvis_lhs = defaultStyle.
|
|
776
|
+
var tmp7_elvis_lhs = defaultStyle.z1x();
|
|
777
777
|
dim = tmp7_elvis_lhs == null ? false : tmp7_elvis_lhs;
|
|
778
778
|
} else {
|
|
779
779
|
if (code === 23) {
|
|
780
|
-
var tmp8_elvis_lhs = defaultStyle.
|
|
780
|
+
var tmp8_elvis_lhs = defaultStyle.u1x();
|
|
781
781
|
italic = tmp8_elvis_lhs == null ? false : tmp8_elvis_lhs;
|
|
782
782
|
} else {
|
|
783
783
|
if (code === 24) {
|
|
784
|
-
var tmp9_elvis_lhs = defaultStyle.
|
|
784
|
+
var tmp9_elvis_lhs = defaultStyle.v1x();
|
|
785
785
|
underline = tmp9_elvis_lhs == null ? false : tmp9_elvis_lhs;
|
|
786
786
|
} else {
|
|
787
787
|
if (code === 27) {
|
|
788
|
-
var tmp10_elvis_lhs = defaultStyle.
|
|
788
|
+
var tmp10_elvis_lhs = defaultStyle.w1x();
|
|
789
789
|
inverse = tmp10_elvis_lhs == null ? false : tmp10_elvis_lhs;
|
|
790
790
|
} else {
|
|
791
791
|
if (code === 29) {
|
|
792
|
-
var tmp11_elvis_lhs = defaultStyle.
|
|
792
|
+
var tmp11_elvis_lhs = defaultStyle.x1x();
|
|
793
793
|
strikethrough = tmp11_elvis_lhs == null ? false : tmp11_elvis_lhs;
|
|
794
794
|
} else {
|
|
795
795
|
if (code === 39)
|
|
796
|
-
color = defaultStyle.
|
|
796
|
+
color = defaultStyle.s1x();
|
|
797
797
|
else {
|
|
798
798
|
if (code === 49)
|
|
799
|
-
bgColor = defaultStyle.
|
|
799
|
+
bgColor = defaultStyle.t1x();
|
|
800
800
|
else {
|
|
801
801
|
var tmp_0;
|
|
802
|
-
var progression = AnsiCodes_getInstance().
|
|
802
|
+
var progression = AnsiCodes_getInstance().u1w_1;
|
|
803
803
|
var containsLower = progression.o1_1;
|
|
804
804
|
if (code <= progression.p1_1 ? containsLower <= code : false) {
|
|
805
805
|
tmp_0 = true;
|
|
806
806
|
} else {
|
|
807
|
-
var progression_0 = AnsiCodes_getInstance().
|
|
807
|
+
var progression_0 = AnsiCodes_getInstance().v1w_1;
|
|
808
808
|
var containsLower_0 = progression_0.o1_1;
|
|
809
809
|
tmp_0 = code <= progression_0.p1_1 ? containsLower_0 <= code : false;
|
|
810
810
|
}
|
|
@@ -812,12 +812,12 @@
|
|
|
812
812
|
color = new Ansi16(code);
|
|
813
813
|
} else {
|
|
814
814
|
var tmp_1;
|
|
815
|
-
var progression_1 = AnsiCodes_getInstance().
|
|
815
|
+
var progression_1 = AnsiCodes_getInstance().z1w_1;
|
|
816
816
|
var containsLower_1 = progression_1.o1_1;
|
|
817
817
|
if (code <= progression_1.p1_1 ? containsLower_1 <= code : false) {
|
|
818
818
|
tmp_1 = true;
|
|
819
819
|
} else {
|
|
820
|
-
var progression_2 = AnsiCodes_getInstance().
|
|
820
|
+
var progression_2 = AnsiCodes_getInstance().a1x_1;
|
|
821
821
|
var containsLower_2 = progression_2.o1_1;
|
|
822
822
|
tmp_1 = code <= progression_2.p1_1 ? containsLower_2 <= code : false;
|
|
823
823
|
}
|
|
@@ -894,7 +894,7 @@
|
|
|
894
894
|
}
|
|
895
895
|
i = i + 1 | 0;
|
|
896
896
|
}
|
|
897
|
-
return new TxtStyle(color, bgColor, bold, italic, underline, dim, inverse, strikethrough, existingStyle.
|
|
897
|
+
return new TxtStyle(color, bgColor, bold, italic, underline, dim, inverse, strikethrough, existingStyle.a1y(), existingStyle.b1y());
|
|
898
898
|
}
|
|
899
899
|
function getAnsiColor(i, codes) {
|
|
900
900
|
var tmp;
|
|
@@ -946,7 +946,7 @@
|
|
|
946
946
|
if (tmp_3) {
|
|
947
947
|
tmp_2 = to(null, 0);
|
|
948
948
|
} else {
|
|
949
|
-
tmp_2 = to(Companion_getInstance().
|
|
949
|
+
tmp_2 = to(Companion_getInstance().b1t(codes.c1(i + 1 | 0), codes.c1(i + 2 | 0), codes.c1(i + 3 | 0)), 4);
|
|
950
950
|
}
|
|
951
951
|
|
|
952
952
|
tmp = tmp_2;
|
|
@@ -973,23 +973,23 @@
|
|
|
973
973
|
return new Lines(splitLines_0);
|
|
974
974
|
}
|
|
975
975
|
function Chunk(text, style) {
|
|
976
|
-
this.
|
|
977
|
-
this.
|
|
976
|
+
this.l1y_1 = text;
|
|
977
|
+
this.m1y_1 = style;
|
|
978
978
|
}
|
|
979
|
-
protoOf(Chunk).
|
|
979
|
+
protoOf(Chunk).n1y = function (text, style) {
|
|
980
980
|
return new Chunk(text, style);
|
|
981
981
|
};
|
|
982
|
-
protoOf(Chunk).
|
|
983
|
-
text = text === VOID ? this.
|
|
984
|
-
style = style === VOID ? this.
|
|
985
|
-
return $super === VOID ? this.
|
|
982
|
+
protoOf(Chunk).o1y = function (text, style, $super) {
|
|
983
|
+
text = text === VOID ? this.l1y_1 : text;
|
|
984
|
+
style = style === VOID ? this.m1y_1 : style;
|
|
985
|
+
return $super === VOID ? this.n1y(text, style) : $super.n1y.call(this, text, style);
|
|
986
986
|
};
|
|
987
987
|
protoOf(Chunk).toString = function () {
|
|
988
|
-
return 'Chunk(text=' + this.
|
|
988
|
+
return 'Chunk(text=' + this.l1y_1 + ', style=' + toString(this.m1y_1) + ')';
|
|
989
989
|
};
|
|
990
990
|
protoOf(Chunk).hashCode = function () {
|
|
991
|
-
var result = getStringHashCode(this.
|
|
992
|
-
result = imul(result, 31) + hashCode(this.
|
|
991
|
+
var result = getStringHashCode(this.l1y_1);
|
|
992
|
+
result = imul(result, 31) + hashCode(this.m1y_1) | 0;
|
|
993
993
|
return result;
|
|
994
994
|
};
|
|
995
995
|
protoOf(Chunk).equals = function (other) {
|
|
@@ -998,9 +998,9 @@
|
|
|
998
998
|
if (!(other instanceof Chunk))
|
|
999
999
|
return false;
|
|
1000
1000
|
var tmp0_other_with_cast = other instanceof Chunk ? other : THROW_CCE();
|
|
1001
|
-
if (!(this.
|
|
1001
|
+
if (!(this.l1y_1 === tmp0_other_with_cast.l1y_1))
|
|
1002
1002
|
return false;
|
|
1003
|
-
if (!equals(this.
|
|
1003
|
+
if (!equals(this.m1y_1, tmp0_other_with_cast.m1y_1))
|
|
1004
1004
|
return false;
|
|
1005
1005
|
return true;
|
|
1006
1006
|
};
|
|
@@ -1036,7 +1036,7 @@
|
|
|
1036
1036
|
var i = 0;
|
|
1037
1037
|
var start = 0;
|
|
1038
1038
|
var chunkType = -1;
|
|
1039
|
-
var t = chunk.
|
|
1039
|
+
var t = chunk.l1y_1;
|
|
1040
1040
|
while (i < t.length) {
|
|
1041
1041
|
var c = charCodeAt(t, i);
|
|
1042
1042
|
var type = c === _Char___init__impl__6a9atx(13) ? 0 : c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(9) || c === _Char___init__impl__6a9atx(133) || c === _Char___init__impl__6a9atx(8232) ? 1 : isWhitespace(c) ? 2 : 3;
|
|
@@ -1044,7 +1044,7 @@
|
|
|
1044
1044
|
chunkType = type;
|
|
1045
1045
|
} else if (type === 1 || !(chunkType === type)) {
|
|
1046
1046
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1047
|
-
var element = chunk.
|
|
1047
|
+
var element = chunk.o1y(substring(t, start, i));
|
|
1048
1048
|
chunks.v(element);
|
|
1049
1049
|
start = i;
|
|
1050
1050
|
chunkType = type;
|
|
@@ -1053,7 +1053,7 @@
|
|
|
1053
1053
|
}
|
|
1054
1054
|
if (!(start === i)) {
|
|
1055
1055
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1056
|
-
var element_0 = chunk.
|
|
1056
|
+
var element_0 = chunk.o1y(substring(t, start, i));
|
|
1057
1057
|
chunks.v(element_0);
|
|
1058
1058
|
}
|
|
1059
1059
|
return chunks;
|
|
@@ -1066,14 +1066,14 @@
|
|
|
1066
1066
|
var _iterator__ex2g4s = words.r();
|
|
1067
1067
|
while (_iterator__ex2g4s.s()) {
|
|
1068
1068
|
var word = _iterator__ex2g4s.t();
|
|
1069
|
-
if (endsWith(word.
|
|
1069
|
+
if (endsWith(word.l1y_1, '\n')) {
|
|
1070
1070
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1071
|
-
var element = new Line(line, word.
|
|
1071
|
+
var element = new Line(line, word.m1y_1);
|
|
1072
1072
|
lines.v(element);
|
|
1073
1073
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1074
1074
|
line = ArrayList_init_$Create$();
|
|
1075
1075
|
} else {
|
|
1076
|
-
line.v(Companion_instance_0.
|
|
1076
|
+
line.v(Companion_instance_0.p1y(word.l1y_1, word.m1y_1));
|
|
1077
1077
|
}
|
|
1078
1078
|
}
|
|
1079
1079
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
@@ -1087,10 +1087,10 @@
|
|
|
1087
1087
|
null;
|
|
1088
1088
|
else {
|
|
1089
1089
|
// Inline function 'kotlin.let' call
|
|
1090
|
-
if (endsWith(tmp36_safe_receiver.
|
|
1090
|
+
if (endsWith(tmp36_safe_receiver.l1y_1, '\n')) {
|
|
1091
1091
|
// Inline function 'kotlin.collections.listOf' call
|
|
1092
1092
|
var tmp$ret$8 = emptyList();
|
|
1093
|
-
lines.v(new Line(tmp$ret$8, tmp36_safe_receiver.
|
|
1093
|
+
lines.v(new Line(tmp$ret$8, tmp36_safe_receiver.m1y_1));
|
|
1094
1094
|
}
|
|
1095
1095
|
}
|
|
1096
1096
|
return lines;
|
|
@@ -1105,10 +1105,10 @@
|
|
|
1105
1105
|
var width = cellWidth(codepoint);
|
|
1106
1106
|
if (!(zwjSeq == null)) {
|
|
1107
1107
|
sumSinceZwj = sumSinceZwj + width | 0;
|
|
1108
|
-
if (zwjSeq.
|
|
1108
|
+
if (zwjSeq.r1y_1.u1(codepoint)) {
|
|
1109
1109
|
sumSinceZwj = 0;
|
|
1110
1110
|
}
|
|
1111
|
-
zwjSeq = zwjSeq.
|
|
1111
|
+
zwjSeq = zwjSeq.q1y_1.m2(codepoint);
|
|
1112
1112
|
if (zwjSeq == null) {
|
|
1113
1113
|
sum = sum + (sumSinceZwj + 2 | 0) | 0;
|
|
1114
1114
|
sumSinceZwj = 0;
|
|
@@ -1117,7 +1117,7 @@
|
|
|
1117
1117
|
}
|
|
1118
1118
|
} else {
|
|
1119
1119
|
if (couldStartEmojiSeq(codepoint)) {
|
|
1120
|
-
zwjSeq = get_EMOJI_SEQUENCES().
|
|
1120
|
+
zwjSeq = get_EMOJI_SEQUENCES().q1y_1.m2(codepoint);
|
|
1121
1121
|
}
|
|
1122
1122
|
if (zwjSeq == null) {
|
|
1123
1123
|
sum = sum + width | 0;
|
|
@@ -1135,17 +1135,17 @@
|
|
|
1135
1135
|
var min = 0;
|
|
1136
1136
|
var mid;
|
|
1137
1137
|
var max = get_lastIndex_1(table);
|
|
1138
|
-
if (codepoint < table[0].
|
|
1138
|
+
if (codepoint < table[0].s1y_1 || codepoint > table[max].t1y_1)
|
|
1139
1139
|
return 1;
|
|
1140
1140
|
while (max >= min) {
|
|
1141
1141
|
mid = (min + max | 0) / 2 | 0;
|
|
1142
1142
|
var entry = table[mid];
|
|
1143
|
-
if (codepoint > entry.
|
|
1143
|
+
if (codepoint > entry.t1y_1)
|
|
1144
1144
|
min = mid + 1 | 0;
|
|
1145
|
-
else if (codepoint < entry.
|
|
1145
|
+
else if (codepoint < entry.s1y_1)
|
|
1146
1146
|
max = mid - 1 | 0;
|
|
1147
1147
|
else
|
|
1148
|
-
return table[mid].
|
|
1148
|
+
return table[mid].u1y_1;
|
|
1149
1149
|
}
|
|
1150
1150
|
return 1;
|
|
1151
1151
|
}
|
|
@@ -5025,9 +5025,9 @@
|
|
|
5025
5025
|
}
|
|
5026
5026
|
var CELL_WIDTH_TABLE;
|
|
5027
5027
|
function CellWidthTableEntry(low, high, width) {
|
|
5028
|
-
this.
|
|
5029
|
-
this.
|
|
5030
|
-
this.
|
|
5028
|
+
this.s1y_1 = low;
|
|
5029
|
+
this.t1y_1 = high;
|
|
5030
|
+
this.u1y_1 = width;
|
|
5031
5031
|
}
|
|
5032
5032
|
var properties_initialized_cellwidthtable_kt_9uoib8;
|
|
5033
5033
|
function _init_properties_cellwidthtable_kt__xxkoba() {
|
|
@@ -5068,15 +5068,15 @@
|
|
|
5068
5068
|
tmp = values;
|
|
5069
5069
|
}
|
|
5070
5070
|
values = tmp;
|
|
5071
|
-
this.
|
|
5072
|
-
this.
|
|
5071
|
+
this.q1y_1 = children;
|
|
5072
|
+
this.r1y_1 = values;
|
|
5073
5073
|
}
|
|
5074
5074
|
protoOf(IntTrie).toString = function () {
|
|
5075
|
-
return 'IntTrie(children=' + toString(this.
|
|
5075
|
+
return 'IntTrie(children=' + toString(this.q1y_1) + ', values=' + toString(this.r1y_1) + ')';
|
|
5076
5076
|
};
|
|
5077
5077
|
protoOf(IntTrie).hashCode = function () {
|
|
5078
|
-
var result = hashCode(this.
|
|
5079
|
-
result = imul(result, 31) + hashCode(this.
|
|
5078
|
+
var result = hashCode(this.q1y_1);
|
|
5079
|
+
result = imul(result, 31) + hashCode(this.r1y_1) | 0;
|
|
5080
5080
|
return result;
|
|
5081
5081
|
};
|
|
5082
5082
|
protoOf(IntTrie).equals = function (other) {
|
|
@@ -5085,9 +5085,9 @@
|
|
|
5085
5085
|
if (!(other instanceof IntTrie))
|
|
5086
5086
|
return false;
|
|
5087
5087
|
var tmp0_other_with_cast = other instanceof IntTrie ? other : THROW_CCE();
|
|
5088
|
-
if (!equals(this.
|
|
5088
|
+
if (!equals(this.q1y_1, tmp0_other_with_cast.q1y_1))
|
|
5089
5089
|
return false;
|
|
5090
|
-
if (!equals(this.
|
|
5090
|
+
if (!equals(this.r1y_1, tmp0_other_with_cast.r1y_1))
|
|
5091
5091
|
return false;
|
|
5092
5092
|
return true;
|
|
5093
5093
|
};
|
|
@@ -5115,7 +5115,7 @@
|
|
|
5115
5115
|
do {
|
|
5116
5116
|
var i = inductionVariable_1;
|
|
5117
5117
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
5118
|
-
var tmp0 = node.
|
|
5118
|
+
var tmp0 = node.q1y_1;
|
|
5119
5119
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5120
5120
|
var key = seq[i];
|
|
5121
5121
|
var value = tmp0.m2(key);
|
|
@@ -5130,7 +5130,7 @@
|
|
|
5130
5130
|
node = tmp;
|
|
5131
5131
|
}
|
|
5132
5132
|
while (inductionVariable_1 < last_2);
|
|
5133
|
-
var tmp0_0 = node.
|
|
5133
|
+
var tmp0_0 = node.r1y_1;
|
|
5134
5134
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5135
5135
|
var element = last_0(seq);
|
|
5136
5136
|
tmp0_0.v(element);
|
|
@@ -5151,13 +5151,13 @@
|
|
|
5151
5151
|
}
|
|
5152
5152
|
function MultiplatformSystem() {
|
|
5153
5153
|
}
|
|
5154
|
-
protoOf(MultiplatformSystem).
|
|
5154
|
+
protoOf(MultiplatformSystem).v1y = function (key) {
|
|
5155
5155
|
return getEnv(key);
|
|
5156
5156
|
};
|
|
5157
|
-
protoOf(MultiplatformSystem).
|
|
5157
|
+
protoOf(MultiplatformSystem).w1y = function (status) {
|
|
5158
5158
|
exitProcessMpp(status);
|
|
5159
5159
|
};
|
|
5160
|
-
protoOf(MultiplatformSystem).
|
|
5160
|
+
protoOf(MultiplatformSystem).x1y = function (path) {
|
|
5161
5161
|
var tmp;
|
|
5162
5162
|
try {
|
|
5163
5163
|
tmp = readFileIfExists(path);
|
|
@@ -5229,25 +5229,25 @@
|
|
|
5229
5229
|
}
|
|
5230
5230
|
function Companion() {
|
|
5231
5231
|
Companion_instance = this;
|
|
5232
|
-
this.
|
|
5233
|
-
this.
|
|
5234
|
-
this.
|
|
5235
|
-
this.
|
|
5236
|
-
this.
|
|
5237
|
-
this.
|
|
5238
|
-
this.
|
|
5239
|
-
this.
|
|
5240
|
-
this.
|
|
5241
|
-
}
|
|
5242
|
-
protoOf(Companion).
|
|
5232
|
+
this.y1y_1 = this.h1z('\u250C\u252C\u2510\u251C\u253C\u2524\u2514\u2534\u2518\u2500\u2502\u2577\u2575\u2574\u2576');
|
|
5233
|
+
this.z1y_1 = this.h1z('\u250C\u252C\u2510\u251C\u253C\u2524\u2514\u2534\u2518\u2500\u2502\u2577\u2575\u2574\u2576', '\u2552\u2564\u2555\u255E\u256A\u2561\u2558\u2567\u255B\u2550\u2502\u2577\u2575 ', '\u250C\u252C\u2510\u251C\u253C\u2524\u2514\u2534\u2518\u2500\u2502\u2577\u2575\u2574\u2576', '\u2552\u2564\u2555\u255E\u256A\u2561\u2558\u2567\u255B\u2550\u2502\u2577\u2575 ');
|
|
5234
|
+
this.a1z_1 = this.h1z('\u256D\u252C\u256E\u251C\u253C\u2524\u2570\u2534\u256F\u2500\u2502\u2577\u2575\u2574\u2576');
|
|
5235
|
+
this.b1z_1 = this.h1z('\u250F\u2533\u2513\u2523\u254B\u252B\u2517\u253B\u251B\u2501\u2503\u257B\u2579\u2578\u257A');
|
|
5236
|
+
this.c1z_1 = this.h1z('\u2554\u2566\u2557\u2560\u256C\u2563\u255A\u2569\u255D\u2550\u2551 ');
|
|
5237
|
+
this.d1z_1 = this.i1z('\u250F\u2533\u2513\u2523\u254B\u252B\u2517\u253B\u251B\u2501\u2503\u257B\u2579\u2578\u257A', '\u250D\u252F\u2511\u2521\u2547\u2529\u2517\u253B\u251B\u2501\u257F\u2577\u2579\u2578\u257A', '\u250C\u252C\u2510\u251C\u253C\u2524\u2514\u2534\u2518\u2500\u2502\u2577\u2575\u2574\u2576', '\u250F\u2533\u2513\u2522\u2548\u252A\u2515\u2537\u2519\u2501\u257D\u257B\u2575\u2578\u257A', '\u250F\u2533\u2513\u2523\u254B\u252B\u2517\u253B\u251B\u2501\u2503\u257B\u2579\u2578\u257A');
|
|
5238
|
+
this.e1z_1 = this.h1z('+++++++++-| ');
|
|
5239
|
+
this.f1z_1 = this.h1z('+++++++++-| ', '+++++++++=| ', '+++++++++-| ', '+++++++++=| ');
|
|
5240
|
+
this.g1z_1 = this.h1z(' ');
|
|
5241
|
+
}
|
|
5242
|
+
protoOf(Companion).i1z = function (head, headBottom, body, bodyBottom, foot) {
|
|
5243
5243
|
return new BorderType(BorderTypeSection_init_$Create$(head), BorderTypeSection_init_$Create$(headBottom), BorderTypeSection_init_$Create$(body), BorderTypeSection_init_$Create$(bodyBottom), BorderTypeSection_init_$Create$(foot));
|
|
5244
5244
|
};
|
|
5245
|
-
protoOf(Companion).
|
|
5245
|
+
protoOf(Companion).h1z = function (head, headBottom, body, bodyBottom, foot, $super) {
|
|
5246
5246
|
headBottom = headBottom === VOID ? head : headBottom;
|
|
5247
5247
|
body = body === VOID ? head : body;
|
|
5248
5248
|
bodyBottom = bodyBottom === VOID ? body : bodyBottom;
|
|
5249
5249
|
foot = foot === VOID ? body : foot;
|
|
5250
|
-
return $super === VOID ? this.
|
|
5250
|
+
return $super === VOID ? this.i1z(head, headBottom, body, bodyBottom, foot) : $super.i1z.call(this, head, headBottom, body, bodyBottom, foot);
|
|
5251
5251
|
};
|
|
5252
5252
|
var Companion_instance;
|
|
5253
5253
|
function Companion_getInstance_0() {
|
|
@@ -5257,11 +5257,11 @@
|
|
|
5257
5257
|
}
|
|
5258
5258
|
function BorderType(head, headBottom, body, bodyBottom, foot) {
|
|
5259
5259
|
Companion_getInstance_0();
|
|
5260
|
-
this.
|
|
5261
|
-
this.
|
|
5262
|
-
this.
|
|
5263
|
-
this.
|
|
5264
|
-
this.
|
|
5260
|
+
this.j1z_1 = head;
|
|
5261
|
+
this.k1z_1 = headBottom;
|
|
5262
|
+
this.l1z_1 = body;
|
|
5263
|
+
this.m1z_1 = bodyBottom;
|
|
5264
|
+
this.n1z_1 = foot;
|
|
5265
5265
|
}
|
|
5266
5266
|
function BorderTypeSection_init_$Init$(corners, $this) {
|
|
5267
5267
|
BorderTypeSection.call($this, toString_0(charCodeAt(corners, 0)), toString_0(charCodeAt(corners, 1)), toString_0(charCodeAt(corners, 2)), toString_0(charCodeAt(corners, 3)), toString_0(charCodeAt(corners, 4)), toString_0(charCodeAt(corners, 5)), toString_0(charCodeAt(corners, 6)), toString_0(charCodeAt(corners, 7)), toString_0(charCodeAt(corners, 8)), toString_0(charCodeAt(corners, 9)), toString_0(charCodeAt(corners, 10)), toString_0(charCodeAt(corners, 11)), toString_0(charCodeAt(corners, 12)), toString_0(charCodeAt(corners, 13)), toString_0(charCodeAt(corners, 14)));
|
|
@@ -5271,44 +5271,44 @@
|
|
|
5271
5271
|
return BorderTypeSection_init_$Init$(corners, objectCreate(protoOf(BorderTypeSection)));
|
|
5272
5272
|
}
|
|
5273
5273
|
function BorderTypeSection(es, esw, sw, nes, nesw, nsw, ne, new_0, nw, ew, ns, s, n, w, e) {
|
|
5274
|
-
this.
|
|
5275
|
-
this.
|
|
5276
|
-
this.
|
|
5277
|
-
this.
|
|
5278
|
-
this.
|
|
5279
|
-
this.
|
|
5280
|
-
this.
|
|
5281
|
-
this.
|
|
5282
|
-
this.
|
|
5283
|
-
this.
|
|
5284
|
-
this.
|
|
5285
|
-
this.
|
|
5286
|
-
this.
|
|
5287
|
-
this.
|
|
5288
|
-
this.
|
|
5274
|
+
this.o1z_1 = es;
|
|
5275
|
+
this.p1z_1 = esw;
|
|
5276
|
+
this.q1z_1 = sw;
|
|
5277
|
+
this.r1z_1 = nes;
|
|
5278
|
+
this.s1z_1 = nesw;
|
|
5279
|
+
this.t1z_1 = nsw;
|
|
5280
|
+
this.u1z_1 = ne;
|
|
5281
|
+
this.v1z_1 = new_0;
|
|
5282
|
+
this.w1z_1 = nw;
|
|
5283
|
+
this.x1z_1 = ew;
|
|
5284
|
+
this.y1z_1 = ns;
|
|
5285
|
+
this.z1z_1 = s;
|
|
5286
|
+
this.a20_1 = n;
|
|
5287
|
+
this.b20_1 = w;
|
|
5288
|
+
this.c20_1 = e;
|
|
5289
5289
|
var tmp = this;
|
|
5290
5290
|
// Inline function 'kotlin.arrayOf' call
|
|
5291
5291
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
5292
5292
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5293
|
-
tmp.
|
|
5293
|
+
tmp.d20_1 = [' ', this.b20_1, this.z1z_1, this.q1z_1, this.c20_1, this.x1z_1, this.o1z_1, this.p1z_1, this.a20_1, this.w1z_1, this.y1z_1, this.t1z_1, this.u1z_1, this.v1z_1, this.r1z_1, this.s1z_1];
|
|
5294
5294
|
}
|
|
5295
|
-
protoOf(BorderTypeSection).
|
|
5295
|
+
protoOf(BorderTypeSection).e20 = function (n, e, s, w, textStyle) {
|
|
5296
5296
|
var i = (n ? 8 : 0) | (e ? 4 : 0) | (s ? 2 : 0) | (w ? 1 : 0);
|
|
5297
|
-
return Companion_instance_0.
|
|
5297
|
+
return Companion_instance_0.p1y(this.d20_1[i], textStyle);
|
|
5298
5298
|
};
|
|
5299
5299
|
function Lines(lines) {
|
|
5300
|
-
this.
|
|
5300
|
+
this.c1y_1 = lines;
|
|
5301
5301
|
}
|
|
5302
|
-
protoOf(Lines).
|
|
5303
|
-
return this.
|
|
5302
|
+
protoOf(Lines).f20 = function () {
|
|
5303
|
+
return this.c1y_1.d1();
|
|
5304
5304
|
};
|
|
5305
|
-
protoOf(Lines).
|
|
5305
|
+
protoOf(Lines).g20 = function (style) {
|
|
5306
5306
|
var tmp;
|
|
5307
5307
|
if (style == null || equals(style, get_DEFAULT_STYLE())) {
|
|
5308
5308
|
tmp = this;
|
|
5309
5309
|
} else {
|
|
5310
5310
|
// Inline function 'kotlin.collections.map' call
|
|
5311
|
-
var this_0 = this.
|
|
5311
|
+
var this_0 = this.c1y_1;
|
|
5312
5312
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5313
5313
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
5314
5314
|
var _iterator__ex2g4s = this_0.r();
|
|
@@ -5320,10 +5320,10 @@
|
|
|
5320
5320
|
var _iterator__ex2g4s_0 = item.r();
|
|
5321
5321
|
while (_iterator__ex2g4s_0.s()) {
|
|
5322
5322
|
var item_0 = _iterator__ex2g4s_0.t();
|
|
5323
|
-
var tmp$ret$5 = item_0.
|
|
5323
|
+
var tmp$ret$5 = item_0.h20(style);
|
|
5324
5324
|
destination_0.v(tmp$ret$5);
|
|
5325
5325
|
}
|
|
5326
|
-
var tmp$ret$2 = new Line(destination_0, item.
|
|
5326
|
+
var tmp$ret$2 = new Line(destination_0, item.e1y_1.i1y(style));
|
|
5327
5327
|
destination.v(tmp$ret$2);
|
|
5328
5328
|
}
|
|
5329
5329
|
tmp = new Lines(destination);
|
|
@@ -5332,7 +5332,7 @@
|
|
|
5332
5332
|
};
|
|
5333
5333
|
function Line_init_$Init$(spans, $this) {
|
|
5334
5334
|
var tmp44_safe_receiver = lastOrNull(spans);
|
|
5335
|
-
var tmp0_elvis_lhs = tmp44_safe_receiver == null ? null : tmp44_safe_receiver.
|
|
5335
|
+
var tmp0_elvis_lhs = tmp44_safe_receiver == null ? null : tmp44_safe_receiver.g1y_1;
|
|
5336
5336
|
Line.call($this, spans, tmp0_elvis_lhs == null ? get_DEFAULT_STYLE() : tmp0_elvis_lhs);
|
|
5337
5337
|
return $this;
|
|
5338
5338
|
}
|
|
@@ -5340,41 +5340,41 @@
|
|
|
5340
5340
|
return Line_init_$Init$(spans, objectCreate(protoOf(Line)));
|
|
5341
5341
|
}
|
|
5342
5342
|
function Line(spans, endStyle) {
|
|
5343
|
-
this.
|
|
5344
|
-
this.
|
|
5343
|
+
this.d1y_1 = spans;
|
|
5344
|
+
this.e1y_1 = endStyle;
|
|
5345
5345
|
}
|
|
5346
|
-
protoOf(Line).
|
|
5347
|
-
return this.
|
|
5346
|
+
protoOf(Line).i20 = function (element) {
|
|
5347
|
+
return this.d1y_1.u1(element);
|
|
5348
5348
|
};
|
|
5349
5349
|
protoOf(Line).u1 = function (element) {
|
|
5350
5350
|
if (!(element instanceof Span))
|
|
5351
5351
|
return false;
|
|
5352
|
-
return this.
|
|
5352
|
+
return this.i20(element instanceof Span ? element : THROW_CCE());
|
|
5353
5353
|
};
|
|
5354
5354
|
protoOf(Line).c1 = function (index) {
|
|
5355
|
-
return this.
|
|
5355
|
+
return this.d1y_1.c1(index);
|
|
5356
5356
|
};
|
|
5357
5357
|
protoOf(Line).p = function () {
|
|
5358
|
-
return this.
|
|
5358
|
+
return this.d1y_1.p();
|
|
5359
5359
|
};
|
|
5360
5360
|
protoOf(Line).r = function () {
|
|
5361
|
-
return this.
|
|
5361
|
+
return this.d1y_1.r();
|
|
5362
5362
|
};
|
|
5363
5363
|
protoOf(Line).i1 = function (index) {
|
|
5364
|
-
return this.
|
|
5364
|
+
return this.d1y_1.i1(index);
|
|
5365
5365
|
};
|
|
5366
5366
|
protoOf(Line).i2 = function (fromIndex, toIndex) {
|
|
5367
|
-
return this.
|
|
5367
|
+
return this.d1y_1.i2(fromIndex, toIndex);
|
|
5368
5368
|
};
|
|
5369
5369
|
protoOf(Line).d1 = function () {
|
|
5370
|
-
return this.
|
|
5370
|
+
return this.d1y_1.d1();
|
|
5371
5371
|
};
|
|
5372
5372
|
protoOf(Line).toString = function () {
|
|
5373
|
-
return 'Line(spans=' + toString(this.
|
|
5373
|
+
return 'Line(spans=' + toString(this.d1y_1) + ', endStyle=' + toString(this.e1y_1) + ')';
|
|
5374
5374
|
};
|
|
5375
5375
|
protoOf(Line).hashCode = function () {
|
|
5376
|
-
var result = hashCode(this.
|
|
5377
|
-
result = imul(result, 31) + hashCode(this.
|
|
5376
|
+
var result = hashCode(this.d1y_1);
|
|
5377
|
+
result = imul(result, 31) + hashCode(this.e1y_1) | 0;
|
|
5378
5378
|
return result;
|
|
5379
5379
|
};
|
|
5380
5380
|
protoOf(Line).equals = function (other) {
|
|
@@ -5383,20 +5383,20 @@
|
|
|
5383
5383
|
if (!(other instanceof Line))
|
|
5384
5384
|
return false;
|
|
5385
5385
|
var tmp0_other_with_cast = other instanceof Line ? other : THROW_CCE();
|
|
5386
|
-
if (!equals(this.
|
|
5386
|
+
if (!equals(this.d1y_1, tmp0_other_with_cast.d1y_1))
|
|
5387
5387
|
return false;
|
|
5388
|
-
if (!equals(this.
|
|
5388
|
+
if (!equals(this.e1y_1, tmp0_other_with_cast.e1y_1))
|
|
5389
5389
|
return false;
|
|
5390
5390
|
return true;
|
|
5391
5391
|
};
|
|
5392
5392
|
function get_lineWidth(_this__u8e3s4) {
|
|
5393
5393
|
// Inline function 'kotlin.collections.sumOf' call
|
|
5394
5394
|
var sum = 0;
|
|
5395
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
5395
|
+
var _iterator__ex2g4s = _this__u8e3s4.d1y_1.r();
|
|
5396
5396
|
while (_iterator__ex2g4s.s()) {
|
|
5397
5397
|
var element = _iterator__ex2g4s.t();
|
|
5398
5398
|
var tmp = sum;
|
|
5399
|
-
sum = tmp + element.
|
|
5399
|
+
sum = tmp + element.j20() | 0;
|
|
5400
5400
|
}
|
|
5401
5401
|
return sum;
|
|
5402
5402
|
}
|
|
@@ -5447,7 +5447,7 @@
|
|
|
5447
5447
|
return Line_init_$Create$(line);
|
|
5448
5448
|
}
|
|
5449
5449
|
function setSize(_this__u8e3s4, newWidth, newHeight, verticalAlign, textAlign, scrollRight, scrollDown) {
|
|
5450
|
-
newHeight = newHeight === VOID ? _this__u8e3s4.
|
|
5450
|
+
newHeight = newHeight === VOID ? _this__u8e3s4.c1y_1.d1() : newHeight;
|
|
5451
5451
|
verticalAlign = verticalAlign === VOID ? VerticalAlign_TOP_getInstance() : verticalAlign;
|
|
5452
5452
|
textAlign = textAlign === VOID ? TextAlign_NONE_getInstance() : textAlign;
|
|
5453
5453
|
scrollRight = scrollRight === VOID ? 0 : scrollRight;
|
|
@@ -5470,19 +5470,19 @@
|
|
|
5470
5470
|
while (inductionVariable < newHeight);
|
|
5471
5471
|
return new Lines(list);
|
|
5472
5472
|
}
|
|
5473
|
-
var emptyLine = Line_init_$Create$(listOf_0(Companion_instance_0.
|
|
5473
|
+
var emptyLine = Line_init_$Create$(listOf_0(Companion_instance_0.j1y(newWidth)));
|
|
5474
5474
|
var tmp;
|
|
5475
5475
|
if (scrollDown === 0) {
|
|
5476
|
-
tmp = _this__u8e3s4.
|
|
5476
|
+
tmp = _this__u8e3s4.c1y_1;
|
|
5477
5477
|
} else {
|
|
5478
|
-
var containsLower = -get_lastIndex_0(_this__u8e3s4.
|
|
5479
|
-
if (!(scrollDown <= get_lastIndex_0(_this__u8e3s4.
|
|
5478
|
+
var containsLower = -get_lastIndex_0(_this__u8e3s4.c1y_1) | 0;
|
|
5479
|
+
if (!(scrollDown <= get_lastIndex_0(_this__u8e3s4.c1y_1) ? containsLower <= scrollDown : false)) {
|
|
5480
5480
|
tmp = emptyList();
|
|
5481
5481
|
} else {
|
|
5482
5482
|
if (scrollDown < 0) {
|
|
5483
5483
|
// Inline function 'kotlin.collections.buildList' call
|
|
5484
5484
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
5485
|
-
var capacity = _this__u8e3s4.
|
|
5485
|
+
var capacity = _this__u8e3s4.c1y_1.d1() - scrollDown | 0;
|
|
5486
5486
|
checkBuilderCapacity(capacity);
|
|
5487
5487
|
// Inline function 'kotlin.apply' call
|
|
5488
5488
|
var this_0 = ArrayList_init_$Create$_0(capacity);
|
|
@@ -5496,10 +5496,10 @@
|
|
|
5496
5496
|
this_0.v(emptyLine);
|
|
5497
5497
|
}
|
|
5498
5498
|
while (inductionVariable_0 < times);
|
|
5499
|
-
this_0.h1(_this__u8e3s4.
|
|
5499
|
+
this_0.h1(_this__u8e3s4.c1y_1);
|
|
5500
5500
|
tmp = this_0.f5();
|
|
5501
5501
|
} else {
|
|
5502
|
-
tmp = _this__u8e3s4.
|
|
5502
|
+
tmp = _this__u8e3s4.c1y_1.i2(scrollDown, _this__u8e3s4.c1y_1.d1());
|
|
5503
5503
|
}
|
|
5504
5504
|
}
|
|
5505
5505
|
}
|
|
@@ -5558,7 +5558,7 @@
|
|
|
5558
5558
|
function resizeLine(line, scrollRight, newWidth, textAlign) {
|
|
5559
5559
|
var width = 0;
|
|
5560
5560
|
var offset = 0;
|
|
5561
|
-
var inputLine = scrollRight < 0 ? plus(listOf_0(Companion_instance_0.
|
|
5561
|
+
var inputLine = scrollRight < 0 ? plus(listOf_0(Companion_instance_0.k20(-scrollRight | 0, get_startStyle(line))), line.d1y_1) : line.d1y_1;
|
|
5562
5562
|
var startIndex = 0;
|
|
5563
5563
|
var endIndex = inputLine.d1();
|
|
5564
5564
|
var startSpan = null;
|
|
@@ -5569,24 +5569,24 @@
|
|
|
5569
5569
|
var j = index;
|
|
5570
5570
|
index = index + 1 | 0;
|
|
5571
5571
|
var span = iterator.t();
|
|
5572
|
-
if (scrollRight > 0 && (offset + span.
|
|
5573
|
-
offset = offset + span.
|
|
5572
|
+
if (scrollRight > 0 && (offset + span.j20() | 0) < scrollRight) {
|
|
5573
|
+
offset = offset + span.j20() | 0;
|
|
5574
5574
|
startIndex = j + 1 | 0;
|
|
5575
5575
|
} else if (scrollRight > 0 && offset < scrollRight) {
|
|
5576
|
-
if ((offset + span.
|
|
5577
|
-
startSpan = span.
|
|
5576
|
+
if ((offset + span.j20() | 0) > scrollRight) {
|
|
5577
|
+
startSpan = span.m20(scrollRight - offset | 0).l20(newWidth - width | 0);
|
|
5578
5578
|
startIndex = j;
|
|
5579
|
-
width = width + startSpan.
|
|
5579
|
+
width = width + startSpan.j20() | 0;
|
|
5580
5580
|
}
|
|
5581
5581
|
offset = scrollRight;
|
|
5582
5582
|
startIndex = j + 1 | 0;
|
|
5583
|
-
} else if ((width + span.
|
|
5584
|
-
width = width + span.
|
|
5583
|
+
} else if ((width + span.j20() | 0) <= newWidth) {
|
|
5584
|
+
width = width + span.j20() | 0;
|
|
5585
5585
|
endIndex = j + 1 | 0;
|
|
5586
5586
|
} else {
|
|
5587
5587
|
endIndex = j;
|
|
5588
5588
|
if (width < newWidth) {
|
|
5589
|
-
endSpan = span.
|
|
5589
|
+
endSpan = span.l20(newWidth - width | 0);
|
|
5590
5590
|
width = newWidth;
|
|
5591
5591
|
}
|
|
5592
5592
|
break $l$loop;
|
|
@@ -5615,24 +5615,24 @@
|
|
|
5615
5615
|
return outputLine;
|
|
5616
5616
|
}
|
|
5617
5617
|
var tmp50_safe_receiver = firstOrNull(outputLine);
|
|
5618
|
-
var tmp0_elvis_lhs = tmp50_safe_receiver == null ? null : tmp50_safe_receiver.
|
|
5619
|
-
var beginStyle = tmp0_elvis_lhs == null ? line.
|
|
5620
|
-
var endStyle = line.
|
|
5618
|
+
var tmp0_elvis_lhs = tmp50_safe_receiver == null ? null : tmp50_safe_receiver.g1y_1;
|
|
5619
|
+
var beginStyle = tmp0_elvis_lhs == null ? line.e1y_1 : tmp0_elvis_lhs;
|
|
5620
|
+
var endStyle = line.e1y_1;
|
|
5621
5621
|
var tmp_0;
|
|
5622
5622
|
switch (textAlign.y2_1) {
|
|
5623
5623
|
case 0:
|
|
5624
|
-
tmp_0 = plus_0(outputLine, Companion_instance_0.
|
|
5624
|
+
tmp_0 = plus_0(outputLine, Companion_instance_0.k20(remainingWidth, endStyle));
|
|
5625
5625
|
break;
|
|
5626
5626
|
case 4:
|
|
5627
|
-
tmp_0 = plus_0(outputLine, Companion_instance_0.
|
|
5627
|
+
tmp_0 = plus_0(outputLine, Companion_instance_0.j1y(remainingWidth));
|
|
5628
5628
|
break;
|
|
5629
5629
|
case 1:
|
|
5630
|
-
tmp_0 = plus(listOf_0(Companion_instance_0.
|
|
5630
|
+
tmp_0 = plus(listOf_0(Companion_instance_0.k20(remainingWidth, beginStyle)), outputLine);
|
|
5631
5631
|
break;
|
|
5632
5632
|
case 2:
|
|
5633
5633
|
case 3:
|
|
5634
|
-
var l = Companion_instance_0.
|
|
5635
|
-
var r = Companion_instance_0.
|
|
5634
|
+
var l = Companion_instance_0.k20(remainingWidth / 2 | 0, beginStyle);
|
|
5635
|
+
var r = Companion_instance_0.k20((remainingWidth / 2 | 0) + (remainingWidth % 2 | 0) | 0, endStyle);
|
|
5636
5636
|
// Inline function 'kotlin.collections.buildList' call
|
|
5637
5637
|
|
|
5638
5638
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -5655,7 +5655,7 @@
|
|
|
5655
5655
|
}
|
|
5656
5656
|
function get_startStyle(_this__u8e3s4) {
|
|
5657
5657
|
var tmp45_safe_receiver = firstOrNull(_this__u8e3s4);
|
|
5658
|
-
var tmp0_elvis_lhs = tmp45_safe_receiver == null ? null : tmp45_safe_receiver.
|
|
5658
|
+
var tmp0_elvis_lhs = tmp45_safe_receiver == null ? null : tmp45_safe_receiver.g1y_1;
|
|
5659
5659
|
return tmp0_elvis_lhs == null ? get_DEFAULT_STYLE() : tmp0_elvis_lhs;
|
|
5660
5660
|
}
|
|
5661
5661
|
var OverflowWrap_NORMAL_instance;
|
|
@@ -5684,15 +5684,15 @@
|
|
|
5684
5684
|
return OverflowWrap_ELLIPSES_instance;
|
|
5685
5685
|
}
|
|
5686
5686
|
function Size(width, height) {
|
|
5687
|
-
this.
|
|
5688
|
-
this.
|
|
5687
|
+
this.n20_1 = width;
|
|
5688
|
+
this.o20_1 = height;
|
|
5689
5689
|
}
|
|
5690
5690
|
protoOf(Size).toString = function () {
|
|
5691
|
-
return '' + this.
|
|
5691
|
+
return '' + this.n20_1 + '\xD7' + this.o20_1;
|
|
5692
5692
|
};
|
|
5693
5693
|
function Companion_0() {
|
|
5694
5694
|
}
|
|
5695
|
-
protoOf(Companion_0).
|
|
5695
|
+
protoOf(Companion_0).p1y = function (text, style) {
|
|
5696
5696
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
5697
5697
|
// Inline function 'kotlin.require' call
|
|
5698
5698
|
if (!(charSequenceLength(text) > 0)) {
|
|
@@ -5728,13 +5728,13 @@
|
|
|
5728
5728
|
}
|
|
5729
5729
|
return new Span(text, style);
|
|
5730
5730
|
};
|
|
5731
|
-
protoOf(Companion_0).
|
|
5731
|
+
protoOf(Companion_0).k20 = function (width, style) {
|
|
5732
5732
|
return new Span(repeat(' ', width), style);
|
|
5733
5733
|
};
|
|
5734
|
-
protoOf(Companion_0).
|
|
5734
|
+
protoOf(Companion_0).j1y = function (width, style, $super) {
|
|
5735
5735
|
width = width === VOID ? 1 : width;
|
|
5736
5736
|
style = style === VOID ? get_DEFAULT_STYLE() : style;
|
|
5737
|
-
return $super === VOID ? this.
|
|
5737
|
+
return $super === VOID ? this.k20(width, style) : $super.k20.call(this, width, style);
|
|
5738
5738
|
};
|
|
5739
5739
|
var Companion_instance_0;
|
|
5740
5740
|
function Companion_getInstance_1() {
|
|
@@ -5742,46 +5742,46 @@
|
|
|
5742
5742
|
}
|
|
5743
5743
|
function Span$cellWidth$delegate$lambda(this$0) {
|
|
5744
5744
|
return function () {
|
|
5745
|
-
return stringCellWidth(this$0.
|
|
5745
|
+
return stringCellWidth(this$0.f1y_1);
|
|
5746
5746
|
};
|
|
5747
5747
|
}
|
|
5748
5748
|
function Span$_get_cellWidth_$ref_bfbm2m() {
|
|
5749
5749
|
return function (p0) {
|
|
5750
|
-
return p0.
|
|
5750
|
+
return p0.j20();
|
|
5751
5751
|
};
|
|
5752
5752
|
}
|
|
5753
5753
|
function Span(text, style) {
|
|
5754
5754
|
style = style === VOID ? get_DEFAULT_STYLE() : style;
|
|
5755
|
-
this.
|
|
5756
|
-
this.
|
|
5755
|
+
this.f1y_1 = text;
|
|
5756
|
+
this.g1y_1 = style;
|
|
5757
5757
|
var tmp = this;
|
|
5758
5758
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
5759
|
-
tmp.
|
|
5759
|
+
tmp.h1y_1 = lazy(tmp_0, Span$cellWidth$delegate$lambda(this));
|
|
5760
5760
|
}
|
|
5761
|
-
protoOf(Span).
|
|
5762
|
-
var tmp0 = this.
|
|
5761
|
+
protoOf(Span).j20 = function () {
|
|
5762
|
+
var tmp0 = this.h1y_1;
|
|
5763
5763
|
var tmp = KProperty1;
|
|
5764
5764
|
// Inline function 'kotlin.getValue' call
|
|
5765
5765
|
getPropertyCallableRef('cellWidth', 1, tmp, Span$_get_cellWidth_$ref_bfbm2m(), null);
|
|
5766
5766
|
return tmp0.m1();
|
|
5767
5767
|
};
|
|
5768
|
-
protoOf(Span).
|
|
5769
|
-
return new Span(take(this.
|
|
5768
|
+
protoOf(Span).l20 = function (n) {
|
|
5769
|
+
return new Span(take(this.f1y_1, n), this.g1y_1);
|
|
5770
5770
|
};
|
|
5771
|
-
protoOf(Span).
|
|
5772
|
-
return new Span(drop(this.
|
|
5771
|
+
protoOf(Span).m20 = function (n) {
|
|
5772
|
+
return new Span(drop(this.f1y_1, n), this.g1y_1);
|
|
5773
5773
|
};
|
|
5774
|
-
protoOf(Span).
|
|
5775
|
-
return isWhitespace(charCodeAt(this.
|
|
5774
|
+
protoOf(Span).p20 = function () {
|
|
5775
|
+
return isWhitespace(charCodeAt(this.f1y_1, 0));
|
|
5776
5776
|
};
|
|
5777
|
-
protoOf(Span).
|
|
5778
|
-
return charCodeAt(this.
|
|
5777
|
+
protoOf(Span).q20 = function () {
|
|
5778
|
+
return charCodeAt(this.f1y_1, 0) === _Char___init__impl__6a9atx(9);
|
|
5779
5779
|
};
|
|
5780
|
-
protoOf(Span).
|
|
5781
|
-
return new Span(this.
|
|
5780
|
+
protoOf(Span).h20 = function (style) {
|
|
5781
|
+
return new Span(this.f1y_1, this.g1y_1.i1y(style));
|
|
5782
5782
|
};
|
|
5783
5783
|
protoOf(Span).toString = function () {
|
|
5784
|
-
return "<Span '" + this.
|
|
5784
|
+
return "<Span '" + this.f1y_1 + "', " + toString(this.g1y_1) + '>';
|
|
5785
5785
|
};
|
|
5786
5786
|
var AnsiLevel_NONE_instance;
|
|
5787
5787
|
var AnsiLevel_ANSI16_instance;
|
|
@@ -5838,61 +5838,61 @@
|
|
|
5838
5838
|
return new TxtStyle(color, bgColor, bold, italic, underline, dim, inverse, strikethrough, hyperlink, tmp);
|
|
5839
5839
|
}
|
|
5840
5840
|
function TxtStyle(color, bgColor, bold, italic, underline, dim, inverse, strikethrough, hyperlink, hyperlinkId) {
|
|
5841
|
-
this.
|
|
5842
|
-
this.
|
|
5843
|
-
this.
|
|
5844
|
-
this.
|
|
5845
|
-
this.
|
|
5846
|
-
this.
|
|
5847
|
-
this.
|
|
5848
|
-
this.
|
|
5849
|
-
this.
|
|
5850
|
-
this.
|
|
5851
|
-
}
|
|
5852
|
-
protoOf(TxtStyle).
|
|
5853
|
-
return this.p20_1;
|
|
5854
|
-
};
|
|
5855
|
-
protoOf(TxtStyle).r1x = function () {
|
|
5856
|
-
return this.q20_1;
|
|
5857
|
-
};
|
|
5858
|
-
protoOf(TxtStyle).w1x = function () {
|
|
5841
|
+
this.r20_1 = color;
|
|
5842
|
+
this.s20_1 = bgColor;
|
|
5843
|
+
this.t20_1 = bold;
|
|
5844
|
+
this.u20_1 = italic;
|
|
5845
|
+
this.v20_1 = underline;
|
|
5846
|
+
this.w20_1 = dim;
|
|
5847
|
+
this.x20_1 = inverse;
|
|
5848
|
+
this.y20_1 = strikethrough;
|
|
5849
|
+
this.z20_1 = hyperlink;
|
|
5850
|
+
this.a21_1 = hyperlinkId;
|
|
5851
|
+
}
|
|
5852
|
+
protoOf(TxtStyle).s1x = function () {
|
|
5859
5853
|
return this.r20_1;
|
|
5860
5854
|
};
|
|
5861
|
-
protoOf(TxtStyle).
|
|
5855
|
+
protoOf(TxtStyle).t1x = function () {
|
|
5862
5856
|
return this.s20_1;
|
|
5863
5857
|
};
|
|
5864
|
-
protoOf(TxtStyle).
|
|
5858
|
+
protoOf(TxtStyle).y1x = function () {
|
|
5865
5859
|
return this.t20_1;
|
|
5866
5860
|
};
|
|
5867
|
-
protoOf(TxtStyle).
|
|
5861
|
+
protoOf(TxtStyle).u1x = function () {
|
|
5868
5862
|
return this.u20_1;
|
|
5869
5863
|
};
|
|
5870
|
-
protoOf(TxtStyle).
|
|
5864
|
+
protoOf(TxtStyle).v1x = function () {
|
|
5871
5865
|
return this.v20_1;
|
|
5872
5866
|
};
|
|
5873
|
-
protoOf(TxtStyle).
|
|
5867
|
+
protoOf(TxtStyle).z1x = function () {
|
|
5874
5868
|
return this.w20_1;
|
|
5875
5869
|
};
|
|
5876
|
-
protoOf(TxtStyle).
|
|
5870
|
+
protoOf(TxtStyle).w1x = function () {
|
|
5877
5871
|
return this.x20_1;
|
|
5878
5872
|
};
|
|
5879
|
-
protoOf(TxtStyle).
|
|
5873
|
+
protoOf(TxtStyle).x1x = function () {
|
|
5880
5874
|
return this.y20_1;
|
|
5881
5875
|
};
|
|
5876
|
+
protoOf(TxtStyle).a1y = function () {
|
|
5877
|
+
return this.z20_1;
|
|
5878
|
+
};
|
|
5879
|
+
protoOf(TxtStyle).b1y = function () {
|
|
5880
|
+
return this.a21_1;
|
|
5881
|
+
};
|
|
5882
5882
|
protoOf(TxtStyle).toString = function () {
|
|
5883
|
-
return 'TxtStyle(color=' + toString_1(this.
|
|
5883
|
+
return 'TxtStyle(color=' + toString_1(this.r20_1) + ', bgColor=' + toString_1(this.s20_1) + ', bold=' + this.t20_1 + ', italic=' + this.u20_1 + ', underline=' + this.v20_1 + ', dim=' + this.w20_1 + ', inverse=' + this.x20_1 + ', strikethrough=' + this.y20_1 + ', hyperlink=' + this.z20_1 + ', hyperlinkId=' + this.a21_1 + ')';
|
|
5884
5884
|
};
|
|
5885
5885
|
protoOf(TxtStyle).hashCode = function () {
|
|
5886
|
-
var result = this.
|
|
5887
|
-
result = imul(result, 31) + (this.
|
|
5888
|
-
result = imul(result, 31) + (this.r20_1 == null ? 0 : getBooleanHashCode(this.r20_1)) | 0;
|
|
5889
|
-
result = imul(result, 31) + (this.s20_1 == null ? 0 : getBooleanHashCode(this.s20_1)) | 0;
|
|
5886
|
+
var result = this.r20_1 == null ? 0 : hashCode(this.r20_1);
|
|
5887
|
+
result = imul(result, 31) + (this.s20_1 == null ? 0 : hashCode(this.s20_1)) | 0;
|
|
5890
5888
|
result = imul(result, 31) + (this.t20_1 == null ? 0 : getBooleanHashCode(this.t20_1)) | 0;
|
|
5891
5889
|
result = imul(result, 31) + (this.u20_1 == null ? 0 : getBooleanHashCode(this.u20_1)) | 0;
|
|
5892
5890
|
result = imul(result, 31) + (this.v20_1 == null ? 0 : getBooleanHashCode(this.v20_1)) | 0;
|
|
5893
5891
|
result = imul(result, 31) + (this.w20_1 == null ? 0 : getBooleanHashCode(this.w20_1)) | 0;
|
|
5894
|
-
result = imul(result, 31) + (this.x20_1 == null ? 0 :
|
|
5895
|
-
result = imul(result, 31) + (this.y20_1 == null ? 0 :
|
|
5892
|
+
result = imul(result, 31) + (this.x20_1 == null ? 0 : getBooleanHashCode(this.x20_1)) | 0;
|
|
5893
|
+
result = imul(result, 31) + (this.y20_1 == null ? 0 : getBooleanHashCode(this.y20_1)) | 0;
|
|
5894
|
+
result = imul(result, 31) + (this.z20_1 == null ? 0 : getStringHashCode(this.z20_1)) | 0;
|
|
5895
|
+
result = imul(result, 31) + (this.a21_1 == null ? 0 : getStringHashCode(this.a21_1)) | 0;
|
|
5896
5896
|
return result;
|
|
5897
5897
|
};
|
|
5898
5898
|
protoOf(TxtStyle).equals = function (other) {
|
|
@@ -5901,13 +5901,9 @@
|
|
|
5901
5901
|
if (!(other instanceof TxtStyle))
|
|
5902
5902
|
return false;
|
|
5903
5903
|
var tmp0_other_with_cast = other instanceof TxtStyle ? other : THROW_CCE();
|
|
5904
|
-
if (!equals(this.
|
|
5905
|
-
return false;
|
|
5906
|
-
if (!equals(this.q20_1, tmp0_other_with_cast.q20_1))
|
|
5904
|
+
if (!equals(this.r20_1, tmp0_other_with_cast.r20_1))
|
|
5907
5905
|
return false;
|
|
5908
|
-
if (!(this.
|
|
5909
|
-
return false;
|
|
5910
|
-
if (!(this.s20_1 == tmp0_other_with_cast.s20_1))
|
|
5906
|
+
if (!equals(this.s20_1, tmp0_other_with_cast.s20_1))
|
|
5911
5907
|
return false;
|
|
5912
5908
|
if (!(this.t20_1 == tmp0_other_with_cast.t20_1))
|
|
5913
5909
|
return false;
|
|
@@ -5921,14 +5917,18 @@
|
|
|
5921
5917
|
return false;
|
|
5922
5918
|
if (!(this.y20_1 == tmp0_other_with_cast.y20_1))
|
|
5923
5919
|
return false;
|
|
5920
|
+
if (!(this.z20_1 == tmp0_other_with_cast.z20_1))
|
|
5921
|
+
return false;
|
|
5922
|
+
if (!(this.a21_1 == tmp0_other_with_cast.a21_1))
|
|
5923
|
+
return false;
|
|
5924
5924
|
return true;
|
|
5925
5925
|
};
|
|
5926
5926
|
function copy(_this__u8e3s4, fg, bg, hyperlink, hyperlinkId) {
|
|
5927
|
-
fg = fg === VOID ? _this__u8e3s4.
|
|
5928
|
-
bg = bg === VOID ? _this__u8e3s4.
|
|
5929
|
-
hyperlink = hyperlink === VOID ? _this__u8e3s4.
|
|
5930
|
-
hyperlinkId = hyperlinkId === VOID ? _this__u8e3s4.
|
|
5931
|
-
return new TxtStyle(fg, bg, _this__u8e3s4.
|
|
5927
|
+
fg = fg === VOID ? _this__u8e3s4.s1x() : fg;
|
|
5928
|
+
bg = bg === VOID ? _this__u8e3s4.t1x() : bg;
|
|
5929
|
+
hyperlink = hyperlink === VOID ? _this__u8e3s4.a1y() : hyperlink;
|
|
5930
|
+
hyperlinkId = hyperlinkId === VOID ? _this__u8e3s4.b1y() : hyperlinkId;
|
|
5931
|
+
return new TxtStyle(fg, bg, _this__u8e3s4.y1x(), _this__u8e3s4.u1x(), _this__u8e3s4.v1x(), _this__u8e3s4.z1x(), _this__u8e3s4.w1x(), _this__u8e3s4.x1x(), hyperlink, hyperlinkId);
|
|
5932
5932
|
}
|
|
5933
5933
|
function foldStyles(styles) {
|
|
5934
5934
|
var style = null;
|
|
@@ -5939,71 +5939,71 @@
|
|
|
5939
5939
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5940
5940
|
if (s == null)
|
|
5941
5941
|
continue $l$loop;
|
|
5942
|
-
style = style == null ? s : s.
|
|
5942
|
+
style = style == null ? s : s.i1y(style);
|
|
5943
5943
|
}
|
|
5944
5944
|
return style;
|
|
5945
5945
|
}
|
|
5946
5946
|
function Theme$Companion$Plain$lambda($this$Theme) {
|
|
5947
|
-
var tmp0 = $this$Theme.
|
|
5947
|
+
var tmp0 = $this$Theme.d21_1;
|
|
5948
5948
|
// Inline function 'kotlin.collections.set' call
|
|
5949
5949
|
var key = 'progressbar.pulse';
|
|
5950
5950
|
tmp0.p2(key, false);
|
|
5951
5951
|
return Unit_instance;
|
|
5952
5952
|
}
|
|
5953
5953
|
function Theme$Companion$PlainAscii$lambda($this$Theme) {
|
|
5954
|
-
var tmp0 = $this$Theme.
|
|
5954
|
+
var tmp0 = $this$Theme.c21_1;
|
|
5955
5955
|
// Inline function 'kotlin.collections.set' call
|
|
5956
5956
|
var key = 'list.number.separator';
|
|
5957
5957
|
tmp0.p2(key, '.');
|
|
5958
|
-
var tmp0_0 = $this$Theme.
|
|
5958
|
+
var tmp0_0 = $this$Theme.c21_1;
|
|
5959
5959
|
// Inline function 'kotlin.collections.set' call
|
|
5960
5960
|
var key_0 = 'list.bullet.text';
|
|
5961
5961
|
tmp0_0.p2(key_0, '*');
|
|
5962
|
-
var tmp0_1 = $this$Theme.
|
|
5962
|
+
var tmp0_1 = $this$Theme.c21_1;
|
|
5963
5963
|
// Inline function 'kotlin.collections.set' call
|
|
5964
5964
|
var key_1 = 'progressbar.pending';
|
|
5965
5965
|
tmp0_1.p2(key_1, ' ');
|
|
5966
|
-
var tmp0_2 = $this$Theme.
|
|
5966
|
+
var tmp0_2 = $this$Theme.c21_1;
|
|
5967
5967
|
// Inline function 'kotlin.collections.set' call
|
|
5968
5968
|
var key_2 = 'progressbar.complete';
|
|
5969
5969
|
tmp0_2.p2(key_2, '#');
|
|
5970
|
-
var tmp0_3 = $this$Theme.
|
|
5970
|
+
var tmp0_3 = $this$Theme.c21_1;
|
|
5971
5971
|
// Inline function 'kotlin.collections.set' call
|
|
5972
5972
|
var key_3 = 'progressbar.separator';
|
|
5973
5973
|
tmp0_3.p2(key_3, '>');
|
|
5974
|
-
var tmp0_4 = $this$Theme.
|
|
5974
|
+
var tmp0_4 = $this$Theme.c21_1;
|
|
5975
5975
|
// Inline function 'kotlin.collections.set' call
|
|
5976
5976
|
var key_4 = 'markdown.task.checked';
|
|
5977
5977
|
tmp0_4.p2(key_4, '[x]');
|
|
5978
|
-
var tmp0_5 = $this$Theme.
|
|
5978
|
+
var tmp0_5 = $this$Theme.c21_1;
|
|
5979
5979
|
// Inline function 'kotlin.collections.set' call
|
|
5980
5980
|
var key_5 = 'markdown.task.unchecked';
|
|
5981
5981
|
tmp0_5.p2(key_5, '[ ]');
|
|
5982
|
-
var tmp0_6 = $this$Theme.
|
|
5982
|
+
var tmp0_6 = $this$Theme.c21_1;
|
|
5983
5983
|
// Inline function 'kotlin.collections.set' call
|
|
5984
5984
|
var key_6 = 'markdown.h1.rule';
|
|
5985
5985
|
tmp0_6.p2(key_6, '=');
|
|
5986
|
-
var tmp0_7 = $this$Theme.
|
|
5986
|
+
var tmp0_7 = $this$Theme.c21_1;
|
|
5987
5987
|
// Inline function 'kotlin.collections.set' call
|
|
5988
5988
|
var key_7 = 'markdown.h2.rule';
|
|
5989
5989
|
tmp0_7.p2(key_7, '-');
|
|
5990
|
-
var tmp0_8 = $this$Theme.
|
|
5990
|
+
var tmp0_8 = $this$Theme.c21_1;
|
|
5991
5991
|
// Inline function 'kotlin.collections.set' call
|
|
5992
5992
|
var key_8 = 'markdown.blockquote.bar';
|
|
5993
5993
|
tmp0_8.p2(key_8, '|');
|
|
5994
|
-
var tmp0_9 = $this$Theme.
|
|
5994
|
+
var tmp0_9 = $this$Theme.c21_1;
|
|
5995
5995
|
// Inline function 'kotlin.collections.set' call
|
|
5996
5996
|
var key_9 = 'select.cursor';
|
|
5997
5997
|
tmp0_9.p2(key_9, '>');
|
|
5998
|
-
var tmp0_10 = $this$Theme.
|
|
5998
|
+
var tmp0_10 = $this$Theme.c21_1;
|
|
5999
5999
|
// Inline function 'kotlin.collections.set' call
|
|
6000
6000
|
var key_10 = 'select.selected';
|
|
6001
6001
|
tmp0_10.p2(key_10, 'x');
|
|
6002
|
-
var tmp0_11 = $this$Theme.
|
|
6002
|
+
var tmp0_11 = $this$Theme.c21_1;
|
|
6003
6003
|
// Inline function 'kotlin.collections.set' call
|
|
6004
6004
|
var key_11 = 'select.unselected';
|
|
6005
6005
|
tmp0_11.p2(key_11, ' ');
|
|
6006
|
-
var tmp0_12 = $this$Theme.
|
|
6006
|
+
var tmp0_12 = $this$Theme.d21_1;
|
|
6007
6007
|
// Inline function 'kotlin.collections.set' call
|
|
6008
6008
|
var key_12 = 'markdown.table.ascii';
|
|
6009
6009
|
tmp0_12.p2(key_12, true);
|
|
@@ -6011,18 +6011,18 @@
|
|
|
6011
6011
|
}
|
|
6012
6012
|
function Companion_1() {
|
|
6013
6013
|
Companion_instance_1 = this;
|
|
6014
|
-
this.
|
|
6015
|
-
this.
|
|
6016
|
-
this.
|
|
6017
|
-
this.
|
|
6018
|
-
this.
|
|
6019
|
-
this.
|
|
6020
|
-
this.
|
|
6014
|
+
this.f21_1 = Companion_getInstance().r1u('#c678dd');
|
|
6015
|
+
this.g21_1 = Companion_getInstance().r1u('#61afef');
|
|
6016
|
+
this.h21_1 = Companion_getInstance().r1u('#5c6370');
|
|
6017
|
+
this.i21_1 = Companion_getInstance().r1u('#e06c75');
|
|
6018
|
+
this.j21_1 = Companion_getInstance().r1u('#e5c07b');
|
|
6019
|
+
this.k21_1 = Companion_getInstance().r1u('#98c379');
|
|
6020
|
+
this.l21_1 = new BuiltTheme(mapOf([to('success', TextStyle_0(this.k21_1)), to('danger', TextStyle_0(this.i21_1)), to('warning', TextStyle_0(this.j21_1)), to('info', TextStyle_0(this.g21_1)), to('muted', TextStyle_0(VOID, VOID, VOID, VOID, VOID, true)), to('list.number', get_DEFAULT_STYLE()), to('list.bullet', get_DEFAULT_STYLE()), to('hr.rule', get_DEFAULT_STYLE()), to('panel.border', get_DEFAULT_STYLE()), to('prompt.prompt', get_DEFAULT_STYLE()), to('prompt.default', TextStyle_0(this.g21_1, VOID, true)), to('prompt.choices', TextStyle_0(this.g21_1, VOID, true)), to('prompt.choices.invalid', TextStyle_0(this.i21_1)), to('progressbar.pending', TextStyle_0(this.h21_1)), to('progressbar.complete', TextStyle_0(this.g21_1)), to('progressbar.indeterminate', TextStyle_0(this.g21_1)), to('progressbar.separator', get_DEFAULT_STYLE()), to('progressbar.finished', TextStyle_0(this.k21_1)), to('markdown.blockquote', TextStyle_0(this.j21_1)), to('markdown.emph', TextStyle_0(VOID, VOID, VOID, true)), to('markdown.strong', TextStyle_0(VOID, VOID, true)), to('markdown.stikethrough', TextStyle_0(VOID, VOID, VOID, VOID, VOID, VOID, VOID, true)), to('markdown.code.block', TextStyle_0(this.g21_1)), to('markdown.code.span', TextStyle_0(this.g21_1, this.h21_1)), to('markdown.table.header', TextStyle_0(VOID, VOID, true)), to('markdown.table.body', get_DEFAULT_STYLE()), to('markdown.link.text', TextStyle_0(this.g21_1)), to('markdown.link.destination', TextStyle_0(this.g21_1, VOID, VOID, VOID, VOID, true)), to('markdown.img.alt-text', TextStyle_0(VOID, VOID, VOID, VOID, VOID, true)), to('markdown.h1', TextStyle_0(this.f21_1, VOID, true)), to('markdown.h2', TextStyle_0(this.f21_1, VOID, true)), to('markdown.h3', TextStyle_0(this.f21_1, VOID, true, VOID, true)), to('markdown.h4', TextStyle_0(this.f21_1, VOID, VOID, VOID, true)), to('markdown.h5', TextStyle_0(this.f21_1, VOID, VOID, true)), to('markdown.h6', TextStyle_0(this.f21_1, VOID, VOID, VOID, VOID, true)), to('select.title', TextStyle_0(this.f21_1, VOID, true)), to('select.cursor', TextStyle_0(this.g21_1)), to('select.selected', TextStyle_0(this.k21_1)), to('select.unselected-title', get_DEFAULT_STYLE()), to('select.unselected-marker', TextStyle_0(VOID, VOID, VOID, VOID, VOID, true))]), mapOf([to('list.number.separator', '.'), to('list.bullet.text', '\u2022'), to('progressbar.pending', '\u2501'), to('progressbar.complete', '\u2501'), to('progressbar.separator', ' '), to('hr.rule', '\u2500'), to('markdown.task.checked', '\u2611'), to('markdown.task.unchecked', '\u2610'), to('markdown.h1.rule', '\u2550'), to('markdown.h2.rule', '\u2500'), to('markdown.h3.rule', ' '), to('markdown.h4.rule', ' '), to('markdown.h5.rule', ' '), to('markdown.h6.rule', ' '), to('markdown.blockquote.bar', '\u258E'), to('select.cursor', '\u276F'), to('select.selected', '\u2713'), to('select.unselected', '\u2022')]), mapOf([to('progressbar.pulse', true), to('markdown.code.block.border', true), to('markdown.table.ascii', false)]), mapOf([to('hr.title.padding', 1), to('panel.title.padding', 1), to('markdown.header.padding', 1)]));
|
|
6021
6021
|
var tmp = this;
|
|
6022
|
-
var tmp_0 = new BuiltTheme(emptyMap(), this.
|
|
6023
|
-
tmp.
|
|
6022
|
+
var tmp_0 = new BuiltTheme(emptyMap(), this.l21_1.p21_1, this.l21_1.q21_1, this.l21_1.r21_1);
|
|
6023
|
+
tmp.m21_1 = Theme_0(tmp_0, Theme$Companion$Plain$lambda);
|
|
6024
6024
|
var tmp_1 = this;
|
|
6025
|
-
tmp_1.
|
|
6025
|
+
tmp_1.n21_1 = Theme_0(this.m21_1, Theme$Companion$PlainAscii$lambda);
|
|
6026
6026
|
}
|
|
6027
6027
|
var Companion_instance_1;
|
|
6028
6028
|
function Companion_getInstance_2() {
|
|
@@ -6032,14 +6032,14 @@
|
|
|
6032
6032
|
}
|
|
6033
6033
|
function Theme(styles, strings, flags, dimensions) {
|
|
6034
6034
|
Companion_getInstance_2();
|
|
6035
|
-
this.
|
|
6036
|
-
this.
|
|
6037
|
-
this.
|
|
6038
|
-
this.
|
|
6035
|
+
this.o21_1 = styles;
|
|
6036
|
+
this.p21_1 = strings;
|
|
6037
|
+
this.q21_1 = flags;
|
|
6038
|
+
this.r21_1 = dimensions;
|
|
6039
6039
|
}
|
|
6040
|
-
protoOf(Theme).
|
|
6040
|
+
protoOf(Theme).s21 = function (style, default_0) {
|
|
6041
6041
|
// Inline function 'kotlin.collections.getOrElse' call
|
|
6042
|
-
var tmp0_elvis_lhs = this.
|
|
6042
|
+
var tmp0_elvis_lhs = this.o21_1.m2(style);
|
|
6043
6043
|
var tmp;
|
|
6044
6044
|
if (tmp0_elvis_lhs == null) {
|
|
6045
6045
|
tmp = default_0;
|
|
@@ -6048,28 +6048,28 @@
|
|
|
6048
6048
|
}
|
|
6049
6049
|
return tmp;
|
|
6050
6050
|
};
|
|
6051
|
-
protoOf(Theme).
|
|
6051
|
+
protoOf(Theme).t21 = function (style, default_0, $super) {
|
|
6052
6052
|
default_0 = default_0 === VOID ? get_DEFAULT_STYLE() : default_0;
|
|
6053
|
-
return $super === VOID ? this.
|
|
6053
|
+
return $super === VOID ? this.s21(style, default_0) : $super.s21.call(this, style, default_0);
|
|
6054
6054
|
};
|
|
6055
6055
|
function BuiltTheme(styles, strings, flags, dimensions) {
|
|
6056
6056
|
Theme.call(this, styles, strings, flags, dimensions);
|
|
6057
6057
|
}
|
|
6058
6058
|
function Theme_0(from, init) {
|
|
6059
|
-
from = from === VOID ? Companion_getInstance_2().
|
|
6059
|
+
from = from === VOID ? Companion_getInstance_2().l21_1 : from;
|
|
6060
6060
|
// Inline function 'kotlin.apply' call
|
|
6061
|
-
var this_0 = new ThemeBuilder(toMutableMap(from.
|
|
6061
|
+
var this_0 = new ThemeBuilder(toMutableMap(from.o21_1), toMutableMap(from.p21_1), toMutableMap(from.q21_1), toMutableMap(from.r21_1));
|
|
6062
6062
|
init(this_0);
|
|
6063
|
-
return this_0.
|
|
6063
|
+
return this_0.u21();
|
|
6064
6064
|
}
|
|
6065
6065
|
function ThemeBuilder(styles, strings, flags, dimensions) {
|
|
6066
|
-
this.
|
|
6067
|
-
this.
|
|
6068
|
-
this.
|
|
6069
|
-
this.
|
|
6066
|
+
this.b21_1 = styles;
|
|
6067
|
+
this.c21_1 = strings;
|
|
6068
|
+
this.d21_1 = flags;
|
|
6069
|
+
this.e21_1 = dimensions;
|
|
6070
6070
|
}
|
|
6071
|
-
protoOf(ThemeBuilder).
|
|
6072
|
-
return new BuiltTheme(this.
|
|
6071
|
+
protoOf(ThemeBuilder).u21 = function () {
|
|
6072
|
+
return new BuiltTheme(this.b21_1, this.c21_1, this.d21_1, this.e21_1);
|
|
6073
6073
|
};
|
|
6074
6074
|
var Whitespace_NORMAL_instance;
|
|
6075
6075
|
var Whitespace_NOWRAP_instance;
|
|
@@ -6089,10 +6089,10 @@
|
|
|
6089
6089
|
}
|
|
6090
6090
|
function Whitespace(name, ordinal, collapseNewlines, collapseSpaces, wrap, trimEol) {
|
|
6091
6091
|
Enum.call(this, name, ordinal);
|
|
6092
|
-
this.
|
|
6093
|
-
this.
|
|
6094
|
-
this.
|
|
6095
|
-
this.
|
|
6092
|
+
this.x21_1 = collapseNewlines;
|
|
6093
|
+
this.y21_1 = collapseSpaces;
|
|
6094
|
+
this.z21_1 = wrap;
|
|
6095
|
+
this.a22_1 = trimEol;
|
|
6096
6096
|
}
|
|
6097
6097
|
function Whitespace_NORMAL_getInstance() {
|
|
6098
6098
|
Whitespace_initEntries();
|
|
@@ -6109,29 +6109,29 @@
|
|
|
6109
6109
|
function Widget() {
|
|
6110
6110
|
}
|
|
6111
6111
|
function WidthRange(min, max) {
|
|
6112
|
-
this.
|
|
6113
|
-
this.
|
|
6112
|
+
this.p22_1 = min;
|
|
6113
|
+
this.q22_1 = max;
|
|
6114
6114
|
// Inline function 'kotlin.require' call
|
|
6115
|
-
if (!(this.
|
|
6115
|
+
if (!(this.p22_1 <= this.q22_1)) {
|
|
6116
6116
|
var message = 'Range min cannot be larger than max';
|
|
6117
6117
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
6118
6118
|
}
|
|
6119
6119
|
}
|
|
6120
|
-
protoOf(WidthRange).
|
|
6121
|
-
return extra === 0 ? this : new WidthRange(this.
|
|
6120
|
+
protoOf(WidthRange).r22 = function (extra) {
|
|
6121
|
+
return extra === 0 ? this : new WidthRange(this.p22_1 + extra | 0, this.q22_1 + extra | 0);
|
|
6122
6122
|
};
|
|
6123
|
-
protoOf(WidthRange).
|
|
6124
|
-
return new WidthRange(this.
|
|
6123
|
+
protoOf(WidthRange).s22 = function (other) {
|
|
6124
|
+
return new WidthRange(this.p22_1 + other.p22_1 | 0, this.q22_1 + other.q22_1 | 0);
|
|
6125
6125
|
};
|
|
6126
|
-
protoOf(WidthRange).
|
|
6127
|
-
return divisor === 1 ? this : new WidthRange(this.
|
|
6126
|
+
protoOf(WidthRange).t22 = function (divisor) {
|
|
6127
|
+
return divisor === 1 ? this : new WidthRange(this.p22_1 / divisor | 0, this.q22_1 / divisor | 0);
|
|
6128
6128
|
};
|
|
6129
6129
|
protoOf(WidthRange).toString = function () {
|
|
6130
|
-
return 'WidthRange(min=' + this.
|
|
6130
|
+
return 'WidthRange(min=' + this.p22_1 + ', max=' + this.q22_1 + ')';
|
|
6131
6131
|
};
|
|
6132
6132
|
protoOf(WidthRange).hashCode = function () {
|
|
6133
|
-
var result = this.
|
|
6134
|
-
result = imul(result, 31) + this.
|
|
6133
|
+
var result = this.p22_1;
|
|
6134
|
+
result = imul(result, 31) + this.q22_1 | 0;
|
|
6135
6135
|
return result;
|
|
6136
6136
|
};
|
|
6137
6137
|
protoOf(WidthRange).equals = function (other) {
|
|
@@ -6140,9 +6140,9 @@
|
|
|
6140
6140
|
if (!(other instanceof WidthRange))
|
|
6141
6141
|
return false;
|
|
6142
6142
|
var tmp0_other_with_cast = other instanceof WidthRange ? other : THROW_CCE();
|
|
6143
|
-
if (!(this.
|
|
6143
|
+
if (!(this.p22_1 === tmp0_other_with_cast.p22_1))
|
|
6144
6144
|
return false;
|
|
6145
|
-
if (!(this.
|
|
6145
|
+
if (!(this.q22_1 === tmp0_other_with_cast.q22_1))
|
|
6146
6146
|
return false;
|
|
6147
6147
|
return true;
|
|
6148
6148
|
};
|
|
@@ -6154,7 +6154,7 @@
|
|
|
6154
6154
|
var _iterator__ex2g4s = _this__u8e3s4.r();
|
|
6155
6155
|
$l$loop: while (_iterator__ex2g4s.s()) {
|
|
6156
6156
|
var it = _iterator__ex2g4s.t();
|
|
6157
|
-
var tmp0_elvis_lhs = it.
|
|
6157
|
+
var tmp0_elvis_lhs = it.b22(t, width - paddingWidth | 0);
|
|
6158
6158
|
var tmp;
|
|
6159
6159
|
if (tmp0_elvis_lhs == null) {
|
|
6160
6160
|
continue $l$loop;
|
|
@@ -6164,11 +6164,11 @@
|
|
|
6164
6164
|
var range = tmp;
|
|
6165
6165
|
var tmp0 = max;
|
|
6166
6166
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6167
|
-
var b = range.
|
|
6167
|
+
var b = range.q22_1;
|
|
6168
6168
|
max = Math.max(tmp0, b);
|
|
6169
6169
|
var tmp0_0 = min;
|
|
6170
6170
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6171
|
-
var b_0 = range.
|
|
6171
|
+
var b_0 = range.p22_1;
|
|
6172
6172
|
min = Math.max(tmp0_0, b_0);
|
|
6173
6173
|
}
|
|
6174
6174
|
return new WidthRange(min + paddingWidth | 0, max + paddingWidth | 0);
|
|
@@ -6213,10 +6213,10 @@
|
|
|
6213
6213
|
}
|
|
6214
6214
|
function Borders(name, ordinal, left, top, right, bottom) {
|
|
6215
6215
|
Enum.call(this, name, ordinal);
|
|
6216
|
-
this.
|
|
6217
|
-
this.
|
|
6218
|
-
this.
|
|
6219
|
-
this.
|
|
6216
|
+
this.w22_1 = left;
|
|
6217
|
+
this.x22_1 = top;
|
|
6218
|
+
this.y22_1 = right;
|
|
6219
|
+
this.z22_1 = bottom;
|
|
6220
6220
|
}
|
|
6221
6221
|
function Borders_NONE_getInstance() {
|
|
6222
6222
|
Borders_initEntries();
|
|
@@ -6230,19 +6230,19 @@
|
|
|
6230
6230
|
Empty_instance = this;
|
|
6231
6231
|
Cell.call(this);
|
|
6232
6232
|
}
|
|
6233
|
-
protoOf(Empty).
|
|
6233
|
+
protoOf(Empty).a23 = function () {
|
|
6234
6234
|
return 1;
|
|
6235
6235
|
};
|
|
6236
|
-
protoOf(Empty).
|
|
6236
|
+
protoOf(Empty).b23 = function () {
|
|
6237
6237
|
return false;
|
|
6238
6238
|
};
|
|
6239
|
-
protoOf(Empty).
|
|
6239
|
+
protoOf(Empty).c23 = function () {
|
|
6240
6240
|
return false;
|
|
6241
6241
|
};
|
|
6242
|
-
protoOf(Empty).
|
|
6242
|
+
protoOf(Empty).d23 = function () {
|
|
6243
6243
|
return false;
|
|
6244
6244
|
};
|
|
6245
|
-
protoOf(Empty).
|
|
6245
|
+
protoOf(Empty).e23 = function () {
|
|
6246
6246
|
return false;
|
|
6247
6247
|
};
|
|
6248
6248
|
protoOf(Empty).toString = function () {
|
|
@@ -6267,39 +6267,39 @@
|
|
|
6267
6267
|
}
|
|
6268
6268
|
function SpanRef(cell, borderLeft, borderTop, borderRight, borderBottom) {
|
|
6269
6269
|
Cell.call(this);
|
|
6270
|
-
this.
|
|
6271
|
-
this.
|
|
6272
|
-
this.
|
|
6273
|
-
this.
|
|
6274
|
-
this.
|
|
6270
|
+
this.f23_1 = cell;
|
|
6271
|
+
this.g23_1 = borderLeft;
|
|
6272
|
+
this.h23_1 = borderTop;
|
|
6273
|
+
this.i23_1 = borderRight;
|
|
6274
|
+
this.j23_1 = borderBottom;
|
|
6275
6275
|
}
|
|
6276
|
-
protoOf(SpanRef).z22 = function () {
|
|
6277
|
-
return this.e23_1;
|
|
6278
|
-
};
|
|
6279
|
-
protoOf(SpanRef).a23 = function () {
|
|
6280
|
-
return this.f23_1;
|
|
6281
|
-
};
|
|
6282
6276
|
protoOf(SpanRef).b23 = function () {
|
|
6283
6277
|
return this.g23_1;
|
|
6284
6278
|
};
|
|
6285
6279
|
protoOf(SpanRef).c23 = function () {
|
|
6286
6280
|
return this.h23_1;
|
|
6287
6281
|
};
|
|
6288
|
-
protoOf(SpanRef).
|
|
6289
|
-
return this.
|
|
6282
|
+
protoOf(SpanRef).d23 = function () {
|
|
6283
|
+
return this.i23_1;
|
|
6284
|
+
};
|
|
6285
|
+
protoOf(SpanRef).e23 = function () {
|
|
6286
|
+
return this.j23_1;
|
|
6287
|
+
};
|
|
6288
|
+
protoOf(SpanRef).a23 = function () {
|
|
6289
|
+
return this.f23_1.l23_1;
|
|
6290
6290
|
};
|
|
6291
|
-
protoOf(SpanRef).
|
|
6292
|
-
return this.
|
|
6291
|
+
protoOf(SpanRef).v23 = function () {
|
|
6292
|
+
return this.f23_1.m23_1;
|
|
6293
6293
|
};
|
|
6294
6294
|
protoOf(SpanRef).toString = function () {
|
|
6295
|
-
return 'SpanRef(cell=' + this.
|
|
6295
|
+
return 'SpanRef(cell=' + this.f23_1.toString() + ', borderLeft=' + this.g23_1 + ', borderTop=' + this.h23_1 + ', borderRight=' + this.i23_1 + ', borderBottom=' + this.j23_1 + ')';
|
|
6296
6296
|
};
|
|
6297
6297
|
protoOf(SpanRef).hashCode = function () {
|
|
6298
|
-
var result = this.
|
|
6299
|
-
result = imul(result, 31) + (this.e23_1 == null ? 0 : getBooleanHashCode(this.e23_1)) | 0;
|
|
6300
|
-
result = imul(result, 31) + (this.f23_1 == null ? 0 : getBooleanHashCode(this.f23_1)) | 0;
|
|
6298
|
+
var result = this.f23_1.hashCode();
|
|
6301
6299
|
result = imul(result, 31) + (this.g23_1 == null ? 0 : getBooleanHashCode(this.g23_1)) | 0;
|
|
6302
6300
|
result = imul(result, 31) + (this.h23_1 == null ? 0 : getBooleanHashCode(this.h23_1)) | 0;
|
|
6301
|
+
result = imul(result, 31) + (this.i23_1 == null ? 0 : getBooleanHashCode(this.i23_1)) | 0;
|
|
6302
|
+
result = imul(result, 31) + (this.j23_1 == null ? 0 : getBooleanHashCode(this.j23_1)) | 0;
|
|
6303
6303
|
return result;
|
|
6304
6304
|
};
|
|
6305
6305
|
protoOf(SpanRef).equals = function (other) {
|
|
@@ -6308,50 +6308,44 @@
|
|
|
6308
6308
|
if (!(other instanceof SpanRef))
|
|
6309
6309
|
return false;
|
|
6310
6310
|
var tmp0_other_with_cast = other instanceof SpanRef ? other : THROW_CCE();
|
|
6311
|
-
if (!this.
|
|
6312
|
-
return false;
|
|
6313
|
-
if (!(this.e23_1 == tmp0_other_with_cast.e23_1))
|
|
6314
|
-
return false;
|
|
6315
|
-
if (!(this.f23_1 == tmp0_other_with_cast.f23_1))
|
|
6311
|
+
if (!this.f23_1.equals(tmp0_other_with_cast.f23_1))
|
|
6316
6312
|
return false;
|
|
6317
6313
|
if (!(this.g23_1 == tmp0_other_with_cast.g23_1))
|
|
6318
6314
|
return false;
|
|
6319
6315
|
if (!(this.h23_1 == tmp0_other_with_cast.h23_1))
|
|
6320
6316
|
return false;
|
|
6317
|
+
if (!(this.i23_1 == tmp0_other_with_cast.i23_1))
|
|
6318
|
+
return false;
|
|
6319
|
+
if (!(this.j23_1 == tmp0_other_with_cast.j23_1))
|
|
6320
|
+
return false;
|
|
6321
6321
|
return true;
|
|
6322
6322
|
};
|
|
6323
6323
|
function Content(content, rowSpan, columnSpan, borderLeft, borderTop, borderRight, borderBottom, style, textAlign, verticalAlign, paddingWidth) {
|
|
6324
6324
|
Cell.call(this);
|
|
6325
|
-
this.
|
|
6326
|
-
this.
|
|
6327
|
-
this.
|
|
6328
|
-
this.
|
|
6329
|
-
this.
|
|
6330
|
-
this.
|
|
6331
|
-
this.
|
|
6332
|
-
this.
|
|
6333
|
-
this.
|
|
6334
|
-
this.
|
|
6335
|
-
this.
|
|
6325
|
+
this.k23_1 = content;
|
|
6326
|
+
this.l23_1 = rowSpan;
|
|
6327
|
+
this.m23_1 = columnSpan;
|
|
6328
|
+
this.n23_1 = borderLeft;
|
|
6329
|
+
this.o23_1 = borderTop;
|
|
6330
|
+
this.p23_1 = borderRight;
|
|
6331
|
+
this.q23_1 = borderBottom;
|
|
6332
|
+
this.r23_1 = style;
|
|
6333
|
+
this.s23_1 = textAlign;
|
|
6334
|
+
this.t23_1 = verticalAlign;
|
|
6335
|
+
this.u23_1 = paddingWidth;
|
|
6336
6336
|
// Inline function 'kotlin.require' call
|
|
6337
|
-
if (!(this.
|
|
6337
|
+
if (!(this.l23_1 > 0)) {
|
|
6338
6338
|
var message = 'rowSpan must be greater than 0';
|
|
6339
6339
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
6340
6340
|
}
|
|
6341
6341
|
// Inline function 'kotlin.require' call
|
|
6342
|
-
if (!(this.
|
|
6342
|
+
if (!(this.m23_1 > 0)) {
|
|
6343
6343
|
var message_0 = 'columnSpan must be greater than 0';
|
|
6344
6344
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
6345
6345
|
}
|
|
6346
6346
|
}
|
|
6347
|
-
protoOf(Content).y22 = function () {
|
|
6348
|
-
return this.j23_1;
|
|
6349
|
-
};
|
|
6350
|
-
protoOf(Content).z22 = function () {
|
|
6351
|
-
return this.l23_1;
|
|
6352
|
-
};
|
|
6353
6347
|
protoOf(Content).a23 = function () {
|
|
6354
|
-
return this.
|
|
6348
|
+
return this.l23_1;
|
|
6355
6349
|
};
|
|
6356
6350
|
protoOf(Content).b23 = function () {
|
|
6357
6351
|
return this.n23_1;
|
|
@@ -6359,21 +6353,27 @@
|
|
|
6359
6353
|
protoOf(Content).c23 = function () {
|
|
6360
6354
|
return this.o23_1;
|
|
6361
6355
|
};
|
|
6356
|
+
protoOf(Content).d23 = function () {
|
|
6357
|
+
return this.p23_1;
|
|
6358
|
+
};
|
|
6359
|
+
protoOf(Content).e23 = function () {
|
|
6360
|
+
return this.q23_1;
|
|
6361
|
+
};
|
|
6362
6362
|
protoOf(Content).toString = function () {
|
|
6363
|
-
return 'Content(content=' + toString(this.
|
|
6363
|
+
return 'Content(content=' + toString(this.k23_1) + ', rowSpan=' + this.l23_1 + ', columnSpan=' + this.m23_1 + ', borderLeft=' + this.n23_1 + ', borderTop=' + this.o23_1 + ', borderRight=' + this.p23_1 + ', borderBottom=' + this.q23_1 + ', style=' + toString_1(this.r23_1) + ', textAlign=' + this.s23_1.toString() + ', verticalAlign=' + this.t23_1.toString() + ', paddingWidth=' + this.u23_1 + ')';
|
|
6364
6364
|
};
|
|
6365
6365
|
protoOf(Content).hashCode = function () {
|
|
6366
|
-
var result = hashCode(this.
|
|
6367
|
-
result = imul(result, 31) + this.
|
|
6368
|
-
result = imul(result, 31) + this.
|
|
6369
|
-
result = imul(result, 31) + (this.l23_1 == null ? 0 : getBooleanHashCode(this.l23_1)) | 0;
|
|
6370
|
-
result = imul(result, 31) + (this.m23_1 == null ? 0 : getBooleanHashCode(this.m23_1)) | 0;
|
|
6366
|
+
var result = hashCode(this.k23_1);
|
|
6367
|
+
result = imul(result, 31) + this.l23_1 | 0;
|
|
6368
|
+
result = imul(result, 31) + this.m23_1 | 0;
|
|
6371
6369
|
result = imul(result, 31) + (this.n23_1 == null ? 0 : getBooleanHashCode(this.n23_1)) | 0;
|
|
6372
6370
|
result = imul(result, 31) + (this.o23_1 == null ? 0 : getBooleanHashCode(this.o23_1)) | 0;
|
|
6373
|
-
result = imul(result, 31) + (this.p23_1 == null ? 0 :
|
|
6374
|
-
result = imul(result, 31) + this.q23_1.
|
|
6375
|
-
result = imul(result, 31) + this.r23_1
|
|
6376
|
-
result = imul(result, 31) + this.s23_1 | 0;
|
|
6371
|
+
result = imul(result, 31) + (this.p23_1 == null ? 0 : getBooleanHashCode(this.p23_1)) | 0;
|
|
6372
|
+
result = imul(result, 31) + (this.q23_1 == null ? 0 : getBooleanHashCode(this.q23_1)) | 0;
|
|
6373
|
+
result = imul(result, 31) + (this.r23_1 == null ? 0 : hashCode(this.r23_1)) | 0;
|
|
6374
|
+
result = imul(result, 31) + this.s23_1.hashCode() | 0;
|
|
6375
|
+
result = imul(result, 31) + this.t23_1.hashCode() | 0;
|
|
6376
|
+
result = imul(result, 31) + this.u23_1 | 0;
|
|
6377
6377
|
return result;
|
|
6378
6378
|
};
|
|
6379
6379
|
protoOf(Content).equals = function (other) {
|
|
@@ -6382,43 +6382,43 @@
|
|
|
6382
6382
|
if (!(other instanceof Content))
|
|
6383
6383
|
return false;
|
|
6384
6384
|
var tmp0_other_with_cast = other instanceof Content ? other : THROW_CCE();
|
|
6385
|
-
if (!equals(this.
|
|
6386
|
-
return false;
|
|
6387
|
-
if (!(this.j23_1 === tmp0_other_with_cast.j23_1))
|
|
6385
|
+
if (!equals(this.k23_1, tmp0_other_with_cast.k23_1))
|
|
6388
6386
|
return false;
|
|
6389
|
-
if (!(this.
|
|
6387
|
+
if (!(this.l23_1 === tmp0_other_with_cast.l23_1))
|
|
6390
6388
|
return false;
|
|
6391
|
-
if (!(this.
|
|
6392
|
-
return false;
|
|
6393
|
-
if (!(this.m23_1 == tmp0_other_with_cast.m23_1))
|
|
6389
|
+
if (!(this.m23_1 === tmp0_other_with_cast.m23_1))
|
|
6394
6390
|
return false;
|
|
6395
6391
|
if (!(this.n23_1 == tmp0_other_with_cast.n23_1))
|
|
6396
6392
|
return false;
|
|
6397
6393
|
if (!(this.o23_1 == tmp0_other_with_cast.o23_1))
|
|
6398
6394
|
return false;
|
|
6399
|
-
if (!
|
|
6395
|
+
if (!(this.p23_1 == tmp0_other_with_cast.p23_1))
|
|
6396
|
+
return false;
|
|
6397
|
+
if (!(this.q23_1 == tmp0_other_with_cast.q23_1))
|
|
6400
6398
|
return false;
|
|
6401
|
-
if (!this.
|
|
6399
|
+
if (!equals(this.r23_1, tmp0_other_with_cast.r23_1))
|
|
6402
6400
|
return false;
|
|
6403
|
-
if (!this.
|
|
6401
|
+
if (!this.s23_1.equals(tmp0_other_with_cast.s23_1))
|
|
6404
6402
|
return false;
|
|
6405
|
-
if (!
|
|
6403
|
+
if (!this.t23_1.equals(tmp0_other_with_cast.t23_1))
|
|
6404
|
+
return false;
|
|
6405
|
+
if (!(this.u23_1 === tmp0_other_with_cast.u23_1))
|
|
6406
6406
|
return false;
|
|
6407
6407
|
return true;
|
|
6408
6408
|
};
|
|
6409
6409
|
function Cell() {
|
|
6410
6410
|
}
|
|
6411
6411
|
function measureColumn($this, x, t, width) {
|
|
6412
|
-
var tmp56_safe_receiver = $this.
|
|
6412
|
+
var tmp56_safe_receiver = $this.e24_1.c1(x).x23_1;
|
|
6413
6413
|
if (tmp56_safe_receiver == null)
|
|
6414
6414
|
null;
|
|
6415
6415
|
else {
|
|
6416
6416
|
// Inline function 'kotlin.let' call
|
|
6417
6417
|
var tmp;
|
|
6418
|
-
if (!$this.
|
|
6418
|
+
if (!$this.g24_1) {
|
|
6419
6419
|
tmp = 0;
|
|
6420
6420
|
} else {
|
|
6421
|
-
var tmp0 = $this.
|
|
6421
|
+
var tmp0 = $this.z23_1;
|
|
6422
6422
|
var tmp$ret$2;
|
|
6423
6423
|
$l$block: {
|
|
6424
6424
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -6430,13 +6430,13 @@
|
|
|
6430
6430
|
var row = iterator.t();
|
|
6431
6431
|
var tmp_0 = getOrNull(row, x);
|
|
6432
6432
|
var tmp57_safe_receiver = tmp_0 instanceof Content ? tmp_0 : null;
|
|
6433
|
-
var tmp0_elvis_lhs = tmp57_safe_receiver == null ? null : tmp57_safe_receiver.
|
|
6433
|
+
var tmp0_elvis_lhs = tmp57_safe_receiver == null ? null : tmp57_safe_receiver.u23_1;
|
|
6434
6434
|
var maxValue = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
6435
6435
|
while (iterator.s()) {
|
|
6436
6436
|
var row_0 = iterator.t();
|
|
6437
6437
|
var tmp_1 = getOrNull(row_0, x);
|
|
6438
6438
|
var tmp57_safe_receiver_0 = tmp_1 instanceof Content ? tmp_1 : null;
|
|
6439
|
-
var tmp0_elvis_lhs_0 = tmp57_safe_receiver_0 == null ? null : tmp57_safe_receiver_0.
|
|
6439
|
+
var tmp0_elvis_lhs_0 = tmp57_safe_receiver_0 == null ? null : tmp57_safe_receiver_0.u23_1;
|
|
6440
6440
|
var v = tmp0_elvis_lhs_0 == null ? 0 : tmp0_elvis_lhs_0;
|
|
6441
6441
|
if (compareTo(maxValue, v) < 0) {
|
|
6442
6442
|
maxValue = v;
|
|
@@ -6453,7 +6453,7 @@
|
|
|
6453
6453
|
// Inline function 'com.github.ajalt.mordant.rendering.maxWidthRange' call
|
|
6454
6454
|
var max = 0;
|
|
6455
6455
|
var min = 0;
|
|
6456
|
-
var _iterator__ex2g4s = $this.
|
|
6456
|
+
var _iterator__ex2g4s = $this.z23_1.r();
|
|
6457
6457
|
$l$loop: while (_iterator__ex2g4s.s()) {
|
|
6458
6458
|
var it = _iterator__ex2g4s.t();
|
|
6459
6459
|
var cell = getOrNull(it, x);
|
|
@@ -6465,10 +6465,10 @@
|
|
|
6465
6465
|
tmp_2 = new WidthRange(0, 0);
|
|
6466
6466
|
} else {
|
|
6467
6467
|
if (cell instanceof Content) {
|
|
6468
|
-
tmp_2 = cell.
|
|
6468
|
+
tmp_2 = cell.k23_1.b22(t, width).t22(cell.m23_1);
|
|
6469
6469
|
} else {
|
|
6470
6470
|
if (cell instanceof SpanRef) {
|
|
6471
|
-
tmp_2 = cell.
|
|
6471
|
+
tmp_2 = cell.f23_1.k23_1.b22(t, width).t22(cell.v23());
|
|
6472
6472
|
} else {
|
|
6473
6473
|
noWhenBranchMatchedException();
|
|
6474
6474
|
}
|
|
@@ -6485,25 +6485,25 @@
|
|
|
6485
6485
|
var range = tmp_3;
|
|
6486
6486
|
var tmp0_0 = max;
|
|
6487
6487
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6488
|
-
var b = range.
|
|
6488
|
+
var b = range.q22_1;
|
|
6489
6489
|
max = Math.max(tmp0_0, b);
|
|
6490
6490
|
var tmp0_1 = min;
|
|
6491
6491
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6492
|
-
var b_0 = range.
|
|
6492
|
+
var b_0 = range.p22_1;
|
|
6493
6493
|
min = Math.max(tmp0_1, b_0);
|
|
6494
6494
|
}
|
|
6495
6495
|
var range_0 = new WidthRange(min + 0 | 0, max + 0 | 0);
|
|
6496
|
-
if (!($this.
|
|
6497
|
-
return new WidthRange(range_0.
|
|
6496
|
+
if (!($this.e24_1.c1(x).y23_1 == null)) {
|
|
6497
|
+
return new WidthRange(range_0.p22_1, coerceAtLeast(width, range_0.q22_1));
|
|
6498
6498
|
}
|
|
6499
6499
|
return range_0;
|
|
6500
6500
|
}
|
|
6501
6501
|
function calculateColumnWidths($this, t, terminalWidth) {
|
|
6502
|
-
var availableWidth = terminalWidth - $this.
|
|
6502
|
+
var availableWidth = terminalWidth - $this.l24_1 | 0;
|
|
6503
6503
|
if (availableWidth <= 0) {
|
|
6504
6504
|
// Inline function 'kotlin.collections.List' call
|
|
6505
6505
|
// Inline function 'kotlin.collections.MutableList' call
|
|
6506
|
-
var size = $this.
|
|
6506
|
+
var size = $this.i24_1;
|
|
6507
6507
|
var list = ArrayList_init_$Create$_0(size);
|
|
6508
6508
|
// Inline function 'kotlin.repeat' call
|
|
6509
6509
|
var inductionVariable = 0;
|
|
@@ -6518,7 +6518,7 @@
|
|
|
6518
6518
|
}
|
|
6519
6519
|
// Inline function 'kotlin.collections.List' call
|
|
6520
6520
|
// Inline function 'kotlin.collections.MutableList' call
|
|
6521
|
-
var size_0 = $this.
|
|
6521
|
+
var size_0 = $this.i24_1;
|
|
6522
6522
|
var list_0 = ArrayList_init_$Create$_0(size_0);
|
|
6523
6523
|
// Inline function 'kotlin.repeat' call
|
|
6524
6524
|
var inductionVariable_0 = 0;
|
|
@@ -6537,18 +6537,18 @@
|
|
|
6537
6537
|
var _iterator__ex2g4s = measurements.r();
|
|
6538
6538
|
while (_iterator__ex2g4s.s()) {
|
|
6539
6539
|
var item = _iterator__ex2g4s.t();
|
|
6540
|
-
var tmp$ret$12 = item.
|
|
6540
|
+
var tmp$ret$12 = item.q22_1;
|
|
6541
6541
|
destination.v(tmp$ret$12);
|
|
6542
6542
|
}
|
|
6543
6543
|
var widths = destination;
|
|
6544
6544
|
// Inline function 'kotlin.collections.groupBy' call
|
|
6545
|
-
var tmp0 = withIndex($this.
|
|
6545
|
+
var tmp0 = withIndex($this.e24_1);
|
|
6546
6546
|
// Inline function 'kotlin.collections.groupByTo' call
|
|
6547
6547
|
var destination_0 = LinkedHashMap_init_$Create$();
|
|
6548
6548
|
var _iterator__ex2g4s_0 = tmp0.r();
|
|
6549
6549
|
while (_iterator__ex2g4s_0.s()) {
|
|
6550
6550
|
var element = _iterator__ex2g4s_0.t();
|
|
6551
|
-
var key = element.ce_1.
|
|
6551
|
+
var key = element.ce_1.w23_1;
|
|
6552
6552
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
6553
6553
|
var value = destination_0.m2(key);
|
|
6554
6554
|
var tmp;
|
|
@@ -6597,7 +6597,7 @@
|
|
|
6597
6597
|
while (_iterator__ex2g4s_4.s()) {
|
|
6598
6598
|
var element_2 = _iterator__ex2g4s_4.t();
|
|
6599
6599
|
var tmp_2 = sum;
|
|
6600
|
-
sum = tmp_2 + measurements.c1(element_2).
|
|
6600
|
+
sum = tmp_2 + measurements.c1(element_2).p22_1 | 0;
|
|
6601
6601
|
}
|
|
6602
6602
|
var tmp_3 = sum;
|
|
6603
6603
|
// Inline function 'kotlin.collections.sumOf' call
|
|
@@ -6606,7 +6606,7 @@
|
|
|
6606
6606
|
while (_iterator__ex2g4s_5.s()) {
|
|
6607
6607
|
var element_3 = _iterator__ex2g4s_5.t();
|
|
6608
6608
|
var tmp_4 = sum_0;
|
|
6609
|
-
sum_0 = tmp_4 + measurements.c1(element_3).
|
|
6609
|
+
sum_0 = tmp_4 + measurements.c1(element_3).q22_1 | 0;
|
|
6610
6610
|
}
|
|
6611
6611
|
var tmp$ret$33 = sum_0;
|
|
6612
6612
|
var tmp$ret$30 = new WidthRange(tmp_3, tmp$ret$33);
|
|
@@ -6646,10 +6646,10 @@
|
|
|
6646
6646
|
while (_iterator__ex2g4s_8.s()) {
|
|
6647
6647
|
var element_6 = _iterator__ex2g4s_8.t();
|
|
6648
6648
|
var tmp_6 = sum_1;
|
|
6649
|
-
sum_1 = tmp_6 + element_6.m1().
|
|
6649
|
+
sum_1 = tmp_6 + element_6.m1().p22_1 | 0;
|
|
6650
6650
|
}
|
|
6651
6651
|
var lowerMin = sum_1;
|
|
6652
|
-
var allocated = coerceAtMost(coerceIn(remainingWidth - lowerMin | 0, m.
|
|
6652
|
+
var allocated = coerceAtMost(coerceIn(remainingWidth - lowerMin | 0, m.p22_1, m.q22_1), remainingWidth);
|
|
6653
6653
|
remainingWidth = remainingWidth - allocated | 0;
|
|
6654
6654
|
// Inline function 'kotlin.collections.set' call
|
|
6655
6655
|
allocatedWidths.p2(p, allocated);
|
|
@@ -6673,8 +6673,8 @@
|
|
|
6673
6673
|
var _iterator__ex2g4s_10 = indexes.r();
|
|
6674
6674
|
while (_iterator__ex2g4s_10.s()) {
|
|
6675
6675
|
var item_1 = _iterator__ex2g4s_10.t();
|
|
6676
|
-
var tmp0_elvis_lhs = $this.
|
|
6677
|
-
var tmp$ret$54 = tmp0_elvis_lhs == null ? measurements.c1(item_1).
|
|
6676
|
+
var tmp0_elvis_lhs = $this.e24_1.c1(item_1).y23_1;
|
|
6677
|
+
var tmp$ret$54 = tmp0_elvis_lhs == null ? measurements.c1(item_1).q22_1 : tmp0_elvis_lhs;
|
|
6678
6678
|
destination_5.v(tmp$ret$54);
|
|
6679
6679
|
}
|
|
6680
6680
|
var weights = destination_5;
|
|
@@ -6733,20 +6733,20 @@
|
|
|
6733
6733
|
return widths;
|
|
6734
6734
|
}
|
|
6735
6735
|
function getCell($this, x, y) {
|
|
6736
|
-
var tmp58_safe_receiver = getOrNull($this.
|
|
6736
|
+
var tmp58_safe_receiver = getOrNull($this.z23_1, y);
|
|
6737
6737
|
return tmp58_safe_receiver == null ? null : getOrNull(tmp58_safe_receiver, x);
|
|
6738
6738
|
}
|
|
6739
6739
|
function sam$kotlin_Comparator$0(function_0) {
|
|
6740
|
-
this.
|
|
6740
|
+
this.m24_1 = function_0;
|
|
6741
6741
|
}
|
|
6742
6742
|
protoOf(sam$kotlin_Comparator$0).fd = function (a, b) {
|
|
6743
|
-
return this.
|
|
6743
|
+
return this.m24_1(a, b);
|
|
6744
6744
|
};
|
|
6745
6745
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
6746
6746
|
return this.fd(a, b);
|
|
6747
6747
|
};
|
|
6748
6748
|
protoOf(sam$kotlin_Comparator$0).h3 = function () {
|
|
6749
|
-
return this.
|
|
6749
|
+
return this.m24_1;
|
|
6750
6750
|
};
|
|
6751
6751
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
6752
6752
|
var tmp;
|
|
@@ -6780,22 +6780,22 @@
|
|
|
6780
6780
|
}
|
|
6781
6781
|
function TableImpl(rows, borderType, borderStyle, headerRowCount, footerRowCount, columnWidths, tableBorders, addPaddingWidthToFixedWidth) {
|
|
6782
6782
|
Table.call(this);
|
|
6783
|
-
this.
|
|
6784
|
-
this.
|
|
6785
|
-
this.
|
|
6786
|
-
this.
|
|
6787
|
-
this.
|
|
6788
|
-
this.
|
|
6789
|
-
this.
|
|
6790
|
-
this.
|
|
6783
|
+
this.z23_1 = rows;
|
|
6784
|
+
this.a24_1 = borderType;
|
|
6785
|
+
this.b24_1 = borderStyle;
|
|
6786
|
+
this.c24_1 = headerRowCount;
|
|
6787
|
+
this.d24_1 = footerRowCount;
|
|
6788
|
+
this.e24_1 = columnWidths;
|
|
6789
|
+
this.f24_1 = tableBorders;
|
|
6790
|
+
this.g24_1 = addPaddingWidthToFixedWidth;
|
|
6791
6791
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6792
6792
|
// Inline function 'kotlin.require' call
|
|
6793
|
-
if (!!this.
|
|
6793
|
+
if (!!this.z23_1.p()) {
|
|
6794
6794
|
var message = 'Table cannot be empty';
|
|
6795
6795
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
6796
6796
|
}
|
|
6797
6797
|
var tmp = this;
|
|
6798
|
-
var tmp0 = this.
|
|
6798
|
+
var tmp0 = this.e24_1;
|
|
6799
6799
|
var tmp$ret$3;
|
|
6800
6800
|
$l$block_0: {
|
|
6801
6801
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6812,19 +6812,19 @@
|
|
|
6812
6812
|
var _iterator__ex2g4s = tmp0.r();
|
|
6813
6813
|
while (_iterator__ex2g4s.s()) {
|
|
6814
6814
|
var element = _iterator__ex2g4s.t();
|
|
6815
|
-
if (!(element.
|
|
6815
|
+
if (!(element.y23_1 == null)) {
|
|
6816
6816
|
tmp$ret$3 = true;
|
|
6817
6817
|
break $l$block_0;
|
|
6818
6818
|
}
|
|
6819
6819
|
}
|
|
6820
6820
|
tmp$ret$3 = false;
|
|
6821
6821
|
}
|
|
6822
|
-
tmp.
|
|
6823
|
-
this.
|
|
6822
|
+
tmp.h24_1 = tmp$ret$3;
|
|
6823
|
+
this.i24_1 = this.e24_1.d1();
|
|
6824
6824
|
var tmp_1 = this;
|
|
6825
6825
|
// Inline function 'kotlin.collections.List' call
|
|
6826
6826
|
// Inline function 'kotlin.collections.MutableList' call
|
|
6827
|
-
var size = this.
|
|
6827
|
+
var size = this.z23_1.d1() + 1 | 0;
|
|
6828
6828
|
var list = ArrayList_init_$Create$_0(size);
|
|
6829
6829
|
// Inline function 'kotlin.repeat' call
|
|
6830
6830
|
var inductionVariable = 0;
|
|
@@ -6833,12 +6833,12 @@
|
|
|
6833
6833
|
var index = inductionVariable;
|
|
6834
6834
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6835
6835
|
var tmp_2;
|
|
6836
|
-
if (index === 0 && !(this.
|
|
6837
|
-
tmp_2 = this.
|
|
6838
|
-
} else if (index === this.
|
|
6839
|
-
tmp_2 = this.
|
|
6836
|
+
if (index === 0 && !(this.f24_1 == null)) {
|
|
6837
|
+
tmp_2 = this.f24_1.x22_1;
|
|
6838
|
+
} else if (index === this.z23_1.d1() && !(this.f24_1 == null)) {
|
|
6839
|
+
tmp_2 = this.f24_1.z22_1;
|
|
6840
6840
|
} else {
|
|
6841
|
-
var tmp0_0 = until(0, this.
|
|
6841
|
+
var tmp0_0 = until(0, this.i24_1);
|
|
6842
6842
|
var tmp$ret$10;
|
|
6843
6843
|
$l$block_2: {
|
|
6844
6844
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6873,11 +6873,11 @@
|
|
|
6873
6873
|
list.v(tmp$ret$9);
|
|
6874
6874
|
}
|
|
6875
6875
|
while (inductionVariable < size);
|
|
6876
|
-
tmp_1.
|
|
6876
|
+
tmp_1.j24_1 = list;
|
|
6877
6877
|
var tmp_4 = this;
|
|
6878
6878
|
// Inline function 'kotlin.collections.List' call
|
|
6879
6879
|
// Inline function 'kotlin.collections.MutableList' call
|
|
6880
|
-
var size_0 = this.
|
|
6880
|
+
var size_0 = this.i24_1 + 1 | 0;
|
|
6881
6881
|
var list_0 = ArrayList_init_$Create$_0(size_0);
|
|
6882
6882
|
// Inline function 'kotlin.repeat' call
|
|
6883
6883
|
var inductionVariable_1 = 0;
|
|
@@ -6886,12 +6886,12 @@
|
|
|
6886
6886
|
var index_0 = inductionVariable_1;
|
|
6887
6887
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
6888
6888
|
var tmp_5;
|
|
6889
|
-
if (index_0 === 0 && !(this.
|
|
6890
|
-
tmp_5 = this.
|
|
6891
|
-
} else if (index_0 === this.
|
|
6892
|
-
tmp_5 = this.
|
|
6889
|
+
if (index_0 === 0 && !(this.f24_1 == null)) {
|
|
6890
|
+
tmp_5 = this.f24_1.w22_1;
|
|
6891
|
+
} else if (index_0 === this.i24_1 && !(this.f24_1 == null)) {
|
|
6892
|
+
tmp_5 = this.f24_1.y22_1;
|
|
6893
6893
|
} else {
|
|
6894
|
-
var tmp0_1 = get_indices(this.
|
|
6894
|
+
var tmp0_1 = get_indices(this.z23_1);
|
|
6895
6895
|
var tmp$ret$17;
|
|
6896
6896
|
$l$block_4: {
|
|
6897
6897
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6926,9 +6926,9 @@
|
|
|
6926
6926
|
list_0.v(tmp$ret$16);
|
|
6927
6927
|
}
|
|
6928
6928
|
while (inductionVariable_1 < size_0);
|
|
6929
|
-
tmp_4.
|
|
6929
|
+
tmp_4.k24_1 = list_0;
|
|
6930
6930
|
var tmp_7 = this;
|
|
6931
|
-
var tmp0_2 = this.
|
|
6931
|
+
var tmp0_2 = this.k24_1;
|
|
6932
6932
|
var tmp$ret$19;
|
|
6933
6933
|
$l$block_5: {
|
|
6934
6934
|
// Inline function 'kotlin.collections.count' call
|
|
@@ -6953,15 +6953,15 @@
|
|
|
6953
6953
|
}
|
|
6954
6954
|
tmp$ret$19 = count;
|
|
6955
6955
|
}
|
|
6956
|
-
tmp_7.
|
|
6956
|
+
tmp_7.l24_1 = tmp$ret$19;
|
|
6957
6957
|
}
|
|
6958
|
-
protoOf(TableImpl).
|
|
6959
|
-
if (this.
|
|
6958
|
+
protoOf(TableImpl).b22 = function (t, width) {
|
|
6959
|
+
if (this.h24_1)
|
|
6960
6960
|
return new WidthRange(width, width);
|
|
6961
|
-
var remainingWidth = width - this.
|
|
6961
|
+
var remainingWidth = width - this.l24_1 | 0;
|
|
6962
6962
|
// Inline function 'kotlin.collections.List' call
|
|
6963
6963
|
// Inline function 'kotlin.collections.MutableList' call
|
|
6964
|
-
var size = this.
|
|
6964
|
+
var size = this.i24_1;
|
|
6965
6965
|
var list = ArrayList_init_$Create$_0(size);
|
|
6966
6966
|
// Inline function 'kotlin.repeat' call
|
|
6967
6967
|
var inductionVariable = 0;
|
|
@@ -6980,51 +6980,51 @@
|
|
|
6980
6980
|
while (_iterator__ex2g4s.s()) {
|
|
6981
6981
|
var element = _iterator__ex2g4s.t();
|
|
6982
6982
|
var tmp = sum;
|
|
6983
|
-
sum = tmp + element.
|
|
6983
|
+
sum = tmp + element.p22_1 | 0;
|
|
6984
6984
|
}
|
|
6985
|
-
var tmp_0 = sum + this.
|
|
6985
|
+
var tmp_0 = sum + this.l24_1 | 0;
|
|
6986
6986
|
// Inline function 'kotlin.collections.sumOf' call
|
|
6987
6987
|
var sum_0 = 0;
|
|
6988
6988
|
var _iterator__ex2g4s_0 = ranges.r();
|
|
6989
6989
|
while (_iterator__ex2g4s_0.s()) {
|
|
6990
6990
|
var element_0 = _iterator__ex2g4s_0.t();
|
|
6991
6991
|
var tmp_1 = sum_0;
|
|
6992
|
-
sum_0 = tmp_1 + element_0.
|
|
6992
|
+
sum_0 = tmp_1 + element_0.q22_1 | 0;
|
|
6993
6993
|
}
|
|
6994
6994
|
var tmp$ret$7 = sum_0;
|
|
6995
|
-
return new WidthRange(tmp_0, tmp$ret$7 + this.
|
|
6995
|
+
return new WidthRange(tmp_0, tmp$ret$7 + this.l24_1 | 0);
|
|
6996
6996
|
};
|
|
6997
|
-
protoOf(TableImpl).
|
|
6998
|
-
return (new TableRenderer(this.
|
|
6997
|
+
protoOf(TableImpl).c22 = function (t, width) {
|
|
6998
|
+
return (new TableRenderer(this.z23_1, this.a24_1, this.b24_1, this.c24_1, this.d24_1, this.i24_1, calculateColumnWidths(this, t, width), this.k24_1, this.j24_1, this.f24_1, t)).b25();
|
|
6999
6999
|
};
|
|
7000
7000
|
function Table() {
|
|
7001
7001
|
}
|
|
7002
7002
|
function get_t(_this__u8e3s4) {
|
|
7003
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7003
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.c23()) === true;
|
|
7004
7004
|
}
|
|
7005
7005
|
function get_b(_this__u8e3s4) {
|
|
7006
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7006
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.e23()) === true;
|
|
7007
7007
|
}
|
|
7008
7008
|
function get_l(_this__u8e3s4) {
|
|
7009
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7009
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.b23()) === true;
|
|
7010
7010
|
}
|
|
7011
7011
|
function get_r(_this__u8e3s4) {
|
|
7012
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7012
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.d23()) === true;
|
|
7013
7013
|
}
|
|
7014
7014
|
function _get_rowCount__xlqfpy($this) {
|
|
7015
|
-
return $this.
|
|
7015
|
+
return $this.n24_1.d1();
|
|
7016
7016
|
}
|
|
7017
7017
|
function drawBottomBorder($this) {
|
|
7018
|
-
if (!$this.
|
|
7018
|
+
if (!$this.v24_1.c1(_get_rowCount__xlqfpy($this)))
|
|
7019
7019
|
return Unit_instance;
|
|
7020
|
-
var line = $this.
|
|
7020
|
+
var line = $this.a25_1.c1(get_lastIndex_0($this.a25_1));
|
|
7021
7021
|
var inductionVariable = 0;
|
|
7022
|
-
var last = $this.
|
|
7022
|
+
var last = $this.t24_1.d1() - 1 | 0;
|
|
7023
7023
|
if (inductionVariable <= last)
|
|
7024
7024
|
do {
|
|
7025
7025
|
var x = inductionVariable;
|
|
7026
7026
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7027
|
-
if ($this.
|
|
7027
|
+
if ($this.u24_1.c1(x)) {
|
|
7028
7028
|
var tmp61_safe_receiver = getTopLeftCorner($this, x, _get_rowCount__xlqfpy($this));
|
|
7029
7029
|
if (tmp61_safe_receiver == null)
|
|
7030
7030
|
null;
|
|
@@ -7033,11 +7033,11 @@
|
|
|
7033
7033
|
line.v(tmp61_safe_receiver);
|
|
7034
7034
|
}
|
|
7035
7035
|
}
|
|
7036
|
-
drawTopBorderForCell($this, get_lastIndex_0($this.
|
|
7036
|
+
drawTopBorderForCell($this, get_lastIndex_0($this.a25_1), x, _get_rowCount__xlqfpy($this), $this.t24_1.c1(x), false);
|
|
7037
7037
|
}
|
|
7038
7038
|
while (inductionVariable <= last);
|
|
7039
|
-
if ($this.
|
|
7040
|
-
var tmp62_safe_receiver = getTopLeftCorner($this, $this.
|
|
7039
|
+
if ($this.u24_1.c1($this.s24_1)) {
|
|
7040
|
+
var tmp62_safe_receiver = getTopLeftCorner($this, $this.s24_1, _get_rowCount__xlqfpy($this));
|
|
7041
7041
|
if (tmp62_safe_receiver == null)
|
|
7042
7042
|
null;
|
|
7043
7043
|
else {
|
|
@@ -7054,53 +7054,53 @@
|
|
|
7054
7054
|
var i = index;
|
|
7055
7055
|
index = index + 1 | 0;
|
|
7056
7056
|
var line = iterator.t();
|
|
7057
|
-
$this.
|
|
7057
|
+
$this.a25_1.c1(tableLineY + i | 0).h1(line);
|
|
7058
7058
|
}
|
|
7059
7059
|
}
|
|
7060
7060
|
function drawTopBorderForCell($this, tableLineY, x, y, colWidth, borderTop) {
|
|
7061
|
-
if (!$this.
|
|
7061
|
+
if (!$this.v24_1.c1(y))
|
|
7062
7062
|
return 0;
|
|
7063
7063
|
if (colWidth === 0 || borderTop == null) {
|
|
7064
7064
|
return 1;
|
|
7065
7065
|
}
|
|
7066
7066
|
var tmp;
|
|
7067
|
-
if (borderTop || (y === 0 && get_t_0($this.
|
|
7068
|
-
tmp = sectionOfRow($this, y).
|
|
7067
|
+
if (borderTop || (y === 0 && get_t_0($this.w24_1)) || (y === _get_rowCount__xlqfpy($this) && get_b_0($this.w24_1)) || get_b(cellAt($this, x, y - 1 | 0))) {
|
|
7068
|
+
tmp = sectionOfRow($this, y).x1z_1;
|
|
7069
7069
|
} else {
|
|
7070
7070
|
tmp = ' ';
|
|
7071
7071
|
}
|
|
7072
7072
|
var char = tmp;
|
|
7073
|
-
$this.
|
|
7073
|
+
$this.a25_1.c1(tableLineY).v(Companion_instance_0.p1y(repeat(char, colWidth), $this.p24_1));
|
|
7074
7074
|
return 1;
|
|
7075
7075
|
}
|
|
7076
7076
|
function drawLeftBorderForColumn($this, x) {
|
|
7077
|
-
if (!$this.
|
|
7077
|
+
if (!$this.u24_1.c1(x))
|
|
7078
7078
|
return Unit_instance;
|
|
7079
7079
|
var tableLineY = 0;
|
|
7080
|
-
var iterator = $this.
|
|
7080
|
+
var iterator = $this.n24_1.r();
|
|
7081
7081
|
var index = 0;
|
|
7082
7082
|
while (iterator.s()) {
|
|
7083
7083
|
var y = index;
|
|
7084
7084
|
index = index + 1 | 0;
|
|
7085
7085
|
var row = iterator.t();
|
|
7086
|
-
var rowHeight = $this.
|
|
7086
|
+
var rowHeight = $this.z24_1.c1(y);
|
|
7087
7087
|
var tmp0_elvis_lhs = getOrNull(row, x);
|
|
7088
7088
|
var cell = tmp0_elvis_lhs == null ? Empty_getInstance() : tmp0_elvis_lhs;
|
|
7089
|
-
if ($this.
|
|
7089
|
+
if ($this.v24_1.c1(y)) {
|
|
7090
7090
|
var tmp63_safe_receiver = getTopLeftCorner($this, x, y);
|
|
7091
7091
|
if (tmp63_safe_receiver == null)
|
|
7092
7092
|
null;
|
|
7093
7093
|
else {
|
|
7094
7094
|
// Inline function 'kotlin.let' call
|
|
7095
|
-
$this.
|
|
7095
|
+
$this.a25_1.c1(tableLineY).v(tmp63_safe_receiver);
|
|
7096
7096
|
}
|
|
7097
7097
|
}
|
|
7098
|
-
var borderLeft = cell.
|
|
7099
|
-
var topBorderHeight = $this.
|
|
7098
|
+
var borderLeft = cell.b23();
|
|
7099
|
+
var topBorderHeight = $this.v24_1.c1(y) ? 1 : 0;
|
|
7100
7100
|
if (!(borderLeft == null)) {
|
|
7101
7101
|
var tmp;
|
|
7102
|
-
if (x === 0 && get_l_0($this.
|
|
7103
|
-
tmp = Companion_instance_0.
|
|
7102
|
+
if (x === 0 && get_l_0($this.w24_1) || (x === $this.s24_1 && get_r_0($this.w24_1)) || borderLeft || get_r(cellAt($this, x - 1 | 0, y))) {
|
|
7103
|
+
tmp = Companion_instance_0.p1y(sectionOfRow($this, y, false).y1z_1, $this.p24_1);
|
|
7104
7104
|
} else {
|
|
7105
7105
|
tmp = get_SINGLE_SPACE();
|
|
7106
7106
|
}
|
|
@@ -7110,7 +7110,7 @@
|
|
|
7110
7110
|
do {
|
|
7111
7111
|
var i = inductionVariable;
|
|
7112
7112
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7113
|
-
$this.
|
|
7113
|
+
$this.a25_1.c1((tableLineY + i | 0) + topBorderHeight | 0).v(border);
|
|
7114
7114
|
}
|
|
7115
7115
|
while (inductionVariable < rowHeight);
|
|
7116
7116
|
}
|
|
@@ -7123,10 +7123,10 @@
|
|
|
7123
7123
|
tmp = emptyList();
|
|
7124
7124
|
} else {
|
|
7125
7125
|
if (cell instanceof Empty) {
|
|
7126
|
-
var space = listOf_0(Companion_instance_0.
|
|
7126
|
+
var space = listOf_0(Companion_instance_0.j1y($this.t24_1.c1(x)));
|
|
7127
7127
|
// Inline function 'kotlin.collections.List' call
|
|
7128
7128
|
// Inline function 'kotlin.collections.MutableList' call
|
|
7129
|
-
var size = $this.
|
|
7129
|
+
var size = $this.z24_1.c1(y);
|
|
7130
7130
|
var list = ArrayList_init_$Create$_0(size);
|
|
7131
7131
|
// Inline function 'kotlin.repeat' call
|
|
7132
7132
|
var inductionVariable = 0;
|
|
@@ -7142,7 +7142,7 @@
|
|
|
7142
7142
|
if (cell instanceof Content) {
|
|
7143
7143
|
// Inline function 'kotlin.collections.sumOf' call
|
|
7144
7144
|
var sum = 0;
|
|
7145
|
-
var progression = until(x, x + cell.
|
|
7145
|
+
var progression = until(x, x + cell.m23_1 | 0);
|
|
7146
7146
|
var inductionVariable_0 = progression.o1_1;
|
|
7147
7147
|
var last = progression.p1_1;
|
|
7148
7148
|
if (inductionVariable_0 <= last)
|
|
@@ -7151,11 +7151,11 @@
|
|
|
7151
7151
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
7152
7152
|
var tmp_0 = sum;
|
|
7153
7153
|
var it = element;
|
|
7154
|
-
sum = tmp_0 + $this.
|
|
7154
|
+
sum = tmp_0 + $this.t24_1.c1(it) | 0;
|
|
7155
7155
|
}
|
|
7156
7156
|
while (!(element === last));
|
|
7157
7157
|
var tmp_1 = sum;
|
|
7158
|
-
var tmp0 = until(x + 1 | 0, x + cell.
|
|
7158
|
+
var tmp0 = until(x + 1 | 0, x + cell.m23_1 | 0);
|
|
7159
7159
|
var tmp$ret$7;
|
|
7160
7160
|
$l$block: {
|
|
7161
7161
|
// Inline function 'kotlin.collections.count' call
|
|
@@ -7177,7 +7177,7 @@
|
|
|
7177
7177
|
var element_0 = inductionVariable_1;
|
|
7178
7178
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
7179
7179
|
var it_0 = element_0;
|
|
7180
|
-
if ($this.
|
|
7180
|
+
if ($this.u24_1.c1(it_0 + 1 | 0)) {
|
|
7181
7181
|
count = count + 1 | 0;
|
|
7182
7182
|
checkCountOverflow(count);
|
|
7183
7183
|
}
|
|
@@ -7188,7 +7188,7 @@
|
|
|
7188
7188
|
var cellWidth = coerceAtLeast(tmp_1 + tmp$ret$7 | 0, 0);
|
|
7189
7189
|
// Inline function 'kotlin.collections.sumOf' call
|
|
7190
7190
|
var sum_0 = 0;
|
|
7191
|
-
var progression_0 = until(y, y + cell.
|
|
7191
|
+
var progression_0 = until(y, y + cell.l23_1 | 0);
|
|
7192
7192
|
var inductionVariable_2 = progression_0.o1_1;
|
|
7193
7193
|
var last_1 = progression_0.p1_1;
|
|
7194
7194
|
if (inductionVariable_2 <= last_1)
|
|
@@ -7197,11 +7197,11 @@
|
|
|
7197
7197
|
inductionVariable_2 = inductionVariable_2 + 1 | 0;
|
|
7198
7198
|
var tmp_3 = sum_0;
|
|
7199
7199
|
var it_1 = element_1;
|
|
7200
|
-
sum_0 = tmp_3 + $this.
|
|
7200
|
+
sum_0 = tmp_3 + $this.z24_1.c1(it_1) | 0;
|
|
7201
7201
|
}
|
|
7202
7202
|
while (!(element_1 === last_1));
|
|
7203
7203
|
var tmp_4 = sum_0;
|
|
7204
|
-
var tmp0_0 = until(y + 1 | 0, y + cell.
|
|
7204
|
+
var tmp0_0 = until(y + 1 | 0, y + cell.l23_1 | 0);
|
|
7205
7205
|
var tmp$ret$11;
|
|
7206
7206
|
$l$block_0: {
|
|
7207
7207
|
// Inline function 'kotlin.collections.count' call
|
|
@@ -7223,7 +7223,7 @@
|
|
|
7223
7223
|
var element_2 = inductionVariable_3;
|
|
7224
7224
|
inductionVariable_3 = inductionVariable_3 + 1 | 0;
|
|
7225
7225
|
var it_2 = element_2;
|
|
7226
|
-
if ($this.
|
|
7226
|
+
if ($this.v24_1.c1(it_2 + 1 | 0)) {
|
|
7227
7227
|
count_0 = count_0 + 1 | 0;
|
|
7228
7228
|
checkCountOverflow(count_0);
|
|
7229
7229
|
}
|
|
@@ -7232,7 +7232,7 @@
|
|
|
7232
7232
|
tmp$ret$11 = count_0;
|
|
7233
7233
|
}
|
|
7234
7234
|
var cellHeight = tmp_4 + tmp$ret$11 | 0;
|
|
7235
|
-
tmp = setSize(cell.
|
|
7235
|
+
tmp = setSize(cell.k23_1.c22($this.x24_1, cellWidth).g20(cell.r23_1), cellWidth, cellHeight, cell.t23_1, cell.s23_1).c1y_1;
|
|
7236
7236
|
} else {
|
|
7237
7237
|
noWhenBranchMatchedException();
|
|
7238
7238
|
}
|
|
@@ -7241,7 +7241,7 @@
|
|
|
7241
7241
|
return tmp;
|
|
7242
7242
|
}
|
|
7243
7243
|
function cellAt($this, x, y) {
|
|
7244
|
-
var tmp65_safe_receiver = getOrNull($this.
|
|
7244
|
+
var tmp65_safe_receiver = getOrNull($this.n24_1, y);
|
|
7245
7245
|
return tmp65_safe_receiver == null ? null : getOrNull(tmp65_safe_receiver, x);
|
|
7246
7246
|
}
|
|
7247
7247
|
function getTopLeftCorner($this, x, y) {
|
|
@@ -7258,69 +7258,69 @@
|
|
|
7258
7258
|
var tmp_5;
|
|
7259
7259
|
var tmp_6;
|
|
7260
7260
|
if (!(tl == null) || !(tr == null) || !(bl == null) || !(br == null)) {
|
|
7261
|
-
tmp_6 = (tl == null ? null : tl.
|
|
7261
|
+
tmp_6 = (tl == null ? null : tl.d23()) == null;
|
|
7262
7262
|
} else {
|
|
7263
7263
|
tmp_6 = false;
|
|
7264
7264
|
}
|
|
7265
7265
|
if (tmp_6) {
|
|
7266
|
-
tmp_5 = (tr == null ? null : tr.
|
|
7266
|
+
tmp_5 = (tr == null ? null : tr.b23()) == null;
|
|
7267
7267
|
} else {
|
|
7268
7268
|
tmp_5 = false;
|
|
7269
7269
|
}
|
|
7270
7270
|
if (tmp_5) {
|
|
7271
|
-
tmp_4 = (tr == null ? null : tr.
|
|
7271
|
+
tmp_4 = (tr == null ? null : tr.e23()) == null;
|
|
7272
7272
|
} else {
|
|
7273
7273
|
tmp_4 = false;
|
|
7274
7274
|
}
|
|
7275
7275
|
if (tmp_4) {
|
|
7276
|
-
tmp_3 = (br == null ? null : br.
|
|
7276
|
+
tmp_3 = (br == null ? null : br.c23()) == null;
|
|
7277
7277
|
} else {
|
|
7278
7278
|
tmp_3 = false;
|
|
7279
7279
|
}
|
|
7280
7280
|
if (tmp_3) {
|
|
7281
|
-
tmp_2 = (bl == null ? null : bl.
|
|
7281
|
+
tmp_2 = (bl == null ? null : bl.d23()) == null;
|
|
7282
7282
|
} else {
|
|
7283
7283
|
tmp_2 = false;
|
|
7284
7284
|
}
|
|
7285
7285
|
if (tmp_2) {
|
|
7286
|
-
tmp_1 = (br == null ? null : br.
|
|
7286
|
+
tmp_1 = (br == null ? null : br.b23()) == null;
|
|
7287
7287
|
} else {
|
|
7288
7288
|
tmp_1 = false;
|
|
7289
7289
|
}
|
|
7290
7290
|
if (tmp_1) {
|
|
7291
|
-
tmp_0 = (tl == null ? null : tl.
|
|
7291
|
+
tmp_0 = (tl == null ? null : tl.e23()) == null;
|
|
7292
7292
|
} else {
|
|
7293
7293
|
tmp_0 = false;
|
|
7294
7294
|
}
|
|
7295
7295
|
if (tmp_0) {
|
|
7296
|
-
tmp = (bl == null ? null : bl.
|
|
7296
|
+
tmp = (bl == null ? null : bl.c23()) == null;
|
|
7297
7297
|
} else {
|
|
7298
7298
|
tmp = false;
|
|
7299
7299
|
}
|
|
7300
7300
|
if (tmp) {
|
|
7301
7301
|
return null;
|
|
7302
7302
|
}
|
|
7303
|
-
return sectionOfRow($this, y).
|
|
7303
|
+
return sectionOfRow($this, y).e20(get_r(tl) || get_l(tr) || (y > 0 && (x === 0 && get_l_0($this.w24_1) || (x === $this.s24_1 && get_r_0($this.w24_1)))), get_b(tr) || get_t(br) || (x < $this.s24_1 && (y === 0 && get_t_0($this.w24_1) || (y === _get_rowCount__xlqfpy($this) && get_b_0($this.w24_1)))), get_r(bl) || get_l(br) || (y < _get_rowCount__xlqfpy($this) && (x === 0 && get_l_0($this.w24_1) || (x === $this.s24_1 && get_r_0($this.w24_1)))), get_b(tl) || get_t(bl) || (x > 0 && (y === 0 && get_t_0($this.w24_1) || (y === _get_rowCount__xlqfpy($this) && get_b_0($this.w24_1)))), $this.p24_1);
|
|
7304
7304
|
}
|
|
7305
7305
|
function sectionOfRow($this, y, allowBottom) {
|
|
7306
7306
|
allowBottom = allowBottom === VOID ? true : allowBottom;
|
|
7307
|
-
return y < $this.
|
|
7307
|
+
return y < $this.q24_1 ? $this.o24_1.j1z_1 : allowBottom && $this.q24_1 > 0 && y === $this.q24_1 ? $this.o24_1.k1z_1 : allowBottom && $this.r24_1 > 0 && y === (_get_rowCount__xlqfpy($this) - $this.r24_1 | 0) ? $this.o24_1.m1z_1 : $this.r24_1 === 0 || y < (_get_rowCount__xlqfpy($this) - $this.r24_1 | 0) ? $this.o24_1.l1z_1 : $this.o24_1.n1z_1;
|
|
7308
7308
|
}
|
|
7309
7309
|
function TableRenderer(rows, borderType, borderStyle, headerRowCount, footerRowCount, columnCount, columnWidths, columnBorders, rowBorders, tableBorders, t) {
|
|
7310
|
-
this.
|
|
7311
|
-
this.
|
|
7312
|
-
this.
|
|
7313
|
-
this.
|
|
7314
|
-
this.
|
|
7315
|
-
this.
|
|
7316
|
-
this.
|
|
7317
|
-
this.
|
|
7318
|
-
this.
|
|
7319
|
-
this.
|
|
7320
|
-
this.
|
|
7310
|
+
this.n24_1 = rows;
|
|
7311
|
+
this.o24_1 = borderType;
|
|
7312
|
+
this.p24_1 = borderStyle;
|
|
7313
|
+
this.q24_1 = headerRowCount;
|
|
7314
|
+
this.r24_1 = footerRowCount;
|
|
7315
|
+
this.s24_1 = columnCount;
|
|
7316
|
+
this.t24_1 = columnWidths;
|
|
7317
|
+
this.u24_1 = columnBorders;
|
|
7318
|
+
this.v24_1 = rowBorders;
|
|
7319
|
+
this.w24_1 = tableBorders;
|
|
7320
|
+
this.x24_1 = t;
|
|
7321
7321
|
var tmp = this;
|
|
7322
7322
|
// Inline function 'kotlin.collections.map' call
|
|
7323
|
-
var this_0 = this.
|
|
7323
|
+
var this_0 = this.n24_1;
|
|
7324
7324
|
// Inline function 'kotlin.collections.mapTo' call
|
|
7325
7325
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
7326
7326
|
var _iterator__ex2g4s = this_0.r();
|
|
@@ -7340,7 +7340,7 @@
|
|
|
7340
7340
|
if (item_0 instanceof Content) {
|
|
7341
7341
|
// Inline function 'kotlin.collections.sumOf' call
|
|
7342
7342
|
var sum_0 = 0;
|
|
7343
|
-
var progression = until(x, x + item_0.
|
|
7343
|
+
var progression = until(x, x + item_0.m23_1 | 0);
|
|
7344
7344
|
var inductionVariable = progression.o1_1;
|
|
7345
7345
|
var last = progression.p1_1;
|
|
7346
7346
|
if (inductionVariable <= last)
|
|
@@ -7349,11 +7349,11 @@
|
|
|
7349
7349
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7350
7350
|
var tmp_1 = sum_0;
|
|
7351
7351
|
var it = element;
|
|
7352
|
-
sum_0 = tmp_1 + this.
|
|
7352
|
+
sum_0 = tmp_1 + this.t24_1.c1(it) | 0;
|
|
7353
7353
|
}
|
|
7354
7354
|
while (!(element === last));
|
|
7355
7355
|
var w = sum_0;
|
|
7356
|
-
tmp_0 = w === 0 ? get_EMPTY_LINES() : item_0.
|
|
7356
|
+
tmp_0 = w === 0 ? get_EMPTY_LINES() : item_0.k23_1.c22(this.x24_1, w).g20(item_0.r23_1);
|
|
7357
7357
|
} else {
|
|
7358
7358
|
tmp_0 = get_EMPTY_LINES();
|
|
7359
7359
|
}
|
|
@@ -7362,10 +7362,10 @@
|
|
|
7362
7362
|
}
|
|
7363
7363
|
destination.v(destination_0);
|
|
7364
7364
|
}
|
|
7365
|
-
tmp.
|
|
7365
|
+
tmp.y24_1 = destination;
|
|
7366
7366
|
var tmp_2 = this;
|
|
7367
7367
|
// Inline function 'kotlin.collections.mapIndexed' call
|
|
7368
|
-
var this_1 = this.
|
|
7368
|
+
var this_1 = this.y24_1;
|
|
7369
7369
|
// Inline function 'kotlin.collections.mapIndexedTo' call
|
|
7370
7370
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
7371
7371
|
var index_0 = 0;
|
|
@@ -7387,17 +7387,17 @@
|
|
|
7387
7387
|
var destruct = iterator.t();
|
|
7388
7388
|
var x_0 = destruct.fa();
|
|
7389
7389
|
var it_0 = destruct.ga();
|
|
7390
|
-
var tmp_3 = it_0.
|
|
7390
|
+
var tmp_3 = it_0.f20();
|
|
7391
7391
|
var tmp59_safe_receiver = cellAt(this, x_0, y);
|
|
7392
|
-
var tmp0_elvis_lhs = tmp59_safe_receiver == null ? null : tmp59_safe_receiver.
|
|
7392
|
+
var tmp0_elvis_lhs = tmp59_safe_receiver == null ? null : tmp59_safe_receiver.a23();
|
|
7393
7393
|
var maxValue = tmp_3 / (tmp0_elvis_lhs == null ? 1 : tmp0_elvis_lhs) | 0;
|
|
7394
7394
|
while (iterator.s()) {
|
|
7395
7395
|
var destruct_0 = iterator.t();
|
|
7396
7396
|
var x_1 = destruct_0.fa();
|
|
7397
7397
|
var it_1 = destruct_0.ga();
|
|
7398
|
-
var tmp_4 = it_1.
|
|
7398
|
+
var tmp_4 = it_1.f20();
|
|
7399
7399
|
var tmp59_safe_receiver_0 = cellAt(this, x_1, y);
|
|
7400
|
-
var tmp0_elvis_lhs_0 = tmp59_safe_receiver_0 == null ? null : tmp59_safe_receiver_0.
|
|
7400
|
+
var tmp0_elvis_lhs_0 = tmp59_safe_receiver_0 == null ? null : tmp59_safe_receiver_0.a23();
|
|
7401
7401
|
var v = tmp_4 / (tmp0_elvis_lhs_0 == null ? 1 : tmp0_elvis_lhs_0) | 0;
|
|
7402
7402
|
if (compareTo(maxValue, v) < 0) {
|
|
7403
7403
|
maxValue = v;
|
|
@@ -7410,10 +7410,10 @@
|
|
|
7410
7410
|
var tmp$ret$10 = tmp0_elvis_lhs_1 == null ? 1 : tmp0_elvis_lhs_1;
|
|
7411
7411
|
destination_1.v(tmp$ret$10);
|
|
7412
7412
|
}
|
|
7413
|
-
tmp_2.
|
|
7413
|
+
tmp_2.z24_1 = destination_1;
|
|
7414
7414
|
var tmp_5 = this;
|
|
7415
|
-
var tmp_6 = sum(this.
|
|
7416
|
-
var tmp0_0 = this.
|
|
7415
|
+
var tmp_6 = sum(this.z24_1);
|
|
7416
|
+
var tmp0_0 = this.v24_1;
|
|
7417
7417
|
var tmp$ret$14;
|
|
7418
7418
|
$l$block_0: {
|
|
7419
7419
|
// Inline function 'kotlin.collections.count' call
|
|
@@ -7452,37 +7452,37 @@
|
|
|
7452
7452
|
list.v(tmp$ret$19);
|
|
7453
7453
|
}
|
|
7454
7454
|
while (inductionVariable_0 < size);
|
|
7455
|
-
tmp_5.
|
|
7455
|
+
tmp_5.a25_1 = list;
|
|
7456
7456
|
}
|
|
7457
|
-
protoOf(TableRenderer).
|
|
7457
|
+
protoOf(TableRenderer).b25 = function () {
|
|
7458
7458
|
var inductionVariable = 0;
|
|
7459
|
-
var last = this.
|
|
7459
|
+
var last = this.t24_1.d1() - 1 | 0;
|
|
7460
7460
|
if (inductionVariable <= last)
|
|
7461
7461
|
do {
|
|
7462
7462
|
var x = inductionVariable;
|
|
7463
7463
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7464
7464
|
drawLeftBorderForColumn(this, x);
|
|
7465
|
-
var colWidth = this.
|
|
7465
|
+
var colWidth = this.t24_1.c1(x);
|
|
7466
7466
|
var tableLineY = 0;
|
|
7467
|
-
var iterator = this.
|
|
7467
|
+
var iterator = this.n24_1.r();
|
|
7468
7468
|
var index = 0;
|
|
7469
7469
|
while (iterator.s()) {
|
|
7470
7470
|
var y = index;
|
|
7471
7471
|
index = index + 1 | 0;
|
|
7472
7472
|
var row = iterator.t();
|
|
7473
|
-
var rowHeight = this.
|
|
7473
|
+
var rowHeight = this.z24_1.c1(y);
|
|
7474
7474
|
var tmp0_elvis_lhs = getOrNull(row, x);
|
|
7475
7475
|
var cell = tmp0_elvis_lhs == null ? Empty_getInstance() : tmp0_elvis_lhs;
|
|
7476
|
-
tableLineY = tableLineY + drawTopBorderForCell(this, tableLineY, x, y, colWidth, cell.
|
|
7476
|
+
tableLineY = tableLineY + drawTopBorderForCell(this, tableLineY, x, y, colWidth, cell.c23()) | 0;
|
|
7477
7477
|
drawCellContent(this, tableLineY, cell, x, y);
|
|
7478
7478
|
tableLineY = tableLineY + rowHeight | 0;
|
|
7479
7479
|
}
|
|
7480
7480
|
}
|
|
7481
7481
|
while (inductionVariable <= last);
|
|
7482
|
-
drawLeftBorderForColumn(this, this.
|
|
7482
|
+
drawLeftBorderForColumn(this, this.s24_1);
|
|
7483
7483
|
drawBottomBorder(this);
|
|
7484
7484
|
// Inline function 'kotlin.collections.map' call
|
|
7485
|
-
var this_0 = this.
|
|
7485
|
+
var this_0 = this.a25_1;
|
|
7486
7486
|
// Inline function 'kotlin.collections.mapTo' call
|
|
7487
7487
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
7488
7488
|
var _iterator__ex2g4s = this_0.r();
|
|
@@ -7494,22 +7494,22 @@
|
|
|
7494
7494
|
return new Lines(destination);
|
|
7495
7495
|
};
|
|
7496
7496
|
function get_t_0(_this__u8e3s4) {
|
|
7497
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7497
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.x22_1) === true;
|
|
7498
7498
|
}
|
|
7499
7499
|
function get_b_0(_this__u8e3s4) {
|
|
7500
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7500
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.z22_1) === true;
|
|
7501
7501
|
}
|
|
7502
7502
|
function get_l_0(_this__u8e3s4) {
|
|
7503
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7503
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.w22_1) === true;
|
|
7504
7504
|
}
|
|
7505
7505
|
function get_r_0(_this__u8e3s4) {
|
|
7506
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7506
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.y22_1) === true;
|
|
7507
7507
|
}
|
|
7508
7508
|
function verticalLayout(init) {
|
|
7509
7509
|
// Inline function 'kotlin.apply' call
|
|
7510
7510
|
var this_0 = new VerticalLayoutBuilderInstance();
|
|
7511
7511
|
init(this_0);
|
|
7512
|
-
return this_0.
|
|
7512
|
+
return this_0.g25();
|
|
7513
7513
|
}
|
|
7514
7514
|
function LinearLayoutBuilder$cellsFrom$lambda(_this__u8e3s4) {
|
|
7515
7515
|
return Unit_instance;
|
|
@@ -7521,7 +7521,7 @@
|
|
|
7521
7521
|
}
|
|
7522
7522
|
function Companion_2() {
|
|
7523
7523
|
Companion_instance_2 = this;
|
|
7524
|
-
this.
|
|
7524
|
+
this.m25_1 = new ColumnWidth(2);
|
|
7525
7525
|
}
|
|
7526
7526
|
var Companion_instance_2;
|
|
7527
7527
|
function Companion_getInstance_3() {
|
|
@@ -7533,32 +7533,32 @@
|
|
|
7533
7533
|
Companion_getInstance_3();
|
|
7534
7534
|
width = width === VOID ? null : width;
|
|
7535
7535
|
expandWeight = expandWeight === VOID ? null : expandWeight;
|
|
7536
|
-
this.
|
|
7537
|
-
this.
|
|
7538
|
-
this.
|
|
7536
|
+
this.w23_1 = priority;
|
|
7537
|
+
this.x23_1 = width;
|
|
7538
|
+
this.y23_1 = expandWeight;
|
|
7539
7539
|
// Inline function 'kotlin.require' call
|
|
7540
|
-
if (!(this.
|
|
7540
|
+
if (!(this.x23_1 == null || this.x23_1 > 0)) {
|
|
7541
7541
|
var message = 'width must be greater than zero';
|
|
7542
7542
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
7543
7543
|
}
|
|
7544
7544
|
// Inline function 'kotlin.require' call
|
|
7545
|
-
if (!(this.
|
|
7545
|
+
if (!(this.y23_1 == null || this.y23_1 > 0.0)) {
|
|
7546
7546
|
var message_0 = 'expandWeight must be greater than zero';
|
|
7547
7547
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
7548
7548
|
}
|
|
7549
7549
|
// Inline function 'kotlin.require' call
|
|
7550
|
-
if (!(this.
|
|
7550
|
+
if (!(this.x23_1 == null || this.y23_1 == null)) {
|
|
7551
7551
|
var message_1 = 'Cannot set both width and expandWeight';
|
|
7552
7552
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
7553
7553
|
}
|
|
7554
7554
|
}
|
|
7555
7555
|
protoOf(ColumnWidth).toString = function () {
|
|
7556
|
-
return get_isAuto(this) ? 'Auto' : get_isExpand(this) ? 'Expand(' + this.
|
|
7556
|
+
return get_isAuto(this) ? 'Auto' : get_isExpand(this) ? 'Expand(' + this.y23_1 + ')' : get_isFixed(this) ? 'Fixed(' + this.x23_1 + ')' : 'Custom(width=' + this.x23_1 + ', expandWeight=' + this.y23_1 + ', priority=' + this.w23_1 + ')';
|
|
7557
7557
|
};
|
|
7558
7558
|
protoOf(ColumnWidth).hashCode = function () {
|
|
7559
|
-
var result = this.
|
|
7560
|
-
result = imul(result, 31) + (this.
|
|
7561
|
-
result = imul(result, 31) + (this.
|
|
7559
|
+
var result = this.w23_1;
|
|
7560
|
+
result = imul(result, 31) + (this.x23_1 == null ? 0 : this.x23_1) | 0;
|
|
7561
|
+
result = imul(result, 31) + (this.y23_1 == null ? 0 : getNumberHashCode(this.y23_1)) | 0;
|
|
7562
7562
|
return result;
|
|
7563
7563
|
};
|
|
7564
7564
|
protoOf(ColumnWidth).equals = function (other) {
|
|
@@ -7567,146 +7567,146 @@
|
|
|
7567
7567
|
if (!(other instanceof ColumnWidth))
|
|
7568
7568
|
return false;
|
|
7569
7569
|
var tmp0_other_with_cast = other instanceof ColumnWidth ? other : THROW_CCE();
|
|
7570
|
-
if (!(this.
|
|
7570
|
+
if (!(this.w23_1 === tmp0_other_with_cast.w23_1))
|
|
7571
7571
|
return false;
|
|
7572
|
-
if (!(this.
|
|
7572
|
+
if (!(this.x23_1 == tmp0_other_with_cast.x23_1))
|
|
7573
7573
|
return false;
|
|
7574
|
-
if (!equals(this.
|
|
7574
|
+
if (!equals(this.y23_1, tmp0_other_with_cast.y23_1))
|
|
7575
7575
|
return false;
|
|
7576
7576
|
return true;
|
|
7577
7577
|
};
|
|
7578
7578
|
function get_isAuto(_this__u8e3s4) {
|
|
7579
|
-
return _this__u8e3s4.
|
|
7579
|
+
return _this__u8e3s4.x23_1 == null && _this__u8e3s4.y23_1 == null;
|
|
7580
7580
|
}
|
|
7581
7581
|
function get_isExpand(_this__u8e3s4) {
|
|
7582
|
-
return !(_this__u8e3s4.
|
|
7582
|
+
return !(_this__u8e3s4.y23_1 == null);
|
|
7583
7583
|
}
|
|
7584
7584
|
function get_isFixed(_this__u8e3s4) {
|
|
7585
|
-
return !(_this__u8e3s4.
|
|
7585
|
+
return !(_this__u8e3s4.x23_1 == null);
|
|
7586
7586
|
}
|
|
7587
7587
|
function CellStyleBuilder() {
|
|
7588
7588
|
}
|
|
7589
7589
|
function VerticalLayoutBuilderInstance(tableBuilder) {
|
|
7590
7590
|
tableBuilder = tableBuilder === VOID ? new TableBuilderInstance() : tableBuilder;
|
|
7591
|
-
this.
|
|
7592
|
-
this.
|
|
7593
|
-
this.
|
|
7594
|
-
this.
|
|
7591
|
+
this.c25_1 = tableBuilder;
|
|
7592
|
+
this.d25_1 = this.c25_1.d26_1;
|
|
7593
|
+
this.e25_1 = Companion_getInstance_3().m25_1;
|
|
7594
|
+
this.f25_1 = 0;
|
|
7595
7595
|
}
|
|
7596
|
-
protoOf(VerticalLayoutBuilderInstance).q25 = function () {
|
|
7597
|
-
return this.a25_1.q25();
|
|
7598
|
-
};
|
|
7599
|
-
protoOf(VerticalLayoutBuilderInstance).r25 = function () {
|
|
7600
|
-
return this.a25_1.r25();
|
|
7601
|
-
};
|
|
7602
7596
|
protoOf(VerticalLayoutBuilderInstance).s25 = function () {
|
|
7603
|
-
return this.
|
|
7597
|
+
return this.c25_1.s25();
|
|
7604
7598
|
};
|
|
7605
7599
|
protoOf(VerticalLayoutBuilderInstance).t25 = function () {
|
|
7606
|
-
return this.
|
|
7600
|
+
return this.c25_1.t25();
|
|
7601
|
+
};
|
|
7602
|
+
protoOf(VerticalLayoutBuilderInstance).u25 = function () {
|
|
7603
|
+
return this.c25_1.u25();
|
|
7604
|
+
};
|
|
7605
|
+
protoOf(VerticalLayoutBuilderInstance).v25 = function () {
|
|
7606
|
+
return this.c25_1.v25();
|
|
7607
7607
|
};
|
|
7608
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7609
|
-
this.
|
|
7608
|
+
protoOf(VerticalLayoutBuilderInstance).l25 = function (_set____db54di) {
|
|
7609
|
+
this.f25_1 = _set____db54di;
|
|
7610
7610
|
};
|
|
7611
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7611
|
+
protoOf(VerticalLayoutBuilderInstance).h25 = function (cells, init) {
|
|
7612
7612
|
// Inline function 'kotlin.collections.forEach' call
|
|
7613
7613
|
var _iterator__ex2g4s = cells.r();
|
|
7614
7614
|
while (_iterator__ex2g4s.s()) {
|
|
7615
7615
|
var element = _iterator__ex2g4s.t();
|
|
7616
|
-
this.
|
|
7616
|
+
this.d25_1.l26([element], init);
|
|
7617
7617
|
}
|
|
7618
7618
|
};
|
|
7619
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7620
|
-
this.
|
|
7619
|
+
protoOf(VerticalLayoutBuilderInstance).j25 = function (content, init) {
|
|
7620
|
+
this.d25_1.l26([content], init);
|
|
7621
7621
|
};
|
|
7622
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7623
|
-
return Companion_instance_3.
|
|
7622
|
+
protoOf(VerticalLayoutBuilderInstance).g25 = function () {
|
|
7623
|
+
return Companion_instance_3.m26(this.c25_1, this.f25_1, this.e25_1);
|
|
7624
7624
|
};
|
|
7625
7625
|
function TableBuilderInstance() {
|
|
7626
|
-
this.
|
|
7627
|
-
this.
|
|
7628
|
-
this.
|
|
7629
|
-
this.
|
|
7630
|
-
this.
|
|
7626
|
+
this.w25_1 = new CellStyleBuilderMixin();
|
|
7627
|
+
this.x25_1 = Companion_getInstance_0().y1y_1;
|
|
7628
|
+
this.y25_1 = get_DEFAULT_STYLE();
|
|
7629
|
+
this.z25_1 = null;
|
|
7630
|
+
this.a26_1 = true;
|
|
7631
7631
|
var tmp = this;
|
|
7632
7632
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7633
|
-
tmp.
|
|
7634
|
-
this.a26_1 = new SectionBuilderInstance();
|
|
7635
|
-
this.b26_1 = new SectionBuilderInstance();
|
|
7633
|
+
tmp.b26_1 = LinkedHashMap_init_$Create$();
|
|
7636
7634
|
this.c26_1 = new SectionBuilderInstance();
|
|
7637
|
-
this.d26_1 =
|
|
7638
|
-
this.e26_1 =
|
|
7635
|
+
this.d26_1 = new SectionBuilderInstance();
|
|
7636
|
+
this.e26_1 = new SectionBuilderInstance();
|
|
7637
|
+
this.f26_1 = null;
|
|
7638
|
+
this.g26_1 = null;
|
|
7639
7639
|
}
|
|
7640
|
-
protoOf(TableBuilderInstance).
|
|
7641
|
-
this.
|
|
7640
|
+
protoOf(TableBuilderInstance).r25 = function (all) {
|
|
7641
|
+
this.w25_1.r25(all);
|
|
7642
7642
|
};
|
|
7643
|
-
protoOf(TableBuilderInstance).
|
|
7644
|
-
this.
|
|
7643
|
+
protoOf(TableBuilderInstance).n26 = function (_set____db54di) {
|
|
7644
|
+
this.w25_1.q26_1 = _set____db54di;
|
|
7645
7645
|
};
|
|
7646
|
-
protoOf(TableBuilderInstance).
|
|
7647
|
-
return this.
|
|
7648
|
-
};
|
|
7649
|
-
protoOf(TableBuilderInstance).m25 = function () {
|
|
7650
|
-
return this.u25_1.r26_1;
|
|
7651
|
-
};
|
|
7652
|
-
protoOf(TableBuilderInstance).n25 = function (_set____db54di) {
|
|
7653
|
-
this.u25_1.m26_1 = _set____db54di;
|
|
7646
|
+
protoOf(TableBuilderInstance).n25 = function () {
|
|
7647
|
+
return this.w25_1.q26_1;
|
|
7654
7648
|
};
|
|
7655
7649
|
protoOf(TableBuilderInstance).o25 = function () {
|
|
7656
|
-
return this.
|
|
7650
|
+
return this.w25_1.t26_1;
|
|
7657
7651
|
};
|
|
7658
|
-
protoOf(TableBuilderInstance).
|
|
7659
|
-
|
|
7652
|
+
protoOf(TableBuilderInstance).p25 = function (_set____db54di) {
|
|
7653
|
+
this.w25_1.o26_1 = _set____db54di;
|
|
7660
7654
|
};
|
|
7661
|
-
protoOf(TableBuilderInstance).
|
|
7662
|
-
return this.
|
|
7655
|
+
protoOf(TableBuilderInstance).q25 = function () {
|
|
7656
|
+
return this.w25_1.o26_1;
|
|
7663
7657
|
};
|
|
7664
7658
|
protoOf(TableBuilderInstance).s25 = function () {
|
|
7665
|
-
return this.
|
|
7659
|
+
return this.w25_1.p26_1;
|
|
7666
7660
|
};
|
|
7667
7661
|
protoOf(TableBuilderInstance).t25 = function () {
|
|
7668
|
-
return this.
|
|
7662
|
+
return this.w25_1.r26_1;
|
|
7663
|
+
};
|
|
7664
|
+
protoOf(TableBuilderInstance).u25 = function () {
|
|
7665
|
+
return this.w25_1.s26_1;
|
|
7666
|
+
};
|
|
7667
|
+
protoOf(TableBuilderInstance).v25 = function () {
|
|
7668
|
+
return this.w25_1.u26_1;
|
|
7669
7669
|
};
|
|
7670
7670
|
function SectionBuilderInstance() {
|
|
7671
|
-
this.
|
|
7671
|
+
this.h26_1 = new CellStyleBuilderMixin();
|
|
7672
7672
|
var tmp = this;
|
|
7673
7673
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7674
|
-
tmp.
|
|
7674
|
+
tmp.i26_1 = ArrayList_init_$Create$();
|
|
7675
7675
|
var tmp_0 = this;
|
|
7676
7676
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7677
|
-
tmp_0.
|
|
7677
|
+
tmp_0.j26_1 = LinkedHashMap_init_$Create$();
|
|
7678
7678
|
var tmp_1 = this;
|
|
7679
7679
|
// Inline function 'kotlin.collections.listOf' call
|
|
7680
|
-
tmp_1.
|
|
7680
|
+
tmp_1.k26_1 = emptyList();
|
|
7681
7681
|
}
|
|
7682
|
-
protoOf(SectionBuilderInstance).
|
|
7683
|
-
this.
|
|
7684
|
-
};
|
|
7685
|
-
protoOf(SectionBuilderInstance).l25 = function () {
|
|
7686
|
-
return this.f26_1.o26_1;
|
|
7682
|
+
protoOf(SectionBuilderInstance).r25 = function (all) {
|
|
7683
|
+
this.h26_1.r25(all);
|
|
7687
7684
|
};
|
|
7688
|
-
protoOf(SectionBuilderInstance).
|
|
7689
|
-
return this.
|
|
7690
|
-
};
|
|
7691
|
-
protoOf(SectionBuilderInstance).n25 = function (_set____db54di) {
|
|
7692
|
-
this.f26_1.m26_1 = _set____db54di;
|
|
7685
|
+
protoOf(SectionBuilderInstance).n25 = function () {
|
|
7686
|
+
return this.h26_1.q26_1;
|
|
7693
7687
|
};
|
|
7694
7688
|
protoOf(SectionBuilderInstance).o25 = function () {
|
|
7695
|
-
return this.
|
|
7689
|
+
return this.h26_1.t26_1;
|
|
7696
7690
|
};
|
|
7697
|
-
protoOf(SectionBuilderInstance).
|
|
7698
|
-
|
|
7691
|
+
protoOf(SectionBuilderInstance).p25 = function (_set____db54di) {
|
|
7692
|
+
this.h26_1.o26_1 = _set____db54di;
|
|
7699
7693
|
};
|
|
7700
|
-
protoOf(SectionBuilderInstance).
|
|
7701
|
-
return this.
|
|
7694
|
+
protoOf(SectionBuilderInstance).q25 = function () {
|
|
7695
|
+
return this.h26_1.o26_1;
|
|
7702
7696
|
};
|
|
7703
7697
|
protoOf(SectionBuilderInstance).s25 = function () {
|
|
7704
|
-
return this.
|
|
7698
|
+
return this.h26_1.p26_1;
|
|
7705
7699
|
};
|
|
7706
7700
|
protoOf(SectionBuilderInstance).t25 = function () {
|
|
7707
|
-
return this.
|
|
7701
|
+
return this.h26_1.r26_1;
|
|
7702
|
+
};
|
|
7703
|
+
protoOf(SectionBuilderInstance).u25 = function () {
|
|
7704
|
+
return this.h26_1.s26_1;
|
|
7708
7705
|
};
|
|
7709
|
-
protoOf(SectionBuilderInstance).
|
|
7706
|
+
protoOf(SectionBuilderInstance).v25 = function () {
|
|
7707
|
+
return this.h26_1.u26_1;
|
|
7708
|
+
};
|
|
7709
|
+
protoOf(SectionBuilderInstance).v26 = function (cells, init) {
|
|
7710
7710
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7711
7711
|
// Inline function 'kotlin.collections.mapTo' call
|
|
7712
7712
|
var destination = ArrayList_init_$Create$();
|
|
@@ -7717,122 +7717,122 @@
|
|
|
7717
7717
|
destination.v(tmp$ret$2);
|
|
7718
7718
|
}
|
|
7719
7719
|
var cellBuilders = destination;
|
|
7720
|
-
var tmp0 = this.
|
|
7720
|
+
var tmp0 = this.i26_1;
|
|
7721
7721
|
// Inline function 'kotlin.apply' call
|
|
7722
7722
|
var this_0 = new RowBuilderInstance(cellBuilders);
|
|
7723
7723
|
init(this_0);
|
|
7724
7724
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7725
7725
|
tmp0.v(this_0);
|
|
7726
7726
|
};
|
|
7727
|
-
protoOf(SectionBuilderInstance).
|
|
7728
|
-
this.
|
|
7727
|
+
protoOf(SectionBuilderInstance).l26 = function (cells, init) {
|
|
7728
|
+
this.v26(asList(cells), init);
|
|
7729
7729
|
};
|
|
7730
7730
|
function CellStyleBuilderMixin() {
|
|
7731
|
-
this.m26_1 = null;
|
|
7732
|
-
this.n26_1 = null;
|
|
7733
7731
|
this.o26_1 = null;
|
|
7734
7732
|
this.p26_1 = null;
|
|
7735
7733
|
this.q26_1 = null;
|
|
7736
7734
|
this.r26_1 = null;
|
|
7737
7735
|
this.s26_1 = null;
|
|
7736
|
+
this.t26_1 = null;
|
|
7737
|
+
this.u26_1 = null;
|
|
7738
7738
|
}
|
|
7739
|
-
protoOf(CellStyleBuilderMixin).
|
|
7740
|
-
this.
|
|
7741
|
-
};
|
|
7742
|
-
protoOf(CellStyleBuilderMixin).o25 = function () {
|
|
7743
|
-
return this.m26_1;
|
|
7739
|
+
protoOf(CellStyleBuilderMixin).p25 = function (_set____db54di) {
|
|
7740
|
+
this.o26_1 = _set____db54di;
|
|
7744
7741
|
};
|
|
7745
7742
|
protoOf(CellStyleBuilderMixin).q25 = function () {
|
|
7746
|
-
return this.n26_1;
|
|
7747
|
-
};
|
|
7748
|
-
protoOf(CellStyleBuilderMixin).l25 = function () {
|
|
7749
7743
|
return this.o26_1;
|
|
7750
7744
|
};
|
|
7751
|
-
protoOf(CellStyleBuilderMixin).
|
|
7745
|
+
protoOf(CellStyleBuilderMixin).s25 = function () {
|
|
7752
7746
|
return this.p26_1;
|
|
7753
7747
|
};
|
|
7754
|
-
protoOf(CellStyleBuilderMixin).
|
|
7748
|
+
protoOf(CellStyleBuilderMixin).n25 = function () {
|
|
7755
7749
|
return this.q26_1;
|
|
7756
7750
|
};
|
|
7757
|
-
protoOf(CellStyleBuilderMixin).
|
|
7751
|
+
protoOf(CellStyleBuilderMixin).t25 = function () {
|
|
7758
7752
|
return this.r26_1;
|
|
7759
7753
|
};
|
|
7760
|
-
protoOf(CellStyleBuilderMixin).
|
|
7754
|
+
protoOf(CellStyleBuilderMixin).u25 = function () {
|
|
7761
7755
|
return this.s26_1;
|
|
7762
7756
|
};
|
|
7763
|
-
function
|
|
7764
|
-
this.
|
|
7765
|
-
this.v26_1 = cells;
|
|
7766
|
-
}
|
|
7767
|
-
protoOf(RowBuilderInstance).p25 = function (all) {
|
|
7768
|
-
this.u26_1.p25(all);
|
|
7757
|
+
protoOf(CellStyleBuilderMixin).o25 = function () {
|
|
7758
|
+
return this.t26_1;
|
|
7769
7759
|
};
|
|
7770
|
-
protoOf(
|
|
7771
|
-
return this.u26_1
|
|
7760
|
+
protoOf(CellStyleBuilderMixin).v25 = function () {
|
|
7761
|
+
return this.u26_1;
|
|
7772
7762
|
};
|
|
7773
|
-
|
|
7774
|
-
|
|
7763
|
+
function RowBuilderInstance(cells) {
|
|
7764
|
+
this.w26_1 = new CellStyleBuilderMixin();
|
|
7765
|
+
this.x26_1 = cells;
|
|
7766
|
+
}
|
|
7767
|
+
protoOf(RowBuilderInstance).r25 = function (all) {
|
|
7768
|
+
this.w26_1.r25(all);
|
|
7775
7769
|
};
|
|
7776
|
-
protoOf(RowBuilderInstance).n25 = function (
|
|
7777
|
-
this.
|
|
7770
|
+
protoOf(RowBuilderInstance).n25 = function () {
|
|
7771
|
+
return this.w26_1.q26_1;
|
|
7778
7772
|
};
|
|
7779
7773
|
protoOf(RowBuilderInstance).o25 = function () {
|
|
7780
|
-
return this.
|
|
7774
|
+
return this.w26_1.t26_1;
|
|
7781
7775
|
};
|
|
7782
|
-
protoOf(RowBuilderInstance).
|
|
7783
|
-
|
|
7776
|
+
protoOf(RowBuilderInstance).p25 = function (_set____db54di) {
|
|
7777
|
+
this.w26_1.o26_1 = _set____db54di;
|
|
7784
7778
|
};
|
|
7785
|
-
protoOf(RowBuilderInstance).
|
|
7786
|
-
return this.
|
|
7779
|
+
protoOf(RowBuilderInstance).q25 = function () {
|
|
7780
|
+
return this.w26_1.o26_1;
|
|
7787
7781
|
};
|
|
7788
7782
|
protoOf(RowBuilderInstance).s25 = function () {
|
|
7789
|
-
return this.
|
|
7783
|
+
return this.w26_1.p26_1;
|
|
7790
7784
|
};
|
|
7791
7785
|
protoOf(RowBuilderInstance).t25 = function () {
|
|
7792
|
-
return this.
|
|
7786
|
+
return this.w26_1.r26_1;
|
|
7793
7787
|
};
|
|
7794
|
-
function
|
|
7795
|
-
this.w26_1
|
|
7796
|
-
this.x26_1 = content;
|
|
7797
|
-
this.y26_1 = 1;
|
|
7798
|
-
this.z26_1 = 1;
|
|
7799
|
-
}
|
|
7800
|
-
protoOf(CellBuilderInstance).p25 = function (all) {
|
|
7801
|
-
this.w26_1.p25(all);
|
|
7788
|
+
protoOf(RowBuilderInstance).u25 = function () {
|
|
7789
|
+
return this.w26_1.s26_1;
|
|
7802
7790
|
};
|
|
7803
|
-
protoOf(
|
|
7804
|
-
return this.w26_1.
|
|
7791
|
+
protoOf(RowBuilderInstance).v25 = function () {
|
|
7792
|
+
return this.w26_1.u26_1;
|
|
7805
7793
|
};
|
|
7806
|
-
|
|
7807
|
-
|
|
7794
|
+
function CellBuilderInstance(content) {
|
|
7795
|
+
this.y26_1 = new CellStyleBuilderMixin();
|
|
7796
|
+
this.z26_1 = content;
|
|
7797
|
+
this.a27_1 = 1;
|
|
7798
|
+
this.b27_1 = 1;
|
|
7799
|
+
}
|
|
7800
|
+
protoOf(CellBuilderInstance).r25 = function (all) {
|
|
7801
|
+
this.y26_1.r25(all);
|
|
7808
7802
|
};
|
|
7809
|
-
protoOf(CellBuilderInstance).n25 = function (
|
|
7810
|
-
this.
|
|
7803
|
+
protoOf(CellBuilderInstance).n25 = function () {
|
|
7804
|
+
return this.y26_1.q26_1;
|
|
7811
7805
|
};
|
|
7812
7806
|
protoOf(CellBuilderInstance).o25 = function () {
|
|
7813
|
-
return this.
|
|
7807
|
+
return this.y26_1.t26_1;
|
|
7814
7808
|
};
|
|
7815
|
-
protoOf(CellBuilderInstance).
|
|
7816
|
-
|
|
7809
|
+
protoOf(CellBuilderInstance).p25 = function (_set____db54di) {
|
|
7810
|
+
this.y26_1.o26_1 = _set____db54di;
|
|
7817
7811
|
};
|
|
7818
|
-
protoOf(CellBuilderInstance).
|
|
7819
|
-
return this.
|
|
7812
|
+
protoOf(CellBuilderInstance).q25 = function () {
|
|
7813
|
+
return this.y26_1.o26_1;
|
|
7820
7814
|
};
|
|
7821
7815
|
protoOf(CellBuilderInstance).s25 = function () {
|
|
7822
|
-
return this.
|
|
7816
|
+
return this.y26_1.p26_1;
|
|
7823
7817
|
};
|
|
7824
7818
|
protoOf(CellBuilderInstance).t25 = function () {
|
|
7825
|
-
return this.
|
|
7819
|
+
return this.y26_1.r26_1;
|
|
7820
|
+
};
|
|
7821
|
+
protoOf(CellBuilderInstance).u25 = function () {
|
|
7822
|
+
return this.y26_1.s26_1;
|
|
7823
|
+
};
|
|
7824
|
+
protoOf(CellBuilderInstance).v25 = function () {
|
|
7825
|
+
return this.y26_1.u26_1;
|
|
7826
7826
|
};
|
|
7827
7827
|
function WidgetContent(widget) {
|
|
7828
7828
|
CellContent.call(this);
|
|
7829
|
-
this.
|
|
7829
|
+
this.c27_1 = widget;
|
|
7830
7830
|
}
|
|
7831
7831
|
protoOf(WidgetContent).toString = function () {
|
|
7832
|
-
return 'WidgetContent(widget=' + toString(this.
|
|
7832
|
+
return 'WidgetContent(widget=' + toString(this.c27_1) + ')';
|
|
7833
7833
|
};
|
|
7834
7834
|
protoOf(WidgetContent).hashCode = function () {
|
|
7835
|
-
return hashCode(this.
|
|
7835
|
+
return hashCode(this.c27_1);
|
|
7836
7836
|
};
|
|
7837
7837
|
protoOf(WidgetContent).equals = function (other) {
|
|
7838
7838
|
if (this === other)
|
|
@@ -7840,19 +7840,19 @@
|
|
|
7840
7840
|
if (!(other instanceof WidgetContent))
|
|
7841
7841
|
return false;
|
|
7842
7842
|
var tmp0_other_with_cast = other instanceof WidgetContent ? other : THROW_CCE();
|
|
7843
|
-
if (!equals(this.
|
|
7843
|
+
if (!equals(this.c27_1, tmp0_other_with_cast.c27_1))
|
|
7844
7844
|
return false;
|
|
7845
7845
|
return true;
|
|
7846
7846
|
};
|
|
7847
7847
|
function TextContent(text) {
|
|
7848
7848
|
CellContent.call(this);
|
|
7849
|
-
this.
|
|
7849
|
+
this.d27_1 = text;
|
|
7850
7850
|
}
|
|
7851
7851
|
protoOf(TextContent).toString = function () {
|
|
7852
|
-
return 'TextContent(text=' + this.
|
|
7852
|
+
return 'TextContent(text=' + this.d27_1 + ')';
|
|
7853
7853
|
};
|
|
7854
7854
|
protoOf(TextContent).hashCode = function () {
|
|
7855
|
-
return getStringHashCode(this.
|
|
7855
|
+
return getStringHashCode(this.d27_1);
|
|
7856
7856
|
};
|
|
7857
7857
|
protoOf(TextContent).equals = function (other) {
|
|
7858
7858
|
if (this === other)
|
|
@@ -7860,7 +7860,7 @@
|
|
|
7860
7860
|
if (!(other instanceof TextContent))
|
|
7861
7861
|
return false;
|
|
7862
7862
|
var tmp0_other_with_cast = other instanceof TextContent ? other : THROW_CCE();
|
|
7863
|
-
if (!(this.
|
|
7863
|
+
if (!(this.d27_1 === tmp0_other_with_cast.d27_1))
|
|
7864
7864
|
return false;
|
|
7865
7865
|
return true;
|
|
7866
7866
|
};
|
|
@@ -7873,7 +7873,7 @@
|
|
|
7873
7873
|
}
|
|
7874
7874
|
function buildSection($this, section, builderWidth) {
|
|
7875
7875
|
// Inline function 'kotlin.collections.MutableList' call
|
|
7876
|
-
var size = section.
|
|
7876
|
+
var size = section.i26_1.d1();
|
|
7877
7877
|
var list = ArrayList_init_$Create$_0(size);
|
|
7878
7878
|
// Inline function 'kotlin.repeat' call
|
|
7879
7879
|
var inductionVariable = 0;
|
|
@@ -7881,19 +7881,19 @@
|
|
|
7881
7881
|
do {
|
|
7882
7882
|
var index = inductionVariable;
|
|
7883
7883
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7884
|
-
var tmp$ret$3 = ArrayList_init_$Create$_0(section.
|
|
7884
|
+
var tmp$ret$3 = ArrayList_init_$Create$_0(section.i26_1.d1());
|
|
7885
7885
|
list.v(tmp$ret$3);
|
|
7886
7886
|
}
|
|
7887
7887
|
while (inductionVariable < size);
|
|
7888
7888
|
var rows = list;
|
|
7889
|
-
var iterator = section.
|
|
7889
|
+
var iterator = section.i26_1.r();
|
|
7890
7890
|
var index_0 = 0;
|
|
7891
7891
|
while (iterator.s()) {
|
|
7892
7892
|
var y = index_0;
|
|
7893
7893
|
index_0 = index_0 + 1 | 0;
|
|
7894
7894
|
var row = iterator.t();
|
|
7895
7895
|
var x = 0;
|
|
7896
|
-
var _iterator__ex2g4s = row.
|
|
7896
|
+
var _iterator__ex2g4s = row.x26_1.r();
|
|
7897
7897
|
while (_iterator__ex2g4s.s()) {
|
|
7898
7898
|
var cellBuilder = _iterator__ex2g4s.t();
|
|
7899
7899
|
x = findEmptyColumn(rows, x, y);
|
|
@@ -7904,10 +7904,10 @@
|
|
|
7904
7904
|
return rows;
|
|
7905
7905
|
}
|
|
7906
7906
|
function insertCell($this, cell, section, rows, startingX, startingY, builderWidth) {
|
|
7907
|
-
var tableCol = $this.
|
|
7908
|
-
var sectionCol = section.
|
|
7909
|
-
var row = section.
|
|
7910
|
-
var tmp0 = until(startingY, startingY + cell.
|
|
7907
|
+
var tableCol = $this.e27_1.b26_1.m2(startingX);
|
|
7908
|
+
var sectionCol = section.j26_1.m2(startingX);
|
|
7909
|
+
var row = section.i26_1.c1(startingY);
|
|
7910
|
+
var tmp0 = until(startingY, startingY + cell.b27_1 | 0);
|
|
7911
7911
|
var tmp$ret$0;
|
|
7912
7912
|
$l$block: {
|
|
7913
7913
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -7917,14 +7917,14 @@
|
|
|
7917
7917
|
break $l$block;
|
|
7918
7918
|
}
|
|
7919
7919
|
var it = iterator.t();
|
|
7920
|
-
var tmp89_safe_receiver = getOrNull(section.
|
|
7921
|
-
var tmp90_safe_receiver = tmp89_safe_receiver == null ? null : tmp89_safe_receiver.
|
|
7920
|
+
var tmp89_safe_receiver = getOrNull(section.i26_1, it);
|
|
7921
|
+
var tmp90_safe_receiver = tmp89_safe_receiver == null ? null : tmp89_safe_receiver.x26_1;
|
|
7922
7922
|
var tmp0_elvis_lhs = tmp90_safe_receiver == null ? null : tmp90_safe_receiver.d1();
|
|
7923
7923
|
var maxValue = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
7924
7924
|
while (iterator.s()) {
|
|
7925
7925
|
var it_0 = iterator.t();
|
|
7926
|
-
var tmp89_safe_receiver_0 = getOrNull(section.
|
|
7927
|
-
var tmp90_safe_receiver_0 = tmp89_safe_receiver_0 == null ? null : tmp89_safe_receiver_0.
|
|
7926
|
+
var tmp89_safe_receiver_0 = getOrNull(section.i26_1, it_0);
|
|
7927
|
+
var tmp90_safe_receiver_0 = tmp89_safe_receiver_0 == null ? null : tmp89_safe_receiver_0.x26_1;
|
|
7928
7928
|
var tmp0_elvis_lhs_0 = tmp90_safe_receiver_0 == null ? null : tmp90_safe_receiver_0.d1();
|
|
7929
7929
|
var v = tmp0_elvis_lhs_0 == null ? 0 : tmp0_elvis_lhs_0;
|
|
7930
7930
|
if (compareTo(maxValue, v) < 0) {
|
|
@@ -7935,16 +7935,16 @@
|
|
|
7935
7935
|
}
|
|
7936
7936
|
var tmp0_elvis_lhs_1 = tmp$ret$0;
|
|
7937
7937
|
var maxRowSize = tmp0_elvis_lhs_1 == null ? 0 : tmp0_elvis_lhs_1;
|
|
7938
|
-
var columnSpan = coerceAtMost(cell.
|
|
7939
|
-
var rowSpan = coerceAtMost(cell.
|
|
7938
|
+
var columnSpan = coerceAtMost(cell.a27_1, (builderWidth - maxRowSize | 0) + 1 | 0);
|
|
7939
|
+
var rowSpan = coerceAtMost(cell.b27_1, rows.d1() - startingY | 0);
|
|
7940
7940
|
var tmp = Borders_ALL_getInstance();
|
|
7941
7941
|
var borders = insertCell$getStyle(cell, row, sectionCol, tableCol, section, $this, tmp, TableLayout$insertCell$lambda);
|
|
7942
7942
|
// Inline function 'com.github.ajalt.mordant.widgets.Companion.invoke' call
|
|
7943
7943
|
// Inline function 'kotlin.apply' call
|
|
7944
7944
|
var this_0 = new Builder(0, 0, 0, 0);
|
|
7945
|
-
this_0.
|
|
7945
|
+
this_0.j27(1);
|
|
7946
7946
|
var b = this_0;
|
|
7947
|
-
var tmp_0 = new Padding(b.
|
|
7947
|
+
var tmp_0 = new Padding(b.f27_1, b.g27_1, b.h27_1, b.i27_1);
|
|
7948
7948
|
var padding = insertCell$getStyle(cell, row, sectionCol, tableCol, section, $this, tmp_0, TableLayout$insertCell$lambda_0);
|
|
7949
7949
|
var tmp_1 = Whitespace_PRE_getInstance();
|
|
7950
7950
|
var whitespace = insertCell$getStyle(cell, row, sectionCol, tableCol, section, $this, tmp_1, TableLayout$insertCell$lambda_1);
|
|
@@ -7956,30 +7956,30 @@
|
|
|
7956
7956
|
var overflowWrap = insertCell$getStyle(cell, row, sectionCol, tableCol, section, $this, tmp_4, TableLayout$insertCell$lambda_4);
|
|
7957
7957
|
var tmp_5;
|
|
7958
7958
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
7959
|
-
if (!section.
|
|
7960
|
-
tmp_5 = section.
|
|
7959
|
+
if (!section.k26_1.p()) {
|
|
7960
|
+
tmp_5 = section.k26_1.c1(startingY % section.k26_1.d1() | 0);
|
|
7961
7961
|
} else {
|
|
7962
7962
|
tmp_5 = null;
|
|
7963
7963
|
}
|
|
7964
7964
|
var stripedStyle = tmp_5;
|
|
7965
|
-
var tmp_6 = cell.
|
|
7966
|
-
var tmp_7 = row.
|
|
7967
|
-
var tmp_8 = sectionCol == null ? null : sectionCol.
|
|
7968
|
-
var style = foldStyles([tmp_6, tmp_7, stripedStyle, tmp_8, tableCol == null ? null : tableCol.
|
|
7969
|
-
var tmp95_subject = cell.
|
|
7965
|
+
var tmp_6 = cell.s25();
|
|
7966
|
+
var tmp_7 = row.s25();
|
|
7967
|
+
var tmp_8 = sectionCol == null ? null : sectionCol.s25();
|
|
7968
|
+
var style = foldStyles([tmp_6, tmp_7, stripedStyle, tmp_8, tableCol == null ? null : tableCol.s25(), section.s25(), $this.e27_1.s25()]);
|
|
7969
|
+
var tmp95_subject = cell.z26_1;
|
|
7970
7970
|
var tmp_9;
|
|
7971
7971
|
if (tmp95_subject instanceof WidgetContent) {
|
|
7972
|
-
tmp_9 = cell.
|
|
7972
|
+
tmp_9 = cell.z26_1.c27_1;
|
|
7973
7973
|
} else {
|
|
7974
7974
|
if (tmp95_subject instanceof TextContent) {
|
|
7975
|
-
tmp_9 = Text_init_$Create$(cell.
|
|
7975
|
+
tmp_9 = Text_init_$Create$(cell.z26_1.d27_1, whitespace, textAlign, overflowWrap);
|
|
7976
7976
|
} else {
|
|
7977
7977
|
noWhenBranchMatchedException();
|
|
7978
7978
|
}
|
|
7979
7979
|
}
|
|
7980
7980
|
var content = withPadding_0(tmp_9, padding);
|
|
7981
7981
|
// Inline function 'kotlin.takeIf' call
|
|
7982
|
-
var this_1 = borders.
|
|
7982
|
+
var this_1 = borders.y22_1;
|
|
7983
7983
|
var tmp_10;
|
|
7984
7984
|
if (columnSpan === 1) {
|
|
7985
7985
|
tmp_10 = this_1;
|
|
@@ -7988,7 +7988,7 @@
|
|
|
7988
7988
|
}
|
|
7989
7989
|
var tmp_11 = tmp_10;
|
|
7990
7990
|
// Inline function 'kotlin.takeIf' call
|
|
7991
|
-
var this_2 = borders.
|
|
7991
|
+
var this_2 = borders.z22_1;
|
|
7992
7992
|
var tmp_12;
|
|
7993
7993
|
if (rowSpan === 1) {
|
|
7994
7994
|
tmp_12 = this_2;
|
|
@@ -7996,7 +7996,7 @@
|
|
|
7996
7996
|
tmp_12 = null;
|
|
7997
7997
|
}
|
|
7998
7998
|
var tmp$ret$9 = tmp_12;
|
|
7999
|
-
var builtCell = new Content(content, rowSpan, columnSpan, borders.
|
|
7999
|
+
var builtCell = new Content(content, rowSpan, columnSpan, borders.w22_1, borders.x22_1, tmp_11, tmp$ret$9, style, textAlign, verticalAlign, padding.n27_1 + padding.l27_1 | 0);
|
|
8000
8000
|
var lastX = (startingX + columnSpan | 0) - 1 | 0;
|
|
8001
8001
|
var inductionVariable = startingX;
|
|
8002
8002
|
if (inductionVariable <= lastX)
|
|
@@ -8014,7 +8014,7 @@
|
|
|
8014
8014
|
tmp_13 = builtCell;
|
|
8015
8015
|
} else {
|
|
8016
8016
|
// Inline function 'kotlin.takeIf' call
|
|
8017
|
-
var this_3 = borders.
|
|
8017
|
+
var this_3 = borders.w22_1;
|
|
8018
8018
|
var tmp_14;
|
|
8019
8019
|
if (x === startingX) {
|
|
8020
8020
|
tmp_14 = this_3;
|
|
@@ -8023,7 +8023,7 @@
|
|
|
8023
8023
|
}
|
|
8024
8024
|
var tmp_15 = tmp_14;
|
|
8025
8025
|
// Inline function 'kotlin.takeIf' call
|
|
8026
|
-
var this_4 = borders.
|
|
8026
|
+
var this_4 = borders.x22_1;
|
|
8027
8027
|
var tmp_16;
|
|
8028
8028
|
if (y === startingY) {
|
|
8029
8029
|
tmp_16 = this_4;
|
|
@@ -8032,7 +8032,7 @@
|
|
|
8032
8032
|
}
|
|
8033
8033
|
var tmp_17 = tmp_16;
|
|
8034
8034
|
// Inline function 'kotlin.takeIf' call
|
|
8035
|
-
var this_5 = borders.
|
|
8035
|
+
var this_5 = borders.y22_1;
|
|
8036
8036
|
var tmp_18;
|
|
8037
8037
|
if (x === lastX) {
|
|
8038
8038
|
tmp_18 = this_5;
|
|
@@ -8041,7 +8041,7 @@
|
|
|
8041
8041
|
}
|
|
8042
8042
|
var tmp_19 = tmp_18;
|
|
8043
8043
|
// Inline function 'kotlin.takeIf' call
|
|
8044
|
-
var this_6 = borders.
|
|
8044
|
+
var this_6 = borders.z22_1;
|
|
8045
8045
|
var tmp_20;
|
|
8046
8046
|
if (y === lastY) {
|
|
8047
8047
|
tmp_20 = this_6;
|
|
@@ -8097,36 +8097,36 @@
|
|
|
8097
8097
|
}
|
|
8098
8098
|
var tmp3_elvis_lhs = tmp_1;
|
|
8099
8099
|
var tmp4_elvis_lhs = tmp3_elvis_lhs == null ? getter($section) : tmp3_elvis_lhs;
|
|
8100
|
-
var tmp5_elvis_lhs = tmp4_elvis_lhs == null ? getter(this$0.
|
|
8100
|
+
var tmp5_elvis_lhs = tmp4_elvis_lhs == null ? getter(this$0.e27_1) : tmp4_elvis_lhs;
|
|
8101
8101
|
return tmp5_elvis_lhs == null ? default_0 : tmp5_elvis_lhs;
|
|
8102
8102
|
}
|
|
8103
8103
|
function TableLayout$insertCell$lambda(it) {
|
|
8104
|
-
return it.
|
|
8104
|
+
return it.n25();
|
|
8105
8105
|
}
|
|
8106
8106
|
function TableLayout$insertCell$lambda_0(it) {
|
|
8107
|
-
return it.
|
|
8107
|
+
return it.q25();
|
|
8108
8108
|
}
|
|
8109
8109
|
function TableLayout$insertCell$lambda_1(it) {
|
|
8110
|
-
return it.
|
|
8110
|
+
return it.t25();
|
|
8111
8111
|
}
|
|
8112
8112
|
function TableLayout$insertCell$lambda_2(it) {
|
|
8113
|
-
return it.
|
|
8113
|
+
return it.u25();
|
|
8114
8114
|
}
|
|
8115
8115
|
function TableLayout$insertCell$lambda_3(it) {
|
|
8116
|
-
return it.
|
|
8116
|
+
return it.o25();
|
|
8117
8117
|
}
|
|
8118
8118
|
function TableLayout$insertCell$lambda_4(it) {
|
|
8119
|
-
return it.
|
|
8119
|
+
return it.v25();
|
|
8120
8120
|
}
|
|
8121
8121
|
function TableLayout(table) {
|
|
8122
|
-
this.
|
|
8122
|
+
this.e27_1 = table;
|
|
8123
8123
|
}
|
|
8124
|
-
protoOf(TableLayout).
|
|
8124
|
+
protoOf(TableLayout).o27 = function () {
|
|
8125
8125
|
// Inline function 'kotlin.collections.maxOf' call
|
|
8126
|
-
var iterator = listOf([this.
|
|
8126
|
+
var iterator = listOf([this.e27_1.c26_1, this.e27_1.d26_1, this.e27_1.e26_1]).r();
|
|
8127
8127
|
if (!iterator.s())
|
|
8128
8128
|
throw NoSuchElementException_init_$Create$();
|
|
8129
|
-
var tmp0 = iterator.t().
|
|
8129
|
+
var tmp0 = iterator.t().i26_1;
|
|
8130
8130
|
var tmp$ret$2;
|
|
8131
8131
|
$l$block: {
|
|
8132
8132
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -8135,9 +8135,9 @@
|
|
|
8135
8135
|
tmp$ret$2 = null;
|
|
8136
8136
|
break $l$block;
|
|
8137
8137
|
}
|
|
8138
|
-
var maxValue = iterator_0.t().
|
|
8138
|
+
var maxValue = iterator_0.t().x26_1.d1();
|
|
8139
8139
|
while (iterator_0.s()) {
|
|
8140
|
-
var v = iterator_0.t().
|
|
8140
|
+
var v = iterator_0.t().x26_1.d1();
|
|
8141
8141
|
if (compareTo(maxValue, v) < 0) {
|
|
8142
8142
|
maxValue = v;
|
|
8143
8143
|
}
|
|
@@ -8147,7 +8147,7 @@
|
|
|
8147
8147
|
var tmp0_elvis_lhs = tmp$ret$2;
|
|
8148
8148
|
var maxValue_0 = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
8149
8149
|
while (iterator.s()) {
|
|
8150
|
-
var tmp0_0 = iterator.t().
|
|
8150
|
+
var tmp0_0 = iterator.t().i26_1;
|
|
8151
8151
|
var tmp$ret$6;
|
|
8152
8152
|
$l$block_0: {
|
|
8153
8153
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -8156,9 +8156,9 @@
|
|
|
8156
8156
|
tmp$ret$6 = null;
|
|
8157
8157
|
break $l$block_0;
|
|
8158
8158
|
}
|
|
8159
|
-
var maxValue_1 = iterator_1.t().
|
|
8159
|
+
var maxValue_1 = iterator_1.t().x26_1.d1();
|
|
8160
8160
|
while (iterator_1.s()) {
|
|
8161
|
-
var v_0 = iterator_1.t().
|
|
8161
|
+
var v_0 = iterator_1.t().x26_1.d1();
|
|
8162
8162
|
if (compareTo(maxValue_1, v_0) < 0) {
|
|
8163
8163
|
maxValue_1 = v_0;
|
|
8164
8164
|
}
|
|
@@ -8172,16 +8172,16 @@
|
|
|
8172
8172
|
}
|
|
8173
8173
|
}
|
|
8174
8174
|
var builderWidth = maxValue_0;
|
|
8175
|
-
var header = buildSection(this, this.
|
|
8176
|
-
var body = buildSection(this, this.
|
|
8177
|
-
var footer = buildSection(this, this.
|
|
8175
|
+
var header = buildSection(this, this.e27_1.c26_1, builderWidth);
|
|
8176
|
+
var body = buildSection(this, this.e27_1.d26_1, builderWidth);
|
|
8177
|
+
var footer = buildSection(this, this.e27_1.e26_1, builderWidth);
|
|
8178
8178
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
8179
8179
|
var this_0 = flatten(listOf([header, body, footer]));
|
|
8180
8180
|
var tmp;
|
|
8181
8181
|
if (this_0.p()) {
|
|
8182
|
-
var tmp0_elvis_lhs_1 = this.
|
|
8182
|
+
var tmp0_elvis_lhs_1 = this.e27_1.z25_1;
|
|
8183
8183
|
var b = tmp0_elvis_lhs_1 == null ? Borders_ALL_getInstance() : tmp0_elvis_lhs_1;
|
|
8184
|
-
var cell = new Content(EmptyWidget_instance, 1, 1, b.
|
|
8184
|
+
var cell = new Content(EmptyWidget_instance, 1, 1, b.w22_1, b.x22_1, b.y22_1, b.z22_1, null, TextAlign_LEFT_getInstance(), VerticalAlign_TOP_getInstance(), 0);
|
|
8185
8185
|
tmp = listOf_0(listOf_0(cell));
|
|
8186
8186
|
} else {
|
|
8187
8187
|
tmp = this_0;
|
|
@@ -8208,14 +8208,14 @@
|
|
|
8208
8208
|
do {
|
|
8209
8209
|
var index = inductionVariable;
|
|
8210
8210
|
inductionVariable = inductionVariable + 1 | 0;
|
|
8211
|
-
var tmp88_safe_receiver = this.
|
|
8212
|
-
var tmp0_elvis_lhs_2 = tmp88_safe_receiver == null ? null : tmp88_safe_receiver.
|
|
8213
|
-
var tmp$ret$18 = tmp0_elvis_lhs_2 == null ? Companion_getInstance_3().
|
|
8211
|
+
var tmp88_safe_receiver = this.e27_1.b26_1.m2(index);
|
|
8212
|
+
var tmp0_elvis_lhs_2 = tmp88_safe_receiver == null ? null : tmp88_safe_receiver.p27();
|
|
8213
|
+
var tmp$ret$18 = tmp0_elvis_lhs_2 == null ? Companion_getInstance_3().m25_1 : tmp0_elvis_lhs_2;
|
|
8214
8214
|
list.v(tmp$ret$18);
|
|
8215
8215
|
}
|
|
8216
8216
|
while (inductionVariable < columnCount);
|
|
8217
8217
|
var columnWidths = list;
|
|
8218
|
-
return new TableImpl(rows, this.
|
|
8218
|
+
return new TableImpl(rows, this.e27_1.x25_1, this.e27_1.y25_1, header.d1(), footer.d1(), columnWidths, this.e27_1.z25_1, this.e27_1.a26_1);
|
|
8219
8219
|
};
|
|
8220
8220
|
function findEmptyColumn(_this__u8e3s4, x, y) {
|
|
8221
8221
|
var row = _this__u8e3s4.c1(y);
|
|
@@ -8269,13 +8269,13 @@
|
|
|
8269
8269
|
}
|
|
8270
8270
|
function Companion_3() {
|
|
8271
8271
|
}
|
|
8272
|
-
protoOf(Companion_3).
|
|
8273
|
-
builder.
|
|
8274
|
-
builder.
|
|
8275
|
-
builder.
|
|
8272
|
+
protoOf(Companion_3).m26 = function (builder, spacing, columnWidth) {
|
|
8273
|
+
builder.r25(0);
|
|
8274
|
+
builder.n26(Borders_NONE_getInstance());
|
|
8275
|
+
builder.z25_1 = Borders_NONE_getInstance();
|
|
8276
8276
|
var aligned = false;
|
|
8277
8277
|
// Inline function 'kotlin.collections.map' call
|
|
8278
|
-
var this_0 = (new TableLayout(builder)).
|
|
8278
|
+
var this_0 = (new TableLayout(builder)).o27().z23_1;
|
|
8279
8279
|
// Inline function 'kotlin.collections.mapTo' call
|
|
8280
8280
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8281
8281
|
var _iterator__ex2g4s = this_0.r();
|
|
@@ -8287,12 +8287,12 @@
|
|
|
8287
8287
|
}
|
|
8288
8288
|
var tmp = item.c1(0);
|
|
8289
8289
|
var cell = tmp instanceof Content ? tmp : THROW_CCE();
|
|
8290
|
-
aligned = aligned || !listOf([null, TextAlign_NONE_getInstance()]).u1(cell.
|
|
8291
|
-
var tmp$ret$2 = new VerticalLayoutCell(cell.
|
|
8290
|
+
aligned = aligned || !listOf([null, TextAlign_NONE_getInstance()]).u1(cell.s23_1);
|
|
8291
|
+
var tmp$ret$2 = new VerticalLayoutCell(cell.k23_1, cell.r23_1, cell.s23_1);
|
|
8292
8292
|
destination.v(tmp$ret$2);
|
|
8293
8293
|
}
|
|
8294
8294
|
var cells = destination;
|
|
8295
|
-
var tmp0_elvis_lhs = builder.
|
|
8295
|
+
var tmp0_elvis_lhs = builder.u25();
|
|
8296
8296
|
return new VerticalLayout(cells, spacing, columnWidth, tmp0_elvis_lhs == null ? TextAlign_NONE_getInstance() : tmp0_elvis_lhs, aligned);
|
|
8297
8297
|
};
|
|
8298
8298
|
var Companion_instance_3;
|
|
@@ -8300,25 +8300,25 @@
|
|
|
8300
8300
|
return Companion_instance_3;
|
|
8301
8301
|
}
|
|
8302
8302
|
function VerticalLayout(cells, spacing, columnWidth, textAlign, hasAlignedCells) {
|
|
8303
|
-
this.
|
|
8304
|
-
this.
|
|
8305
|
-
this.
|
|
8306
|
-
this.
|
|
8307
|
-
this.
|
|
8303
|
+
this.q27_1 = cells;
|
|
8304
|
+
this.r27_1 = spacing;
|
|
8305
|
+
this.s27_1 = columnWidth;
|
|
8306
|
+
this.t27_1 = textAlign;
|
|
8307
|
+
this.u27_1 = hasAlignedCells;
|
|
8308
8308
|
// Inline function 'kotlin.require' call
|
|
8309
|
-
if (!(this.
|
|
8309
|
+
if (!(this.r27_1 >= 0)) {
|
|
8310
8310
|
var message = 'layout spacing cannot be negative';
|
|
8311
8311
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
8312
8312
|
}
|
|
8313
8313
|
}
|
|
8314
|
-
protoOf(VerticalLayout).
|
|
8314
|
+
protoOf(VerticalLayout).b22 = function (t, width) {
|
|
8315
8315
|
// Inline function 'com.github.ajalt.mordant.rendering.maxWidthRange' call
|
|
8316
8316
|
var max = 0;
|
|
8317
8317
|
var min = 0;
|
|
8318
|
-
var _iterator__ex2g4s = this.
|
|
8318
|
+
var _iterator__ex2g4s = this.q27_1.r();
|
|
8319
8319
|
$l$loop: while (_iterator__ex2g4s.s()) {
|
|
8320
8320
|
var it = _iterator__ex2g4s.t();
|
|
8321
|
-
var tmp0_elvis_lhs = it.
|
|
8321
|
+
var tmp0_elvis_lhs = it.v27_1.b22(t, width);
|
|
8322
8322
|
var tmp;
|
|
8323
8323
|
if (tmp0_elvis_lhs == null) {
|
|
8324
8324
|
continue $l$loop;
|
|
@@ -8328,21 +8328,21 @@
|
|
|
8328
8328
|
var range = tmp;
|
|
8329
8329
|
var tmp0 = max;
|
|
8330
8330
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
8331
|
-
var b = range.
|
|
8331
|
+
var b = range.q22_1;
|
|
8332
8332
|
max = Math.max(tmp0, b);
|
|
8333
8333
|
var tmp0_0 = min;
|
|
8334
8334
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
8335
|
-
var b_0 = range.
|
|
8335
|
+
var b_0 = range.p22_1;
|
|
8336
8336
|
min = Math.max(tmp0_0, b_0);
|
|
8337
8337
|
}
|
|
8338
8338
|
return new WidthRange(min + 0 | 0, max + 0 | 0);
|
|
8339
8339
|
};
|
|
8340
|
-
protoOf(VerticalLayout).
|
|
8341
|
-
var renderWidth = coerceAtMost(get_isExpand(this.
|
|
8340
|
+
protoOf(VerticalLayout).c22 = function (t, width) {
|
|
8341
|
+
var renderWidth = coerceAtMost(get_isExpand(this.s27_1) ? width : this.u27_1 ? this.b22(t, width).q22_1 : width, width);
|
|
8342
8342
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8343
8343
|
var lines = ArrayList_init_$Create$();
|
|
8344
|
-
var spacingLine = this.
|
|
8345
|
-
var iterator = this.
|
|
8344
|
+
var spacingLine = this.t27_1.y2_1 === 4 ? get_EMPTY_LINE() : new Line(listOf_0(Companion_instance_0.j1y(renderWidth)), get_DEFAULT_STYLE());
|
|
8345
|
+
var iterator = this.q27_1.r();
|
|
8346
8346
|
var index = 0;
|
|
8347
8347
|
while (iterator.s()) {
|
|
8348
8348
|
var i = index;
|
|
@@ -8350,7 +8350,7 @@
|
|
|
8350
8350
|
var cell = iterator.t();
|
|
8351
8351
|
if (i > 0) {
|
|
8352
8352
|
// Inline function 'kotlin.repeat' call
|
|
8353
|
-
var times = this.
|
|
8353
|
+
var times = this.r27_1;
|
|
8354
8354
|
var inductionVariable = 0;
|
|
8355
8355
|
if (inductionVariable < times)
|
|
8356
8356
|
do {
|
|
@@ -8361,11 +8361,11 @@
|
|
|
8361
8361
|
}
|
|
8362
8362
|
while (inductionVariable < times);
|
|
8363
8363
|
}
|
|
8364
|
-
var rendered = cell.
|
|
8365
|
-
var w = this.
|
|
8366
|
-
rendered = !(w.
|
|
8364
|
+
var rendered = cell.v27_1.c22(t, renderWidth).g20(cell.w27_1);
|
|
8365
|
+
var w = this.s27_1;
|
|
8366
|
+
rendered = !(w.y23_1 == null) ? setSize(rendered, width, VOID, VOID, cell.x27_1) : !(w.x23_1 == null) ? setSize(rendered, w.x23_1, VOID, VOID, cell.x27_1) : !cell.x27_1.equals(TextAlign_NONE_getInstance()) ? setSize(rendered, renderWidth, VOID, VOID, cell.x27_1) : rendered;
|
|
8367
8367
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
8368
|
-
var this_0 = rendered.
|
|
8368
|
+
var this_0 = rendered.c1y_1;
|
|
8369
8369
|
var tmp;
|
|
8370
8370
|
if (this_0.p()) {
|
|
8371
8371
|
tmp = listOf_0(get_EMPTY_LINE());
|
|
@@ -8379,39 +8379,39 @@
|
|
|
8379
8379
|
return new Lines(lines);
|
|
8380
8380
|
};
|
|
8381
8381
|
function VerticalLayoutCell(content, style, textAlign) {
|
|
8382
|
-
this.
|
|
8383
|
-
this.
|
|
8384
|
-
this.
|
|
8382
|
+
this.v27_1 = content;
|
|
8383
|
+
this.w27_1 = style;
|
|
8384
|
+
this.x27_1 = textAlign;
|
|
8385
8385
|
}
|
|
8386
8386
|
function StandardTerminalInterface() {
|
|
8387
8387
|
}
|
|
8388
|
-
protoOf(StandardTerminalInterface).
|
|
8389
|
-
return TerminalDetection_instance.
|
|
8388
|
+
protoOf(StandardTerminalInterface).y27 = function (ansiLevel, hyperlinks, outputInteractive, inputInteractive) {
|
|
8389
|
+
return TerminalDetection_instance.b28(ansiLevel, hyperlinks, inputInteractive, outputInteractive, this.z27(), this.a28());
|
|
8390
8390
|
};
|
|
8391
|
-
protoOf(StandardTerminalInterface).
|
|
8392
|
-
if (request.
|
|
8393
|
-
printStderr(request.
|
|
8394
|
-
} else if (request.
|
|
8391
|
+
protoOf(StandardTerminalInterface).c28 = function (request) {
|
|
8392
|
+
if (request.f28_1) {
|
|
8393
|
+
printStderr(request.d28_1, request.e28_1);
|
|
8394
|
+
} else if (request.e28_1) {
|
|
8395
8395
|
// Inline function 'kotlin.text.isEmpty' call
|
|
8396
|
-
var this_0 = request.
|
|
8396
|
+
var this_0 = request.d28_1;
|
|
8397
8397
|
if (charSequenceLength(this_0) === 0) {
|
|
8398
8398
|
println_0();
|
|
8399
8399
|
} else {
|
|
8400
|
-
println(request.
|
|
8400
|
+
println(request.d28_1);
|
|
8401
8401
|
}
|
|
8402
8402
|
} else {
|
|
8403
|
-
print(request.
|
|
8403
|
+
print(request.d28_1);
|
|
8404
8404
|
}
|
|
8405
8405
|
};
|
|
8406
|
-
protoOf(StandardTerminalInterface).
|
|
8406
|
+
protoOf(StandardTerminalInterface).a28 = function () {
|
|
8407
8407
|
return true;
|
|
8408
8408
|
};
|
|
8409
|
-
protoOf(StandardTerminalInterface).
|
|
8409
|
+
protoOf(StandardTerminalInterface).z27 = function () {
|
|
8410
8410
|
return true;
|
|
8411
8411
|
};
|
|
8412
8412
|
function Terminal_init_$Init$(ansiLevel, theme, width, height, nonInteractiveWidth, nonInteractiveHeight, hyperlinks, tabWidth, interactive, terminalInterface, $this) {
|
|
8413
8413
|
ansiLevel = ansiLevel === VOID ? null : ansiLevel;
|
|
8414
|
-
theme = theme === VOID ? Companion_getInstance_2().
|
|
8414
|
+
theme = theme === VOID ? Companion_getInstance_2().l21_1 : theme;
|
|
8415
8415
|
width = width === VOID ? null : width;
|
|
8416
8416
|
height = height === VOID ? null : height;
|
|
8417
8417
|
nonInteractiveWidth = nonInteractiveWidth === VOID ? null : nonInteractiveWidth;
|
|
@@ -8420,7 +8420,7 @@
|
|
|
8420
8420
|
tabWidth = tabWidth === VOID ? 8 : tabWidth;
|
|
8421
8421
|
interactive = interactive === VOID ? null : interactive;
|
|
8422
8422
|
terminalInterface = terminalInterface === VOID ? get_STANDARD_TERM_INTERFACE() : terminalInterface;
|
|
8423
|
-
Terminal.call($this, theme, tabWidth, terminalInterface, width, height, nonInteractiveWidth, nonInteractiveHeight, terminalInterface.
|
|
8423
|
+
Terminal.call($this, theme, tabWidth, terminalInterface, width, height, nonInteractiveWidth, nonInteractiveHeight, terminalInterface.y27(ansiLevel, hyperlinks, interactive, interactive));
|
|
8424
8424
|
return $this;
|
|
8425
8425
|
}
|
|
8426
8426
|
function Terminal_init_$Create$(ansiLevel, theme, width, height, nonInteractiveWidth, nonInteractiveHeight, hyperlinks, tabWidth, interactive, terminalInterface) {
|
|
@@ -8430,36 +8430,36 @@
|
|
|
8430
8430
|
sendPrintRequest($this, new PrintRequest(message, true, stderr));
|
|
8431
8431
|
}
|
|
8432
8432
|
function sendPrintRequest($this, request) {
|
|
8433
|
-
if ($this.
|
|
8434
|
-
$this.
|
|
8433
|
+
if ($this.g22_1.h28()) {
|
|
8434
|
+
$this.i28();
|
|
8435
8435
|
}
|
|
8436
|
-
sendInterceptedPrintRequest(request, $this.
|
|
8436
|
+
sendInterceptedPrintRequest(request, $this.g22_1, $this.m22_1.m1());
|
|
8437
8437
|
}
|
|
8438
8438
|
function Terminal(theme, tabWidth, terminalInterface, forceWidth, forceHeight, nonInteractiveWidth, nonInteractiveHeight, terminalInfo) {
|
|
8439
|
-
this.
|
|
8440
|
-
this.
|
|
8441
|
-
this.
|
|
8442
|
-
this.
|
|
8443
|
-
this.
|
|
8444
|
-
this.
|
|
8445
|
-
this.
|
|
8446
|
-
this.
|
|
8447
|
-
this.
|
|
8448
|
-
this.
|
|
8449
|
-
this.
|
|
8439
|
+
this.e22_1 = theme;
|
|
8440
|
+
this.f22_1 = tabWidth;
|
|
8441
|
+
this.g22_1 = terminalInterface;
|
|
8442
|
+
this.h22_1 = forceWidth;
|
|
8443
|
+
this.i22_1 = forceHeight;
|
|
8444
|
+
this.j22_1 = nonInteractiveWidth;
|
|
8445
|
+
this.k22_1 = nonInteractiveHeight;
|
|
8446
|
+
this.l22_1 = terminalInfo;
|
|
8447
|
+
this.m22_1 = MppAtomicRef(emptyList());
|
|
8448
|
+
this.n22_1 = MppAtomicRef(detectSize(this.g22_1, this.l22_1, this.h22_1, this.i22_1, this.j22_1, this.k22_1));
|
|
8449
|
+
this.o22_1 = this.l22_1.o28() ? makePrintingTerminalCursor(this) : DisabledTerminalCursor_instance;
|
|
8450
8450
|
}
|
|
8451
8451
|
protoOf(Terminal).d1 = function () {
|
|
8452
|
-
return this.
|
|
8452
|
+
return this.n22_1.m1();
|
|
8453
8453
|
};
|
|
8454
|
-
protoOf(Terminal).
|
|
8455
|
-
var tmp0 = this.
|
|
8454
|
+
protoOf(Terminal).i28 = function () {
|
|
8455
|
+
var tmp0 = this.n22_1;
|
|
8456
8456
|
var tmp$ret$0;
|
|
8457
8457
|
$l$block: {
|
|
8458
8458
|
// Inline function 'com.github.ajalt.mordant.internal.update' call
|
|
8459
8459
|
while (true) {
|
|
8460
8460
|
var old = tmp0.m1();
|
|
8461
|
-
var newValue = detectSize(this.
|
|
8462
|
-
if (tmp0.
|
|
8461
|
+
var newValue = detectSize(this.g22_1, this.l22_1, this.h22_1, this.i22_1, this.j22_1, this.k22_1);
|
|
8462
|
+
if (tmp0.p28(old, newValue)) {
|
|
8463
8463
|
tmp$ret$0 = to(old, newValue);
|
|
8464
8464
|
break $l$block;
|
|
8465
8465
|
}
|
|
@@ -8467,10 +8467,10 @@
|
|
|
8467
8467
|
}
|
|
8468
8468
|
return tmp$ret$0.ea_1;
|
|
8469
8469
|
};
|
|
8470
|
-
protoOf(Terminal).
|
|
8471
|
-
this.
|
|
8470
|
+
protoOf(Terminal).q28 = function (message, whitespace, align, overflowWrap, width, stderr) {
|
|
8471
|
+
this.s28(this.r28(message, whitespace, align, overflowWrap, width), stderr);
|
|
8472
8472
|
};
|
|
8473
|
-
protoOf(Terminal).
|
|
8473
|
+
protoOf(Terminal).t28 = function (message, whitespace, align, overflowWrap, width, stderr, $super) {
|
|
8474
8474
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
8475
8475
|
align = align === VOID ? TextAlign_NONE_getInstance() : align;
|
|
8476
8476
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
@@ -8478,17 +8478,17 @@
|
|
|
8478
8478
|
stderr = stderr === VOID ? false : stderr;
|
|
8479
8479
|
var tmp;
|
|
8480
8480
|
if ($super === VOID) {
|
|
8481
|
-
this.
|
|
8481
|
+
this.q28(message, whitespace, align, overflowWrap, width, stderr);
|
|
8482
8482
|
tmp = Unit_instance;
|
|
8483
8483
|
} else {
|
|
8484
|
-
tmp = $super.
|
|
8484
|
+
tmp = $super.q28.call(this, message, whitespace, align, overflowWrap, width, stderr);
|
|
8485
8485
|
}
|
|
8486
8486
|
return tmp;
|
|
8487
8487
|
};
|
|
8488
|
-
protoOf(Terminal).
|
|
8489
|
-
rawPrintln(this, this.
|
|
8488
|
+
protoOf(Terminal).u28 = function (message, whitespace, align, overflowWrap, width, stderr) {
|
|
8489
|
+
rawPrintln(this, this.r28(message, whitespace, align, overflowWrap, width), stderr);
|
|
8490
8490
|
};
|
|
8491
|
-
protoOf(Terminal).
|
|
8491
|
+
protoOf(Terminal).v28 = function (message, whitespace, align, overflowWrap, width, stderr, $super) {
|
|
8492
8492
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
8493
8493
|
align = align === VOID ? TextAlign_NONE_getInstance() : align;
|
|
8494
8494
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
@@ -8496,34 +8496,34 @@
|
|
|
8496
8496
|
stderr = stderr === VOID ? false : stderr;
|
|
8497
8497
|
var tmp;
|
|
8498
8498
|
if ($super === VOID) {
|
|
8499
|
-
this.
|
|
8499
|
+
this.u28(message, whitespace, align, overflowWrap, width, stderr);
|
|
8500
8500
|
tmp = Unit_instance;
|
|
8501
8501
|
} else {
|
|
8502
|
-
tmp = $super.
|
|
8502
|
+
tmp = $super.u28.call(this, message, whitespace, align, overflowWrap, width, stderr);
|
|
8503
8503
|
}
|
|
8504
8504
|
return tmp;
|
|
8505
8505
|
};
|
|
8506
|
-
protoOf(Terminal).
|
|
8506
|
+
protoOf(Terminal).r28 = function (message, whitespace, align, overflowWrap, width) {
|
|
8507
8507
|
var tmp;
|
|
8508
8508
|
if (message instanceof Lines) {
|
|
8509
|
-
tmp = renderLinesAnsi(message, this.
|
|
8509
|
+
tmp = renderLinesAnsi(message, this.l22_1.j28_1, this.l22_1.k28_1);
|
|
8510
8510
|
} else {
|
|
8511
8511
|
if (!(message == null) ? isInterface(message, Widget) : false) {
|
|
8512
|
-
tmp = this.
|
|
8512
|
+
tmp = this.w28(message);
|
|
8513
8513
|
} else {
|
|
8514
|
-
tmp = this.
|
|
8514
|
+
tmp = this.w28(Text_init_$Create$(toString_1(message), whitespace, align, overflowWrap, width));
|
|
8515
8515
|
}
|
|
8516
8516
|
}
|
|
8517
8517
|
return tmp;
|
|
8518
8518
|
};
|
|
8519
|
-
protoOf(Terminal).
|
|
8520
|
-
return renderLinesAnsi(widget.
|
|
8519
|
+
protoOf(Terminal).w28 = function (widget) {
|
|
8520
|
+
return renderLinesAnsi(widget.d22(this), this.l22_1.j28_1, this.l22_1.k28_1);
|
|
8521
8521
|
};
|
|
8522
|
-
protoOf(Terminal).
|
|
8522
|
+
protoOf(Terminal).s28 = function (message, stderr) {
|
|
8523
8523
|
sendPrintRequest(this, new PrintRequest(toString(message), false, stderr));
|
|
8524
8524
|
};
|
|
8525
8525
|
function PrintTerminalCursor(terminal) {
|
|
8526
|
-
this.
|
|
8526
|
+
this.x28_1 = terminal;
|
|
8527
8527
|
}
|
|
8528
8528
|
function DisabledTerminalCursor() {
|
|
8529
8529
|
}
|
|
@@ -8818,7 +8818,7 @@
|
|
|
8818
8818
|
}
|
|
8819
8819
|
function TerminalDetection() {
|
|
8820
8820
|
}
|
|
8821
|
-
protoOf(TerminalDetection).
|
|
8821
|
+
protoOf(TerminalDetection).b28 = function (ansiLevel_0, hyperlinks, forceInputInteractive, forceOutputInteractive, detectedStdinInteractive, detectedStdoutInteractive) {
|
|
8822
8822
|
var ij = isIntellijRunActionConsole(this);
|
|
8823
8823
|
var inputInteractive = forceInputInteractive == null ? ij || detectedStdinInteractive : forceInputInteractive;
|
|
8824
8824
|
var outputInteractive = forceOutputInteractive == null ? ij || detectedStdoutInteractive : forceOutputInteractive;
|
|
@@ -8833,13 +8833,13 @@
|
|
|
8833
8833
|
function detectSize(_this__u8e3s4, info, width, height, nonInteractiveWidth, nonInteractiveHeight) {
|
|
8834
8834
|
if (!(width == null) && !(height == null))
|
|
8835
8835
|
return new Size(width, height);
|
|
8836
|
-
if (!info.
|
|
8836
|
+
if (!info.l28_1) {
|
|
8837
8837
|
var tmp1_elvis_lhs = nonInteractiveWidth == null ? width : nonInteractiveWidth;
|
|
8838
8838
|
var tmp = tmp1_elvis_lhs == null ? 79 : tmp1_elvis_lhs;
|
|
8839
8839
|
var tmp3_elvis_lhs = nonInteractiveHeight == null ? height : nonInteractiveHeight;
|
|
8840
8840
|
return new Size(tmp, tmp3_elvis_lhs == null ? 24 : tmp3_elvis_lhs);
|
|
8841
8841
|
}
|
|
8842
|
-
var tmp4_elvis_lhs = _this__u8e3s4.
|
|
8842
|
+
var tmp4_elvis_lhs = _this__u8e3s4.g28();
|
|
8843
8843
|
var tmp_0;
|
|
8844
8844
|
if (tmp4_elvis_lhs == null) {
|
|
8845
8845
|
var tmp122_safe_receiver = getEnv('COLUMNS');
|
|
@@ -8852,28 +8852,28 @@
|
|
|
8852
8852
|
tmp_0 = tmp4_elvis_lhs;
|
|
8853
8853
|
}
|
|
8854
8854
|
var detected = tmp_0;
|
|
8855
|
-
var tmp_2 = width == null ? detected.
|
|
8856
|
-
return new Size(tmp_2, height == null ? detected.
|
|
8855
|
+
var tmp_2 = width == null ? detected.n20_1 : width;
|
|
8856
|
+
return new Size(tmp_2, height == null ? detected.o20_1 : height);
|
|
8857
8857
|
}
|
|
8858
8858
|
function TerminalInfo(ansiLevel, ansiHyperLinks, outputInteractive, inputInteractive, supportsAnsiCursor) {
|
|
8859
|
-
this.
|
|
8860
|
-
this.
|
|
8861
|
-
this.
|
|
8862
|
-
this.
|
|
8863
|
-
this.
|
|
8859
|
+
this.j28_1 = ansiLevel;
|
|
8860
|
+
this.k28_1 = ansiHyperLinks;
|
|
8861
|
+
this.l28_1 = outputInteractive;
|
|
8862
|
+
this.m28_1 = inputInteractive;
|
|
8863
|
+
this.n28_1 = supportsAnsiCursor;
|
|
8864
8864
|
}
|
|
8865
|
-
protoOf(TerminalInfo).
|
|
8866
|
-
return this.
|
|
8865
|
+
protoOf(TerminalInfo).o28 = function () {
|
|
8866
|
+
return this.m28_1 && this.l28_1;
|
|
8867
8867
|
};
|
|
8868
8868
|
protoOf(TerminalInfo).toString = function () {
|
|
8869
|
-
return 'TerminalInfo(ansiLevel=' + this.
|
|
8869
|
+
return 'TerminalInfo(ansiLevel=' + this.j28_1.toString() + ', ansiHyperLinks=' + this.k28_1 + ', outputInteractive=' + this.l28_1 + ', inputInteractive=' + this.m28_1 + ', supportsAnsiCursor=' + this.n28_1 + ')';
|
|
8870
8870
|
};
|
|
8871
8871
|
protoOf(TerminalInfo).hashCode = function () {
|
|
8872
|
-
var result = this.
|
|
8873
|
-
result = imul(result, 31) + getBooleanHashCode(this.i28_1) | 0;
|
|
8874
|
-
result = imul(result, 31) + getBooleanHashCode(this.j28_1) | 0;
|
|
8872
|
+
var result = this.j28_1.hashCode();
|
|
8875
8873
|
result = imul(result, 31) + getBooleanHashCode(this.k28_1) | 0;
|
|
8876
8874
|
result = imul(result, 31) + getBooleanHashCode(this.l28_1) | 0;
|
|
8875
|
+
result = imul(result, 31) + getBooleanHashCode(this.m28_1) | 0;
|
|
8876
|
+
result = imul(result, 31) + getBooleanHashCode(this.n28_1) | 0;
|
|
8877
8877
|
return result;
|
|
8878
8878
|
};
|
|
8879
8879
|
protoOf(TerminalInfo).equals = function (other) {
|
|
@@ -8882,32 +8882,32 @@
|
|
|
8882
8882
|
if (!(other instanceof TerminalInfo))
|
|
8883
8883
|
return false;
|
|
8884
8884
|
var tmp0_other_with_cast = other instanceof TerminalInfo ? other : THROW_CCE();
|
|
8885
|
-
if (!this.
|
|
8886
|
-
return false;
|
|
8887
|
-
if (!(this.i28_1 === tmp0_other_with_cast.i28_1))
|
|
8888
|
-
return false;
|
|
8889
|
-
if (!(this.j28_1 === tmp0_other_with_cast.j28_1))
|
|
8885
|
+
if (!this.j28_1.equals(tmp0_other_with_cast.j28_1))
|
|
8890
8886
|
return false;
|
|
8891
8887
|
if (!(this.k28_1 === tmp0_other_with_cast.k28_1))
|
|
8892
8888
|
return false;
|
|
8893
8889
|
if (!(this.l28_1 === tmp0_other_with_cast.l28_1))
|
|
8894
8890
|
return false;
|
|
8891
|
+
if (!(this.m28_1 === tmp0_other_with_cast.m28_1))
|
|
8892
|
+
return false;
|
|
8893
|
+
if (!(this.n28_1 === tmp0_other_with_cast.n28_1))
|
|
8894
|
+
return false;
|
|
8895
8895
|
return true;
|
|
8896
8896
|
};
|
|
8897
8897
|
function TerminalInterface() {
|
|
8898
8898
|
}
|
|
8899
8899
|
function PrintRequest(text, trailingLinebreak, stderr) {
|
|
8900
|
-
this.
|
|
8901
|
-
this.
|
|
8902
|
-
this.
|
|
8900
|
+
this.d28_1 = text;
|
|
8901
|
+
this.e28_1 = trailingLinebreak;
|
|
8902
|
+
this.f28_1 = stderr;
|
|
8903
8903
|
}
|
|
8904
8904
|
protoOf(PrintRequest).toString = function () {
|
|
8905
|
-
return 'PrintRequest(text=' + this.
|
|
8905
|
+
return 'PrintRequest(text=' + this.d28_1 + ', trailingLinebreak=' + this.e28_1 + ', stderr=' + this.f28_1 + ')';
|
|
8906
8906
|
};
|
|
8907
8907
|
protoOf(PrintRequest).hashCode = function () {
|
|
8908
|
-
var result = getStringHashCode(this.
|
|
8909
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8910
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8908
|
+
var result = getStringHashCode(this.d28_1);
|
|
8909
|
+
result = imul(result, 31) + getBooleanHashCode(this.e28_1) | 0;
|
|
8910
|
+
result = imul(result, 31) + getBooleanHashCode(this.f28_1) | 0;
|
|
8911
8911
|
return result;
|
|
8912
8912
|
};
|
|
8913
8913
|
protoOf(PrintRequest).equals = function (other) {
|
|
@@ -8916,11 +8916,11 @@
|
|
|
8916
8916
|
if (!(other instanceof PrintRequest))
|
|
8917
8917
|
return false;
|
|
8918
8918
|
var tmp0_other_with_cast = other instanceof PrintRequest ? other : THROW_CCE();
|
|
8919
|
-
if (!(this.
|
|
8919
|
+
if (!(this.d28_1 === tmp0_other_with_cast.d28_1))
|
|
8920
8920
|
return false;
|
|
8921
|
-
if (!(this.
|
|
8921
|
+
if (!(this.e28_1 === tmp0_other_with_cast.e28_1))
|
|
8922
8922
|
return false;
|
|
8923
|
-
if (!(this.
|
|
8923
|
+
if (!(this.f28_1 === tmp0_other_with_cast.f28_1))
|
|
8924
8924
|
return false;
|
|
8925
8925
|
return true;
|
|
8926
8926
|
};
|
|
@@ -8928,42 +8928,42 @@
|
|
|
8928
8928
|
// Inline function 'kotlin.apply' call
|
|
8929
8929
|
var this_0 = new DefinitionListBuilder();
|
|
8930
8930
|
init(this_0);
|
|
8931
|
-
return this_0.
|
|
8931
|
+
return this_0.u21();
|
|
8932
8932
|
}
|
|
8933
8933
|
function DefinitionListBuilder() {
|
|
8934
8934
|
var tmp = this;
|
|
8935
8935
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8936
|
-
tmp.
|
|
8937
|
-
this.
|
|
8938
|
-
this.
|
|
8939
|
-
this.
|
|
8936
|
+
tmp.y28_1 = ArrayList_init_$Create$();
|
|
8937
|
+
this.z28_1 = false;
|
|
8938
|
+
this.a29_1 = null;
|
|
8939
|
+
this.b29_1 = null;
|
|
8940
8940
|
}
|
|
8941
|
-
protoOf(DefinitionListBuilder).
|
|
8942
|
-
this.
|
|
8941
|
+
protoOf(DefinitionListBuilder).c29 = function (value) {
|
|
8942
|
+
this.a29_1 = value;
|
|
8943
8943
|
};
|
|
8944
|
-
protoOf(DefinitionListBuilder).
|
|
8945
|
-
var tmp0_elvis_lhs = this.
|
|
8946
|
-
return tmp0_elvis_lhs == null ? this.
|
|
8944
|
+
protoOf(DefinitionListBuilder).d29 = function () {
|
|
8945
|
+
var tmp0_elvis_lhs = this.a29_1;
|
|
8946
|
+
return tmp0_elvis_lhs == null ? this.z28_1 ? 2 : 0 : tmp0_elvis_lhs;
|
|
8947
8947
|
};
|
|
8948
|
-
protoOf(DefinitionListBuilder).
|
|
8949
|
-
var tmp0_elvis_lhs = this.
|
|
8950
|
-
return tmp0_elvis_lhs == null ? this.
|
|
8948
|
+
protoOf(DefinitionListBuilder).e29 = function () {
|
|
8949
|
+
var tmp0_elvis_lhs = this.b29_1;
|
|
8950
|
+
return tmp0_elvis_lhs == null ? this.z28_1 ? 0 : 1 : tmp0_elvis_lhs;
|
|
8951
8951
|
};
|
|
8952
|
-
protoOf(DefinitionListBuilder).
|
|
8953
|
-
this.
|
|
8952
|
+
protoOf(DefinitionListBuilder).f29 = function (term, description) {
|
|
8953
|
+
this.g29(Text_init_$Create$(term), description);
|
|
8954
8954
|
};
|
|
8955
|
-
protoOf(DefinitionListBuilder).
|
|
8956
|
-
var tmp0 = this.
|
|
8955
|
+
protoOf(DefinitionListBuilder).g29 = function (term, description) {
|
|
8956
|
+
var tmp0 = this.y28_1;
|
|
8957
8957
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8958
8958
|
var element = to(term, description);
|
|
8959
8959
|
tmp0.v(element);
|
|
8960
8960
|
};
|
|
8961
|
-
protoOf(DefinitionListBuilder).
|
|
8962
|
-
return new DefinitionList(this.
|
|
8961
|
+
protoOf(DefinitionListBuilder).u21 = function () {
|
|
8962
|
+
return new DefinitionList(this.y28_1, this.z28_1, this.d29(), this.e29());
|
|
8963
8963
|
};
|
|
8964
8964
|
function _get_keys__d97k5z($this) {
|
|
8965
8965
|
// Inline function 'kotlin.collections.map' call
|
|
8966
|
-
var this_0 = $this.
|
|
8966
|
+
var this_0 = $this.h29_1;
|
|
8967
8967
|
// Inline function 'kotlin.collections.mapTo' call
|
|
8968
8968
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8969
8969
|
var _iterator__ex2g4s = this_0.r();
|
|
@@ -8976,7 +8976,7 @@
|
|
|
8976
8976
|
}
|
|
8977
8977
|
function _get_values__tel787($this) {
|
|
8978
8978
|
// Inline function 'kotlin.collections.map' call
|
|
8979
|
-
var this_0 = $this.
|
|
8979
|
+
var this_0 = $this.h29_1;
|
|
8980
8980
|
// Inline function 'kotlin.collections.mapTo' call
|
|
8981
8981
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8982
8982
|
var _iterator__ex2g4s = this_0.r();
|
|
@@ -8992,27 +8992,27 @@
|
|
|
8992
8992
|
}
|
|
8993
8993
|
function DefinitionList$render$lambda($descOffset) {
|
|
8994
8994
|
return function ($this$withPadding) {
|
|
8995
|
-
$this$withPadding.
|
|
8995
|
+
$this$withPadding.i27_1 = $descOffset;
|
|
8996
8996
|
return Unit_instance;
|
|
8997
8997
|
};
|
|
8998
8998
|
}
|
|
8999
8999
|
function DefinitionList(entries, inline, descriptionSpacing, entrySpacing) {
|
|
9000
|
-
this.
|
|
9001
|
-
this.
|
|
9002
|
-
this.
|
|
9003
|
-
this.
|
|
9000
|
+
this.h29_1 = entries;
|
|
9001
|
+
this.i29_1 = inline;
|
|
9002
|
+
this.j29_1 = descriptionSpacing;
|
|
9003
|
+
this.k29_1 = entrySpacing;
|
|
9004
9004
|
// Inline function 'kotlin.require' call
|
|
9005
|
-
if (!(this.
|
|
9005
|
+
if (!(this.j29_1 >= 0)) {
|
|
9006
9006
|
var message = 'Spacing cannot be negative';
|
|
9007
9007
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
9008
9008
|
}
|
|
9009
9009
|
}
|
|
9010
|
-
protoOf(DefinitionList).
|
|
9010
|
+
protoOf(DefinitionList).b22 = function (t, width) {
|
|
9011
9011
|
var termMeasurement = maxWidthRange(_get_keys__d97k5z(this), t, width);
|
|
9012
9012
|
var descMeasurement = measureDescriptions(this, t, width);
|
|
9013
9013
|
var tmp;
|
|
9014
|
-
if (this.
|
|
9015
|
-
tmp = termMeasurement.
|
|
9014
|
+
if (this.i29_1) {
|
|
9015
|
+
tmp = termMeasurement.s22(descMeasurement).r22(this.j29_1);
|
|
9016
9016
|
} else {
|
|
9017
9017
|
// Inline function 'com.github.ajalt.mordant.rendering.maxWidthRange' call
|
|
9018
9018
|
var max = 0;
|
|
@@ -9029,18 +9029,18 @@
|
|
|
9029
9029
|
var range = tmp_0;
|
|
9030
9030
|
var tmp0 = max;
|
|
9031
9031
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
9032
|
-
var b = range.
|
|
9032
|
+
var b = range.q22_1;
|
|
9033
9033
|
max = Math.max(tmp0, b);
|
|
9034
9034
|
var tmp0_0 = min;
|
|
9035
9035
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
9036
|
-
var b_0 = range.
|
|
9036
|
+
var b_0 = range.p22_1;
|
|
9037
9037
|
min = Math.max(tmp0_0, b_0);
|
|
9038
9038
|
}
|
|
9039
9039
|
tmp = new WidthRange(min + 0 | 0, max + 0 | 0);
|
|
9040
9040
|
}
|
|
9041
9041
|
return tmp;
|
|
9042
9042
|
};
|
|
9043
|
-
protoOf(DefinitionList).
|
|
9043
|
+
protoOf(DefinitionList).c22 = function (t, width) {
|
|
9044
9044
|
if (width === 0)
|
|
9045
9045
|
return get_EMPTY_LINES();
|
|
9046
9046
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -9050,19 +9050,19 @@
|
|
|
9050
9050
|
var _iterator__ex2g4s = this_0.r();
|
|
9051
9051
|
while (_iterator__ex2g4s.s()) {
|
|
9052
9052
|
var item = _iterator__ex2g4s.t();
|
|
9053
|
-
var tmp$ret$2 = item.
|
|
9053
|
+
var tmp$ret$2 = item.b22(t, width);
|
|
9054
9054
|
destination.v(tmp$ret$2);
|
|
9055
9055
|
}
|
|
9056
9056
|
var termMeasurements = destination;
|
|
9057
9057
|
var maxInlineTermWidth = numberToInt(width / 2.5);
|
|
9058
|
-
var maxDescWidth = measureDescriptions(this, t, width).
|
|
9058
|
+
var maxDescWidth = measureDescriptions(this, t, width).q22_1;
|
|
9059
9059
|
// Inline function 'kotlin.collections.filter' call
|
|
9060
9060
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9061
9061
|
var destination_0 = ArrayList_init_$Create$();
|
|
9062
9062
|
var _iterator__ex2g4s_0 = termMeasurements.r();
|
|
9063
9063
|
while (_iterator__ex2g4s_0.s()) {
|
|
9064
9064
|
var element = _iterator__ex2g4s_0.t();
|
|
9065
|
-
if (element.
|
|
9065
|
+
if (element.q22_1 <= maxInlineTermWidth || (this.i29_1 && ((element.q22_1 + this.j29_1 | 0) + maxDescWidth | 0) <= width)) {
|
|
9066
9066
|
destination_0.v(element);
|
|
9067
9067
|
}
|
|
9068
9068
|
}
|
|
@@ -9081,18 +9081,18 @@
|
|
|
9081
9081
|
var range = tmp;
|
|
9082
9082
|
var tmp0 = max;
|
|
9083
9083
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
9084
|
-
var b = range.
|
|
9084
|
+
var b = range.q22_1;
|
|
9085
9085
|
max = Math.max(tmp0, b);
|
|
9086
9086
|
var tmp0_0 = min;
|
|
9087
9087
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
9088
|
-
var b_0 = range.
|
|
9088
|
+
var b_0 = range.p22_1;
|
|
9089
9089
|
min = Math.max(tmp0_0, b_0);
|
|
9090
9090
|
}
|
|
9091
|
-
var termWidth = (new WidthRange(min + 0 | 0, max + 0 | 0)).
|
|
9092
|
-
var descOffset = coerceAtLeast(termWidth + this.
|
|
9091
|
+
var termWidth = (new WidthRange(min + 0 | 0, max + 0 | 0)).q22_1;
|
|
9092
|
+
var descOffset = coerceAtLeast(termWidth + this.j29_1 | 0, 4);
|
|
9093
9093
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
9094
9094
|
var lines = ArrayList_init_$Create$();
|
|
9095
|
-
var iterator = this.
|
|
9095
|
+
var iterator = this.h29_1.r();
|
|
9096
9096
|
var index = 0;
|
|
9097
9097
|
$l$loop_1: while (iterator.s()) {
|
|
9098
9098
|
var i = index;
|
|
@@ -9100,7 +9100,7 @@
|
|
|
9100
9100
|
var entry = iterator.t();
|
|
9101
9101
|
if (i > 0) {
|
|
9102
9102
|
// Inline function 'kotlin.repeat' call
|
|
9103
|
-
var times = this.
|
|
9103
|
+
var times = this.k29_1;
|
|
9104
9104
|
var inductionVariable = 0;
|
|
9105
9105
|
if (inductionVariable < times)
|
|
9106
9106
|
do {
|
|
@@ -9114,12 +9114,12 @@
|
|
|
9114
9114
|
}
|
|
9115
9115
|
var term = entry.fa();
|
|
9116
9116
|
var desc = entry.ga();
|
|
9117
|
-
if (!this.
|
|
9117
|
+
if (!this.i29_1) {
|
|
9118
9118
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9119
|
-
var elements = term.
|
|
9119
|
+
var elements = term.c22(t, width).c1y_1;
|
|
9120
9120
|
addAll(lines, elements);
|
|
9121
9121
|
// Inline function 'kotlin.repeat' call
|
|
9122
|
-
var times_0 = this.
|
|
9122
|
+
var times_0 = this.j29_1;
|
|
9123
9123
|
var inductionVariable_0 = 0;
|
|
9124
9124
|
if (inductionVariable_0 < times_0)
|
|
9125
9125
|
do {
|
|
@@ -9131,28 +9131,28 @@
|
|
|
9131
9131
|
}
|
|
9132
9132
|
while (inductionVariable_0 < times_0);
|
|
9133
9133
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9134
|
-
var elements_0 = desc.
|
|
9134
|
+
var elements_0 = desc.c22(t, width).c1y_1;
|
|
9135
9135
|
addAll(lines, elements_0);
|
|
9136
9136
|
continue $l$loop_1;
|
|
9137
9137
|
}
|
|
9138
|
-
if (termMeasurements.c1(i).
|
|
9138
|
+
if (termMeasurements.c1(i).q22_1 > termWidth) {
|
|
9139
9139
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9140
|
-
var elements_1 = term.
|
|
9140
|
+
var elements_1 = term.c22(t, width).c1y_1;
|
|
9141
9141
|
addAll(lines, elements_1);
|
|
9142
9142
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9143
|
-
var elements_2 = withPadding(desc, VOID, DefinitionList$render$lambda(descOffset)).
|
|
9143
|
+
var elements_2 = withPadding(desc, VOID, DefinitionList$render$lambda(descOffset)).c22(t, width).c1y_1;
|
|
9144
9144
|
addAll(lines, elements_2);
|
|
9145
9145
|
continue $l$loop_1;
|
|
9146
9146
|
}
|
|
9147
|
-
var termLines = term.
|
|
9148
|
-
var descLines = desc.
|
|
9147
|
+
var termLines = term.c22(t, termWidth).c1y_1;
|
|
9148
|
+
var descLines = desc.c22(t, coerceAtLeast((width - termWidth | 0) - this.j29_1 | 0, 0)).c1y_1;
|
|
9149
9149
|
// Inline function 'kotlin.collections.mapTo' call
|
|
9150
9150
|
var _iterator__ex2g4s_2 = zip(termLines, descLines).r();
|
|
9151
9151
|
while (_iterator__ex2g4s_2.s()) {
|
|
9152
9152
|
var item_0 = _iterator__ex2g4s_2.t();
|
|
9153
9153
|
var t_0 = item_0.fa();
|
|
9154
9154
|
var d = item_0.ga();
|
|
9155
|
-
var tmp$ret$22 = flatLine([t_0, Companion_instance_0.
|
|
9155
|
+
var tmp$ret$22 = flatLine([t_0, Companion_instance_0.j1y((this.j29_1 + termWidth | 0) - get_lineWidth(t_0) | 0), d]);
|
|
9156
9156
|
lines.v(tmp$ret$22);
|
|
9157
9157
|
}
|
|
9158
9158
|
if (termLines.d1() > descLines.d1()) {
|
|
@@ -9160,7 +9160,7 @@
|
|
|
9160
9160
|
var elements_3 = drop_0(termLines, descLines.d1());
|
|
9161
9161
|
addAll(lines, elements_3);
|
|
9162
9162
|
} else if (descLines.d1() > termLines.d1()) {
|
|
9163
|
-
var paddingLeft = descOffset > 0 ? listOf_0(Companion_instance_0.
|
|
9163
|
+
var paddingLeft = descOffset > 0 ? listOf_0(Companion_instance_0.j1y(descOffset)) : get_EMPTY_LINE();
|
|
9164
9164
|
// Inline function 'kotlin.collections.mapTo' call
|
|
9165
9165
|
var _iterator__ex2g4s_3 = drop_0(descLines, termLines.d1()).r();
|
|
9166
9166
|
while (_iterator__ex2g4s_3.s()) {
|
|
@@ -9183,10 +9183,10 @@
|
|
|
9183
9183
|
};
|
|
9184
9184
|
function EmptyWidget() {
|
|
9185
9185
|
}
|
|
9186
|
-
protoOf(EmptyWidget).
|
|
9186
|
+
protoOf(EmptyWidget).b22 = function (t, width) {
|
|
9187
9187
|
return new WidthRange(0, 0);
|
|
9188
9188
|
};
|
|
9189
|
-
protoOf(EmptyWidget).
|
|
9189
|
+
protoOf(EmptyWidget).c22 = function (t, width) {
|
|
9190
9190
|
return get_EMPTY_LINES();
|
|
9191
9191
|
};
|
|
9192
9192
|
var EmptyWidget_instance;
|
|
@@ -9207,23 +9207,23 @@
|
|
|
9207
9207
|
return Companion_instance_4;
|
|
9208
9208
|
}
|
|
9209
9209
|
function Builder(top, right, bottom, left) {
|
|
9210
|
-
this.
|
|
9211
|
-
this.
|
|
9212
|
-
this.
|
|
9213
|
-
this.
|
|
9210
|
+
this.f27_1 = top;
|
|
9211
|
+
this.g27_1 = right;
|
|
9212
|
+
this.h27_1 = bottom;
|
|
9213
|
+
this.i27_1 = left;
|
|
9214
9214
|
}
|
|
9215
|
-
protoOf(Builder).
|
|
9215
|
+
protoOf(Builder).j27 = function (value) {
|
|
9216
|
+
this.i27_1 = value;
|
|
9216
9217
|
this.g27_1 = value;
|
|
9217
|
-
this.e27_1 = value;
|
|
9218
9218
|
};
|
|
9219
9219
|
protoOf(Builder).toString = function () {
|
|
9220
|
-
return 'Builder(top=' + this.
|
|
9220
|
+
return 'Builder(top=' + this.f27_1 + ', right=' + this.g27_1 + ', bottom=' + this.h27_1 + ', left=' + this.i27_1 + ')';
|
|
9221
9221
|
};
|
|
9222
9222
|
protoOf(Builder).hashCode = function () {
|
|
9223
|
-
var result = this.
|
|
9224
|
-
result = imul(result, 31) + this.e27_1 | 0;
|
|
9225
|
-
result = imul(result, 31) + this.f27_1 | 0;
|
|
9223
|
+
var result = this.f27_1;
|
|
9226
9224
|
result = imul(result, 31) + this.g27_1 | 0;
|
|
9225
|
+
result = imul(result, 31) + this.h27_1 | 0;
|
|
9226
|
+
result = imul(result, 31) + this.i27_1 | 0;
|
|
9227
9227
|
return result;
|
|
9228
9228
|
};
|
|
9229
9229
|
protoOf(Builder).equals = function (other) {
|
|
@@ -9232,53 +9232,53 @@
|
|
|
9232
9232
|
if (!(other instanceof Builder))
|
|
9233
9233
|
return false;
|
|
9234
9234
|
var tmp0_other_with_cast = other instanceof Builder ? other : THROW_CCE();
|
|
9235
|
-
if (!(this.d27_1 === tmp0_other_with_cast.d27_1))
|
|
9236
|
-
return false;
|
|
9237
|
-
if (!(this.e27_1 === tmp0_other_with_cast.e27_1))
|
|
9238
|
-
return false;
|
|
9239
9235
|
if (!(this.f27_1 === tmp0_other_with_cast.f27_1))
|
|
9240
9236
|
return false;
|
|
9241
9237
|
if (!(this.g27_1 === tmp0_other_with_cast.g27_1))
|
|
9242
9238
|
return false;
|
|
9239
|
+
if (!(this.h27_1 === tmp0_other_with_cast.h27_1))
|
|
9240
|
+
return false;
|
|
9241
|
+
if (!(this.i27_1 === tmp0_other_with_cast.i27_1))
|
|
9242
|
+
return false;
|
|
9243
9243
|
return true;
|
|
9244
9244
|
};
|
|
9245
9245
|
function Padding(top, right, bottom, left) {
|
|
9246
|
-
this.
|
|
9247
|
-
this.
|
|
9248
|
-
this.
|
|
9249
|
-
this.
|
|
9246
|
+
this.k27_1 = top;
|
|
9247
|
+
this.l27_1 = right;
|
|
9248
|
+
this.m27_1 = bottom;
|
|
9249
|
+
this.n27_1 = left;
|
|
9250
9250
|
// Inline function 'kotlin.require' call
|
|
9251
|
-
if (!(this.
|
|
9251
|
+
if (!(this.k27_1 >= 0)) {
|
|
9252
9252
|
var message = 'Invalid negative top padding';
|
|
9253
9253
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
9254
9254
|
}
|
|
9255
9255
|
// Inline function 'kotlin.require' call
|
|
9256
|
-
if (!(this.
|
|
9256
|
+
if (!(this.l27_1 >= 0)) {
|
|
9257
9257
|
var message_0 = 'Invalid negative right padding';
|
|
9258
9258
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
9259
9259
|
}
|
|
9260
9260
|
// Inline function 'kotlin.require' call
|
|
9261
|
-
if (!(this.
|
|
9261
|
+
if (!(this.m27_1 >= 0)) {
|
|
9262
9262
|
var message_1 = 'Invalid negative bottom padding';
|
|
9263
9263
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
9264
9264
|
}
|
|
9265
9265
|
// Inline function 'kotlin.require' call
|
|
9266
|
-
if (!(this.
|
|
9266
|
+
if (!(this.n27_1 >= 0)) {
|
|
9267
9267
|
var message_2 = 'Invalid negative left padding';
|
|
9268
9268
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
9269
9269
|
}
|
|
9270
9270
|
}
|
|
9271
|
-
protoOf(Padding).
|
|
9272
|
-
return this.
|
|
9271
|
+
protoOf(Padding).l29 = function () {
|
|
9272
|
+
return this.k27_1 === 0 && this.l27_1 === 0 && this.m27_1 === 0 && this.n27_1 === 0;
|
|
9273
9273
|
};
|
|
9274
9274
|
protoOf(Padding).toString = function () {
|
|
9275
|
-
return 'Padding(top=' + this.
|
|
9275
|
+
return 'Padding(top=' + this.k27_1 + ', right=' + this.l27_1 + ', bottom=' + this.m27_1 + ', left=' + this.n27_1 + ')';
|
|
9276
9276
|
};
|
|
9277
9277
|
protoOf(Padding).hashCode = function () {
|
|
9278
|
-
var result = this.
|
|
9279
|
-
result = imul(result, 31) + this.j27_1 | 0;
|
|
9280
|
-
result = imul(result, 31) + this.k27_1 | 0;
|
|
9278
|
+
var result = this.k27_1;
|
|
9281
9279
|
result = imul(result, 31) + this.l27_1 | 0;
|
|
9280
|
+
result = imul(result, 31) + this.m27_1 | 0;
|
|
9281
|
+
result = imul(result, 31) + this.n27_1 | 0;
|
|
9282
9282
|
return result;
|
|
9283
9283
|
};
|
|
9284
9284
|
protoOf(Padding).equals = function (other) {
|
|
@@ -9287,14 +9287,14 @@
|
|
|
9287
9287
|
if (!(other instanceof Padding))
|
|
9288
9288
|
return false;
|
|
9289
9289
|
var tmp0_other_with_cast = other instanceof Padding ? other : THROW_CCE();
|
|
9290
|
-
if (!(this.i27_1 === tmp0_other_with_cast.i27_1))
|
|
9291
|
-
return false;
|
|
9292
|
-
if (!(this.j27_1 === tmp0_other_with_cast.j27_1))
|
|
9293
|
-
return false;
|
|
9294
9290
|
if (!(this.k27_1 === tmp0_other_with_cast.k27_1))
|
|
9295
9291
|
return false;
|
|
9296
9292
|
if (!(this.l27_1 === tmp0_other_with_cast.l27_1))
|
|
9297
9293
|
return false;
|
|
9294
|
+
if (!(this.m27_1 === tmp0_other_with_cast.m27_1))
|
|
9295
|
+
return false;
|
|
9296
|
+
if (!(this.n27_1 === tmp0_other_with_cast.n27_1))
|
|
9297
|
+
return false;
|
|
9298
9298
|
return true;
|
|
9299
9299
|
};
|
|
9300
9300
|
function withPadding(_this__u8e3s4, padEmptyLines, padding) {
|
|
@@ -9305,18 +9305,18 @@
|
|
|
9305
9305
|
var this_0 = new Builder(0, 0, 0, 0);
|
|
9306
9306
|
padding(this_0);
|
|
9307
9307
|
var b = this_0;
|
|
9308
|
-
var tmp$ret$0 = new Padding(b.
|
|
9309
|
-
return tmp.
|
|
9308
|
+
var tmp$ret$0 = new Padding(b.f27_1, b.g27_1, b.h27_1, b.i27_1);
|
|
9309
|
+
return tmp.m29(_this__u8e3s4, tmp$ret$0, padEmptyLines);
|
|
9310
9310
|
}
|
|
9311
9311
|
function Companion_5() {
|
|
9312
9312
|
}
|
|
9313
|
-
protoOf(Companion_5).
|
|
9313
|
+
protoOf(Companion_5).m29 = function (content, padding, padEmptyLines) {
|
|
9314
9314
|
var tmp;
|
|
9315
|
-
if (padding.
|
|
9315
|
+
if (padding.l29()) {
|
|
9316
9316
|
tmp = content;
|
|
9317
9317
|
} else {
|
|
9318
9318
|
if (content instanceof Padded) {
|
|
9319
|
-
tmp = new Padded(content.
|
|
9319
|
+
tmp = new Padded(content.n29_1, plus_2(content.o29_1, padding), padEmptyLines);
|
|
9320
9320
|
} else {
|
|
9321
9321
|
tmp = new Padded(content, padding, padEmptyLines);
|
|
9322
9322
|
}
|
|
@@ -9328,23 +9328,23 @@
|
|
|
9328
9328
|
return Companion_instance_5;
|
|
9329
9329
|
}
|
|
9330
9330
|
function _get_paddingWidth__8vycom($this) {
|
|
9331
|
-
return $this.
|
|
9331
|
+
return $this.o29_1.n27_1 + $this.o29_1.l27_1 | 0;
|
|
9332
9332
|
}
|
|
9333
9333
|
function Padded(content, padding, padEmptyLines) {
|
|
9334
|
-
this.
|
|
9335
|
-
this.
|
|
9336
|
-
this.
|
|
9337
|
-
}
|
|
9338
|
-
protoOf(Padded).
|
|
9339
|
-
return this.
|
|
9340
|
-
};
|
|
9341
|
-
protoOf(Padded).
|
|
9342
|
-
var lines = this.
|
|
9343
|
-
var output = ArrayList_init_$Create$_0((this.
|
|
9344
|
-
var left = this.
|
|
9345
|
-
var right = this.
|
|
9334
|
+
this.n29_1 = content;
|
|
9335
|
+
this.o29_1 = padding;
|
|
9336
|
+
this.p29_1 = padEmptyLines;
|
|
9337
|
+
}
|
|
9338
|
+
protoOf(Padded).b22 = function (t, width) {
|
|
9339
|
+
return this.n29_1.b22(t, width - _get_paddingWidth__8vycom(this) | 0).r22(_get_paddingWidth__8vycom(this));
|
|
9340
|
+
};
|
|
9341
|
+
protoOf(Padded).c22 = function (t, width) {
|
|
9342
|
+
var lines = this.n29_1.c22(t, coerceAtLeast(width - _get_paddingWidth__8vycom(this) | 0, 0));
|
|
9343
|
+
var output = ArrayList_init_$Create$_0((this.o29_1.k27_1 + lines.f20() | 0) + this.o29_1.m27_1 | 0);
|
|
9344
|
+
var left = this.o29_1.n27_1 > 0 ? listOf_0(Companion_instance_0.j1y(this.o29_1.n27_1)) : get_EMPTY_LINE();
|
|
9345
|
+
var right = this.o29_1.l27_1 > 0 ? listOf_0(Companion_instance_0.j1y(this.o29_1.l27_1)) : get_EMPTY_LINE();
|
|
9346
9346
|
// Inline function 'kotlin.repeat' call
|
|
9347
|
-
var times = this.
|
|
9347
|
+
var times = this.o29_1.k27_1;
|
|
9348
9348
|
var inductionVariable = 0;
|
|
9349
9349
|
if (inductionVariable < times)
|
|
9350
9350
|
do {
|
|
@@ -9353,15 +9353,15 @@
|
|
|
9353
9353
|
output.v(get_EMPTY_LINE());
|
|
9354
9354
|
}
|
|
9355
9355
|
while (inductionVariable < times);
|
|
9356
|
-
var _iterator__ex2g4s = lines.
|
|
9356
|
+
var _iterator__ex2g4s = lines.c1y_1.r();
|
|
9357
9357
|
while (_iterator__ex2g4s.s()) {
|
|
9358
9358
|
var line = _iterator__ex2g4s.t();
|
|
9359
9359
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9360
|
-
var element = !this.
|
|
9360
|
+
var element = !this.p29_1 && line.p() ? get_EMPTY_LINE() : flatLine([left, line, right]);
|
|
9361
9361
|
output.v(element);
|
|
9362
9362
|
}
|
|
9363
9363
|
// Inline function 'kotlin.repeat' call
|
|
9364
|
-
var times_0 = this.
|
|
9364
|
+
var times_0 = this.o29_1.m27_1;
|
|
9365
9365
|
var inductionVariable_0 = 0;
|
|
9366
9366
|
if (inductionVariable_0 < times_0)
|
|
9367
9367
|
do {
|
|
@@ -9373,11 +9373,11 @@
|
|
|
9373
9373
|
return new Lines(output);
|
|
9374
9374
|
};
|
|
9375
9375
|
function plus_2(_this__u8e3s4, other) {
|
|
9376
|
-
return new Padding(_this__u8e3s4.
|
|
9376
|
+
return new Padding(_this__u8e3s4.k27_1 + other.k27_1 | 0, _this__u8e3s4.l27_1 + other.l27_1 | 0, _this__u8e3s4.m27_1 + other.m27_1 | 0, _this__u8e3s4.n27_1 + other.n27_1 | 0);
|
|
9377
9377
|
}
|
|
9378
9378
|
function withPadding_0(_this__u8e3s4, padding, padEmptyLines) {
|
|
9379
9379
|
padEmptyLines = padEmptyLines === VOID ? true : padEmptyLines;
|
|
9380
|
-
return Companion_instance_5.
|
|
9380
|
+
return Companion_instance_5.m29(_this__u8e3s4, padding, padEmptyLines);
|
|
9381
9381
|
}
|
|
9382
9382
|
function Text_init_$Init$(text, whitespace, align, overflowWrap, width, tabWidth, $this) {
|
|
9383
9383
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
@@ -9401,48 +9401,48 @@
|
|
|
9401
9401
|
var endStyle = {_v: get_DEFAULT_STYLE()};
|
|
9402
9402
|
var width = {_v: 0};
|
|
9403
9403
|
var lastPieceWasWhitespace = {_v: true};
|
|
9404
|
-
var _iterator__ex2g4s = $this.
|
|
9404
|
+
var _iterator__ex2g4s = $this.q29_1.c1y_1.r();
|
|
9405
9405
|
while (_iterator__ex2g4s.s()) {
|
|
9406
9406
|
var oldLine = _iterator__ex2g4s.t();
|
|
9407
9407
|
var lastNonWhitespace_0 = lastNonWhitespace($this, oldLine, align);
|
|
9408
|
-
endStyle._v = oldLine.
|
|
9408
|
+
endStyle._v = oldLine.e1y_1;
|
|
9409
9409
|
var iterator = oldLine.r();
|
|
9410
9410
|
var index = 0;
|
|
9411
9411
|
loop: while (iterator.s()) {
|
|
9412
9412
|
var i = index;
|
|
9413
9413
|
index = index + 1 | 0;
|
|
9414
9414
|
var piece = iterator.t();
|
|
9415
|
-
if (piece.
|
|
9415
|
+
if (piece.f1y_1 === '\x85' || piece.f1y_1 === '\u2028') {
|
|
9416
9416
|
wrap$breakLine($this, align, line, width, wrapWidth, endStyle, lines, lastPieceWasWhitespace);
|
|
9417
9417
|
continue loop;
|
|
9418
9418
|
}
|
|
9419
|
-
if (($this.
|
|
9419
|
+
if (($this.r29_1.a22_1 || align.equals(TextAlign_JUSTIFY_getInstance())) && (0 <= lastNonWhitespace_0 ? lastNonWhitespace_0 < i : false)) {
|
|
9420
9420
|
continue loop;
|
|
9421
9421
|
}
|
|
9422
9422
|
if (i === 0 && !lastPieceWasWhitespace._v) {
|
|
9423
|
-
var tmp152_subject = last(line._v).
|
|
9423
|
+
var tmp152_subject = last(line._v).g1y_1;
|
|
9424
9424
|
var tmp;
|
|
9425
9425
|
var tmp153_safe_receiver = firstOrNull(oldLine);
|
|
9426
|
-
if (equals(tmp152_subject, tmp153_safe_receiver == null ? null : tmp153_safe_receiver.
|
|
9427
|
-
tmp = last(line._v).
|
|
9426
|
+
if (equals(tmp152_subject, tmp153_safe_receiver == null ? null : tmp153_safe_receiver.g1y_1)) {
|
|
9427
|
+
tmp = last(line._v).g1y_1;
|
|
9428
9428
|
} else {
|
|
9429
9429
|
tmp = get_DEFAULT_STYLE();
|
|
9430
9430
|
}
|
|
9431
9431
|
var style = tmp;
|
|
9432
|
-
line._v.v(Companion_instance_0.
|
|
9432
|
+
line._v.v(Companion_instance_0.p1y(' ', style));
|
|
9433
9433
|
lastPieceWasWhitespace._v = true;
|
|
9434
9434
|
width._v = width._v + 1 | 0;
|
|
9435
9435
|
}
|
|
9436
|
-
var pieceIsWhitespace = piece.
|
|
9437
|
-
if (pieceIsWhitespace && lastPieceWasWhitespace._v && $this.
|
|
9436
|
+
var pieceIsWhitespace = piece.p20();
|
|
9437
|
+
if (pieceIsWhitespace && lastPieceWasWhitespace._v && $this.r29_1.y21_1)
|
|
9438
9438
|
continue loop;
|
|
9439
9439
|
var tmp_0;
|
|
9440
|
-
if (pieceIsWhitespace && $this.
|
|
9441
|
-
tmp_0 = Companion_instance_0.
|
|
9442
|
-
} else if (piece.
|
|
9440
|
+
if (pieceIsWhitespace && $this.r29_1.y21_1) {
|
|
9441
|
+
tmp_0 = Companion_instance_0.k20(1, piece.g1y_1);
|
|
9442
|
+
} else if (piece.q20()) {
|
|
9443
9443
|
var tmp_1;
|
|
9444
9444
|
if (tabWidth > 0) {
|
|
9445
|
-
tmp_1 = Companion_instance_0.
|
|
9445
|
+
tmp_1 = Companion_instance_0.k20(tabWidth - (width._v % tabWidth | 0) | 0, piece.g1y_1);
|
|
9446
9446
|
} else {
|
|
9447
9447
|
continue loop;
|
|
9448
9448
|
}
|
|
@@ -9451,34 +9451,34 @@
|
|
|
9451
9451
|
tmp_0 = piece;
|
|
9452
9452
|
}
|
|
9453
9453
|
var span = tmp_0;
|
|
9454
|
-
var cellWidth = span.
|
|
9455
|
-
if ($this.
|
|
9454
|
+
var cellWidth = span.j20();
|
|
9455
|
+
if ($this.r29_1.z21_1 && width._v > 0 && (width._v + cellWidth | 0) > wrapWidth) {
|
|
9456
9456
|
wrap$breakLine($this, align, line, width, wrapWidth, endStyle, lines, lastPieceWasWhitespace);
|
|
9457
9457
|
if (pieceIsWhitespace)
|
|
9458
9458
|
continue loop;
|
|
9459
9459
|
}
|
|
9460
|
-
if ($this.
|
|
9460
|
+
if ($this.r29_1.z21_1 && cellWidth > wrapWidth) {
|
|
9461
9461
|
switch (overflowWrap.y2_1) {
|
|
9462
9462
|
case 0:
|
|
9463
9463
|
break;
|
|
9464
9464
|
case 2:
|
|
9465
|
-
span = Companion_instance_0.
|
|
9465
|
+
span = Companion_instance_0.p1y(take(span.f1y_1, wrapWidth), span.g1y_1);
|
|
9466
9466
|
break;
|
|
9467
9467
|
case 3:
|
|
9468
|
-
span = Companion_instance_0.
|
|
9468
|
+
span = Companion_instance_0.p1y(take(span.f1y_1, wrapWidth - 1 | 0) + '\u2026', span.g1y_1);
|
|
9469
9469
|
break;
|
|
9470
9470
|
case 1:
|
|
9471
9471
|
// Inline function 'kotlin.collections.forEach' call
|
|
9472
9472
|
|
|
9473
|
-
var _iterator__ex2g4s_0 = chunked(span.
|
|
9473
|
+
var _iterator__ex2g4s_0 = chunked(span.f1y_1, wrapWidth).r();
|
|
9474
9474
|
while (_iterator__ex2g4s_0.s()) {
|
|
9475
9475
|
var element = _iterator__ex2g4s_0.t();
|
|
9476
9476
|
if (element.length === wrapWidth) {
|
|
9477
9477
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9478
|
-
var element_0 = Line_init_$Create$(listOf_0(Companion_instance_0.
|
|
9478
|
+
var element_0 = Line_init_$Create$(listOf_0(Companion_instance_0.p1y(element, span.g1y_1)));
|
|
9479
9479
|
lines.v(element_0);
|
|
9480
9480
|
} else {
|
|
9481
|
-
span = Companion_instance_0.
|
|
9481
|
+
span = Companion_instance_0.p1y(element, span.g1y_1);
|
|
9482
9482
|
}
|
|
9483
9483
|
}
|
|
9484
9484
|
|
|
@@ -9488,11 +9488,11 @@
|
|
|
9488
9488
|
break;
|
|
9489
9489
|
}
|
|
9490
9490
|
}
|
|
9491
|
-
width._v = width._v + span.
|
|
9491
|
+
width._v = width._v + span.j20() | 0;
|
|
9492
9492
|
line._v.v(span);
|
|
9493
9493
|
lastPieceWasWhitespace._v = pieceIsWhitespace;
|
|
9494
9494
|
}
|
|
9495
|
-
if (!$this.
|
|
9495
|
+
if (!$this.r29_1.x21_1) {
|
|
9496
9496
|
wrap$breakLine($this, align, line, width, wrapWidth, endStyle, lines, lastPieceWasWhitespace);
|
|
9497
9497
|
}
|
|
9498
9498
|
}
|
|
@@ -9504,13 +9504,13 @@
|
|
|
9504
9504
|
}
|
|
9505
9505
|
function lastNonWhitespace($this, line, align) {
|
|
9506
9506
|
var tmp;
|
|
9507
|
-
if ($this.
|
|
9507
|
+
if ($this.r29_1.a22_1 || align.equals(TextAlign_JUSTIFY_getInstance())) {
|
|
9508
9508
|
var tmp$ret$0;
|
|
9509
9509
|
$l$block: {
|
|
9510
9510
|
// Inline function 'kotlin.collections.indexOfLast' call
|
|
9511
9511
|
var iterator = line.i1(line.d1());
|
|
9512
9512
|
while (iterator.g4()) {
|
|
9513
|
-
if (!iterator.i4().
|
|
9513
|
+
if (!iterator.i4().p20()) {
|
|
9514
9514
|
tmp$ret$0 = iterator.h4();
|
|
9515
9515
|
break $l$block;
|
|
9516
9516
|
}
|
|
@@ -9548,14 +9548,14 @@
|
|
|
9548
9548
|
function alignLineLeft($this, line, extraWidth, endStyle) {
|
|
9549
9549
|
var tmp = Companion_instance_0;
|
|
9550
9550
|
var tmp156_safe_receiver = lastOrNull(line);
|
|
9551
|
-
var tmp0_elvis_lhs = tmp156_safe_receiver == null ? null : tmp156_safe_receiver.
|
|
9552
|
-
line.v(tmp.
|
|
9551
|
+
var tmp0_elvis_lhs = tmp156_safe_receiver == null ? null : tmp156_safe_receiver.g1y_1;
|
|
9552
|
+
line.v(tmp.k20(extraWidth, tmp0_elvis_lhs == null ? endStyle : tmp0_elvis_lhs));
|
|
9553
9553
|
}
|
|
9554
9554
|
function alignLineRight($this, line, extraWidth, endStyle) {
|
|
9555
9555
|
var tmp = Companion_instance_0;
|
|
9556
9556
|
var tmp157_safe_receiver = firstOrNull(line);
|
|
9557
|
-
var tmp0_elvis_lhs = tmp157_safe_receiver == null ? null : tmp157_safe_receiver.
|
|
9558
|
-
line.u2(0, tmp.
|
|
9557
|
+
var tmp0_elvis_lhs = tmp157_safe_receiver == null ? null : tmp157_safe_receiver.g1y_1;
|
|
9558
|
+
line.u2(0, tmp.k20(extraWidth, tmp0_elvis_lhs == null ? endStyle : tmp0_elvis_lhs));
|
|
9559
9559
|
}
|
|
9560
9560
|
function alignLineCenter($this, line, extraWidth, endStyle) {
|
|
9561
9561
|
var halfExtra = extraWidth / 2 | 0;
|
|
@@ -9582,7 +9582,7 @@
|
|
|
9582
9582
|
var _iterator__ex2g4s = line.r();
|
|
9583
9583
|
while (_iterator__ex2g4s.s()) {
|
|
9584
9584
|
var element = _iterator__ex2g4s.t();
|
|
9585
|
-
if (element.
|
|
9585
|
+
if (element.p20()) {
|
|
9586
9586
|
count = count + 1 | 0;
|
|
9587
9587
|
checkCountOverflow(count);
|
|
9588
9588
|
}
|
|
@@ -9602,7 +9602,7 @@
|
|
|
9602
9602
|
var span = _iterator__ex2g4s_0.t();
|
|
9603
9603
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9604
9604
|
justifiedLine.v(span);
|
|
9605
|
-
if (!span.
|
|
9605
|
+
if (!span.p20())
|
|
9606
9606
|
continue $l$loop_0;
|
|
9607
9607
|
var tmp_0;
|
|
9608
9608
|
var _unary__edvuaz = skipRemainder;
|
|
@@ -9615,13 +9615,13 @@
|
|
|
9615
9615
|
if (tmp_0)
|
|
9616
9616
|
continue $l$loop_0;
|
|
9617
9617
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9618
|
-
var element_0 = Companion_instance_0.
|
|
9618
|
+
var element_0 = Companion_instance_0.k20(spaceSize + (skipRemainder < 0 ? 1 : 0) | 0, span.g1y_1);
|
|
9619
9619
|
justifiedLine.v(element_0);
|
|
9620
9620
|
}
|
|
9621
9621
|
return justifiedLine;
|
|
9622
9622
|
}
|
|
9623
9623
|
function wrap$breakLine(this$0, $align, line, width, $wrapWidth, endStyle, lines, lastPieceWasWhitespace) {
|
|
9624
|
-
if (this$0.
|
|
9624
|
+
if (this$0.r29_1.a22_1 || $align.equals(TextAlign_JUSTIFY_getInstance())) {
|
|
9625
9625
|
var lastNonWhitespace_0 = lastNonWhitespace(this$0, line._v, $align);
|
|
9626
9626
|
if (lastNonWhitespace_0 >= 0) {
|
|
9627
9627
|
// Inline function 'kotlin.repeat' call
|
|
@@ -9641,7 +9641,7 @@
|
|
|
9641
9641
|
}
|
|
9642
9642
|
var tmp = line._v;
|
|
9643
9643
|
var tmp151_safe_receiver = lastOrNull(line._v);
|
|
9644
|
-
var tmp0_elvis_lhs = tmp151_safe_receiver == null ? null : tmp151_safe_receiver.
|
|
9644
|
+
var tmp0_elvis_lhs = tmp151_safe_receiver == null ? null : tmp151_safe_receiver.g1y_1;
|
|
9645
9645
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9646
9646
|
var element = new Line(tmp, tmp0_elvis_lhs == null ? endStyle._v : tmp0_elvis_lhs);
|
|
9647
9647
|
lines.v(element);
|
|
@@ -9651,7 +9651,7 @@
|
|
|
9651
9651
|
lastPieceWasWhitespace._v = true;
|
|
9652
9652
|
}
|
|
9653
9653
|
function Text$toString$lambda(it) {
|
|
9654
|
-
return it.
|
|
9654
|
+
return it.f1y_1;
|
|
9655
9655
|
}
|
|
9656
9656
|
function Text(lines, whitespace, align, overflowWrap, width, tabWidth) {
|
|
9657
9657
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
@@ -9659,29 +9659,29 @@
|
|
|
9659
9659
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
9660
9660
|
width = width === VOID ? null : width;
|
|
9661
9661
|
tabWidth = tabWidth === VOID ? null : tabWidth;
|
|
9662
|
-
this.
|
|
9663
|
-
this.
|
|
9664
|
-
this.
|
|
9665
|
-
this.
|
|
9666
|
-
this.
|
|
9667
|
-
this.
|
|
9662
|
+
this.q29_1 = lines;
|
|
9663
|
+
this.r29_1 = whitespace;
|
|
9664
|
+
this.s29_1 = align;
|
|
9665
|
+
this.t29_1 = overflowWrap;
|
|
9666
|
+
this.u29_1 = width;
|
|
9667
|
+
this.v29_1 = tabWidth;
|
|
9668
9668
|
// Inline function 'kotlin.require' call
|
|
9669
|
-
if (!(this.
|
|
9669
|
+
if (!(this.u29_1 == null || this.u29_1 >= 0)) {
|
|
9670
9670
|
var message = 'width cannot be negative';
|
|
9671
9671
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
9672
9672
|
}
|
|
9673
9673
|
// Inline function 'kotlin.require' call
|
|
9674
|
-
if (!(this.
|
|
9674
|
+
if (!(this.v29_1 == null || this.v29_1 >= 0)) {
|
|
9675
9675
|
var message_0 = 'tab width cannot be negative';
|
|
9676
9676
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
9677
9677
|
}
|
|
9678
9678
|
}
|
|
9679
|
-
protoOf(Text).
|
|
9680
|
-
var tmp0_elvis_lhs = this.
|
|
9679
|
+
protoOf(Text).b22 = function (t, width) {
|
|
9680
|
+
var tmp0_elvis_lhs = this.u29_1;
|
|
9681
9681
|
var tmp = tmp0_elvis_lhs == null ? width : tmp0_elvis_lhs;
|
|
9682
|
-
var tmp1_elvis_lhs = this.
|
|
9683
|
-
var lines = wrap(this, tmp, tmp1_elvis_lhs == null ? t.
|
|
9684
|
-
var tmp0 = lines.
|
|
9682
|
+
var tmp1_elvis_lhs = this.v29_1;
|
|
9683
|
+
var lines = wrap(this, tmp, tmp1_elvis_lhs == null ? t.f22_1 : tmp1_elvis_lhs, TextAlign_NONE_getInstance(), OverflowWrap_NORMAL_getInstance());
|
|
9684
|
+
var tmp0 = lines.c1y_1;
|
|
9685
9685
|
var tmp$ret$0;
|
|
9686
9686
|
$l$block: {
|
|
9687
9687
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -9696,7 +9696,7 @@
|
|
|
9696
9696
|
while (_iterator__ex2g4s.s()) {
|
|
9697
9697
|
var element = _iterator__ex2g4s.t();
|
|
9698
9698
|
var tmp_0 = sum;
|
|
9699
|
-
sum = tmp_0 + element.
|
|
9699
|
+
sum = tmp_0 + element.j20() | 0;
|
|
9700
9700
|
}
|
|
9701
9701
|
var maxValue = sum;
|
|
9702
9702
|
while (iterator.s()) {
|
|
@@ -9706,7 +9706,7 @@
|
|
|
9706
9706
|
while (_iterator__ex2g4s_0.s()) {
|
|
9707
9707
|
var element_0 = _iterator__ex2g4s_0.t();
|
|
9708
9708
|
var tmp_1 = sum_0;
|
|
9709
|
-
sum_0 = tmp_1 + element_0.
|
|
9709
|
+
sum_0 = tmp_1 + element_0.j20() | 0;
|
|
9710
9710
|
}
|
|
9711
9711
|
var v = sum_0;
|
|
9712
9712
|
if (compareTo(maxValue, v) < 0) {
|
|
@@ -9718,8 +9718,8 @@
|
|
|
9718
9718
|
var tmp2_elvis_lhs = tmp$ret$0;
|
|
9719
9719
|
var max = tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs;
|
|
9720
9720
|
var tmp_2;
|
|
9721
|
-
if (this.
|
|
9722
|
-
var tmp0_0 = lines.
|
|
9721
|
+
if (this.r29_1.z21_1) {
|
|
9722
|
+
var tmp0_0 = lines.c1y_1;
|
|
9723
9723
|
var tmp$ret$7;
|
|
9724
9724
|
$l$block_0: {
|
|
9725
9725
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -9737,9 +9737,9 @@
|
|
|
9737
9737
|
tmp$ret$9 = null;
|
|
9738
9738
|
break $l$block_1;
|
|
9739
9739
|
}
|
|
9740
|
-
var maxValue_0 = iterator_1.t().
|
|
9740
|
+
var maxValue_0 = iterator_1.t().j20();
|
|
9741
9741
|
while (iterator_1.s()) {
|
|
9742
|
-
var v_0 = iterator_1.t().
|
|
9742
|
+
var v_0 = iterator_1.t().j20();
|
|
9743
9743
|
if (compareTo(maxValue_0, v_0) < 0) {
|
|
9744
9744
|
maxValue_0 = v_0;
|
|
9745
9745
|
}
|
|
@@ -9758,9 +9758,9 @@
|
|
|
9758
9758
|
tmp$ret$13 = null;
|
|
9759
9759
|
break $l$block_2;
|
|
9760
9760
|
}
|
|
9761
|
-
var maxValue_2 = iterator_2.t().
|
|
9761
|
+
var maxValue_2 = iterator_2.t().j20();
|
|
9762
9762
|
while (iterator_2.s()) {
|
|
9763
|
-
var v_1 = iterator_2.t().
|
|
9763
|
+
var v_1 = iterator_2.t().j20();
|
|
9764
9764
|
if (compareTo(maxValue_2, v_1) < 0) {
|
|
9765
9765
|
maxValue_2 = v_1;
|
|
9766
9766
|
}
|
|
@@ -9783,14 +9783,14 @@
|
|
|
9783
9783
|
var min = tmp_2;
|
|
9784
9784
|
return new WidthRange(min, max);
|
|
9785
9785
|
};
|
|
9786
|
-
protoOf(Text).
|
|
9787
|
-
var tmp0_elvis_lhs = this.
|
|
9786
|
+
protoOf(Text).c22 = function (t, width) {
|
|
9787
|
+
var tmp0_elvis_lhs = this.u29_1;
|
|
9788
9788
|
var tmp = tmp0_elvis_lhs == null ? width : tmp0_elvis_lhs;
|
|
9789
|
-
var tmp1_elvis_lhs = this.
|
|
9790
|
-
return wrap(this, tmp, tmp1_elvis_lhs == null ? t.
|
|
9789
|
+
var tmp1_elvis_lhs = this.v29_1;
|
|
9790
|
+
return wrap(this, tmp, tmp1_elvis_lhs == null ? t.f22_1 : tmp1_elvis_lhs, this.s29_1, this.t29_1);
|
|
9791
9791
|
};
|
|
9792
9792
|
protoOf(Text).toString = function () {
|
|
9793
|
-
var tmp = flatten(this.
|
|
9793
|
+
var tmp = flatten(this.q29_1.c1y_1);
|
|
9794
9794
|
var plain = joinToString(tmp, '', VOID, VOID, VOID, VOID, Text$toString$lambda);
|
|
9795
9795
|
return 'Text(' + take(plain, 25) + (plain.length > 25 ? '\u2026' : '') + ')';
|
|
9796
9796
|
};
|
|
@@ -9802,21 +9802,21 @@
|
|
|
9802
9802
|
return tmp0_elvis_lhs == null ? TerminalInterfaceBrowser_getInstance() : tmp0_elvis_lhs;
|
|
9803
9803
|
}
|
|
9804
9804
|
function JsAtomicInt(initial) {
|
|
9805
|
-
this.
|
|
9805
|
+
this.w29_1 = initial;
|
|
9806
9806
|
}
|
|
9807
|
-
protoOf(JsAtomicInt).
|
|
9808
|
-
var _unary__edvuaz = this.
|
|
9809
|
-
this.
|
|
9807
|
+
protoOf(JsAtomicInt).k1y = function () {
|
|
9808
|
+
var _unary__edvuaz = this.w29_1;
|
|
9809
|
+
this.w29_1 = _unary__edvuaz + 1 | 0;
|
|
9810
9810
|
return _unary__edvuaz;
|
|
9811
9811
|
};
|
|
9812
9812
|
function printStderr(message, newline) {
|
|
9813
|
-
get_impls().
|
|
9813
|
+
get_impls().x29(message, newline);
|
|
9814
9814
|
}
|
|
9815
9815
|
function MppAtomicRef(value) {
|
|
9816
9816
|
return new JsAtomicRef(value);
|
|
9817
9817
|
}
|
|
9818
9818
|
function makePrintingTerminalCursor(terminal) {
|
|
9819
|
-
return get_impls().
|
|
9819
|
+
return get_impls().y29(terminal);
|
|
9820
9820
|
}
|
|
9821
9821
|
function sendInterceptedPrintRequest(request, terminalInterface, interceptors) {
|
|
9822
9822
|
// Inline function 'kotlin.collections.fold' call
|
|
@@ -9825,13 +9825,13 @@
|
|
|
9825
9825
|
while (_iterator__ex2g4s.s()) {
|
|
9826
9826
|
var element = _iterator__ex2g4s.t();
|
|
9827
9827
|
var acc = accumulator;
|
|
9828
|
-
accumulator = element.
|
|
9828
|
+
accumulator = element.z29(acc);
|
|
9829
9829
|
}
|
|
9830
9830
|
var tmp$ret$0 = accumulator;
|
|
9831
|
-
terminalInterface.
|
|
9831
|
+
terminalInterface.c28(tmp$ret$0);
|
|
9832
9832
|
}
|
|
9833
9833
|
function getEnv(key) {
|
|
9834
|
-
return get_impls().
|
|
9834
|
+
return get_impls().a2a(key);
|
|
9835
9835
|
}
|
|
9836
9836
|
function runningInIdeaJavaAgent() {
|
|
9837
9837
|
return false;
|
|
@@ -9841,22 +9841,22 @@
|
|
|
9841
9841
|
return tmp instanceof TerminalInterfaceJsCommon ? tmp : THROW_CCE();
|
|
9842
9842
|
}
|
|
9843
9843
|
function JsAtomicRef(value) {
|
|
9844
|
-
this.
|
|
9844
|
+
this.b2a_1 = value;
|
|
9845
9845
|
}
|
|
9846
9846
|
protoOf(JsAtomicRef).m1 = function () {
|
|
9847
|
-
return this.
|
|
9847
|
+
return this.b2a_1;
|
|
9848
9848
|
};
|
|
9849
|
-
protoOf(JsAtomicRef).
|
|
9850
|
-
if (!equals(this.
|
|
9849
|
+
protoOf(JsAtomicRef).p28 = function (expected, newValue) {
|
|
9850
|
+
if (!equals(this.b2a_1, expected))
|
|
9851
9851
|
return false;
|
|
9852
|
-
this.
|
|
9852
|
+
this.b2a_1 = newValue;
|
|
9853
9853
|
return true;
|
|
9854
9854
|
};
|
|
9855
9855
|
function exitProcessMpp(status) {
|
|
9856
|
-
return get_impls().
|
|
9856
|
+
return get_impls().w1y(status);
|
|
9857
9857
|
}
|
|
9858
9858
|
function readFileIfExists(filename) {
|
|
9859
|
-
return get_impls().
|
|
9859
|
+
return get_impls().c2a(filename);
|
|
9860
9860
|
}
|
|
9861
9861
|
function TerminalInterfaceJsCommon() {
|
|
9862
9862
|
StandardTerminalInterface.call(this);
|
|
@@ -9865,27 +9865,27 @@
|
|
|
9865
9865
|
TerminalInterfaceBrowser_instance = this;
|
|
9866
9866
|
TerminalInterfaceJsCommon.call(this);
|
|
9867
9867
|
}
|
|
9868
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9868
|
+
protoOf(TerminalInterfaceBrowser).a2a = function (key) {
|
|
9869
9869
|
return null;
|
|
9870
9870
|
};
|
|
9871
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9871
|
+
protoOf(TerminalInterfaceBrowser).a28 = function () {
|
|
9872
9872
|
return false;
|
|
9873
9873
|
};
|
|
9874
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9874
|
+
protoOf(TerminalInterfaceBrowser).z27 = function () {
|
|
9875
9875
|
return false;
|
|
9876
9876
|
};
|
|
9877
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9877
|
+
protoOf(TerminalInterfaceBrowser).g28 = function () {
|
|
9878
9878
|
return null;
|
|
9879
9879
|
};
|
|
9880
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9880
|
+
protoOf(TerminalInterfaceBrowser).x29 = function (message, newline) {
|
|
9881
9881
|
return browserPrintln(message);
|
|
9882
9882
|
};
|
|
9883
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9883
|
+
protoOf(TerminalInterfaceBrowser).w1y = function (status) {
|
|
9884
9884
|
};
|
|
9885
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9885
|
+
protoOf(TerminalInterfaceBrowser).y29 = function (terminal) {
|
|
9886
9886
|
return new BrowserTerminalCursor(terminal);
|
|
9887
9887
|
};
|
|
9888
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9888
|
+
protoOf(TerminalInterfaceBrowser).c2a = function (filename) {
|
|
9889
9889
|
return null;
|
|
9890
9890
|
};
|
|
9891
9891
|
var TerminalInterfaceBrowser_instance;
|
|
@@ -9978,24 +9978,24 @@
|
|
|
9978
9978
|
}
|
|
9979
9979
|
function TerminalInterfaceJsNode(fs) {
|
|
9980
9980
|
TerminalInterfaceNode.call(this);
|
|
9981
|
-
this.
|
|
9981
|
+
this.d2a_1 = fs;
|
|
9982
9982
|
}
|
|
9983
|
-
protoOf(TerminalInterfaceJsNode).
|
|
9983
|
+
protoOf(TerminalInterfaceJsNode).a2a = function (key) {
|
|
9984
9984
|
var tmp = process.env[key];
|
|
9985
9985
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
9986
9986
|
};
|
|
9987
|
-
protoOf(TerminalInterfaceJsNode).
|
|
9987
|
+
protoOf(TerminalInterfaceJsNode).a28 = function () {
|
|
9988
9988
|
var tmp = Boolean(process.stdout.isTTY);
|
|
9989
9989
|
return (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE();
|
|
9990
9990
|
};
|
|
9991
|
-
protoOf(TerminalInterfaceJsNode).
|
|
9991
|
+
protoOf(TerminalInterfaceJsNode).z27 = function () {
|
|
9992
9992
|
var tmp = Boolean(process.stdin.isTTY);
|
|
9993
9993
|
return (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE();
|
|
9994
9994
|
};
|
|
9995
|
-
protoOf(TerminalInterfaceJsNode).
|
|
9995
|
+
protoOf(TerminalInterfaceJsNode).w1y = function (status) {
|
|
9996
9996
|
process.exit(status);
|
|
9997
9997
|
};
|
|
9998
|
-
protoOf(TerminalInterfaceJsNode).
|
|
9998
|
+
protoOf(TerminalInterfaceJsNode).g28 = function () {
|
|
9999
9999
|
if (process.stdout.getWindowSize == undefined)
|
|
10000
10000
|
return null;
|
|
10001
10001
|
var s = process.stdout.getWindowSize();
|
|
@@ -10004,34 +10004,34 @@
|
|
|
10004
10004
|
var tmp_1 = s[1];
|
|
10005
10005
|
return new Size(tmp_0, (!(tmp_1 == null) ? typeof tmp_1 === 'number' : false) ? tmp_1 : THROW_CCE());
|
|
10006
10006
|
};
|
|
10007
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10007
|
+
protoOf(TerminalInterfaceJsNode).x29 = function (message, newline) {
|
|
10008
10008
|
process.stderr.write(newline ? message + '\n' : message);
|
|
10009
10009
|
};
|
|
10010
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10010
|
+
protoOf(TerminalInterfaceJsNode).y29 = function (terminal) {
|
|
10011
10011
|
return new NodeTerminalCursor(terminal);
|
|
10012
10012
|
};
|
|
10013
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10014
|
-
var tmp = this.
|
|
10013
|
+
protoOf(TerminalInterfaceJsNode).c2a = function (filename) {
|
|
10014
|
+
var tmp = this.d2a_1.readFileSync(filename, 'utf-8');
|
|
10015
10015
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
10016
10016
|
};
|
|
10017
10017
|
function NodeTerminalCursor(terminal) {
|
|
10018
10018
|
PrintTerminalCursor.call(this, terminal);
|
|
10019
|
-
this.
|
|
10019
|
+
this.f2a_1 = null;
|
|
10020
10020
|
}
|
|
10021
10021
|
//region block: post-declaration
|
|
10022
|
-
protoOf(TxtStyle).
|
|
10023
|
-
protoOf(TxtStyle).
|
|
10024
|
-
protoOf(Table).
|
|
10025
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
10026
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
10027
|
-
protoOf(CellStyleBuilderMixin).
|
|
10028
|
-
protoOf(VerticalLayout).
|
|
10029
|
-
protoOf(StandardTerminalInterface).
|
|
10030
|
-
protoOf(StandardTerminalInterface).
|
|
10031
|
-
protoOf(DefinitionList).
|
|
10032
|
-
protoOf(EmptyWidget).
|
|
10033
|
-
protoOf(Padded).
|
|
10034
|
-
protoOf(Text).
|
|
10022
|
+
protoOf(TxtStyle).r1u = invoke;
|
|
10023
|
+
protoOf(TxtStyle).i1y = plus_1;
|
|
10024
|
+
protoOf(Table).d22 = render$default;
|
|
10025
|
+
protoOf(VerticalLayoutBuilderInstance).i25 = cellsFrom$default;
|
|
10026
|
+
protoOf(VerticalLayoutBuilderInstance).k25 = cell$default;
|
|
10027
|
+
protoOf(CellStyleBuilderMixin).r25 = padding;
|
|
10028
|
+
protoOf(VerticalLayout).d22 = render$default;
|
|
10029
|
+
protoOf(StandardTerminalInterface).g28 = getTerminalSize;
|
|
10030
|
+
protoOf(StandardTerminalInterface).h28 = shouldAutoUpdateSize;
|
|
10031
|
+
protoOf(DefinitionList).d22 = render$default;
|
|
10032
|
+
protoOf(EmptyWidget).d22 = render$default;
|
|
10033
|
+
protoOf(Padded).d22 = render$default;
|
|
10034
|
+
protoOf(Text).d22 = render$default;
|
|
10035
10035
|
//endregion
|
|
10036
10036
|
//region block: init
|
|
10037
10037
|
MultiplatformSystem_instance = new MultiplatformSystem();
|