git-semver-tagger 1.8.77 → 1.8.79
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 +77 -77
- package/kotlin/clikt-clikt.js +1314 -1314
- package/kotlin/colormath-root-colormath.js +432 -432
- package/kotlin/command-line-tools-tagger-cli.js +113 -94
- package/kotlin/command-line-tools-tagger-cli.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +4 -4
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1715 -1715
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1484 -1484
- package/kotlin/mordant-mordant.js +1192 -1192
- package/kotlin/tools-tagger-core.js +88 -67
- package/kotlin/tools-tagger-core.js.map +1 -1
- package/kotlin/tools-tagger-json.js +149 -129
- 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.j1x();
|
|
145
|
+
var tmp_0 = tmp0_elvis_lhs == null ? this.j1x() : tmp0_elvis_lhs;
|
|
146
|
+
var tmp1_elvis_lhs = other.k1x();
|
|
147
|
+
var tmp_1 = tmp1_elvis_lhs == null ? this.k1x() : tmp1_elvis_lhs;
|
|
148
|
+
var tmp2_elvis_lhs = other.p1x();
|
|
149
|
+
var tmp_2 = tmp2_elvis_lhs == null ? this.p1x() : tmp2_elvis_lhs;
|
|
150
|
+
var tmp3_elvis_lhs = other.l1x();
|
|
151
|
+
var tmp_3 = tmp3_elvis_lhs == null ? this.l1x() : tmp3_elvis_lhs;
|
|
152
|
+
var tmp4_elvis_lhs = other.m1x();
|
|
153
|
+
var tmp_4 = tmp4_elvis_lhs == null ? this.m1x() : tmp4_elvis_lhs;
|
|
154
|
+
var tmp5_elvis_lhs = other.q1x();
|
|
155
|
+
var tmp_5 = tmp5_elvis_lhs == null ? this.q1x() : tmp5_elvis_lhs;
|
|
156
|
+
var tmp6_elvis_lhs = other.n1x();
|
|
157
|
+
var tmp_6 = tmp6_elvis_lhs == null ? this.n1x() : tmp6_elvis_lhs;
|
|
158
|
+
var tmp7_elvis_lhs = other.o1x();
|
|
159
|
+
var tmp_7 = tmp7_elvis_lhs == null ? this.o1x() : tmp7_elvis_lhs;
|
|
160
|
+
var tmp8_elvis_lhs = other.r1x();
|
|
161
|
+
var tmp_8 = tmp8_elvis_lhs == null ? this.r1x() : tmp8_elvis_lhs;
|
|
162
|
+
var tmp9_elvis_lhs = other.s1x();
|
|
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.s1x() : 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.f1().
|
|
176
|
-
return $super === VOID ? this.
|
|
175
|
+
width = width === VOID ? t.f1().e20_1 : width;
|
|
176
|
+
return $super === VOID ? this.t21(t, width) : $super.t21.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.y24(cells, init);
|
|
200
200
|
tmp_0 = Unit_instance;
|
|
201
201
|
} else {
|
|
202
|
-
tmp_0 = $super.
|
|
202
|
+
tmp_0 = $super.y24.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.a25(content, init);
|
|
217
217
|
tmp_0 = Unit_instance;
|
|
218
218
|
} else {
|
|
219
|
-
tmp_0 = $super.
|
|
219
|
+
tmp_0 = $super.a25.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.g25(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.l1w_1 = numberRangeToNumber(30, 37);
|
|
278
|
+
this.m1w_1 = numberRangeToNumber(90, 97);
|
|
279
|
+
this.n1w_1 = 38;
|
|
280
|
+
this.o1w_1 = 39;
|
|
281
|
+
this.p1w_1 = 10;
|
|
282
|
+
this.q1w_1 = numberRangeToNumber(40, 47);
|
|
283
|
+
this.r1w_1 = numberRangeToNumber(100, 107);
|
|
284
|
+
this.s1w_1 = 48;
|
|
285
|
+
this.t1w_1 = 49;
|
|
286
|
+
this.u1w_1 = 5;
|
|
287
|
+
this.v1w_1 = 2;
|
|
288
|
+
this.w1w_1 = 58;
|
|
289
|
+
this.x1w_1 = 0;
|
|
290
|
+
this.y1w_1 = 1;
|
|
291
|
+
this.z1w_1 = 22;
|
|
292
|
+
this.a1x_1 = 2;
|
|
293
|
+
this.b1x_1 = 3;
|
|
294
|
+
this.c1x_1 = 23;
|
|
295
|
+
this.d1x_1 = 4;
|
|
296
|
+
this.e1x_1 = 24;
|
|
297
|
+
this.f1x_1 = 7;
|
|
298
|
+
this.g1x_1 = 27;
|
|
299
|
+
this.h1x_1 = 9;
|
|
300
|
+
this.i1x_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.j1x(), new_0.j1x())) {
|
|
324
324
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
325
|
-
var elements = toAnsi(new_0.
|
|
325
|
+
var elements = toAnsi(new_0.j1x(), 38, 39, 0);
|
|
326
326
|
addAll(codes, elements);
|
|
327
327
|
}
|
|
328
|
-
if (!equals(old.
|
|
328
|
+
if (!equals(old.k1x(), new_0.k1x())) {
|
|
329
329
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
330
|
-
var elements_0 = toAnsi(new_0.
|
|
330
|
+
var elements_0 = toAnsi(new_0.k1x(), 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.l1x(), new_0.l1x(), 3, 23);
|
|
334
|
+
makeTag$style(codes, old.m1x(), new_0.m1x(), 4, 24);
|
|
335
|
+
makeTag$style(codes, old.n1x(), new_0.n1x(), 7, 27);
|
|
336
|
+
makeTag$style(codes, old.o1x(), new_0.o1x(), 9, 29);
|
|
337
|
+
if (old.p1x() === true && !(new_0.p1x() === true) || (old.q1x() === true && !(new_0.q1x() === true))) {
|
|
338
338
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
339
339
|
codes.x(22);
|
|
340
|
-
if (new_0.
|
|
340
|
+
if (new_0.p1x() === true) {
|
|
341
341
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
342
342
|
codes.x(1);
|
|
343
343
|
}
|
|
344
|
-
if (new_0.
|
|
344
|
+
if (new_0.q1x() === true) {
|
|
345
345
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
346
346
|
codes.x(2);
|
|
347
347
|
}
|
|
348
348
|
} else {
|
|
349
|
-
makeTag$style(codes, old.
|
|
350
|
-
makeTag$style(codes, old.
|
|
349
|
+
makeTag$style(codes, old.p1x(), new_0.p1x(), 1, 22);
|
|
350
|
+
makeTag$style(codes, old.q1x(), new_0.q1x(), 2, 22);
|
|
351
351
|
}
|
|
352
352
|
var csi = codes.r() ? '' : joinToString(codes, ';', '\x1B[', 'm');
|
|
353
353
|
var tmp;
|
|
354
|
-
if (!(old.
|
|
355
|
-
tmp = csi + makeHyperlinkTag(new_0.
|
|
354
|
+
if (!(old.r1x() == new_0.r1x()) && !(new_0.r1x() === '__mordant_reset__')) {
|
|
355
|
+
tmp = csi + makeHyperlinkTag(new_0.r1x(), new_0.s1x());
|
|
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.j1x();
|
|
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.q1s_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.q1s_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.u1s_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.r1r().z1u();
|
|
385
|
+
tmp = listOf([select, 2, $this$run.n1u(), $this$run.o1u(), $this$run.p1u()]);
|
|
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.t1x_1.t();
|
|
410
410
|
var index = 0;
|
|
411
411
|
while (iterator.u()) {
|
|
412
412
|
var i = index;
|
|
@@ -419,10 +419,10 @@
|
|
|
419
419
|
var _iterator__ex2g4s = line.t();
|
|
420
420
|
while (_iterator__ex2g4s.u()) {
|
|
421
421
|
var span = _iterator__ex2g4s.v();
|
|
422
|
-
var newStyle = downsample(span.
|
|
422
|
+
var newStyle = downsample(span.x1x_1, level, hyperlinks);
|
|
423
423
|
this_0.q(makeTag(activeStyle, newStyle));
|
|
424
424
|
activeStyle = newStyle;
|
|
425
|
-
this_0.q(span.
|
|
425
|
+
this_0.q(span.w1x_1);
|
|
426
426
|
}
|
|
427
427
|
this_0.q(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.j1x();
|
|
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.r1r().z1u().v1s();
|
|
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.k1x();
|
|
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.r1r().z1u().v1s();
|
|
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.r1x();
|
|
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.s1x();
|
|
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$7);
|
|
497
497
|
break;
|
|
498
498
|
case 2:
|
|
499
|
-
var tmp31_safe_receiver = style.
|
|
499
|
+
var tmp31_safe_receiver = style.j1x();
|
|
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.r1r().z1u().y1u();
|
|
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.k1x();
|
|
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.r1r().z1u().y1u();
|
|
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.r1x();
|
|
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.s1x();
|
|
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$15);
|
|
566
566
|
break;
|
|
567
567
|
case 3:
|
|
568
|
-
tmp_0 = hyperlinks || style.
|
|
568
|
+
tmp_0 = hyperlinks || style.r1x() == null ? style : copy(style, style.j1x(), style.k1x(), 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.o1());
|
|
585
585
|
var tmp_0;
|
|
586
586
|
if (match.mc().q1_1 === 0) {
|
|
587
|
-
$openStyle._v = new_0.
|
|
588
|
-
$style._v = new_0.
|
|
587
|
+
$openStyle._v = new_0.z1x($this_invokeStyle);
|
|
588
|
+
$style._v = new_0.z1x($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.a1y(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().b1y().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.s1x();
|
|
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.r1x() : 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.r())
|
|
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.j1x();
|
|
747
|
+
var bgColor = existingStyle.k1x();
|
|
748
|
+
var bold = existingStyle.p1x();
|
|
749
|
+
var italic = existingStyle.l1x();
|
|
750
|
+
var underline = existingStyle.m1x();
|
|
751
|
+
var dim = existingStyle.q1x();
|
|
752
|
+
var inverse = existingStyle.n1x();
|
|
753
|
+
var strikethrough = existingStyle.o1x();
|
|
754
754
|
var i = 0;
|
|
755
755
|
$l$loop_1: while (i <= get_lastIndex_0(codes)) {
|
|
756
756
|
var code = codes.e1(i);
|
|
757
757
|
if (code === 0) {
|
|
758
|
-
color = defaultStyle.
|
|
759
|
-
bgColor = defaultStyle.
|
|
760
|
-
var tmp0_elvis_lhs = defaultStyle.
|
|
758
|
+
color = defaultStyle.j1x();
|
|
759
|
+
bgColor = defaultStyle.k1x();
|
|
760
|
+
var tmp0_elvis_lhs = defaultStyle.p1x();
|
|
761
761
|
bold = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
762
|
-
var tmp1_elvis_lhs = defaultStyle.
|
|
762
|
+
var tmp1_elvis_lhs = defaultStyle.l1x();
|
|
763
763
|
italic = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
764
|
-
var tmp2_elvis_lhs = defaultStyle.
|
|
764
|
+
var tmp2_elvis_lhs = defaultStyle.m1x();
|
|
765
765
|
underline = tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs;
|
|
766
|
-
var tmp3_elvis_lhs = defaultStyle.
|
|
766
|
+
var tmp3_elvis_lhs = defaultStyle.q1x();
|
|
767
767
|
dim = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
768
|
-
var tmp4_elvis_lhs = defaultStyle.
|
|
768
|
+
var tmp4_elvis_lhs = defaultStyle.n1x();
|
|
769
769
|
inverse = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
|
|
770
|
-
var tmp5_elvis_lhs = defaultStyle.
|
|
770
|
+
var tmp5_elvis_lhs = defaultStyle.o1x();
|
|
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.p1x();
|
|
775
775
|
bold = tmp6_elvis_lhs == null ? false : tmp6_elvis_lhs;
|
|
776
|
-
var tmp7_elvis_lhs = defaultStyle.
|
|
776
|
+
var tmp7_elvis_lhs = defaultStyle.q1x();
|
|
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.l1x();
|
|
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.m1x();
|
|
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.n1x();
|
|
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.o1x();
|
|
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.j1x();
|
|
797
797
|
else {
|
|
798
798
|
if (code === 49)
|
|
799
|
-
bgColor = defaultStyle.
|
|
799
|
+
bgColor = defaultStyle.k1x();
|
|
800
800
|
else {
|
|
801
801
|
var tmp_0;
|
|
802
|
-
var progression = AnsiCodes_getInstance().
|
|
802
|
+
var progression = AnsiCodes_getInstance().l1w_1;
|
|
803
803
|
var containsLower = progression.q1_1;
|
|
804
804
|
if (code <= progression.r1_1 ? containsLower <= code : false) {
|
|
805
805
|
tmp_0 = true;
|
|
806
806
|
} else {
|
|
807
|
-
var progression_0 = AnsiCodes_getInstance().
|
|
807
|
+
var progression_0 = AnsiCodes_getInstance().m1w_1;
|
|
808
808
|
var containsLower_0 = progression_0.q1_1;
|
|
809
809
|
tmp_0 = code <= progression_0.r1_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().q1w_1;
|
|
816
816
|
var containsLower_1 = progression_1.q1_1;
|
|
817
817
|
if (code <= progression_1.r1_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().r1w_1;
|
|
821
821
|
var containsLower_2 = progression_2.q1_1;
|
|
822
822
|
tmp_1 = code <= progression_2.r1_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.r1x(), existingStyle.s1x());
|
|
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().s1s(codes.e1(i + 1 | 0), codes.e1(i + 2 | 0), codes.e1(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.c1y_1 = text;
|
|
977
|
+
this.d1y_1 = style;
|
|
978
978
|
}
|
|
979
|
-
protoOf(Chunk).
|
|
979
|
+
protoOf(Chunk).e1y = 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).f1y = function (text, style, $super) {
|
|
983
|
+
text = text === VOID ? this.c1y_1 : text;
|
|
984
|
+
style = style === VOID ? this.d1y_1 : style;
|
|
985
|
+
return $super === VOID ? this.e1y(text, style) : $super.e1y.call(this, text, style);
|
|
986
986
|
};
|
|
987
987
|
protoOf(Chunk).toString = function () {
|
|
988
|
-
return 'Chunk(text=' + this.
|
|
988
|
+
return 'Chunk(text=' + this.c1y_1 + ', style=' + toString(this.d1y_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.c1y_1);
|
|
992
|
+
result = imul(result, 31) + hashCode(this.d1y_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.c1y_1 === tmp0_other_with_cast.c1y_1))
|
|
1002
1002
|
return false;
|
|
1003
|
-
if (!equals(this.
|
|
1003
|
+
if (!equals(this.d1y_1, tmp0_other_with_cast.d1y_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.c1y_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.f1y(substring(t, start, i));
|
|
1048
1048
|
chunks.x(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.f1y(substring(t, start, i));
|
|
1057
1057
|
chunks.x(element_0);
|
|
1058
1058
|
}
|
|
1059
1059
|
return chunks;
|
|
@@ -1066,14 +1066,14 @@
|
|
|
1066
1066
|
var _iterator__ex2g4s = words.t();
|
|
1067
1067
|
while (_iterator__ex2g4s.u()) {
|
|
1068
1068
|
var word = _iterator__ex2g4s.v();
|
|
1069
|
-
if (endsWith(word.
|
|
1069
|
+
if (endsWith(word.c1y_1, '\n')) {
|
|
1070
1070
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1071
|
-
var element = new Line(line, word.
|
|
1071
|
+
var element = new Line(line, word.d1y_1);
|
|
1072
1072
|
lines.x(element);
|
|
1073
1073
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1074
1074
|
line = ArrayList_init_$Create$();
|
|
1075
1075
|
} else {
|
|
1076
|
-
line.x(Companion_instance_0.
|
|
1076
|
+
line.x(Companion_instance_0.g1y(word.c1y_1, word.d1y_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.c1y_1, '\n')) {
|
|
1091
1091
|
// Inline function 'kotlin.collections.listOf' call
|
|
1092
1092
|
var tmp$ret$6 = emptyList();
|
|
1093
|
-
lines.x(new Line(tmp$ret$6, tmp36_safe_receiver.
|
|
1093
|
+
lines.x(new Line(tmp$ret$6, tmp36_safe_receiver.d1y_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.i1y_1.w1(codepoint)) {
|
|
1109
1109
|
sumSinceZwj = 0;
|
|
1110
1110
|
}
|
|
1111
|
-
zwjSeq = zwjSeq.
|
|
1111
|
+
zwjSeq = zwjSeq.h1y_1.o2(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().h1y_1.o2(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].j1y_1 || codepoint > table[max].k1y_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.k1y_1)
|
|
1144
1144
|
min = mid + 1 | 0;
|
|
1145
|
-
else if (codepoint < entry.
|
|
1145
|
+
else if (codepoint < entry.j1y_1)
|
|
1146
1146
|
max = mid - 1 | 0;
|
|
1147
1147
|
else
|
|
1148
|
-
return table[mid].
|
|
1148
|
+
return table[mid].l1y_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.j1y_1 = low;
|
|
5029
|
+
this.k1y_1 = high;
|
|
5030
|
+
this.l1y_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.h1y_1 = children;
|
|
5072
|
+
this.i1y_1 = values;
|
|
5073
5073
|
}
|
|
5074
5074
|
protoOf(IntTrie).toString = function () {
|
|
5075
|
-
return 'IntTrie(children=' + toString(this.
|
|
5075
|
+
return 'IntTrie(children=' + toString(this.h1y_1) + ', values=' + toString(this.i1y_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.h1y_1);
|
|
5079
|
+
result = imul(result, 31) + hashCode(this.i1y_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.h1y_1, tmp0_other_with_cast.h1y_1))
|
|
5089
5089
|
return false;
|
|
5090
|
-
if (!equals(this.
|
|
5090
|
+
if (!equals(this.i1y_1, tmp0_other_with_cast.i1y_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.h1y_1;
|
|
5119
5119
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5120
5120
|
var key = seq[i];
|
|
5121
5121
|
var value = tmp0.o2(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.i1y_1;
|
|
5134
5134
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5135
5135
|
var element = last_0(seq);
|
|
5136
5136
|
tmp0_0.x(element);
|
|
@@ -5151,13 +5151,13 @@
|
|
|
5151
5151
|
}
|
|
5152
5152
|
function MultiplatformSystem() {
|
|
5153
5153
|
}
|
|
5154
|
-
protoOf(MultiplatformSystem).
|
|
5154
|
+
protoOf(MultiplatformSystem).m1y = function (key) {
|
|
5155
5155
|
return getEnv(key);
|
|
5156
5156
|
};
|
|
5157
|
-
protoOf(MultiplatformSystem).
|
|
5157
|
+
protoOf(MultiplatformSystem).n1y = function (status) {
|
|
5158
5158
|
exitProcessMpp(status);
|
|
5159
5159
|
};
|
|
5160
|
-
protoOf(MultiplatformSystem).
|
|
5160
|
+
protoOf(MultiplatformSystem).o1y = 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.p1y_1 = this.y1y('\u250C\u252C\u2510\u251C\u253C\u2524\u2514\u2534\u2518\u2500\u2502\u2577\u2575\u2574\u2576');
|
|
5233
|
+
this.q1y_1 = this.y1y('\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.r1y_1 = this.y1y('\u256D\u252C\u256E\u251C\u253C\u2524\u2570\u2534\u256F\u2500\u2502\u2577\u2575\u2574\u2576');
|
|
5235
|
+
this.s1y_1 = this.y1y('\u250F\u2533\u2513\u2523\u254B\u252B\u2517\u253B\u251B\u2501\u2503\u257B\u2579\u2578\u257A');
|
|
5236
|
+
this.t1y_1 = this.y1y('\u2554\u2566\u2557\u2560\u256C\u2563\u255A\u2569\u255D\u2550\u2551 ');
|
|
5237
|
+
this.u1y_1 = this.z1y('\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.v1y_1 = this.y1y('+++++++++-| ');
|
|
5239
|
+
this.w1y_1 = this.y1y('+++++++++-| ', '+++++++++=| ', '+++++++++-| ', '+++++++++=| ');
|
|
5240
|
+
this.x1y_1 = this.y1y(' ');
|
|
5241
|
+
}
|
|
5242
|
+
protoOf(Companion).z1y = 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).y1y = 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.z1y(head, headBottom, body, bodyBottom, foot) : $super.z1y.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.a1z_1 = head;
|
|
5261
|
+
this.b1z_1 = headBottom;
|
|
5262
|
+
this.c1z_1 = body;
|
|
5263
|
+
this.d1z_1 = bodyBottom;
|
|
5264
|
+
this.e1z_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.f1z_1 = es;
|
|
5275
|
+
this.g1z_1 = esw;
|
|
5276
|
+
this.h1z_1 = sw;
|
|
5277
|
+
this.i1z_1 = nes;
|
|
5278
|
+
this.j1z_1 = nesw;
|
|
5279
|
+
this.k1z_1 = nsw;
|
|
5280
|
+
this.l1z_1 = ne;
|
|
5281
|
+
this.m1z_1 = new_0;
|
|
5282
|
+
this.n1z_1 = nw;
|
|
5283
|
+
this.o1z_1 = ew;
|
|
5284
|
+
this.p1z_1 = ns;
|
|
5285
|
+
this.q1z_1 = s;
|
|
5286
|
+
this.r1z_1 = n;
|
|
5287
|
+
this.s1z_1 = w;
|
|
5288
|
+
this.t1z_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.u1z_1 = [' ', this.s1z_1, this.q1z_1, this.h1z_1, this.t1z_1, this.o1z_1, this.f1z_1, this.g1z_1, this.r1z_1, this.n1z_1, this.p1z_1, this.k1z_1, this.l1z_1, this.m1z_1, this.i1z_1, this.j1z_1];
|
|
5294
5294
|
}
|
|
5295
|
-
protoOf(BorderTypeSection).
|
|
5295
|
+
protoOf(BorderTypeSection).v1z = 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.g1y(this.u1z_1[i], textStyle);
|
|
5298
5298
|
};
|
|
5299
5299
|
function Lines(lines) {
|
|
5300
|
-
this.
|
|
5300
|
+
this.t1x_1 = lines;
|
|
5301
5301
|
}
|
|
5302
|
-
protoOf(Lines).
|
|
5303
|
-
return this.
|
|
5302
|
+
protoOf(Lines).w1z = function () {
|
|
5303
|
+
return this.t1x_1.f1();
|
|
5304
5304
|
};
|
|
5305
|
-
protoOf(Lines).
|
|
5305
|
+
protoOf(Lines).x1z = 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.t1x_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.t();
|
|
@@ -5320,10 +5320,10 @@
|
|
|
5320
5320
|
var _iterator__ex2g4s_0 = item.t();
|
|
5321
5321
|
while (_iterator__ex2g4s_0.u()) {
|
|
5322
5322
|
var item_0 = _iterator__ex2g4s_0.v();
|
|
5323
|
-
var tmp$ret$0 = item_0.
|
|
5323
|
+
var tmp$ret$0 = item_0.y1z(style);
|
|
5324
5324
|
destination_0.x(tmp$ret$0);
|
|
5325
5325
|
}
|
|
5326
|
-
var tmp$ret$3 = new Line(destination_0, item.
|
|
5326
|
+
var tmp$ret$3 = new Line(destination_0, item.v1x_1.z1x(style));
|
|
5327
5327
|
destination.x(tmp$ret$3);
|
|
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.x1x_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.u1x_1 = spans;
|
|
5344
|
+
this.v1x_1 = endStyle;
|
|
5345
5345
|
}
|
|
5346
|
-
protoOf(Line).
|
|
5347
|
-
return this.
|
|
5346
|
+
protoOf(Line).z1z = function (element) {
|
|
5347
|
+
return this.u1x_1.w1(element);
|
|
5348
5348
|
};
|
|
5349
5349
|
protoOf(Line).w1 = function (element) {
|
|
5350
5350
|
if (!(element instanceof Span))
|
|
5351
5351
|
return false;
|
|
5352
|
-
return this.
|
|
5352
|
+
return this.z1z(element instanceof Span ? element : THROW_CCE());
|
|
5353
5353
|
};
|
|
5354
5354
|
protoOf(Line).e1 = function (index) {
|
|
5355
|
-
return this.
|
|
5355
|
+
return this.u1x_1.e1(index);
|
|
5356
5356
|
};
|
|
5357
5357
|
protoOf(Line).r = function () {
|
|
5358
|
-
return this.
|
|
5358
|
+
return this.u1x_1.r();
|
|
5359
5359
|
};
|
|
5360
5360
|
protoOf(Line).t = function () {
|
|
5361
|
-
return this.
|
|
5361
|
+
return this.u1x_1.t();
|
|
5362
5362
|
};
|
|
5363
5363
|
protoOf(Line).k1 = function (index) {
|
|
5364
|
-
return this.
|
|
5364
|
+
return this.u1x_1.k1(index);
|
|
5365
5365
|
};
|
|
5366
5366
|
protoOf(Line).k2 = function (fromIndex, toIndex) {
|
|
5367
|
-
return this.
|
|
5367
|
+
return this.u1x_1.k2(fromIndex, toIndex);
|
|
5368
5368
|
};
|
|
5369
5369
|
protoOf(Line).f1 = function () {
|
|
5370
|
-
return this.
|
|
5370
|
+
return this.u1x_1.f1();
|
|
5371
5371
|
};
|
|
5372
5372
|
protoOf(Line).toString = function () {
|
|
5373
|
-
return 'Line(spans=' + toString(this.
|
|
5373
|
+
return 'Line(spans=' + toString(this.u1x_1) + ', endStyle=' + toString(this.v1x_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.u1x_1);
|
|
5377
|
+
result = imul(result, 31) + hashCode(this.v1x_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.u1x_1, tmp0_other_with_cast.u1x_1))
|
|
5387
5387
|
return false;
|
|
5388
|
-
if (!equals(this.
|
|
5388
|
+
if (!equals(this.v1x_1, tmp0_other_with_cast.v1x_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.u1x_1.t();
|
|
5396
5396
|
while (_iterator__ex2g4s.u()) {
|
|
5397
5397
|
var element = _iterator__ex2g4s.v();
|
|
5398
5398
|
var tmp = sum;
|
|
5399
|
-
sum = tmp + element.
|
|
5399
|
+
sum = tmp + element.a20() | 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.t1x_1.f1() : 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.a1y(newWidth)));
|
|
5474
5474
|
var tmp;
|
|
5475
5475
|
if (scrollDown === 0) {
|
|
5476
|
-
tmp = _this__u8e3s4.
|
|
5476
|
+
tmp = _this__u8e3s4.t1x_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.t1x_1) | 0;
|
|
5479
|
+
if (!(scrollDown <= get_lastIndex_0(_this__u8e3s4.t1x_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.t1x_1.f1() - 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.x(emptyLine);
|
|
5497
5497
|
}
|
|
5498
5498
|
while (inductionVariable_0 < times);
|
|
5499
|
-
this_0.j1(_this__u8e3s4.
|
|
5499
|
+
this_0.j1(_this__u8e3s4.t1x_1);
|
|
5500
5500
|
tmp = this_0.h5();
|
|
5501
5501
|
} else {
|
|
5502
|
-
tmp = _this__u8e3s4.
|
|
5502
|
+
tmp = _this__u8e3s4.t1x_1.k2(scrollDown, _this__u8e3s4.t1x_1.f1());
|
|
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.b20(-scrollRight | 0, get_startStyle(line))), line.u1x_1) : line.u1x_1;
|
|
5562
5562
|
var startIndex = 0;
|
|
5563
5563
|
var endIndex = inputLine.f1();
|
|
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.v();
|
|
5572
|
-
if (scrollRight > 0 && (offset + span.
|
|
5573
|
-
offset = offset + span.
|
|
5572
|
+
if (scrollRight > 0 && (offset + span.a20() | 0) < scrollRight) {
|
|
5573
|
+
offset = offset + span.a20() | 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.a20() | 0) > scrollRight) {
|
|
5577
|
+
startSpan = span.d20(scrollRight - offset | 0).c20(newWidth - width | 0);
|
|
5578
5578
|
startIndex = j;
|
|
5579
|
-
width = width + startSpan.
|
|
5579
|
+
width = width + startSpan.a20() | 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.a20() | 0) <= newWidth) {
|
|
5584
|
+
width = width + span.a20() | 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.c20(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.x1x_1;
|
|
5619
|
+
var beginStyle = tmp0_elvis_lhs == null ? line.v1x_1 : tmp0_elvis_lhs;
|
|
5620
|
+
var endStyle = line.v1x_1;
|
|
5621
5621
|
var tmp_0;
|
|
5622
5622
|
switch (textAlign.a3_1) {
|
|
5623
5623
|
case 0:
|
|
5624
|
-
tmp_0 = plus_0(outputLine, Companion_instance_0.
|
|
5624
|
+
tmp_0 = plus_0(outputLine, Companion_instance_0.b20(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.a1y(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.b20(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.b20(remainingWidth / 2 | 0, beginStyle);
|
|
5635
|
+
var r = Companion_instance_0.b20((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.x1x_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.e20_1 = width;
|
|
5688
|
+
this.f20_1 = height;
|
|
5689
5689
|
}
|
|
5690
5690
|
protoOf(Size).toString = function () {
|
|
5691
|
-
return '' + this.
|
|
5691
|
+
return '' + this.e20_1 + '\xD7' + this.f20_1;
|
|
5692
5692
|
};
|
|
5693
5693
|
function Companion_0() {
|
|
5694
5694
|
}
|
|
5695
|
-
protoOf(Companion_0).
|
|
5695
|
+
protoOf(Companion_0).g1y = 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).b20 = function (width, style) {
|
|
5732
5732
|
return new Span(repeat(' ', width), style);
|
|
5733
5733
|
};
|
|
5734
|
-
protoOf(Companion_0).
|
|
5734
|
+
protoOf(Companion_0).a1y = 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.b20(width, style) : $super.b20.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.w1x_1);
|
|
5746
5746
|
};
|
|
5747
5747
|
}
|
|
5748
5748
|
function Span$_get_cellWidth_$ref_bfbm2m() {
|
|
5749
5749
|
return function (p0) {
|
|
5750
|
-
return p0.
|
|
5750
|
+
return p0.a20();
|
|
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.w1x_1 = text;
|
|
5756
|
+
this.x1x_1 = style;
|
|
5757
5757
|
var tmp = this;
|
|
5758
5758
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
5759
|
-
tmp.
|
|
5759
|
+
tmp.y1x_1 = lazy(tmp_0, Span$cellWidth$delegate$lambda(this));
|
|
5760
5760
|
}
|
|
5761
|
-
protoOf(Span).
|
|
5762
|
-
var tmp0 = this.
|
|
5761
|
+
protoOf(Span).a20 = function () {
|
|
5762
|
+
var tmp0 = this.y1x_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.o1();
|
|
5767
5767
|
};
|
|
5768
|
-
protoOf(Span).
|
|
5769
|
-
return new Span(take(this.
|
|
5768
|
+
protoOf(Span).c20 = function (n) {
|
|
5769
|
+
return new Span(take(this.w1x_1, n), this.x1x_1);
|
|
5770
5770
|
};
|
|
5771
|
-
protoOf(Span).
|
|
5772
|
-
return new Span(drop(this.
|
|
5771
|
+
protoOf(Span).d20 = function (n) {
|
|
5772
|
+
return new Span(drop(this.w1x_1, n), this.x1x_1);
|
|
5773
5773
|
};
|
|
5774
|
-
protoOf(Span).
|
|
5775
|
-
return isWhitespace(charCodeAt(this.
|
|
5774
|
+
protoOf(Span).g20 = function () {
|
|
5775
|
+
return isWhitespace(charCodeAt(this.w1x_1, 0));
|
|
5776
5776
|
};
|
|
5777
|
-
protoOf(Span).
|
|
5778
|
-
return charCodeAt(this.
|
|
5777
|
+
protoOf(Span).h20 = function () {
|
|
5778
|
+
return charCodeAt(this.w1x_1, 0) === _Char___init__impl__6a9atx(9);
|
|
5779
5779
|
};
|
|
5780
|
-
protoOf(Span).
|
|
5781
|
-
return new Span(this.
|
|
5780
|
+
protoOf(Span).y1z = function (style) {
|
|
5781
|
+
return new Span(this.w1x_1, this.x1x_1.z1x(style));
|
|
5782
5782
|
};
|
|
5783
5783
|
protoOf(Span).toString = function () {
|
|
5784
|
-
return "<Span '" + this.
|
|
5784
|
+
return "<Span '" + this.w1x_1 + "', " + toString(this.x1x_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.e20_1;
|
|
5854
|
-
};
|
|
5855
|
-
protoOf(TxtStyle).g1x = function () {
|
|
5856
|
-
return this.f20_1;
|
|
5857
|
-
};
|
|
5858
|
-
protoOf(TxtStyle).l1x = function () {
|
|
5859
|
-
return this.g20_1;
|
|
5860
|
-
};
|
|
5861
|
-
protoOf(TxtStyle).h1x = function () {
|
|
5862
|
-
return this.h20_1;
|
|
5863
|
-
};
|
|
5864
|
-
protoOf(TxtStyle).i1x = function () {
|
|
5841
|
+
this.i20_1 = color;
|
|
5842
|
+
this.j20_1 = bgColor;
|
|
5843
|
+
this.k20_1 = bold;
|
|
5844
|
+
this.l20_1 = italic;
|
|
5845
|
+
this.m20_1 = underline;
|
|
5846
|
+
this.n20_1 = dim;
|
|
5847
|
+
this.o20_1 = inverse;
|
|
5848
|
+
this.p20_1 = strikethrough;
|
|
5849
|
+
this.q20_1 = hyperlink;
|
|
5850
|
+
this.r20_1 = hyperlinkId;
|
|
5851
|
+
}
|
|
5852
|
+
protoOf(TxtStyle).j1x = function () {
|
|
5865
5853
|
return this.i20_1;
|
|
5866
5854
|
};
|
|
5867
|
-
protoOf(TxtStyle).
|
|
5855
|
+
protoOf(TxtStyle).k1x = function () {
|
|
5868
5856
|
return this.j20_1;
|
|
5869
5857
|
};
|
|
5870
|
-
protoOf(TxtStyle).
|
|
5858
|
+
protoOf(TxtStyle).p1x = function () {
|
|
5871
5859
|
return this.k20_1;
|
|
5872
5860
|
};
|
|
5873
|
-
protoOf(TxtStyle).
|
|
5861
|
+
protoOf(TxtStyle).l1x = function () {
|
|
5874
5862
|
return this.l20_1;
|
|
5875
5863
|
};
|
|
5876
|
-
protoOf(TxtStyle).
|
|
5864
|
+
protoOf(TxtStyle).m1x = function () {
|
|
5877
5865
|
return this.m20_1;
|
|
5878
5866
|
};
|
|
5879
|
-
protoOf(TxtStyle).
|
|
5867
|
+
protoOf(TxtStyle).q1x = function () {
|
|
5880
5868
|
return this.n20_1;
|
|
5881
5869
|
};
|
|
5870
|
+
protoOf(TxtStyle).n1x = function () {
|
|
5871
|
+
return this.o20_1;
|
|
5872
|
+
};
|
|
5873
|
+
protoOf(TxtStyle).o1x = function () {
|
|
5874
|
+
return this.p20_1;
|
|
5875
|
+
};
|
|
5876
|
+
protoOf(TxtStyle).r1x = function () {
|
|
5877
|
+
return this.q20_1;
|
|
5878
|
+
};
|
|
5879
|
+
protoOf(TxtStyle).s1x = function () {
|
|
5880
|
+
return this.r20_1;
|
|
5881
|
+
};
|
|
5882
5882
|
protoOf(TxtStyle).toString = function () {
|
|
5883
|
-
return 'TxtStyle(color=' + toString_1(this.
|
|
5883
|
+
return 'TxtStyle(color=' + toString_1(this.i20_1) + ', bgColor=' + toString_1(this.j20_1) + ', bold=' + this.k20_1 + ', italic=' + this.l20_1 + ', underline=' + this.m20_1 + ', dim=' + this.n20_1 + ', inverse=' + this.o20_1 + ', strikethrough=' + this.p20_1 + ', hyperlink=' + this.q20_1 + ', hyperlinkId=' + this.r20_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.g20_1 == null ? 0 : getBooleanHashCode(this.g20_1)) | 0;
|
|
5889
|
-
result = imul(result, 31) + (this.h20_1 == null ? 0 : getBooleanHashCode(this.h20_1)) | 0;
|
|
5890
|
-
result = imul(result, 31) + (this.i20_1 == null ? 0 : getBooleanHashCode(this.i20_1)) | 0;
|
|
5891
|
-
result = imul(result, 31) + (this.j20_1 == null ? 0 : getBooleanHashCode(this.j20_1)) | 0;
|
|
5886
|
+
var result = this.i20_1 == null ? 0 : hashCode(this.i20_1);
|
|
5887
|
+
result = imul(result, 31) + (this.j20_1 == null ? 0 : hashCode(this.j20_1)) | 0;
|
|
5892
5888
|
result = imul(result, 31) + (this.k20_1 == null ? 0 : getBooleanHashCode(this.k20_1)) | 0;
|
|
5893
5889
|
result = imul(result, 31) + (this.l20_1 == null ? 0 : getBooleanHashCode(this.l20_1)) | 0;
|
|
5894
|
-
result = imul(result, 31) + (this.m20_1 == null ? 0 :
|
|
5895
|
-
result = imul(result, 31) + (this.n20_1 == null ? 0 :
|
|
5890
|
+
result = imul(result, 31) + (this.m20_1 == null ? 0 : getBooleanHashCode(this.m20_1)) | 0;
|
|
5891
|
+
result = imul(result, 31) + (this.n20_1 == null ? 0 : getBooleanHashCode(this.n20_1)) | 0;
|
|
5892
|
+
result = imul(result, 31) + (this.o20_1 == null ? 0 : getBooleanHashCode(this.o20_1)) | 0;
|
|
5893
|
+
result = imul(result, 31) + (this.p20_1 == null ? 0 : getBooleanHashCode(this.p20_1)) | 0;
|
|
5894
|
+
result = imul(result, 31) + (this.q20_1 == null ? 0 : getStringHashCode(this.q20_1)) | 0;
|
|
5895
|
+
result = imul(result, 31) + (this.r20_1 == null ? 0 : getStringHashCode(this.r20_1)) | 0;
|
|
5896
5896
|
return result;
|
|
5897
5897
|
};
|
|
5898
5898
|
protoOf(TxtStyle).equals = function (other) {
|
|
@@ -5901,17 +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.f20_1, tmp0_other_with_cast.f20_1))
|
|
5907
|
-
return false;
|
|
5908
|
-
if (!(this.g20_1 == tmp0_other_with_cast.g20_1))
|
|
5904
|
+
if (!equals(this.i20_1, tmp0_other_with_cast.i20_1))
|
|
5909
5905
|
return false;
|
|
5910
|
-
if (!(this.
|
|
5911
|
-
return false;
|
|
5912
|
-
if (!(this.i20_1 == tmp0_other_with_cast.i20_1))
|
|
5913
|
-
return false;
|
|
5914
|
-
if (!(this.j20_1 == tmp0_other_with_cast.j20_1))
|
|
5906
|
+
if (!equals(this.j20_1, tmp0_other_with_cast.j20_1))
|
|
5915
5907
|
return false;
|
|
5916
5908
|
if (!(this.k20_1 == tmp0_other_with_cast.k20_1))
|
|
5917
5909
|
return false;
|
|
@@ -5921,14 +5913,22 @@
|
|
|
5921
5913
|
return false;
|
|
5922
5914
|
if (!(this.n20_1 == tmp0_other_with_cast.n20_1))
|
|
5923
5915
|
return false;
|
|
5916
|
+
if (!(this.o20_1 == tmp0_other_with_cast.o20_1))
|
|
5917
|
+
return false;
|
|
5918
|
+
if (!(this.p20_1 == tmp0_other_with_cast.p20_1))
|
|
5919
|
+
return false;
|
|
5920
|
+
if (!(this.q20_1 == tmp0_other_with_cast.q20_1))
|
|
5921
|
+
return false;
|
|
5922
|
+
if (!(this.r20_1 == tmp0_other_with_cast.r20_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.j1x() : fg;
|
|
5928
|
+
bg = bg === VOID ? _this__u8e3s4.k1x() : bg;
|
|
5929
|
+
hyperlink = hyperlink === VOID ? _this__u8e3s4.r1x() : hyperlink;
|
|
5930
|
+
hyperlinkId = hyperlinkId === VOID ? _this__u8e3s4.s1x() : hyperlinkId;
|
|
5931
|
+
return new TxtStyle(fg, bg, _this__u8e3s4.p1x(), _this__u8e3s4.l1x(), _this__u8e3s4.m1x(), _this__u8e3s4.q1x(), _this__u8e3s4.n1x(), _this__u8e3s4.o1x(), 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.z1x(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.u20_1;
|
|
5948
5948
|
// Inline function 'kotlin.collections.set' call
|
|
5949
5949
|
var key = 'progressbar.pulse';
|
|
5950
5950
|
tmp0.r2(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.t20_1;
|
|
5955
5955
|
// Inline function 'kotlin.collections.set' call
|
|
5956
5956
|
var key = 'list.number.separator';
|
|
5957
5957
|
tmp0.r2(key, '.');
|
|
5958
|
-
var tmp0_0 = $this$Theme.
|
|
5958
|
+
var tmp0_0 = $this$Theme.t20_1;
|
|
5959
5959
|
// Inline function 'kotlin.collections.set' call
|
|
5960
5960
|
var key_0 = 'list.bullet.text';
|
|
5961
5961
|
tmp0_0.r2(key_0, '*');
|
|
5962
|
-
var tmp0_1 = $this$Theme.
|
|
5962
|
+
var tmp0_1 = $this$Theme.t20_1;
|
|
5963
5963
|
// Inline function 'kotlin.collections.set' call
|
|
5964
5964
|
var key_1 = 'progressbar.pending';
|
|
5965
5965
|
tmp0_1.r2(key_1, ' ');
|
|
5966
|
-
var tmp0_2 = $this$Theme.
|
|
5966
|
+
var tmp0_2 = $this$Theme.t20_1;
|
|
5967
5967
|
// Inline function 'kotlin.collections.set' call
|
|
5968
5968
|
var key_2 = 'progressbar.complete';
|
|
5969
5969
|
tmp0_2.r2(key_2, '#');
|
|
5970
|
-
var tmp0_3 = $this$Theme.
|
|
5970
|
+
var tmp0_3 = $this$Theme.t20_1;
|
|
5971
5971
|
// Inline function 'kotlin.collections.set' call
|
|
5972
5972
|
var key_3 = 'progressbar.separator';
|
|
5973
5973
|
tmp0_3.r2(key_3, '>');
|
|
5974
|
-
var tmp0_4 = $this$Theme.
|
|
5974
|
+
var tmp0_4 = $this$Theme.t20_1;
|
|
5975
5975
|
// Inline function 'kotlin.collections.set' call
|
|
5976
5976
|
var key_4 = 'markdown.task.checked';
|
|
5977
5977
|
tmp0_4.r2(key_4, '[x]');
|
|
5978
|
-
var tmp0_5 = $this$Theme.
|
|
5978
|
+
var tmp0_5 = $this$Theme.t20_1;
|
|
5979
5979
|
// Inline function 'kotlin.collections.set' call
|
|
5980
5980
|
var key_5 = 'markdown.task.unchecked';
|
|
5981
5981
|
tmp0_5.r2(key_5, '[ ]');
|
|
5982
|
-
var tmp0_6 = $this$Theme.
|
|
5982
|
+
var tmp0_6 = $this$Theme.t20_1;
|
|
5983
5983
|
// Inline function 'kotlin.collections.set' call
|
|
5984
5984
|
var key_6 = 'markdown.h1.rule';
|
|
5985
5985
|
tmp0_6.r2(key_6, '=');
|
|
5986
|
-
var tmp0_7 = $this$Theme.
|
|
5986
|
+
var tmp0_7 = $this$Theme.t20_1;
|
|
5987
5987
|
// Inline function 'kotlin.collections.set' call
|
|
5988
5988
|
var key_7 = 'markdown.h2.rule';
|
|
5989
5989
|
tmp0_7.r2(key_7, '-');
|
|
5990
|
-
var tmp0_8 = $this$Theme.
|
|
5990
|
+
var tmp0_8 = $this$Theme.t20_1;
|
|
5991
5991
|
// Inline function 'kotlin.collections.set' call
|
|
5992
5992
|
var key_8 = 'markdown.blockquote.bar';
|
|
5993
5993
|
tmp0_8.r2(key_8, '|');
|
|
5994
|
-
var tmp0_9 = $this$Theme.
|
|
5994
|
+
var tmp0_9 = $this$Theme.t20_1;
|
|
5995
5995
|
// Inline function 'kotlin.collections.set' call
|
|
5996
5996
|
var key_9 = 'select.cursor';
|
|
5997
5997
|
tmp0_9.r2(key_9, '>');
|
|
5998
|
-
var tmp0_10 = $this$Theme.
|
|
5998
|
+
var tmp0_10 = $this$Theme.t20_1;
|
|
5999
5999
|
// Inline function 'kotlin.collections.set' call
|
|
6000
6000
|
var key_10 = 'select.selected';
|
|
6001
6001
|
tmp0_10.r2(key_10, 'x');
|
|
6002
|
-
var tmp0_11 = $this$Theme.
|
|
6002
|
+
var tmp0_11 = $this$Theme.t20_1;
|
|
6003
6003
|
// Inline function 'kotlin.collections.set' call
|
|
6004
6004
|
var key_11 = 'select.unselected';
|
|
6005
6005
|
tmp0_11.r2(key_11, ' ');
|
|
6006
|
-
var tmp0_12 = $this$Theme.
|
|
6006
|
+
var tmp0_12 = $this$Theme.u20_1;
|
|
6007
6007
|
// Inline function 'kotlin.collections.set' call
|
|
6008
6008
|
var key_12 = 'markdown.table.ascii';
|
|
6009
6009
|
tmp0_12.r2(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.w20_1 = Companion_getInstance().i1u('#c678dd');
|
|
6015
|
+
this.x20_1 = Companion_getInstance().i1u('#61afef');
|
|
6016
|
+
this.y20_1 = Companion_getInstance().i1u('#5c6370');
|
|
6017
|
+
this.z20_1 = Companion_getInstance().i1u('#e06c75');
|
|
6018
|
+
this.a21_1 = Companion_getInstance().i1u('#e5c07b');
|
|
6019
|
+
this.b21_1 = Companion_getInstance().i1u('#98c379');
|
|
6020
|
+
this.c21_1 = new BuiltTheme(mapOf([to('success', TextStyle_0(this.b21_1)), to('danger', TextStyle_0(this.z20_1)), to('warning', TextStyle_0(this.a21_1)), to('info', TextStyle_0(this.x20_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.x20_1, VOID, true)), to('prompt.choices', TextStyle_0(this.x20_1, VOID, true)), to('prompt.choices.invalid', TextStyle_0(this.z20_1)), to('progressbar.pending', TextStyle_0(this.y20_1)), to('progressbar.complete', TextStyle_0(this.x20_1)), to('progressbar.indeterminate', TextStyle_0(this.x20_1)), to('progressbar.separator', get_DEFAULT_STYLE()), to('progressbar.finished', TextStyle_0(this.b21_1)), to('markdown.blockquote', TextStyle_0(this.a21_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.x20_1)), to('markdown.code.span', TextStyle_0(this.x20_1, this.y20_1)), to('markdown.table.header', TextStyle_0(VOID, VOID, true)), to('markdown.table.body', get_DEFAULT_STYLE()), to('markdown.link.text', TextStyle_0(this.x20_1)), to('markdown.link.destination', TextStyle_0(this.x20_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.w20_1, VOID, true)), to('markdown.h2', TextStyle_0(this.w20_1, VOID, true)), to('markdown.h3', TextStyle_0(this.w20_1, VOID, true, VOID, true)), to('markdown.h4', TextStyle_0(this.w20_1, VOID, VOID, VOID, true)), to('markdown.h5', TextStyle_0(this.w20_1, VOID, VOID, true)), to('markdown.h6', TextStyle_0(this.w20_1, VOID, VOID, VOID, VOID, true)), to('select.title', TextStyle_0(this.w20_1, VOID, true)), to('select.cursor', TextStyle_0(this.x20_1)), to('select.selected', TextStyle_0(this.b21_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.c21_1.g21_1, this.c21_1.h21_1, this.c21_1.i21_1);
|
|
6023
|
+
tmp.d21_1 = Theme_0(tmp_0, Theme$Companion$Plain$lambda);
|
|
6024
6024
|
var tmp_1 = this;
|
|
6025
|
-
tmp_1.
|
|
6025
|
+
tmp_1.e21_1 = Theme_0(this.d21_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.f21_1 = styles;
|
|
6036
|
+
this.g21_1 = strings;
|
|
6037
|
+
this.h21_1 = flags;
|
|
6038
|
+
this.i21_1 = dimensions;
|
|
6039
6039
|
}
|
|
6040
|
-
protoOf(Theme).
|
|
6040
|
+
protoOf(Theme).j21 = function (style, default_0) {
|
|
6041
6041
|
// Inline function 'kotlin.collections.getOrElse' call
|
|
6042
|
-
var tmp0_elvis_lhs = this.
|
|
6042
|
+
var tmp0_elvis_lhs = this.f21_1.o2(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).k21 = 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.j21(style, default_0) : $super.j21.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().c21_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.f21_1), toMutableMap(from.g21_1), toMutableMap(from.h21_1), toMutableMap(from.i21_1));
|
|
6062
6062
|
init(this_0);
|
|
6063
|
-
return this_0.
|
|
6063
|
+
return this_0.l21();
|
|
6064
6064
|
}
|
|
6065
6065
|
function ThemeBuilder(styles, strings, flags, dimensions) {
|
|
6066
|
-
this.
|
|
6067
|
-
this.
|
|
6068
|
-
this.
|
|
6069
|
-
this.
|
|
6066
|
+
this.s20_1 = styles;
|
|
6067
|
+
this.t20_1 = strings;
|
|
6068
|
+
this.u20_1 = flags;
|
|
6069
|
+
this.v20_1 = dimensions;
|
|
6070
6070
|
}
|
|
6071
|
-
protoOf(ThemeBuilder).
|
|
6072
|
-
return new BuiltTheme(this.
|
|
6071
|
+
protoOf(ThemeBuilder).l21 = function () {
|
|
6072
|
+
return new BuiltTheme(this.s20_1, this.t20_1, this.u20_1, this.v20_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.o21_1 = collapseNewlines;
|
|
6093
|
+
this.p21_1 = collapseSpaces;
|
|
6094
|
+
this.q21_1 = wrap;
|
|
6095
|
+
this.r21_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.g22_1 = min;
|
|
6113
|
+
this.h22_1 = max;
|
|
6114
6114
|
// Inline function 'kotlin.require' call
|
|
6115
|
-
if (!(this.
|
|
6115
|
+
if (!(this.g22_1 <= this.h22_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).i22 = function (extra) {
|
|
6121
|
+
return extra === 0 ? this : new WidthRange(this.g22_1 + extra | 0, this.h22_1 + extra | 0);
|
|
6122
6122
|
};
|
|
6123
|
-
protoOf(WidthRange).
|
|
6124
|
-
return new WidthRange(this.
|
|
6123
|
+
protoOf(WidthRange).j22 = function (other) {
|
|
6124
|
+
return new WidthRange(this.g22_1 + other.g22_1 | 0, this.h22_1 + other.h22_1 | 0);
|
|
6125
6125
|
};
|
|
6126
|
-
protoOf(WidthRange).
|
|
6127
|
-
return divisor === 1 ? this : new WidthRange(this.
|
|
6126
|
+
protoOf(WidthRange).k22 = function (divisor) {
|
|
6127
|
+
return divisor === 1 ? this : new WidthRange(this.g22_1 / divisor | 0, this.h22_1 / divisor | 0);
|
|
6128
6128
|
};
|
|
6129
6129
|
protoOf(WidthRange).toString = function () {
|
|
6130
|
-
return 'WidthRange(min=' + this.
|
|
6130
|
+
return 'WidthRange(min=' + this.g22_1 + ', max=' + this.h22_1 + ')';
|
|
6131
6131
|
};
|
|
6132
6132
|
protoOf(WidthRange).hashCode = function () {
|
|
6133
|
-
var result = this.
|
|
6134
|
-
result = imul(result, 31) + this.
|
|
6133
|
+
var result = this.g22_1;
|
|
6134
|
+
result = imul(result, 31) + this.h22_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.g22_1 === tmp0_other_with_cast.g22_1))
|
|
6144
6144
|
return false;
|
|
6145
|
-
if (!(this.
|
|
6145
|
+
if (!(this.h22_1 === tmp0_other_with_cast.h22_1))
|
|
6146
6146
|
return false;
|
|
6147
6147
|
return true;
|
|
6148
6148
|
};
|
|
@@ -6154,7 +6154,7 @@
|
|
|
6154
6154
|
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
6155
6155
|
$l$loop: while (_iterator__ex2g4s.u()) {
|
|
6156
6156
|
var it = _iterator__ex2g4s.v();
|
|
6157
|
-
var tmp0_elvis_lhs = it.
|
|
6157
|
+
var tmp0_elvis_lhs = it.s21(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.h22_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.g22_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.n22_1 = left;
|
|
6217
|
+
this.o22_1 = top;
|
|
6218
|
+
this.p22_1 = right;
|
|
6219
|
+
this.q22_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).r22 = function () {
|
|
6234
6234
|
return 1;
|
|
6235
6235
|
};
|
|
6236
|
-
protoOf(Empty).
|
|
6236
|
+
protoOf(Empty).s22 = function () {
|
|
6237
6237
|
return false;
|
|
6238
6238
|
};
|
|
6239
|
-
protoOf(Empty).
|
|
6239
|
+
protoOf(Empty).t22 = function () {
|
|
6240
6240
|
return false;
|
|
6241
6241
|
};
|
|
6242
|
-
protoOf(Empty).
|
|
6242
|
+
protoOf(Empty).u22 = function () {
|
|
6243
6243
|
return false;
|
|
6244
6244
|
};
|
|
6245
|
-
protoOf(Empty).
|
|
6245
|
+
protoOf(Empty).v22 = 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.w22_1 = cell;
|
|
6271
|
+
this.x22_1 = borderLeft;
|
|
6272
|
+
this.y22_1 = borderTop;
|
|
6273
|
+
this.z22_1 = borderRight;
|
|
6274
|
+
this.a23_1 = borderBottom;
|
|
6275
6275
|
}
|
|
6276
|
-
protoOf(SpanRef).
|
|
6277
|
-
return this.
|
|
6276
|
+
protoOf(SpanRef).s22 = function () {
|
|
6277
|
+
return this.x22_1;
|
|
6278
|
+
};
|
|
6279
|
+
protoOf(SpanRef).t22 = function () {
|
|
6280
|
+
return this.y22_1;
|
|
6278
6281
|
};
|
|
6279
|
-
protoOf(SpanRef).
|
|
6280
|
-
return this.
|
|
6282
|
+
protoOf(SpanRef).u22 = function () {
|
|
6283
|
+
return this.z22_1;
|
|
6281
6284
|
};
|
|
6282
|
-
protoOf(SpanRef).
|
|
6283
|
-
return this.
|
|
6285
|
+
protoOf(SpanRef).v22 = function () {
|
|
6286
|
+
return this.a23_1;
|
|
6284
6287
|
};
|
|
6285
6288
|
protoOf(SpanRef).r22 = function () {
|
|
6286
|
-
return this.w22_1;
|
|
6287
|
-
};
|
|
6288
|
-
protoOf(SpanRef).n22 = function () {
|
|
6289
|
-
return this.s22_1.y22_1;
|
|
6289
|
+
return this.w22_1.c23_1;
|
|
6290
6290
|
};
|
|
6291
|
-
protoOf(SpanRef).
|
|
6292
|
-
return this.
|
|
6291
|
+
protoOf(SpanRef).m23 = function () {
|
|
6292
|
+
return this.w22_1.d23_1;
|
|
6293
6293
|
};
|
|
6294
6294
|
protoOf(SpanRef).toString = function () {
|
|
6295
|
-
return 'SpanRef(cell=' + this.
|
|
6295
|
+
return 'SpanRef(cell=' + this.w22_1.toString() + ', borderLeft=' + this.x22_1 + ', borderTop=' + this.y22_1 + ', borderRight=' + this.z22_1 + ', borderBottom=' + this.a23_1 + ')';
|
|
6296
6296
|
};
|
|
6297
6297
|
protoOf(SpanRef).hashCode = function () {
|
|
6298
|
-
var result = this.
|
|
6299
|
-
result = imul(result, 31) + (this.
|
|
6300
|
-
result = imul(result, 31) + (this.
|
|
6301
|
-
result = imul(result, 31) + (this.
|
|
6302
|
-
result = imul(result, 31) + (this.
|
|
6298
|
+
var result = this.w22_1.hashCode();
|
|
6299
|
+
result = imul(result, 31) + (this.x22_1 == null ? 0 : getBooleanHashCode(this.x22_1)) | 0;
|
|
6300
|
+
result = imul(result, 31) + (this.y22_1 == null ? 0 : getBooleanHashCode(this.y22_1)) | 0;
|
|
6301
|
+
result = imul(result, 31) + (this.z22_1 == null ? 0 : getBooleanHashCode(this.z22_1)) | 0;
|
|
6302
|
+
result = imul(result, 31) + (this.a23_1 == null ? 0 : getBooleanHashCode(this.a23_1)) | 0;
|
|
6303
6303
|
return result;
|
|
6304
6304
|
};
|
|
6305
6305
|
protoOf(SpanRef).equals = function (other) {
|
|
@@ -6308,72 +6308,72 @@
|
|
|
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.
|
|
6311
|
+
if (!this.w22_1.equals(tmp0_other_with_cast.w22_1))
|
|
6312
6312
|
return false;
|
|
6313
|
-
if (!(this.
|
|
6313
|
+
if (!(this.x22_1 == tmp0_other_with_cast.x22_1))
|
|
6314
6314
|
return false;
|
|
6315
|
-
if (!(this.
|
|
6315
|
+
if (!(this.y22_1 == tmp0_other_with_cast.y22_1))
|
|
6316
6316
|
return false;
|
|
6317
|
-
if (!(this.
|
|
6317
|
+
if (!(this.z22_1 == tmp0_other_with_cast.z22_1))
|
|
6318
6318
|
return false;
|
|
6319
|
-
if (!(this.
|
|
6319
|
+
if (!(this.a23_1 == tmp0_other_with_cast.a23_1))
|
|
6320
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.b23_1 = content;
|
|
6326
|
+
this.c23_1 = rowSpan;
|
|
6327
|
+
this.d23_1 = columnSpan;
|
|
6328
|
+
this.e23_1 = borderLeft;
|
|
6329
|
+
this.f23_1 = borderTop;
|
|
6330
|
+
this.g23_1 = borderRight;
|
|
6331
|
+
this.h23_1 = borderBottom;
|
|
6332
|
+
this.i23_1 = style;
|
|
6333
|
+
this.j23_1 = textAlign;
|
|
6334
|
+
this.k23_1 = verticalAlign;
|
|
6335
|
+
this.l23_1 = paddingWidth;
|
|
6336
6336
|
// Inline function 'kotlin.require' call
|
|
6337
|
-
if (!(this.
|
|
6337
|
+
if (!(this.c23_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.d23_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).
|
|
6348
|
-
return this.
|
|
6347
|
+
protoOf(Content).r22 = function () {
|
|
6348
|
+
return this.c23_1;
|
|
6349
6349
|
};
|
|
6350
|
-
protoOf(Content).
|
|
6351
|
-
return this.
|
|
6350
|
+
protoOf(Content).s22 = function () {
|
|
6351
|
+
return this.e23_1;
|
|
6352
6352
|
};
|
|
6353
|
-
protoOf(Content).
|
|
6354
|
-
return this.
|
|
6353
|
+
protoOf(Content).t22 = function () {
|
|
6354
|
+
return this.f23_1;
|
|
6355
6355
|
};
|
|
6356
|
-
protoOf(Content).
|
|
6357
|
-
return this.
|
|
6356
|
+
protoOf(Content).u22 = function () {
|
|
6357
|
+
return this.g23_1;
|
|
6358
6358
|
};
|
|
6359
|
-
protoOf(Content).
|
|
6360
|
-
return this.
|
|
6359
|
+
protoOf(Content).v22 = function () {
|
|
6360
|
+
return this.h23_1;
|
|
6361
6361
|
};
|
|
6362
6362
|
protoOf(Content).toString = function () {
|
|
6363
|
-
return 'Content(content=' + toString(this.
|
|
6363
|
+
return 'Content(content=' + toString(this.b23_1) + ', rowSpan=' + this.c23_1 + ', columnSpan=' + this.d23_1 + ', borderLeft=' + this.e23_1 + ', borderTop=' + this.f23_1 + ', borderRight=' + this.g23_1 + ', borderBottom=' + this.h23_1 + ', style=' + toString_1(this.i23_1) + ', textAlign=' + this.j23_1.toString() + ', verticalAlign=' + this.k23_1.toString() + ', paddingWidth=' + this.l23_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.
|
|
6370
|
-
result = imul(result, 31) + (this.
|
|
6371
|
-
result = imul(result, 31) + (this.
|
|
6372
|
-
result = imul(result, 31) + (this.
|
|
6373
|
-
result = imul(result, 31) + (this.
|
|
6374
|
-
result = imul(result, 31) + this.
|
|
6375
|
-
result = imul(result, 31) + this.
|
|
6376
|
-
result = imul(result, 31) + this.
|
|
6366
|
+
var result = hashCode(this.b23_1);
|
|
6367
|
+
result = imul(result, 31) + this.c23_1 | 0;
|
|
6368
|
+
result = imul(result, 31) + this.d23_1 | 0;
|
|
6369
|
+
result = imul(result, 31) + (this.e23_1 == null ? 0 : getBooleanHashCode(this.e23_1)) | 0;
|
|
6370
|
+
result = imul(result, 31) + (this.f23_1 == null ? 0 : getBooleanHashCode(this.f23_1)) | 0;
|
|
6371
|
+
result = imul(result, 31) + (this.g23_1 == null ? 0 : getBooleanHashCode(this.g23_1)) | 0;
|
|
6372
|
+
result = imul(result, 31) + (this.h23_1 == null ? 0 : getBooleanHashCode(this.h23_1)) | 0;
|
|
6373
|
+
result = imul(result, 31) + (this.i23_1 == null ? 0 : hashCode(this.i23_1)) | 0;
|
|
6374
|
+
result = imul(result, 31) + this.j23_1.hashCode() | 0;
|
|
6375
|
+
result = imul(result, 31) + this.k23_1.hashCode() | 0;
|
|
6376
|
+
result = imul(result, 31) + this.l23_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.
|
|
6385
|
+
if (!equals(this.b23_1, tmp0_other_with_cast.b23_1))
|
|
6386
6386
|
return false;
|
|
6387
|
-
if (!(this.
|
|
6387
|
+
if (!(this.c23_1 === tmp0_other_with_cast.c23_1))
|
|
6388
6388
|
return false;
|
|
6389
|
-
if (!(this.
|
|
6389
|
+
if (!(this.d23_1 === tmp0_other_with_cast.d23_1))
|
|
6390
6390
|
return false;
|
|
6391
|
-
if (!(this.
|
|
6391
|
+
if (!(this.e23_1 == tmp0_other_with_cast.e23_1))
|
|
6392
6392
|
return false;
|
|
6393
|
-
if (!(this.
|
|
6393
|
+
if (!(this.f23_1 == tmp0_other_with_cast.f23_1))
|
|
6394
6394
|
return false;
|
|
6395
|
-
if (!(this.
|
|
6395
|
+
if (!(this.g23_1 == tmp0_other_with_cast.g23_1))
|
|
6396
6396
|
return false;
|
|
6397
|
-
if (!(this.
|
|
6397
|
+
if (!(this.h23_1 == tmp0_other_with_cast.h23_1))
|
|
6398
6398
|
return false;
|
|
6399
|
-
if (!equals(this.
|
|
6399
|
+
if (!equals(this.i23_1, tmp0_other_with_cast.i23_1))
|
|
6400
6400
|
return false;
|
|
6401
|
-
if (!this.
|
|
6401
|
+
if (!this.j23_1.equals(tmp0_other_with_cast.j23_1))
|
|
6402
6402
|
return false;
|
|
6403
|
-
if (!this.
|
|
6403
|
+
if (!this.k23_1.equals(tmp0_other_with_cast.k23_1))
|
|
6404
6404
|
return false;
|
|
6405
|
-
if (!(this.
|
|
6405
|
+
if (!(this.l23_1 === tmp0_other_with_cast.l23_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.v23_1.e1(x).o23_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.x23_1) {
|
|
6419
6419
|
tmp = 0;
|
|
6420
6420
|
} else {
|
|
6421
|
-
var tmp0 = $this.
|
|
6421
|
+
var tmp0 = $this.q23_1;
|
|
6422
6422
|
var tmp$ret$0;
|
|
6423
6423
|
$l$block: {
|
|
6424
6424
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -6430,13 +6430,13 @@
|
|
|
6430
6430
|
var row = iterator.v();
|
|
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.l23_1;
|
|
6434
6434
|
var maxValue = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
6435
6435
|
while (iterator.u()) {
|
|
6436
6436
|
var row_0 = iterator.v();
|
|
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.l23_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.q23_1.t();
|
|
6457
6457
|
$l$loop: while (_iterator__ex2g4s.u()) {
|
|
6458
6458
|
var it = _iterator__ex2g4s.v();
|
|
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.b23_1.s21(t, width).k22(cell.d23_1);
|
|
6469
6469
|
} else {
|
|
6470
6470
|
if (cell instanceof SpanRef) {
|
|
6471
|
-
tmp_2 = cell.
|
|
6471
|
+
tmp_2 = cell.w22_1.b23_1.s21(t, width).k22(cell.m23());
|
|
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.h22_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.g22_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.v23_1.e1(x).p23_1 == null)) {
|
|
6497
|
+
return new WidthRange(range_0.g22_1, coerceAtLeast(width, range_0.h22_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.c24_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.z23_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.z23_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.t();
|
|
6538
6538
|
while (_iterator__ex2g4s.u()) {
|
|
6539
6539
|
var item = _iterator__ex2g4s.v();
|
|
6540
|
-
var tmp$ret$11 = item.
|
|
6540
|
+
var tmp$ret$11 = item.h22_1;
|
|
6541
6541
|
destination.x(tmp$ret$11);
|
|
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.v23_1);
|
|
6546
6546
|
// Inline function 'kotlin.collections.groupByTo' call
|
|
6547
6547
|
var destination_0 = LinkedHashMap_init_$Create$();
|
|
6548
6548
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
6549
6549
|
while (_iterator__ex2g4s_0.u()) {
|
|
6550
6550
|
var element = _iterator__ex2g4s_0.v();
|
|
6551
|
-
var key = element.fe_1.
|
|
6551
|
+
var key = element.fe_1.n23_1;
|
|
6552
6552
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
6553
6553
|
var value = destination_0.o2(key);
|
|
6554
6554
|
var tmp;
|
|
@@ -6597,7 +6597,7 @@
|
|
|
6597
6597
|
while (_iterator__ex2g4s_4.u()) {
|
|
6598
6598
|
var element_2 = _iterator__ex2g4s_4.v();
|
|
6599
6599
|
var tmp_2 = sum;
|
|
6600
|
-
sum = tmp_2 + measurements.e1(element_2).
|
|
6600
|
+
sum = tmp_2 + measurements.e1(element_2).g22_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.u()) {
|
|
6607
6607
|
var element_3 = _iterator__ex2g4s_5.v();
|
|
6608
6608
|
var tmp_4 = sum_0;
|
|
6609
|
-
sum_0 = tmp_4 + measurements.e1(element_3).
|
|
6609
|
+
sum_0 = tmp_4 + measurements.e1(element_3).h22_1 | 0;
|
|
6610
6610
|
}
|
|
6611
6611
|
var tmp$ret$30 = sum_0;
|
|
6612
6612
|
var tmp$ret$31 = new WidthRange(tmp_3, tmp$ret$30);
|
|
@@ -6646,10 +6646,10 @@
|
|
|
6646
6646
|
while (_iterator__ex2g4s_8.u()) {
|
|
6647
6647
|
var element_6 = _iterator__ex2g4s_8.v();
|
|
6648
6648
|
var tmp_6 = sum_1;
|
|
6649
|
-
sum_1 = tmp_6 + element_6.o1().
|
|
6649
|
+
sum_1 = tmp_6 + element_6.o1().g22_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.g22_1, m.h22_1), remainingWidth);
|
|
6653
6653
|
remainingWidth = remainingWidth - allocated | 0;
|
|
6654
6654
|
// Inline function 'kotlin.collections.set' call
|
|
6655
6655
|
allocatedWidths.r2(p, allocated);
|
|
@@ -6673,8 +6673,8 @@
|
|
|
6673
6673
|
var _iterator__ex2g4s_10 = indexes.t();
|
|
6674
6674
|
while (_iterator__ex2g4s_10.u()) {
|
|
6675
6675
|
var item_1 = _iterator__ex2g4s_10.v();
|
|
6676
|
-
var tmp0_elvis_lhs = $this.
|
|
6677
|
-
var tmp$ret$52 = tmp0_elvis_lhs == null ? measurements.e1(item_1).
|
|
6676
|
+
var tmp0_elvis_lhs = $this.v23_1.e1(item_1).p23_1;
|
|
6677
|
+
var tmp$ret$52 = tmp0_elvis_lhs == null ? measurements.e1(item_1).h22_1 : tmp0_elvis_lhs;
|
|
6678
6678
|
destination_5.x(tmp$ret$52);
|
|
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.q23_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.d24_1 = function_0;
|
|
6741
6741
|
}
|
|
6742
6742
|
protoOf(sam$kotlin_Comparator$0).fd = function (a, b) {
|
|
6743
|
-
return this.
|
|
6743
|
+
return this.d24_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).j3 = function () {
|
|
6749
|
-
return this.
|
|
6749
|
+
return this.d24_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.q23_1 = rows;
|
|
6784
|
+
this.r23_1 = borderType;
|
|
6785
|
+
this.s23_1 = borderStyle;
|
|
6786
|
+
this.t23_1 = headerRowCount;
|
|
6787
|
+
this.u23_1 = footerRowCount;
|
|
6788
|
+
this.v23_1 = columnWidths;
|
|
6789
|
+
this.w23_1 = tableBorders;
|
|
6790
|
+
this.x23_1 = addPaddingWidthToFixedWidth;
|
|
6791
6791
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6792
6792
|
// Inline function 'kotlin.require' call
|
|
6793
|
-
if (!!this.
|
|
6793
|
+
if (!!this.q23_1.r()) {
|
|
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.v23_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.t();
|
|
6813
6813
|
while (_iterator__ex2g4s.u()) {
|
|
6814
6814
|
var element = _iterator__ex2g4s.v();
|
|
6815
|
-
if (!(element.
|
|
6815
|
+
if (!(element.p23_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.y23_1 = tmp$ret$3;
|
|
6823
|
+
this.z23_1 = this.v23_1.f1();
|
|
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.q23_1.f1() + 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.w23_1 == null)) {
|
|
6837
|
+
tmp_2 = this.w23_1.o22_1;
|
|
6838
|
+
} else if (index === this.q23_1.f1() && !(this.w23_1 == null)) {
|
|
6839
|
+
tmp_2 = this.w23_1.q22_1;
|
|
6840
6840
|
} else {
|
|
6841
|
-
var tmp0_0 = until(0, this.
|
|
6841
|
+
var tmp0_0 = until(0, this.z23_1);
|
|
6842
6842
|
var tmp$ret$5;
|
|
6843
6843
|
$l$block_2: {
|
|
6844
6844
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6873,11 +6873,11 @@
|
|
|
6873
6873
|
list.x(tmp$ret$7);
|
|
6874
6874
|
}
|
|
6875
6875
|
while (inductionVariable < size);
|
|
6876
|
-
tmp_1.
|
|
6876
|
+
tmp_1.a24_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.z23_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.w23_1 == null)) {
|
|
6890
|
+
tmp_5 = this.w23_1.n22_1;
|
|
6891
|
+
} else if (index_0 === this.z23_1 && !(this.w23_1 == null)) {
|
|
6892
|
+
tmp_5 = this.w23_1.p22_1;
|
|
6893
6893
|
} else {
|
|
6894
|
-
var tmp0_1 = get_indices(this.
|
|
6894
|
+
var tmp0_1 = get_indices(this.q23_1);
|
|
6895
6895
|
var tmp$ret$12;
|
|
6896
6896
|
$l$block_4: {
|
|
6897
6897
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6926,9 +6926,9 @@
|
|
|
6926
6926
|
list_0.x(tmp$ret$14);
|
|
6927
6927
|
}
|
|
6928
6928
|
while (inductionVariable_1 < size_0);
|
|
6929
|
-
tmp_4.
|
|
6929
|
+
tmp_4.b24_1 = list_0;
|
|
6930
6930
|
var tmp_7 = this;
|
|
6931
|
-
var tmp0_2 = this.
|
|
6931
|
+
var tmp0_2 = this.b24_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.c24_1 = tmp$ret$19;
|
|
6957
6957
|
}
|
|
6958
|
-
protoOf(TableImpl).
|
|
6959
|
-
if (this.
|
|
6958
|
+
protoOf(TableImpl).s21 = function (t, width) {
|
|
6959
|
+
if (this.y23_1)
|
|
6960
6960
|
return new WidthRange(width, width);
|
|
6961
|
-
var remainingWidth = width - this.
|
|
6961
|
+
var remainingWidth = width - this.c24_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.z23_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.u()) {
|
|
6981
6981
|
var element = _iterator__ex2g4s.v();
|
|
6982
6982
|
var tmp = sum;
|
|
6983
|
-
sum = tmp + element.
|
|
6983
|
+
sum = tmp + element.g22_1 | 0;
|
|
6984
6984
|
}
|
|
6985
|
-
var tmp_0 = sum + this.
|
|
6985
|
+
var tmp_0 = sum + this.c24_1 | 0;
|
|
6986
6986
|
// Inline function 'kotlin.collections.sumOf' call
|
|
6987
6987
|
var sum_0 = 0;
|
|
6988
6988
|
var _iterator__ex2g4s_0 = ranges.t();
|
|
6989
6989
|
while (_iterator__ex2g4s_0.u()) {
|
|
6990
6990
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
6991
6991
|
var tmp_1 = sum_0;
|
|
6992
|
-
sum_0 = tmp_1 + element_0.
|
|
6992
|
+
sum_0 = tmp_1 + element_0.h22_1 | 0;
|
|
6993
6993
|
}
|
|
6994
6994
|
var tmp$ret$8 = sum_0;
|
|
6995
|
-
return new WidthRange(tmp_0, tmp$ret$8 + this.
|
|
6995
|
+
return new WidthRange(tmp_0, tmp$ret$8 + this.c24_1 | 0);
|
|
6996
6996
|
};
|
|
6997
|
-
protoOf(TableImpl).
|
|
6998
|
-
return (new TableRenderer(this.
|
|
6997
|
+
protoOf(TableImpl).t21 = function (t, width) {
|
|
6998
|
+
return (new TableRenderer(this.q23_1, this.r23_1, this.s23_1, this.t23_1, this.u23_1, this.z23_1, calculateColumnWidths(this, t, width), this.b24_1, this.a24_1, this.w23_1, t)).s24();
|
|
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.t22()) === 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.v22()) === 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.s22()) === 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.u22()) === true;
|
|
7013
7013
|
}
|
|
7014
7014
|
function _get_rowCount__xlqfpy($this) {
|
|
7015
|
-
return $this.
|
|
7015
|
+
return $this.e24_1.f1();
|
|
7016
7016
|
}
|
|
7017
7017
|
function drawBottomBorder($this) {
|
|
7018
|
-
if (!$this.
|
|
7018
|
+
if (!$this.m24_1.e1(_get_rowCount__xlqfpy($this)))
|
|
7019
7019
|
return Unit_instance;
|
|
7020
|
-
var line = $this.
|
|
7020
|
+
var line = $this.r24_1.e1(get_lastIndex_0($this.r24_1));
|
|
7021
7021
|
var inductionVariable = 0;
|
|
7022
|
-
var last = $this.
|
|
7022
|
+
var last = $this.k24_1.f1() - 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.l24_1.e1(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.x(tmp61_safe_receiver);
|
|
7034
7034
|
}
|
|
7035
7035
|
}
|
|
7036
|
-
drawTopBorderForCell($this, get_lastIndex_0($this.
|
|
7036
|
+
drawTopBorderForCell($this, get_lastIndex_0($this.r24_1), x, _get_rowCount__xlqfpy($this), $this.k24_1.e1(x), false);
|
|
7037
7037
|
}
|
|
7038
7038
|
while (inductionVariable <= last);
|
|
7039
|
-
if ($this.
|
|
7040
|
-
var tmp62_safe_receiver = getTopLeftCorner($this, $this.
|
|
7039
|
+
if ($this.l24_1.e1($this.j24_1)) {
|
|
7040
|
+
var tmp62_safe_receiver = getTopLeftCorner($this, $this.j24_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.v();
|
|
7057
|
-
$this.
|
|
7057
|
+
$this.r24_1.e1(tableLineY + i | 0).j1(line);
|
|
7058
7058
|
}
|
|
7059
7059
|
}
|
|
7060
7060
|
function drawTopBorderForCell($this, tableLineY, x, y, colWidth, borderTop) {
|
|
7061
|
-
if (!$this.
|
|
7061
|
+
if (!$this.m24_1.e1(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$default($this, y).
|
|
7067
|
+
if (borderTop || (y === 0 && get_t_0($this.n24_1)) || (y === _get_rowCount__xlqfpy($this) && get_b_0($this.n24_1)) || get_b(cellAt($this, x, y - 1 | 0))) {
|
|
7068
|
+
tmp = sectionOfRow$default($this, y).o1z_1;
|
|
7069
7069
|
} else {
|
|
7070
7070
|
tmp = ' ';
|
|
7071
7071
|
}
|
|
7072
7072
|
var char = tmp;
|
|
7073
|
-
$this.
|
|
7073
|
+
$this.r24_1.e1(tableLineY).x(Companion_instance_0.g1y(repeat(char, colWidth), $this.g24_1));
|
|
7074
7074
|
return 1;
|
|
7075
7075
|
}
|
|
7076
7076
|
function drawLeftBorderForColumn($this, x) {
|
|
7077
|
-
if (!$this.
|
|
7077
|
+
if (!$this.l24_1.e1(x))
|
|
7078
7078
|
return Unit_instance;
|
|
7079
7079
|
var tableLineY = 0;
|
|
7080
|
-
var iterator = $this.
|
|
7080
|
+
var iterator = $this.e24_1.t();
|
|
7081
7081
|
var index = 0;
|
|
7082
7082
|
while (iterator.u()) {
|
|
7083
7083
|
var y = index;
|
|
7084
7084
|
index = index + 1 | 0;
|
|
7085
7085
|
var row = iterator.v();
|
|
7086
|
-
var rowHeight = $this.
|
|
7086
|
+
var rowHeight = $this.q24_1.e1(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.m24_1.e1(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.r24_1.e1(tableLineY).x(tmp63_safe_receiver);
|
|
7096
7096
|
}
|
|
7097
7097
|
}
|
|
7098
|
-
var borderLeft = cell.
|
|
7099
|
-
var topBorderHeight = $this.
|
|
7098
|
+
var borderLeft = cell.s22();
|
|
7099
|
+
var topBorderHeight = $this.m24_1.e1(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.n24_1) || (x === $this.j24_1 && get_r_0($this.n24_1)) || borderLeft || get_r(cellAt($this, x - 1 | 0, y))) {
|
|
7103
|
+
tmp = Companion_instance_0.g1y(sectionOfRow($this, y, false).p1z_1, $this.g24_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.r24_1.e1((tableLineY + i | 0) + topBorderHeight | 0).x(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.a1y($this.k24_1.e1(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.q24_1.e1(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.d23_1 | 0);
|
|
7146
7146
|
var inductionVariable_0 = progression.q1_1;
|
|
7147
7147
|
var last = progression.r1_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.k24_1.e1(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.d23_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.l24_1.e1(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.c23_1 | 0);
|
|
7192
7192
|
var inductionVariable_2 = progression_0.q1_1;
|
|
7193
7193
|
var last_1 = progression_0.r1_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.q24_1.e1(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.c23_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.m24_1.e1(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.b23_1.t21($this.o24_1, cellWidth).x1z(cell.i23_1), cellWidth, cellHeight, cell.k23_1, cell.j23_1).t1x_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.e24_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,72 +7258,72 @@
|
|
|
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.u22()) == 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.s22()) == 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.v22()) == 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.t22()) == 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.u22()) == 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.s22()) == 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.v22()) == 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.t22()) == null;
|
|
7297
7297
|
} else {
|
|
7298
7298
|
tmp = false;
|
|
7299
7299
|
}
|
|
7300
7300
|
if (tmp) {
|
|
7301
7301
|
return null;
|
|
7302
7302
|
}
|
|
7303
|
-
return sectionOfRow$default($this, y).
|
|
7303
|
+
return sectionOfRow$default($this, y).v1z(get_r(tl) || get_l(tr) || (y > 0 && (x === 0 && get_l_0($this.n24_1) || (x === $this.j24_1 && get_r_0($this.n24_1)))), get_b(tr) || get_t(br) || (x < $this.j24_1 && (y === 0 && get_t_0($this.n24_1) || (y === _get_rowCount__xlqfpy($this) && get_b_0($this.n24_1)))), get_r(bl) || get_l(br) || (y < _get_rowCount__xlqfpy($this) && (x === 0 && get_l_0($this.n24_1) || (x === $this.j24_1 && get_r_0($this.n24_1)))), get_b(tl) || get_t(bl) || (x > 0 && (y === 0 && get_t_0($this.n24_1) || (y === _get_rowCount__xlqfpy($this) && get_b_0($this.n24_1)))), $this.g24_1);
|
|
7304
7304
|
}
|
|
7305
7305
|
function sectionOfRow($this, y, allowBottom) {
|
|
7306
|
-
return y < $this.
|
|
7306
|
+
return y < $this.h24_1 ? $this.f24_1.a1z_1 : allowBottom && $this.h24_1 > 0 && y === $this.h24_1 ? $this.f24_1.b1z_1 : allowBottom && $this.i24_1 > 0 && y === (_get_rowCount__xlqfpy($this) - $this.i24_1 | 0) ? $this.f24_1.d1z_1 : $this.i24_1 === 0 || y < (_get_rowCount__xlqfpy($this) - $this.i24_1 | 0) ? $this.f24_1.c1z_1 : $this.f24_1.e1z_1;
|
|
7307
7307
|
}
|
|
7308
7308
|
function sectionOfRow$default($this, y, allowBottom, $super) {
|
|
7309
7309
|
allowBottom = allowBottom === VOID ? true : allowBottom;
|
|
7310
7310
|
return sectionOfRow($this, y, allowBottom);
|
|
7311
7311
|
}
|
|
7312
7312
|
function TableRenderer(rows, borderType, borderStyle, headerRowCount, footerRowCount, columnCount, columnWidths, columnBorders, rowBorders, tableBorders, t) {
|
|
7313
|
-
this.
|
|
7314
|
-
this.
|
|
7315
|
-
this.
|
|
7316
|
-
this.
|
|
7317
|
-
this.
|
|
7318
|
-
this.
|
|
7319
|
-
this.
|
|
7320
|
-
this.
|
|
7321
|
-
this.
|
|
7322
|
-
this.
|
|
7323
|
-
this.
|
|
7313
|
+
this.e24_1 = rows;
|
|
7314
|
+
this.f24_1 = borderType;
|
|
7315
|
+
this.g24_1 = borderStyle;
|
|
7316
|
+
this.h24_1 = headerRowCount;
|
|
7317
|
+
this.i24_1 = footerRowCount;
|
|
7318
|
+
this.j24_1 = columnCount;
|
|
7319
|
+
this.k24_1 = columnWidths;
|
|
7320
|
+
this.l24_1 = columnBorders;
|
|
7321
|
+
this.m24_1 = rowBorders;
|
|
7322
|
+
this.n24_1 = tableBorders;
|
|
7323
|
+
this.o24_1 = t;
|
|
7324
7324
|
var tmp = this;
|
|
7325
7325
|
// Inline function 'kotlin.collections.map' call
|
|
7326
|
-
var this_0 = this.
|
|
7326
|
+
var this_0 = this.e24_1;
|
|
7327
7327
|
// Inline function 'kotlin.collections.mapTo' call
|
|
7328
7328
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
7329
7329
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -7343,7 +7343,7 @@
|
|
|
7343
7343
|
if (item_0 instanceof Content) {
|
|
7344
7344
|
// Inline function 'kotlin.collections.sumOf' call
|
|
7345
7345
|
var sum_0 = 0;
|
|
7346
|
-
var progression = until(x, x + item_0.
|
|
7346
|
+
var progression = until(x, x + item_0.d23_1 | 0);
|
|
7347
7347
|
var inductionVariable = progression.q1_1;
|
|
7348
7348
|
var last = progression.r1_1;
|
|
7349
7349
|
if (inductionVariable <= last)
|
|
@@ -7352,11 +7352,11 @@
|
|
|
7352
7352
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7353
7353
|
var tmp_1 = sum_0;
|
|
7354
7354
|
var it = element;
|
|
7355
|
-
sum_0 = tmp_1 + this.
|
|
7355
|
+
sum_0 = tmp_1 + this.k24_1.e1(it) | 0;
|
|
7356
7356
|
}
|
|
7357
7357
|
while (!(element === last));
|
|
7358
7358
|
var w = sum_0;
|
|
7359
|
-
tmp_0 = w === 0 ? get_EMPTY_LINES() : item_0.
|
|
7359
|
+
tmp_0 = w === 0 ? get_EMPTY_LINES() : item_0.b23_1.t21(this.o24_1, w).x1z(item_0.i23_1);
|
|
7360
7360
|
} else {
|
|
7361
7361
|
tmp_0 = get_EMPTY_LINES();
|
|
7362
7362
|
}
|
|
@@ -7365,10 +7365,10 @@
|
|
|
7365
7365
|
}
|
|
7366
7366
|
destination.x(destination_0);
|
|
7367
7367
|
}
|
|
7368
|
-
tmp.
|
|
7368
|
+
tmp.p24_1 = destination;
|
|
7369
7369
|
var tmp_2 = this;
|
|
7370
7370
|
// Inline function 'kotlin.collections.mapIndexed' call
|
|
7371
|
-
var this_1 = this.
|
|
7371
|
+
var this_1 = this.p24_1;
|
|
7372
7372
|
// Inline function 'kotlin.collections.mapIndexedTo' call
|
|
7373
7373
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
7374
7374
|
var index_0 = 0;
|
|
@@ -7390,17 +7390,17 @@
|
|
|
7390
7390
|
var destruct = iterator.v();
|
|
7391
7391
|
var x_0 = destruct.fa();
|
|
7392
7392
|
var it_0 = destruct.ga();
|
|
7393
|
-
var tmp_3 = it_0.
|
|
7393
|
+
var tmp_3 = it_0.w1z();
|
|
7394
7394
|
var tmp59_safe_receiver = cellAt(this, x_0, y);
|
|
7395
|
-
var tmp0_elvis_lhs = tmp59_safe_receiver == null ? null : tmp59_safe_receiver.
|
|
7395
|
+
var tmp0_elvis_lhs = tmp59_safe_receiver == null ? null : tmp59_safe_receiver.r22();
|
|
7396
7396
|
var maxValue = tmp_3 / (tmp0_elvis_lhs == null ? 1 : tmp0_elvis_lhs) | 0;
|
|
7397
7397
|
while (iterator.u()) {
|
|
7398
7398
|
var destruct_0 = iterator.v();
|
|
7399
7399
|
var x_1 = destruct_0.fa();
|
|
7400
7400
|
var it_1 = destruct_0.ga();
|
|
7401
|
-
var tmp_4 = it_1.
|
|
7401
|
+
var tmp_4 = it_1.w1z();
|
|
7402
7402
|
var tmp59_safe_receiver_0 = cellAt(this, x_1, y);
|
|
7403
|
-
var tmp0_elvis_lhs_0 = tmp59_safe_receiver_0 == null ? null : tmp59_safe_receiver_0.
|
|
7403
|
+
var tmp0_elvis_lhs_0 = tmp59_safe_receiver_0 == null ? null : tmp59_safe_receiver_0.r22();
|
|
7404
7404
|
var v = tmp_4 / (tmp0_elvis_lhs_0 == null ? 1 : tmp0_elvis_lhs_0) | 0;
|
|
7405
7405
|
if (compareTo(maxValue, v) < 0) {
|
|
7406
7406
|
maxValue = v;
|
|
@@ -7413,10 +7413,10 @@
|
|
|
7413
7413
|
var tmp$ret$11 = tmp0_elvis_lhs_1 == null ? 1 : tmp0_elvis_lhs_1;
|
|
7414
7414
|
destination_1.x(tmp$ret$11);
|
|
7415
7415
|
}
|
|
7416
|
-
tmp_2.
|
|
7416
|
+
tmp_2.q24_1 = destination_1;
|
|
7417
7417
|
var tmp_5 = this;
|
|
7418
|
-
var tmp_6 = sum(this.
|
|
7419
|
-
var tmp0_0 = this.
|
|
7418
|
+
var tmp_6 = sum(this.q24_1);
|
|
7419
|
+
var tmp0_0 = this.m24_1;
|
|
7420
7420
|
var tmp$ret$14;
|
|
7421
7421
|
$l$block_0: {
|
|
7422
7422
|
// Inline function 'kotlin.collections.count' call
|
|
@@ -7455,37 +7455,37 @@
|
|
|
7455
7455
|
list.x(tmp$ret$17);
|
|
7456
7456
|
}
|
|
7457
7457
|
while (inductionVariable_0 < size);
|
|
7458
|
-
tmp_5.
|
|
7458
|
+
tmp_5.r24_1 = list;
|
|
7459
7459
|
}
|
|
7460
|
-
protoOf(TableRenderer).
|
|
7460
|
+
protoOf(TableRenderer).s24 = function () {
|
|
7461
7461
|
var inductionVariable = 0;
|
|
7462
|
-
var last = this.
|
|
7462
|
+
var last = this.k24_1.f1() - 1 | 0;
|
|
7463
7463
|
if (inductionVariable <= last)
|
|
7464
7464
|
do {
|
|
7465
7465
|
var x = inductionVariable;
|
|
7466
7466
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7467
7467
|
drawLeftBorderForColumn(this, x);
|
|
7468
|
-
var colWidth = this.
|
|
7468
|
+
var colWidth = this.k24_1.e1(x);
|
|
7469
7469
|
var tableLineY = 0;
|
|
7470
|
-
var iterator = this.
|
|
7470
|
+
var iterator = this.e24_1.t();
|
|
7471
7471
|
var index = 0;
|
|
7472
7472
|
while (iterator.u()) {
|
|
7473
7473
|
var y = index;
|
|
7474
7474
|
index = index + 1 | 0;
|
|
7475
7475
|
var row = iterator.v();
|
|
7476
|
-
var rowHeight = this.
|
|
7476
|
+
var rowHeight = this.q24_1.e1(y);
|
|
7477
7477
|
var tmp0_elvis_lhs = getOrNull(row, x);
|
|
7478
7478
|
var cell = tmp0_elvis_lhs == null ? Empty_getInstance() : tmp0_elvis_lhs;
|
|
7479
|
-
tableLineY = tableLineY + drawTopBorderForCell(this, tableLineY, x, y, colWidth, cell.
|
|
7479
|
+
tableLineY = tableLineY + drawTopBorderForCell(this, tableLineY, x, y, colWidth, cell.t22()) | 0;
|
|
7480
7480
|
drawCellContent(this, tableLineY, cell, x, y);
|
|
7481
7481
|
tableLineY = tableLineY + rowHeight | 0;
|
|
7482
7482
|
}
|
|
7483
7483
|
}
|
|
7484
7484
|
while (inductionVariable <= last);
|
|
7485
|
-
drawLeftBorderForColumn(this, this.
|
|
7485
|
+
drawLeftBorderForColumn(this, this.j24_1);
|
|
7486
7486
|
drawBottomBorder(this);
|
|
7487
7487
|
// Inline function 'kotlin.collections.map' call
|
|
7488
|
-
var this_0 = this.
|
|
7488
|
+
var this_0 = this.r24_1;
|
|
7489
7489
|
// Inline function 'kotlin.collections.mapTo' call
|
|
7490
7490
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
7491
7491
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -7497,22 +7497,22 @@
|
|
|
7497
7497
|
return new Lines(destination);
|
|
7498
7498
|
};
|
|
7499
7499
|
function get_t_0(_this__u8e3s4) {
|
|
7500
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7500
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.o22_1) === true;
|
|
7501
7501
|
}
|
|
7502
7502
|
function get_b_0(_this__u8e3s4) {
|
|
7503
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7503
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.q22_1) === true;
|
|
7504
7504
|
}
|
|
7505
7505
|
function get_l_0(_this__u8e3s4) {
|
|
7506
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7506
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.n22_1) === true;
|
|
7507
7507
|
}
|
|
7508
7508
|
function get_r_0(_this__u8e3s4) {
|
|
7509
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7509
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.p22_1) === true;
|
|
7510
7510
|
}
|
|
7511
7511
|
function verticalLayout(init) {
|
|
7512
7512
|
// Inline function 'kotlin.apply' call
|
|
7513
7513
|
var this_0 = new VerticalLayoutBuilderInstance();
|
|
7514
7514
|
init(this_0);
|
|
7515
|
-
return this_0.
|
|
7515
|
+
return this_0.x24();
|
|
7516
7516
|
}
|
|
7517
7517
|
function LinearLayoutBuilder$cellsFrom$lambda(_this__u8e3s4) {
|
|
7518
7518
|
return Unit_instance;
|
|
@@ -7524,7 +7524,7 @@
|
|
|
7524
7524
|
}
|
|
7525
7525
|
function Companion_2() {
|
|
7526
7526
|
Companion_instance_2 = this;
|
|
7527
|
-
this.
|
|
7527
|
+
this.d25_1 = new ColumnWidth(2);
|
|
7528
7528
|
}
|
|
7529
7529
|
var Companion_instance_2;
|
|
7530
7530
|
function Companion_getInstance_3() {
|
|
@@ -7536,32 +7536,32 @@
|
|
|
7536
7536
|
Companion_getInstance_3();
|
|
7537
7537
|
width = width === VOID ? null : width;
|
|
7538
7538
|
expandWeight = expandWeight === VOID ? null : expandWeight;
|
|
7539
|
-
this.
|
|
7540
|
-
this.
|
|
7541
|
-
this.
|
|
7539
|
+
this.n23_1 = priority;
|
|
7540
|
+
this.o23_1 = width;
|
|
7541
|
+
this.p23_1 = expandWeight;
|
|
7542
7542
|
// Inline function 'kotlin.require' call
|
|
7543
|
-
if (!(this.
|
|
7543
|
+
if (!(this.o23_1 == null || this.o23_1 > 0)) {
|
|
7544
7544
|
var message = 'width must be greater than zero';
|
|
7545
7545
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
7546
7546
|
}
|
|
7547
7547
|
// Inline function 'kotlin.require' call
|
|
7548
|
-
if (!(this.
|
|
7548
|
+
if (!(this.p23_1 == null || this.p23_1 > 0.0)) {
|
|
7549
7549
|
var message_0 = 'expandWeight must be greater than zero';
|
|
7550
7550
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
7551
7551
|
}
|
|
7552
7552
|
// Inline function 'kotlin.require' call
|
|
7553
|
-
if (!(this.
|
|
7553
|
+
if (!(this.o23_1 == null || this.p23_1 == null)) {
|
|
7554
7554
|
var message_1 = 'Cannot set both width and expandWeight';
|
|
7555
7555
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
7556
7556
|
}
|
|
7557
7557
|
}
|
|
7558
7558
|
protoOf(ColumnWidth).toString = function () {
|
|
7559
|
-
return get_isAuto(this) ? 'Auto' : get_isExpand(this) ? 'Expand(' + this.
|
|
7559
|
+
return get_isAuto(this) ? 'Auto' : get_isExpand(this) ? 'Expand(' + this.p23_1 + ')' : get_isFixed(this) ? 'Fixed(' + this.o23_1 + ')' : 'Custom(width=' + this.o23_1 + ', expandWeight=' + this.p23_1 + ', priority=' + this.n23_1 + ')';
|
|
7560
7560
|
};
|
|
7561
7561
|
protoOf(ColumnWidth).hashCode = function () {
|
|
7562
|
-
var result = this.
|
|
7563
|
-
result = imul(result, 31) + (this.
|
|
7564
|
-
result = imul(result, 31) + (this.
|
|
7562
|
+
var result = this.n23_1;
|
|
7563
|
+
result = imul(result, 31) + (this.o23_1 == null ? 0 : this.o23_1) | 0;
|
|
7564
|
+
result = imul(result, 31) + (this.p23_1 == null ? 0 : getNumberHashCode(this.p23_1)) | 0;
|
|
7565
7565
|
return result;
|
|
7566
7566
|
};
|
|
7567
7567
|
protoOf(ColumnWidth).equals = function (other) {
|
|
@@ -7570,146 +7570,146 @@
|
|
|
7570
7570
|
if (!(other instanceof ColumnWidth))
|
|
7571
7571
|
return false;
|
|
7572
7572
|
var tmp0_other_with_cast = other instanceof ColumnWidth ? other : THROW_CCE();
|
|
7573
|
-
if (!(this.
|
|
7573
|
+
if (!(this.n23_1 === tmp0_other_with_cast.n23_1))
|
|
7574
7574
|
return false;
|
|
7575
|
-
if (!(this.
|
|
7575
|
+
if (!(this.o23_1 == tmp0_other_with_cast.o23_1))
|
|
7576
7576
|
return false;
|
|
7577
|
-
if (!equals(this.
|
|
7577
|
+
if (!equals(this.p23_1, tmp0_other_with_cast.p23_1))
|
|
7578
7578
|
return false;
|
|
7579
7579
|
return true;
|
|
7580
7580
|
};
|
|
7581
7581
|
function get_isAuto(_this__u8e3s4) {
|
|
7582
|
-
return _this__u8e3s4.
|
|
7582
|
+
return _this__u8e3s4.o23_1 == null && _this__u8e3s4.p23_1 == null;
|
|
7583
7583
|
}
|
|
7584
7584
|
function get_isExpand(_this__u8e3s4) {
|
|
7585
|
-
return !(_this__u8e3s4.
|
|
7585
|
+
return !(_this__u8e3s4.p23_1 == null);
|
|
7586
7586
|
}
|
|
7587
7587
|
function get_isFixed(_this__u8e3s4) {
|
|
7588
|
-
return !(_this__u8e3s4.
|
|
7588
|
+
return !(_this__u8e3s4.o23_1 == null);
|
|
7589
7589
|
}
|
|
7590
7590
|
function CellStyleBuilder() {
|
|
7591
7591
|
}
|
|
7592
7592
|
function VerticalLayoutBuilderInstance(tableBuilder) {
|
|
7593
7593
|
tableBuilder = tableBuilder === VOID ? new TableBuilderInstance() : tableBuilder;
|
|
7594
|
-
this.
|
|
7595
|
-
this.
|
|
7596
|
-
this.
|
|
7597
|
-
this.
|
|
7594
|
+
this.t24_1 = tableBuilder;
|
|
7595
|
+
this.u24_1 = this.t24_1.u25_1;
|
|
7596
|
+
this.v24_1 = Companion_getInstance_3().d25_1;
|
|
7597
|
+
this.w24_1 = 0;
|
|
7598
7598
|
}
|
|
7599
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7600
|
-
return this.
|
|
7599
|
+
protoOf(VerticalLayoutBuilderInstance).j25 = function () {
|
|
7600
|
+
return this.t24_1.j25();
|
|
7601
7601
|
};
|
|
7602
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7603
|
-
return this.
|
|
7602
|
+
protoOf(VerticalLayoutBuilderInstance).k25 = function () {
|
|
7603
|
+
return this.t24_1.k25();
|
|
7604
7604
|
};
|
|
7605
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7606
|
-
return this.
|
|
7605
|
+
protoOf(VerticalLayoutBuilderInstance).l25 = function () {
|
|
7606
|
+
return this.t24_1.l25();
|
|
7607
7607
|
};
|
|
7608
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7609
|
-
return this.
|
|
7608
|
+
protoOf(VerticalLayoutBuilderInstance).m25 = function () {
|
|
7609
|
+
return this.t24_1.m25();
|
|
7610
7610
|
};
|
|
7611
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7612
|
-
this.
|
|
7611
|
+
protoOf(VerticalLayoutBuilderInstance).c25 = function (_set____db54di) {
|
|
7612
|
+
this.w24_1 = _set____db54di;
|
|
7613
7613
|
};
|
|
7614
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7614
|
+
protoOf(VerticalLayoutBuilderInstance).y24 = function (cells, init) {
|
|
7615
7615
|
// Inline function 'kotlin.collections.forEach' call
|
|
7616
7616
|
var _iterator__ex2g4s = cells.t();
|
|
7617
7617
|
while (_iterator__ex2g4s.u()) {
|
|
7618
7618
|
var element = _iterator__ex2g4s.v();
|
|
7619
|
-
this.
|
|
7619
|
+
this.u24_1.c26([element], init);
|
|
7620
7620
|
}
|
|
7621
7621
|
};
|
|
7622
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7623
|
-
this.
|
|
7622
|
+
protoOf(VerticalLayoutBuilderInstance).a25 = function (content, init) {
|
|
7623
|
+
this.u24_1.c26([content], init);
|
|
7624
7624
|
};
|
|
7625
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7626
|
-
return Companion_instance_3.
|
|
7625
|
+
protoOf(VerticalLayoutBuilderInstance).x24 = function () {
|
|
7626
|
+
return Companion_instance_3.d26(this.t24_1, this.w24_1, this.v24_1);
|
|
7627
7627
|
};
|
|
7628
7628
|
function TableBuilderInstance() {
|
|
7629
|
-
this.
|
|
7630
|
-
this.
|
|
7631
|
-
this.
|
|
7632
|
-
this.
|
|
7633
|
-
this.
|
|
7629
|
+
this.n25_1 = new CellStyleBuilderMixin();
|
|
7630
|
+
this.o25_1 = Companion_getInstance_0().p1y_1;
|
|
7631
|
+
this.p25_1 = get_DEFAULT_STYLE();
|
|
7632
|
+
this.q25_1 = null;
|
|
7633
|
+
this.r25_1 = true;
|
|
7634
7634
|
var tmp = this;
|
|
7635
7635
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7636
|
-
tmp.
|
|
7637
|
-
this.
|
|
7638
|
-
this.
|
|
7639
|
-
this.
|
|
7640
|
-
this.
|
|
7641
|
-
this.
|
|
7636
|
+
tmp.s25_1 = LinkedHashMap_init_$Create$();
|
|
7637
|
+
this.t25_1 = new SectionBuilderInstance();
|
|
7638
|
+
this.u25_1 = new SectionBuilderInstance();
|
|
7639
|
+
this.v25_1 = new SectionBuilderInstance();
|
|
7640
|
+
this.w25_1 = null;
|
|
7641
|
+
this.x25_1 = null;
|
|
7642
7642
|
}
|
|
7643
|
-
protoOf(TableBuilderInstance).
|
|
7644
|
-
this.
|
|
7643
|
+
protoOf(TableBuilderInstance).i25 = function (all) {
|
|
7644
|
+
this.n25_1.i25(all);
|
|
7645
7645
|
};
|
|
7646
|
-
protoOf(TableBuilderInstance).
|
|
7647
|
-
this.
|
|
7646
|
+
protoOf(TableBuilderInstance).e26 = function (_set____db54di) {
|
|
7647
|
+
this.n25_1.h26_1 = _set____db54di;
|
|
7648
7648
|
};
|
|
7649
|
-
protoOf(TableBuilderInstance).
|
|
7650
|
-
return this.
|
|
7649
|
+
protoOf(TableBuilderInstance).e25 = function () {
|
|
7650
|
+
return this.n25_1.h26_1;
|
|
7651
7651
|
};
|
|
7652
|
-
protoOf(TableBuilderInstance).
|
|
7653
|
-
return this.
|
|
7652
|
+
protoOf(TableBuilderInstance).f25 = function () {
|
|
7653
|
+
return this.n25_1.k26_1;
|
|
7654
7654
|
};
|
|
7655
|
-
protoOf(TableBuilderInstance).
|
|
7656
|
-
this.
|
|
7655
|
+
protoOf(TableBuilderInstance).g25 = function (_set____db54di) {
|
|
7656
|
+
this.n25_1.f26_1 = _set____db54di;
|
|
7657
7657
|
};
|
|
7658
|
-
protoOf(TableBuilderInstance).
|
|
7659
|
-
return this.
|
|
7658
|
+
protoOf(TableBuilderInstance).h25 = function () {
|
|
7659
|
+
return this.n25_1.f26_1;
|
|
7660
7660
|
};
|
|
7661
|
-
protoOf(TableBuilderInstance).
|
|
7662
|
-
return this.
|
|
7661
|
+
protoOf(TableBuilderInstance).j25 = function () {
|
|
7662
|
+
return this.n25_1.g26_1;
|
|
7663
7663
|
};
|
|
7664
|
-
protoOf(TableBuilderInstance).
|
|
7665
|
-
return this.
|
|
7664
|
+
protoOf(TableBuilderInstance).k25 = function () {
|
|
7665
|
+
return this.n25_1.i26_1;
|
|
7666
7666
|
};
|
|
7667
|
-
protoOf(TableBuilderInstance).
|
|
7668
|
-
return this.
|
|
7667
|
+
protoOf(TableBuilderInstance).l25 = function () {
|
|
7668
|
+
return this.n25_1.j26_1;
|
|
7669
7669
|
};
|
|
7670
|
-
protoOf(TableBuilderInstance).
|
|
7671
|
-
return this.
|
|
7670
|
+
protoOf(TableBuilderInstance).m25 = function () {
|
|
7671
|
+
return this.n25_1.l26_1;
|
|
7672
7672
|
};
|
|
7673
7673
|
function SectionBuilderInstance() {
|
|
7674
|
-
this.
|
|
7674
|
+
this.y25_1 = new CellStyleBuilderMixin();
|
|
7675
7675
|
var tmp = this;
|
|
7676
7676
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7677
|
-
tmp.
|
|
7677
|
+
tmp.z25_1 = ArrayList_init_$Create$();
|
|
7678
7678
|
var tmp_0 = this;
|
|
7679
7679
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7680
|
-
tmp_0.
|
|
7680
|
+
tmp_0.a26_1 = LinkedHashMap_init_$Create$();
|
|
7681
7681
|
var tmp_1 = this;
|
|
7682
7682
|
// Inline function 'kotlin.collections.listOf' call
|
|
7683
|
-
tmp_1.
|
|
7683
|
+
tmp_1.b26_1 = emptyList();
|
|
7684
7684
|
}
|
|
7685
|
-
protoOf(SectionBuilderInstance).
|
|
7686
|
-
this.
|
|
7685
|
+
protoOf(SectionBuilderInstance).i25 = function (all) {
|
|
7686
|
+
this.y25_1.i25(all);
|
|
7687
7687
|
};
|
|
7688
|
-
protoOf(SectionBuilderInstance).
|
|
7689
|
-
return this.
|
|
7688
|
+
protoOf(SectionBuilderInstance).e25 = function () {
|
|
7689
|
+
return this.y25_1.h26_1;
|
|
7690
7690
|
};
|
|
7691
|
-
protoOf(SectionBuilderInstance).
|
|
7692
|
-
return this.
|
|
7691
|
+
protoOf(SectionBuilderInstance).f25 = function () {
|
|
7692
|
+
return this.y25_1.k26_1;
|
|
7693
7693
|
};
|
|
7694
|
-
protoOf(SectionBuilderInstance).
|
|
7695
|
-
this.
|
|
7694
|
+
protoOf(SectionBuilderInstance).g25 = function (_set____db54di) {
|
|
7695
|
+
this.y25_1.f26_1 = _set____db54di;
|
|
7696
7696
|
};
|
|
7697
|
-
protoOf(SectionBuilderInstance).
|
|
7698
|
-
return this.
|
|
7697
|
+
protoOf(SectionBuilderInstance).h25 = function () {
|
|
7698
|
+
return this.y25_1.f26_1;
|
|
7699
7699
|
};
|
|
7700
|
-
protoOf(SectionBuilderInstance).
|
|
7701
|
-
return this.
|
|
7700
|
+
protoOf(SectionBuilderInstance).j25 = function () {
|
|
7701
|
+
return this.y25_1.g26_1;
|
|
7702
7702
|
};
|
|
7703
|
-
protoOf(SectionBuilderInstance).
|
|
7704
|
-
return this.
|
|
7703
|
+
protoOf(SectionBuilderInstance).k25 = function () {
|
|
7704
|
+
return this.y25_1.i26_1;
|
|
7705
7705
|
};
|
|
7706
|
-
protoOf(SectionBuilderInstance).
|
|
7707
|
-
return this.
|
|
7706
|
+
protoOf(SectionBuilderInstance).l25 = function () {
|
|
7707
|
+
return this.y25_1.j26_1;
|
|
7708
7708
|
};
|
|
7709
|
-
protoOf(SectionBuilderInstance).
|
|
7710
|
-
return this.
|
|
7709
|
+
protoOf(SectionBuilderInstance).m25 = function () {
|
|
7710
|
+
return this.y25_1.l26_1;
|
|
7711
7711
|
};
|
|
7712
|
-
protoOf(SectionBuilderInstance).
|
|
7712
|
+
protoOf(SectionBuilderInstance).m26 = function (cells, init) {
|
|
7713
7713
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7714
7714
|
// Inline function 'kotlin.collections.mapTo' call
|
|
7715
7715
|
var destination = ArrayList_init_$Create$();
|
|
@@ -7720,122 +7720,122 @@
|
|
|
7720
7720
|
destination.x(tmp$ret$1);
|
|
7721
7721
|
}
|
|
7722
7722
|
var cellBuilders = destination;
|
|
7723
|
-
var tmp0 = this.
|
|
7723
|
+
var tmp0 = this.z25_1;
|
|
7724
7724
|
// Inline function 'kotlin.apply' call
|
|
7725
7725
|
var this_0 = new RowBuilderInstance(cellBuilders);
|
|
7726
7726
|
init(this_0);
|
|
7727
7727
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7728
7728
|
tmp0.x(this_0);
|
|
7729
7729
|
};
|
|
7730
|
-
protoOf(SectionBuilderInstance).
|
|
7731
|
-
this.
|
|
7730
|
+
protoOf(SectionBuilderInstance).c26 = function (cells, init) {
|
|
7731
|
+
this.m26(asList(cells), init);
|
|
7732
7732
|
};
|
|
7733
7733
|
function CellStyleBuilderMixin() {
|
|
7734
|
-
this.b26_1 = null;
|
|
7735
|
-
this.c26_1 = null;
|
|
7736
|
-
this.d26_1 = null;
|
|
7737
|
-
this.e26_1 = null;
|
|
7738
7734
|
this.f26_1 = null;
|
|
7739
7735
|
this.g26_1 = null;
|
|
7740
7736
|
this.h26_1 = null;
|
|
7737
|
+
this.i26_1 = null;
|
|
7738
|
+
this.j26_1 = null;
|
|
7739
|
+
this.k26_1 = null;
|
|
7740
|
+
this.l26_1 = null;
|
|
7741
7741
|
}
|
|
7742
|
-
protoOf(CellStyleBuilderMixin).
|
|
7743
|
-
this.
|
|
7744
|
-
};
|
|
7745
|
-
protoOf(CellStyleBuilderMixin).d25 = function () {
|
|
7746
|
-
return this.b26_1;
|
|
7747
|
-
};
|
|
7748
|
-
protoOf(CellStyleBuilderMixin).f25 = function () {
|
|
7749
|
-
return this.c26_1;
|
|
7750
|
-
};
|
|
7751
|
-
protoOf(CellStyleBuilderMixin).a25 = function () {
|
|
7752
|
-
return this.d26_1;
|
|
7753
|
-
};
|
|
7754
|
-
protoOf(CellStyleBuilderMixin).g25 = function () {
|
|
7755
|
-
return this.e26_1;
|
|
7742
|
+
protoOf(CellStyleBuilderMixin).g25 = function (_set____db54di) {
|
|
7743
|
+
this.f26_1 = _set____db54di;
|
|
7756
7744
|
};
|
|
7757
7745
|
protoOf(CellStyleBuilderMixin).h25 = function () {
|
|
7758
7746
|
return this.f26_1;
|
|
7759
7747
|
};
|
|
7760
|
-
protoOf(CellStyleBuilderMixin).
|
|
7748
|
+
protoOf(CellStyleBuilderMixin).j25 = function () {
|
|
7761
7749
|
return this.g26_1;
|
|
7762
7750
|
};
|
|
7763
|
-
protoOf(CellStyleBuilderMixin).
|
|
7751
|
+
protoOf(CellStyleBuilderMixin).e25 = function () {
|
|
7764
7752
|
return this.h26_1;
|
|
7765
7753
|
};
|
|
7766
|
-
function
|
|
7767
|
-
this.
|
|
7768
|
-
|
|
7769
|
-
|
|
7770
|
-
|
|
7771
|
-
this.j26_1.e25(all);
|
|
7754
|
+
protoOf(CellStyleBuilderMixin).k25 = function () {
|
|
7755
|
+
return this.i26_1;
|
|
7756
|
+
};
|
|
7757
|
+
protoOf(CellStyleBuilderMixin).l25 = function () {
|
|
7758
|
+
return this.j26_1;
|
|
7772
7759
|
};
|
|
7773
|
-
protoOf(
|
|
7774
|
-
return this.
|
|
7760
|
+
protoOf(CellStyleBuilderMixin).f25 = function () {
|
|
7761
|
+
return this.k26_1;
|
|
7775
7762
|
};
|
|
7776
|
-
protoOf(
|
|
7777
|
-
return this.
|
|
7763
|
+
protoOf(CellStyleBuilderMixin).m25 = function () {
|
|
7764
|
+
return this.l26_1;
|
|
7778
7765
|
};
|
|
7779
|
-
|
|
7780
|
-
this.
|
|
7766
|
+
function RowBuilderInstance(cells) {
|
|
7767
|
+
this.n26_1 = new CellStyleBuilderMixin();
|
|
7768
|
+
this.o26_1 = cells;
|
|
7769
|
+
}
|
|
7770
|
+
protoOf(RowBuilderInstance).i25 = function (all) {
|
|
7771
|
+
this.n26_1.i25(all);
|
|
7781
7772
|
};
|
|
7782
|
-
protoOf(RowBuilderInstance).
|
|
7783
|
-
return this.
|
|
7773
|
+
protoOf(RowBuilderInstance).e25 = function () {
|
|
7774
|
+
return this.n26_1.h26_1;
|
|
7784
7775
|
};
|
|
7785
7776
|
protoOf(RowBuilderInstance).f25 = function () {
|
|
7786
|
-
return this.
|
|
7777
|
+
return this.n26_1.k26_1;
|
|
7787
7778
|
};
|
|
7788
|
-
protoOf(RowBuilderInstance).g25 = function () {
|
|
7789
|
-
|
|
7779
|
+
protoOf(RowBuilderInstance).g25 = function (_set____db54di) {
|
|
7780
|
+
this.n26_1.f26_1 = _set____db54di;
|
|
7790
7781
|
};
|
|
7791
7782
|
protoOf(RowBuilderInstance).h25 = function () {
|
|
7792
|
-
return this.
|
|
7783
|
+
return this.n26_1.f26_1;
|
|
7793
7784
|
};
|
|
7794
|
-
protoOf(RowBuilderInstance).
|
|
7795
|
-
return this.
|
|
7785
|
+
protoOf(RowBuilderInstance).j25 = function () {
|
|
7786
|
+
return this.n26_1.g26_1;
|
|
7796
7787
|
};
|
|
7797
|
-
function
|
|
7798
|
-
this.
|
|
7799
|
-
this.m26_1 = content;
|
|
7800
|
-
this.n26_1 = 1;
|
|
7801
|
-
this.o26_1 = 1;
|
|
7802
|
-
}
|
|
7803
|
-
protoOf(CellBuilderInstance).e25 = function (all) {
|
|
7804
|
-
this.l26_1.e25(all);
|
|
7788
|
+
protoOf(RowBuilderInstance).k25 = function () {
|
|
7789
|
+
return this.n26_1.i26_1;
|
|
7805
7790
|
};
|
|
7806
|
-
protoOf(
|
|
7807
|
-
return this.
|
|
7791
|
+
protoOf(RowBuilderInstance).l25 = function () {
|
|
7792
|
+
return this.n26_1.j26_1;
|
|
7808
7793
|
};
|
|
7809
|
-
protoOf(
|
|
7810
|
-
return this.l26_1
|
|
7794
|
+
protoOf(RowBuilderInstance).m25 = function () {
|
|
7795
|
+
return this.n26_1.l26_1;
|
|
7811
7796
|
};
|
|
7812
|
-
|
|
7813
|
-
this.
|
|
7797
|
+
function CellBuilderInstance(content) {
|
|
7798
|
+
this.p26_1 = new CellStyleBuilderMixin();
|
|
7799
|
+
this.q26_1 = content;
|
|
7800
|
+
this.r26_1 = 1;
|
|
7801
|
+
this.s26_1 = 1;
|
|
7802
|
+
}
|
|
7803
|
+
protoOf(CellBuilderInstance).i25 = function (all) {
|
|
7804
|
+
this.p26_1.i25(all);
|
|
7814
7805
|
};
|
|
7815
|
-
protoOf(CellBuilderInstance).
|
|
7816
|
-
return this.
|
|
7806
|
+
protoOf(CellBuilderInstance).e25 = function () {
|
|
7807
|
+
return this.p26_1.h26_1;
|
|
7817
7808
|
};
|
|
7818
7809
|
protoOf(CellBuilderInstance).f25 = function () {
|
|
7819
|
-
return this.
|
|
7810
|
+
return this.p26_1.k26_1;
|
|
7820
7811
|
};
|
|
7821
|
-
protoOf(CellBuilderInstance).g25 = function () {
|
|
7822
|
-
|
|
7812
|
+
protoOf(CellBuilderInstance).g25 = function (_set____db54di) {
|
|
7813
|
+
this.p26_1.f26_1 = _set____db54di;
|
|
7823
7814
|
};
|
|
7824
7815
|
protoOf(CellBuilderInstance).h25 = function () {
|
|
7825
|
-
return this.
|
|
7816
|
+
return this.p26_1.f26_1;
|
|
7817
|
+
};
|
|
7818
|
+
protoOf(CellBuilderInstance).j25 = function () {
|
|
7819
|
+
return this.p26_1.g26_1;
|
|
7820
|
+
};
|
|
7821
|
+
protoOf(CellBuilderInstance).k25 = function () {
|
|
7822
|
+
return this.p26_1.i26_1;
|
|
7823
|
+
};
|
|
7824
|
+
protoOf(CellBuilderInstance).l25 = function () {
|
|
7825
|
+
return this.p26_1.j26_1;
|
|
7826
7826
|
};
|
|
7827
|
-
protoOf(CellBuilderInstance).
|
|
7828
|
-
return this.l26_1
|
|
7827
|
+
protoOf(CellBuilderInstance).m25 = function () {
|
|
7828
|
+
return this.p26_1.l26_1;
|
|
7829
7829
|
};
|
|
7830
7830
|
function WidgetContent(widget) {
|
|
7831
7831
|
CellContent.call(this);
|
|
7832
|
-
this.
|
|
7832
|
+
this.t26_1 = widget;
|
|
7833
7833
|
}
|
|
7834
7834
|
protoOf(WidgetContent).toString = function () {
|
|
7835
|
-
return 'WidgetContent(widget=' + toString(this.
|
|
7835
|
+
return 'WidgetContent(widget=' + toString(this.t26_1) + ')';
|
|
7836
7836
|
};
|
|
7837
7837
|
protoOf(WidgetContent).hashCode = function () {
|
|
7838
|
-
return hashCode(this.
|
|
7838
|
+
return hashCode(this.t26_1);
|
|
7839
7839
|
};
|
|
7840
7840
|
protoOf(WidgetContent).equals = function (other) {
|
|
7841
7841
|
if (this === other)
|
|
@@ -7843,19 +7843,19 @@
|
|
|
7843
7843
|
if (!(other instanceof WidgetContent))
|
|
7844
7844
|
return false;
|
|
7845
7845
|
var tmp0_other_with_cast = other instanceof WidgetContent ? other : THROW_CCE();
|
|
7846
|
-
if (!equals(this.
|
|
7846
|
+
if (!equals(this.t26_1, tmp0_other_with_cast.t26_1))
|
|
7847
7847
|
return false;
|
|
7848
7848
|
return true;
|
|
7849
7849
|
};
|
|
7850
7850
|
function TextContent(text) {
|
|
7851
7851
|
CellContent.call(this);
|
|
7852
|
-
this.
|
|
7852
|
+
this.u26_1 = text;
|
|
7853
7853
|
}
|
|
7854
7854
|
protoOf(TextContent).toString = function () {
|
|
7855
|
-
return 'TextContent(text=' + this.
|
|
7855
|
+
return 'TextContent(text=' + this.u26_1 + ')';
|
|
7856
7856
|
};
|
|
7857
7857
|
protoOf(TextContent).hashCode = function () {
|
|
7858
|
-
return getStringHashCode(this.
|
|
7858
|
+
return getStringHashCode(this.u26_1);
|
|
7859
7859
|
};
|
|
7860
7860
|
protoOf(TextContent).equals = function (other) {
|
|
7861
7861
|
if (this === other)
|
|
@@ -7863,7 +7863,7 @@
|
|
|
7863
7863
|
if (!(other instanceof TextContent))
|
|
7864
7864
|
return false;
|
|
7865
7865
|
var tmp0_other_with_cast = other instanceof TextContent ? other : THROW_CCE();
|
|
7866
|
-
if (!(this.
|
|
7866
|
+
if (!(this.u26_1 === tmp0_other_with_cast.u26_1))
|
|
7867
7867
|
return false;
|
|
7868
7868
|
return true;
|
|
7869
7869
|
};
|
|
@@ -7876,7 +7876,7 @@
|
|
|
7876
7876
|
}
|
|
7877
7877
|
function buildSection($this, section, builderWidth) {
|
|
7878
7878
|
// Inline function 'kotlin.collections.MutableList' call
|
|
7879
|
-
var size = section.
|
|
7879
|
+
var size = section.z25_1.f1();
|
|
7880
7880
|
var list = ArrayList_init_$Create$_0(size);
|
|
7881
7881
|
// Inline function 'kotlin.repeat' call
|
|
7882
7882
|
var inductionVariable = 0;
|
|
@@ -7884,19 +7884,19 @@
|
|
|
7884
7884
|
do {
|
|
7885
7885
|
var index = inductionVariable;
|
|
7886
7886
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7887
|
-
var tmp$ret$0 = ArrayList_init_$Create$_0(section.
|
|
7887
|
+
var tmp$ret$0 = ArrayList_init_$Create$_0(section.z25_1.f1());
|
|
7888
7888
|
list.x(tmp$ret$0);
|
|
7889
7889
|
}
|
|
7890
7890
|
while (inductionVariable < size);
|
|
7891
7891
|
var rows = list;
|
|
7892
|
-
var iterator = section.
|
|
7892
|
+
var iterator = section.z25_1.t();
|
|
7893
7893
|
var index_0 = 0;
|
|
7894
7894
|
while (iterator.u()) {
|
|
7895
7895
|
var y = index_0;
|
|
7896
7896
|
index_0 = index_0 + 1 | 0;
|
|
7897
7897
|
var row = iterator.v();
|
|
7898
7898
|
var x = 0;
|
|
7899
|
-
var _iterator__ex2g4s = row.
|
|
7899
|
+
var _iterator__ex2g4s = row.o26_1.t();
|
|
7900
7900
|
while (_iterator__ex2g4s.u()) {
|
|
7901
7901
|
var cellBuilder = _iterator__ex2g4s.v();
|
|
7902
7902
|
x = findEmptyColumn(rows, x, y);
|
|
@@ -7907,10 +7907,10 @@
|
|
|
7907
7907
|
return rows;
|
|
7908
7908
|
}
|
|
7909
7909
|
function insertCell($this, cell, section, rows, startingX, startingY, builderWidth) {
|
|
7910
|
-
var tableCol = $this.
|
|
7911
|
-
var sectionCol = section.
|
|
7912
|
-
var row = section.
|
|
7913
|
-
var tmp0 = until(startingY, startingY + cell.
|
|
7910
|
+
var tableCol = $this.v26_1.s25_1.o2(startingX);
|
|
7911
|
+
var sectionCol = section.a26_1.o2(startingX);
|
|
7912
|
+
var row = section.z25_1.e1(startingY);
|
|
7913
|
+
var tmp0 = until(startingY, startingY + cell.s26_1 | 0);
|
|
7914
7914
|
var tmp$ret$0;
|
|
7915
7915
|
$l$block: {
|
|
7916
7916
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -7920,14 +7920,14 @@
|
|
|
7920
7920
|
break $l$block;
|
|
7921
7921
|
}
|
|
7922
7922
|
var it = iterator.v();
|
|
7923
|
-
var tmp89_safe_receiver = getOrNull(section.
|
|
7924
|
-
var tmp90_safe_receiver = tmp89_safe_receiver == null ? null : tmp89_safe_receiver.
|
|
7923
|
+
var tmp89_safe_receiver = getOrNull(section.z25_1, it);
|
|
7924
|
+
var tmp90_safe_receiver = tmp89_safe_receiver == null ? null : tmp89_safe_receiver.o26_1;
|
|
7925
7925
|
var tmp0_elvis_lhs = tmp90_safe_receiver == null ? null : tmp90_safe_receiver.f1();
|
|
7926
7926
|
var maxValue = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
7927
7927
|
while (iterator.u()) {
|
|
7928
7928
|
var it_0 = iterator.v();
|
|
7929
|
-
var tmp89_safe_receiver_0 = getOrNull(section.
|
|
7930
|
-
var tmp90_safe_receiver_0 = tmp89_safe_receiver_0 == null ? null : tmp89_safe_receiver_0.
|
|
7929
|
+
var tmp89_safe_receiver_0 = getOrNull(section.z25_1, it_0);
|
|
7930
|
+
var tmp90_safe_receiver_0 = tmp89_safe_receiver_0 == null ? null : tmp89_safe_receiver_0.o26_1;
|
|
7931
7931
|
var tmp0_elvis_lhs_0 = tmp90_safe_receiver_0 == null ? null : tmp90_safe_receiver_0.f1();
|
|
7932
7932
|
var v = tmp0_elvis_lhs_0 == null ? 0 : tmp0_elvis_lhs_0;
|
|
7933
7933
|
if (compareTo(maxValue, v) < 0) {
|
|
@@ -7938,16 +7938,16 @@
|
|
|
7938
7938
|
}
|
|
7939
7939
|
var tmp0_elvis_lhs_1 = tmp$ret$0;
|
|
7940
7940
|
var maxRowSize = tmp0_elvis_lhs_1 == null ? 0 : tmp0_elvis_lhs_1;
|
|
7941
|
-
var columnSpan = coerceAtMost(cell.
|
|
7942
|
-
var rowSpan = coerceAtMost(cell.
|
|
7941
|
+
var columnSpan = coerceAtMost(cell.r26_1, (builderWidth - maxRowSize | 0) + 1 | 0);
|
|
7942
|
+
var rowSpan = coerceAtMost(cell.s26_1, rows.f1() - startingY | 0);
|
|
7943
7943
|
var tmp = Borders_ALL_getInstance();
|
|
7944
7944
|
var borders = insertCell$getStyle(cell, row, sectionCol, tableCol, section, $this, tmp, TableLayout$insertCell$lambda);
|
|
7945
7945
|
// Inline function 'com.github.ajalt.mordant.widgets.Companion.invoke' call
|
|
7946
7946
|
// Inline function 'kotlin.apply' call
|
|
7947
7947
|
var this_0 = new Builder(0, 0, 0, 0);
|
|
7948
|
-
this_0.
|
|
7948
|
+
this_0.a27(1);
|
|
7949
7949
|
var b = this_0;
|
|
7950
|
-
var tmp_0 = new Padding(b.
|
|
7950
|
+
var tmp_0 = new Padding(b.w26_1, b.x26_1, b.y26_1, b.z26_1);
|
|
7951
7951
|
var padding = insertCell$getStyle(cell, row, sectionCol, tableCol, section, $this, tmp_0, TableLayout$insertCell$lambda_0);
|
|
7952
7952
|
var tmp_1 = Whitespace_PRE_getInstance();
|
|
7953
7953
|
var whitespace = insertCell$getStyle(cell, row, sectionCol, tableCol, section, $this, tmp_1, TableLayout$insertCell$lambda_1);
|
|
@@ -7959,30 +7959,30 @@
|
|
|
7959
7959
|
var overflowWrap = insertCell$getStyle(cell, row, sectionCol, tableCol, section, $this, tmp_4, TableLayout$insertCell$lambda_4);
|
|
7960
7960
|
var tmp_5;
|
|
7961
7961
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
7962
|
-
if (!section.
|
|
7963
|
-
tmp_5 = section.
|
|
7962
|
+
if (!section.b26_1.r()) {
|
|
7963
|
+
tmp_5 = section.b26_1.e1(startingY % section.b26_1.f1() | 0);
|
|
7964
7964
|
} else {
|
|
7965
7965
|
tmp_5 = null;
|
|
7966
7966
|
}
|
|
7967
7967
|
var stripedStyle = tmp_5;
|
|
7968
|
-
var tmp_6 = cell.
|
|
7969
|
-
var tmp_7 = row.
|
|
7970
|
-
var tmp_8 = sectionCol == null ? null : sectionCol.
|
|
7971
|
-
var style = foldStyles([tmp_6, tmp_7, stripedStyle, tmp_8, tableCol == null ? null : tableCol.
|
|
7972
|
-
var tmp95_subject = cell.
|
|
7968
|
+
var tmp_6 = cell.j25();
|
|
7969
|
+
var tmp_7 = row.j25();
|
|
7970
|
+
var tmp_8 = sectionCol == null ? null : sectionCol.j25();
|
|
7971
|
+
var style = foldStyles([tmp_6, tmp_7, stripedStyle, tmp_8, tableCol == null ? null : tableCol.j25(), section.j25(), $this.v26_1.j25()]);
|
|
7972
|
+
var tmp95_subject = cell.q26_1;
|
|
7973
7973
|
var tmp_9;
|
|
7974
7974
|
if (tmp95_subject instanceof WidgetContent) {
|
|
7975
|
-
tmp_9 = cell.
|
|
7975
|
+
tmp_9 = cell.q26_1.t26_1;
|
|
7976
7976
|
} else {
|
|
7977
7977
|
if (tmp95_subject instanceof TextContent) {
|
|
7978
|
-
tmp_9 = Text_init_$Create$(cell.
|
|
7978
|
+
tmp_9 = Text_init_$Create$(cell.q26_1.u26_1, whitespace, textAlign, overflowWrap);
|
|
7979
7979
|
} else {
|
|
7980
7980
|
noWhenBranchMatchedException();
|
|
7981
7981
|
}
|
|
7982
7982
|
}
|
|
7983
7983
|
var content = withPadding_0(tmp_9, padding);
|
|
7984
7984
|
// Inline function 'kotlin.takeIf' call
|
|
7985
|
-
var this_1 = borders.
|
|
7985
|
+
var this_1 = borders.p22_1;
|
|
7986
7986
|
var tmp_10;
|
|
7987
7987
|
if (columnSpan === 1) {
|
|
7988
7988
|
tmp_10 = this_1;
|
|
@@ -7991,7 +7991,7 @@
|
|
|
7991
7991
|
}
|
|
7992
7992
|
var tmp_11 = tmp_10;
|
|
7993
7993
|
// Inline function 'kotlin.takeIf' call
|
|
7994
|
-
var this_2 = borders.
|
|
7994
|
+
var this_2 = borders.q22_1;
|
|
7995
7995
|
var tmp_12;
|
|
7996
7996
|
if (rowSpan === 1) {
|
|
7997
7997
|
tmp_12 = this_2;
|
|
@@ -7999,7 +7999,7 @@
|
|
|
7999
7999
|
tmp_12 = null;
|
|
8000
8000
|
}
|
|
8001
8001
|
var tmp$ret$10 = tmp_12;
|
|
8002
|
-
var builtCell = new Content(content, rowSpan, columnSpan, borders.
|
|
8002
|
+
var builtCell = new Content(content, rowSpan, columnSpan, borders.n22_1, borders.o22_1, tmp_11, tmp$ret$10, style, textAlign, verticalAlign, padding.e27_1 + padding.c27_1 | 0);
|
|
8003
8003
|
var lastX = (startingX + columnSpan | 0) - 1 | 0;
|
|
8004
8004
|
var inductionVariable = startingX;
|
|
8005
8005
|
if (inductionVariable <= lastX)
|
|
@@ -8017,7 +8017,7 @@
|
|
|
8017
8017
|
tmp_13 = builtCell;
|
|
8018
8018
|
} else {
|
|
8019
8019
|
// Inline function 'kotlin.takeIf' call
|
|
8020
|
-
var this_3 = borders.
|
|
8020
|
+
var this_3 = borders.n22_1;
|
|
8021
8021
|
var tmp_14;
|
|
8022
8022
|
if (x === startingX) {
|
|
8023
8023
|
tmp_14 = this_3;
|
|
@@ -8026,7 +8026,7 @@
|
|
|
8026
8026
|
}
|
|
8027
8027
|
var tmp_15 = tmp_14;
|
|
8028
8028
|
// Inline function 'kotlin.takeIf' call
|
|
8029
|
-
var this_4 = borders.
|
|
8029
|
+
var this_4 = borders.o22_1;
|
|
8030
8030
|
var tmp_16;
|
|
8031
8031
|
if (y === startingY) {
|
|
8032
8032
|
tmp_16 = this_4;
|
|
@@ -8035,7 +8035,7 @@
|
|
|
8035
8035
|
}
|
|
8036
8036
|
var tmp_17 = tmp_16;
|
|
8037
8037
|
// Inline function 'kotlin.takeIf' call
|
|
8038
|
-
var this_5 = borders.
|
|
8038
|
+
var this_5 = borders.p22_1;
|
|
8039
8039
|
var tmp_18;
|
|
8040
8040
|
if (x === lastX) {
|
|
8041
8041
|
tmp_18 = this_5;
|
|
@@ -8044,7 +8044,7 @@
|
|
|
8044
8044
|
}
|
|
8045
8045
|
var tmp_19 = tmp_18;
|
|
8046
8046
|
// Inline function 'kotlin.takeIf' call
|
|
8047
|
-
var this_6 = borders.
|
|
8047
|
+
var this_6 = borders.q22_1;
|
|
8048
8048
|
var tmp_20;
|
|
8049
8049
|
if (y === lastY) {
|
|
8050
8050
|
tmp_20 = this_6;
|
|
@@ -8100,36 +8100,36 @@
|
|
|
8100
8100
|
}
|
|
8101
8101
|
var tmp3_elvis_lhs = tmp_1;
|
|
8102
8102
|
var tmp4_elvis_lhs = tmp3_elvis_lhs == null ? getter($section) : tmp3_elvis_lhs;
|
|
8103
|
-
var tmp5_elvis_lhs = tmp4_elvis_lhs == null ? getter(this$0.
|
|
8103
|
+
var tmp5_elvis_lhs = tmp4_elvis_lhs == null ? getter(this$0.v26_1) : tmp4_elvis_lhs;
|
|
8104
8104
|
return tmp5_elvis_lhs == null ? default_0 : tmp5_elvis_lhs;
|
|
8105
8105
|
}
|
|
8106
8106
|
function TableLayout$insertCell$lambda(it) {
|
|
8107
|
-
return it.
|
|
8107
|
+
return it.e25();
|
|
8108
8108
|
}
|
|
8109
8109
|
function TableLayout$insertCell$lambda_0(it) {
|
|
8110
|
-
return it.
|
|
8110
|
+
return it.h25();
|
|
8111
8111
|
}
|
|
8112
8112
|
function TableLayout$insertCell$lambda_1(it) {
|
|
8113
|
-
return it.
|
|
8113
|
+
return it.k25();
|
|
8114
8114
|
}
|
|
8115
8115
|
function TableLayout$insertCell$lambda_2(it) {
|
|
8116
|
-
return it.
|
|
8116
|
+
return it.l25();
|
|
8117
8117
|
}
|
|
8118
8118
|
function TableLayout$insertCell$lambda_3(it) {
|
|
8119
|
-
return it.
|
|
8119
|
+
return it.f25();
|
|
8120
8120
|
}
|
|
8121
8121
|
function TableLayout$insertCell$lambda_4(it) {
|
|
8122
|
-
return it.
|
|
8122
|
+
return it.m25();
|
|
8123
8123
|
}
|
|
8124
8124
|
function TableLayout(table) {
|
|
8125
|
-
this.
|
|
8125
|
+
this.v26_1 = table;
|
|
8126
8126
|
}
|
|
8127
|
-
protoOf(TableLayout).
|
|
8127
|
+
protoOf(TableLayout).f27 = function () {
|
|
8128
8128
|
// Inline function 'kotlin.collections.maxOf' call
|
|
8129
|
-
var iterator = listOf([this.
|
|
8129
|
+
var iterator = listOf([this.v26_1.t25_1, this.v26_1.u25_1, this.v26_1.v25_1]).t();
|
|
8130
8130
|
if (!iterator.u())
|
|
8131
8131
|
throw NoSuchElementException_init_$Create$();
|
|
8132
|
-
var tmp0 = iterator.v().
|
|
8132
|
+
var tmp0 = iterator.v().z25_1;
|
|
8133
8133
|
var tmp$ret$0;
|
|
8134
8134
|
$l$block: {
|
|
8135
8135
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -8138,9 +8138,9 @@
|
|
|
8138
8138
|
tmp$ret$0 = null;
|
|
8139
8139
|
break $l$block;
|
|
8140
8140
|
}
|
|
8141
|
-
var maxValue = iterator_0.v().
|
|
8141
|
+
var maxValue = iterator_0.v().o26_1.f1();
|
|
8142
8142
|
while (iterator_0.u()) {
|
|
8143
|
-
var v = iterator_0.v().
|
|
8143
|
+
var v = iterator_0.v().o26_1.f1();
|
|
8144
8144
|
if (compareTo(maxValue, v) < 0) {
|
|
8145
8145
|
maxValue = v;
|
|
8146
8146
|
}
|
|
@@ -8150,7 +8150,7 @@
|
|
|
8150
8150
|
var tmp0_elvis_lhs = tmp$ret$0;
|
|
8151
8151
|
var maxValue_0 = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
8152
8152
|
while (iterator.u()) {
|
|
8153
|
-
var tmp0_0 = iterator.v().
|
|
8153
|
+
var tmp0_0 = iterator.v().z25_1;
|
|
8154
8154
|
var tmp$ret$4;
|
|
8155
8155
|
$l$block_0: {
|
|
8156
8156
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -8159,9 +8159,9 @@
|
|
|
8159
8159
|
tmp$ret$4 = null;
|
|
8160
8160
|
break $l$block_0;
|
|
8161
8161
|
}
|
|
8162
|
-
var maxValue_1 = iterator_1.v().
|
|
8162
|
+
var maxValue_1 = iterator_1.v().o26_1.f1();
|
|
8163
8163
|
while (iterator_1.u()) {
|
|
8164
|
-
var v_0 = iterator_1.v().
|
|
8164
|
+
var v_0 = iterator_1.v().o26_1.f1();
|
|
8165
8165
|
if (compareTo(maxValue_1, v_0) < 0) {
|
|
8166
8166
|
maxValue_1 = v_0;
|
|
8167
8167
|
}
|
|
@@ -8175,16 +8175,16 @@
|
|
|
8175
8175
|
}
|
|
8176
8176
|
}
|
|
8177
8177
|
var builderWidth = maxValue_0;
|
|
8178
|
-
var header = buildSection(this, this.
|
|
8179
|
-
var body = buildSection(this, this.
|
|
8180
|
-
var footer = buildSection(this, this.
|
|
8178
|
+
var header = buildSection(this, this.v26_1.t25_1, builderWidth);
|
|
8179
|
+
var body = buildSection(this, this.v26_1.u25_1, builderWidth);
|
|
8180
|
+
var footer = buildSection(this, this.v26_1.v25_1, builderWidth);
|
|
8181
8181
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
8182
8182
|
var this_0 = flatten(listOf([header, body, footer]));
|
|
8183
8183
|
var tmp;
|
|
8184
8184
|
if (this_0.r()) {
|
|
8185
|
-
var tmp0_elvis_lhs_1 = this.
|
|
8185
|
+
var tmp0_elvis_lhs_1 = this.v26_1.q25_1;
|
|
8186
8186
|
var b = tmp0_elvis_lhs_1 == null ? Borders_ALL_getInstance() : tmp0_elvis_lhs_1;
|
|
8187
|
-
var cell = new Content(EmptyWidget_instance, 1, 1, b.
|
|
8187
|
+
var cell = new Content(EmptyWidget_instance, 1, 1, b.n22_1, b.o22_1, b.p22_1, b.q22_1, null, TextAlign_LEFT_getInstance(), VerticalAlign_TOP_getInstance(), 0);
|
|
8188
8188
|
tmp = listOf_0(listOf_0(cell));
|
|
8189
8189
|
} else {
|
|
8190
8190
|
tmp = this_0;
|
|
@@ -8211,14 +8211,14 @@
|
|
|
8211
8211
|
do {
|
|
8212
8212
|
var index = inductionVariable;
|
|
8213
8213
|
inductionVariable = inductionVariable + 1 | 0;
|
|
8214
|
-
var tmp88_safe_receiver = this.
|
|
8215
|
-
var tmp0_elvis_lhs_2 = tmp88_safe_receiver == null ? null : tmp88_safe_receiver.
|
|
8216
|
-
var tmp$ret$14 = tmp0_elvis_lhs_2 == null ? Companion_getInstance_3().
|
|
8214
|
+
var tmp88_safe_receiver = this.v26_1.s25_1.o2(index);
|
|
8215
|
+
var tmp0_elvis_lhs_2 = tmp88_safe_receiver == null ? null : tmp88_safe_receiver.g27();
|
|
8216
|
+
var tmp$ret$14 = tmp0_elvis_lhs_2 == null ? Companion_getInstance_3().d25_1 : tmp0_elvis_lhs_2;
|
|
8217
8217
|
list.x(tmp$ret$14);
|
|
8218
8218
|
}
|
|
8219
8219
|
while (inductionVariable < columnCount);
|
|
8220
8220
|
var columnWidths = list;
|
|
8221
|
-
return new TableImpl(rows, this.
|
|
8221
|
+
return new TableImpl(rows, this.v26_1.o25_1, this.v26_1.p25_1, header.f1(), footer.f1(), columnWidths, this.v26_1.q25_1, this.v26_1.r25_1);
|
|
8222
8222
|
};
|
|
8223
8223
|
function findEmptyColumn(_this__u8e3s4, x, y) {
|
|
8224
8224
|
var row = _this__u8e3s4.e1(y);
|
|
@@ -8272,13 +8272,13 @@
|
|
|
8272
8272
|
}
|
|
8273
8273
|
function Companion_3() {
|
|
8274
8274
|
}
|
|
8275
|
-
protoOf(Companion_3).
|
|
8276
|
-
builder.
|
|
8277
|
-
builder.
|
|
8278
|
-
builder.
|
|
8275
|
+
protoOf(Companion_3).d26 = function (builder, spacing, columnWidth) {
|
|
8276
|
+
builder.i25(0);
|
|
8277
|
+
builder.e26(Borders_NONE_getInstance());
|
|
8278
|
+
builder.q25_1 = Borders_NONE_getInstance();
|
|
8279
8279
|
var aligned = false;
|
|
8280
8280
|
// Inline function 'kotlin.collections.map' call
|
|
8281
|
-
var this_0 = (new TableLayout(builder)).
|
|
8281
|
+
var this_0 = (new TableLayout(builder)).f27().q23_1;
|
|
8282
8282
|
// Inline function 'kotlin.collections.mapTo' call
|
|
8283
8283
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8284
8284
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -8290,12 +8290,12 @@
|
|
|
8290
8290
|
}
|
|
8291
8291
|
var tmp = item.e1(0);
|
|
8292
8292
|
var cell = tmp instanceof Content ? tmp : THROW_CCE();
|
|
8293
|
-
aligned = aligned || !listOf([null, TextAlign_NONE_getInstance()]).w1(cell.
|
|
8294
|
-
var tmp$ret$1 = new VerticalLayoutCell(cell.
|
|
8293
|
+
aligned = aligned || !listOf([null, TextAlign_NONE_getInstance()]).w1(cell.j23_1);
|
|
8294
|
+
var tmp$ret$1 = new VerticalLayoutCell(cell.b23_1, cell.i23_1, cell.j23_1);
|
|
8295
8295
|
destination.x(tmp$ret$1);
|
|
8296
8296
|
}
|
|
8297
8297
|
var cells = destination;
|
|
8298
|
-
var tmp0_elvis_lhs = builder.
|
|
8298
|
+
var tmp0_elvis_lhs = builder.l25();
|
|
8299
8299
|
return new VerticalLayout(cells, spacing, columnWidth, tmp0_elvis_lhs == null ? TextAlign_NONE_getInstance() : tmp0_elvis_lhs, aligned);
|
|
8300
8300
|
};
|
|
8301
8301
|
var Companion_instance_3;
|
|
@@ -8303,25 +8303,25 @@
|
|
|
8303
8303
|
return Companion_instance_3;
|
|
8304
8304
|
}
|
|
8305
8305
|
function VerticalLayout(cells, spacing, columnWidth, textAlign, hasAlignedCells) {
|
|
8306
|
-
this.
|
|
8307
|
-
this.
|
|
8308
|
-
this.
|
|
8309
|
-
this.
|
|
8310
|
-
this.
|
|
8306
|
+
this.h27_1 = cells;
|
|
8307
|
+
this.i27_1 = spacing;
|
|
8308
|
+
this.j27_1 = columnWidth;
|
|
8309
|
+
this.k27_1 = textAlign;
|
|
8310
|
+
this.l27_1 = hasAlignedCells;
|
|
8311
8311
|
// Inline function 'kotlin.require' call
|
|
8312
|
-
if (!(this.
|
|
8312
|
+
if (!(this.i27_1 >= 0)) {
|
|
8313
8313
|
var message = 'layout spacing cannot be negative';
|
|
8314
8314
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
8315
8315
|
}
|
|
8316
8316
|
}
|
|
8317
|
-
protoOf(VerticalLayout).
|
|
8317
|
+
protoOf(VerticalLayout).s21 = function (t, width) {
|
|
8318
8318
|
// Inline function 'com.github.ajalt.mordant.rendering.maxWidthRange' call
|
|
8319
8319
|
var max = 0;
|
|
8320
8320
|
var min = 0;
|
|
8321
|
-
var _iterator__ex2g4s = this.
|
|
8321
|
+
var _iterator__ex2g4s = this.h27_1.t();
|
|
8322
8322
|
$l$loop: while (_iterator__ex2g4s.u()) {
|
|
8323
8323
|
var it = _iterator__ex2g4s.v();
|
|
8324
|
-
var tmp0_elvis_lhs = it.
|
|
8324
|
+
var tmp0_elvis_lhs = it.m27_1.s21(t, width);
|
|
8325
8325
|
var tmp;
|
|
8326
8326
|
if (tmp0_elvis_lhs == null) {
|
|
8327
8327
|
continue $l$loop;
|
|
@@ -8331,21 +8331,21 @@
|
|
|
8331
8331
|
var range = tmp;
|
|
8332
8332
|
var tmp0 = max;
|
|
8333
8333
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
8334
|
-
var b = range.
|
|
8334
|
+
var b = range.h22_1;
|
|
8335
8335
|
max = Math.max(tmp0, b);
|
|
8336
8336
|
var tmp0_0 = min;
|
|
8337
8337
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
8338
|
-
var b_0 = range.
|
|
8338
|
+
var b_0 = range.g22_1;
|
|
8339
8339
|
min = Math.max(tmp0_0, b_0);
|
|
8340
8340
|
}
|
|
8341
8341
|
return new WidthRange(min + 0 | 0, max + 0 | 0);
|
|
8342
8342
|
};
|
|
8343
|
-
protoOf(VerticalLayout).
|
|
8344
|
-
var renderWidth = coerceAtMost(get_isExpand(this.
|
|
8343
|
+
protoOf(VerticalLayout).t21 = function (t, width) {
|
|
8344
|
+
var renderWidth = coerceAtMost(get_isExpand(this.j27_1) ? width : this.l27_1 ? this.s21(t, width).h22_1 : width, width);
|
|
8345
8345
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8346
8346
|
var lines = ArrayList_init_$Create$();
|
|
8347
|
-
var spacingLine = this.
|
|
8348
|
-
var iterator = this.
|
|
8347
|
+
var spacingLine = this.k27_1.a3_1 === 4 ? get_EMPTY_LINE() : new Line(listOf_0(Companion_instance_0.a1y(renderWidth)), get_DEFAULT_STYLE());
|
|
8348
|
+
var iterator = this.h27_1.t();
|
|
8349
8349
|
var index = 0;
|
|
8350
8350
|
while (iterator.u()) {
|
|
8351
8351
|
var i = index;
|
|
@@ -8353,7 +8353,7 @@
|
|
|
8353
8353
|
var cell = iterator.v();
|
|
8354
8354
|
if (i > 0) {
|
|
8355
8355
|
// Inline function 'kotlin.repeat' call
|
|
8356
|
-
var times = this.
|
|
8356
|
+
var times = this.i27_1;
|
|
8357
8357
|
var inductionVariable = 0;
|
|
8358
8358
|
if (inductionVariable < times)
|
|
8359
8359
|
do {
|
|
@@ -8364,11 +8364,11 @@
|
|
|
8364
8364
|
}
|
|
8365
8365
|
while (inductionVariable < times);
|
|
8366
8366
|
}
|
|
8367
|
-
var rendered = cell.
|
|
8368
|
-
var w = this.
|
|
8369
|
-
rendered = !(w.
|
|
8367
|
+
var rendered = cell.m27_1.t21(t, renderWidth).x1z(cell.n27_1);
|
|
8368
|
+
var w = this.j27_1;
|
|
8369
|
+
rendered = !(w.p23_1 == null) ? setSize(rendered, width, VOID, VOID, cell.o27_1) : !(w.o23_1 == null) ? setSize(rendered, w.o23_1, VOID, VOID, cell.o27_1) : !cell.o27_1.equals(TextAlign_NONE_getInstance()) ? setSize(rendered, renderWidth, VOID, VOID, cell.o27_1) : rendered;
|
|
8370
8370
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
8371
|
-
var this_0 = rendered.
|
|
8371
|
+
var this_0 = rendered.t1x_1;
|
|
8372
8372
|
var tmp;
|
|
8373
8373
|
if (this_0.r()) {
|
|
8374
8374
|
tmp = listOf_0(get_EMPTY_LINE());
|
|
@@ -8382,39 +8382,39 @@
|
|
|
8382
8382
|
return new Lines(lines);
|
|
8383
8383
|
};
|
|
8384
8384
|
function VerticalLayoutCell(content, style, textAlign) {
|
|
8385
|
-
this.
|
|
8386
|
-
this.
|
|
8387
|
-
this.
|
|
8385
|
+
this.m27_1 = content;
|
|
8386
|
+
this.n27_1 = style;
|
|
8387
|
+
this.o27_1 = textAlign;
|
|
8388
8388
|
}
|
|
8389
8389
|
function StandardTerminalInterface() {
|
|
8390
8390
|
}
|
|
8391
|
-
protoOf(StandardTerminalInterface).
|
|
8392
|
-
return TerminalDetection_instance.
|
|
8391
|
+
protoOf(StandardTerminalInterface).p27 = function (ansiLevel, hyperlinks, outputInteractive, inputInteractive) {
|
|
8392
|
+
return TerminalDetection_instance.s27(ansiLevel, hyperlinks, inputInteractive, outputInteractive, this.q27(), this.r27());
|
|
8393
8393
|
};
|
|
8394
|
-
protoOf(StandardTerminalInterface).
|
|
8395
|
-
if (request.
|
|
8396
|
-
printStderr(request.
|
|
8397
|
-
} else if (request.
|
|
8394
|
+
protoOf(StandardTerminalInterface).t27 = function (request) {
|
|
8395
|
+
if (request.w27_1) {
|
|
8396
|
+
printStderr(request.u27_1, request.v27_1);
|
|
8397
|
+
} else if (request.v27_1) {
|
|
8398
8398
|
// Inline function 'kotlin.text.isEmpty' call
|
|
8399
|
-
var this_0 = request.
|
|
8399
|
+
var this_0 = request.u27_1;
|
|
8400
8400
|
if (charSequenceLength(this_0) === 0) {
|
|
8401
8401
|
println_0();
|
|
8402
8402
|
} else {
|
|
8403
|
-
println(request.
|
|
8403
|
+
println(request.u27_1);
|
|
8404
8404
|
}
|
|
8405
8405
|
} else {
|
|
8406
|
-
print(request.
|
|
8406
|
+
print(request.u27_1);
|
|
8407
8407
|
}
|
|
8408
8408
|
};
|
|
8409
|
-
protoOf(StandardTerminalInterface).
|
|
8409
|
+
protoOf(StandardTerminalInterface).r27 = function () {
|
|
8410
8410
|
return true;
|
|
8411
8411
|
};
|
|
8412
|
-
protoOf(StandardTerminalInterface).
|
|
8412
|
+
protoOf(StandardTerminalInterface).q27 = function () {
|
|
8413
8413
|
return true;
|
|
8414
8414
|
};
|
|
8415
8415
|
function Terminal_init_$Init$(ansiLevel, theme, width, height, nonInteractiveWidth, nonInteractiveHeight, hyperlinks, tabWidth, interactive, terminalInterface, $this) {
|
|
8416
8416
|
ansiLevel = ansiLevel === VOID ? null : ansiLevel;
|
|
8417
|
-
theme = theme === VOID ? Companion_getInstance_2().
|
|
8417
|
+
theme = theme === VOID ? Companion_getInstance_2().c21_1 : theme;
|
|
8418
8418
|
width = width === VOID ? null : width;
|
|
8419
8419
|
height = height === VOID ? null : height;
|
|
8420
8420
|
nonInteractiveWidth = nonInteractiveWidth === VOID ? null : nonInteractiveWidth;
|
|
@@ -8423,7 +8423,7 @@
|
|
|
8423
8423
|
tabWidth = tabWidth === VOID ? 8 : tabWidth;
|
|
8424
8424
|
interactive = interactive === VOID ? null : interactive;
|
|
8425
8425
|
terminalInterface = terminalInterface === VOID ? get_STANDARD_TERM_INTERFACE() : terminalInterface;
|
|
8426
|
-
Terminal.call($this, theme, tabWidth, terminalInterface, width, height, nonInteractiveWidth, nonInteractiveHeight, terminalInterface.
|
|
8426
|
+
Terminal.call($this, theme, tabWidth, terminalInterface, width, height, nonInteractiveWidth, nonInteractiveHeight, terminalInterface.p27(ansiLevel, hyperlinks, interactive, interactive));
|
|
8427
8427
|
return $this;
|
|
8428
8428
|
}
|
|
8429
8429
|
function Terminal_init_$Create$(ansiLevel, theme, width, height, nonInteractiveWidth, nonInteractiveHeight, hyperlinks, tabWidth, interactive, terminalInterface) {
|
|
@@ -8433,36 +8433,36 @@
|
|
|
8433
8433
|
sendPrintRequest($this, new PrintRequest(message, true, stderr));
|
|
8434
8434
|
}
|
|
8435
8435
|
function sendPrintRequest($this, request) {
|
|
8436
|
-
if ($this.
|
|
8437
|
-
$this.
|
|
8436
|
+
if ($this.x21_1.y27()) {
|
|
8437
|
+
$this.z27();
|
|
8438
8438
|
}
|
|
8439
|
-
sendInterceptedPrintRequest(request, $this.
|
|
8439
|
+
sendInterceptedPrintRequest(request, $this.x21_1, $this.d22_1.o1());
|
|
8440
8440
|
}
|
|
8441
8441
|
function Terminal(theme, tabWidth, terminalInterface, forceWidth, forceHeight, nonInteractiveWidth, nonInteractiveHeight, terminalInfo) {
|
|
8442
|
-
this.
|
|
8443
|
-
this.
|
|
8444
|
-
this.
|
|
8445
|
-
this.
|
|
8446
|
-
this.
|
|
8447
|
-
this.
|
|
8448
|
-
this.
|
|
8449
|
-
this.
|
|
8450
|
-
this.
|
|
8451
|
-
this.
|
|
8452
|
-
this.
|
|
8442
|
+
this.v21_1 = theme;
|
|
8443
|
+
this.w21_1 = tabWidth;
|
|
8444
|
+
this.x21_1 = terminalInterface;
|
|
8445
|
+
this.y21_1 = forceWidth;
|
|
8446
|
+
this.z21_1 = forceHeight;
|
|
8447
|
+
this.a22_1 = nonInteractiveWidth;
|
|
8448
|
+
this.b22_1 = nonInteractiveHeight;
|
|
8449
|
+
this.c22_1 = terminalInfo;
|
|
8450
|
+
this.d22_1 = MppAtomicRef(emptyList());
|
|
8451
|
+
this.e22_1 = MppAtomicRef(detectSize(this.x21_1, this.c22_1, this.y21_1, this.z21_1, this.a22_1, this.b22_1));
|
|
8452
|
+
this.f22_1 = this.c22_1.f28() ? makePrintingTerminalCursor(this) : DisabledTerminalCursor_instance;
|
|
8453
8453
|
}
|
|
8454
8454
|
protoOf(Terminal).f1 = function () {
|
|
8455
|
-
return this.
|
|
8455
|
+
return this.e22_1.o1();
|
|
8456
8456
|
};
|
|
8457
|
-
protoOf(Terminal).
|
|
8458
|
-
var tmp0 = this.
|
|
8457
|
+
protoOf(Terminal).z27 = function () {
|
|
8458
|
+
var tmp0 = this.e22_1;
|
|
8459
8459
|
var tmp$ret$1;
|
|
8460
8460
|
$l$block: {
|
|
8461
8461
|
// Inline function 'com.github.ajalt.mordant.internal.update' call
|
|
8462
8462
|
while (true) {
|
|
8463
8463
|
var old = tmp0.o1();
|
|
8464
|
-
var newValue = detectSize(this.
|
|
8465
|
-
if (tmp0.
|
|
8464
|
+
var newValue = detectSize(this.x21_1, this.c22_1, this.y21_1, this.z21_1, this.a22_1, this.b22_1);
|
|
8465
|
+
if (tmp0.g28(old, newValue)) {
|
|
8466
8466
|
tmp$ret$1 = to(old, newValue);
|
|
8467
8467
|
break $l$block;
|
|
8468
8468
|
}
|
|
@@ -8470,10 +8470,10 @@
|
|
|
8470
8470
|
}
|
|
8471
8471
|
return tmp$ret$1.ea_1;
|
|
8472
8472
|
};
|
|
8473
|
-
protoOf(Terminal).
|
|
8474
|
-
this.
|
|
8473
|
+
protoOf(Terminal).h28 = function (message, whitespace, align, overflowWrap, width, stderr) {
|
|
8474
|
+
this.j28(this.i28(message, whitespace, align, overflowWrap, width), stderr);
|
|
8475
8475
|
};
|
|
8476
|
-
protoOf(Terminal).
|
|
8476
|
+
protoOf(Terminal).k28 = function (message, whitespace, align, overflowWrap, width, stderr, $super) {
|
|
8477
8477
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
8478
8478
|
align = align === VOID ? TextAlign_NONE_getInstance() : align;
|
|
8479
8479
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
@@ -8481,17 +8481,17 @@
|
|
|
8481
8481
|
stderr = stderr === VOID ? false : stderr;
|
|
8482
8482
|
var tmp;
|
|
8483
8483
|
if ($super === VOID) {
|
|
8484
|
-
this.
|
|
8484
|
+
this.h28(message, whitespace, align, overflowWrap, width, stderr);
|
|
8485
8485
|
tmp = Unit_instance;
|
|
8486
8486
|
} else {
|
|
8487
|
-
tmp = $super.
|
|
8487
|
+
tmp = $super.h28.call(this, message, whitespace, align, overflowWrap, width, stderr);
|
|
8488
8488
|
}
|
|
8489
8489
|
return tmp;
|
|
8490
8490
|
};
|
|
8491
|
-
protoOf(Terminal).
|
|
8492
|
-
rawPrintln(this, this.
|
|
8491
|
+
protoOf(Terminal).l28 = function (message, whitespace, align, overflowWrap, width, stderr) {
|
|
8492
|
+
rawPrintln(this, this.i28(message, whitespace, align, overflowWrap, width), stderr);
|
|
8493
8493
|
};
|
|
8494
|
-
protoOf(Terminal).
|
|
8494
|
+
protoOf(Terminal).m28 = function (message, whitespace, align, overflowWrap, width, stderr, $super) {
|
|
8495
8495
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
8496
8496
|
align = align === VOID ? TextAlign_NONE_getInstance() : align;
|
|
8497
8497
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
@@ -8499,34 +8499,34 @@
|
|
|
8499
8499
|
stderr = stderr === VOID ? false : stderr;
|
|
8500
8500
|
var tmp;
|
|
8501
8501
|
if ($super === VOID) {
|
|
8502
|
-
this.
|
|
8502
|
+
this.l28(message, whitespace, align, overflowWrap, width, stderr);
|
|
8503
8503
|
tmp = Unit_instance;
|
|
8504
8504
|
} else {
|
|
8505
|
-
tmp = $super.
|
|
8505
|
+
tmp = $super.l28.call(this, message, whitespace, align, overflowWrap, width, stderr);
|
|
8506
8506
|
}
|
|
8507
8507
|
return tmp;
|
|
8508
8508
|
};
|
|
8509
|
-
protoOf(Terminal).
|
|
8509
|
+
protoOf(Terminal).i28 = function (message, whitespace, align, overflowWrap, width) {
|
|
8510
8510
|
var tmp;
|
|
8511
8511
|
if (message instanceof Lines) {
|
|
8512
|
-
tmp = renderLinesAnsi(message, this.
|
|
8512
|
+
tmp = renderLinesAnsi(message, this.c22_1.a28_1, this.c22_1.b28_1);
|
|
8513
8513
|
} else {
|
|
8514
8514
|
if (!(message == null) ? isInterface(message, Widget) : false) {
|
|
8515
|
-
tmp = this.
|
|
8515
|
+
tmp = this.n28(message);
|
|
8516
8516
|
} else {
|
|
8517
|
-
tmp = this.
|
|
8517
|
+
tmp = this.n28(Text_init_$Create$(toString_1(message), whitespace, align, overflowWrap, width));
|
|
8518
8518
|
}
|
|
8519
8519
|
}
|
|
8520
8520
|
return tmp;
|
|
8521
8521
|
};
|
|
8522
|
-
protoOf(Terminal).
|
|
8523
|
-
return renderLinesAnsi(widget.
|
|
8522
|
+
protoOf(Terminal).n28 = function (widget) {
|
|
8523
|
+
return renderLinesAnsi(widget.u21(this), this.c22_1.a28_1, this.c22_1.b28_1);
|
|
8524
8524
|
};
|
|
8525
|
-
protoOf(Terminal).
|
|
8525
|
+
protoOf(Terminal).j28 = function (message, stderr) {
|
|
8526
8526
|
sendPrintRequest(this, new PrintRequest(toString(message), false, stderr));
|
|
8527
8527
|
};
|
|
8528
8528
|
function PrintTerminalCursor(terminal) {
|
|
8529
|
-
this.
|
|
8529
|
+
this.o28_1 = terminal;
|
|
8530
8530
|
}
|
|
8531
8531
|
function DisabledTerminalCursor() {
|
|
8532
8532
|
}
|
|
@@ -8821,7 +8821,7 @@
|
|
|
8821
8821
|
}
|
|
8822
8822
|
function TerminalDetection() {
|
|
8823
8823
|
}
|
|
8824
|
-
protoOf(TerminalDetection).
|
|
8824
|
+
protoOf(TerminalDetection).s27 = function (ansiLevel_0, hyperlinks, forceInputInteractive, forceOutputInteractive, detectedStdinInteractive, detectedStdoutInteractive) {
|
|
8825
8825
|
var ij = isIntellijRunActionConsole(this);
|
|
8826
8826
|
var inputInteractive = forceInputInteractive == null ? ij || detectedStdinInteractive : forceInputInteractive;
|
|
8827
8827
|
var outputInteractive = forceOutputInteractive == null ? ij || detectedStdoutInteractive : forceOutputInteractive;
|
|
@@ -8836,13 +8836,13 @@
|
|
|
8836
8836
|
function detectSize(_this__u8e3s4, info, width, height, nonInteractiveWidth, nonInteractiveHeight) {
|
|
8837
8837
|
if (!(width == null) && !(height == null))
|
|
8838
8838
|
return new Size(width, height);
|
|
8839
|
-
if (!info.
|
|
8839
|
+
if (!info.c28_1) {
|
|
8840
8840
|
var tmp1_elvis_lhs = nonInteractiveWidth == null ? width : nonInteractiveWidth;
|
|
8841
8841
|
var tmp = tmp1_elvis_lhs == null ? 79 : tmp1_elvis_lhs;
|
|
8842
8842
|
var tmp3_elvis_lhs = nonInteractiveHeight == null ? height : nonInteractiveHeight;
|
|
8843
8843
|
return new Size(tmp, tmp3_elvis_lhs == null ? 24 : tmp3_elvis_lhs);
|
|
8844
8844
|
}
|
|
8845
|
-
var tmp4_elvis_lhs = _this__u8e3s4.
|
|
8845
|
+
var tmp4_elvis_lhs = _this__u8e3s4.x27();
|
|
8846
8846
|
var tmp_0;
|
|
8847
8847
|
if (tmp4_elvis_lhs == null) {
|
|
8848
8848
|
var tmp122_safe_receiver = getEnv('COLUMNS');
|
|
@@ -8855,28 +8855,28 @@
|
|
|
8855
8855
|
tmp_0 = tmp4_elvis_lhs;
|
|
8856
8856
|
}
|
|
8857
8857
|
var detected = tmp_0;
|
|
8858
|
-
var tmp_2 = width == null ? detected.
|
|
8859
|
-
return new Size(tmp_2, height == null ? detected.
|
|
8858
|
+
var tmp_2 = width == null ? detected.e20_1 : width;
|
|
8859
|
+
return new Size(tmp_2, height == null ? detected.f20_1 : height);
|
|
8860
8860
|
}
|
|
8861
8861
|
function TerminalInfo(ansiLevel, ansiHyperLinks, outputInteractive, inputInteractive, supportsAnsiCursor) {
|
|
8862
|
-
this.
|
|
8863
|
-
this.
|
|
8864
|
-
this.
|
|
8865
|
-
this.
|
|
8866
|
-
this.
|
|
8862
|
+
this.a28_1 = ansiLevel;
|
|
8863
|
+
this.b28_1 = ansiHyperLinks;
|
|
8864
|
+
this.c28_1 = outputInteractive;
|
|
8865
|
+
this.d28_1 = inputInteractive;
|
|
8866
|
+
this.e28_1 = supportsAnsiCursor;
|
|
8867
8867
|
}
|
|
8868
|
-
protoOf(TerminalInfo).
|
|
8869
|
-
return this.
|
|
8868
|
+
protoOf(TerminalInfo).f28 = function () {
|
|
8869
|
+
return this.d28_1 && this.c28_1;
|
|
8870
8870
|
};
|
|
8871
8871
|
protoOf(TerminalInfo).toString = function () {
|
|
8872
|
-
return 'TerminalInfo(ansiLevel=' + this.
|
|
8872
|
+
return 'TerminalInfo(ansiLevel=' + this.a28_1.toString() + ', ansiHyperLinks=' + this.b28_1 + ', outputInteractive=' + this.c28_1 + ', inputInteractive=' + this.d28_1 + ', supportsAnsiCursor=' + this.e28_1 + ')';
|
|
8873
8873
|
};
|
|
8874
8874
|
protoOf(TerminalInfo).hashCode = function () {
|
|
8875
|
-
var result = this.
|
|
8876
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8877
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8878
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8879
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8875
|
+
var result = this.a28_1.hashCode();
|
|
8876
|
+
result = imul(result, 31) + getBooleanHashCode(this.b28_1) | 0;
|
|
8877
|
+
result = imul(result, 31) + getBooleanHashCode(this.c28_1) | 0;
|
|
8878
|
+
result = imul(result, 31) + getBooleanHashCode(this.d28_1) | 0;
|
|
8879
|
+
result = imul(result, 31) + getBooleanHashCode(this.e28_1) | 0;
|
|
8880
8880
|
return result;
|
|
8881
8881
|
};
|
|
8882
8882
|
protoOf(TerminalInfo).equals = function (other) {
|
|
@@ -8885,32 +8885,32 @@
|
|
|
8885
8885
|
if (!(other instanceof TerminalInfo))
|
|
8886
8886
|
return false;
|
|
8887
8887
|
var tmp0_other_with_cast = other instanceof TerminalInfo ? other : THROW_CCE();
|
|
8888
|
-
if (!this.
|
|
8888
|
+
if (!this.a28_1.equals(tmp0_other_with_cast.a28_1))
|
|
8889
8889
|
return false;
|
|
8890
|
-
if (!(this.
|
|
8890
|
+
if (!(this.b28_1 === tmp0_other_with_cast.b28_1))
|
|
8891
8891
|
return false;
|
|
8892
|
-
if (!(this.
|
|
8892
|
+
if (!(this.c28_1 === tmp0_other_with_cast.c28_1))
|
|
8893
8893
|
return false;
|
|
8894
|
-
if (!(this.
|
|
8894
|
+
if (!(this.d28_1 === tmp0_other_with_cast.d28_1))
|
|
8895
8895
|
return false;
|
|
8896
|
-
if (!(this.
|
|
8896
|
+
if (!(this.e28_1 === tmp0_other_with_cast.e28_1))
|
|
8897
8897
|
return false;
|
|
8898
8898
|
return true;
|
|
8899
8899
|
};
|
|
8900
8900
|
function TerminalInterface() {
|
|
8901
8901
|
}
|
|
8902
8902
|
function PrintRequest(text, trailingLinebreak, stderr) {
|
|
8903
|
-
this.
|
|
8904
|
-
this.
|
|
8905
|
-
this.
|
|
8903
|
+
this.u27_1 = text;
|
|
8904
|
+
this.v27_1 = trailingLinebreak;
|
|
8905
|
+
this.w27_1 = stderr;
|
|
8906
8906
|
}
|
|
8907
8907
|
protoOf(PrintRequest).toString = function () {
|
|
8908
|
-
return 'PrintRequest(text=' + this.
|
|
8908
|
+
return 'PrintRequest(text=' + this.u27_1 + ', trailingLinebreak=' + this.v27_1 + ', stderr=' + this.w27_1 + ')';
|
|
8909
8909
|
};
|
|
8910
8910
|
protoOf(PrintRequest).hashCode = function () {
|
|
8911
|
-
var result = getStringHashCode(this.
|
|
8912
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8913
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8911
|
+
var result = getStringHashCode(this.u27_1);
|
|
8912
|
+
result = imul(result, 31) + getBooleanHashCode(this.v27_1) | 0;
|
|
8913
|
+
result = imul(result, 31) + getBooleanHashCode(this.w27_1) | 0;
|
|
8914
8914
|
return result;
|
|
8915
8915
|
};
|
|
8916
8916
|
protoOf(PrintRequest).equals = function (other) {
|
|
@@ -8919,11 +8919,11 @@
|
|
|
8919
8919
|
if (!(other instanceof PrintRequest))
|
|
8920
8920
|
return false;
|
|
8921
8921
|
var tmp0_other_with_cast = other instanceof PrintRequest ? other : THROW_CCE();
|
|
8922
|
-
if (!(this.
|
|
8922
|
+
if (!(this.u27_1 === tmp0_other_with_cast.u27_1))
|
|
8923
8923
|
return false;
|
|
8924
|
-
if (!(this.
|
|
8924
|
+
if (!(this.v27_1 === tmp0_other_with_cast.v27_1))
|
|
8925
8925
|
return false;
|
|
8926
|
-
if (!(this.
|
|
8926
|
+
if (!(this.w27_1 === tmp0_other_with_cast.w27_1))
|
|
8927
8927
|
return false;
|
|
8928
8928
|
return true;
|
|
8929
8929
|
};
|
|
@@ -8931,42 +8931,42 @@
|
|
|
8931
8931
|
// Inline function 'kotlin.apply' call
|
|
8932
8932
|
var this_0 = new DefinitionListBuilder();
|
|
8933
8933
|
init(this_0);
|
|
8934
|
-
return this_0.
|
|
8934
|
+
return this_0.l21();
|
|
8935
8935
|
}
|
|
8936
8936
|
function DefinitionListBuilder() {
|
|
8937
8937
|
var tmp = this;
|
|
8938
8938
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8939
|
-
tmp.
|
|
8940
|
-
this.
|
|
8941
|
-
this.
|
|
8942
|
-
this.
|
|
8939
|
+
tmp.p28_1 = ArrayList_init_$Create$();
|
|
8940
|
+
this.q28_1 = false;
|
|
8941
|
+
this.r28_1 = null;
|
|
8942
|
+
this.s28_1 = null;
|
|
8943
8943
|
}
|
|
8944
|
-
protoOf(DefinitionListBuilder).
|
|
8945
|
-
this.
|
|
8944
|
+
protoOf(DefinitionListBuilder).t28 = function (value) {
|
|
8945
|
+
this.r28_1 = value;
|
|
8946
8946
|
};
|
|
8947
|
-
protoOf(DefinitionListBuilder).
|
|
8948
|
-
var tmp0_elvis_lhs = this.
|
|
8949
|
-
return tmp0_elvis_lhs == null ? this.
|
|
8947
|
+
protoOf(DefinitionListBuilder).u28 = function () {
|
|
8948
|
+
var tmp0_elvis_lhs = this.r28_1;
|
|
8949
|
+
return tmp0_elvis_lhs == null ? this.q28_1 ? 2 : 0 : tmp0_elvis_lhs;
|
|
8950
8950
|
};
|
|
8951
|
-
protoOf(DefinitionListBuilder).
|
|
8952
|
-
var tmp0_elvis_lhs = this.
|
|
8953
|
-
return tmp0_elvis_lhs == null ? this.
|
|
8951
|
+
protoOf(DefinitionListBuilder).v28 = function () {
|
|
8952
|
+
var tmp0_elvis_lhs = this.s28_1;
|
|
8953
|
+
return tmp0_elvis_lhs == null ? this.q28_1 ? 0 : 1 : tmp0_elvis_lhs;
|
|
8954
8954
|
};
|
|
8955
|
-
protoOf(DefinitionListBuilder).
|
|
8956
|
-
this.
|
|
8955
|
+
protoOf(DefinitionListBuilder).w28 = function (term, description) {
|
|
8956
|
+
this.x28(Text_init_$Create$(term), description);
|
|
8957
8957
|
};
|
|
8958
|
-
protoOf(DefinitionListBuilder).
|
|
8959
|
-
var tmp0 = this.
|
|
8958
|
+
protoOf(DefinitionListBuilder).x28 = function (term, description) {
|
|
8959
|
+
var tmp0 = this.p28_1;
|
|
8960
8960
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8961
8961
|
var element = to(term, description);
|
|
8962
8962
|
tmp0.x(element);
|
|
8963
8963
|
};
|
|
8964
|
-
protoOf(DefinitionListBuilder).
|
|
8965
|
-
return new DefinitionList(this.
|
|
8964
|
+
protoOf(DefinitionListBuilder).l21 = function () {
|
|
8965
|
+
return new DefinitionList(this.p28_1, this.q28_1, this.u28(), this.v28());
|
|
8966
8966
|
};
|
|
8967
8967
|
function _get_keys__d97k5z($this) {
|
|
8968
8968
|
// Inline function 'kotlin.collections.map' call
|
|
8969
|
-
var this_0 = $this.
|
|
8969
|
+
var this_0 = $this.y28_1;
|
|
8970
8970
|
// Inline function 'kotlin.collections.mapTo' call
|
|
8971
8971
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8972
8972
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -8979,7 +8979,7 @@
|
|
|
8979
8979
|
}
|
|
8980
8980
|
function _get_values__tel787($this) {
|
|
8981
8981
|
// Inline function 'kotlin.collections.map' call
|
|
8982
|
-
var this_0 = $this.
|
|
8982
|
+
var this_0 = $this.y28_1;
|
|
8983
8983
|
// Inline function 'kotlin.collections.mapTo' call
|
|
8984
8984
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8985
8985
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -8995,27 +8995,27 @@
|
|
|
8995
8995
|
}
|
|
8996
8996
|
function DefinitionList$render$lambda($descOffset) {
|
|
8997
8997
|
return function ($this$withPadding) {
|
|
8998
|
-
$this$withPadding.
|
|
8998
|
+
$this$withPadding.z26_1 = $descOffset;
|
|
8999
8999
|
return Unit_instance;
|
|
9000
9000
|
};
|
|
9001
9001
|
}
|
|
9002
9002
|
function DefinitionList(entries, inline, descriptionSpacing, entrySpacing) {
|
|
9003
|
-
this.
|
|
9004
|
-
this.
|
|
9005
|
-
this.
|
|
9006
|
-
this.
|
|
9003
|
+
this.y28_1 = entries;
|
|
9004
|
+
this.z28_1 = inline;
|
|
9005
|
+
this.a29_1 = descriptionSpacing;
|
|
9006
|
+
this.b29_1 = entrySpacing;
|
|
9007
9007
|
// Inline function 'kotlin.require' call
|
|
9008
|
-
if (!(this.
|
|
9008
|
+
if (!(this.a29_1 >= 0)) {
|
|
9009
9009
|
var message = 'Spacing cannot be negative';
|
|
9010
9010
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
9011
9011
|
}
|
|
9012
9012
|
}
|
|
9013
|
-
protoOf(DefinitionList).
|
|
9013
|
+
protoOf(DefinitionList).s21 = function (t, width) {
|
|
9014
9014
|
var termMeasurement = maxWidthRange(_get_keys__d97k5z(this), t, width);
|
|
9015
9015
|
var descMeasurement = measureDescriptions(this, t, width);
|
|
9016
9016
|
var tmp;
|
|
9017
|
-
if (this.
|
|
9018
|
-
tmp = termMeasurement.
|
|
9017
|
+
if (this.z28_1) {
|
|
9018
|
+
tmp = termMeasurement.j22(descMeasurement).i22(this.a29_1);
|
|
9019
9019
|
} else {
|
|
9020
9020
|
// Inline function 'com.github.ajalt.mordant.rendering.maxWidthRange' call
|
|
9021
9021
|
var max = 0;
|
|
@@ -9032,18 +9032,18 @@
|
|
|
9032
9032
|
var range = tmp_0;
|
|
9033
9033
|
var tmp0 = max;
|
|
9034
9034
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
9035
|
-
var b = range.
|
|
9035
|
+
var b = range.h22_1;
|
|
9036
9036
|
max = Math.max(tmp0, b);
|
|
9037
9037
|
var tmp0_0 = min;
|
|
9038
9038
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
9039
|
-
var b_0 = range.
|
|
9039
|
+
var b_0 = range.g22_1;
|
|
9040
9040
|
min = Math.max(tmp0_0, b_0);
|
|
9041
9041
|
}
|
|
9042
9042
|
tmp = new WidthRange(min + 0 | 0, max + 0 | 0);
|
|
9043
9043
|
}
|
|
9044
9044
|
return tmp;
|
|
9045
9045
|
};
|
|
9046
|
-
protoOf(DefinitionList).
|
|
9046
|
+
protoOf(DefinitionList).t21 = function (t, width) {
|
|
9047
9047
|
if (width === 0)
|
|
9048
9048
|
return get_EMPTY_LINES();
|
|
9049
9049
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -9053,19 +9053,19 @@
|
|
|
9053
9053
|
var _iterator__ex2g4s = this_0.t();
|
|
9054
9054
|
while (_iterator__ex2g4s.u()) {
|
|
9055
9055
|
var item = _iterator__ex2g4s.v();
|
|
9056
|
-
var tmp$ret$0 = item.
|
|
9056
|
+
var tmp$ret$0 = item.s21(t, width);
|
|
9057
9057
|
destination.x(tmp$ret$0);
|
|
9058
9058
|
}
|
|
9059
9059
|
var termMeasurements = destination;
|
|
9060
9060
|
var maxInlineTermWidth = numberToInt(width / 2.5);
|
|
9061
|
-
var maxDescWidth = measureDescriptions(this, t, width).
|
|
9061
|
+
var maxDescWidth = measureDescriptions(this, t, width).h22_1;
|
|
9062
9062
|
// Inline function 'kotlin.collections.filter' call
|
|
9063
9063
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9064
9064
|
var destination_0 = ArrayList_init_$Create$();
|
|
9065
9065
|
var _iterator__ex2g4s_0 = termMeasurements.t();
|
|
9066
9066
|
while (_iterator__ex2g4s_0.u()) {
|
|
9067
9067
|
var element = _iterator__ex2g4s_0.v();
|
|
9068
|
-
if (element.
|
|
9068
|
+
if (element.h22_1 <= maxInlineTermWidth || (this.z28_1 && ((element.h22_1 + this.a29_1 | 0) + maxDescWidth | 0) <= width)) {
|
|
9069
9069
|
destination_0.x(element);
|
|
9070
9070
|
}
|
|
9071
9071
|
}
|
|
@@ -9084,18 +9084,18 @@
|
|
|
9084
9084
|
var range = tmp;
|
|
9085
9085
|
var tmp0 = max;
|
|
9086
9086
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
9087
|
-
var b = range.
|
|
9087
|
+
var b = range.h22_1;
|
|
9088
9088
|
max = Math.max(tmp0, b);
|
|
9089
9089
|
var tmp0_0 = min;
|
|
9090
9090
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
9091
|
-
var b_0 = range.
|
|
9091
|
+
var b_0 = range.g22_1;
|
|
9092
9092
|
min = Math.max(tmp0_0, b_0);
|
|
9093
9093
|
}
|
|
9094
|
-
var termWidth = (new WidthRange(min + 0 | 0, max + 0 | 0)).
|
|
9095
|
-
var descOffset = coerceAtLeast(termWidth + this.
|
|
9094
|
+
var termWidth = (new WidthRange(min + 0 | 0, max + 0 | 0)).h22_1;
|
|
9095
|
+
var descOffset = coerceAtLeast(termWidth + this.a29_1 | 0, 4);
|
|
9096
9096
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
9097
9097
|
var lines = ArrayList_init_$Create$();
|
|
9098
|
-
var iterator = this.
|
|
9098
|
+
var iterator = this.y28_1.t();
|
|
9099
9099
|
var index = 0;
|
|
9100
9100
|
$l$loop_1: while (iterator.u()) {
|
|
9101
9101
|
var i = index;
|
|
@@ -9103,7 +9103,7 @@
|
|
|
9103
9103
|
var entry = iterator.v();
|
|
9104
9104
|
if (i > 0) {
|
|
9105
9105
|
// Inline function 'kotlin.repeat' call
|
|
9106
|
-
var times = this.
|
|
9106
|
+
var times = this.b29_1;
|
|
9107
9107
|
var inductionVariable = 0;
|
|
9108
9108
|
if (inductionVariable < times)
|
|
9109
9109
|
do {
|
|
@@ -9117,12 +9117,12 @@
|
|
|
9117
9117
|
}
|
|
9118
9118
|
var term = entry.fa();
|
|
9119
9119
|
var desc = entry.ga();
|
|
9120
|
-
if (!this.
|
|
9120
|
+
if (!this.z28_1) {
|
|
9121
9121
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9122
|
-
var elements = term.
|
|
9122
|
+
var elements = term.t21(t, width).t1x_1;
|
|
9123
9123
|
addAll(lines, elements);
|
|
9124
9124
|
// Inline function 'kotlin.repeat' call
|
|
9125
|
-
var times_0 = this.
|
|
9125
|
+
var times_0 = this.a29_1;
|
|
9126
9126
|
var inductionVariable_0 = 0;
|
|
9127
9127
|
if (inductionVariable_0 < times_0)
|
|
9128
9128
|
do {
|
|
@@ -9134,28 +9134,28 @@
|
|
|
9134
9134
|
}
|
|
9135
9135
|
while (inductionVariable_0 < times_0);
|
|
9136
9136
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9137
|
-
var elements_0 = desc.
|
|
9137
|
+
var elements_0 = desc.t21(t, width).t1x_1;
|
|
9138
9138
|
addAll(lines, elements_0);
|
|
9139
9139
|
continue $l$loop_1;
|
|
9140
9140
|
}
|
|
9141
|
-
if (termMeasurements.e1(i).
|
|
9141
|
+
if (termMeasurements.e1(i).h22_1 > termWidth) {
|
|
9142
9142
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9143
|
-
var elements_1 = term.
|
|
9143
|
+
var elements_1 = term.t21(t, width).t1x_1;
|
|
9144
9144
|
addAll(lines, elements_1);
|
|
9145
9145
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9146
|
-
var elements_2 = withPadding(desc, VOID, DefinitionList$render$lambda(descOffset)).
|
|
9146
|
+
var elements_2 = withPadding(desc, VOID, DefinitionList$render$lambda(descOffset)).t21(t, width).t1x_1;
|
|
9147
9147
|
addAll(lines, elements_2);
|
|
9148
9148
|
continue $l$loop_1;
|
|
9149
9149
|
}
|
|
9150
|
-
var termLines = term.
|
|
9151
|
-
var descLines = desc.
|
|
9150
|
+
var termLines = term.t21(t, termWidth).t1x_1;
|
|
9151
|
+
var descLines = desc.t21(t, coerceAtLeast((width - termWidth | 0) - this.a29_1 | 0, 0)).t1x_1;
|
|
9152
9152
|
// Inline function 'kotlin.collections.mapTo' call
|
|
9153
9153
|
var _iterator__ex2g4s_2 = zip(termLines, descLines).t();
|
|
9154
9154
|
while (_iterator__ex2g4s_2.u()) {
|
|
9155
9155
|
var item_0 = _iterator__ex2g4s_2.v();
|
|
9156
9156
|
var t_0 = item_0.fa();
|
|
9157
9157
|
var d = item_0.ga();
|
|
9158
|
-
var tmp$ret$21 = flatLine([t_0, Companion_instance_0.
|
|
9158
|
+
var tmp$ret$21 = flatLine([t_0, Companion_instance_0.a1y((this.a29_1 + termWidth | 0) - get_lineWidth(t_0) | 0), d]);
|
|
9159
9159
|
lines.x(tmp$ret$21);
|
|
9160
9160
|
}
|
|
9161
9161
|
if (termLines.f1() > descLines.f1()) {
|
|
@@ -9163,7 +9163,7 @@
|
|
|
9163
9163
|
var elements_3 = drop_0(termLines, descLines.f1());
|
|
9164
9164
|
addAll(lines, elements_3);
|
|
9165
9165
|
} else if (descLines.f1() > termLines.f1()) {
|
|
9166
|
-
var paddingLeft = descOffset > 0 ? listOf_0(Companion_instance_0.
|
|
9166
|
+
var paddingLeft = descOffset > 0 ? listOf_0(Companion_instance_0.a1y(descOffset)) : get_EMPTY_LINE();
|
|
9167
9167
|
// Inline function 'kotlin.collections.mapTo' call
|
|
9168
9168
|
var _iterator__ex2g4s_3 = drop_0(descLines, termLines.f1()).t();
|
|
9169
9169
|
while (_iterator__ex2g4s_3.u()) {
|
|
@@ -9186,10 +9186,10 @@
|
|
|
9186
9186
|
};
|
|
9187
9187
|
function EmptyWidget() {
|
|
9188
9188
|
}
|
|
9189
|
-
protoOf(EmptyWidget).
|
|
9189
|
+
protoOf(EmptyWidget).s21 = function (t, width) {
|
|
9190
9190
|
return new WidthRange(0, 0);
|
|
9191
9191
|
};
|
|
9192
|
-
protoOf(EmptyWidget).
|
|
9192
|
+
protoOf(EmptyWidget).t21 = function (t, width) {
|
|
9193
9193
|
return get_EMPTY_LINES();
|
|
9194
9194
|
};
|
|
9195
9195
|
var EmptyWidget_instance;
|
|
@@ -9210,23 +9210,23 @@
|
|
|
9210
9210
|
return Companion_instance_4;
|
|
9211
9211
|
}
|
|
9212
9212
|
function Builder(top, right, bottom, left) {
|
|
9213
|
-
this.
|
|
9214
|
-
this.
|
|
9215
|
-
this.
|
|
9216
|
-
this.
|
|
9213
|
+
this.w26_1 = top;
|
|
9214
|
+
this.x26_1 = right;
|
|
9215
|
+
this.y26_1 = bottom;
|
|
9216
|
+
this.z26_1 = left;
|
|
9217
9217
|
}
|
|
9218
|
-
protoOf(Builder).
|
|
9219
|
-
this.
|
|
9220
|
-
this.
|
|
9218
|
+
protoOf(Builder).a27 = function (value) {
|
|
9219
|
+
this.z26_1 = value;
|
|
9220
|
+
this.x26_1 = value;
|
|
9221
9221
|
};
|
|
9222
9222
|
protoOf(Builder).toString = function () {
|
|
9223
|
-
return 'Builder(top=' + this.
|
|
9223
|
+
return 'Builder(top=' + this.w26_1 + ', right=' + this.x26_1 + ', bottom=' + this.y26_1 + ', left=' + this.z26_1 + ')';
|
|
9224
9224
|
};
|
|
9225
9225
|
protoOf(Builder).hashCode = function () {
|
|
9226
|
-
var result = this.
|
|
9227
|
-
result = imul(result, 31) + this.
|
|
9228
|
-
result = imul(result, 31) + this.
|
|
9229
|
-
result = imul(result, 31) + this.
|
|
9226
|
+
var result = this.w26_1;
|
|
9227
|
+
result = imul(result, 31) + this.x26_1 | 0;
|
|
9228
|
+
result = imul(result, 31) + this.y26_1 | 0;
|
|
9229
|
+
result = imul(result, 31) + this.z26_1 | 0;
|
|
9230
9230
|
return result;
|
|
9231
9231
|
};
|
|
9232
9232
|
protoOf(Builder).equals = function (other) {
|
|
@@ -9235,53 +9235,53 @@
|
|
|
9235
9235
|
if (!(other instanceof Builder))
|
|
9236
9236
|
return false;
|
|
9237
9237
|
var tmp0_other_with_cast = other instanceof Builder ? other : THROW_CCE();
|
|
9238
|
-
if (!(this.
|
|
9238
|
+
if (!(this.w26_1 === tmp0_other_with_cast.w26_1))
|
|
9239
9239
|
return false;
|
|
9240
|
-
if (!(this.
|
|
9240
|
+
if (!(this.x26_1 === tmp0_other_with_cast.x26_1))
|
|
9241
9241
|
return false;
|
|
9242
|
-
if (!(this.
|
|
9242
|
+
if (!(this.y26_1 === tmp0_other_with_cast.y26_1))
|
|
9243
9243
|
return false;
|
|
9244
|
-
if (!(this.
|
|
9244
|
+
if (!(this.z26_1 === tmp0_other_with_cast.z26_1))
|
|
9245
9245
|
return false;
|
|
9246
9246
|
return true;
|
|
9247
9247
|
};
|
|
9248
9248
|
function Padding(top, right, bottom, left) {
|
|
9249
|
-
this.
|
|
9250
|
-
this.
|
|
9251
|
-
this.
|
|
9252
|
-
this.
|
|
9249
|
+
this.b27_1 = top;
|
|
9250
|
+
this.c27_1 = right;
|
|
9251
|
+
this.d27_1 = bottom;
|
|
9252
|
+
this.e27_1 = left;
|
|
9253
9253
|
// Inline function 'kotlin.require' call
|
|
9254
|
-
if (!(this.
|
|
9254
|
+
if (!(this.b27_1 >= 0)) {
|
|
9255
9255
|
var message = 'Invalid negative top padding';
|
|
9256
9256
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
9257
9257
|
}
|
|
9258
9258
|
// Inline function 'kotlin.require' call
|
|
9259
|
-
if (!(this.
|
|
9259
|
+
if (!(this.c27_1 >= 0)) {
|
|
9260
9260
|
var message_0 = 'Invalid negative right padding';
|
|
9261
9261
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
9262
9262
|
}
|
|
9263
9263
|
// Inline function 'kotlin.require' call
|
|
9264
|
-
if (!(this.
|
|
9264
|
+
if (!(this.d27_1 >= 0)) {
|
|
9265
9265
|
var message_1 = 'Invalid negative bottom padding';
|
|
9266
9266
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
9267
9267
|
}
|
|
9268
9268
|
// Inline function 'kotlin.require' call
|
|
9269
|
-
if (!(this.
|
|
9269
|
+
if (!(this.e27_1 >= 0)) {
|
|
9270
9270
|
var message_2 = 'Invalid negative left padding';
|
|
9271
9271
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
9272
9272
|
}
|
|
9273
9273
|
}
|
|
9274
|
-
protoOf(Padding).
|
|
9275
|
-
return this.
|
|
9274
|
+
protoOf(Padding).c29 = function () {
|
|
9275
|
+
return this.b27_1 === 0 && this.c27_1 === 0 && this.d27_1 === 0 && this.e27_1 === 0;
|
|
9276
9276
|
};
|
|
9277
9277
|
protoOf(Padding).toString = function () {
|
|
9278
|
-
return 'Padding(top=' + this.
|
|
9278
|
+
return 'Padding(top=' + this.b27_1 + ', right=' + this.c27_1 + ', bottom=' + this.d27_1 + ', left=' + this.e27_1 + ')';
|
|
9279
9279
|
};
|
|
9280
9280
|
protoOf(Padding).hashCode = function () {
|
|
9281
|
-
var result = this.
|
|
9282
|
-
result = imul(result, 31) + this.
|
|
9283
|
-
result = imul(result, 31) + this.
|
|
9284
|
-
result = imul(result, 31) + this.
|
|
9281
|
+
var result = this.b27_1;
|
|
9282
|
+
result = imul(result, 31) + this.c27_1 | 0;
|
|
9283
|
+
result = imul(result, 31) + this.d27_1 | 0;
|
|
9284
|
+
result = imul(result, 31) + this.e27_1 | 0;
|
|
9285
9285
|
return result;
|
|
9286
9286
|
};
|
|
9287
9287
|
protoOf(Padding).equals = function (other) {
|
|
@@ -9290,13 +9290,13 @@
|
|
|
9290
9290
|
if (!(other instanceof Padding))
|
|
9291
9291
|
return false;
|
|
9292
9292
|
var tmp0_other_with_cast = other instanceof Padding ? other : THROW_CCE();
|
|
9293
|
-
if (!(this.
|
|
9293
|
+
if (!(this.b27_1 === tmp0_other_with_cast.b27_1))
|
|
9294
9294
|
return false;
|
|
9295
|
-
if (!(this.
|
|
9295
|
+
if (!(this.c27_1 === tmp0_other_with_cast.c27_1))
|
|
9296
9296
|
return false;
|
|
9297
|
-
if (!(this.
|
|
9297
|
+
if (!(this.d27_1 === tmp0_other_with_cast.d27_1))
|
|
9298
9298
|
return false;
|
|
9299
|
-
if (!(this.
|
|
9299
|
+
if (!(this.e27_1 === tmp0_other_with_cast.e27_1))
|
|
9300
9300
|
return false;
|
|
9301
9301
|
return true;
|
|
9302
9302
|
};
|
|
@@ -9308,18 +9308,18 @@
|
|
|
9308
9308
|
var this_0 = new Builder(0, 0, 0, 0);
|
|
9309
9309
|
padding(this_0);
|
|
9310
9310
|
var b = this_0;
|
|
9311
|
-
var tmp$ret$1 = new Padding(b.
|
|
9312
|
-
return tmp.
|
|
9311
|
+
var tmp$ret$1 = new Padding(b.w26_1, b.x26_1, b.y26_1, b.z26_1);
|
|
9312
|
+
return tmp.d29(_this__u8e3s4, tmp$ret$1, padEmptyLines);
|
|
9313
9313
|
}
|
|
9314
9314
|
function Companion_5() {
|
|
9315
9315
|
}
|
|
9316
|
-
protoOf(Companion_5).
|
|
9316
|
+
protoOf(Companion_5).d29 = function (content, padding, padEmptyLines) {
|
|
9317
9317
|
var tmp;
|
|
9318
|
-
if (padding.
|
|
9318
|
+
if (padding.c29()) {
|
|
9319
9319
|
tmp = content;
|
|
9320
9320
|
} else {
|
|
9321
9321
|
if (content instanceof Padded) {
|
|
9322
|
-
tmp = new Padded(content.
|
|
9322
|
+
tmp = new Padded(content.e29_1, plus_2(content.f29_1, padding), padEmptyLines);
|
|
9323
9323
|
} else {
|
|
9324
9324
|
tmp = new Padded(content, padding, padEmptyLines);
|
|
9325
9325
|
}
|
|
@@ -9331,23 +9331,23 @@
|
|
|
9331
9331
|
return Companion_instance_5;
|
|
9332
9332
|
}
|
|
9333
9333
|
function _get_paddingWidth__8vycom($this) {
|
|
9334
|
-
return $this.
|
|
9334
|
+
return $this.f29_1.e27_1 + $this.f29_1.c27_1 | 0;
|
|
9335
9335
|
}
|
|
9336
9336
|
function Padded(content, padding, padEmptyLines) {
|
|
9337
|
-
this.
|
|
9338
|
-
this.
|
|
9339
|
-
this.
|
|
9340
|
-
}
|
|
9341
|
-
protoOf(Padded).
|
|
9342
|
-
return this.
|
|
9343
|
-
};
|
|
9344
|
-
protoOf(Padded).
|
|
9345
|
-
var lines = this.
|
|
9346
|
-
var output = ArrayList_init_$Create$_0((this.
|
|
9347
|
-
var left = this.
|
|
9348
|
-
var right = this.
|
|
9337
|
+
this.e29_1 = content;
|
|
9338
|
+
this.f29_1 = padding;
|
|
9339
|
+
this.g29_1 = padEmptyLines;
|
|
9340
|
+
}
|
|
9341
|
+
protoOf(Padded).s21 = function (t, width) {
|
|
9342
|
+
return this.e29_1.s21(t, width - _get_paddingWidth__8vycom(this) | 0).i22(_get_paddingWidth__8vycom(this));
|
|
9343
|
+
};
|
|
9344
|
+
protoOf(Padded).t21 = function (t, width) {
|
|
9345
|
+
var lines = this.e29_1.t21(t, coerceAtLeast(width - _get_paddingWidth__8vycom(this) | 0, 0));
|
|
9346
|
+
var output = ArrayList_init_$Create$_0((this.f29_1.b27_1 + lines.w1z() | 0) + this.f29_1.d27_1 | 0);
|
|
9347
|
+
var left = this.f29_1.e27_1 > 0 ? listOf_0(Companion_instance_0.a1y(this.f29_1.e27_1)) : get_EMPTY_LINE();
|
|
9348
|
+
var right = this.f29_1.c27_1 > 0 ? listOf_0(Companion_instance_0.a1y(this.f29_1.c27_1)) : get_EMPTY_LINE();
|
|
9349
9349
|
// Inline function 'kotlin.repeat' call
|
|
9350
|
-
var times = this.
|
|
9350
|
+
var times = this.f29_1.b27_1;
|
|
9351
9351
|
var inductionVariable = 0;
|
|
9352
9352
|
if (inductionVariable < times)
|
|
9353
9353
|
do {
|
|
@@ -9356,15 +9356,15 @@
|
|
|
9356
9356
|
output.x(get_EMPTY_LINE());
|
|
9357
9357
|
}
|
|
9358
9358
|
while (inductionVariable < times);
|
|
9359
|
-
var _iterator__ex2g4s = lines.
|
|
9359
|
+
var _iterator__ex2g4s = lines.t1x_1.t();
|
|
9360
9360
|
while (_iterator__ex2g4s.u()) {
|
|
9361
9361
|
var line = _iterator__ex2g4s.v();
|
|
9362
9362
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9363
|
-
var element = !this.
|
|
9363
|
+
var element = !this.g29_1 && line.r() ? get_EMPTY_LINE() : flatLine([left, line, right]);
|
|
9364
9364
|
output.x(element);
|
|
9365
9365
|
}
|
|
9366
9366
|
// Inline function 'kotlin.repeat' call
|
|
9367
|
-
var times_0 = this.
|
|
9367
|
+
var times_0 = this.f29_1.d27_1;
|
|
9368
9368
|
var inductionVariable_0 = 0;
|
|
9369
9369
|
if (inductionVariable_0 < times_0)
|
|
9370
9370
|
do {
|
|
@@ -9376,11 +9376,11 @@
|
|
|
9376
9376
|
return new Lines(output);
|
|
9377
9377
|
};
|
|
9378
9378
|
function plus_2(_this__u8e3s4, other) {
|
|
9379
|
-
return new Padding(_this__u8e3s4.
|
|
9379
|
+
return new Padding(_this__u8e3s4.b27_1 + other.b27_1 | 0, _this__u8e3s4.c27_1 + other.c27_1 | 0, _this__u8e3s4.d27_1 + other.d27_1 | 0, _this__u8e3s4.e27_1 + other.e27_1 | 0);
|
|
9380
9380
|
}
|
|
9381
9381
|
function withPadding_0(_this__u8e3s4, padding, padEmptyLines) {
|
|
9382
9382
|
padEmptyLines = padEmptyLines === VOID ? true : padEmptyLines;
|
|
9383
|
-
return Companion_instance_5.
|
|
9383
|
+
return Companion_instance_5.d29(_this__u8e3s4, padding, padEmptyLines);
|
|
9384
9384
|
}
|
|
9385
9385
|
function Text_init_$Init$(text, whitespace, align, overflowWrap, width, tabWidth, $this) {
|
|
9386
9386
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
@@ -9404,48 +9404,48 @@
|
|
|
9404
9404
|
var endStyle = {_v: get_DEFAULT_STYLE()};
|
|
9405
9405
|
var width = {_v: 0};
|
|
9406
9406
|
var lastPieceWasWhitespace = {_v: true};
|
|
9407
|
-
var _iterator__ex2g4s = $this.
|
|
9407
|
+
var _iterator__ex2g4s = $this.h29_1.t1x_1.t();
|
|
9408
9408
|
while (_iterator__ex2g4s.u()) {
|
|
9409
9409
|
var oldLine = _iterator__ex2g4s.v();
|
|
9410
9410
|
var lastNonWhitespace_0 = lastNonWhitespace($this, oldLine, align);
|
|
9411
|
-
endStyle._v = oldLine.
|
|
9411
|
+
endStyle._v = oldLine.v1x_1;
|
|
9412
9412
|
var iterator = oldLine.t();
|
|
9413
9413
|
var index = 0;
|
|
9414
9414
|
loop: while (iterator.u()) {
|
|
9415
9415
|
var i = index;
|
|
9416
9416
|
index = index + 1 | 0;
|
|
9417
9417
|
var piece = iterator.v();
|
|
9418
|
-
if (piece.
|
|
9418
|
+
if (piece.w1x_1 === '\x85' || piece.w1x_1 === '\u2028') {
|
|
9419
9419
|
wrap$breakLine($this, align, line, width, wrapWidth, endStyle, lines, lastPieceWasWhitespace);
|
|
9420
9420
|
continue loop;
|
|
9421
9421
|
}
|
|
9422
|
-
if (($this.
|
|
9422
|
+
if (($this.i29_1.r21_1 || align.equals(TextAlign_JUSTIFY_getInstance())) && (0 <= lastNonWhitespace_0 ? lastNonWhitespace_0 < i : false)) {
|
|
9423
9423
|
continue loop;
|
|
9424
9424
|
}
|
|
9425
9425
|
if (i === 0 && !lastPieceWasWhitespace._v) {
|
|
9426
|
-
var tmp152_subject = last(line._v).
|
|
9426
|
+
var tmp152_subject = last(line._v).x1x_1;
|
|
9427
9427
|
var tmp;
|
|
9428
9428
|
var tmp153_safe_receiver = firstOrNull(oldLine);
|
|
9429
|
-
if (equals(tmp152_subject, tmp153_safe_receiver == null ? null : tmp153_safe_receiver.
|
|
9430
|
-
tmp = last(line._v).
|
|
9429
|
+
if (equals(tmp152_subject, tmp153_safe_receiver == null ? null : tmp153_safe_receiver.x1x_1)) {
|
|
9430
|
+
tmp = last(line._v).x1x_1;
|
|
9431
9431
|
} else {
|
|
9432
9432
|
tmp = get_DEFAULT_STYLE();
|
|
9433
9433
|
}
|
|
9434
9434
|
var style = tmp;
|
|
9435
|
-
line._v.x(Companion_instance_0.
|
|
9435
|
+
line._v.x(Companion_instance_0.g1y(' ', style));
|
|
9436
9436
|
lastPieceWasWhitespace._v = true;
|
|
9437
9437
|
width._v = width._v + 1 | 0;
|
|
9438
9438
|
}
|
|
9439
|
-
var pieceIsWhitespace = piece.
|
|
9440
|
-
if (pieceIsWhitespace && lastPieceWasWhitespace._v && $this.
|
|
9439
|
+
var pieceIsWhitespace = piece.g20();
|
|
9440
|
+
if (pieceIsWhitespace && lastPieceWasWhitespace._v && $this.i29_1.p21_1)
|
|
9441
9441
|
continue loop;
|
|
9442
9442
|
var tmp_0;
|
|
9443
|
-
if (pieceIsWhitespace && $this.
|
|
9444
|
-
tmp_0 = Companion_instance_0.
|
|
9445
|
-
} else if (piece.
|
|
9443
|
+
if (pieceIsWhitespace && $this.i29_1.p21_1) {
|
|
9444
|
+
tmp_0 = Companion_instance_0.b20(1, piece.x1x_1);
|
|
9445
|
+
} else if (piece.h20()) {
|
|
9446
9446
|
var tmp_1;
|
|
9447
9447
|
if (tabWidth > 0) {
|
|
9448
|
-
tmp_1 = Companion_instance_0.
|
|
9448
|
+
tmp_1 = Companion_instance_0.b20(tabWidth - (width._v % tabWidth | 0) | 0, piece.x1x_1);
|
|
9449
9449
|
} else {
|
|
9450
9450
|
continue loop;
|
|
9451
9451
|
}
|
|
@@ -9454,34 +9454,34 @@
|
|
|
9454
9454
|
tmp_0 = piece;
|
|
9455
9455
|
}
|
|
9456
9456
|
var span = tmp_0;
|
|
9457
|
-
var cellWidth = span.
|
|
9458
|
-
if ($this.
|
|
9457
|
+
var cellWidth = span.a20();
|
|
9458
|
+
if ($this.i29_1.q21_1 && width._v > 0 && (width._v + cellWidth | 0) > wrapWidth) {
|
|
9459
9459
|
wrap$breakLine($this, align, line, width, wrapWidth, endStyle, lines, lastPieceWasWhitespace);
|
|
9460
9460
|
if (pieceIsWhitespace)
|
|
9461
9461
|
continue loop;
|
|
9462
9462
|
}
|
|
9463
|
-
if ($this.
|
|
9463
|
+
if ($this.i29_1.q21_1 && cellWidth > wrapWidth) {
|
|
9464
9464
|
switch (overflowWrap.a3_1) {
|
|
9465
9465
|
case 0:
|
|
9466
9466
|
break;
|
|
9467
9467
|
case 2:
|
|
9468
|
-
span = Companion_instance_0.
|
|
9468
|
+
span = Companion_instance_0.g1y(take(span.w1x_1, wrapWidth), span.x1x_1);
|
|
9469
9469
|
break;
|
|
9470
9470
|
case 3:
|
|
9471
|
-
span = Companion_instance_0.
|
|
9471
|
+
span = Companion_instance_0.g1y(take(span.w1x_1, wrapWidth - 1 | 0) + '\u2026', span.x1x_1);
|
|
9472
9472
|
break;
|
|
9473
9473
|
case 1:
|
|
9474
9474
|
// Inline function 'kotlin.collections.forEach' call
|
|
9475
9475
|
|
|
9476
|
-
var _iterator__ex2g4s_0 = chunked(span.
|
|
9476
|
+
var _iterator__ex2g4s_0 = chunked(span.w1x_1, wrapWidth).t();
|
|
9477
9477
|
while (_iterator__ex2g4s_0.u()) {
|
|
9478
9478
|
var element = _iterator__ex2g4s_0.v();
|
|
9479
9479
|
if (element.length === wrapWidth) {
|
|
9480
9480
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9481
|
-
var element_0 = Line_init_$Create$(listOf_0(Companion_instance_0.
|
|
9481
|
+
var element_0 = Line_init_$Create$(listOf_0(Companion_instance_0.g1y(element, span.x1x_1)));
|
|
9482
9482
|
lines.x(element_0);
|
|
9483
9483
|
} else {
|
|
9484
|
-
span = Companion_instance_0.
|
|
9484
|
+
span = Companion_instance_0.g1y(element, span.x1x_1);
|
|
9485
9485
|
}
|
|
9486
9486
|
}
|
|
9487
9487
|
|
|
@@ -9491,11 +9491,11 @@
|
|
|
9491
9491
|
break;
|
|
9492
9492
|
}
|
|
9493
9493
|
}
|
|
9494
|
-
width._v = width._v + span.
|
|
9494
|
+
width._v = width._v + span.a20() | 0;
|
|
9495
9495
|
line._v.x(span);
|
|
9496
9496
|
lastPieceWasWhitespace._v = pieceIsWhitespace;
|
|
9497
9497
|
}
|
|
9498
|
-
if (!$this.
|
|
9498
|
+
if (!$this.i29_1.o21_1) {
|
|
9499
9499
|
wrap$breakLine($this, align, line, width, wrapWidth, endStyle, lines, lastPieceWasWhitespace);
|
|
9500
9500
|
}
|
|
9501
9501
|
}
|
|
@@ -9507,13 +9507,13 @@
|
|
|
9507
9507
|
}
|
|
9508
9508
|
function lastNonWhitespace($this, line, align) {
|
|
9509
9509
|
var tmp;
|
|
9510
|
-
if ($this.
|
|
9510
|
+
if ($this.i29_1.r21_1 || align.equals(TextAlign_JUSTIFY_getInstance())) {
|
|
9511
9511
|
var tmp$ret$1;
|
|
9512
9512
|
$l$block: {
|
|
9513
9513
|
// Inline function 'kotlin.collections.indexOfLast' call
|
|
9514
9514
|
var iterator = line.k1(line.f1());
|
|
9515
9515
|
while (iterator.i4()) {
|
|
9516
|
-
if (!iterator.k4().
|
|
9516
|
+
if (!iterator.k4().g20()) {
|
|
9517
9517
|
tmp$ret$1 = iterator.j4();
|
|
9518
9518
|
break $l$block;
|
|
9519
9519
|
}
|
|
@@ -9551,14 +9551,14 @@
|
|
|
9551
9551
|
function alignLineLeft($this, line, extraWidth, endStyle) {
|
|
9552
9552
|
var tmp = Companion_instance_0;
|
|
9553
9553
|
var tmp156_safe_receiver = lastOrNull(line);
|
|
9554
|
-
var tmp0_elvis_lhs = tmp156_safe_receiver == null ? null : tmp156_safe_receiver.
|
|
9555
|
-
line.x(tmp.
|
|
9554
|
+
var tmp0_elvis_lhs = tmp156_safe_receiver == null ? null : tmp156_safe_receiver.x1x_1;
|
|
9555
|
+
line.x(tmp.b20(extraWidth, tmp0_elvis_lhs == null ? endStyle : tmp0_elvis_lhs));
|
|
9556
9556
|
}
|
|
9557
9557
|
function alignLineRight($this, line, extraWidth, endStyle) {
|
|
9558
9558
|
var tmp = Companion_instance_0;
|
|
9559
9559
|
var tmp157_safe_receiver = firstOrNull(line);
|
|
9560
|
-
var tmp0_elvis_lhs = tmp157_safe_receiver == null ? null : tmp157_safe_receiver.
|
|
9561
|
-
line.w2(0, tmp.
|
|
9560
|
+
var tmp0_elvis_lhs = tmp157_safe_receiver == null ? null : tmp157_safe_receiver.x1x_1;
|
|
9561
|
+
line.w2(0, tmp.b20(extraWidth, tmp0_elvis_lhs == null ? endStyle : tmp0_elvis_lhs));
|
|
9562
9562
|
}
|
|
9563
9563
|
function alignLineCenter($this, line, extraWidth, endStyle) {
|
|
9564
9564
|
var halfExtra = extraWidth / 2 | 0;
|
|
@@ -9585,7 +9585,7 @@
|
|
|
9585
9585
|
var _iterator__ex2g4s = line.t();
|
|
9586
9586
|
while (_iterator__ex2g4s.u()) {
|
|
9587
9587
|
var element = _iterator__ex2g4s.v();
|
|
9588
|
-
if (element.
|
|
9588
|
+
if (element.g20()) {
|
|
9589
9589
|
count = count + 1 | 0;
|
|
9590
9590
|
checkCountOverflow(count);
|
|
9591
9591
|
}
|
|
@@ -9605,7 +9605,7 @@
|
|
|
9605
9605
|
var span = _iterator__ex2g4s_0.v();
|
|
9606
9606
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9607
9607
|
justifiedLine.x(span);
|
|
9608
|
-
if (!span.
|
|
9608
|
+
if (!span.g20())
|
|
9609
9609
|
continue $l$loop_0;
|
|
9610
9610
|
var tmp_0;
|
|
9611
9611
|
var _unary__edvuaz = skipRemainder;
|
|
@@ -9618,13 +9618,13 @@
|
|
|
9618
9618
|
if (tmp_0)
|
|
9619
9619
|
continue $l$loop_0;
|
|
9620
9620
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9621
|
-
var element_0 = Companion_instance_0.
|
|
9621
|
+
var element_0 = Companion_instance_0.b20(spaceSize + (skipRemainder < 0 ? 1 : 0) | 0, span.x1x_1);
|
|
9622
9622
|
justifiedLine.x(element_0);
|
|
9623
9623
|
}
|
|
9624
9624
|
return justifiedLine;
|
|
9625
9625
|
}
|
|
9626
9626
|
function wrap$breakLine(this$0, $align, line, width, $wrapWidth, endStyle, lines, lastPieceWasWhitespace) {
|
|
9627
|
-
if (this$0.
|
|
9627
|
+
if (this$0.i29_1.r21_1 || $align.equals(TextAlign_JUSTIFY_getInstance())) {
|
|
9628
9628
|
var lastNonWhitespace_0 = lastNonWhitespace(this$0, line._v, $align);
|
|
9629
9629
|
if (lastNonWhitespace_0 >= 0) {
|
|
9630
9630
|
// Inline function 'kotlin.repeat' call
|
|
@@ -9644,7 +9644,7 @@
|
|
|
9644
9644
|
}
|
|
9645
9645
|
var tmp = line._v;
|
|
9646
9646
|
var tmp151_safe_receiver = lastOrNull(line._v);
|
|
9647
|
-
var tmp0_elvis_lhs = tmp151_safe_receiver == null ? null : tmp151_safe_receiver.
|
|
9647
|
+
var tmp0_elvis_lhs = tmp151_safe_receiver == null ? null : tmp151_safe_receiver.x1x_1;
|
|
9648
9648
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9649
9649
|
var element = new Line(tmp, tmp0_elvis_lhs == null ? endStyle._v : tmp0_elvis_lhs);
|
|
9650
9650
|
lines.x(element);
|
|
@@ -9654,7 +9654,7 @@
|
|
|
9654
9654
|
lastPieceWasWhitespace._v = true;
|
|
9655
9655
|
}
|
|
9656
9656
|
function Text$toString$lambda(it) {
|
|
9657
|
-
return it.
|
|
9657
|
+
return it.w1x_1;
|
|
9658
9658
|
}
|
|
9659
9659
|
function Text(lines, whitespace, align, overflowWrap, width, tabWidth) {
|
|
9660
9660
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
@@ -9662,29 +9662,29 @@
|
|
|
9662
9662
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
9663
9663
|
width = width === VOID ? null : width;
|
|
9664
9664
|
tabWidth = tabWidth === VOID ? null : tabWidth;
|
|
9665
|
-
this.
|
|
9666
|
-
this.
|
|
9667
|
-
this.
|
|
9668
|
-
this.
|
|
9669
|
-
this.
|
|
9670
|
-
this.
|
|
9665
|
+
this.h29_1 = lines;
|
|
9666
|
+
this.i29_1 = whitespace;
|
|
9667
|
+
this.j29_1 = align;
|
|
9668
|
+
this.k29_1 = overflowWrap;
|
|
9669
|
+
this.l29_1 = width;
|
|
9670
|
+
this.m29_1 = tabWidth;
|
|
9671
9671
|
// Inline function 'kotlin.require' call
|
|
9672
|
-
if (!(this.
|
|
9672
|
+
if (!(this.l29_1 == null || this.l29_1 >= 0)) {
|
|
9673
9673
|
var message = 'width cannot be negative';
|
|
9674
9674
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
9675
9675
|
}
|
|
9676
9676
|
// Inline function 'kotlin.require' call
|
|
9677
|
-
if (!(this.
|
|
9677
|
+
if (!(this.m29_1 == null || this.m29_1 >= 0)) {
|
|
9678
9678
|
var message_0 = 'tab width cannot be negative';
|
|
9679
9679
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
9680
9680
|
}
|
|
9681
9681
|
}
|
|
9682
|
-
protoOf(Text).
|
|
9683
|
-
var tmp0_elvis_lhs = this.
|
|
9682
|
+
protoOf(Text).s21 = function (t, width) {
|
|
9683
|
+
var tmp0_elvis_lhs = this.l29_1;
|
|
9684
9684
|
var tmp = tmp0_elvis_lhs == null ? width : tmp0_elvis_lhs;
|
|
9685
|
-
var tmp1_elvis_lhs = this.
|
|
9686
|
-
var lines = wrap(this, tmp, tmp1_elvis_lhs == null ? t.
|
|
9687
|
-
var tmp0 = lines.
|
|
9685
|
+
var tmp1_elvis_lhs = this.m29_1;
|
|
9686
|
+
var lines = wrap(this, tmp, tmp1_elvis_lhs == null ? t.w21_1 : tmp1_elvis_lhs, TextAlign_NONE_getInstance(), OverflowWrap_NORMAL_getInstance());
|
|
9687
|
+
var tmp0 = lines.t1x_1;
|
|
9688
9688
|
var tmp$ret$0;
|
|
9689
9689
|
$l$block: {
|
|
9690
9690
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -9699,7 +9699,7 @@
|
|
|
9699
9699
|
while (_iterator__ex2g4s.u()) {
|
|
9700
9700
|
var element = _iterator__ex2g4s.v();
|
|
9701
9701
|
var tmp_0 = sum;
|
|
9702
|
-
sum = tmp_0 + element.
|
|
9702
|
+
sum = tmp_0 + element.a20() | 0;
|
|
9703
9703
|
}
|
|
9704
9704
|
var maxValue = sum;
|
|
9705
9705
|
while (iterator.u()) {
|
|
@@ -9709,7 +9709,7 @@
|
|
|
9709
9709
|
while (_iterator__ex2g4s_0.u()) {
|
|
9710
9710
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
9711
9711
|
var tmp_1 = sum_0;
|
|
9712
|
-
sum_0 = tmp_1 + element_0.
|
|
9712
|
+
sum_0 = tmp_1 + element_0.a20() | 0;
|
|
9713
9713
|
}
|
|
9714
9714
|
var v = sum_0;
|
|
9715
9715
|
if (compareTo(maxValue, v) < 0) {
|
|
@@ -9721,8 +9721,8 @@
|
|
|
9721
9721
|
var tmp2_elvis_lhs = tmp$ret$0;
|
|
9722
9722
|
var max = tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs;
|
|
9723
9723
|
var tmp_2;
|
|
9724
|
-
if (this.
|
|
9725
|
-
var tmp0_0 = lines.
|
|
9724
|
+
if (this.i29_1.q21_1) {
|
|
9725
|
+
var tmp0_0 = lines.t1x_1;
|
|
9726
9726
|
var tmp$ret$7;
|
|
9727
9727
|
$l$block_0: {
|
|
9728
9728
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -9740,9 +9740,9 @@
|
|
|
9740
9740
|
tmp$ret$8 = null;
|
|
9741
9741
|
break $l$block_1;
|
|
9742
9742
|
}
|
|
9743
|
-
var maxValue_0 = iterator_1.v().
|
|
9743
|
+
var maxValue_0 = iterator_1.v().a20();
|
|
9744
9744
|
while (iterator_1.u()) {
|
|
9745
|
-
var v_0 = iterator_1.v().
|
|
9745
|
+
var v_0 = iterator_1.v().a20();
|
|
9746
9746
|
if (compareTo(maxValue_0, v_0) < 0) {
|
|
9747
9747
|
maxValue_0 = v_0;
|
|
9748
9748
|
}
|
|
@@ -9761,9 +9761,9 @@
|
|
|
9761
9761
|
tmp$ret$12 = null;
|
|
9762
9762
|
break $l$block_2;
|
|
9763
9763
|
}
|
|
9764
|
-
var maxValue_2 = iterator_2.v().
|
|
9764
|
+
var maxValue_2 = iterator_2.v().a20();
|
|
9765
9765
|
while (iterator_2.u()) {
|
|
9766
|
-
var v_1 = iterator_2.v().
|
|
9766
|
+
var v_1 = iterator_2.v().a20();
|
|
9767
9767
|
if (compareTo(maxValue_2, v_1) < 0) {
|
|
9768
9768
|
maxValue_2 = v_1;
|
|
9769
9769
|
}
|
|
@@ -9786,14 +9786,14 @@
|
|
|
9786
9786
|
var min = tmp_2;
|
|
9787
9787
|
return new WidthRange(min, max);
|
|
9788
9788
|
};
|
|
9789
|
-
protoOf(Text).
|
|
9790
|
-
var tmp0_elvis_lhs = this.
|
|
9789
|
+
protoOf(Text).t21 = function (t, width) {
|
|
9790
|
+
var tmp0_elvis_lhs = this.l29_1;
|
|
9791
9791
|
var tmp = tmp0_elvis_lhs == null ? width : tmp0_elvis_lhs;
|
|
9792
|
-
var tmp1_elvis_lhs = this.
|
|
9793
|
-
return wrap(this, tmp, tmp1_elvis_lhs == null ? t.
|
|
9792
|
+
var tmp1_elvis_lhs = this.m29_1;
|
|
9793
|
+
return wrap(this, tmp, tmp1_elvis_lhs == null ? t.w21_1 : tmp1_elvis_lhs, this.j29_1, this.k29_1);
|
|
9794
9794
|
};
|
|
9795
9795
|
protoOf(Text).toString = function () {
|
|
9796
|
-
var tmp = flatten(this.
|
|
9796
|
+
var tmp = flatten(this.h29_1.t1x_1);
|
|
9797
9797
|
var plain = joinToString(tmp, '', VOID, VOID, VOID, VOID, Text$toString$lambda);
|
|
9798
9798
|
return 'Text(' + take(plain, 25) + (plain.length > 25 ? '\u2026' : '') + ')';
|
|
9799
9799
|
};
|
|
@@ -9805,21 +9805,21 @@
|
|
|
9805
9805
|
return tmp0_elvis_lhs == null ? TerminalInterfaceBrowser_getInstance() : tmp0_elvis_lhs;
|
|
9806
9806
|
}
|
|
9807
9807
|
function JsAtomicInt(initial) {
|
|
9808
|
-
this.
|
|
9808
|
+
this.n29_1 = initial;
|
|
9809
9809
|
}
|
|
9810
|
-
protoOf(JsAtomicInt).
|
|
9811
|
-
var _unary__edvuaz = this.
|
|
9812
|
-
this.
|
|
9810
|
+
protoOf(JsAtomicInt).b1y = function () {
|
|
9811
|
+
var _unary__edvuaz = this.n29_1;
|
|
9812
|
+
this.n29_1 = _unary__edvuaz + 1 | 0;
|
|
9813
9813
|
return _unary__edvuaz;
|
|
9814
9814
|
};
|
|
9815
9815
|
function printStderr(message, newline) {
|
|
9816
|
-
get_impls().
|
|
9816
|
+
get_impls().o29(message, newline);
|
|
9817
9817
|
}
|
|
9818
9818
|
function MppAtomicRef(value) {
|
|
9819
9819
|
return new JsAtomicRef(value);
|
|
9820
9820
|
}
|
|
9821
9821
|
function makePrintingTerminalCursor(terminal) {
|
|
9822
|
-
return get_impls().
|
|
9822
|
+
return get_impls().p29(terminal);
|
|
9823
9823
|
}
|
|
9824
9824
|
function sendInterceptedPrintRequest(request, terminalInterface, interceptors) {
|
|
9825
9825
|
// Inline function 'kotlin.collections.fold' call
|
|
@@ -9828,13 +9828,13 @@
|
|
|
9828
9828
|
while (_iterator__ex2g4s.u()) {
|
|
9829
9829
|
var element = _iterator__ex2g4s.v();
|
|
9830
9830
|
var acc = accumulator;
|
|
9831
|
-
accumulator = element.
|
|
9831
|
+
accumulator = element.q29(acc);
|
|
9832
9832
|
}
|
|
9833
9833
|
var tmp$ret$1 = accumulator;
|
|
9834
|
-
terminalInterface.
|
|
9834
|
+
terminalInterface.t27(tmp$ret$1);
|
|
9835
9835
|
}
|
|
9836
9836
|
function getEnv(key) {
|
|
9837
|
-
return get_impls().
|
|
9837
|
+
return get_impls().r29(key);
|
|
9838
9838
|
}
|
|
9839
9839
|
function runningInIdeaJavaAgent() {
|
|
9840
9840
|
return false;
|
|
@@ -9844,22 +9844,22 @@
|
|
|
9844
9844
|
return tmp instanceof TerminalInterfaceJsCommon ? tmp : THROW_CCE();
|
|
9845
9845
|
}
|
|
9846
9846
|
function JsAtomicRef(value) {
|
|
9847
|
-
this.
|
|
9847
|
+
this.s29_1 = value;
|
|
9848
9848
|
}
|
|
9849
9849
|
protoOf(JsAtomicRef).o1 = function () {
|
|
9850
|
-
return this.
|
|
9850
|
+
return this.s29_1;
|
|
9851
9851
|
};
|
|
9852
|
-
protoOf(JsAtomicRef).
|
|
9853
|
-
if (!equals(this.
|
|
9852
|
+
protoOf(JsAtomicRef).g28 = function (expected, newValue) {
|
|
9853
|
+
if (!equals(this.s29_1, expected))
|
|
9854
9854
|
return false;
|
|
9855
|
-
this.
|
|
9855
|
+
this.s29_1 = newValue;
|
|
9856
9856
|
return true;
|
|
9857
9857
|
};
|
|
9858
9858
|
function exitProcessMpp(status) {
|
|
9859
|
-
return get_impls().
|
|
9859
|
+
return get_impls().n1y(status);
|
|
9860
9860
|
}
|
|
9861
9861
|
function readFileIfExists(filename) {
|
|
9862
|
-
return get_impls().
|
|
9862
|
+
return get_impls().t29(filename);
|
|
9863
9863
|
}
|
|
9864
9864
|
function TerminalInterfaceJsCommon() {
|
|
9865
9865
|
StandardTerminalInterface.call(this);
|
|
@@ -9868,27 +9868,27 @@
|
|
|
9868
9868
|
TerminalInterfaceBrowser_instance = this;
|
|
9869
9869
|
TerminalInterfaceJsCommon.call(this);
|
|
9870
9870
|
}
|
|
9871
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9871
|
+
protoOf(TerminalInterfaceBrowser).r29 = function (key) {
|
|
9872
9872
|
return null;
|
|
9873
9873
|
};
|
|
9874
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9874
|
+
protoOf(TerminalInterfaceBrowser).r27 = function () {
|
|
9875
9875
|
return false;
|
|
9876
9876
|
};
|
|
9877
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9877
|
+
protoOf(TerminalInterfaceBrowser).q27 = function () {
|
|
9878
9878
|
return false;
|
|
9879
9879
|
};
|
|
9880
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9880
|
+
protoOf(TerminalInterfaceBrowser).x27 = function () {
|
|
9881
9881
|
return null;
|
|
9882
9882
|
};
|
|
9883
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9883
|
+
protoOf(TerminalInterfaceBrowser).o29 = function (message, newline) {
|
|
9884
9884
|
return browserPrintln(message);
|
|
9885
9885
|
};
|
|
9886
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9886
|
+
protoOf(TerminalInterfaceBrowser).n1y = function (status) {
|
|
9887
9887
|
};
|
|
9888
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9888
|
+
protoOf(TerminalInterfaceBrowser).p29 = function (terminal) {
|
|
9889
9889
|
return new BrowserTerminalCursor(terminal);
|
|
9890
9890
|
};
|
|
9891
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9891
|
+
protoOf(TerminalInterfaceBrowser).t29 = function (filename) {
|
|
9892
9892
|
return null;
|
|
9893
9893
|
};
|
|
9894
9894
|
var TerminalInterfaceBrowser_instance;
|
|
@@ -9981,24 +9981,24 @@
|
|
|
9981
9981
|
}
|
|
9982
9982
|
function TerminalInterfaceJsNode(fs) {
|
|
9983
9983
|
TerminalInterfaceNode.call(this);
|
|
9984
|
-
this.
|
|
9984
|
+
this.u29_1 = fs;
|
|
9985
9985
|
}
|
|
9986
|
-
protoOf(TerminalInterfaceJsNode).
|
|
9986
|
+
protoOf(TerminalInterfaceJsNode).r29 = function (key) {
|
|
9987
9987
|
var tmp = process.env[key];
|
|
9988
9988
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
9989
9989
|
};
|
|
9990
|
-
protoOf(TerminalInterfaceJsNode).
|
|
9990
|
+
protoOf(TerminalInterfaceJsNode).r27 = function () {
|
|
9991
9991
|
var tmp = Boolean(process.stdout.isTTY);
|
|
9992
9992
|
return (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE();
|
|
9993
9993
|
};
|
|
9994
|
-
protoOf(TerminalInterfaceJsNode).
|
|
9994
|
+
protoOf(TerminalInterfaceJsNode).q27 = function () {
|
|
9995
9995
|
var tmp = Boolean(process.stdin.isTTY);
|
|
9996
9996
|
return (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE();
|
|
9997
9997
|
};
|
|
9998
|
-
protoOf(TerminalInterfaceJsNode).
|
|
9998
|
+
protoOf(TerminalInterfaceJsNode).n1y = function (status) {
|
|
9999
9999
|
process.exit(status);
|
|
10000
10000
|
};
|
|
10001
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10001
|
+
protoOf(TerminalInterfaceJsNode).x27 = function () {
|
|
10002
10002
|
if (process.stdout.getWindowSize == undefined)
|
|
10003
10003
|
return null;
|
|
10004
10004
|
var s = process.stdout.getWindowSize();
|
|
@@ -10007,34 +10007,34 @@
|
|
|
10007
10007
|
var tmp_1 = s[1];
|
|
10008
10008
|
return new Size(tmp_0, (!(tmp_1 == null) ? typeof tmp_1 === 'number' : false) ? tmp_1 : THROW_CCE());
|
|
10009
10009
|
};
|
|
10010
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10010
|
+
protoOf(TerminalInterfaceJsNode).o29 = function (message, newline) {
|
|
10011
10011
|
process.stderr.write(newline ? message + '\n' : message);
|
|
10012
10012
|
};
|
|
10013
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10013
|
+
protoOf(TerminalInterfaceJsNode).p29 = function (terminal) {
|
|
10014
10014
|
return new NodeTerminalCursor(terminal);
|
|
10015
10015
|
};
|
|
10016
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10017
|
-
var tmp = this.
|
|
10016
|
+
protoOf(TerminalInterfaceJsNode).t29 = function (filename) {
|
|
10017
|
+
var tmp = this.u29_1.readFileSync(filename, 'utf-8');
|
|
10018
10018
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
10019
10019
|
};
|
|
10020
10020
|
function NodeTerminalCursor(terminal) {
|
|
10021
10021
|
PrintTerminalCursor.call(this, terminal);
|
|
10022
|
-
this.
|
|
10022
|
+
this.w29_1 = null;
|
|
10023
10023
|
}
|
|
10024
10024
|
//region block: post-declaration
|
|
10025
|
-
protoOf(TxtStyle).
|
|
10026
|
-
protoOf(TxtStyle).
|
|
10027
|
-
protoOf(Table).
|
|
10028
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
10029
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
10030
|
-
protoOf(CellStyleBuilderMixin).
|
|
10031
|
-
protoOf(VerticalLayout).
|
|
10032
|
-
protoOf(StandardTerminalInterface).
|
|
10033
|
-
protoOf(StandardTerminalInterface).
|
|
10034
|
-
protoOf(DefinitionList).
|
|
10035
|
-
protoOf(EmptyWidget).
|
|
10036
|
-
protoOf(Padded).
|
|
10037
|
-
protoOf(Text).
|
|
10025
|
+
protoOf(TxtStyle).i1u = invoke;
|
|
10026
|
+
protoOf(TxtStyle).z1x = plus_1;
|
|
10027
|
+
protoOf(Table).u21 = render$default;
|
|
10028
|
+
protoOf(VerticalLayoutBuilderInstance).z24 = cellsFrom$default;
|
|
10029
|
+
protoOf(VerticalLayoutBuilderInstance).b25 = cell$default;
|
|
10030
|
+
protoOf(CellStyleBuilderMixin).i25 = padding;
|
|
10031
|
+
protoOf(VerticalLayout).u21 = render$default;
|
|
10032
|
+
protoOf(StandardTerminalInterface).x27 = getTerminalSize;
|
|
10033
|
+
protoOf(StandardTerminalInterface).y27 = shouldAutoUpdateSize;
|
|
10034
|
+
protoOf(DefinitionList).u21 = render$default;
|
|
10035
|
+
protoOf(EmptyWidget).u21 = render$default;
|
|
10036
|
+
protoOf(Padded).u21 = render$default;
|
|
10037
|
+
protoOf(Text).u21 = render$default;
|
|
10038
10038
|
//endregion
|
|
10039
10039
|
//region block: init
|
|
10040
10040
|
MultiplatformSystem_instance = new MultiplatformSystem();
|