@flock/wirespec 0.22.7 → 0.22.8
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/clikt-clikt-mordant.mjs +39 -39
- package/colormath-root-colormath.mjs +433 -433
- package/kotlin-kotlin-stdlib.mjs +13 -13
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +6350 -6350
- package/kotlin-rgxgen.mjs +1756 -1756
- package/kotlinx-io-kotlinx-io-core.mjs +404 -404
- package/mordant-mordant.mjs +1202 -1202
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +1123 -1418
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +1322 -1937
- package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-scala.mjs +17 -17
- package/wirespec-src-compiler-emitters-typescript.mjs +23 -23
- package/wirespec-src-compiler-emitters-wirespec.mjs +44 -44
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-converter-asyncapi.mjs +447 -447
- package/wirespec-src-converter-graphql.mjs +905 -905
- package/wirespec-src-converter-openapi.mjs +332 -332
- package/wirespec-src-ide-lsp.mjs +767 -767
- package/wirespec-src-plugin-arguments.mjs +142 -142
- package/wirespec-src-plugin-cli.mjs +84 -84
- package/wirespec-src-plugin-extensions.mjs +16 -16
- package/wirespec-src-plugin-npm.mjs +7 -7
- package/wirespec-src-tools-generator.mjs +2 -2
package/mordant-mordant.mjs
CHANGED
|
@@ -143,26 +143,26 @@ function plus_1(other) {
|
|
|
143
143
|
} else if (other === get_DEFAULT_STYLE()) {
|
|
144
144
|
tmp = this;
|
|
145
145
|
} else {
|
|
146
|
-
var tmp0_elvis_lhs = other.
|
|
147
|
-
var tmp_0 = tmp0_elvis_lhs == null ? this.
|
|
148
|
-
var tmp1_elvis_lhs = other.
|
|
149
|
-
var tmp_1 = tmp1_elvis_lhs == null ? this.
|
|
150
|
-
var tmp2_elvis_lhs = other.
|
|
151
|
-
var tmp_2 = tmp2_elvis_lhs == null ? this.
|
|
152
|
-
var tmp3_elvis_lhs = other.
|
|
153
|
-
var tmp_3 = tmp3_elvis_lhs == null ? this.
|
|
154
|
-
var tmp4_elvis_lhs = other.
|
|
155
|
-
var tmp_4 = tmp4_elvis_lhs == null ? this.
|
|
156
|
-
var tmp5_elvis_lhs = other.
|
|
157
|
-
var tmp_5 = tmp5_elvis_lhs == null ? this.
|
|
158
|
-
var tmp6_elvis_lhs = other.
|
|
159
|
-
var tmp_6 = tmp6_elvis_lhs == null ? this.
|
|
160
|
-
var tmp7_elvis_lhs = other.
|
|
161
|
-
var tmp_7 = tmp7_elvis_lhs == null ? this.
|
|
162
|
-
var tmp8_elvis_lhs = other.
|
|
163
|
-
var tmp_8 = tmp8_elvis_lhs == null ? this.
|
|
164
|
-
var tmp9_elvis_lhs = other.
|
|
165
|
-
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.
|
|
146
|
+
var tmp0_elvis_lhs = other.j54();
|
|
147
|
+
var tmp_0 = tmp0_elvis_lhs == null ? this.j54() : tmp0_elvis_lhs;
|
|
148
|
+
var tmp1_elvis_lhs = other.k54();
|
|
149
|
+
var tmp_1 = tmp1_elvis_lhs == null ? this.k54() : tmp1_elvis_lhs;
|
|
150
|
+
var tmp2_elvis_lhs = other.p54();
|
|
151
|
+
var tmp_2 = tmp2_elvis_lhs == null ? this.p54() : tmp2_elvis_lhs;
|
|
152
|
+
var tmp3_elvis_lhs = other.l54();
|
|
153
|
+
var tmp_3 = tmp3_elvis_lhs == null ? this.l54() : tmp3_elvis_lhs;
|
|
154
|
+
var tmp4_elvis_lhs = other.m54();
|
|
155
|
+
var tmp_4 = tmp4_elvis_lhs == null ? this.m54() : tmp4_elvis_lhs;
|
|
156
|
+
var tmp5_elvis_lhs = other.q54();
|
|
157
|
+
var tmp_5 = tmp5_elvis_lhs == null ? this.q54() : tmp5_elvis_lhs;
|
|
158
|
+
var tmp6_elvis_lhs = other.n54();
|
|
159
|
+
var tmp_6 = tmp6_elvis_lhs == null ? this.n54() : tmp6_elvis_lhs;
|
|
160
|
+
var tmp7_elvis_lhs = other.o54();
|
|
161
|
+
var tmp_7 = tmp7_elvis_lhs == null ? this.o54() : tmp7_elvis_lhs;
|
|
162
|
+
var tmp8_elvis_lhs = other.r54();
|
|
163
|
+
var tmp_8 = tmp8_elvis_lhs == null ? this.r54() : tmp8_elvis_lhs;
|
|
164
|
+
var tmp9_elvis_lhs = other.s54();
|
|
165
|
+
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.s54() : tmp9_elvis_lhs);
|
|
166
166
|
}
|
|
167
167
|
return tmp;
|
|
168
168
|
}
|
|
@@ -174,8 +174,8 @@ initMetadataForClass(BuiltTheme, 'BuiltTheme', VOID, Theme);
|
|
|
174
174
|
initMetadataForClass(ThemeBuilder, 'ThemeBuilder');
|
|
175
175
|
initMetadataForClass(Whitespace, 'Whitespace', VOID, Enum);
|
|
176
176
|
function render$default(t, width, $super) {
|
|
177
|
-
width = width === VOID ? t.c1().
|
|
178
|
-
return $super === VOID ? this.
|
|
177
|
+
width = width === VOID ? t.c1().a57_1 : width;
|
|
178
|
+
return $super === VOID ? this.p58(t, width) : $super.p58.call(this, t, width);
|
|
179
179
|
}
|
|
180
180
|
initMetadataForInterface(Widget, 'Widget');
|
|
181
181
|
initMetadataForClass(WidthRange, 'WidthRange');
|
|
@@ -198,10 +198,10 @@ function cellsFrom$default(cells, init, $super) {
|
|
|
198
198
|
init = tmp;
|
|
199
199
|
var tmp_0;
|
|
200
200
|
if ($super === VOID) {
|
|
201
|
-
this.
|
|
201
|
+
this.t5b(cells, init);
|
|
202
202
|
tmp_0 = Unit_instance;
|
|
203
203
|
} else {
|
|
204
|
-
tmp_0 = $super.
|
|
204
|
+
tmp_0 = $super.t5b.call(this, cells, init);
|
|
205
205
|
}
|
|
206
206
|
return tmp_0;
|
|
207
207
|
}
|
|
@@ -215,10 +215,10 @@ function cell$default(content, init, $super) {
|
|
|
215
215
|
init = tmp;
|
|
216
216
|
var tmp_0;
|
|
217
217
|
if ($super === VOID) {
|
|
218
|
-
this.
|
|
218
|
+
this.v5b(content, init);
|
|
219
219
|
tmp_0 = Unit_instance;
|
|
220
220
|
} else {
|
|
221
|
-
tmp_0 = $super.
|
|
221
|
+
tmp_0 = $super.v5b.call(this, content, init);
|
|
222
222
|
}
|
|
223
223
|
return tmp_0;
|
|
224
224
|
}
|
|
@@ -226,7 +226,7 @@ initMetadataForInterface(LinearLayoutBuilder, 'LinearLayoutBuilder');
|
|
|
226
226
|
initMetadataForCompanion(Companion_2);
|
|
227
227
|
initMetadataForClass(ColumnWidth, 'ColumnWidth');
|
|
228
228
|
function padding(all) {
|
|
229
|
-
this.
|
|
229
|
+
this.b5c(Padding_init_$Create$(all));
|
|
230
230
|
}
|
|
231
231
|
initMetadataForInterface(CellStyleBuilder, 'CellStyleBuilder');
|
|
232
232
|
initMetadataForClass(VerticalLayoutBuilderInstance, 'VerticalLayoutBuilderInstance', VerticalLayoutBuilderInstance, VOID, [LinearLayoutBuilder]);
|
|
@@ -276,30 +276,30 @@ initMetadataForClass(NodeTerminalCursor, 'NodeTerminalCursor', VOID, PrintTermin
|
|
|
276
276
|
//endregion
|
|
277
277
|
function AnsiCodes() {
|
|
278
278
|
AnsiCodes_instance = 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.
|
|
301
|
-
this.
|
|
302
|
-
this.
|
|
279
|
+
this.f53_1 = numberRangeToNumber(30, 37);
|
|
280
|
+
this.g53_1 = numberRangeToNumber(90, 97);
|
|
281
|
+
this.h53_1 = 38;
|
|
282
|
+
this.i53_1 = 39;
|
|
283
|
+
this.j53_1 = 10;
|
|
284
|
+
this.k53_1 = numberRangeToNumber(40, 47);
|
|
285
|
+
this.l53_1 = numberRangeToNumber(100, 107);
|
|
286
|
+
this.m53_1 = 48;
|
|
287
|
+
this.n53_1 = 49;
|
|
288
|
+
this.o53_1 = 5;
|
|
289
|
+
this.p53_1 = 2;
|
|
290
|
+
this.q53_1 = 58;
|
|
291
|
+
this.r53_1 = 0;
|
|
292
|
+
this.s53_1 = 1;
|
|
293
|
+
this.t53_1 = 22;
|
|
294
|
+
this.u53_1 = 2;
|
|
295
|
+
this.v53_1 = 3;
|
|
296
|
+
this.w53_1 = 23;
|
|
297
|
+
this.x53_1 = 4;
|
|
298
|
+
this.y53_1 = 24;
|
|
299
|
+
this.z53_1 = 7;
|
|
300
|
+
this.a54_1 = 27;
|
|
301
|
+
this.b54_1 = 9;
|
|
302
|
+
this.c54_1 = 29;
|
|
303
303
|
}
|
|
304
304
|
var AnsiCodes_instance;
|
|
305
305
|
function AnsiCodes_getInstance() {
|
|
@@ -321,7 +321,7 @@ function renderLinesAnsi(lines, level, hyperlinks) {
|
|
|
321
321
|
// Inline function 'kotlin.text.buildString' call
|
|
322
322
|
// Inline function 'kotlin.apply' call
|
|
323
323
|
var this_0 = StringBuilder_init_$Create$();
|
|
324
|
-
var iterator = lines.
|
|
324
|
+
var iterator = lines.d54_1.t();
|
|
325
325
|
var index = 0;
|
|
326
326
|
while (iterator.u()) {
|
|
327
327
|
var i = index;
|
|
@@ -334,10 +334,10 @@ function renderLinesAnsi(lines, level, hyperlinks) {
|
|
|
334
334
|
var _iterator__ex2g4s = line.t();
|
|
335
335
|
while (_iterator__ex2g4s.u()) {
|
|
336
336
|
var span = _iterator__ex2g4s.v();
|
|
337
|
-
var newStyle = downsample(span.
|
|
337
|
+
var newStyle = downsample(span.h54_1, level, hyperlinks);
|
|
338
338
|
this_0.q(makeTag(activeStyle, newStyle));
|
|
339
339
|
activeStyle = newStyle;
|
|
340
|
-
this_0.q(span.
|
|
340
|
+
this_0.q(span.g54_1);
|
|
341
341
|
}
|
|
342
342
|
this_0.q(makeTag(activeStyle, get_DEFAULT_STYLE()));
|
|
343
343
|
}
|
|
@@ -348,39 +348,39 @@ function makeTag(old, new_0) {
|
|
|
348
348
|
return '';
|
|
349
349
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
350
350
|
var codes = ArrayList_init_$Create$();
|
|
351
|
-
if (!equals(old.
|
|
351
|
+
if (!equals(old.j54(), new_0.j54())) {
|
|
352
352
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
353
|
-
var elements = toAnsi(new_0.
|
|
353
|
+
var elements = toAnsi(new_0.j54(), 38, 39, 0);
|
|
354
354
|
addAll(codes, elements);
|
|
355
355
|
}
|
|
356
|
-
if (!equals(old.
|
|
356
|
+
if (!equals(old.k54(), new_0.k54())) {
|
|
357
357
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
358
|
-
var elements_0 = toAnsi(new_0.
|
|
358
|
+
var elements_0 = toAnsi(new_0.k54(), 48, 49, 10);
|
|
359
359
|
addAll(codes, elements_0);
|
|
360
360
|
}
|
|
361
|
-
makeTag$style(codes, old.
|
|
362
|
-
makeTag$style(codes, old.
|
|
363
|
-
makeTag$style(codes, old.
|
|
364
|
-
makeTag$style(codes, old.
|
|
365
|
-
if (old.
|
|
361
|
+
makeTag$style(codes, old.l54(), new_0.l54(), 3, 23);
|
|
362
|
+
makeTag$style(codes, old.m54(), new_0.m54(), 4, 24);
|
|
363
|
+
makeTag$style(codes, old.n54(), new_0.n54(), 7, 27);
|
|
364
|
+
makeTag$style(codes, old.o54(), new_0.o54(), 9, 29);
|
|
365
|
+
if (old.p54() === true && !(new_0.p54() === true) || (old.q54() === true && !(new_0.q54() === true))) {
|
|
366
366
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
367
367
|
codes.x(22);
|
|
368
|
-
if (new_0.
|
|
368
|
+
if (new_0.p54() === true) {
|
|
369
369
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
370
370
|
codes.x(1);
|
|
371
371
|
}
|
|
372
|
-
if (new_0.
|
|
372
|
+
if (new_0.q54() === true) {
|
|
373
373
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
374
374
|
codes.x(2);
|
|
375
375
|
}
|
|
376
376
|
} else {
|
|
377
|
-
makeTag$style(codes, old.
|
|
378
|
-
makeTag$style(codes, old.
|
|
377
|
+
makeTag$style(codes, old.p54(), new_0.p54(), 1, 22);
|
|
378
|
+
makeTag$style(codes, old.q54(), new_0.q54(), 2, 22);
|
|
379
379
|
}
|
|
380
380
|
var csi = codes.r() ? '' : joinToString(codes, ';', '\x1B[', 'm');
|
|
381
381
|
var tmp;
|
|
382
|
-
if (!(old.
|
|
383
|
-
tmp = csi + makeHyperlinkTag(new_0.
|
|
382
|
+
if (!(old.r54() == new_0.r54()) && !(new_0.r54() === '__mordant_reset__')) {
|
|
383
|
+
tmp = csi + makeHyperlinkTag(new_0.r54(), new_0.s54());
|
|
384
384
|
} else {
|
|
385
385
|
tmp = csi;
|
|
386
386
|
}
|
|
@@ -397,7 +397,7 @@ function downsample(style, level, hyperlinks) {
|
|
|
397
397
|
tmp_0 = get_DEFAULT_STYLE();
|
|
398
398
|
break;
|
|
399
399
|
case 1:
|
|
400
|
-
var tmp29_safe_receiver = style.
|
|
400
|
+
var tmp29_safe_receiver = style.j54();
|
|
401
401
|
var tmp_1;
|
|
402
402
|
if (tmp29_safe_receiver == null) {
|
|
403
403
|
tmp_1 = null;
|
|
@@ -407,13 +407,13 @@ function downsample(style, level, hyperlinks) {
|
|
|
407
407
|
if (tmp29_safe_receiver instanceof Ansi16) {
|
|
408
408
|
tmp_2 = tmp29_safe_receiver;
|
|
409
409
|
} else {
|
|
410
|
-
tmp_2 = tmp29_safe_receiver.
|
|
410
|
+
tmp_2 = tmp29_safe_receiver.n4y().t51().q4z();
|
|
411
411
|
}
|
|
412
412
|
tmp_1 = tmp_2;
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
var tmp_3 = tmp_1;
|
|
416
|
-
var tmp30_safe_receiver = style.
|
|
416
|
+
var tmp30_safe_receiver = style.k54();
|
|
417
417
|
var tmp_4;
|
|
418
418
|
if (tmp30_safe_receiver == null) {
|
|
419
419
|
tmp_4 = null;
|
|
@@ -423,7 +423,7 @@ function downsample(style, level, hyperlinks) {
|
|
|
423
423
|
if (tmp30_safe_receiver instanceof Ansi16) {
|
|
424
424
|
tmp_5 = tmp30_safe_receiver;
|
|
425
425
|
} else {
|
|
426
|
-
tmp_5 = tmp30_safe_receiver.
|
|
426
|
+
tmp_5 = tmp30_safe_receiver.n4y().t51().q4z();
|
|
427
427
|
}
|
|
428
428
|
tmp_4 = tmp_5;
|
|
429
429
|
}
|
|
@@ -431,7 +431,7 @@ function downsample(style, level, hyperlinks) {
|
|
|
431
431
|
var tmp_6 = tmp_4;
|
|
432
432
|
// Inline function 'kotlin.takeIf' call
|
|
433
433
|
|
|
434
|
-
var this_0 = style.
|
|
434
|
+
var this_0 = style.r54();
|
|
435
435
|
var tmp_7;
|
|
436
436
|
if (hyperlinks) {
|
|
437
437
|
tmp_7 = this_0;
|
|
@@ -442,7 +442,7 @@ function downsample(style, level, hyperlinks) {
|
|
|
442
442
|
var tmp_8 = tmp_7;
|
|
443
443
|
// Inline function 'kotlin.takeIf' call
|
|
444
444
|
|
|
445
|
-
var this_1 = style.
|
|
445
|
+
var this_1 = style.s54();
|
|
446
446
|
var tmp_9;
|
|
447
447
|
if (hyperlinks) {
|
|
448
448
|
tmp_9 = this_1;
|
|
@@ -454,7 +454,7 @@ function downsample(style, level, hyperlinks) {
|
|
|
454
454
|
tmp_0 = copy(style, tmp_3, tmp_6, tmp_8, tmp$ret$6);
|
|
455
455
|
break;
|
|
456
456
|
case 2:
|
|
457
|
-
var tmp31_safe_receiver = style.
|
|
457
|
+
var tmp31_safe_receiver = style.j54();
|
|
458
458
|
var tmp_10;
|
|
459
459
|
if (tmp31_safe_receiver == null) {
|
|
460
460
|
tmp_10 = null;
|
|
@@ -470,13 +470,13 @@ function downsample(style, level, hyperlinks) {
|
|
|
470
470
|
if (tmp_12) {
|
|
471
471
|
tmp_11 = tmp31_safe_receiver;
|
|
472
472
|
} else {
|
|
473
|
-
tmp_11 = tmp31_safe_receiver.
|
|
473
|
+
tmp_11 = tmp31_safe_receiver.n4y().t51().s51();
|
|
474
474
|
}
|
|
475
475
|
tmp_10 = tmp_11;
|
|
476
476
|
}
|
|
477
477
|
|
|
478
478
|
var tmp_13 = tmp_10;
|
|
479
|
-
var tmp32_safe_receiver = style.
|
|
479
|
+
var tmp32_safe_receiver = style.k54();
|
|
480
480
|
var tmp_14;
|
|
481
481
|
if (tmp32_safe_receiver == null) {
|
|
482
482
|
tmp_14 = null;
|
|
@@ -492,7 +492,7 @@ function downsample(style, level, hyperlinks) {
|
|
|
492
492
|
if (tmp_16) {
|
|
493
493
|
tmp_15 = tmp32_safe_receiver;
|
|
494
494
|
} else {
|
|
495
|
-
tmp_15 = tmp32_safe_receiver.
|
|
495
|
+
tmp_15 = tmp32_safe_receiver.n4y().t51().s51();
|
|
496
496
|
}
|
|
497
497
|
tmp_14 = tmp_15;
|
|
498
498
|
}
|
|
@@ -500,7 +500,7 @@ function downsample(style, level, hyperlinks) {
|
|
|
500
500
|
var tmp_17 = tmp_14;
|
|
501
501
|
// Inline function 'kotlin.takeIf' call
|
|
502
502
|
|
|
503
|
-
var this_2 = style.
|
|
503
|
+
var this_2 = style.r54();
|
|
504
504
|
var tmp_18;
|
|
505
505
|
if (hyperlinks) {
|
|
506
506
|
tmp_18 = this_2;
|
|
@@ -511,7 +511,7 @@ function downsample(style, level, hyperlinks) {
|
|
|
511
511
|
var tmp_19 = tmp_18;
|
|
512
512
|
// Inline function 'kotlin.takeIf' call
|
|
513
513
|
|
|
514
|
-
var this_3 = style.
|
|
514
|
+
var this_3 = style.s54();
|
|
515
515
|
var tmp_20;
|
|
516
516
|
if (hyperlinks) {
|
|
517
517
|
tmp_20 = this_3;
|
|
@@ -523,7 +523,7 @@ function downsample(style, level, hyperlinks) {
|
|
|
523
523
|
tmp_0 = copy(style, tmp_13, tmp_17, tmp_19, tmp$ret$14);
|
|
524
524
|
break;
|
|
525
525
|
case 3:
|
|
526
|
-
tmp_0 = hyperlinks || style.
|
|
526
|
+
tmp_0 = hyperlinks || style.r54() == null ? style : copy(style, style.j54(), style.k54(), null, null);
|
|
527
527
|
break;
|
|
528
528
|
default:
|
|
529
529
|
noWhenBranchMatchedException();
|
|
@@ -535,29 +535,29 @@ function downsample(style, level, hyperlinks) {
|
|
|
535
535
|
}
|
|
536
536
|
function toAnsi(_this__u8e3s4, select, reset, offset) {
|
|
537
537
|
var tmp34_safe_receiver = (!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, TextStyle) : false) ? _this__u8e3s4 : null;
|
|
538
|
-
var tmp0_elvis_lhs = tmp34_safe_receiver == null ? null : tmp34_safe_receiver.
|
|
538
|
+
var tmp0_elvis_lhs = tmp34_safe_receiver == null ? null : tmp34_safe_receiver.j54();
|
|
539
539
|
var it = tmp0_elvis_lhs == null ? _this__u8e3s4 : tmp0_elvis_lhs;
|
|
540
540
|
var tmp;
|
|
541
541
|
if (it == null) {
|
|
542
542
|
tmp = listOf_0(reset);
|
|
543
543
|
} else {
|
|
544
544
|
if (it instanceof Ansi16) {
|
|
545
|
-
switch (it.
|
|
545
|
+
switch (it.l4z_1) {
|
|
546
546
|
case 39:
|
|
547
547
|
case 49:
|
|
548
548
|
tmp = listOf_0(reset);
|
|
549
549
|
break;
|
|
550
550
|
default:
|
|
551
|
-
tmp = listOf_0(it.
|
|
551
|
+
tmp = listOf_0(it.l4z_1 + offset | 0);
|
|
552
552
|
break;
|
|
553
553
|
}
|
|
554
554
|
} else {
|
|
555
555
|
if (it instanceof Ansi256) {
|
|
556
|
-
tmp = listOf([select, 5, it.
|
|
556
|
+
tmp = listOf([select, 5, it.p4z_1]);
|
|
557
557
|
} else {
|
|
558
558
|
// Inline function 'kotlin.run' call
|
|
559
|
-
var $this$run = it.
|
|
560
|
-
tmp = listOf([select, 2, $this$run.
|
|
559
|
+
var $this$run = it.n4y().t51();
|
|
560
|
+
tmp = listOf([select, 2, $this$run.h51(), $this$run.i51(), $this$run.j51()]);
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
}
|
|
@@ -586,8 +586,8 @@ function invokeStyle$lambda($text, $style, $this_invokeStyle, $openStyle) {
|
|
|
586
586
|
var new_0 = updateStyle($style._v, $this_invokeStyle, match.o1());
|
|
587
587
|
var tmp_0;
|
|
588
588
|
if (match.cd().q1_1 === 0) {
|
|
589
|
-
$openStyle._v = new_0.
|
|
590
|
-
$style._v = new_0.
|
|
589
|
+
$openStyle._v = new_0.t54($this_invokeStyle);
|
|
590
|
+
$style._v = new_0.t54($this_invokeStyle);
|
|
591
591
|
return '';
|
|
592
592
|
}
|
|
593
593
|
var tag = makeTag($style._v, new_0);
|
|
@@ -637,7 +637,7 @@ function _init_properties_Constants_kt__atb1ur() {
|
|
|
637
637
|
DEFAULT_STYLE = TextStyle_0(null, null, false, false, false, false, false, false, null);
|
|
638
638
|
EMPTY_LINES = new Lines(emptyList());
|
|
639
639
|
EMPTY_LINE = new Line(emptyList(), get_DEFAULT_STYLE());
|
|
640
|
-
SINGLE_SPACE = Companion_instance_0.
|
|
640
|
+
SINGLE_SPACE = Companion_instance_0.u54(1);
|
|
641
641
|
DEFAULT_PADDING = Padding_init_$Create$(0);
|
|
642
642
|
ANSI_RE = Regex_init_$Create$('\x1B\\][^\x1B]*\x1B\\\\|\x1B(?:[@-Z\\\\-_]|\\[[0-?]*[ -/]*[@-~])');
|
|
643
643
|
}
|
|
@@ -649,7 +649,7 @@ function get_nextHyperlinkId() {
|
|
|
649
649
|
var nextHyperlinkId;
|
|
650
650
|
function generateHyperlinkId() {
|
|
651
651
|
_init_properties_HyperlinkIds_kt__yuk2s2();
|
|
652
|
-
return get_nextHyperlinkId().
|
|
652
|
+
return get_nextHyperlinkId().v54().toString();
|
|
653
653
|
}
|
|
654
654
|
var properties_initialized_HyperlinkIds_kt_p1red0;
|
|
655
655
|
function _init_properties_HyperlinkIds_kt__yuk2s2() {
|
|
@@ -693,23 +693,23 @@ function updateStyle(existingStyle, defaultStyle, ansi) {
|
|
|
693
693
|
return existingStyle;
|
|
694
694
|
}
|
|
695
695
|
function Chunk(text, style) {
|
|
696
|
-
this.
|
|
697
|
-
this.
|
|
696
|
+
this.w54_1 = text;
|
|
697
|
+
this.x54_1 = style;
|
|
698
698
|
}
|
|
699
|
-
protoOf(Chunk).
|
|
699
|
+
protoOf(Chunk).y54 = function (text, style) {
|
|
700
700
|
return new Chunk(text, style);
|
|
701
701
|
};
|
|
702
|
-
protoOf(Chunk).
|
|
703
|
-
text = text === VOID ? this.
|
|
704
|
-
style = style === VOID ? this.
|
|
705
|
-
return $super === VOID ? this.
|
|
702
|
+
protoOf(Chunk).z54 = function (text, style, $super) {
|
|
703
|
+
text = text === VOID ? this.w54_1 : text;
|
|
704
|
+
style = style === VOID ? this.x54_1 : style;
|
|
705
|
+
return $super === VOID ? this.y54(text, style) : $super.y54.call(this, text, style);
|
|
706
706
|
};
|
|
707
707
|
protoOf(Chunk).toString = function () {
|
|
708
|
-
return 'Chunk(text=' + this.
|
|
708
|
+
return 'Chunk(text=' + this.w54_1 + ', style=' + toString(this.x54_1) + ')';
|
|
709
709
|
};
|
|
710
710
|
protoOf(Chunk).hashCode = function () {
|
|
711
|
-
var result = getStringHashCode(this.
|
|
712
|
-
result = imul(result, 31) + hashCode(this.
|
|
711
|
+
var result = getStringHashCode(this.w54_1);
|
|
712
|
+
result = imul(result, 31) + hashCode(this.x54_1) | 0;
|
|
713
713
|
return result;
|
|
714
714
|
};
|
|
715
715
|
protoOf(Chunk).equals = function (other) {
|
|
@@ -718,9 +718,9 @@ protoOf(Chunk).equals = function (other) {
|
|
|
718
718
|
if (!(other instanceof Chunk))
|
|
719
719
|
return false;
|
|
720
720
|
var tmp0_other_with_cast = other instanceof Chunk ? other : THROW_CCE();
|
|
721
|
-
if (!(this.
|
|
721
|
+
if (!(this.w54_1 === tmp0_other_with_cast.w54_1))
|
|
722
722
|
return false;
|
|
723
|
-
if (!equals(this.
|
|
723
|
+
if (!equals(this.x54_1, tmp0_other_with_cast.x54_1))
|
|
724
724
|
return false;
|
|
725
725
|
return true;
|
|
726
726
|
};
|
|
@@ -756,7 +756,7 @@ function splitWords(chunk) {
|
|
|
756
756
|
var i = 0;
|
|
757
757
|
var start = 0;
|
|
758
758
|
var chunkType = -1;
|
|
759
|
-
var t = chunk.
|
|
759
|
+
var t = chunk.w54_1;
|
|
760
760
|
while (i < t.length) {
|
|
761
761
|
var c = charCodeAt(t, i);
|
|
762
762
|
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;
|
|
@@ -764,7 +764,7 @@ function splitWords(chunk) {
|
|
|
764
764
|
chunkType = type;
|
|
765
765
|
} else if (type === 1 || !(chunkType === type)) {
|
|
766
766
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
767
|
-
var element = chunk.
|
|
767
|
+
var element = chunk.z54(substring(t, start, i));
|
|
768
768
|
chunks.x(element);
|
|
769
769
|
start = i;
|
|
770
770
|
chunkType = type;
|
|
@@ -773,7 +773,7 @@ function splitWords(chunk) {
|
|
|
773
773
|
}
|
|
774
774
|
if (!(start === i)) {
|
|
775
775
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
776
|
-
var element_0 = chunk.
|
|
776
|
+
var element_0 = chunk.z54(substring(t, start, i));
|
|
777
777
|
chunks.x(element_0);
|
|
778
778
|
}
|
|
779
779
|
return chunks;
|
|
@@ -786,14 +786,14 @@ function splitLines(words) {
|
|
|
786
786
|
var _iterator__ex2g4s = words.t();
|
|
787
787
|
while (_iterator__ex2g4s.u()) {
|
|
788
788
|
var word = _iterator__ex2g4s.v();
|
|
789
|
-
if (endsWith(word.
|
|
789
|
+
if (endsWith(word.w54_1, '\n')) {
|
|
790
790
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
791
|
-
var element = new Line(line, word.
|
|
791
|
+
var element = new Line(line, word.x54_1);
|
|
792
792
|
lines.x(element);
|
|
793
793
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
794
794
|
line = ArrayList_init_$Create$();
|
|
795
795
|
} else {
|
|
796
|
-
line.x(Companion_instance_0.
|
|
796
|
+
line.x(Companion_instance_0.a55(word.w54_1, word.x54_1));
|
|
797
797
|
}
|
|
798
798
|
}
|
|
799
799
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
@@ -807,10 +807,10 @@ function splitLines(words) {
|
|
|
807
807
|
null;
|
|
808
808
|
else {
|
|
809
809
|
// Inline function 'kotlin.let' call
|
|
810
|
-
if (endsWith(tmp36_safe_receiver.
|
|
810
|
+
if (endsWith(tmp36_safe_receiver.w54_1, '\n')) {
|
|
811
811
|
// Inline function 'kotlin.collections.listOf' call
|
|
812
812
|
var tmp$ret$8 = emptyList();
|
|
813
|
-
lines.x(new Line(tmp$ret$8, tmp36_safe_receiver.
|
|
813
|
+
lines.x(new Line(tmp$ret$8, tmp36_safe_receiver.x54_1));
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
816
|
return lines;
|
|
@@ -832,7 +832,7 @@ function updateStyleWithOsc(ansi, existingStyle, defaultStyle) {
|
|
|
832
832
|
var hyperlink = tmp;
|
|
833
833
|
var tmp_0;
|
|
834
834
|
if (hyperlink == null) {
|
|
835
|
-
tmp_0 = defaultStyle.
|
|
835
|
+
tmp_0 = defaultStyle.s54();
|
|
836
836
|
} else {
|
|
837
837
|
// Inline function 'kotlin.collections.find' call
|
|
838
838
|
var tmp$ret$3;
|
|
@@ -852,7 +852,7 @@ function updateStyleWithOsc(ansi, existingStyle, defaultStyle) {
|
|
|
852
852
|
tmp_0 = tmp37_safe_receiver == null ? null : drop(tmp37_safe_receiver, 3);
|
|
853
853
|
}
|
|
854
854
|
var id = tmp_0;
|
|
855
|
-
return copy(existingStyle, VOID, VOID, hyperlink == null ? defaultStyle.
|
|
855
|
+
return copy(existingStyle, VOID, VOID, hyperlink == null ? defaultStyle.r54() : hyperlink, id);
|
|
856
856
|
}
|
|
857
857
|
function updateStyleWithCsi(ansi, existingStyle, defaultStyle) {
|
|
858
858
|
if (!endsWith(ansi, 'm'))
|
|
@@ -883,68 +883,68 @@ function updateStyleWithCsi(ansi, existingStyle, defaultStyle) {
|
|
|
883
883
|
var codes = destination;
|
|
884
884
|
if (codes.r())
|
|
885
885
|
return defaultStyle;
|
|
886
|
-
var color = existingStyle.
|
|
887
|
-
var bgColor = existingStyle.
|
|
888
|
-
var bold = existingStyle.
|
|
889
|
-
var italic = existingStyle.
|
|
890
|
-
var underline = existingStyle.
|
|
891
|
-
var dim = existingStyle.
|
|
892
|
-
var inverse = existingStyle.
|
|
893
|
-
var strikethrough = existingStyle.
|
|
886
|
+
var color = existingStyle.j54();
|
|
887
|
+
var bgColor = existingStyle.k54();
|
|
888
|
+
var bold = existingStyle.p54();
|
|
889
|
+
var italic = existingStyle.l54();
|
|
890
|
+
var underline = existingStyle.m54();
|
|
891
|
+
var dim = existingStyle.q54();
|
|
892
|
+
var inverse = existingStyle.n54();
|
|
893
|
+
var strikethrough = existingStyle.o54();
|
|
894
894
|
var i = 0;
|
|
895
895
|
$l$loop_1: while (i <= get_lastIndex_0(codes)) {
|
|
896
896
|
var code = codes.b1(i);
|
|
897
897
|
if (code === 0) {
|
|
898
|
-
color = defaultStyle.
|
|
899
|
-
bgColor = defaultStyle.
|
|
900
|
-
var tmp0_elvis_lhs = defaultStyle.
|
|
898
|
+
color = defaultStyle.j54();
|
|
899
|
+
bgColor = defaultStyle.k54();
|
|
900
|
+
var tmp0_elvis_lhs = defaultStyle.p54();
|
|
901
901
|
bold = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
902
|
-
var tmp1_elvis_lhs = defaultStyle.
|
|
902
|
+
var tmp1_elvis_lhs = defaultStyle.l54();
|
|
903
903
|
italic = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
904
|
-
var tmp2_elvis_lhs = defaultStyle.
|
|
904
|
+
var tmp2_elvis_lhs = defaultStyle.m54();
|
|
905
905
|
underline = tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs;
|
|
906
|
-
var tmp3_elvis_lhs = defaultStyle.
|
|
906
|
+
var tmp3_elvis_lhs = defaultStyle.q54();
|
|
907
907
|
dim = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
908
|
-
var tmp4_elvis_lhs = defaultStyle.
|
|
908
|
+
var tmp4_elvis_lhs = defaultStyle.n54();
|
|
909
909
|
inverse = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
|
|
910
|
-
var tmp5_elvis_lhs = defaultStyle.
|
|
910
|
+
var tmp5_elvis_lhs = defaultStyle.o54();
|
|
911
911
|
strikethrough = tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs;
|
|
912
912
|
} else {
|
|
913
913
|
if (code === 22) {
|
|
914
|
-
var tmp6_elvis_lhs = defaultStyle.
|
|
914
|
+
var tmp6_elvis_lhs = defaultStyle.p54();
|
|
915
915
|
bold = tmp6_elvis_lhs == null ? false : tmp6_elvis_lhs;
|
|
916
|
-
var tmp7_elvis_lhs = defaultStyle.
|
|
916
|
+
var tmp7_elvis_lhs = defaultStyle.q54();
|
|
917
917
|
dim = tmp7_elvis_lhs == null ? false : tmp7_elvis_lhs;
|
|
918
918
|
} else {
|
|
919
919
|
if (code === 23) {
|
|
920
|
-
var tmp8_elvis_lhs = defaultStyle.
|
|
920
|
+
var tmp8_elvis_lhs = defaultStyle.l54();
|
|
921
921
|
italic = tmp8_elvis_lhs == null ? false : tmp8_elvis_lhs;
|
|
922
922
|
} else {
|
|
923
923
|
if (code === 24) {
|
|
924
|
-
var tmp9_elvis_lhs = defaultStyle.
|
|
924
|
+
var tmp9_elvis_lhs = defaultStyle.m54();
|
|
925
925
|
underline = tmp9_elvis_lhs == null ? false : tmp9_elvis_lhs;
|
|
926
926
|
} else {
|
|
927
927
|
if (code === 27) {
|
|
928
|
-
var tmp10_elvis_lhs = defaultStyle.
|
|
928
|
+
var tmp10_elvis_lhs = defaultStyle.n54();
|
|
929
929
|
inverse = tmp10_elvis_lhs == null ? false : tmp10_elvis_lhs;
|
|
930
930
|
} else {
|
|
931
931
|
if (code === 29) {
|
|
932
|
-
var tmp11_elvis_lhs = defaultStyle.
|
|
932
|
+
var tmp11_elvis_lhs = defaultStyle.o54();
|
|
933
933
|
strikethrough = tmp11_elvis_lhs == null ? false : tmp11_elvis_lhs;
|
|
934
934
|
} else {
|
|
935
935
|
if (code === 39)
|
|
936
|
-
color = defaultStyle.
|
|
936
|
+
color = defaultStyle.j54();
|
|
937
937
|
else {
|
|
938
938
|
if (code === 49)
|
|
939
|
-
bgColor = defaultStyle.
|
|
939
|
+
bgColor = defaultStyle.k54();
|
|
940
940
|
else {
|
|
941
941
|
var tmp_0;
|
|
942
|
-
var progression = AnsiCodes_getInstance().
|
|
942
|
+
var progression = AnsiCodes_getInstance().f53_1;
|
|
943
943
|
var containsLower = progression.q1_1;
|
|
944
944
|
if (code <= progression.r1_1 ? containsLower <= code : false) {
|
|
945
945
|
tmp_0 = true;
|
|
946
946
|
} else {
|
|
947
|
-
var progression_0 = AnsiCodes_getInstance().
|
|
947
|
+
var progression_0 = AnsiCodes_getInstance().g53_1;
|
|
948
948
|
var containsLower_0 = progression_0.q1_1;
|
|
949
949
|
tmp_0 = code <= progression_0.r1_1 ? containsLower_0 <= code : false;
|
|
950
950
|
}
|
|
@@ -952,12 +952,12 @@ function updateStyleWithCsi(ansi, existingStyle, defaultStyle) {
|
|
|
952
952
|
color = new Ansi16(code);
|
|
953
953
|
} else {
|
|
954
954
|
var tmp_1;
|
|
955
|
-
var progression_1 = AnsiCodes_getInstance().
|
|
955
|
+
var progression_1 = AnsiCodes_getInstance().k53_1;
|
|
956
956
|
var containsLower_1 = progression_1.q1_1;
|
|
957
957
|
if (code <= progression_1.r1_1 ? containsLower_1 <= code : false) {
|
|
958
958
|
tmp_1 = true;
|
|
959
959
|
} else {
|
|
960
|
-
var progression_2 = AnsiCodes_getInstance().
|
|
960
|
+
var progression_2 = AnsiCodes_getInstance().l53_1;
|
|
961
961
|
var containsLower_2 = progression_2.q1_1;
|
|
962
962
|
tmp_1 = code <= progression_2.r1_1 ? containsLower_2 <= code : false;
|
|
963
963
|
}
|
|
@@ -1034,7 +1034,7 @@ function updateStyleWithCsi(ansi, existingStyle, defaultStyle) {
|
|
|
1034
1034
|
}
|
|
1035
1035
|
i = i + 1 | 0;
|
|
1036
1036
|
}
|
|
1037
|
-
return new TxtStyle(color, bgColor, bold, italic, underline, dim, inverse, strikethrough, existingStyle.
|
|
1037
|
+
return new TxtStyle(color, bgColor, bold, italic, underline, dim, inverse, strikethrough, existingStyle.r54(), existingStyle.s54());
|
|
1038
1038
|
}
|
|
1039
1039
|
function getAnsiColor(i, codes) {
|
|
1040
1040
|
var tmp;
|
|
@@ -1086,7 +1086,7 @@ function getAnsiColor(i, codes) {
|
|
|
1086
1086
|
if (tmp_3) {
|
|
1087
1087
|
tmp_2 = to(null, 0);
|
|
1088
1088
|
} else {
|
|
1089
|
-
tmp_2 = to(Companion_getInstance().
|
|
1089
|
+
tmp_2 = to(Companion_getInstance().n4z(codes.b1(i + 1 | 0), codes.b1(i + 2 | 0), codes.b1(i + 3 | 0)), 4);
|
|
1090
1090
|
}
|
|
1091
1091
|
|
|
1092
1092
|
tmp = tmp_2;
|
|
@@ -1107,10 +1107,10 @@ function stringCellWidth(string) {
|
|
|
1107
1107
|
var width = cellWidth(codepoint);
|
|
1108
1108
|
if (!(zwjSeq == null)) {
|
|
1109
1109
|
sumSinceZwj = sumSinceZwj + width | 0;
|
|
1110
|
-
if (zwjSeq.
|
|
1110
|
+
if (zwjSeq.c55_1.i1(codepoint)) {
|
|
1111
1111
|
sumSinceZwj = 0;
|
|
1112
1112
|
}
|
|
1113
|
-
zwjSeq = zwjSeq.
|
|
1113
|
+
zwjSeq = zwjSeq.b55_1.t2(codepoint);
|
|
1114
1114
|
if (zwjSeq == null) {
|
|
1115
1115
|
sum = sum + (sumSinceZwj + 2 | 0) | 0;
|
|
1116
1116
|
sumSinceZwj = 0;
|
|
@@ -1119,7 +1119,7 @@ function stringCellWidth(string) {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
} else {
|
|
1121
1121
|
if (couldStartEmojiSeq(codepoint)) {
|
|
1122
|
-
zwjSeq = get_EMOJI_SEQUENCES().
|
|
1122
|
+
zwjSeq = get_EMOJI_SEQUENCES().b55_1.t2(codepoint);
|
|
1123
1123
|
}
|
|
1124
1124
|
if (zwjSeq == null) {
|
|
1125
1125
|
sum = sum + width | 0;
|
|
@@ -1137,17 +1137,17 @@ function cellWidth(codepoint) {
|
|
|
1137
1137
|
var min = 0;
|
|
1138
1138
|
var mid;
|
|
1139
1139
|
var max = get_lastIndex_1(table);
|
|
1140
|
-
if (codepoint < table[0].
|
|
1140
|
+
if (codepoint < table[0].d55_1 || codepoint > table[max].e55_1)
|
|
1141
1141
|
return 1;
|
|
1142
1142
|
while (max >= min) {
|
|
1143
1143
|
mid = (min + max | 0) / 2 | 0;
|
|
1144
1144
|
var entry = table[mid];
|
|
1145
|
-
if (codepoint > entry.
|
|
1145
|
+
if (codepoint > entry.e55_1)
|
|
1146
1146
|
min = mid + 1 | 0;
|
|
1147
|
-
else if (codepoint < entry.
|
|
1147
|
+
else if (codepoint < entry.d55_1)
|
|
1148
1148
|
max = mid - 1 | 0;
|
|
1149
1149
|
else
|
|
1150
|
-
return table[mid].
|
|
1150
|
+
return table[mid].f55_1;
|
|
1151
1151
|
}
|
|
1152
1152
|
return 1;
|
|
1153
1153
|
}
|
|
@@ -5027,9 +5027,9 @@ function get_CELL_WIDTH_TABLE() {
|
|
|
5027
5027
|
}
|
|
5028
5028
|
var CELL_WIDTH_TABLE;
|
|
5029
5029
|
function CellWidthTableEntry(low, high, width) {
|
|
5030
|
-
this.
|
|
5031
|
-
this.
|
|
5032
|
-
this.
|
|
5030
|
+
this.d55_1 = low;
|
|
5031
|
+
this.e55_1 = high;
|
|
5032
|
+
this.f55_1 = width;
|
|
5033
5033
|
}
|
|
5034
5034
|
var properties_initialized_cellwidthtable_kt_9uoib8;
|
|
5035
5035
|
function _init_properties_cellwidthtable_kt__xxkoba() {
|
|
@@ -5070,15 +5070,15 @@ function IntTrie(children, values) {
|
|
|
5070
5070
|
tmp = values;
|
|
5071
5071
|
}
|
|
5072
5072
|
values = tmp;
|
|
5073
|
-
this.
|
|
5074
|
-
this.
|
|
5073
|
+
this.b55_1 = children;
|
|
5074
|
+
this.c55_1 = values;
|
|
5075
5075
|
}
|
|
5076
5076
|
protoOf(IntTrie).toString = function () {
|
|
5077
|
-
return 'IntTrie(children=' + toString(this.
|
|
5077
|
+
return 'IntTrie(children=' + toString(this.b55_1) + ', values=' + toString(this.c55_1) + ')';
|
|
5078
5078
|
};
|
|
5079
5079
|
protoOf(IntTrie).hashCode = function () {
|
|
5080
|
-
var result = hashCode(this.
|
|
5081
|
-
result = imul(result, 31) + hashCode(this.
|
|
5080
|
+
var result = hashCode(this.b55_1);
|
|
5081
|
+
result = imul(result, 31) + hashCode(this.c55_1) | 0;
|
|
5082
5082
|
return result;
|
|
5083
5083
|
};
|
|
5084
5084
|
protoOf(IntTrie).equals = function (other) {
|
|
@@ -5087,9 +5087,9 @@ protoOf(IntTrie).equals = function (other) {
|
|
|
5087
5087
|
if (!(other instanceof IntTrie))
|
|
5088
5088
|
return false;
|
|
5089
5089
|
var tmp0_other_with_cast = other instanceof IntTrie ? other : THROW_CCE();
|
|
5090
|
-
if (!equals(this.
|
|
5090
|
+
if (!equals(this.b55_1, tmp0_other_with_cast.b55_1))
|
|
5091
5091
|
return false;
|
|
5092
|
-
if (!equals(this.
|
|
5092
|
+
if (!equals(this.c55_1, tmp0_other_with_cast.c55_1))
|
|
5093
5093
|
return false;
|
|
5094
5094
|
return true;
|
|
5095
5095
|
};
|
|
@@ -5117,7 +5117,7 @@ function buildSeqTrie() {
|
|
|
5117
5117
|
do {
|
|
5118
5118
|
var i = inductionVariable_1;
|
|
5119
5119
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
5120
|
-
var tmp0 = node.
|
|
5120
|
+
var tmp0 = node.b55_1;
|
|
5121
5121
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5122
5122
|
var key = seq[i];
|
|
5123
5123
|
var value = tmp0.t2(key);
|
|
@@ -5132,7 +5132,7 @@ function buildSeqTrie() {
|
|
|
5132
5132
|
node = tmp;
|
|
5133
5133
|
}
|
|
5134
5134
|
while (inductionVariable_1 < last_2);
|
|
5135
|
-
var tmp0_0 = node.
|
|
5135
|
+
var tmp0_0 = node.c55_1;
|
|
5136
5136
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5137
5137
|
var element = last_0(seq);
|
|
5138
5138
|
tmp0_0.x(element);
|
|
@@ -5153,13 +5153,13 @@ function _init_properties_emojiseqtable_kt__lgtuwt() {
|
|
|
5153
5153
|
}
|
|
5154
5154
|
function MultiplatformSystem() {
|
|
5155
5155
|
}
|
|
5156
|
-
protoOf(MultiplatformSystem).
|
|
5156
|
+
protoOf(MultiplatformSystem).g55 = function (key) {
|
|
5157
5157
|
return getEnv(key);
|
|
5158
5158
|
};
|
|
5159
|
-
protoOf(MultiplatformSystem).
|
|
5159
|
+
protoOf(MultiplatformSystem).h55 = function (status) {
|
|
5160
5160
|
exitProcessMpp(status);
|
|
5161
5161
|
};
|
|
5162
|
-
protoOf(MultiplatformSystem).
|
|
5162
|
+
protoOf(MultiplatformSystem).i55 = function (path) {
|
|
5163
5163
|
var tmp;
|
|
5164
5164
|
try {
|
|
5165
5165
|
tmp = readFileIfExists(path);
|
|
@@ -5231,25 +5231,25 @@ function VerticalAlign_TOP_getInstance() {
|
|
|
5231
5231
|
}
|
|
5232
5232
|
function Companion() {
|
|
5233
5233
|
Companion_instance = this;
|
|
5234
|
-
this.
|
|
5235
|
-
this.
|
|
5236
|
-
this.
|
|
5237
|
-
this.
|
|
5238
|
-
this.
|
|
5239
|
-
this.
|
|
5240
|
-
this.
|
|
5241
|
-
this.
|
|
5242
|
-
this.
|
|
5243
|
-
}
|
|
5244
|
-
protoOf(Companion).
|
|
5234
|
+
this.j55_1 = this.s55('\u250C\u252C\u2510\u251C\u253C\u2524\u2514\u2534\u2518\u2500\u2502\u2577\u2575\u2574\u2576');
|
|
5235
|
+
this.k55_1 = this.s55('\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 ');
|
|
5236
|
+
this.l55_1 = this.s55('\u256D\u252C\u256E\u251C\u253C\u2524\u2570\u2534\u256F\u2500\u2502\u2577\u2575\u2574\u2576');
|
|
5237
|
+
this.m55_1 = this.s55('\u250F\u2533\u2513\u2523\u254B\u252B\u2517\u253B\u251B\u2501\u2503\u257B\u2579\u2578\u257A');
|
|
5238
|
+
this.n55_1 = this.s55('\u2554\u2566\u2557\u2560\u256C\u2563\u255A\u2569\u255D\u2550\u2551 ');
|
|
5239
|
+
this.o55_1 = this.t55('\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');
|
|
5240
|
+
this.p55_1 = this.s55('+++++++++-| ');
|
|
5241
|
+
this.q55_1 = this.s55('+++++++++-| ', '+++++++++=| ', '+++++++++-| ', '+++++++++=| ');
|
|
5242
|
+
this.r55_1 = this.s55(' ');
|
|
5243
|
+
}
|
|
5244
|
+
protoOf(Companion).t55 = function (head, headBottom, body, bodyBottom, foot) {
|
|
5245
5245
|
return new BorderType(BorderTypeSection_init_$Create$(head), BorderTypeSection_init_$Create$(headBottom), BorderTypeSection_init_$Create$(body), BorderTypeSection_init_$Create$(bodyBottom), BorderTypeSection_init_$Create$(foot));
|
|
5246
5246
|
};
|
|
5247
|
-
protoOf(Companion).
|
|
5247
|
+
protoOf(Companion).s55 = function (head, headBottom, body, bodyBottom, foot, $super) {
|
|
5248
5248
|
headBottom = headBottom === VOID ? head : headBottom;
|
|
5249
5249
|
body = body === VOID ? head : body;
|
|
5250
5250
|
bodyBottom = bodyBottom === VOID ? body : bodyBottom;
|
|
5251
5251
|
foot = foot === VOID ? body : foot;
|
|
5252
|
-
return $super === VOID ? this.
|
|
5252
|
+
return $super === VOID ? this.t55(head, headBottom, body, bodyBottom, foot) : $super.t55.call(this, head, headBottom, body, bodyBottom, foot);
|
|
5253
5253
|
};
|
|
5254
5254
|
var Companion_instance;
|
|
5255
5255
|
function Companion_getInstance_0() {
|
|
@@ -5259,11 +5259,11 @@ function Companion_getInstance_0() {
|
|
|
5259
5259
|
}
|
|
5260
5260
|
function BorderType(head, headBottom, body, bodyBottom, foot) {
|
|
5261
5261
|
Companion_getInstance_0();
|
|
5262
|
-
this.
|
|
5263
|
-
this.
|
|
5264
|
-
this.
|
|
5265
|
-
this.
|
|
5266
|
-
this.
|
|
5262
|
+
this.u55_1 = head;
|
|
5263
|
+
this.v55_1 = headBottom;
|
|
5264
|
+
this.w55_1 = body;
|
|
5265
|
+
this.x55_1 = bodyBottom;
|
|
5266
|
+
this.y55_1 = foot;
|
|
5267
5267
|
}
|
|
5268
5268
|
function BorderTypeSection_init_$Init$(corners, $this) {
|
|
5269
5269
|
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)));
|
|
@@ -5273,44 +5273,44 @@ function BorderTypeSection_init_$Create$(corners) {
|
|
|
5273
5273
|
return BorderTypeSection_init_$Init$(corners, objectCreate(protoOf(BorderTypeSection)));
|
|
5274
5274
|
}
|
|
5275
5275
|
function BorderTypeSection(es, esw, sw, nes, nesw, nsw, ne, new_0, nw, ew, ns, s, n, w, e) {
|
|
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.
|
|
5289
|
-
this.
|
|
5290
|
-
this.
|
|
5276
|
+
this.z55_1 = es;
|
|
5277
|
+
this.a56_1 = esw;
|
|
5278
|
+
this.b56_1 = sw;
|
|
5279
|
+
this.c56_1 = nes;
|
|
5280
|
+
this.d56_1 = nesw;
|
|
5281
|
+
this.e56_1 = nsw;
|
|
5282
|
+
this.f56_1 = ne;
|
|
5283
|
+
this.g56_1 = new_0;
|
|
5284
|
+
this.h56_1 = nw;
|
|
5285
|
+
this.i56_1 = ew;
|
|
5286
|
+
this.j56_1 = ns;
|
|
5287
|
+
this.k56_1 = s;
|
|
5288
|
+
this.l56_1 = n;
|
|
5289
|
+
this.m56_1 = w;
|
|
5290
|
+
this.n56_1 = e;
|
|
5291
5291
|
var tmp = this;
|
|
5292
5292
|
// Inline function 'kotlin.arrayOf' call
|
|
5293
5293
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
5294
5294
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5295
|
-
tmp.
|
|
5295
|
+
tmp.o56_1 = [' ', this.m56_1, this.k56_1, this.b56_1, this.n56_1, this.i56_1, this.z55_1, this.a56_1, this.l56_1, this.h56_1, this.j56_1, this.e56_1, this.f56_1, this.g56_1, this.c56_1, this.d56_1];
|
|
5296
5296
|
}
|
|
5297
|
-
protoOf(BorderTypeSection).
|
|
5297
|
+
protoOf(BorderTypeSection).p56 = function (n, e, s, w, textStyle) {
|
|
5298
5298
|
var i = (n ? 8 : 0) | (e ? 4 : 0) | (s ? 2 : 0) | (w ? 1 : 0);
|
|
5299
|
-
return Companion_instance_0.
|
|
5299
|
+
return Companion_instance_0.a55(this.o56_1[i], textStyle);
|
|
5300
5300
|
};
|
|
5301
5301
|
function Lines(lines) {
|
|
5302
|
-
this.
|
|
5302
|
+
this.d54_1 = lines;
|
|
5303
5303
|
}
|
|
5304
|
-
protoOf(Lines).
|
|
5305
|
-
return this.
|
|
5304
|
+
protoOf(Lines).q56 = function () {
|
|
5305
|
+
return this.d54_1.c1();
|
|
5306
5306
|
};
|
|
5307
|
-
protoOf(Lines).
|
|
5307
|
+
protoOf(Lines).r56 = function (style) {
|
|
5308
5308
|
var tmp;
|
|
5309
5309
|
if (style == null || equals(style, get_DEFAULT_STYLE())) {
|
|
5310
5310
|
tmp = this;
|
|
5311
5311
|
} else {
|
|
5312
5312
|
// Inline function 'kotlin.collections.map' call
|
|
5313
|
-
var this_0 = this.
|
|
5313
|
+
var this_0 = this.d54_1;
|
|
5314
5314
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5315
5315
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
5316
5316
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -5322,10 +5322,10 @@ protoOf(Lines).e57 = function (style) {
|
|
|
5322
5322
|
var _iterator__ex2g4s_0 = item.t();
|
|
5323
5323
|
while (_iterator__ex2g4s_0.u()) {
|
|
5324
5324
|
var item_0 = _iterator__ex2g4s_0.v();
|
|
5325
|
-
var tmp$ret$5 = item_0.
|
|
5325
|
+
var tmp$ret$5 = item_0.s56(style);
|
|
5326
5326
|
destination_0.x(tmp$ret$5);
|
|
5327
5327
|
}
|
|
5328
|
-
var tmp$ret$2 = new Line(destination_0, item.
|
|
5328
|
+
var tmp$ret$2 = new Line(destination_0, item.f54_1.t54(style));
|
|
5329
5329
|
destination.x(tmp$ret$2);
|
|
5330
5330
|
}
|
|
5331
5331
|
tmp = new Lines(destination);
|
|
@@ -5334,7 +5334,7 @@ protoOf(Lines).e57 = function (style) {
|
|
|
5334
5334
|
};
|
|
5335
5335
|
function Line_init_$Init$(spans, $this) {
|
|
5336
5336
|
var tmp44_safe_receiver = lastOrNull(spans);
|
|
5337
|
-
var tmp0_elvis_lhs = tmp44_safe_receiver == null ? null : tmp44_safe_receiver.
|
|
5337
|
+
var tmp0_elvis_lhs = tmp44_safe_receiver == null ? null : tmp44_safe_receiver.h54_1;
|
|
5338
5338
|
Line.call($this, spans, tmp0_elvis_lhs == null ? get_DEFAULT_STYLE() : tmp0_elvis_lhs);
|
|
5339
5339
|
return $this;
|
|
5340
5340
|
}
|
|
@@ -5342,55 +5342,55 @@ function Line_init_$Create$(spans) {
|
|
|
5342
5342
|
return Line_init_$Init$(spans, objectCreate(protoOf(Line)));
|
|
5343
5343
|
}
|
|
5344
5344
|
function Line(spans, endStyle) {
|
|
5345
|
-
this.
|
|
5346
|
-
this.
|
|
5345
|
+
this.e54_1 = spans;
|
|
5346
|
+
this.f54_1 = endStyle;
|
|
5347
5347
|
}
|
|
5348
|
-
protoOf(Line).
|
|
5349
|
-
return this.
|
|
5348
|
+
protoOf(Line).t56 = function (element) {
|
|
5349
|
+
return this.e54_1.i1(element);
|
|
5350
5350
|
};
|
|
5351
5351
|
protoOf(Line).i1 = function (element) {
|
|
5352
5352
|
if (!(element instanceof Span))
|
|
5353
5353
|
return false;
|
|
5354
|
-
return this.
|
|
5354
|
+
return this.t56(element instanceof Span ? element : THROW_CCE());
|
|
5355
5355
|
};
|
|
5356
|
-
protoOf(Line).
|
|
5357
|
-
return this.
|
|
5356
|
+
protoOf(Line).u56 = function (elements) {
|
|
5357
|
+
return this.e54_1.p2(elements);
|
|
5358
5358
|
};
|
|
5359
5359
|
protoOf(Line).p2 = function (elements) {
|
|
5360
|
-
return this.
|
|
5360
|
+
return this.u56(elements);
|
|
5361
5361
|
};
|
|
5362
5362
|
protoOf(Line).b1 = function (index) {
|
|
5363
|
-
return this.
|
|
5363
|
+
return this.e54_1.b1(index);
|
|
5364
5364
|
};
|
|
5365
|
-
protoOf(Line).
|
|
5366
|
-
return this.
|
|
5365
|
+
protoOf(Line).v56 = function (element) {
|
|
5366
|
+
return this.e54_1.j1(element);
|
|
5367
5367
|
};
|
|
5368
5368
|
protoOf(Line).j1 = function (element) {
|
|
5369
5369
|
if (!(element instanceof Span))
|
|
5370
5370
|
return -1;
|
|
5371
|
-
return this.
|
|
5371
|
+
return this.v56(element instanceof Span ? element : THROW_CCE());
|
|
5372
5372
|
};
|
|
5373
5373
|
protoOf(Line).r = function () {
|
|
5374
|
-
return this.
|
|
5374
|
+
return this.e54_1.r();
|
|
5375
5375
|
};
|
|
5376
5376
|
protoOf(Line).t = function () {
|
|
5377
|
-
return this.
|
|
5377
|
+
return this.e54_1.t();
|
|
5378
5378
|
};
|
|
5379
5379
|
protoOf(Line).h1 = function (index) {
|
|
5380
|
-
return this.
|
|
5380
|
+
return this.e54_1.h1(index);
|
|
5381
5381
|
};
|
|
5382
5382
|
protoOf(Line).q2 = function (fromIndex, toIndex) {
|
|
5383
|
-
return this.
|
|
5383
|
+
return this.e54_1.q2(fromIndex, toIndex);
|
|
5384
5384
|
};
|
|
5385
5385
|
protoOf(Line).c1 = function () {
|
|
5386
|
-
return this.
|
|
5386
|
+
return this.e54_1.c1();
|
|
5387
5387
|
};
|
|
5388
5388
|
protoOf(Line).toString = function () {
|
|
5389
|
-
return 'Line(spans=' + toString(this.
|
|
5389
|
+
return 'Line(spans=' + toString(this.e54_1) + ', endStyle=' + toString(this.f54_1) + ')';
|
|
5390
5390
|
};
|
|
5391
5391
|
protoOf(Line).hashCode = function () {
|
|
5392
|
-
var result = hashCode(this.
|
|
5393
|
-
result = imul(result, 31) + hashCode(this.
|
|
5392
|
+
var result = hashCode(this.e54_1);
|
|
5393
|
+
result = imul(result, 31) + hashCode(this.f54_1) | 0;
|
|
5394
5394
|
return result;
|
|
5395
5395
|
};
|
|
5396
5396
|
protoOf(Line).equals = function (other) {
|
|
@@ -5399,25 +5399,25 @@ protoOf(Line).equals = function (other) {
|
|
|
5399
5399
|
if (!(other instanceof Line))
|
|
5400
5400
|
return false;
|
|
5401
5401
|
var tmp0_other_with_cast = other instanceof Line ? other : THROW_CCE();
|
|
5402
|
-
if (!equals(this.
|
|
5402
|
+
if (!equals(this.e54_1, tmp0_other_with_cast.e54_1))
|
|
5403
5403
|
return false;
|
|
5404
|
-
if (!equals(this.
|
|
5404
|
+
if (!equals(this.f54_1, tmp0_other_with_cast.f54_1))
|
|
5405
5405
|
return false;
|
|
5406
5406
|
return true;
|
|
5407
5407
|
};
|
|
5408
5408
|
function get_lineWidth(_this__u8e3s4) {
|
|
5409
5409
|
// Inline function 'kotlin.collections.sumOf' call
|
|
5410
5410
|
var sum = 0;
|
|
5411
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
5411
|
+
var _iterator__ex2g4s = _this__u8e3s4.e54_1.t();
|
|
5412
5412
|
while (_iterator__ex2g4s.u()) {
|
|
5413
5413
|
var element = _iterator__ex2g4s.v();
|
|
5414
5414
|
var tmp = sum;
|
|
5415
|
-
sum = tmp + element.
|
|
5415
|
+
sum = tmp + element.w56() | 0;
|
|
5416
5416
|
}
|
|
5417
5417
|
return sum;
|
|
5418
5418
|
}
|
|
5419
5419
|
function setSize(_this__u8e3s4, newWidth, newHeight, verticalAlign, textAlign, scrollRight, scrollDown) {
|
|
5420
|
-
newHeight = newHeight === VOID ? _this__u8e3s4.
|
|
5420
|
+
newHeight = newHeight === VOID ? _this__u8e3s4.d54_1.c1() : newHeight;
|
|
5421
5421
|
verticalAlign = verticalAlign === VOID ? VerticalAlign_TOP_getInstance() : verticalAlign;
|
|
5422
5422
|
textAlign = textAlign === VOID ? TextAlign_NONE_getInstance() : textAlign;
|
|
5423
5423
|
scrollRight = scrollRight === VOID ? 0 : scrollRight;
|
|
@@ -5440,19 +5440,19 @@ function setSize(_this__u8e3s4, newWidth, newHeight, verticalAlign, textAlign, s
|
|
|
5440
5440
|
while (inductionVariable < newHeight);
|
|
5441
5441
|
return new Lines(list);
|
|
5442
5442
|
}
|
|
5443
|
-
var emptyLine = Line_init_$Create$(listOf_0(Companion_instance_0.
|
|
5443
|
+
var emptyLine = Line_init_$Create$(listOf_0(Companion_instance_0.u54(newWidth)));
|
|
5444
5444
|
var tmp;
|
|
5445
5445
|
if (scrollDown === 0) {
|
|
5446
|
-
tmp = _this__u8e3s4.
|
|
5446
|
+
tmp = _this__u8e3s4.d54_1;
|
|
5447
5447
|
} else {
|
|
5448
|
-
var containsLower = -get_lastIndex_0(_this__u8e3s4.
|
|
5449
|
-
if (!(scrollDown <= get_lastIndex_0(_this__u8e3s4.
|
|
5448
|
+
var containsLower = -get_lastIndex_0(_this__u8e3s4.d54_1) | 0;
|
|
5449
|
+
if (!(scrollDown <= get_lastIndex_0(_this__u8e3s4.d54_1) ? containsLower <= scrollDown : false)) {
|
|
5450
5450
|
tmp = emptyList();
|
|
5451
5451
|
} else {
|
|
5452
5452
|
if (scrollDown < 0) {
|
|
5453
5453
|
// Inline function 'kotlin.collections.buildList' call
|
|
5454
5454
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
5455
|
-
var capacity = _this__u8e3s4.
|
|
5455
|
+
var capacity = _this__u8e3s4.d54_1.c1() - scrollDown | 0;
|
|
5456
5456
|
checkBuilderCapacity(capacity);
|
|
5457
5457
|
// Inline function 'kotlin.apply' call
|
|
5458
5458
|
var this_0 = ArrayList_init_$Create$_0(capacity);
|
|
@@ -5466,10 +5466,10 @@ function setSize(_this__u8e3s4, newWidth, newHeight, verticalAlign, textAlign, s
|
|
|
5466
5466
|
this_0.x(emptyLine);
|
|
5467
5467
|
}
|
|
5468
5468
|
while (inductionVariable_0 < times);
|
|
5469
|
-
this_0.g1(_this__u8e3s4.
|
|
5469
|
+
this_0.g1(_this__u8e3s4.d54_1);
|
|
5470
5470
|
tmp = this_0.r5();
|
|
5471
5471
|
} else {
|
|
5472
|
-
tmp = _this__u8e3s4.
|
|
5472
|
+
tmp = _this__u8e3s4.d54_1.q2(scrollDown, _this__u8e3s4.d54_1.c1());
|
|
5473
5473
|
}
|
|
5474
5474
|
}
|
|
5475
5475
|
}
|
|
@@ -5574,7 +5574,7 @@ function flatLine(parts) {
|
|
|
5574
5574
|
function resizeLine(line, scrollRight, newWidth, textAlign) {
|
|
5575
5575
|
var width = 0;
|
|
5576
5576
|
var offset = 0;
|
|
5577
|
-
var inputLine = scrollRight < 0 ? plus(listOf_0(Companion_instance_0.
|
|
5577
|
+
var inputLine = scrollRight < 0 ? plus(listOf_0(Companion_instance_0.x56(-scrollRight | 0, get_startStyle(line))), line.e54_1) : line.e54_1;
|
|
5578
5578
|
var startIndex = 0;
|
|
5579
5579
|
var endIndex = inputLine.c1();
|
|
5580
5580
|
var startSpan = null;
|
|
@@ -5585,24 +5585,24 @@ function resizeLine(line, scrollRight, newWidth, textAlign) {
|
|
|
5585
5585
|
var j = index;
|
|
5586
5586
|
index = index + 1 | 0;
|
|
5587
5587
|
var span = iterator.v();
|
|
5588
|
-
if (scrollRight > 0 && (offset + span.
|
|
5589
|
-
offset = offset + span.
|
|
5588
|
+
if (scrollRight > 0 && (offset + span.w56() | 0) < scrollRight) {
|
|
5589
|
+
offset = offset + span.w56() | 0;
|
|
5590
5590
|
startIndex = j + 1 | 0;
|
|
5591
5591
|
} else if (scrollRight > 0 && offset < scrollRight) {
|
|
5592
|
-
if ((offset + span.
|
|
5593
|
-
startSpan = span.
|
|
5592
|
+
if ((offset + span.w56() | 0) > scrollRight) {
|
|
5593
|
+
startSpan = span.z56(scrollRight - offset | 0).y56(newWidth - width | 0);
|
|
5594
5594
|
startIndex = j;
|
|
5595
|
-
width = width + startSpan.
|
|
5595
|
+
width = width + startSpan.w56() | 0;
|
|
5596
5596
|
}
|
|
5597
5597
|
offset = scrollRight;
|
|
5598
5598
|
startIndex = j + 1 | 0;
|
|
5599
|
-
} else if ((width + span.
|
|
5600
|
-
width = width + span.
|
|
5599
|
+
} else if ((width + span.w56() | 0) <= newWidth) {
|
|
5600
|
+
width = width + span.w56() | 0;
|
|
5601
5601
|
endIndex = j + 1 | 0;
|
|
5602
5602
|
} else {
|
|
5603
5603
|
endIndex = j;
|
|
5604
5604
|
if (width < newWidth) {
|
|
5605
|
-
endSpan = span.
|
|
5605
|
+
endSpan = span.y56(newWidth - width | 0);
|
|
5606
5606
|
width = newWidth;
|
|
5607
5607
|
}
|
|
5608
5608
|
break $l$loop;
|
|
@@ -5631,24 +5631,24 @@ function resizeLine(line, scrollRight, newWidth, textAlign) {
|
|
|
5631
5631
|
return outputLine;
|
|
5632
5632
|
}
|
|
5633
5633
|
var tmp50_safe_receiver = firstOrNull(outputLine);
|
|
5634
|
-
var tmp0_elvis_lhs = tmp50_safe_receiver == null ? null : tmp50_safe_receiver.
|
|
5635
|
-
var beginStyle = tmp0_elvis_lhs == null ? line.
|
|
5636
|
-
var endStyle = line.
|
|
5634
|
+
var tmp0_elvis_lhs = tmp50_safe_receiver == null ? null : tmp50_safe_receiver.h54_1;
|
|
5635
|
+
var beginStyle = tmp0_elvis_lhs == null ? line.f54_1 : tmp0_elvis_lhs;
|
|
5636
|
+
var endStyle = line.f54_1;
|
|
5637
5637
|
var tmp_0;
|
|
5638
5638
|
switch (textAlign.f3_1) {
|
|
5639
5639
|
case 0:
|
|
5640
|
-
tmp_0 = plus_0(outputLine, Companion_instance_0.
|
|
5640
|
+
tmp_0 = plus_0(outputLine, Companion_instance_0.x56(remainingWidth, endStyle));
|
|
5641
5641
|
break;
|
|
5642
5642
|
case 4:
|
|
5643
|
-
tmp_0 = plus_0(outputLine, Companion_instance_0.
|
|
5643
|
+
tmp_0 = plus_0(outputLine, Companion_instance_0.u54(remainingWidth));
|
|
5644
5644
|
break;
|
|
5645
5645
|
case 1:
|
|
5646
|
-
tmp_0 = plus(listOf_0(Companion_instance_0.
|
|
5646
|
+
tmp_0 = plus(listOf_0(Companion_instance_0.x56(remainingWidth, beginStyle)), outputLine);
|
|
5647
5647
|
break;
|
|
5648
5648
|
case 2:
|
|
5649
5649
|
case 3:
|
|
5650
|
-
var l = Companion_instance_0.
|
|
5651
|
-
var r = Companion_instance_0.
|
|
5650
|
+
var l = Companion_instance_0.x56(remainingWidth / 2 | 0, beginStyle);
|
|
5651
|
+
var r = Companion_instance_0.x56((remainingWidth / 2 | 0) + (remainingWidth % 2 | 0) | 0, endStyle);
|
|
5652
5652
|
// Inline function 'kotlin.collections.buildList' call
|
|
5653
5653
|
|
|
5654
5654
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -5671,7 +5671,7 @@ function resizeLine(line, scrollRight, newWidth, textAlign) {
|
|
|
5671
5671
|
}
|
|
5672
5672
|
function get_startStyle(_this__u8e3s4) {
|
|
5673
5673
|
var tmp45_safe_receiver = firstOrNull(_this__u8e3s4);
|
|
5674
|
-
var tmp0_elvis_lhs = tmp45_safe_receiver == null ? null : tmp45_safe_receiver.
|
|
5674
|
+
var tmp0_elvis_lhs = tmp45_safe_receiver == null ? null : tmp45_safe_receiver.h54_1;
|
|
5675
5675
|
return tmp0_elvis_lhs == null ? get_DEFAULT_STYLE() : tmp0_elvis_lhs;
|
|
5676
5676
|
}
|
|
5677
5677
|
var OverflowWrap_NORMAL_instance;
|
|
@@ -5700,15 +5700,15 @@ function OverflowWrap_ELLIPSES_getInstance() {
|
|
|
5700
5700
|
return OverflowWrap_ELLIPSES_instance;
|
|
5701
5701
|
}
|
|
5702
5702
|
function Size(width, height) {
|
|
5703
|
-
this.
|
|
5704
|
-
this.
|
|
5703
|
+
this.a57_1 = width;
|
|
5704
|
+
this.b57_1 = height;
|
|
5705
5705
|
}
|
|
5706
5706
|
protoOf(Size).toString = function () {
|
|
5707
|
-
return '' + this.
|
|
5707
|
+
return '' + this.a57_1 + '\xD7' + this.b57_1;
|
|
5708
5708
|
};
|
|
5709
5709
|
function Companion_0() {
|
|
5710
5710
|
}
|
|
5711
|
-
protoOf(Companion_0).
|
|
5711
|
+
protoOf(Companion_0).a55 = function (text, style) {
|
|
5712
5712
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
5713
5713
|
// Inline function 'kotlin.require' call
|
|
5714
5714
|
if (!(charSequenceLength(text) > 0)) {
|
|
@@ -5744,13 +5744,13 @@ protoOf(Companion_0).n55 = function (text, style) {
|
|
|
5744
5744
|
}
|
|
5745
5745
|
return new Span(text, style);
|
|
5746
5746
|
};
|
|
5747
|
-
protoOf(Companion_0).
|
|
5747
|
+
protoOf(Companion_0).x56 = function (width, style) {
|
|
5748
5748
|
return new Span(repeat(' ', width), style);
|
|
5749
5749
|
};
|
|
5750
|
-
protoOf(Companion_0).
|
|
5750
|
+
protoOf(Companion_0).u54 = function (width, style, $super) {
|
|
5751
5751
|
width = width === VOID ? 1 : width;
|
|
5752
5752
|
style = style === VOID ? get_DEFAULT_STYLE() : style;
|
|
5753
|
-
return $super === VOID ? this.
|
|
5753
|
+
return $super === VOID ? this.x56(width, style) : $super.x56.call(this, width, style);
|
|
5754
5754
|
};
|
|
5755
5755
|
var Companion_instance_0;
|
|
5756
5756
|
function Companion_getInstance_1() {
|
|
@@ -5758,46 +5758,46 @@ function Companion_getInstance_1() {
|
|
|
5758
5758
|
}
|
|
5759
5759
|
function Span$cellWidth$delegate$lambda(this$0) {
|
|
5760
5760
|
return function () {
|
|
5761
|
-
return stringCellWidth(this$0.
|
|
5761
|
+
return stringCellWidth(this$0.g54_1);
|
|
5762
5762
|
};
|
|
5763
5763
|
}
|
|
5764
5764
|
function Span$_get_cellWidth_$ref_bfbm2m() {
|
|
5765
5765
|
return function (p0) {
|
|
5766
|
-
return p0.
|
|
5766
|
+
return p0.w56();
|
|
5767
5767
|
};
|
|
5768
5768
|
}
|
|
5769
5769
|
function Span(text, style) {
|
|
5770
5770
|
style = style === VOID ? get_DEFAULT_STYLE() : style;
|
|
5771
|
-
this.
|
|
5772
|
-
this.
|
|
5771
|
+
this.g54_1 = text;
|
|
5772
|
+
this.h54_1 = style;
|
|
5773
5773
|
var tmp = this;
|
|
5774
5774
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
5775
|
-
tmp.
|
|
5775
|
+
tmp.i54_1 = lazy(tmp_0, Span$cellWidth$delegate$lambda(this));
|
|
5776
5776
|
}
|
|
5777
|
-
protoOf(Span).
|
|
5778
|
-
var tmp0 = this.
|
|
5777
|
+
protoOf(Span).w56 = function () {
|
|
5778
|
+
var tmp0 = this.i54_1;
|
|
5779
5779
|
var tmp = KProperty1;
|
|
5780
5780
|
// Inline function 'kotlin.getValue' call
|
|
5781
5781
|
getPropertyCallableRef('cellWidth', 1, tmp, Span$_get_cellWidth_$ref_bfbm2m(), null);
|
|
5782
5782
|
return tmp0.o1();
|
|
5783
5783
|
};
|
|
5784
|
-
protoOf(Span).
|
|
5785
|
-
return new Span(take(this.
|
|
5784
|
+
protoOf(Span).y56 = function (n) {
|
|
5785
|
+
return new Span(take(this.g54_1, n), this.h54_1);
|
|
5786
5786
|
};
|
|
5787
|
-
protoOf(Span).
|
|
5788
|
-
return new Span(drop(this.
|
|
5787
|
+
protoOf(Span).z56 = function (n) {
|
|
5788
|
+
return new Span(drop(this.g54_1, n), this.h54_1);
|
|
5789
5789
|
};
|
|
5790
|
-
protoOf(Span).
|
|
5791
|
-
return isWhitespace(charCodeAt(this.
|
|
5790
|
+
protoOf(Span).c57 = function () {
|
|
5791
|
+
return isWhitespace(charCodeAt(this.g54_1, 0));
|
|
5792
5792
|
};
|
|
5793
|
-
protoOf(Span).
|
|
5794
|
-
return charCodeAt(this.
|
|
5793
|
+
protoOf(Span).d57 = function () {
|
|
5794
|
+
return charCodeAt(this.g54_1, 0) === _Char___init__impl__6a9atx(9);
|
|
5795
5795
|
};
|
|
5796
|
-
protoOf(Span).
|
|
5797
|
-
return new Span(this.
|
|
5796
|
+
protoOf(Span).s56 = function (style) {
|
|
5797
|
+
return new Span(this.g54_1, this.h54_1.t54(style));
|
|
5798
5798
|
};
|
|
5799
5799
|
protoOf(Span).toString = function () {
|
|
5800
|
-
return "<Span '" + this.
|
|
5800
|
+
return "<Span '" + this.g54_1 + "', " + toString(this.h54_1) + '>';
|
|
5801
5801
|
};
|
|
5802
5802
|
var AnsiLevel_NONE_instance;
|
|
5803
5803
|
var AnsiLevel_ANSI16_instance;
|
|
@@ -5854,61 +5854,61 @@ function TextStyle_0(color, bgColor, bold, italic, underline, dim, inverse, stri
|
|
|
5854
5854
|
return new TxtStyle(color, bgColor, bold, italic, underline, dim, inverse, strikethrough, hyperlink, tmp);
|
|
5855
5855
|
}
|
|
5856
5856
|
function TxtStyle(color, bgColor, bold, italic, underline, dim, inverse, strikethrough, hyperlink, hyperlinkId) {
|
|
5857
|
-
this.
|
|
5858
|
-
this.
|
|
5859
|
-
this.
|
|
5860
|
-
this.
|
|
5861
|
-
this.
|
|
5862
|
-
this.
|
|
5863
|
-
this.
|
|
5864
|
-
this.
|
|
5865
|
-
this.
|
|
5866
|
-
this.
|
|
5857
|
+
this.e57_1 = color;
|
|
5858
|
+
this.f57_1 = bgColor;
|
|
5859
|
+
this.g57_1 = bold;
|
|
5860
|
+
this.h57_1 = italic;
|
|
5861
|
+
this.i57_1 = underline;
|
|
5862
|
+
this.j57_1 = dim;
|
|
5863
|
+
this.k57_1 = inverse;
|
|
5864
|
+
this.l57_1 = strikethrough;
|
|
5865
|
+
this.m57_1 = hyperlink;
|
|
5866
|
+
this.n57_1 = hyperlinkId;
|
|
5867
5867
|
}
|
|
5868
|
-
protoOf(TxtStyle).
|
|
5869
|
-
return this.
|
|
5868
|
+
protoOf(TxtStyle).j54 = function () {
|
|
5869
|
+
return this.e57_1;
|
|
5870
5870
|
};
|
|
5871
|
-
protoOf(TxtStyle).
|
|
5872
|
-
return this.
|
|
5871
|
+
protoOf(TxtStyle).k54 = function () {
|
|
5872
|
+
return this.f57_1;
|
|
5873
5873
|
};
|
|
5874
|
-
protoOf(TxtStyle).
|
|
5875
|
-
return this.
|
|
5874
|
+
protoOf(TxtStyle).p54 = function () {
|
|
5875
|
+
return this.g57_1;
|
|
5876
5876
|
};
|
|
5877
|
-
protoOf(TxtStyle).
|
|
5878
|
-
return this.
|
|
5877
|
+
protoOf(TxtStyle).l54 = function () {
|
|
5878
|
+
return this.h57_1;
|
|
5879
5879
|
};
|
|
5880
|
-
protoOf(TxtStyle).
|
|
5881
|
-
return this.
|
|
5880
|
+
protoOf(TxtStyle).m54 = function () {
|
|
5881
|
+
return this.i57_1;
|
|
5882
5882
|
};
|
|
5883
|
-
protoOf(TxtStyle).
|
|
5884
|
-
return this.
|
|
5883
|
+
protoOf(TxtStyle).q54 = function () {
|
|
5884
|
+
return this.j57_1;
|
|
5885
5885
|
};
|
|
5886
|
-
protoOf(TxtStyle).
|
|
5887
|
-
return this.
|
|
5886
|
+
protoOf(TxtStyle).n54 = function () {
|
|
5887
|
+
return this.k57_1;
|
|
5888
5888
|
};
|
|
5889
|
-
protoOf(TxtStyle).
|
|
5890
|
-
return this.
|
|
5889
|
+
protoOf(TxtStyle).o54 = function () {
|
|
5890
|
+
return this.l57_1;
|
|
5891
5891
|
};
|
|
5892
|
-
protoOf(TxtStyle).
|
|
5893
|
-
return this.
|
|
5892
|
+
protoOf(TxtStyle).r54 = function () {
|
|
5893
|
+
return this.m57_1;
|
|
5894
5894
|
};
|
|
5895
|
-
protoOf(TxtStyle).
|
|
5896
|
-
return this.
|
|
5895
|
+
protoOf(TxtStyle).s54 = function () {
|
|
5896
|
+
return this.n57_1;
|
|
5897
5897
|
};
|
|
5898
5898
|
protoOf(TxtStyle).toString = function () {
|
|
5899
|
-
return 'TxtStyle(color=' + toString_1(this.
|
|
5899
|
+
return 'TxtStyle(color=' + toString_1(this.e57_1) + ', bgColor=' + toString_1(this.f57_1) + ', bold=' + this.g57_1 + ', italic=' + this.h57_1 + ', underline=' + this.i57_1 + ', dim=' + this.j57_1 + ', inverse=' + this.k57_1 + ', strikethrough=' + this.l57_1 + ', hyperlink=' + this.m57_1 + ', hyperlinkId=' + this.n57_1 + ')';
|
|
5900
5900
|
};
|
|
5901
5901
|
protoOf(TxtStyle).hashCode = function () {
|
|
5902
|
-
var result = this.
|
|
5903
|
-
result = imul(result, 31) + (this.
|
|
5904
|
-
result = imul(result, 31) + (this.
|
|
5905
|
-
result = imul(result, 31) + (this.
|
|
5906
|
-
result = imul(result, 31) + (this.
|
|
5907
|
-
result = imul(result, 31) + (this.
|
|
5908
|
-
result = imul(result, 31) + (this.
|
|
5909
|
-
result = imul(result, 31) + (this.
|
|
5910
|
-
result = imul(result, 31) + (this.
|
|
5911
|
-
result = imul(result, 31) + (this.
|
|
5902
|
+
var result = this.e57_1 == null ? 0 : hashCode(this.e57_1);
|
|
5903
|
+
result = imul(result, 31) + (this.f57_1 == null ? 0 : hashCode(this.f57_1)) | 0;
|
|
5904
|
+
result = imul(result, 31) + (this.g57_1 == null ? 0 : getBooleanHashCode(this.g57_1)) | 0;
|
|
5905
|
+
result = imul(result, 31) + (this.h57_1 == null ? 0 : getBooleanHashCode(this.h57_1)) | 0;
|
|
5906
|
+
result = imul(result, 31) + (this.i57_1 == null ? 0 : getBooleanHashCode(this.i57_1)) | 0;
|
|
5907
|
+
result = imul(result, 31) + (this.j57_1 == null ? 0 : getBooleanHashCode(this.j57_1)) | 0;
|
|
5908
|
+
result = imul(result, 31) + (this.k57_1 == null ? 0 : getBooleanHashCode(this.k57_1)) | 0;
|
|
5909
|
+
result = imul(result, 31) + (this.l57_1 == null ? 0 : getBooleanHashCode(this.l57_1)) | 0;
|
|
5910
|
+
result = imul(result, 31) + (this.m57_1 == null ? 0 : getStringHashCode(this.m57_1)) | 0;
|
|
5911
|
+
result = imul(result, 31) + (this.n57_1 == null ? 0 : getStringHashCode(this.n57_1)) | 0;
|
|
5912
5912
|
return result;
|
|
5913
5913
|
};
|
|
5914
5914
|
protoOf(TxtStyle).equals = function (other) {
|
|
@@ -5917,34 +5917,34 @@ protoOf(TxtStyle).equals = function (other) {
|
|
|
5917
5917
|
if (!(other instanceof TxtStyle))
|
|
5918
5918
|
return false;
|
|
5919
5919
|
var tmp0_other_with_cast = other instanceof TxtStyle ? other : THROW_CCE();
|
|
5920
|
-
if (!equals(this.
|
|
5920
|
+
if (!equals(this.e57_1, tmp0_other_with_cast.e57_1))
|
|
5921
5921
|
return false;
|
|
5922
|
-
if (!equals(this.
|
|
5922
|
+
if (!equals(this.f57_1, tmp0_other_with_cast.f57_1))
|
|
5923
5923
|
return false;
|
|
5924
|
-
if (!(this.
|
|
5924
|
+
if (!(this.g57_1 == tmp0_other_with_cast.g57_1))
|
|
5925
5925
|
return false;
|
|
5926
|
-
if (!(this.
|
|
5926
|
+
if (!(this.h57_1 == tmp0_other_with_cast.h57_1))
|
|
5927
5927
|
return false;
|
|
5928
|
-
if (!(this.
|
|
5928
|
+
if (!(this.i57_1 == tmp0_other_with_cast.i57_1))
|
|
5929
5929
|
return false;
|
|
5930
|
-
if (!(this.
|
|
5930
|
+
if (!(this.j57_1 == tmp0_other_with_cast.j57_1))
|
|
5931
5931
|
return false;
|
|
5932
|
-
if (!(this.
|
|
5932
|
+
if (!(this.k57_1 == tmp0_other_with_cast.k57_1))
|
|
5933
5933
|
return false;
|
|
5934
|
-
if (!(this.
|
|
5934
|
+
if (!(this.l57_1 == tmp0_other_with_cast.l57_1))
|
|
5935
5935
|
return false;
|
|
5936
|
-
if (!(this.
|
|
5936
|
+
if (!(this.m57_1 == tmp0_other_with_cast.m57_1))
|
|
5937
5937
|
return false;
|
|
5938
|
-
if (!(this.
|
|
5938
|
+
if (!(this.n57_1 == tmp0_other_with_cast.n57_1))
|
|
5939
5939
|
return false;
|
|
5940
5940
|
return true;
|
|
5941
5941
|
};
|
|
5942
5942
|
function copy(_this__u8e3s4, fg, bg, hyperlink, hyperlinkId) {
|
|
5943
|
-
fg = fg === VOID ? _this__u8e3s4.
|
|
5944
|
-
bg = bg === VOID ? _this__u8e3s4.
|
|
5945
|
-
hyperlink = hyperlink === VOID ? _this__u8e3s4.
|
|
5946
|
-
hyperlinkId = hyperlinkId === VOID ? _this__u8e3s4.
|
|
5947
|
-
return new TxtStyle(fg, bg, _this__u8e3s4.
|
|
5943
|
+
fg = fg === VOID ? _this__u8e3s4.j54() : fg;
|
|
5944
|
+
bg = bg === VOID ? _this__u8e3s4.k54() : bg;
|
|
5945
|
+
hyperlink = hyperlink === VOID ? _this__u8e3s4.r54() : hyperlink;
|
|
5946
|
+
hyperlinkId = hyperlinkId === VOID ? _this__u8e3s4.s54() : hyperlinkId;
|
|
5947
|
+
return new TxtStyle(fg, bg, _this__u8e3s4.p54(), _this__u8e3s4.l54(), _this__u8e3s4.m54(), _this__u8e3s4.q54(), _this__u8e3s4.n54(), _this__u8e3s4.o54(), hyperlink, hyperlinkId);
|
|
5948
5948
|
}
|
|
5949
5949
|
function foldStyles(styles) {
|
|
5950
5950
|
var style = null;
|
|
@@ -5955,71 +5955,71 @@ function foldStyles(styles) {
|
|
|
5955
5955
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5956
5956
|
if (s == null)
|
|
5957
5957
|
continue $l$loop;
|
|
5958
|
-
style = style == null ? s : s.
|
|
5958
|
+
style = style == null ? s : s.t54(style);
|
|
5959
5959
|
}
|
|
5960
5960
|
return style;
|
|
5961
5961
|
}
|
|
5962
5962
|
function Theme$Companion$Plain$lambda($this$Theme) {
|
|
5963
|
-
var tmp0 = $this$Theme.
|
|
5963
|
+
var tmp0 = $this$Theme.q57_1;
|
|
5964
5964
|
// Inline function 'kotlin.collections.set' call
|
|
5965
5965
|
var key = 'progressbar.pulse';
|
|
5966
5966
|
tmp0.w2(key, false);
|
|
5967
5967
|
return Unit_instance;
|
|
5968
5968
|
}
|
|
5969
5969
|
function Theme$Companion$PlainAscii$lambda($this$Theme) {
|
|
5970
|
-
var tmp0 = $this$Theme.
|
|
5970
|
+
var tmp0 = $this$Theme.p57_1;
|
|
5971
5971
|
// Inline function 'kotlin.collections.set' call
|
|
5972
5972
|
var key = 'list.number.separator';
|
|
5973
5973
|
tmp0.w2(key, '.');
|
|
5974
|
-
var tmp0_0 = $this$Theme.
|
|
5974
|
+
var tmp0_0 = $this$Theme.p57_1;
|
|
5975
5975
|
// Inline function 'kotlin.collections.set' call
|
|
5976
5976
|
var key_0 = 'list.bullet.text';
|
|
5977
5977
|
tmp0_0.w2(key_0, '*');
|
|
5978
|
-
var tmp0_1 = $this$Theme.
|
|
5978
|
+
var tmp0_1 = $this$Theme.p57_1;
|
|
5979
5979
|
// Inline function 'kotlin.collections.set' call
|
|
5980
5980
|
var key_1 = 'progressbar.pending';
|
|
5981
5981
|
tmp0_1.w2(key_1, ' ');
|
|
5982
|
-
var tmp0_2 = $this$Theme.
|
|
5982
|
+
var tmp0_2 = $this$Theme.p57_1;
|
|
5983
5983
|
// Inline function 'kotlin.collections.set' call
|
|
5984
5984
|
var key_2 = 'progressbar.complete';
|
|
5985
5985
|
tmp0_2.w2(key_2, '#');
|
|
5986
|
-
var tmp0_3 = $this$Theme.
|
|
5986
|
+
var tmp0_3 = $this$Theme.p57_1;
|
|
5987
5987
|
// Inline function 'kotlin.collections.set' call
|
|
5988
5988
|
var key_3 = 'progressbar.separator';
|
|
5989
5989
|
tmp0_3.w2(key_3, '>');
|
|
5990
|
-
var tmp0_4 = $this$Theme.
|
|
5990
|
+
var tmp0_4 = $this$Theme.p57_1;
|
|
5991
5991
|
// Inline function 'kotlin.collections.set' call
|
|
5992
5992
|
var key_4 = 'markdown.task.checked';
|
|
5993
5993
|
tmp0_4.w2(key_4, '[x]');
|
|
5994
|
-
var tmp0_5 = $this$Theme.
|
|
5994
|
+
var tmp0_5 = $this$Theme.p57_1;
|
|
5995
5995
|
// Inline function 'kotlin.collections.set' call
|
|
5996
5996
|
var key_5 = 'markdown.task.unchecked';
|
|
5997
5997
|
tmp0_5.w2(key_5, '[ ]');
|
|
5998
|
-
var tmp0_6 = $this$Theme.
|
|
5998
|
+
var tmp0_6 = $this$Theme.p57_1;
|
|
5999
5999
|
// Inline function 'kotlin.collections.set' call
|
|
6000
6000
|
var key_6 = 'markdown.h1.rule';
|
|
6001
6001
|
tmp0_6.w2(key_6, '=');
|
|
6002
|
-
var tmp0_7 = $this$Theme.
|
|
6002
|
+
var tmp0_7 = $this$Theme.p57_1;
|
|
6003
6003
|
// Inline function 'kotlin.collections.set' call
|
|
6004
6004
|
var key_7 = 'markdown.h2.rule';
|
|
6005
6005
|
tmp0_7.w2(key_7, '-');
|
|
6006
|
-
var tmp0_8 = $this$Theme.
|
|
6006
|
+
var tmp0_8 = $this$Theme.p57_1;
|
|
6007
6007
|
// Inline function 'kotlin.collections.set' call
|
|
6008
6008
|
var key_8 = 'markdown.blockquote.bar';
|
|
6009
6009
|
tmp0_8.w2(key_8, '|');
|
|
6010
|
-
var tmp0_9 = $this$Theme.
|
|
6010
|
+
var tmp0_9 = $this$Theme.p57_1;
|
|
6011
6011
|
// Inline function 'kotlin.collections.set' call
|
|
6012
6012
|
var key_9 = 'select.cursor';
|
|
6013
6013
|
tmp0_9.w2(key_9, '>');
|
|
6014
|
-
var tmp0_10 = $this$Theme.
|
|
6014
|
+
var tmp0_10 = $this$Theme.p57_1;
|
|
6015
6015
|
// Inline function 'kotlin.collections.set' call
|
|
6016
6016
|
var key_10 = 'select.selected';
|
|
6017
6017
|
tmp0_10.w2(key_10, 'x');
|
|
6018
|
-
var tmp0_11 = $this$Theme.
|
|
6018
|
+
var tmp0_11 = $this$Theme.p57_1;
|
|
6019
6019
|
// Inline function 'kotlin.collections.set' call
|
|
6020
6020
|
var key_11 = 'select.unselected';
|
|
6021
6021
|
tmp0_11.w2(key_11, ' ');
|
|
6022
|
-
var tmp0_12 = $this$Theme.
|
|
6022
|
+
var tmp0_12 = $this$Theme.q57_1;
|
|
6023
6023
|
// Inline function 'kotlin.collections.set' call
|
|
6024
6024
|
var key_12 = 'markdown.table.ascii';
|
|
6025
6025
|
tmp0_12.w2(key_12, true);
|
|
@@ -6027,18 +6027,18 @@ function Theme$Companion$PlainAscii$lambda($this$Theme) {
|
|
|
6027
6027
|
}
|
|
6028
6028
|
function Companion_1() {
|
|
6029
6029
|
Companion_instance_1 = this;
|
|
6030
|
-
this.
|
|
6031
|
-
this.
|
|
6032
|
-
this.
|
|
6033
|
-
this.
|
|
6034
|
-
this.
|
|
6035
|
-
this.
|
|
6036
|
-
this.
|
|
6030
|
+
this.s57_1 = Companion_getInstance().h4y('#c678dd');
|
|
6031
|
+
this.t57_1 = Companion_getInstance().h4y('#61afef');
|
|
6032
|
+
this.u57_1 = Companion_getInstance().h4y('#5c6370');
|
|
6033
|
+
this.v57_1 = Companion_getInstance().h4y('#e06c75');
|
|
6034
|
+
this.w57_1 = Companion_getInstance().h4y('#e5c07b');
|
|
6035
|
+
this.x57_1 = Companion_getInstance().h4y('#98c379');
|
|
6036
|
+
this.y57_1 = new BuiltTheme(mapOf([to('success', TextStyle_0(this.x57_1)), to('danger', TextStyle_0(this.v57_1)), to('warning', TextStyle_0(this.w57_1)), to('info', TextStyle_0(this.t57_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.t57_1, VOID, true)), to('prompt.choices', TextStyle_0(this.t57_1, VOID, true)), to('prompt.choices.invalid', TextStyle_0(this.v57_1)), to('progressbar.pending', TextStyle_0(this.u57_1)), to('progressbar.complete', TextStyle_0(this.t57_1)), to('progressbar.indeterminate', TextStyle_0(this.t57_1)), to('progressbar.separator', get_DEFAULT_STYLE()), to('progressbar.finished', TextStyle_0(this.x57_1)), to('markdown.blockquote', TextStyle_0(this.w57_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.t57_1)), to('markdown.code.span', TextStyle_0(this.t57_1, this.u57_1)), to('markdown.table.header', TextStyle_0(VOID, VOID, true)), to('markdown.table.body', get_DEFAULT_STYLE()), to('markdown.link.text', TextStyle_0(this.t57_1)), to('markdown.link.destination', TextStyle_0(this.t57_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.s57_1, VOID, true)), to('markdown.h2', TextStyle_0(this.s57_1, VOID, true)), to('markdown.h3', TextStyle_0(this.s57_1, VOID, true, VOID, true)), to('markdown.h4', TextStyle_0(this.s57_1, VOID, VOID, VOID, true)), to('markdown.h5', TextStyle_0(this.s57_1, VOID, VOID, true)), to('markdown.h6', TextStyle_0(this.s57_1, VOID, VOID, VOID, VOID, true)), to('select.title', TextStyle_0(this.s57_1, VOID, true)), to('select.cursor', TextStyle_0(this.t57_1)), to('select.selected', TextStyle_0(this.x57_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)]));
|
|
6037
6037
|
var tmp = this;
|
|
6038
|
-
var tmp_0 = new BuiltTheme(emptyMap(), this.
|
|
6039
|
-
tmp.
|
|
6038
|
+
var tmp_0 = new BuiltTheme(emptyMap(), this.y57_1.c58_1, this.y57_1.d58_1, this.y57_1.e58_1);
|
|
6039
|
+
tmp.z57_1 = Theme_0(tmp_0, Theme$Companion$Plain$lambda);
|
|
6040
6040
|
var tmp_1 = this;
|
|
6041
|
-
tmp_1.
|
|
6041
|
+
tmp_1.a58_1 = Theme_0(this.z57_1, Theme$Companion$PlainAscii$lambda);
|
|
6042
6042
|
}
|
|
6043
6043
|
var Companion_instance_1;
|
|
6044
6044
|
function Companion_getInstance_2() {
|
|
@@ -6048,14 +6048,14 @@ function Companion_getInstance_2() {
|
|
|
6048
6048
|
}
|
|
6049
6049
|
function Theme(styles, strings, flags, dimensions) {
|
|
6050
6050
|
Companion_getInstance_2();
|
|
6051
|
-
this.
|
|
6052
|
-
this.
|
|
6053
|
-
this.
|
|
6054
|
-
this.
|
|
6051
|
+
this.b58_1 = styles;
|
|
6052
|
+
this.c58_1 = strings;
|
|
6053
|
+
this.d58_1 = flags;
|
|
6054
|
+
this.e58_1 = dimensions;
|
|
6055
6055
|
}
|
|
6056
|
-
protoOf(Theme).
|
|
6056
|
+
protoOf(Theme).f58 = function (style, default_0) {
|
|
6057
6057
|
// Inline function 'kotlin.collections.getOrElse' call
|
|
6058
|
-
var tmp0_elvis_lhs = this.
|
|
6058
|
+
var tmp0_elvis_lhs = this.b58_1.t2(style);
|
|
6059
6059
|
var tmp;
|
|
6060
6060
|
if (tmp0_elvis_lhs == null) {
|
|
6061
6061
|
tmp = default_0;
|
|
@@ -6064,28 +6064,28 @@ protoOf(Theme).s58 = function (style, default_0) {
|
|
|
6064
6064
|
}
|
|
6065
6065
|
return tmp;
|
|
6066
6066
|
};
|
|
6067
|
-
protoOf(Theme).
|
|
6067
|
+
protoOf(Theme).g58 = function (style, default_0, $super) {
|
|
6068
6068
|
default_0 = default_0 === VOID ? get_DEFAULT_STYLE() : default_0;
|
|
6069
|
-
return $super === VOID ? this.
|
|
6069
|
+
return $super === VOID ? this.f58(style, default_0) : $super.f58.call(this, style, default_0);
|
|
6070
6070
|
};
|
|
6071
6071
|
function BuiltTheme(styles, strings, flags, dimensions) {
|
|
6072
6072
|
Theme.call(this, styles, strings, flags, dimensions);
|
|
6073
6073
|
}
|
|
6074
6074
|
function Theme_0(from, init) {
|
|
6075
|
-
from = from === VOID ? Companion_getInstance_2().
|
|
6075
|
+
from = from === VOID ? Companion_getInstance_2().y57_1 : from;
|
|
6076
6076
|
// Inline function 'kotlin.apply' call
|
|
6077
|
-
var this_0 = new ThemeBuilder(toMutableMap(from.
|
|
6077
|
+
var this_0 = new ThemeBuilder(toMutableMap(from.b58_1), toMutableMap(from.c58_1), toMutableMap(from.d58_1), toMutableMap(from.e58_1));
|
|
6078
6078
|
init(this_0);
|
|
6079
|
-
return this_0.
|
|
6079
|
+
return this_0.h58();
|
|
6080
6080
|
}
|
|
6081
6081
|
function ThemeBuilder(styles, strings, flags, dimensions) {
|
|
6082
|
-
this.
|
|
6083
|
-
this.
|
|
6084
|
-
this.
|
|
6085
|
-
this.
|
|
6082
|
+
this.o57_1 = styles;
|
|
6083
|
+
this.p57_1 = strings;
|
|
6084
|
+
this.q57_1 = flags;
|
|
6085
|
+
this.r57_1 = dimensions;
|
|
6086
6086
|
}
|
|
6087
|
-
protoOf(ThemeBuilder).
|
|
6088
|
-
return new BuiltTheme(this.
|
|
6087
|
+
protoOf(ThemeBuilder).h58 = function () {
|
|
6088
|
+
return new BuiltTheme(this.o57_1, this.p57_1, this.q57_1, this.r57_1);
|
|
6089
6089
|
};
|
|
6090
6090
|
var Whitespace_NORMAL_instance;
|
|
6091
6091
|
var Whitespace_NOWRAP_instance;
|
|
@@ -6105,10 +6105,10 @@ function Whitespace_initEntries() {
|
|
|
6105
6105
|
}
|
|
6106
6106
|
function Whitespace(name, ordinal, collapseNewlines, collapseSpaces, wrap, trimEol) {
|
|
6107
6107
|
Enum.call(this, name, ordinal);
|
|
6108
|
-
this.
|
|
6109
|
-
this.
|
|
6110
|
-
this.
|
|
6111
|
-
this.
|
|
6108
|
+
this.k58_1 = collapseNewlines;
|
|
6109
|
+
this.l58_1 = collapseSpaces;
|
|
6110
|
+
this.m58_1 = wrap;
|
|
6111
|
+
this.n58_1 = trimEol;
|
|
6112
6112
|
}
|
|
6113
6113
|
function Whitespace_NORMAL_getInstance() {
|
|
6114
6114
|
Whitespace_initEntries();
|
|
@@ -6125,29 +6125,29 @@ function Whitespace_PRE_WRAP_getInstance() {
|
|
|
6125
6125
|
function Widget() {
|
|
6126
6126
|
}
|
|
6127
6127
|
function WidthRange(min, max) {
|
|
6128
|
-
this.
|
|
6129
|
-
this.
|
|
6128
|
+
this.c59_1 = min;
|
|
6129
|
+
this.d59_1 = max;
|
|
6130
6130
|
// Inline function 'kotlin.require' call
|
|
6131
|
-
if (!(this.
|
|
6131
|
+
if (!(this.c59_1 <= this.d59_1)) {
|
|
6132
6132
|
var message = 'Range min cannot be larger than max';
|
|
6133
6133
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
6134
6134
|
}
|
|
6135
6135
|
}
|
|
6136
|
-
protoOf(WidthRange).
|
|
6137
|
-
return extra === 0 ? this : new WidthRange(this.
|
|
6136
|
+
protoOf(WidthRange).e59 = function (extra) {
|
|
6137
|
+
return extra === 0 ? this : new WidthRange(this.c59_1 + extra | 0, this.d59_1 + extra | 0);
|
|
6138
6138
|
};
|
|
6139
|
-
protoOf(WidthRange).
|
|
6140
|
-
return new WidthRange(this.
|
|
6139
|
+
protoOf(WidthRange).f59 = function (other) {
|
|
6140
|
+
return new WidthRange(this.c59_1 + other.c59_1 | 0, this.d59_1 + other.d59_1 | 0);
|
|
6141
6141
|
};
|
|
6142
|
-
protoOf(WidthRange).
|
|
6143
|
-
return divisor === 1 ? this : new WidthRange(this.
|
|
6142
|
+
protoOf(WidthRange).g59 = function (divisor) {
|
|
6143
|
+
return divisor === 1 ? this : new WidthRange(this.c59_1 / divisor | 0, this.d59_1 / divisor | 0);
|
|
6144
6144
|
};
|
|
6145
6145
|
protoOf(WidthRange).toString = function () {
|
|
6146
|
-
return 'WidthRange(min=' + this.
|
|
6146
|
+
return 'WidthRange(min=' + this.c59_1 + ', max=' + this.d59_1 + ')';
|
|
6147
6147
|
};
|
|
6148
6148
|
protoOf(WidthRange).hashCode = function () {
|
|
6149
|
-
var result = this.
|
|
6150
|
-
result = imul(result, 31) + this.
|
|
6149
|
+
var result = this.c59_1;
|
|
6150
|
+
result = imul(result, 31) + this.d59_1 | 0;
|
|
6151
6151
|
return result;
|
|
6152
6152
|
};
|
|
6153
6153
|
protoOf(WidthRange).equals = function (other) {
|
|
@@ -6156,9 +6156,9 @@ protoOf(WidthRange).equals = function (other) {
|
|
|
6156
6156
|
if (!(other instanceof WidthRange))
|
|
6157
6157
|
return false;
|
|
6158
6158
|
var tmp0_other_with_cast = other instanceof WidthRange ? other : THROW_CCE();
|
|
6159
|
-
if (!(this.
|
|
6159
|
+
if (!(this.c59_1 === tmp0_other_with_cast.c59_1))
|
|
6160
6160
|
return false;
|
|
6161
|
-
if (!(this.
|
|
6161
|
+
if (!(this.d59_1 === tmp0_other_with_cast.d59_1))
|
|
6162
6162
|
return false;
|
|
6163
6163
|
return true;
|
|
6164
6164
|
};
|
|
@@ -6170,7 +6170,7 @@ function maxWidthRange(_this__u8e3s4, t, width, paddingWidth) {
|
|
|
6170
6170
|
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
6171
6171
|
$l$loop: while (_iterator__ex2g4s.u()) {
|
|
6172
6172
|
var it = _iterator__ex2g4s.v();
|
|
6173
|
-
var tmp0_elvis_lhs = it.
|
|
6173
|
+
var tmp0_elvis_lhs = it.o58(t, width - paddingWidth | 0);
|
|
6174
6174
|
var tmp;
|
|
6175
6175
|
if (tmp0_elvis_lhs == null) {
|
|
6176
6176
|
continue $l$loop;
|
|
@@ -6180,11 +6180,11 @@ function maxWidthRange(_this__u8e3s4, t, width, paddingWidth) {
|
|
|
6180
6180
|
var range = tmp;
|
|
6181
6181
|
var tmp0 = max;
|
|
6182
6182
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6183
|
-
var b = range.
|
|
6183
|
+
var b = range.d59_1;
|
|
6184
6184
|
max = Math.max(tmp0, b);
|
|
6185
6185
|
var tmp0_0 = min;
|
|
6186
6186
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6187
|
-
var b_0 = range.
|
|
6187
|
+
var b_0 = range.c59_1;
|
|
6188
6188
|
min = Math.max(tmp0_0, b_0);
|
|
6189
6189
|
}
|
|
6190
6190
|
return new WidthRange(min + paddingWidth | 0, max + paddingWidth | 0);
|
|
@@ -6229,10 +6229,10 @@ function Borders_initEntries() {
|
|
|
6229
6229
|
}
|
|
6230
6230
|
function Borders(name, ordinal, left, top, right, bottom) {
|
|
6231
6231
|
Enum.call(this, name, ordinal);
|
|
6232
|
-
this.
|
|
6233
|
-
this.
|
|
6234
|
-
this.
|
|
6235
|
-
this.
|
|
6232
|
+
this.j59_1 = left;
|
|
6233
|
+
this.k59_1 = top;
|
|
6234
|
+
this.l59_1 = right;
|
|
6235
|
+
this.m59_1 = bottom;
|
|
6236
6236
|
}
|
|
6237
6237
|
function Borders_NONE_getInstance() {
|
|
6238
6238
|
Borders_initEntries();
|
|
@@ -6246,19 +6246,19 @@ function Empty() {
|
|
|
6246
6246
|
Empty_instance = this;
|
|
6247
6247
|
Cell.call(this);
|
|
6248
6248
|
}
|
|
6249
|
-
protoOf(Empty).
|
|
6249
|
+
protoOf(Empty).n59 = function () {
|
|
6250
6250
|
return 1;
|
|
6251
6251
|
};
|
|
6252
|
-
protoOf(Empty).
|
|
6252
|
+
protoOf(Empty).o59 = function () {
|
|
6253
6253
|
return false;
|
|
6254
6254
|
};
|
|
6255
|
-
protoOf(Empty).
|
|
6255
|
+
protoOf(Empty).p59 = function () {
|
|
6256
6256
|
return false;
|
|
6257
6257
|
};
|
|
6258
|
-
protoOf(Empty).
|
|
6258
|
+
protoOf(Empty).q59 = function () {
|
|
6259
6259
|
return false;
|
|
6260
6260
|
};
|
|
6261
|
-
protoOf(Empty).
|
|
6261
|
+
protoOf(Empty).r59 = function () {
|
|
6262
6262
|
return false;
|
|
6263
6263
|
};
|
|
6264
6264
|
protoOf(Empty).toString = function () {
|
|
@@ -6283,39 +6283,39 @@ function Empty_getInstance() {
|
|
|
6283
6283
|
}
|
|
6284
6284
|
function SpanRef(cell, borderLeft, borderTop, borderRight, borderBottom) {
|
|
6285
6285
|
Cell.call(this);
|
|
6286
|
-
this.
|
|
6287
|
-
this.
|
|
6288
|
-
this.
|
|
6289
|
-
this.
|
|
6290
|
-
this.
|
|
6286
|
+
this.s59_1 = cell;
|
|
6287
|
+
this.t59_1 = borderLeft;
|
|
6288
|
+
this.u59_1 = borderTop;
|
|
6289
|
+
this.v59_1 = borderRight;
|
|
6290
|
+
this.w59_1 = borderBottom;
|
|
6291
6291
|
}
|
|
6292
|
-
protoOf(SpanRef).
|
|
6293
|
-
return this.
|
|
6292
|
+
protoOf(SpanRef).o59 = function () {
|
|
6293
|
+
return this.t59_1;
|
|
6294
6294
|
};
|
|
6295
|
-
protoOf(SpanRef).
|
|
6296
|
-
return this.
|
|
6295
|
+
protoOf(SpanRef).p59 = function () {
|
|
6296
|
+
return this.u59_1;
|
|
6297
6297
|
};
|
|
6298
|
-
protoOf(SpanRef).
|
|
6299
|
-
return this.
|
|
6298
|
+
protoOf(SpanRef).q59 = function () {
|
|
6299
|
+
return this.v59_1;
|
|
6300
6300
|
};
|
|
6301
|
-
protoOf(SpanRef).
|
|
6302
|
-
return this.
|
|
6301
|
+
protoOf(SpanRef).r59 = function () {
|
|
6302
|
+
return this.w59_1;
|
|
6303
6303
|
};
|
|
6304
|
-
protoOf(SpanRef).
|
|
6305
|
-
return this.
|
|
6304
|
+
protoOf(SpanRef).n59 = function () {
|
|
6305
|
+
return this.s59_1.y59_1;
|
|
6306
6306
|
};
|
|
6307
|
-
protoOf(SpanRef).
|
|
6308
|
-
return this.
|
|
6307
|
+
protoOf(SpanRef).i5a = function () {
|
|
6308
|
+
return this.s59_1.z59_1;
|
|
6309
6309
|
};
|
|
6310
6310
|
protoOf(SpanRef).toString = function () {
|
|
6311
|
-
return 'SpanRef(cell=' + this.
|
|
6311
|
+
return 'SpanRef(cell=' + this.s59_1.toString() + ', borderLeft=' + this.t59_1 + ', borderTop=' + this.u59_1 + ', borderRight=' + this.v59_1 + ', borderBottom=' + this.w59_1 + ')';
|
|
6312
6312
|
};
|
|
6313
6313
|
protoOf(SpanRef).hashCode = function () {
|
|
6314
|
-
var result = this.
|
|
6315
|
-
result = imul(result, 31) + (this.
|
|
6316
|
-
result = imul(result, 31) + (this.
|
|
6317
|
-
result = imul(result, 31) + (this.
|
|
6318
|
-
result = imul(result, 31) + (this.
|
|
6314
|
+
var result = this.s59_1.hashCode();
|
|
6315
|
+
result = imul(result, 31) + (this.t59_1 == null ? 0 : getBooleanHashCode(this.t59_1)) | 0;
|
|
6316
|
+
result = imul(result, 31) + (this.u59_1 == null ? 0 : getBooleanHashCode(this.u59_1)) | 0;
|
|
6317
|
+
result = imul(result, 31) + (this.v59_1 == null ? 0 : getBooleanHashCode(this.v59_1)) | 0;
|
|
6318
|
+
result = imul(result, 31) + (this.w59_1 == null ? 0 : getBooleanHashCode(this.w59_1)) | 0;
|
|
6319
6319
|
return result;
|
|
6320
6320
|
};
|
|
6321
6321
|
protoOf(SpanRef).equals = function (other) {
|
|
@@ -6324,72 +6324,72 @@ protoOf(SpanRef).equals = function (other) {
|
|
|
6324
6324
|
if (!(other instanceof SpanRef))
|
|
6325
6325
|
return false;
|
|
6326
6326
|
var tmp0_other_with_cast = other instanceof SpanRef ? other : THROW_CCE();
|
|
6327
|
-
if (!this.
|
|
6327
|
+
if (!this.s59_1.equals(tmp0_other_with_cast.s59_1))
|
|
6328
6328
|
return false;
|
|
6329
|
-
if (!(this.
|
|
6329
|
+
if (!(this.t59_1 == tmp0_other_with_cast.t59_1))
|
|
6330
6330
|
return false;
|
|
6331
|
-
if (!(this.
|
|
6331
|
+
if (!(this.u59_1 == tmp0_other_with_cast.u59_1))
|
|
6332
6332
|
return false;
|
|
6333
|
-
if (!(this.
|
|
6333
|
+
if (!(this.v59_1 == tmp0_other_with_cast.v59_1))
|
|
6334
6334
|
return false;
|
|
6335
|
-
if (!(this.
|
|
6335
|
+
if (!(this.w59_1 == tmp0_other_with_cast.w59_1))
|
|
6336
6336
|
return false;
|
|
6337
6337
|
return true;
|
|
6338
6338
|
};
|
|
6339
6339
|
function Content(content, rowSpan, columnSpan, borderLeft, borderTop, borderRight, borderBottom, style, textAlign, verticalAlign, paddingWidth) {
|
|
6340
6340
|
Cell.call(this);
|
|
6341
|
-
this.
|
|
6342
|
-
this.
|
|
6343
|
-
this.
|
|
6344
|
-
this.
|
|
6345
|
-
this.
|
|
6346
|
-
this.
|
|
6347
|
-
this.
|
|
6348
|
-
this.
|
|
6349
|
-
this.
|
|
6350
|
-
this.
|
|
6351
|
-
this.
|
|
6341
|
+
this.x59_1 = content;
|
|
6342
|
+
this.y59_1 = rowSpan;
|
|
6343
|
+
this.z59_1 = columnSpan;
|
|
6344
|
+
this.a5a_1 = borderLeft;
|
|
6345
|
+
this.b5a_1 = borderTop;
|
|
6346
|
+
this.c5a_1 = borderRight;
|
|
6347
|
+
this.d5a_1 = borderBottom;
|
|
6348
|
+
this.e5a_1 = style;
|
|
6349
|
+
this.f5a_1 = textAlign;
|
|
6350
|
+
this.g5a_1 = verticalAlign;
|
|
6351
|
+
this.h5a_1 = paddingWidth;
|
|
6352
6352
|
// Inline function 'kotlin.require' call
|
|
6353
|
-
if (!(this.
|
|
6353
|
+
if (!(this.y59_1 > 0)) {
|
|
6354
6354
|
var message = 'rowSpan must be greater than 0';
|
|
6355
6355
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
6356
6356
|
}
|
|
6357
6357
|
// Inline function 'kotlin.require' call
|
|
6358
|
-
if (!(this.
|
|
6358
|
+
if (!(this.z59_1 > 0)) {
|
|
6359
6359
|
var message_0 = 'columnSpan must be greater than 0';
|
|
6360
6360
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
6361
6361
|
}
|
|
6362
6362
|
}
|
|
6363
|
-
protoOf(Content).
|
|
6364
|
-
return this.
|
|
6363
|
+
protoOf(Content).n59 = function () {
|
|
6364
|
+
return this.y59_1;
|
|
6365
6365
|
};
|
|
6366
|
-
protoOf(Content).
|
|
6367
|
-
return this.
|
|
6366
|
+
protoOf(Content).o59 = function () {
|
|
6367
|
+
return this.a5a_1;
|
|
6368
6368
|
};
|
|
6369
|
-
protoOf(Content).
|
|
6370
|
-
return this.
|
|
6369
|
+
protoOf(Content).p59 = function () {
|
|
6370
|
+
return this.b5a_1;
|
|
6371
6371
|
};
|
|
6372
|
-
protoOf(Content).
|
|
6373
|
-
return this.
|
|
6372
|
+
protoOf(Content).q59 = function () {
|
|
6373
|
+
return this.c5a_1;
|
|
6374
6374
|
};
|
|
6375
|
-
protoOf(Content).
|
|
6376
|
-
return this.
|
|
6375
|
+
protoOf(Content).r59 = function () {
|
|
6376
|
+
return this.d5a_1;
|
|
6377
6377
|
};
|
|
6378
6378
|
protoOf(Content).toString = function () {
|
|
6379
|
-
return 'Content(content=' + toString(this.
|
|
6379
|
+
return 'Content(content=' + toString(this.x59_1) + ', rowSpan=' + this.y59_1 + ', columnSpan=' + this.z59_1 + ', borderLeft=' + this.a5a_1 + ', borderTop=' + this.b5a_1 + ', borderRight=' + this.c5a_1 + ', borderBottom=' + this.d5a_1 + ', style=' + toString_1(this.e5a_1) + ', textAlign=' + this.f5a_1.toString() + ', verticalAlign=' + this.g5a_1.toString() + ', paddingWidth=' + this.h5a_1 + ')';
|
|
6380
6380
|
};
|
|
6381
6381
|
protoOf(Content).hashCode = function () {
|
|
6382
|
-
var result = hashCode(this.
|
|
6383
|
-
result = imul(result, 31) + this.
|
|
6384
|
-
result = imul(result, 31) + this.
|
|
6385
|
-
result = imul(result, 31) + (this.
|
|
6386
|
-
result = imul(result, 31) + (this.
|
|
6387
|
-
result = imul(result, 31) + (this.
|
|
6388
|
-
result = imul(result, 31) + (this.
|
|
6389
|
-
result = imul(result, 31) + (this.
|
|
6390
|
-
result = imul(result, 31) + this.
|
|
6391
|
-
result = imul(result, 31) + this.
|
|
6392
|
-
result = imul(result, 31) + this.
|
|
6382
|
+
var result = hashCode(this.x59_1);
|
|
6383
|
+
result = imul(result, 31) + this.y59_1 | 0;
|
|
6384
|
+
result = imul(result, 31) + this.z59_1 | 0;
|
|
6385
|
+
result = imul(result, 31) + (this.a5a_1 == null ? 0 : getBooleanHashCode(this.a5a_1)) | 0;
|
|
6386
|
+
result = imul(result, 31) + (this.b5a_1 == null ? 0 : getBooleanHashCode(this.b5a_1)) | 0;
|
|
6387
|
+
result = imul(result, 31) + (this.c5a_1 == null ? 0 : getBooleanHashCode(this.c5a_1)) | 0;
|
|
6388
|
+
result = imul(result, 31) + (this.d5a_1 == null ? 0 : getBooleanHashCode(this.d5a_1)) | 0;
|
|
6389
|
+
result = imul(result, 31) + (this.e5a_1 == null ? 0 : hashCode(this.e5a_1)) | 0;
|
|
6390
|
+
result = imul(result, 31) + this.f5a_1.hashCode() | 0;
|
|
6391
|
+
result = imul(result, 31) + this.g5a_1.hashCode() | 0;
|
|
6392
|
+
result = imul(result, 31) + this.h5a_1 | 0;
|
|
6393
6393
|
return result;
|
|
6394
6394
|
};
|
|
6395
6395
|
protoOf(Content).equals = function (other) {
|
|
@@ -6398,43 +6398,43 @@ protoOf(Content).equals = function (other) {
|
|
|
6398
6398
|
if (!(other instanceof Content))
|
|
6399
6399
|
return false;
|
|
6400
6400
|
var tmp0_other_with_cast = other instanceof Content ? other : THROW_CCE();
|
|
6401
|
-
if (!equals(this.
|
|
6401
|
+
if (!equals(this.x59_1, tmp0_other_with_cast.x59_1))
|
|
6402
6402
|
return false;
|
|
6403
|
-
if (!(this.
|
|
6403
|
+
if (!(this.y59_1 === tmp0_other_with_cast.y59_1))
|
|
6404
6404
|
return false;
|
|
6405
|
-
if (!(this.
|
|
6405
|
+
if (!(this.z59_1 === tmp0_other_with_cast.z59_1))
|
|
6406
6406
|
return false;
|
|
6407
|
-
if (!(this.
|
|
6407
|
+
if (!(this.a5a_1 == tmp0_other_with_cast.a5a_1))
|
|
6408
6408
|
return false;
|
|
6409
|
-
if (!(this.
|
|
6409
|
+
if (!(this.b5a_1 == tmp0_other_with_cast.b5a_1))
|
|
6410
6410
|
return false;
|
|
6411
|
-
if (!(this.
|
|
6411
|
+
if (!(this.c5a_1 == tmp0_other_with_cast.c5a_1))
|
|
6412
6412
|
return false;
|
|
6413
|
-
if (!(this.
|
|
6413
|
+
if (!(this.d5a_1 == tmp0_other_with_cast.d5a_1))
|
|
6414
6414
|
return false;
|
|
6415
|
-
if (!equals(this.
|
|
6415
|
+
if (!equals(this.e5a_1, tmp0_other_with_cast.e5a_1))
|
|
6416
6416
|
return false;
|
|
6417
|
-
if (!this.
|
|
6417
|
+
if (!this.f5a_1.equals(tmp0_other_with_cast.f5a_1))
|
|
6418
6418
|
return false;
|
|
6419
|
-
if (!this.
|
|
6419
|
+
if (!this.g5a_1.equals(tmp0_other_with_cast.g5a_1))
|
|
6420
6420
|
return false;
|
|
6421
|
-
if (!(this.
|
|
6421
|
+
if (!(this.h5a_1 === tmp0_other_with_cast.h5a_1))
|
|
6422
6422
|
return false;
|
|
6423
6423
|
return true;
|
|
6424
6424
|
};
|
|
6425
6425
|
function Cell() {
|
|
6426
6426
|
}
|
|
6427
6427
|
function measureColumn($this, x, t, width) {
|
|
6428
|
-
var tmp56_safe_receiver = $this.
|
|
6428
|
+
var tmp56_safe_receiver = $this.r5a_1.b1(x).k5a_1;
|
|
6429
6429
|
if (tmp56_safe_receiver == null)
|
|
6430
6430
|
null;
|
|
6431
6431
|
else {
|
|
6432
6432
|
// Inline function 'kotlin.let' call
|
|
6433
6433
|
var tmp;
|
|
6434
|
-
if (!$this.
|
|
6434
|
+
if (!$this.t5a_1) {
|
|
6435
6435
|
tmp = 0;
|
|
6436
6436
|
} else {
|
|
6437
|
-
var tmp0 = $this.
|
|
6437
|
+
var tmp0 = $this.m5a_1;
|
|
6438
6438
|
var tmp$ret$2;
|
|
6439
6439
|
$l$block: {
|
|
6440
6440
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -6446,13 +6446,13 @@ function measureColumn($this, x, t, width) {
|
|
|
6446
6446
|
var row = iterator.v();
|
|
6447
6447
|
var tmp_0 = getOrNull(row, x);
|
|
6448
6448
|
var tmp57_safe_receiver = tmp_0 instanceof Content ? tmp_0 : null;
|
|
6449
|
-
var tmp0_elvis_lhs = tmp57_safe_receiver == null ? null : tmp57_safe_receiver.
|
|
6449
|
+
var tmp0_elvis_lhs = tmp57_safe_receiver == null ? null : tmp57_safe_receiver.h5a_1;
|
|
6450
6450
|
var maxValue = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
6451
6451
|
while (iterator.u()) {
|
|
6452
6452
|
var row_0 = iterator.v();
|
|
6453
6453
|
var tmp_1 = getOrNull(row_0, x);
|
|
6454
6454
|
var tmp57_safe_receiver_0 = tmp_1 instanceof Content ? tmp_1 : null;
|
|
6455
|
-
var tmp0_elvis_lhs_0 = tmp57_safe_receiver_0 == null ? null : tmp57_safe_receiver_0.
|
|
6455
|
+
var tmp0_elvis_lhs_0 = tmp57_safe_receiver_0 == null ? null : tmp57_safe_receiver_0.h5a_1;
|
|
6456
6456
|
var v = tmp0_elvis_lhs_0 == null ? 0 : tmp0_elvis_lhs_0;
|
|
6457
6457
|
if (compareTo(maxValue, v) < 0) {
|
|
6458
6458
|
maxValue = v;
|
|
@@ -6469,7 +6469,7 @@ function measureColumn($this, x, t, width) {
|
|
|
6469
6469
|
// Inline function 'com.github.ajalt.mordant.rendering.maxWidthRange' call
|
|
6470
6470
|
var max = 0;
|
|
6471
6471
|
var min = 0;
|
|
6472
|
-
var _iterator__ex2g4s = $this.
|
|
6472
|
+
var _iterator__ex2g4s = $this.m5a_1.t();
|
|
6473
6473
|
$l$loop: while (_iterator__ex2g4s.u()) {
|
|
6474
6474
|
var it = _iterator__ex2g4s.v();
|
|
6475
6475
|
var cell = getOrNull(it, x);
|
|
@@ -6481,10 +6481,10 @@ function measureColumn($this, x, t, width) {
|
|
|
6481
6481
|
tmp_2 = new WidthRange(0, 0);
|
|
6482
6482
|
} else {
|
|
6483
6483
|
if (cell instanceof Content) {
|
|
6484
|
-
tmp_2 = cell.
|
|
6484
|
+
tmp_2 = cell.x59_1.o58(t, width).g59(cell.z59_1);
|
|
6485
6485
|
} else {
|
|
6486
6486
|
if (cell instanceof SpanRef) {
|
|
6487
|
-
tmp_2 = cell.
|
|
6487
|
+
tmp_2 = cell.s59_1.x59_1.o58(t, width).g59(cell.i5a());
|
|
6488
6488
|
} else {
|
|
6489
6489
|
noWhenBranchMatchedException();
|
|
6490
6490
|
}
|
|
@@ -6501,25 +6501,25 @@ function measureColumn($this, x, t, width) {
|
|
|
6501
6501
|
var range = tmp_3;
|
|
6502
6502
|
var tmp0_0 = max;
|
|
6503
6503
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6504
|
-
var b = range.
|
|
6504
|
+
var b = range.d59_1;
|
|
6505
6505
|
max = Math.max(tmp0_0, b);
|
|
6506
6506
|
var tmp0_1 = min;
|
|
6507
6507
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6508
|
-
var b_0 = range.
|
|
6508
|
+
var b_0 = range.c59_1;
|
|
6509
6509
|
min = Math.max(tmp0_1, b_0);
|
|
6510
6510
|
}
|
|
6511
6511
|
var range_0 = new WidthRange(min + 0 | 0, max + 0 | 0);
|
|
6512
|
-
if (!($this.
|
|
6513
|
-
return new WidthRange(range_0.
|
|
6512
|
+
if (!($this.r5a_1.b1(x).l5a_1 == null)) {
|
|
6513
|
+
return new WidthRange(range_0.c59_1, coerceAtLeast(width, range_0.d59_1));
|
|
6514
6514
|
}
|
|
6515
6515
|
return range_0;
|
|
6516
6516
|
}
|
|
6517
6517
|
function calculateColumnWidths($this, t, terminalWidth) {
|
|
6518
|
-
var availableWidth = terminalWidth - $this.
|
|
6518
|
+
var availableWidth = terminalWidth - $this.y5a_1 | 0;
|
|
6519
6519
|
if (availableWidth <= 0) {
|
|
6520
6520
|
// Inline function 'kotlin.collections.List' call
|
|
6521
6521
|
// Inline function 'kotlin.collections.MutableList' call
|
|
6522
|
-
var size = $this.
|
|
6522
|
+
var size = $this.v5a_1;
|
|
6523
6523
|
var list = ArrayList_init_$Create$_0(size);
|
|
6524
6524
|
// Inline function 'kotlin.repeat' call
|
|
6525
6525
|
var inductionVariable = 0;
|
|
@@ -6534,7 +6534,7 @@ function calculateColumnWidths($this, t, terminalWidth) {
|
|
|
6534
6534
|
}
|
|
6535
6535
|
// Inline function 'kotlin.collections.List' call
|
|
6536
6536
|
// Inline function 'kotlin.collections.MutableList' call
|
|
6537
|
-
var size_0 = $this.
|
|
6537
|
+
var size_0 = $this.v5a_1;
|
|
6538
6538
|
var list_0 = ArrayList_init_$Create$_0(size_0);
|
|
6539
6539
|
// Inline function 'kotlin.repeat' call
|
|
6540
6540
|
var inductionVariable_0 = 0;
|
|
@@ -6553,18 +6553,18 @@ function calculateColumnWidths($this, t, terminalWidth) {
|
|
|
6553
6553
|
var _iterator__ex2g4s = measurements.t();
|
|
6554
6554
|
while (_iterator__ex2g4s.u()) {
|
|
6555
6555
|
var item = _iterator__ex2g4s.v();
|
|
6556
|
-
var tmp$ret$12 = item.
|
|
6556
|
+
var tmp$ret$12 = item.d59_1;
|
|
6557
6557
|
destination.x(tmp$ret$12);
|
|
6558
6558
|
}
|
|
6559
6559
|
var widths = destination;
|
|
6560
6560
|
// Inline function 'kotlin.collections.groupBy' call
|
|
6561
|
-
var tmp0 = withIndex($this.
|
|
6561
|
+
var tmp0 = withIndex($this.r5a_1);
|
|
6562
6562
|
// Inline function 'kotlin.collections.groupByTo' call
|
|
6563
6563
|
var destination_0 = LinkedHashMap_init_$Create$();
|
|
6564
6564
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
6565
6565
|
while (_iterator__ex2g4s_0.u()) {
|
|
6566
6566
|
var element = _iterator__ex2g4s_0.v();
|
|
6567
|
-
var key = element.ze_1.
|
|
6567
|
+
var key = element.ze_1.j5a_1;
|
|
6568
6568
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
6569
6569
|
var value = destination_0.t2(key);
|
|
6570
6570
|
var tmp;
|
|
@@ -6613,7 +6613,7 @@ function calculateColumnWidths($this, t, terminalWidth) {
|
|
|
6613
6613
|
while (_iterator__ex2g4s_4.u()) {
|
|
6614
6614
|
var element_2 = _iterator__ex2g4s_4.v();
|
|
6615
6615
|
var tmp_2 = sum;
|
|
6616
|
-
sum = tmp_2 + measurements.b1(element_2).
|
|
6616
|
+
sum = tmp_2 + measurements.b1(element_2).c59_1 | 0;
|
|
6617
6617
|
}
|
|
6618
6618
|
var tmp_3 = sum;
|
|
6619
6619
|
// Inline function 'kotlin.collections.sumOf' call
|
|
@@ -6622,7 +6622,7 @@ function calculateColumnWidths($this, t, terminalWidth) {
|
|
|
6622
6622
|
while (_iterator__ex2g4s_5.u()) {
|
|
6623
6623
|
var element_3 = _iterator__ex2g4s_5.v();
|
|
6624
6624
|
var tmp_4 = sum_0;
|
|
6625
|
-
sum_0 = tmp_4 + measurements.b1(element_3).
|
|
6625
|
+
sum_0 = tmp_4 + measurements.b1(element_3).d59_1 | 0;
|
|
6626
6626
|
}
|
|
6627
6627
|
var tmp$ret$33 = sum_0;
|
|
6628
6628
|
var tmp$ret$30 = new WidthRange(tmp_3, tmp$ret$33);
|
|
@@ -6662,10 +6662,10 @@ function calculateColumnWidths($this, t, terminalWidth) {
|
|
|
6662
6662
|
while (_iterator__ex2g4s_8.u()) {
|
|
6663
6663
|
var element_6 = _iterator__ex2g4s_8.v();
|
|
6664
6664
|
var tmp_6 = sum_1;
|
|
6665
|
-
sum_1 = tmp_6 + element_6.o1().
|
|
6665
|
+
sum_1 = tmp_6 + element_6.o1().c59_1 | 0;
|
|
6666
6666
|
}
|
|
6667
6667
|
var lowerMin = sum_1;
|
|
6668
|
-
var allocated = coerceAtMost(coerceIn(remainingWidth - lowerMin | 0, m.
|
|
6668
|
+
var allocated = coerceAtMost(coerceIn(remainingWidth - lowerMin | 0, m.c59_1, m.d59_1), remainingWidth);
|
|
6669
6669
|
remainingWidth = remainingWidth - allocated | 0;
|
|
6670
6670
|
// Inline function 'kotlin.collections.set' call
|
|
6671
6671
|
allocatedWidths.w2(p, allocated);
|
|
@@ -6689,8 +6689,8 @@ function calculateColumnWidths($this, t, terminalWidth) {
|
|
|
6689
6689
|
var _iterator__ex2g4s_10 = indexes.t();
|
|
6690
6690
|
while (_iterator__ex2g4s_10.u()) {
|
|
6691
6691
|
var item_1 = _iterator__ex2g4s_10.v();
|
|
6692
|
-
var tmp0_elvis_lhs = $this.
|
|
6693
|
-
var tmp$ret$54 = tmp0_elvis_lhs == null ? measurements.b1(item_1).
|
|
6692
|
+
var tmp0_elvis_lhs = $this.r5a_1.b1(item_1).l5a_1;
|
|
6693
|
+
var tmp$ret$54 = tmp0_elvis_lhs == null ? measurements.b1(item_1).d59_1 : tmp0_elvis_lhs;
|
|
6694
6694
|
destination_5.x(tmp$ret$54);
|
|
6695
6695
|
}
|
|
6696
6696
|
var weights = destination_5;
|
|
@@ -6749,20 +6749,20 @@ function distributeWidths($this, weights, totalWidth) {
|
|
|
6749
6749
|
return widths;
|
|
6750
6750
|
}
|
|
6751
6751
|
function getCell($this, x, y) {
|
|
6752
|
-
var tmp58_safe_receiver = getOrNull($this.
|
|
6752
|
+
var tmp58_safe_receiver = getOrNull($this.m5a_1, y);
|
|
6753
6753
|
return tmp58_safe_receiver == null ? null : getOrNull(tmp58_safe_receiver, x);
|
|
6754
6754
|
}
|
|
6755
6755
|
function sam$kotlin_Comparator$0(function_0) {
|
|
6756
|
-
this.
|
|
6756
|
+
this.z5a_1 = function_0;
|
|
6757
6757
|
}
|
|
6758
6758
|
protoOf(sam$kotlin_Comparator$0).zd = function (a, b) {
|
|
6759
|
-
return this.
|
|
6759
|
+
return this.z5a_1(a, b);
|
|
6760
6760
|
};
|
|
6761
6761
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
6762
6762
|
return this.zd(a, b);
|
|
6763
6763
|
};
|
|
6764
6764
|
protoOf(sam$kotlin_Comparator$0).p3 = function () {
|
|
6765
|
-
return this.
|
|
6765
|
+
return this.z5a_1;
|
|
6766
6766
|
};
|
|
6767
6767
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
6768
6768
|
var tmp;
|
|
@@ -6796,22 +6796,22 @@ function TableImpl$calculateColumnWidths$lambda_0(a, b) {
|
|
|
6796
6796
|
}
|
|
6797
6797
|
function TableImpl(rows, borderType, borderStyle, headerRowCount, footerRowCount, columnWidths, tableBorders, addPaddingWidthToFixedWidth) {
|
|
6798
6798
|
Table.call(this);
|
|
6799
|
-
this.
|
|
6800
|
-
this.
|
|
6801
|
-
this.
|
|
6802
|
-
this.
|
|
6803
|
-
this.
|
|
6804
|
-
this.
|
|
6805
|
-
this.
|
|
6806
|
-
this.
|
|
6799
|
+
this.m5a_1 = rows;
|
|
6800
|
+
this.n5a_1 = borderType;
|
|
6801
|
+
this.o5a_1 = borderStyle;
|
|
6802
|
+
this.p5a_1 = headerRowCount;
|
|
6803
|
+
this.q5a_1 = footerRowCount;
|
|
6804
|
+
this.r5a_1 = columnWidths;
|
|
6805
|
+
this.s5a_1 = tableBorders;
|
|
6806
|
+
this.t5a_1 = addPaddingWidthToFixedWidth;
|
|
6807
6807
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6808
6808
|
// Inline function 'kotlin.require' call
|
|
6809
|
-
if (!!this.
|
|
6809
|
+
if (!!this.m5a_1.r()) {
|
|
6810
6810
|
var message = 'Table cannot be empty';
|
|
6811
6811
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
6812
6812
|
}
|
|
6813
6813
|
var tmp = this;
|
|
6814
|
-
var tmp0 = this.
|
|
6814
|
+
var tmp0 = this.r5a_1;
|
|
6815
6815
|
var tmp$ret$3;
|
|
6816
6816
|
$l$block_0: {
|
|
6817
6817
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6828,19 +6828,19 @@ function TableImpl(rows, borderType, borderStyle, headerRowCount, footerRowCount
|
|
|
6828
6828
|
var _iterator__ex2g4s = tmp0.t();
|
|
6829
6829
|
while (_iterator__ex2g4s.u()) {
|
|
6830
6830
|
var element = _iterator__ex2g4s.v();
|
|
6831
|
-
if (!(element.
|
|
6831
|
+
if (!(element.l5a_1 == null)) {
|
|
6832
6832
|
tmp$ret$3 = true;
|
|
6833
6833
|
break $l$block_0;
|
|
6834
6834
|
}
|
|
6835
6835
|
}
|
|
6836
6836
|
tmp$ret$3 = false;
|
|
6837
6837
|
}
|
|
6838
|
-
tmp.
|
|
6839
|
-
this.
|
|
6838
|
+
tmp.u5a_1 = tmp$ret$3;
|
|
6839
|
+
this.v5a_1 = this.r5a_1.c1();
|
|
6840
6840
|
var tmp_1 = this;
|
|
6841
6841
|
// Inline function 'kotlin.collections.List' call
|
|
6842
6842
|
// Inline function 'kotlin.collections.MutableList' call
|
|
6843
|
-
var size = this.
|
|
6843
|
+
var size = this.m5a_1.c1() + 1 | 0;
|
|
6844
6844
|
var list = ArrayList_init_$Create$_0(size);
|
|
6845
6845
|
// Inline function 'kotlin.repeat' call
|
|
6846
6846
|
var inductionVariable = 0;
|
|
@@ -6849,12 +6849,12 @@ function TableImpl(rows, borderType, borderStyle, headerRowCount, footerRowCount
|
|
|
6849
6849
|
var index = inductionVariable;
|
|
6850
6850
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6851
6851
|
var tmp_2;
|
|
6852
|
-
if (index === 0 && !(this.
|
|
6853
|
-
tmp_2 = this.
|
|
6854
|
-
} else if (index === this.
|
|
6855
|
-
tmp_2 = this.
|
|
6852
|
+
if (index === 0 && !(this.s5a_1 == null)) {
|
|
6853
|
+
tmp_2 = this.s5a_1.k59_1;
|
|
6854
|
+
} else if (index === this.m5a_1.c1() && !(this.s5a_1 == null)) {
|
|
6855
|
+
tmp_2 = this.s5a_1.m59_1;
|
|
6856
6856
|
} else {
|
|
6857
|
-
var tmp0_0 = until(0, this.
|
|
6857
|
+
var tmp0_0 = until(0, this.v5a_1);
|
|
6858
6858
|
var tmp$ret$10;
|
|
6859
6859
|
$l$block_2: {
|
|
6860
6860
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6889,11 +6889,11 @@ function TableImpl(rows, borderType, borderStyle, headerRowCount, footerRowCount
|
|
|
6889
6889
|
list.x(tmp$ret$9);
|
|
6890
6890
|
}
|
|
6891
6891
|
while (inductionVariable < size);
|
|
6892
|
-
tmp_1.
|
|
6892
|
+
tmp_1.w5a_1 = list;
|
|
6893
6893
|
var tmp_4 = this;
|
|
6894
6894
|
// Inline function 'kotlin.collections.List' call
|
|
6895
6895
|
// Inline function 'kotlin.collections.MutableList' call
|
|
6896
|
-
var size_0 = this.
|
|
6896
|
+
var size_0 = this.v5a_1 + 1 | 0;
|
|
6897
6897
|
var list_0 = ArrayList_init_$Create$_0(size_0);
|
|
6898
6898
|
// Inline function 'kotlin.repeat' call
|
|
6899
6899
|
var inductionVariable_1 = 0;
|
|
@@ -6902,12 +6902,12 @@ function TableImpl(rows, borderType, borderStyle, headerRowCount, footerRowCount
|
|
|
6902
6902
|
var index_0 = inductionVariable_1;
|
|
6903
6903
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
6904
6904
|
var tmp_5;
|
|
6905
|
-
if (index_0 === 0 && !(this.
|
|
6906
|
-
tmp_5 = this.
|
|
6907
|
-
} else if (index_0 === this.
|
|
6908
|
-
tmp_5 = this.
|
|
6905
|
+
if (index_0 === 0 && !(this.s5a_1 == null)) {
|
|
6906
|
+
tmp_5 = this.s5a_1.j59_1;
|
|
6907
|
+
} else if (index_0 === this.v5a_1 && !(this.s5a_1 == null)) {
|
|
6908
|
+
tmp_5 = this.s5a_1.l59_1;
|
|
6909
6909
|
} else {
|
|
6910
|
-
var tmp0_1 = get_indices(this.
|
|
6910
|
+
var tmp0_1 = get_indices(this.m5a_1);
|
|
6911
6911
|
var tmp$ret$17;
|
|
6912
6912
|
$l$block_4: {
|
|
6913
6913
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6942,9 +6942,9 @@ function TableImpl(rows, borderType, borderStyle, headerRowCount, footerRowCount
|
|
|
6942
6942
|
list_0.x(tmp$ret$16);
|
|
6943
6943
|
}
|
|
6944
6944
|
while (inductionVariable_1 < size_0);
|
|
6945
|
-
tmp_4.
|
|
6945
|
+
tmp_4.x5a_1 = list_0;
|
|
6946
6946
|
var tmp_7 = this;
|
|
6947
|
-
var tmp0_2 = this.
|
|
6947
|
+
var tmp0_2 = this.x5a_1;
|
|
6948
6948
|
var tmp$ret$19;
|
|
6949
6949
|
$l$block_5: {
|
|
6950
6950
|
// Inline function 'kotlin.collections.count' call
|
|
@@ -6969,15 +6969,15 @@ function TableImpl(rows, borderType, borderStyle, headerRowCount, footerRowCount
|
|
|
6969
6969
|
}
|
|
6970
6970
|
tmp$ret$19 = count;
|
|
6971
6971
|
}
|
|
6972
|
-
tmp_7.
|
|
6972
|
+
tmp_7.y5a_1 = tmp$ret$19;
|
|
6973
6973
|
}
|
|
6974
|
-
protoOf(TableImpl).
|
|
6975
|
-
if (this.
|
|
6974
|
+
protoOf(TableImpl).o58 = function (t, width) {
|
|
6975
|
+
if (this.u5a_1)
|
|
6976
6976
|
return new WidthRange(width, width);
|
|
6977
|
-
var remainingWidth = width - this.
|
|
6977
|
+
var remainingWidth = width - this.y5a_1 | 0;
|
|
6978
6978
|
// Inline function 'kotlin.collections.List' call
|
|
6979
6979
|
// Inline function 'kotlin.collections.MutableList' call
|
|
6980
|
-
var size = this.
|
|
6980
|
+
var size = this.v5a_1;
|
|
6981
6981
|
var list = ArrayList_init_$Create$_0(size);
|
|
6982
6982
|
// Inline function 'kotlin.repeat' call
|
|
6983
6983
|
var inductionVariable = 0;
|
|
@@ -6996,51 +6996,51 @@ protoOf(TableImpl).b59 = function (t, width) {
|
|
|
6996
6996
|
while (_iterator__ex2g4s.u()) {
|
|
6997
6997
|
var element = _iterator__ex2g4s.v();
|
|
6998
6998
|
var tmp = sum;
|
|
6999
|
-
sum = tmp + element.
|
|
6999
|
+
sum = tmp + element.c59_1 | 0;
|
|
7000
7000
|
}
|
|
7001
|
-
var tmp_0 = sum + this.
|
|
7001
|
+
var tmp_0 = sum + this.y5a_1 | 0;
|
|
7002
7002
|
// Inline function 'kotlin.collections.sumOf' call
|
|
7003
7003
|
var sum_0 = 0;
|
|
7004
7004
|
var _iterator__ex2g4s_0 = ranges.t();
|
|
7005
7005
|
while (_iterator__ex2g4s_0.u()) {
|
|
7006
7006
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
7007
7007
|
var tmp_1 = sum_0;
|
|
7008
|
-
sum_0 = tmp_1 + element_0.
|
|
7008
|
+
sum_0 = tmp_1 + element_0.d59_1 | 0;
|
|
7009
7009
|
}
|
|
7010
7010
|
var tmp$ret$7 = sum_0;
|
|
7011
|
-
return new WidthRange(tmp_0, tmp$ret$7 + this.
|
|
7011
|
+
return new WidthRange(tmp_0, tmp$ret$7 + this.y5a_1 | 0);
|
|
7012
7012
|
};
|
|
7013
|
-
protoOf(TableImpl).
|
|
7014
|
-
return (new TableRenderer(this.
|
|
7013
|
+
protoOf(TableImpl).p58 = function (t, width) {
|
|
7014
|
+
return (new TableRenderer(this.m5a_1, this.n5a_1, this.o5a_1, this.p5a_1, this.q5a_1, this.v5a_1, calculateColumnWidths(this, t, width), this.x5a_1, this.w5a_1, this.s5a_1, t)).o5b();
|
|
7015
7015
|
};
|
|
7016
7016
|
function Table() {
|
|
7017
7017
|
}
|
|
7018
7018
|
function get_t(_this__u8e3s4) {
|
|
7019
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7019
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.p59()) === true;
|
|
7020
7020
|
}
|
|
7021
7021
|
function get_b(_this__u8e3s4) {
|
|
7022
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7022
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.r59()) === true;
|
|
7023
7023
|
}
|
|
7024
7024
|
function get_l(_this__u8e3s4) {
|
|
7025
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7025
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.o59()) === true;
|
|
7026
7026
|
}
|
|
7027
7027
|
function get_r(_this__u8e3s4) {
|
|
7028
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7028
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.q59()) === true;
|
|
7029
7029
|
}
|
|
7030
7030
|
function _get_rowCount__xlqfpy($this) {
|
|
7031
|
-
return $this.
|
|
7031
|
+
return $this.a5b_1.c1();
|
|
7032
7032
|
}
|
|
7033
7033
|
function drawBottomBorder($this) {
|
|
7034
|
-
if (!$this.
|
|
7034
|
+
if (!$this.i5b_1.b1(_get_rowCount__xlqfpy($this)))
|
|
7035
7035
|
return Unit_instance;
|
|
7036
|
-
var line = $this.
|
|
7036
|
+
var line = $this.n5b_1.b1(get_lastIndex_0($this.n5b_1));
|
|
7037
7037
|
var inductionVariable = 0;
|
|
7038
|
-
var last = $this.
|
|
7038
|
+
var last = $this.g5b_1.c1() - 1 | 0;
|
|
7039
7039
|
if (inductionVariable <= last)
|
|
7040
7040
|
do {
|
|
7041
7041
|
var x = inductionVariable;
|
|
7042
7042
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7043
|
-
if ($this.
|
|
7043
|
+
if ($this.h5b_1.b1(x)) {
|
|
7044
7044
|
var tmp61_safe_receiver = getTopLeftCorner($this, x, _get_rowCount__xlqfpy($this));
|
|
7045
7045
|
if (tmp61_safe_receiver == null)
|
|
7046
7046
|
null;
|
|
@@ -7049,11 +7049,11 @@ function drawBottomBorder($this) {
|
|
|
7049
7049
|
line.x(tmp61_safe_receiver);
|
|
7050
7050
|
}
|
|
7051
7051
|
}
|
|
7052
|
-
drawTopBorderForCell($this, get_lastIndex_0($this.
|
|
7052
|
+
drawTopBorderForCell($this, get_lastIndex_0($this.n5b_1), x, _get_rowCount__xlqfpy($this), $this.g5b_1.b1(x), false);
|
|
7053
7053
|
}
|
|
7054
7054
|
while (inductionVariable <= last);
|
|
7055
|
-
if ($this.
|
|
7056
|
-
var tmp62_safe_receiver = getTopLeftCorner($this, $this.
|
|
7055
|
+
if ($this.h5b_1.b1($this.f5b_1)) {
|
|
7056
|
+
var tmp62_safe_receiver = getTopLeftCorner($this, $this.f5b_1, _get_rowCount__xlqfpy($this));
|
|
7057
7057
|
if (tmp62_safe_receiver == null)
|
|
7058
7058
|
null;
|
|
7059
7059
|
else {
|
|
@@ -7070,53 +7070,53 @@ function drawCellContent($this, tableLineY, cell, x, y) {
|
|
|
7070
7070
|
var i = index;
|
|
7071
7071
|
index = index + 1 | 0;
|
|
7072
7072
|
var line = iterator.v();
|
|
7073
|
-
$this.
|
|
7073
|
+
$this.n5b_1.b1(tableLineY + i | 0).g1(line);
|
|
7074
7074
|
}
|
|
7075
7075
|
}
|
|
7076
7076
|
function drawTopBorderForCell($this, tableLineY, x, y, colWidth, borderTop) {
|
|
7077
|
-
if (!$this.
|
|
7077
|
+
if (!$this.i5b_1.b1(y))
|
|
7078
7078
|
return 0;
|
|
7079
7079
|
if (colWidth === 0 || borderTop == null) {
|
|
7080
7080
|
return 1;
|
|
7081
7081
|
}
|
|
7082
7082
|
var tmp;
|
|
7083
|
-
if (borderTop || (y === 0 && get_t_0($this.
|
|
7084
|
-
tmp = sectionOfRow($this, y).
|
|
7083
|
+
if (borderTop || (y === 0 && get_t_0($this.j5b_1)) || (y === _get_rowCount__xlqfpy($this) && get_b_0($this.j5b_1)) || get_b(cellAt($this, x, y - 1 | 0))) {
|
|
7084
|
+
tmp = sectionOfRow($this, y).i56_1;
|
|
7085
7085
|
} else {
|
|
7086
7086
|
tmp = ' ';
|
|
7087
7087
|
}
|
|
7088
7088
|
var char = tmp;
|
|
7089
|
-
$this.
|
|
7089
|
+
$this.n5b_1.b1(tableLineY).x(Companion_instance_0.a55(repeat(char, colWidth), $this.c5b_1));
|
|
7090
7090
|
return 1;
|
|
7091
7091
|
}
|
|
7092
7092
|
function drawLeftBorderForColumn($this, x) {
|
|
7093
|
-
if (!$this.
|
|
7093
|
+
if (!$this.h5b_1.b1(x))
|
|
7094
7094
|
return Unit_instance;
|
|
7095
7095
|
var tableLineY = 0;
|
|
7096
|
-
var iterator = $this.
|
|
7096
|
+
var iterator = $this.a5b_1.t();
|
|
7097
7097
|
var index = 0;
|
|
7098
7098
|
while (iterator.u()) {
|
|
7099
7099
|
var y = index;
|
|
7100
7100
|
index = index + 1 | 0;
|
|
7101
7101
|
var row = iterator.v();
|
|
7102
|
-
var rowHeight = $this.
|
|
7102
|
+
var rowHeight = $this.m5b_1.b1(y);
|
|
7103
7103
|
var tmp0_elvis_lhs = getOrNull(row, x);
|
|
7104
7104
|
var cell = tmp0_elvis_lhs == null ? Empty_getInstance() : tmp0_elvis_lhs;
|
|
7105
|
-
if ($this.
|
|
7105
|
+
if ($this.i5b_1.b1(y)) {
|
|
7106
7106
|
var tmp63_safe_receiver = getTopLeftCorner($this, x, y);
|
|
7107
7107
|
if (tmp63_safe_receiver == null)
|
|
7108
7108
|
null;
|
|
7109
7109
|
else {
|
|
7110
7110
|
// Inline function 'kotlin.let' call
|
|
7111
|
-
$this.
|
|
7111
|
+
$this.n5b_1.b1(tableLineY).x(tmp63_safe_receiver);
|
|
7112
7112
|
}
|
|
7113
7113
|
}
|
|
7114
|
-
var borderLeft = cell.
|
|
7115
|
-
var topBorderHeight = $this.
|
|
7114
|
+
var borderLeft = cell.o59();
|
|
7115
|
+
var topBorderHeight = $this.i5b_1.b1(y) ? 1 : 0;
|
|
7116
7116
|
if (!(borderLeft == null)) {
|
|
7117
7117
|
var tmp;
|
|
7118
|
-
if (x === 0 && get_l_0($this.
|
|
7119
|
-
tmp = Companion_instance_0.
|
|
7118
|
+
if (x === 0 && get_l_0($this.j5b_1) || (x === $this.f5b_1 && get_r_0($this.j5b_1)) || borderLeft || get_r(cellAt($this, x - 1 | 0, y))) {
|
|
7119
|
+
tmp = Companion_instance_0.a55(sectionOfRow($this, y, false).j56_1, $this.c5b_1);
|
|
7120
7120
|
} else {
|
|
7121
7121
|
tmp = get_SINGLE_SPACE();
|
|
7122
7122
|
}
|
|
@@ -7126,7 +7126,7 @@ function drawLeftBorderForColumn($this, x) {
|
|
|
7126
7126
|
do {
|
|
7127
7127
|
var i = inductionVariable;
|
|
7128
7128
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7129
|
-
$this.
|
|
7129
|
+
$this.n5b_1.b1((tableLineY + i | 0) + topBorderHeight | 0).x(border);
|
|
7130
7130
|
}
|
|
7131
7131
|
while (inductionVariable < rowHeight);
|
|
7132
7132
|
}
|
|
@@ -7139,10 +7139,10 @@ function renderCell($this, cell, x, y) {
|
|
|
7139
7139
|
tmp = emptyList();
|
|
7140
7140
|
} else {
|
|
7141
7141
|
if (cell instanceof Empty) {
|
|
7142
|
-
var space = listOf_0(Companion_instance_0.
|
|
7142
|
+
var space = listOf_0(Companion_instance_0.u54($this.g5b_1.b1(x)));
|
|
7143
7143
|
// Inline function 'kotlin.collections.List' call
|
|
7144
7144
|
// Inline function 'kotlin.collections.MutableList' call
|
|
7145
|
-
var size = $this.
|
|
7145
|
+
var size = $this.m5b_1.b1(y);
|
|
7146
7146
|
var list = ArrayList_init_$Create$_0(size);
|
|
7147
7147
|
// Inline function 'kotlin.repeat' call
|
|
7148
7148
|
var inductionVariable = 0;
|
|
@@ -7158,7 +7158,7 @@ function renderCell($this, cell, x, y) {
|
|
|
7158
7158
|
if (cell instanceof Content) {
|
|
7159
7159
|
// Inline function 'kotlin.collections.sumOf' call
|
|
7160
7160
|
var sum = 0;
|
|
7161
|
-
var progression = until(x, x + cell.
|
|
7161
|
+
var progression = until(x, x + cell.z59_1 | 0);
|
|
7162
7162
|
var inductionVariable_0 = progression.q1_1;
|
|
7163
7163
|
var last = progression.r1_1;
|
|
7164
7164
|
if (inductionVariable_0 <= last)
|
|
@@ -7167,11 +7167,11 @@ function renderCell($this, cell, x, y) {
|
|
|
7167
7167
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
7168
7168
|
var tmp_0 = sum;
|
|
7169
7169
|
var it = element;
|
|
7170
|
-
sum = tmp_0 + $this.
|
|
7170
|
+
sum = tmp_0 + $this.g5b_1.b1(it) | 0;
|
|
7171
7171
|
}
|
|
7172
7172
|
while (!(element === last));
|
|
7173
7173
|
var tmp_1 = sum;
|
|
7174
|
-
var tmp0 = until(x + 1 | 0, x + cell.
|
|
7174
|
+
var tmp0 = until(x + 1 | 0, x + cell.z59_1 | 0);
|
|
7175
7175
|
var tmp$ret$7;
|
|
7176
7176
|
$l$block: {
|
|
7177
7177
|
// Inline function 'kotlin.collections.count' call
|
|
@@ -7193,7 +7193,7 @@ function renderCell($this, cell, x, y) {
|
|
|
7193
7193
|
var element_0 = inductionVariable_1;
|
|
7194
7194
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
7195
7195
|
var it_0 = element_0;
|
|
7196
|
-
if ($this.
|
|
7196
|
+
if ($this.h5b_1.b1(it_0 + 1 | 0)) {
|
|
7197
7197
|
count = count + 1 | 0;
|
|
7198
7198
|
checkCountOverflow(count);
|
|
7199
7199
|
}
|
|
@@ -7204,7 +7204,7 @@ function renderCell($this, cell, x, y) {
|
|
|
7204
7204
|
var cellWidth = coerceAtLeast(tmp_1 + tmp$ret$7 | 0, 0);
|
|
7205
7205
|
// Inline function 'kotlin.collections.sumOf' call
|
|
7206
7206
|
var sum_0 = 0;
|
|
7207
|
-
var progression_0 = until(y, y + cell.
|
|
7207
|
+
var progression_0 = until(y, y + cell.y59_1 | 0);
|
|
7208
7208
|
var inductionVariable_2 = progression_0.q1_1;
|
|
7209
7209
|
var last_1 = progression_0.r1_1;
|
|
7210
7210
|
if (inductionVariable_2 <= last_1)
|
|
@@ -7213,11 +7213,11 @@ function renderCell($this, cell, x, y) {
|
|
|
7213
7213
|
inductionVariable_2 = inductionVariable_2 + 1 | 0;
|
|
7214
7214
|
var tmp_3 = sum_0;
|
|
7215
7215
|
var it_1 = element_1;
|
|
7216
|
-
sum_0 = tmp_3 + $this.
|
|
7216
|
+
sum_0 = tmp_3 + $this.m5b_1.b1(it_1) | 0;
|
|
7217
7217
|
}
|
|
7218
7218
|
while (!(element_1 === last_1));
|
|
7219
7219
|
var tmp_4 = sum_0;
|
|
7220
|
-
var tmp0_0 = until(y + 1 | 0, y + cell.
|
|
7220
|
+
var tmp0_0 = until(y + 1 | 0, y + cell.y59_1 | 0);
|
|
7221
7221
|
var tmp$ret$11;
|
|
7222
7222
|
$l$block_0: {
|
|
7223
7223
|
// Inline function 'kotlin.collections.count' call
|
|
@@ -7239,7 +7239,7 @@ function renderCell($this, cell, x, y) {
|
|
|
7239
7239
|
var element_2 = inductionVariable_3;
|
|
7240
7240
|
inductionVariable_3 = inductionVariable_3 + 1 | 0;
|
|
7241
7241
|
var it_2 = element_2;
|
|
7242
|
-
if ($this.
|
|
7242
|
+
if ($this.i5b_1.b1(it_2 + 1 | 0)) {
|
|
7243
7243
|
count_0 = count_0 + 1 | 0;
|
|
7244
7244
|
checkCountOverflow(count_0);
|
|
7245
7245
|
}
|
|
@@ -7248,7 +7248,7 @@ function renderCell($this, cell, x, y) {
|
|
|
7248
7248
|
tmp$ret$11 = count_0;
|
|
7249
7249
|
}
|
|
7250
7250
|
var cellHeight = tmp_4 + tmp$ret$11 | 0;
|
|
7251
|
-
tmp = setSize(cell.
|
|
7251
|
+
tmp = setSize(cell.x59_1.p58($this.k5b_1, cellWidth).r56(cell.e5a_1), cellWidth, cellHeight, cell.g5a_1, cell.f5a_1).d54_1;
|
|
7252
7252
|
} else {
|
|
7253
7253
|
noWhenBranchMatchedException();
|
|
7254
7254
|
}
|
|
@@ -7257,7 +7257,7 @@ function renderCell($this, cell, x, y) {
|
|
|
7257
7257
|
return tmp;
|
|
7258
7258
|
}
|
|
7259
7259
|
function cellAt($this, x, y) {
|
|
7260
|
-
var tmp65_safe_receiver = getOrNull($this.
|
|
7260
|
+
var tmp65_safe_receiver = getOrNull($this.a5b_1, y);
|
|
7261
7261
|
return tmp65_safe_receiver == null ? null : getOrNull(tmp65_safe_receiver, x);
|
|
7262
7262
|
}
|
|
7263
7263
|
function getTopLeftCorner($this, x, y) {
|
|
@@ -7274,69 +7274,69 @@ function getTopLeftCorner($this, x, y) {
|
|
|
7274
7274
|
var tmp_5;
|
|
7275
7275
|
var tmp_6;
|
|
7276
7276
|
if (!(tl == null) || !(tr == null) || !(bl == null) || !(br == null)) {
|
|
7277
|
-
tmp_6 = (tl == null ? null : tl.
|
|
7277
|
+
tmp_6 = (tl == null ? null : tl.q59()) == null;
|
|
7278
7278
|
} else {
|
|
7279
7279
|
tmp_6 = false;
|
|
7280
7280
|
}
|
|
7281
7281
|
if (tmp_6) {
|
|
7282
|
-
tmp_5 = (tr == null ? null : tr.
|
|
7282
|
+
tmp_5 = (tr == null ? null : tr.o59()) == null;
|
|
7283
7283
|
} else {
|
|
7284
7284
|
tmp_5 = false;
|
|
7285
7285
|
}
|
|
7286
7286
|
if (tmp_5) {
|
|
7287
|
-
tmp_4 = (tr == null ? null : tr.
|
|
7287
|
+
tmp_4 = (tr == null ? null : tr.r59()) == null;
|
|
7288
7288
|
} else {
|
|
7289
7289
|
tmp_4 = false;
|
|
7290
7290
|
}
|
|
7291
7291
|
if (tmp_4) {
|
|
7292
|
-
tmp_3 = (br == null ? null : br.
|
|
7292
|
+
tmp_3 = (br == null ? null : br.p59()) == null;
|
|
7293
7293
|
} else {
|
|
7294
7294
|
tmp_3 = false;
|
|
7295
7295
|
}
|
|
7296
7296
|
if (tmp_3) {
|
|
7297
|
-
tmp_2 = (bl == null ? null : bl.
|
|
7297
|
+
tmp_2 = (bl == null ? null : bl.q59()) == null;
|
|
7298
7298
|
} else {
|
|
7299
7299
|
tmp_2 = false;
|
|
7300
7300
|
}
|
|
7301
7301
|
if (tmp_2) {
|
|
7302
|
-
tmp_1 = (br == null ? null : br.
|
|
7302
|
+
tmp_1 = (br == null ? null : br.o59()) == null;
|
|
7303
7303
|
} else {
|
|
7304
7304
|
tmp_1 = false;
|
|
7305
7305
|
}
|
|
7306
7306
|
if (tmp_1) {
|
|
7307
|
-
tmp_0 = (tl == null ? null : tl.
|
|
7307
|
+
tmp_0 = (tl == null ? null : tl.r59()) == null;
|
|
7308
7308
|
} else {
|
|
7309
7309
|
tmp_0 = false;
|
|
7310
7310
|
}
|
|
7311
7311
|
if (tmp_0) {
|
|
7312
|
-
tmp = (bl == null ? null : bl.
|
|
7312
|
+
tmp = (bl == null ? null : bl.p59()) == null;
|
|
7313
7313
|
} else {
|
|
7314
7314
|
tmp = false;
|
|
7315
7315
|
}
|
|
7316
7316
|
if (tmp) {
|
|
7317
7317
|
return null;
|
|
7318
7318
|
}
|
|
7319
|
-
return sectionOfRow($this, y).
|
|
7319
|
+
return sectionOfRow($this, y).p56(get_r(tl) || get_l(tr) || (y > 0 && (x === 0 && get_l_0($this.j5b_1) || (x === $this.f5b_1 && get_r_0($this.j5b_1)))), get_b(tr) || get_t(br) || (x < $this.f5b_1 && (y === 0 && get_t_0($this.j5b_1) || (y === _get_rowCount__xlqfpy($this) && get_b_0($this.j5b_1)))), get_r(bl) || get_l(br) || (y < _get_rowCount__xlqfpy($this) && (x === 0 && get_l_0($this.j5b_1) || (x === $this.f5b_1 && get_r_0($this.j5b_1)))), get_b(tl) || get_t(bl) || (x > 0 && (y === 0 && get_t_0($this.j5b_1) || (y === _get_rowCount__xlqfpy($this) && get_b_0($this.j5b_1)))), $this.c5b_1);
|
|
7320
7320
|
}
|
|
7321
7321
|
function sectionOfRow($this, y, allowBottom) {
|
|
7322
7322
|
allowBottom = allowBottom === VOID ? true : allowBottom;
|
|
7323
|
-
return y < $this.
|
|
7323
|
+
return y < $this.d5b_1 ? $this.b5b_1.u55_1 : allowBottom && $this.d5b_1 > 0 && y === $this.d5b_1 ? $this.b5b_1.v55_1 : allowBottom && $this.e5b_1 > 0 && y === (_get_rowCount__xlqfpy($this) - $this.e5b_1 | 0) ? $this.b5b_1.x55_1 : $this.e5b_1 === 0 || y < (_get_rowCount__xlqfpy($this) - $this.e5b_1 | 0) ? $this.b5b_1.w55_1 : $this.b5b_1.y55_1;
|
|
7324
7324
|
}
|
|
7325
7325
|
function TableRenderer(rows, borderType, borderStyle, headerRowCount, footerRowCount, columnCount, columnWidths, columnBorders, rowBorders, tableBorders, t) {
|
|
7326
|
-
this.
|
|
7327
|
-
this.
|
|
7328
|
-
this.
|
|
7329
|
-
this.
|
|
7330
|
-
this.
|
|
7331
|
-
this.
|
|
7332
|
-
this.
|
|
7333
|
-
this.
|
|
7334
|
-
this.
|
|
7335
|
-
this.
|
|
7336
|
-
this.
|
|
7326
|
+
this.a5b_1 = rows;
|
|
7327
|
+
this.b5b_1 = borderType;
|
|
7328
|
+
this.c5b_1 = borderStyle;
|
|
7329
|
+
this.d5b_1 = headerRowCount;
|
|
7330
|
+
this.e5b_1 = footerRowCount;
|
|
7331
|
+
this.f5b_1 = columnCount;
|
|
7332
|
+
this.g5b_1 = columnWidths;
|
|
7333
|
+
this.h5b_1 = columnBorders;
|
|
7334
|
+
this.i5b_1 = rowBorders;
|
|
7335
|
+
this.j5b_1 = tableBorders;
|
|
7336
|
+
this.k5b_1 = t;
|
|
7337
7337
|
var tmp = this;
|
|
7338
7338
|
// Inline function 'kotlin.collections.map' call
|
|
7339
|
-
var this_0 = this.
|
|
7339
|
+
var this_0 = this.a5b_1;
|
|
7340
7340
|
// Inline function 'kotlin.collections.mapTo' call
|
|
7341
7341
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
7342
7342
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -7356,7 +7356,7 @@ function TableRenderer(rows, borderType, borderStyle, headerRowCount, footerRowC
|
|
|
7356
7356
|
if (item_0 instanceof Content) {
|
|
7357
7357
|
// Inline function 'kotlin.collections.sumOf' call
|
|
7358
7358
|
var sum_0 = 0;
|
|
7359
|
-
var progression = until(x, x + item_0.
|
|
7359
|
+
var progression = until(x, x + item_0.z59_1 | 0);
|
|
7360
7360
|
var inductionVariable = progression.q1_1;
|
|
7361
7361
|
var last = progression.r1_1;
|
|
7362
7362
|
if (inductionVariable <= last)
|
|
@@ -7365,11 +7365,11 @@ function TableRenderer(rows, borderType, borderStyle, headerRowCount, footerRowC
|
|
|
7365
7365
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7366
7366
|
var tmp_1 = sum_0;
|
|
7367
7367
|
var it = element;
|
|
7368
|
-
sum_0 = tmp_1 + this.
|
|
7368
|
+
sum_0 = tmp_1 + this.g5b_1.b1(it) | 0;
|
|
7369
7369
|
}
|
|
7370
7370
|
while (!(element === last));
|
|
7371
7371
|
var w = sum_0;
|
|
7372
|
-
tmp_0 = w === 0 ? get_EMPTY_LINES() : item_0.
|
|
7372
|
+
tmp_0 = w === 0 ? get_EMPTY_LINES() : item_0.x59_1.p58(this.k5b_1, w).r56(item_0.e5a_1);
|
|
7373
7373
|
} else {
|
|
7374
7374
|
tmp_0 = get_EMPTY_LINES();
|
|
7375
7375
|
}
|
|
@@ -7378,10 +7378,10 @@ function TableRenderer(rows, borderType, borderStyle, headerRowCount, footerRowC
|
|
|
7378
7378
|
}
|
|
7379
7379
|
destination.x(destination_0);
|
|
7380
7380
|
}
|
|
7381
|
-
tmp.
|
|
7381
|
+
tmp.l5b_1 = destination;
|
|
7382
7382
|
var tmp_2 = this;
|
|
7383
7383
|
// Inline function 'kotlin.collections.mapIndexed' call
|
|
7384
|
-
var this_1 = this.
|
|
7384
|
+
var this_1 = this.l5b_1;
|
|
7385
7385
|
// Inline function 'kotlin.collections.mapIndexedTo' call
|
|
7386
7386
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
7387
7387
|
var index_0 = 0;
|
|
@@ -7403,17 +7403,17 @@ function TableRenderer(rows, borderType, borderStyle, headerRowCount, footerRowC
|
|
|
7403
7403
|
var destruct = iterator.v();
|
|
7404
7404
|
var x_0 = destruct.af();
|
|
7405
7405
|
var it_0 = destruct.bf();
|
|
7406
|
-
var tmp_3 = it_0.
|
|
7406
|
+
var tmp_3 = it_0.q56();
|
|
7407
7407
|
var tmp59_safe_receiver = cellAt(this, x_0, y);
|
|
7408
|
-
var tmp0_elvis_lhs = tmp59_safe_receiver == null ? null : tmp59_safe_receiver.
|
|
7408
|
+
var tmp0_elvis_lhs = tmp59_safe_receiver == null ? null : tmp59_safe_receiver.n59();
|
|
7409
7409
|
var maxValue = tmp_3 / (tmp0_elvis_lhs == null ? 1 : tmp0_elvis_lhs) | 0;
|
|
7410
7410
|
while (iterator.u()) {
|
|
7411
7411
|
var destruct_0 = iterator.v();
|
|
7412
7412
|
var x_1 = destruct_0.af();
|
|
7413
7413
|
var it_1 = destruct_0.bf();
|
|
7414
|
-
var tmp_4 = it_1.
|
|
7414
|
+
var tmp_4 = it_1.q56();
|
|
7415
7415
|
var tmp59_safe_receiver_0 = cellAt(this, x_1, y);
|
|
7416
|
-
var tmp0_elvis_lhs_0 = tmp59_safe_receiver_0 == null ? null : tmp59_safe_receiver_0.
|
|
7416
|
+
var tmp0_elvis_lhs_0 = tmp59_safe_receiver_0 == null ? null : tmp59_safe_receiver_0.n59();
|
|
7417
7417
|
var v = tmp_4 / (tmp0_elvis_lhs_0 == null ? 1 : tmp0_elvis_lhs_0) | 0;
|
|
7418
7418
|
if (compareTo(maxValue, v) < 0) {
|
|
7419
7419
|
maxValue = v;
|
|
@@ -7426,10 +7426,10 @@ function TableRenderer(rows, borderType, borderStyle, headerRowCount, footerRowC
|
|
|
7426
7426
|
var tmp$ret$10 = tmp0_elvis_lhs_1 == null ? 1 : tmp0_elvis_lhs_1;
|
|
7427
7427
|
destination_1.x(tmp$ret$10);
|
|
7428
7428
|
}
|
|
7429
|
-
tmp_2.
|
|
7429
|
+
tmp_2.m5b_1 = destination_1;
|
|
7430
7430
|
var tmp_5 = this;
|
|
7431
|
-
var tmp_6 = sum(this.
|
|
7432
|
-
var tmp0_0 = this.
|
|
7431
|
+
var tmp_6 = sum(this.m5b_1);
|
|
7432
|
+
var tmp0_0 = this.i5b_1;
|
|
7433
7433
|
var tmp$ret$14;
|
|
7434
7434
|
$l$block_0: {
|
|
7435
7435
|
// Inline function 'kotlin.collections.count' call
|
|
@@ -7468,37 +7468,37 @@ function TableRenderer(rows, borderType, borderStyle, headerRowCount, footerRowC
|
|
|
7468
7468
|
list.x(tmp$ret$19);
|
|
7469
7469
|
}
|
|
7470
7470
|
while (inductionVariable_0 < size);
|
|
7471
|
-
tmp_5.
|
|
7471
|
+
tmp_5.n5b_1 = list;
|
|
7472
7472
|
}
|
|
7473
|
-
protoOf(TableRenderer).
|
|
7473
|
+
protoOf(TableRenderer).o5b = function () {
|
|
7474
7474
|
var inductionVariable = 0;
|
|
7475
|
-
var last = this.
|
|
7475
|
+
var last = this.g5b_1.c1() - 1 | 0;
|
|
7476
7476
|
if (inductionVariable <= last)
|
|
7477
7477
|
do {
|
|
7478
7478
|
var x = inductionVariable;
|
|
7479
7479
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7480
7480
|
drawLeftBorderForColumn(this, x);
|
|
7481
|
-
var colWidth = this.
|
|
7481
|
+
var colWidth = this.g5b_1.b1(x);
|
|
7482
7482
|
var tableLineY = 0;
|
|
7483
|
-
var iterator = this.
|
|
7483
|
+
var iterator = this.a5b_1.t();
|
|
7484
7484
|
var index = 0;
|
|
7485
7485
|
while (iterator.u()) {
|
|
7486
7486
|
var y = index;
|
|
7487
7487
|
index = index + 1 | 0;
|
|
7488
7488
|
var row = iterator.v();
|
|
7489
|
-
var rowHeight = this.
|
|
7489
|
+
var rowHeight = this.m5b_1.b1(y);
|
|
7490
7490
|
var tmp0_elvis_lhs = getOrNull(row, x);
|
|
7491
7491
|
var cell = tmp0_elvis_lhs == null ? Empty_getInstance() : tmp0_elvis_lhs;
|
|
7492
|
-
tableLineY = tableLineY + drawTopBorderForCell(this, tableLineY, x, y, colWidth, cell.
|
|
7492
|
+
tableLineY = tableLineY + drawTopBorderForCell(this, tableLineY, x, y, colWidth, cell.p59()) | 0;
|
|
7493
7493
|
drawCellContent(this, tableLineY, cell, x, y);
|
|
7494
7494
|
tableLineY = tableLineY + rowHeight | 0;
|
|
7495
7495
|
}
|
|
7496
7496
|
}
|
|
7497
7497
|
while (inductionVariable <= last);
|
|
7498
|
-
drawLeftBorderForColumn(this, this.
|
|
7498
|
+
drawLeftBorderForColumn(this, this.f5b_1);
|
|
7499
7499
|
drawBottomBorder(this);
|
|
7500
7500
|
// Inline function 'kotlin.collections.map' call
|
|
7501
|
-
var this_0 = this.
|
|
7501
|
+
var this_0 = this.n5b_1;
|
|
7502
7502
|
// Inline function 'kotlin.collections.mapTo' call
|
|
7503
7503
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
7504
7504
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -7510,16 +7510,16 @@ protoOf(TableRenderer).b5c = function () {
|
|
|
7510
7510
|
return new Lines(destination);
|
|
7511
7511
|
};
|
|
7512
7512
|
function get_t_0(_this__u8e3s4) {
|
|
7513
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7513
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.k59_1) === true;
|
|
7514
7514
|
}
|
|
7515
7515
|
function get_b_0(_this__u8e3s4) {
|
|
7516
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7516
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.m59_1) === true;
|
|
7517
7517
|
}
|
|
7518
7518
|
function get_l_0(_this__u8e3s4) {
|
|
7519
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7519
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.j59_1) === true;
|
|
7520
7520
|
}
|
|
7521
7521
|
function get_r_0(_this__u8e3s4) {
|
|
7522
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7522
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.l59_1) === true;
|
|
7523
7523
|
}
|
|
7524
7524
|
function verticalLayout(init) {
|
|
7525
7525
|
// Inline function 'kotlin.apply' call
|
|
@@ -7537,7 +7537,7 @@ function LinearLayoutBuilder() {
|
|
|
7537
7537
|
}
|
|
7538
7538
|
function Companion_2() {
|
|
7539
7539
|
Companion_instance_2 = this;
|
|
7540
|
-
this.
|
|
7540
|
+
this.y5b_1 = new ColumnWidth(2);
|
|
7541
7541
|
}
|
|
7542
7542
|
var Companion_instance_2;
|
|
7543
7543
|
function Companion_getInstance_3() {
|
|
@@ -7549,32 +7549,32 @@ function ColumnWidth(priority, width, expandWeight) {
|
|
|
7549
7549
|
Companion_getInstance_3();
|
|
7550
7550
|
width = width === VOID ? null : width;
|
|
7551
7551
|
expandWeight = expandWeight === VOID ? null : expandWeight;
|
|
7552
|
-
this.
|
|
7553
|
-
this.
|
|
7554
|
-
this.
|
|
7552
|
+
this.j5a_1 = priority;
|
|
7553
|
+
this.k5a_1 = width;
|
|
7554
|
+
this.l5a_1 = expandWeight;
|
|
7555
7555
|
// Inline function 'kotlin.require' call
|
|
7556
|
-
if (!(this.
|
|
7556
|
+
if (!(this.k5a_1 == null || this.k5a_1 > 0)) {
|
|
7557
7557
|
var message = 'width must be greater than zero';
|
|
7558
7558
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
7559
7559
|
}
|
|
7560
7560
|
// Inline function 'kotlin.require' call
|
|
7561
|
-
if (!(this.
|
|
7561
|
+
if (!(this.l5a_1 == null || this.l5a_1 > 0.0)) {
|
|
7562
7562
|
var message_0 = 'expandWeight must be greater than zero';
|
|
7563
7563
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
7564
7564
|
}
|
|
7565
7565
|
// Inline function 'kotlin.require' call
|
|
7566
|
-
if (!(this.
|
|
7566
|
+
if (!(this.k5a_1 == null || this.l5a_1 == null)) {
|
|
7567
7567
|
var message_1 = 'Cannot set both width and expandWeight';
|
|
7568
7568
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
7569
7569
|
}
|
|
7570
7570
|
}
|
|
7571
7571
|
protoOf(ColumnWidth).toString = function () {
|
|
7572
|
-
return get_isAuto(this) ? 'Auto' : get_isExpand(this) ? 'Expand(' + this.
|
|
7572
|
+
return get_isAuto(this) ? 'Auto' : get_isExpand(this) ? 'Expand(' + this.l5a_1 + ')' : get_isFixed(this) ? 'Fixed(' + this.k5a_1 + ')' : 'Custom(width=' + this.k5a_1 + ', expandWeight=' + this.l5a_1 + ', priority=' + this.j5a_1 + ')';
|
|
7573
7573
|
};
|
|
7574
7574
|
protoOf(ColumnWidth).hashCode = function () {
|
|
7575
|
-
var result = this.
|
|
7576
|
-
result = imul(result, 31) + (this.
|
|
7577
|
-
result = imul(result, 31) + (this.
|
|
7575
|
+
var result = this.j5a_1;
|
|
7576
|
+
result = imul(result, 31) + (this.k5a_1 == null ? 0 : this.k5a_1) | 0;
|
|
7577
|
+
result = imul(result, 31) + (this.l5a_1 == null ? 0 : getNumberHashCode(this.l5a_1)) | 0;
|
|
7578
7578
|
return result;
|
|
7579
7579
|
};
|
|
7580
7580
|
protoOf(ColumnWidth).equals = function (other) {
|
|
@@ -7583,146 +7583,146 @@ protoOf(ColumnWidth).equals = function (other) {
|
|
|
7583
7583
|
if (!(other instanceof ColumnWidth))
|
|
7584
7584
|
return false;
|
|
7585
7585
|
var tmp0_other_with_cast = other instanceof ColumnWidth ? other : THROW_CCE();
|
|
7586
|
-
if (!(this.
|
|
7586
|
+
if (!(this.j5a_1 === tmp0_other_with_cast.j5a_1))
|
|
7587
7587
|
return false;
|
|
7588
|
-
if (!(this.
|
|
7588
|
+
if (!(this.k5a_1 == tmp0_other_with_cast.k5a_1))
|
|
7589
7589
|
return false;
|
|
7590
|
-
if (!equals(this.
|
|
7590
|
+
if (!equals(this.l5a_1, tmp0_other_with_cast.l5a_1))
|
|
7591
7591
|
return false;
|
|
7592
7592
|
return true;
|
|
7593
7593
|
};
|
|
7594
7594
|
function get_isAuto(_this__u8e3s4) {
|
|
7595
|
-
return _this__u8e3s4.
|
|
7595
|
+
return _this__u8e3s4.k5a_1 == null && _this__u8e3s4.l5a_1 == null;
|
|
7596
7596
|
}
|
|
7597
7597
|
function get_isExpand(_this__u8e3s4) {
|
|
7598
|
-
return !(_this__u8e3s4.
|
|
7598
|
+
return !(_this__u8e3s4.l5a_1 == null);
|
|
7599
7599
|
}
|
|
7600
7600
|
function get_isFixed(_this__u8e3s4) {
|
|
7601
|
-
return !(_this__u8e3s4.
|
|
7601
|
+
return !(_this__u8e3s4.k5a_1 == null);
|
|
7602
7602
|
}
|
|
7603
7603
|
function CellStyleBuilder() {
|
|
7604
7604
|
}
|
|
7605
7605
|
function VerticalLayoutBuilderInstance(tableBuilder) {
|
|
7606
7606
|
tableBuilder = tableBuilder === VOID ? new TableBuilderInstance() : tableBuilder;
|
|
7607
|
-
this.
|
|
7608
|
-
this.
|
|
7609
|
-
this.
|
|
7610
|
-
this.
|
|
7607
|
+
this.p5b_1 = tableBuilder;
|
|
7608
|
+
this.q5b_1 = this.p5b_1.p5c_1;
|
|
7609
|
+
this.r5b_1 = Companion_getInstance_3().y5b_1;
|
|
7610
|
+
this.s5b_1 = 0;
|
|
7611
7611
|
}
|
|
7612
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7613
|
-
return this.
|
|
7612
|
+
protoOf(VerticalLayoutBuilderInstance).e5c = function () {
|
|
7613
|
+
return this.p5b_1.e5c();
|
|
7614
7614
|
};
|
|
7615
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7616
|
-
return this.
|
|
7615
|
+
protoOf(VerticalLayoutBuilderInstance).f5c = function () {
|
|
7616
|
+
return this.p5b_1.f5c();
|
|
7617
7617
|
};
|
|
7618
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7619
|
-
return this.
|
|
7618
|
+
protoOf(VerticalLayoutBuilderInstance).g5c = function () {
|
|
7619
|
+
return this.p5b_1.g5c();
|
|
7620
7620
|
};
|
|
7621
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7622
|
-
return this.
|
|
7621
|
+
protoOf(VerticalLayoutBuilderInstance).h5c = function () {
|
|
7622
|
+
return this.p5b_1.h5c();
|
|
7623
7623
|
};
|
|
7624
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7625
|
-
this.
|
|
7624
|
+
protoOf(VerticalLayoutBuilderInstance).x5b = function (_set____db54di) {
|
|
7625
|
+
this.s5b_1 = _set____db54di;
|
|
7626
7626
|
};
|
|
7627
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7627
|
+
protoOf(VerticalLayoutBuilderInstance).t5b = function (cells, init) {
|
|
7628
7628
|
// Inline function 'kotlin.collections.forEach' call
|
|
7629
7629
|
var _iterator__ex2g4s = cells.t();
|
|
7630
7630
|
while (_iterator__ex2g4s.u()) {
|
|
7631
7631
|
var element = _iterator__ex2g4s.v();
|
|
7632
|
-
this.
|
|
7632
|
+
this.q5b_1.x5c([element], init);
|
|
7633
7633
|
}
|
|
7634
7634
|
};
|
|
7635
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7636
|
-
this.
|
|
7635
|
+
protoOf(VerticalLayoutBuilderInstance).v5b = function (content, init) {
|
|
7636
|
+
this.q5b_1.x5c([content], init);
|
|
7637
7637
|
};
|
|
7638
7638
|
protoOf(VerticalLayoutBuilderInstance).v13 = function () {
|
|
7639
|
-
return Companion_instance_3.
|
|
7639
|
+
return Companion_instance_3.y5c(this.p5b_1, this.s5b_1, this.r5b_1);
|
|
7640
7640
|
};
|
|
7641
7641
|
function TableBuilderInstance() {
|
|
7642
|
-
this.
|
|
7643
|
-
this.
|
|
7644
|
-
this.
|
|
7645
|
-
this.
|
|
7646
|
-
this.
|
|
7642
|
+
this.i5c_1 = new CellStyleBuilderMixin();
|
|
7643
|
+
this.j5c_1 = Companion_getInstance_0().j55_1;
|
|
7644
|
+
this.k5c_1 = get_DEFAULT_STYLE();
|
|
7645
|
+
this.l5c_1 = null;
|
|
7646
|
+
this.m5c_1 = true;
|
|
7647
7647
|
var tmp = this;
|
|
7648
7648
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7649
|
-
tmp.
|
|
7650
|
-
this.
|
|
7651
|
-
this.
|
|
7652
|
-
this.
|
|
7653
|
-
this.
|
|
7654
|
-
this.
|
|
7649
|
+
tmp.n5c_1 = LinkedHashMap_init_$Create$();
|
|
7650
|
+
this.o5c_1 = new SectionBuilderInstance();
|
|
7651
|
+
this.p5c_1 = new SectionBuilderInstance();
|
|
7652
|
+
this.q5c_1 = new SectionBuilderInstance();
|
|
7653
|
+
this.r5c_1 = null;
|
|
7654
|
+
this.s5c_1 = null;
|
|
7655
7655
|
}
|
|
7656
|
-
protoOf(TableBuilderInstance).
|
|
7657
|
-
this.
|
|
7656
|
+
protoOf(TableBuilderInstance).d5c = function (all) {
|
|
7657
|
+
this.i5c_1.d5c(all);
|
|
7658
7658
|
};
|
|
7659
|
-
protoOf(TableBuilderInstance).
|
|
7660
|
-
this.
|
|
7659
|
+
protoOf(TableBuilderInstance).z5c = function (_set____db54di) {
|
|
7660
|
+
this.i5c_1.c5d_1 = _set____db54di;
|
|
7661
7661
|
};
|
|
7662
|
-
protoOf(TableBuilderInstance).
|
|
7663
|
-
return this.
|
|
7662
|
+
protoOf(TableBuilderInstance).z5b = function () {
|
|
7663
|
+
return this.i5c_1.c5d_1;
|
|
7664
7664
|
};
|
|
7665
|
-
protoOf(TableBuilderInstance).
|
|
7666
|
-
return this.
|
|
7665
|
+
protoOf(TableBuilderInstance).a5c = function () {
|
|
7666
|
+
return this.i5c_1.f5d_1;
|
|
7667
7667
|
};
|
|
7668
|
-
protoOf(TableBuilderInstance).
|
|
7669
|
-
this.
|
|
7668
|
+
protoOf(TableBuilderInstance).b5c = function (_set____db54di) {
|
|
7669
|
+
this.i5c_1.a5d_1 = _set____db54di;
|
|
7670
7670
|
};
|
|
7671
|
-
protoOf(TableBuilderInstance).
|
|
7672
|
-
return this.
|
|
7671
|
+
protoOf(TableBuilderInstance).c5c = function () {
|
|
7672
|
+
return this.i5c_1.a5d_1;
|
|
7673
7673
|
};
|
|
7674
|
-
protoOf(TableBuilderInstance).
|
|
7675
|
-
return this.
|
|
7674
|
+
protoOf(TableBuilderInstance).e5c = function () {
|
|
7675
|
+
return this.i5c_1.b5d_1;
|
|
7676
7676
|
};
|
|
7677
|
-
protoOf(TableBuilderInstance).
|
|
7678
|
-
return this.
|
|
7677
|
+
protoOf(TableBuilderInstance).f5c = function () {
|
|
7678
|
+
return this.i5c_1.d5d_1;
|
|
7679
7679
|
};
|
|
7680
|
-
protoOf(TableBuilderInstance).
|
|
7681
|
-
return this.
|
|
7680
|
+
protoOf(TableBuilderInstance).g5c = function () {
|
|
7681
|
+
return this.i5c_1.e5d_1;
|
|
7682
7682
|
};
|
|
7683
|
-
protoOf(TableBuilderInstance).
|
|
7684
|
-
return this.
|
|
7683
|
+
protoOf(TableBuilderInstance).h5c = function () {
|
|
7684
|
+
return this.i5c_1.g5d_1;
|
|
7685
7685
|
};
|
|
7686
7686
|
function SectionBuilderInstance() {
|
|
7687
|
-
this.
|
|
7687
|
+
this.t5c_1 = new CellStyleBuilderMixin();
|
|
7688
7688
|
var tmp = this;
|
|
7689
7689
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7690
|
-
tmp.
|
|
7690
|
+
tmp.u5c_1 = ArrayList_init_$Create$();
|
|
7691
7691
|
var tmp_0 = this;
|
|
7692
7692
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7693
|
-
tmp_0.
|
|
7693
|
+
tmp_0.v5c_1 = LinkedHashMap_init_$Create$();
|
|
7694
7694
|
var tmp_1 = this;
|
|
7695
7695
|
// Inline function 'kotlin.collections.listOf' call
|
|
7696
|
-
tmp_1.
|
|
7696
|
+
tmp_1.w5c_1 = emptyList();
|
|
7697
7697
|
}
|
|
7698
|
-
protoOf(SectionBuilderInstance).
|
|
7699
|
-
this.
|
|
7698
|
+
protoOf(SectionBuilderInstance).d5c = function (all) {
|
|
7699
|
+
this.t5c_1.d5c(all);
|
|
7700
7700
|
};
|
|
7701
|
-
protoOf(SectionBuilderInstance).
|
|
7702
|
-
return this.
|
|
7701
|
+
protoOf(SectionBuilderInstance).z5b = function () {
|
|
7702
|
+
return this.t5c_1.c5d_1;
|
|
7703
7703
|
};
|
|
7704
|
-
protoOf(SectionBuilderInstance).
|
|
7705
|
-
return this.
|
|
7704
|
+
protoOf(SectionBuilderInstance).a5c = function () {
|
|
7705
|
+
return this.t5c_1.f5d_1;
|
|
7706
7706
|
};
|
|
7707
|
-
protoOf(SectionBuilderInstance).
|
|
7708
|
-
this.
|
|
7707
|
+
protoOf(SectionBuilderInstance).b5c = function (_set____db54di) {
|
|
7708
|
+
this.t5c_1.a5d_1 = _set____db54di;
|
|
7709
7709
|
};
|
|
7710
|
-
protoOf(SectionBuilderInstance).
|
|
7711
|
-
return this.
|
|
7710
|
+
protoOf(SectionBuilderInstance).c5c = function () {
|
|
7711
|
+
return this.t5c_1.a5d_1;
|
|
7712
7712
|
};
|
|
7713
|
-
protoOf(SectionBuilderInstance).
|
|
7714
|
-
return this.
|
|
7713
|
+
protoOf(SectionBuilderInstance).e5c = function () {
|
|
7714
|
+
return this.t5c_1.b5d_1;
|
|
7715
7715
|
};
|
|
7716
|
-
protoOf(SectionBuilderInstance).
|
|
7717
|
-
return this.
|
|
7716
|
+
protoOf(SectionBuilderInstance).f5c = function () {
|
|
7717
|
+
return this.t5c_1.d5d_1;
|
|
7718
7718
|
};
|
|
7719
|
-
protoOf(SectionBuilderInstance).
|
|
7720
|
-
return this.
|
|
7719
|
+
protoOf(SectionBuilderInstance).g5c = function () {
|
|
7720
|
+
return this.t5c_1.e5d_1;
|
|
7721
7721
|
};
|
|
7722
|
-
protoOf(SectionBuilderInstance).
|
|
7723
|
-
return this.g5d_1
|
|
7722
|
+
protoOf(SectionBuilderInstance).h5c = function () {
|
|
7723
|
+
return this.t5c_1.g5d_1;
|
|
7724
7724
|
};
|
|
7725
|
-
protoOf(SectionBuilderInstance).
|
|
7725
|
+
protoOf(SectionBuilderInstance).h5d = function (cells, init) {
|
|
7726
7726
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7727
7727
|
// Inline function 'kotlin.collections.mapTo' call
|
|
7728
7728
|
var destination = ArrayList_init_$Create$();
|
|
@@ -7733,122 +7733,122 @@ protoOf(SectionBuilderInstance).u5d = function (cells, init) {
|
|
|
7733
7733
|
destination.x(tmp$ret$2);
|
|
7734
7734
|
}
|
|
7735
7735
|
var cellBuilders = destination;
|
|
7736
|
-
var tmp0 = this.
|
|
7736
|
+
var tmp0 = this.u5c_1;
|
|
7737
7737
|
// Inline function 'kotlin.apply' call
|
|
7738
7738
|
var this_0 = new RowBuilderInstance(cellBuilders);
|
|
7739
7739
|
init(this_0);
|
|
7740
7740
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7741
7741
|
tmp0.x(this_0);
|
|
7742
7742
|
};
|
|
7743
|
-
protoOf(SectionBuilderInstance).
|
|
7744
|
-
this.
|
|
7743
|
+
protoOf(SectionBuilderInstance).x5c = function (cells, init) {
|
|
7744
|
+
this.h5d(asList(cells), init);
|
|
7745
7745
|
};
|
|
7746
7746
|
function CellStyleBuilderMixin() {
|
|
7747
|
-
this.
|
|
7748
|
-
this.
|
|
7749
|
-
this.
|
|
7750
|
-
this.
|
|
7751
|
-
this.
|
|
7752
|
-
this.
|
|
7753
|
-
this.
|
|
7747
|
+
this.a5d_1 = null;
|
|
7748
|
+
this.b5d_1 = null;
|
|
7749
|
+
this.c5d_1 = null;
|
|
7750
|
+
this.d5d_1 = null;
|
|
7751
|
+
this.e5d_1 = null;
|
|
7752
|
+
this.f5d_1 = null;
|
|
7753
|
+
this.g5d_1 = null;
|
|
7754
7754
|
}
|
|
7755
|
-
protoOf(CellStyleBuilderMixin).
|
|
7756
|
-
this.
|
|
7755
|
+
protoOf(CellStyleBuilderMixin).b5c = function (_set____db54di) {
|
|
7756
|
+
this.a5d_1 = _set____db54di;
|
|
7757
7757
|
};
|
|
7758
|
-
protoOf(CellStyleBuilderMixin).
|
|
7759
|
-
return this.
|
|
7758
|
+
protoOf(CellStyleBuilderMixin).c5c = function () {
|
|
7759
|
+
return this.a5d_1;
|
|
7760
7760
|
};
|
|
7761
|
-
protoOf(CellStyleBuilderMixin).
|
|
7762
|
-
return this.
|
|
7761
|
+
protoOf(CellStyleBuilderMixin).e5c = function () {
|
|
7762
|
+
return this.b5d_1;
|
|
7763
7763
|
};
|
|
7764
|
-
protoOf(CellStyleBuilderMixin).
|
|
7765
|
-
return this.
|
|
7764
|
+
protoOf(CellStyleBuilderMixin).z5b = function () {
|
|
7765
|
+
return this.c5d_1;
|
|
7766
7766
|
};
|
|
7767
|
-
protoOf(CellStyleBuilderMixin).
|
|
7768
|
-
return this.
|
|
7767
|
+
protoOf(CellStyleBuilderMixin).f5c = function () {
|
|
7768
|
+
return this.d5d_1;
|
|
7769
7769
|
};
|
|
7770
|
-
protoOf(CellStyleBuilderMixin).
|
|
7771
|
-
return this.
|
|
7770
|
+
protoOf(CellStyleBuilderMixin).g5c = function () {
|
|
7771
|
+
return this.e5d_1;
|
|
7772
7772
|
};
|
|
7773
|
-
protoOf(CellStyleBuilderMixin).
|
|
7774
|
-
return this.
|
|
7773
|
+
protoOf(CellStyleBuilderMixin).a5c = function () {
|
|
7774
|
+
return this.f5d_1;
|
|
7775
7775
|
};
|
|
7776
|
-
protoOf(CellStyleBuilderMixin).
|
|
7777
|
-
return this.
|
|
7776
|
+
protoOf(CellStyleBuilderMixin).h5c = function () {
|
|
7777
|
+
return this.g5d_1;
|
|
7778
7778
|
};
|
|
7779
7779
|
function RowBuilderInstance(cells) {
|
|
7780
|
-
this.
|
|
7781
|
-
this.
|
|
7780
|
+
this.i5d_1 = new CellStyleBuilderMixin();
|
|
7781
|
+
this.j5d_1 = cells;
|
|
7782
7782
|
}
|
|
7783
|
-
protoOf(RowBuilderInstance).
|
|
7784
|
-
this.
|
|
7783
|
+
protoOf(RowBuilderInstance).d5c = function (all) {
|
|
7784
|
+
this.i5d_1.d5c(all);
|
|
7785
7785
|
};
|
|
7786
|
-
protoOf(RowBuilderInstance).
|
|
7787
|
-
return this.
|
|
7786
|
+
protoOf(RowBuilderInstance).z5b = function () {
|
|
7787
|
+
return this.i5d_1.c5d_1;
|
|
7788
7788
|
};
|
|
7789
|
-
protoOf(RowBuilderInstance).
|
|
7790
|
-
return this.
|
|
7789
|
+
protoOf(RowBuilderInstance).a5c = function () {
|
|
7790
|
+
return this.i5d_1.f5d_1;
|
|
7791
7791
|
};
|
|
7792
|
-
protoOf(RowBuilderInstance).
|
|
7793
|
-
this.
|
|
7792
|
+
protoOf(RowBuilderInstance).b5c = function (_set____db54di) {
|
|
7793
|
+
this.i5d_1.a5d_1 = _set____db54di;
|
|
7794
7794
|
};
|
|
7795
|
-
protoOf(RowBuilderInstance).
|
|
7796
|
-
return this.
|
|
7795
|
+
protoOf(RowBuilderInstance).c5c = function () {
|
|
7796
|
+
return this.i5d_1.a5d_1;
|
|
7797
7797
|
};
|
|
7798
|
-
protoOf(RowBuilderInstance).
|
|
7799
|
-
return this.
|
|
7798
|
+
protoOf(RowBuilderInstance).e5c = function () {
|
|
7799
|
+
return this.i5d_1.b5d_1;
|
|
7800
7800
|
};
|
|
7801
|
-
protoOf(RowBuilderInstance).
|
|
7802
|
-
return this.
|
|
7801
|
+
protoOf(RowBuilderInstance).f5c = function () {
|
|
7802
|
+
return this.i5d_1.d5d_1;
|
|
7803
7803
|
};
|
|
7804
|
-
protoOf(RowBuilderInstance).
|
|
7805
|
-
return this.
|
|
7804
|
+
protoOf(RowBuilderInstance).g5c = function () {
|
|
7805
|
+
return this.i5d_1.e5d_1;
|
|
7806
7806
|
};
|
|
7807
|
-
protoOf(RowBuilderInstance).
|
|
7808
|
-
return this.
|
|
7807
|
+
protoOf(RowBuilderInstance).h5c = function () {
|
|
7808
|
+
return this.i5d_1.g5d_1;
|
|
7809
7809
|
};
|
|
7810
7810
|
function CellBuilderInstance(content) {
|
|
7811
|
-
this.
|
|
7812
|
-
this.
|
|
7813
|
-
this.
|
|
7814
|
-
this.
|
|
7811
|
+
this.k5d_1 = new CellStyleBuilderMixin();
|
|
7812
|
+
this.l5d_1 = content;
|
|
7813
|
+
this.m5d_1 = 1;
|
|
7814
|
+
this.n5d_1 = 1;
|
|
7815
7815
|
}
|
|
7816
|
-
protoOf(CellBuilderInstance).
|
|
7817
|
-
this.
|
|
7816
|
+
protoOf(CellBuilderInstance).d5c = function (all) {
|
|
7817
|
+
this.k5d_1.d5c(all);
|
|
7818
7818
|
};
|
|
7819
|
-
protoOf(CellBuilderInstance).
|
|
7820
|
-
return this.
|
|
7819
|
+
protoOf(CellBuilderInstance).z5b = function () {
|
|
7820
|
+
return this.k5d_1.c5d_1;
|
|
7821
7821
|
};
|
|
7822
|
-
protoOf(CellBuilderInstance).
|
|
7823
|
-
return this.
|
|
7822
|
+
protoOf(CellBuilderInstance).a5c = function () {
|
|
7823
|
+
return this.k5d_1.f5d_1;
|
|
7824
7824
|
};
|
|
7825
|
-
protoOf(CellBuilderInstance).
|
|
7826
|
-
this.
|
|
7825
|
+
protoOf(CellBuilderInstance).b5c = function (_set____db54di) {
|
|
7826
|
+
this.k5d_1.a5d_1 = _set____db54di;
|
|
7827
7827
|
};
|
|
7828
|
-
protoOf(CellBuilderInstance).
|
|
7829
|
-
return this.
|
|
7828
|
+
protoOf(CellBuilderInstance).c5c = function () {
|
|
7829
|
+
return this.k5d_1.a5d_1;
|
|
7830
7830
|
};
|
|
7831
|
-
protoOf(CellBuilderInstance).
|
|
7832
|
-
return this.
|
|
7831
|
+
protoOf(CellBuilderInstance).e5c = function () {
|
|
7832
|
+
return this.k5d_1.b5d_1;
|
|
7833
7833
|
};
|
|
7834
|
-
protoOf(CellBuilderInstance).
|
|
7835
|
-
return this.
|
|
7834
|
+
protoOf(CellBuilderInstance).f5c = function () {
|
|
7835
|
+
return this.k5d_1.d5d_1;
|
|
7836
7836
|
};
|
|
7837
|
-
protoOf(CellBuilderInstance).
|
|
7838
|
-
return this.
|
|
7837
|
+
protoOf(CellBuilderInstance).g5c = function () {
|
|
7838
|
+
return this.k5d_1.e5d_1;
|
|
7839
7839
|
};
|
|
7840
|
-
protoOf(CellBuilderInstance).
|
|
7841
|
-
return this.
|
|
7840
|
+
protoOf(CellBuilderInstance).h5c = function () {
|
|
7841
|
+
return this.k5d_1.g5d_1;
|
|
7842
7842
|
};
|
|
7843
7843
|
function WidgetContent(widget) {
|
|
7844
7844
|
CellContent.call(this);
|
|
7845
|
-
this.
|
|
7845
|
+
this.o5d_1 = widget;
|
|
7846
7846
|
}
|
|
7847
7847
|
protoOf(WidgetContent).toString = function () {
|
|
7848
|
-
return 'WidgetContent(widget=' + toString(this.
|
|
7848
|
+
return 'WidgetContent(widget=' + toString(this.o5d_1) + ')';
|
|
7849
7849
|
};
|
|
7850
7850
|
protoOf(WidgetContent).hashCode = function () {
|
|
7851
|
-
return hashCode(this.
|
|
7851
|
+
return hashCode(this.o5d_1);
|
|
7852
7852
|
};
|
|
7853
7853
|
protoOf(WidgetContent).equals = function (other) {
|
|
7854
7854
|
if (this === other)
|
|
@@ -7856,19 +7856,19 @@ protoOf(WidgetContent).equals = function (other) {
|
|
|
7856
7856
|
if (!(other instanceof WidgetContent))
|
|
7857
7857
|
return false;
|
|
7858
7858
|
var tmp0_other_with_cast = other instanceof WidgetContent ? other : THROW_CCE();
|
|
7859
|
-
if (!equals(this.
|
|
7859
|
+
if (!equals(this.o5d_1, tmp0_other_with_cast.o5d_1))
|
|
7860
7860
|
return false;
|
|
7861
7861
|
return true;
|
|
7862
7862
|
};
|
|
7863
7863
|
function TextContent(text) {
|
|
7864
7864
|
CellContent.call(this);
|
|
7865
|
-
this.
|
|
7865
|
+
this.p5d_1 = text;
|
|
7866
7866
|
}
|
|
7867
7867
|
protoOf(TextContent).toString = function () {
|
|
7868
|
-
return 'TextContent(text=' + this.
|
|
7868
|
+
return 'TextContent(text=' + this.p5d_1 + ')';
|
|
7869
7869
|
};
|
|
7870
7870
|
protoOf(TextContent).hashCode = function () {
|
|
7871
|
-
return getStringHashCode(this.
|
|
7871
|
+
return getStringHashCode(this.p5d_1);
|
|
7872
7872
|
};
|
|
7873
7873
|
protoOf(TextContent).equals = function (other) {
|
|
7874
7874
|
if (this === other)
|
|
@@ -7876,7 +7876,7 @@ protoOf(TextContent).equals = function (other) {
|
|
|
7876
7876
|
if (!(other instanceof TextContent))
|
|
7877
7877
|
return false;
|
|
7878
7878
|
var tmp0_other_with_cast = other instanceof TextContent ? other : THROW_CCE();
|
|
7879
|
-
if (!(this.
|
|
7879
|
+
if (!(this.p5d_1 === tmp0_other_with_cast.p5d_1))
|
|
7880
7880
|
return false;
|
|
7881
7881
|
return true;
|
|
7882
7882
|
};
|
|
@@ -7889,7 +7889,7 @@ function getCellContent(content) {
|
|
|
7889
7889
|
}
|
|
7890
7890
|
function buildSection($this, section, builderWidth) {
|
|
7891
7891
|
// Inline function 'kotlin.collections.MutableList' call
|
|
7892
|
-
var size = section.
|
|
7892
|
+
var size = section.u5c_1.c1();
|
|
7893
7893
|
var list = ArrayList_init_$Create$_0(size);
|
|
7894
7894
|
// Inline function 'kotlin.repeat' call
|
|
7895
7895
|
var inductionVariable = 0;
|
|
@@ -7897,19 +7897,19 @@ function buildSection($this, section, builderWidth) {
|
|
|
7897
7897
|
do {
|
|
7898
7898
|
var index = inductionVariable;
|
|
7899
7899
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7900
|
-
var tmp$ret$3 = ArrayList_init_$Create$_0(section.
|
|
7900
|
+
var tmp$ret$3 = ArrayList_init_$Create$_0(section.u5c_1.c1());
|
|
7901
7901
|
list.x(tmp$ret$3);
|
|
7902
7902
|
}
|
|
7903
7903
|
while (inductionVariable < size);
|
|
7904
7904
|
var rows = list;
|
|
7905
|
-
var iterator = section.
|
|
7905
|
+
var iterator = section.u5c_1.t();
|
|
7906
7906
|
var index_0 = 0;
|
|
7907
7907
|
while (iterator.u()) {
|
|
7908
7908
|
var y = index_0;
|
|
7909
7909
|
index_0 = index_0 + 1 | 0;
|
|
7910
7910
|
var row = iterator.v();
|
|
7911
7911
|
var x = 0;
|
|
7912
|
-
var _iterator__ex2g4s = row.
|
|
7912
|
+
var _iterator__ex2g4s = row.j5d_1.t();
|
|
7913
7913
|
while (_iterator__ex2g4s.u()) {
|
|
7914
7914
|
var cellBuilder = _iterator__ex2g4s.v();
|
|
7915
7915
|
x = findEmptyColumn(rows, x, y);
|
|
@@ -7920,10 +7920,10 @@ function buildSection($this, section, builderWidth) {
|
|
|
7920
7920
|
return rows;
|
|
7921
7921
|
}
|
|
7922
7922
|
function insertCell($this, cell, section, rows, startingX, startingY, builderWidth) {
|
|
7923
|
-
var tableCol = $this.
|
|
7924
|
-
var sectionCol = section.
|
|
7925
|
-
var row = section.
|
|
7926
|
-
var tmp0 = until(startingY, startingY + cell.
|
|
7923
|
+
var tableCol = $this.q5d_1.n5c_1.t2(startingX);
|
|
7924
|
+
var sectionCol = section.v5c_1.t2(startingX);
|
|
7925
|
+
var row = section.u5c_1.b1(startingY);
|
|
7926
|
+
var tmp0 = until(startingY, startingY + cell.n5d_1 | 0);
|
|
7927
7927
|
var tmp$ret$0;
|
|
7928
7928
|
$l$block: {
|
|
7929
7929
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -7933,14 +7933,14 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
7933
7933
|
break $l$block;
|
|
7934
7934
|
}
|
|
7935
7935
|
var it = iterator.v();
|
|
7936
|
-
var tmp89_safe_receiver = getOrNull(section.
|
|
7937
|
-
var tmp90_safe_receiver = tmp89_safe_receiver == null ? null : tmp89_safe_receiver.
|
|
7936
|
+
var tmp89_safe_receiver = getOrNull(section.u5c_1, it);
|
|
7937
|
+
var tmp90_safe_receiver = tmp89_safe_receiver == null ? null : tmp89_safe_receiver.j5d_1;
|
|
7938
7938
|
var tmp0_elvis_lhs = tmp90_safe_receiver == null ? null : tmp90_safe_receiver.c1();
|
|
7939
7939
|
var maxValue = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
7940
7940
|
while (iterator.u()) {
|
|
7941
7941
|
var it_0 = iterator.v();
|
|
7942
|
-
var tmp89_safe_receiver_0 = getOrNull(section.
|
|
7943
|
-
var tmp90_safe_receiver_0 = tmp89_safe_receiver_0 == null ? null : tmp89_safe_receiver_0.
|
|
7942
|
+
var tmp89_safe_receiver_0 = getOrNull(section.u5c_1, it_0);
|
|
7943
|
+
var tmp90_safe_receiver_0 = tmp89_safe_receiver_0 == null ? null : tmp89_safe_receiver_0.j5d_1;
|
|
7944
7944
|
var tmp0_elvis_lhs_0 = tmp90_safe_receiver_0 == null ? null : tmp90_safe_receiver_0.c1();
|
|
7945
7945
|
var v = tmp0_elvis_lhs_0 == null ? 0 : tmp0_elvis_lhs_0;
|
|
7946
7946
|
if (compareTo(maxValue, v) < 0) {
|
|
@@ -7951,16 +7951,16 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
7951
7951
|
}
|
|
7952
7952
|
var tmp0_elvis_lhs_1 = tmp$ret$0;
|
|
7953
7953
|
var maxRowSize = tmp0_elvis_lhs_1 == null ? 0 : tmp0_elvis_lhs_1;
|
|
7954
|
-
var columnSpan = coerceAtMost(cell.
|
|
7955
|
-
var rowSpan = coerceAtMost(cell.
|
|
7954
|
+
var columnSpan = coerceAtMost(cell.m5d_1, (builderWidth - maxRowSize | 0) + 1 | 0);
|
|
7955
|
+
var rowSpan = coerceAtMost(cell.n5d_1, rows.c1() - startingY | 0);
|
|
7956
7956
|
var tmp = Borders_ALL_getInstance();
|
|
7957
7957
|
var borders = insertCell$getStyle(cell, row, sectionCol, tableCol, section, $this, tmp, TableLayout$insertCell$lambda);
|
|
7958
7958
|
// Inline function 'com.github.ajalt.mordant.widgets.Companion.invoke' call
|
|
7959
7959
|
// Inline function 'kotlin.apply' call
|
|
7960
7960
|
var this_0 = new Builder(0, 0, 0, 0);
|
|
7961
|
-
this_0.
|
|
7961
|
+
this_0.v5d(1);
|
|
7962
7962
|
var b = this_0;
|
|
7963
|
-
var tmp_0 = new Padding(b.
|
|
7963
|
+
var tmp_0 = new Padding(b.r5d_1, b.s5d_1, b.t5d_1, b.u5d_1);
|
|
7964
7964
|
var padding = insertCell$getStyle(cell, row, sectionCol, tableCol, section, $this, tmp_0, TableLayout$insertCell$lambda_0);
|
|
7965
7965
|
var tmp_1 = Whitespace_PRE_getInstance();
|
|
7966
7966
|
var whitespace = insertCell$getStyle(cell, row, sectionCol, tableCol, section, $this, tmp_1, TableLayout$insertCell$lambda_1);
|
|
@@ -7972,30 +7972,30 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
7972
7972
|
var overflowWrap = insertCell$getStyle(cell, row, sectionCol, tableCol, section, $this, tmp_4, TableLayout$insertCell$lambda_4);
|
|
7973
7973
|
var tmp_5;
|
|
7974
7974
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
7975
|
-
if (!section.
|
|
7976
|
-
tmp_5 = section.
|
|
7975
|
+
if (!section.w5c_1.r()) {
|
|
7976
|
+
tmp_5 = section.w5c_1.b1(startingY % section.w5c_1.c1() | 0);
|
|
7977
7977
|
} else {
|
|
7978
7978
|
tmp_5 = null;
|
|
7979
7979
|
}
|
|
7980
7980
|
var stripedStyle = tmp_5;
|
|
7981
|
-
var tmp_6 = cell.
|
|
7982
|
-
var tmp_7 = row.
|
|
7983
|
-
var tmp_8 = sectionCol == null ? null : sectionCol.
|
|
7984
|
-
var style = foldStyles([tmp_6, tmp_7, stripedStyle, tmp_8, tableCol == null ? null : tableCol.
|
|
7985
|
-
var tmp95_subject = cell.
|
|
7981
|
+
var tmp_6 = cell.e5c();
|
|
7982
|
+
var tmp_7 = row.e5c();
|
|
7983
|
+
var tmp_8 = sectionCol == null ? null : sectionCol.e5c();
|
|
7984
|
+
var style = foldStyles([tmp_6, tmp_7, stripedStyle, tmp_8, tableCol == null ? null : tableCol.e5c(), section.e5c(), $this.q5d_1.e5c()]);
|
|
7985
|
+
var tmp95_subject = cell.l5d_1;
|
|
7986
7986
|
var tmp_9;
|
|
7987
7987
|
if (tmp95_subject instanceof WidgetContent) {
|
|
7988
|
-
tmp_9 = cell.
|
|
7988
|
+
tmp_9 = cell.l5d_1.o5d_1;
|
|
7989
7989
|
} else {
|
|
7990
7990
|
if (tmp95_subject instanceof TextContent) {
|
|
7991
|
-
tmp_9 = Text_init_$Create$(cell.
|
|
7991
|
+
tmp_9 = Text_init_$Create$(cell.l5d_1.p5d_1, whitespace, textAlign, overflowWrap);
|
|
7992
7992
|
} else {
|
|
7993
7993
|
noWhenBranchMatchedException();
|
|
7994
7994
|
}
|
|
7995
7995
|
}
|
|
7996
7996
|
var content = withPadding_0(tmp_9, padding);
|
|
7997
7997
|
// Inline function 'kotlin.takeIf' call
|
|
7998
|
-
var this_1 = borders.
|
|
7998
|
+
var this_1 = borders.l59_1;
|
|
7999
7999
|
var tmp_10;
|
|
8000
8000
|
if (columnSpan === 1) {
|
|
8001
8001
|
tmp_10 = this_1;
|
|
@@ -8004,7 +8004,7 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
8004
8004
|
}
|
|
8005
8005
|
var tmp_11 = tmp_10;
|
|
8006
8006
|
// Inline function 'kotlin.takeIf' call
|
|
8007
|
-
var this_2 = borders.
|
|
8007
|
+
var this_2 = borders.m59_1;
|
|
8008
8008
|
var tmp_12;
|
|
8009
8009
|
if (rowSpan === 1) {
|
|
8010
8010
|
tmp_12 = this_2;
|
|
@@ -8012,7 +8012,7 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
8012
8012
|
tmp_12 = null;
|
|
8013
8013
|
}
|
|
8014
8014
|
var tmp$ret$9 = tmp_12;
|
|
8015
|
-
var builtCell = new Content(content, rowSpan, columnSpan, borders.
|
|
8015
|
+
var builtCell = new Content(content, rowSpan, columnSpan, borders.j59_1, borders.k59_1, tmp_11, tmp$ret$9, style, textAlign, verticalAlign, padding.z5d_1 + padding.x5d_1 | 0);
|
|
8016
8016
|
var lastX = (startingX + columnSpan | 0) - 1 | 0;
|
|
8017
8017
|
var inductionVariable = startingX;
|
|
8018
8018
|
if (inductionVariable <= lastX)
|
|
@@ -8030,7 +8030,7 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
8030
8030
|
tmp_13 = builtCell;
|
|
8031
8031
|
} else {
|
|
8032
8032
|
// Inline function 'kotlin.takeIf' call
|
|
8033
|
-
var this_3 = borders.
|
|
8033
|
+
var this_3 = borders.j59_1;
|
|
8034
8034
|
var tmp_14;
|
|
8035
8035
|
if (x === startingX) {
|
|
8036
8036
|
tmp_14 = this_3;
|
|
@@ -8039,7 +8039,7 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
8039
8039
|
}
|
|
8040
8040
|
var tmp_15 = tmp_14;
|
|
8041
8041
|
// Inline function 'kotlin.takeIf' call
|
|
8042
|
-
var this_4 = borders.
|
|
8042
|
+
var this_4 = borders.k59_1;
|
|
8043
8043
|
var tmp_16;
|
|
8044
8044
|
if (y === startingY) {
|
|
8045
8045
|
tmp_16 = this_4;
|
|
@@ -8048,7 +8048,7 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
8048
8048
|
}
|
|
8049
8049
|
var tmp_17 = tmp_16;
|
|
8050
8050
|
// Inline function 'kotlin.takeIf' call
|
|
8051
|
-
var this_5 = borders.
|
|
8051
|
+
var this_5 = borders.l59_1;
|
|
8052
8052
|
var tmp_18;
|
|
8053
8053
|
if (x === lastX) {
|
|
8054
8054
|
tmp_18 = this_5;
|
|
@@ -8057,7 +8057,7 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
8057
8057
|
}
|
|
8058
8058
|
var tmp_19 = tmp_18;
|
|
8059
8059
|
// Inline function 'kotlin.takeIf' call
|
|
8060
|
-
var this_6 = borders.
|
|
8060
|
+
var this_6 = borders.m59_1;
|
|
8061
8061
|
var tmp_20;
|
|
8062
8062
|
if (y === lastY) {
|
|
8063
8063
|
tmp_20 = this_6;
|
|
@@ -8113,36 +8113,36 @@ function insertCell$getStyle($cell, row, sectionCol, tableCol, $section, this$0,
|
|
|
8113
8113
|
}
|
|
8114
8114
|
var tmp3_elvis_lhs = tmp_1;
|
|
8115
8115
|
var tmp4_elvis_lhs = tmp3_elvis_lhs == null ? getter($section) : tmp3_elvis_lhs;
|
|
8116
|
-
var tmp5_elvis_lhs = tmp4_elvis_lhs == null ? getter(this$0.
|
|
8116
|
+
var tmp5_elvis_lhs = tmp4_elvis_lhs == null ? getter(this$0.q5d_1) : tmp4_elvis_lhs;
|
|
8117
8117
|
return tmp5_elvis_lhs == null ? default_0 : tmp5_elvis_lhs;
|
|
8118
8118
|
}
|
|
8119
8119
|
function TableLayout$insertCell$lambda(it) {
|
|
8120
|
-
return it.
|
|
8120
|
+
return it.z5b();
|
|
8121
8121
|
}
|
|
8122
8122
|
function TableLayout$insertCell$lambda_0(it) {
|
|
8123
|
-
return it.
|
|
8123
|
+
return it.c5c();
|
|
8124
8124
|
}
|
|
8125
8125
|
function TableLayout$insertCell$lambda_1(it) {
|
|
8126
|
-
return it.
|
|
8126
|
+
return it.f5c();
|
|
8127
8127
|
}
|
|
8128
8128
|
function TableLayout$insertCell$lambda_2(it) {
|
|
8129
|
-
return it.
|
|
8129
|
+
return it.g5c();
|
|
8130
8130
|
}
|
|
8131
8131
|
function TableLayout$insertCell$lambda_3(it) {
|
|
8132
|
-
return it.
|
|
8132
|
+
return it.a5c();
|
|
8133
8133
|
}
|
|
8134
8134
|
function TableLayout$insertCell$lambda_4(it) {
|
|
8135
|
-
return it.
|
|
8135
|
+
return it.h5c();
|
|
8136
8136
|
}
|
|
8137
8137
|
function TableLayout(table) {
|
|
8138
|
-
this.
|
|
8138
|
+
this.q5d_1 = table;
|
|
8139
8139
|
}
|
|
8140
|
-
protoOf(TableLayout).
|
|
8140
|
+
protoOf(TableLayout).a5e = function () {
|
|
8141
8141
|
// Inline function 'kotlin.collections.maxOf' call
|
|
8142
|
-
var iterator = listOf([this.
|
|
8142
|
+
var iterator = listOf([this.q5d_1.o5c_1, this.q5d_1.p5c_1, this.q5d_1.q5c_1]).t();
|
|
8143
8143
|
if (!iterator.u())
|
|
8144
8144
|
throw NoSuchElementException_init_$Create$();
|
|
8145
|
-
var tmp0 = iterator.v().
|
|
8145
|
+
var tmp0 = iterator.v().u5c_1;
|
|
8146
8146
|
var tmp$ret$2;
|
|
8147
8147
|
$l$block: {
|
|
8148
8148
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -8151,9 +8151,9 @@ protoOf(TableLayout).n5e = function () {
|
|
|
8151
8151
|
tmp$ret$2 = null;
|
|
8152
8152
|
break $l$block;
|
|
8153
8153
|
}
|
|
8154
|
-
var maxValue = iterator_0.v().
|
|
8154
|
+
var maxValue = iterator_0.v().j5d_1.c1();
|
|
8155
8155
|
while (iterator_0.u()) {
|
|
8156
|
-
var v = iterator_0.v().
|
|
8156
|
+
var v = iterator_0.v().j5d_1.c1();
|
|
8157
8157
|
if (compareTo(maxValue, v) < 0) {
|
|
8158
8158
|
maxValue = v;
|
|
8159
8159
|
}
|
|
@@ -8163,7 +8163,7 @@ protoOf(TableLayout).n5e = function () {
|
|
|
8163
8163
|
var tmp0_elvis_lhs = tmp$ret$2;
|
|
8164
8164
|
var maxValue_0 = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
8165
8165
|
while (iterator.u()) {
|
|
8166
|
-
var tmp0_0 = iterator.v().
|
|
8166
|
+
var tmp0_0 = iterator.v().u5c_1;
|
|
8167
8167
|
var tmp$ret$6;
|
|
8168
8168
|
$l$block_0: {
|
|
8169
8169
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -8172,9 +8172,9 @@ protoOf(TableLayout).n5e = function () {
|
|
|
8172
8172
|
tmp$ret$6 = null;
|
|
8173
8173
|
break $l$block_0;
|
|
8174
8174
|
}
|
|
8175
|
-
var maxValue_1 = iterator_1.v().
|
|
8175
|
+
var maxValue_1 = iterator_1.v().j5d_1.c1();
|
|
8176
8176
|
while (iterator_1.u()) {
|
|
8177
|
-
var v_0 = iterator_1.v().
|
|
8177
|
+
var v_0 = iterator_1.v().j5d_1.c1();
|
|
8178
8178
|
if (compareTo(maxValue_1, v_0) < 0) {
|
|
8179
8179
|
maxValue_1 = v_0;
|
|
8180
8180
|
}
|
|
@@ -8188,16 +8188,16 @@ protoOf(TableLayout).n5e = function () {
|
|
|
8188
8188
|
}
|
|
8189
8189
|
}
|
|
8190
8190
|
var builderWidth = maxValue_0;
|
|
8191
|
-
var header = buildSection(this, this.
|
|
8192
|
-
var body = buildSection(this, this.
|
|
8193
|
-
var footer = buildSection(this, this.
|
|
8191
|
+
var header = buildSection(this, this.q5d_1.o5c_1, builderWidth);
|
|
8192
|
+
var body = buildSection(this, this.q5d_1.p5c_1, builderWidth);
|
|
8193
|
+
var footer = buildSection(this, this.q5d_1.q5c_1, builderWidth);
|
|
8194
8194
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
8195
8195
|
var this_0 = flatten(listOf([header, body, footer]));
|
|
8196
8196
|
var tmp;
|
|
8197
8197
|
if (this_0.r()) {
|
|
8198
|
-
var tmp0_elvis_lhs_1 = this.
|
|
8198
|
+
var tmp0_elvis_lhs_1 = this.q5d_1.l5c_1;
|
|
8199
8199
|
var b = tmp0_elvis_lhs_1 == null ? Borders_ALL_getInstance() : tmp0_elvis_lhs_1;
|
|
8200
|
-
var cell = new Content(EmptyWidget_instance, 1, 1, b.
|
|
8200
|
+
var cell = new Content(EmptyWidget_instance, 1, 1, b.j59_1, b.k59_1, b.l59_1, b.m59_1, null, TextAlign_LEFT_getInstance(), VerticalAlign_TOP_getInstance(), 0);
|
|
8201
8201
|
tmp = listOf_0(listOf_0(cell));
|
|
8202
8202
|
} else {
|
|
8203
8203
|
tmp = this_0;
|
|
@@ -8224,14 +8224,14 @@ protoOf(TableLayout).n5e = function () {
|
|
|
8224
8224
|
do {
|
|
8225
8225
|
var index = inductionVariable;
|
|
8226
8226
|
inductionVariable = inductionVariable + 1 | 0;
|
|
8227
|
-
var tmp88_safe_receiver = this.
|
|
8228
|
-
var tmp0_elvis_lhs_2 = tmp88_safe_receiver == null ? null : tmp88_safe_receiver.
|
|
8229
|
-
var tmp$ret$18 = tmp0_elvis_lhs_2 == null ? Companion_getInstance_3().
|
|
8227
|
+
var tmp88_safe_receiver = this.q5d_1.n5c_1.t2(index);
|
|
8228
|
+
var tmp0_elvis_lhs_2 = tmp88_safe_receiver == null ? null : tmp88_safe_receiver.b5e();
|
|
8229
|
+
var tmp$ret$18 = tmp0_elvis_lhs_2 == null ? Companion_getInstance_3().y5b_1 : tmp0_elvis_lhs_2;
|
|
8230
8230
|
list.x(tmp$ret$18);
|
|
8231
8231
|
}
|
|
8232
8232
|
while (inductionVariable < columnCount);
|
|
8233
8233
|
var columnWidths = list;
|
|
8234
|
-
return new TableImpl(rows, this.
|
|
8234
|
+
return new TableImpl(rows, this.q5d_1.j5c_1, this.q5d_1.k5c_1, header.c1(), footer.c1(), columnWidths, this.q5d_1.l5c_1, this.q5d_1.m5c_1);
|
|
8235
8235
|
};
|
|
8236
8236
|
function findEmptyColumn(_this__u8e3s4, x, y) {
|
|
8237
8237
|
var row = _this__u8e3s4.b1(y);
|
|
@@ -8285,13 +8285,13 @@ function ensureSize(_this__u8e3s4, size) {
|
|
|
8285
8285
|
}
|
|
8286
8286
|
function Companion_3() {
|
|
8287
8287
|
}
|
|
8288
|
-
protoOf(Companion_3).
|
|
8289
|
-
builder.
|
|
8290
|
-
builder.
|
|
8291
|
-
builder.
|
|
8288
|
+
protoOf(Companion_3).y5c = function (builder, spacing, columnWidth) {
|
|
8289
|
+
builder.d5c(0);
|
|
8290
|
+
builder.z5c(Borders_NONE_getInstance());
|
|
8291
|
+
builder.l5c_1 = Borders_NONE_getInstance();
|
|
8292
8292
|
var aligned = false;
|
|
8293
8293
|
// Inline function 'kotlin.collections.map' call
|
|
8294
|
-
var this_0 = (new TableLayout(builder)).
|
|
8294
|
+
var this_0 = (new TableLayout(builder)).a5e().m5a_1;
|
|
8295
8295
|
// Inline function 'kotlin.collections.mapTo' call
|
|
8296
8296
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8297
8297
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -8303,12 +8303,12 @@ protoOf(Companion_3).l5d = function (builder, spacing, columnWidth) {
|
|
|
8303
8303
|
}
|
|
8304
8304
|
var tmp = item.b1(0);
|
|
8305
8305
|
var cell = tmp instanceof Content ? tmp : THROW_CCE();
|
|
8306
|
-
aligned = aligned || !listOf([null, TextAlign_NONE_getInstance()]).i1(cell.
|
|
8307
|
-
var tmp$ret$2 = new VerticalLayoutCell(cell.
|
|
8306
|
+
aligned = aligned || !listOf([null, TextAlign_NONE_getInstance()]).i1(cell.f5a_1);
|
|
8307
|
+
var tmp$ret$2 = new VerticalLayoutCell(cell.x59_1, cell.e5a_1, cell.f5a_1);
|
|
8308
8308
|
destination.x(tmp$ret$2);
|
|
8309
8309
|
}
|
|
8310
8310
|
var cells = destination;
|
|
8311
|
-
var tmp0_elvis_lhs = builder.
|
|
8311
|
+
var tmp0_elvis_lhs = builder.g5c();
|
|
8312
8312
|
return new VerticalLayout(cells, spacing, columnWidth, tmp0_elvis_lhs == null ? TextAlign_NONE_getInstance() : tmp0_elvis_lhs, aligned);
|
|
8313
8313
|
};
|
|
8314
8314
|
var Companion_instance_3;
|
|
@@ -8316,25 +8316,25 @@ function Companion_getInstance_4() {
|
|
|
8316
8316
|
return Companion_instance_3;
|
|
8317
8317
|
}
|
|
8318
8318
|
function VerticalLayout(cells, spacing, columnWidth, textAlign, hasAlignedCells) {
|
|
8319
|
-
this.
|
|
8320
|
-
this.
|
|
8321
|
-
this.
|
|
8322
|
-
this.
|
|
8323
|
-
this.
|
|
8319
|
+
this.c5e_1 = cells;
|
|
8320
|
+
this.d5e_1 = spacing;
|
|
8321
|
+
this.e5e_1 = columnWidth;
|
|
8322
|
+
this.f5e_1 = textAlign;
|
|
8323
|
+
this.g5e_1 = hasAlignedCells;
|
|
8324
8324
|
// Inline function 'kotlin.require' call
|
|
8325
|
-
if (!(this.
|
|
8325
|
+
if (!(this.d5e_1 >= 0)) {
|
|
8326
8326
|
var message = 'layout spacing cannot be negative';
|
|
8327
8327
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
8328
8328
|
}
|
|
8329
8329
|
}
|
|
8330
|
-
protoOf(VerticalLayout).
|
|
8330
|
+
protoOf(VerticalLayout).o58 = function (t, width) {
|
|
8331
8331
|
// Inline function 'com.github.ajalt.mordant.rendering.maxWidthRange' call
|
|
8332
8332
|
var max = 0;
|
|
8333
8333
|
var min = 0;
|
|
8334
|
-
var _iterator__ex2g4s = this.
|
|
8334
|
+
var _iterator__ex2g4s = this.c5e_1.t();
|
|
8335
8335
|
$l$loop: while (_iterator__ex2g4s.u()) {
|
|
8336
8336
|
var it = _iterator__ex2g4s.v();
|
|
8337
|
-
var tmp0_elvis_lhs = it.
|
|
8337
|
+
var tmp0_elvis_lhs = it.h5e_1.o58(t, width);
|
|
8338
8338
|
var tmp;
|
|
8339
8339
|
if (tmp0_elvis_lhs == null) {
|
|
8340
8340
|
continue $l$loop;
|
|
@@ -8344,21 +8344,21 @@ protoOf(VerticalLayout).b59 = function (t, width) {
|
|
|
8344
8344
|
var range = tmp;
|
|
8345
8345
|
var tmp0 = max;
|
|
8346
8346
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
8347
|
-
var b = range.
|
|
8347
|
+
var b = range.d59_1;
|
|
8348
8348
|
max = Math.max(tmp0, b);
|
|
8349
8349
|
var tmp0_0 = min;
|
|
8350
8350
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
8351
|
-
var b_0 = range.
|
|
8351
|
+
var b_0 = range.c59_1;
|
|
8352
8352
|
min = Math.max(tmp0_0, b_0);
|
|
8353
8353
|
}
|
|
8354
8354
|
return new WidthRange(min + 0 | 0, max + 0 | 0);
|
|
8355
8355
|
};
|
|
8356
|
-
protoOf(VerticalLayout).
|
|
8357
|
-
var renderWidth = coerceAtMost(get_isExpand(this.
|
|
8356
|
+
protoOf(VerticalLayout).p58 = function (t, width) {
|
|
8357
|
+
var renderWidth = coerceAtMost(get_isExpand(this.e5e_1) ? width : this.g5e_1 ? this.o58(t, width).d59_1 : width, width);
|
|
8358
8358
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8359
8359
|
var lines = ArrayList_init_$Create$();
|
|
8360
|
-
var spacingLine = this.
|
|
8361
|
-
var iterator = this.
|
|
8360
|
+
var spacingLine = this.f5e_1.f3_1 === 4 ? get_EMPTY_LINE() : new Line(listOf_0(Companion_instance_0.u54(renderWidth)), get_DEFAULT_STYLE());
|
|
8361
|
+
var iterator = this.c5e_1.t();
|
|
8362
8362
|
var index = 0;
|
|
8363
8363
|
while (iterator.u()) {
|
|
8364
8364
|
var i = index;
|
|
@@ -8366,7 +8366,7 @@ protoOf(VerticalLayout).c59 = function (t, width) {
|
|
|
8366
8366
|
var cell = iterator.v();
|
|
8367
8367
|
if (i > 0) {
|
|
8368
8368
|
// Inline function 'kotlin.repeat' call
|
|
8369
|
-
var times = this.
|
|
8369
|
+
var times = this.d5e_1;
|
|
8370
8370
|
var inductionVariable = 0;
|
|
8371
8371
|
if (inductionVariable < times)
|
|
8372
8372
|
do {
|
|
@@ -8377,11 +8377,11 @@ protoOf(VerticalLayout).c59 = function (t, width) {
|
|
|
8377
8377
|
}
|
|
8378
8378
|
while (inductionVariable < times);
|
|
8379
8379
|
}
|
|
8380
|
-
var rendered = cell.
|
|
8381
|
-
var w = this.
|
|
8382
|
-
rendered = !(w.
|
|
8380
|
+
var rendered = cell.h5e_1.p58(t, renderWidth).r56(cell.i5e_1);
|
|
8381
|
+
var w = this.e5e_1;
|
|
8382
|
+
rendered = !(w.l5a_1 == null) ? setSize(rendered, width, VOID, VOID, cell.j5e_1) : !(w.k5a_1 == null) ? setSize(rendered, w.k5a_1, VOID, VOID, cell.j5e_1) : !cell.j5e_1.equals(TextAlign_NONE_getInstance()) ? setSize(rendered, renderWidth, VOID, VOID, cell.j5e_1) : rendered;
|
|
8383
8383
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
8384
|
-
var this_0 = rendered.
|
|
8384
|
+
var this_0 = rendered.d54_1;
|
|
8385
8385
|
var tmp;
|
|
8386
8386
|
if (this_0.r()) {
|
|
8387
8387
|
tmp = listOf_0(get_EMPTY_LINE());
|
|
@@ -8395,39 +8395,39 @@ protoOf(VerticalLayout).c59 = function (t, width) {
|
|
|
8395
8395
|
return new Lines(lines);
|
|
8396
8396
|
};
|
|
8397
8397
|
function VerticalLayoutCell(content, style, textAlign) {
|
|
8398
|
-
this.
|
|
8399
|
-
this.
|
|
8400
|
-
this.
|
|
8398
|
+
this.h5e_1 = content;
|
|
8399
|
+
this.i5e_1 = style;
|
|
8400
|
+
this.j5e_1 = textAlign;
|
|
8401
8401
|
}
|
|
8402
8402
|
function StandardTerminalInterface() {
|
|
8403
8403
|
}
|
|
8404
|
-
protoOf(StandardTerminalInterface).
|
|
8405
|
-
return TerminalDetection_instance.
|
|
8404
|
+
protoOf(StandardTerminalInterface).k5e = function (ansiLevel, hyperlinks, outputInteractive, inputInteractive) {
|
|
8405
|
+
return TerminalDetection_instance.n5e(ansiLevel, hyperlinks, inputInteractive, outputInteractive, this.l5e(), this.m5e());
|
|
8406
8406
|
};
|
|
8407
|
-
protoOf(StandardTerminalInterface).
|
|
8408
|
-
if (request.
|
|
8409
|
-
printStderr(request.
|
|
8410
|
-
} else if (request.
|
|
8407
|
+
protoOf(StandardTerminalInterface).o5e = function (request) {
|
|
8408
|
+
if (request.r5e_1) {
|
|
8409
|
+
printStderr(request.p5e_1, request.q5e_1);
|
|
8410
|
+
} else if (request.q5e_1) {
|
|
8411
8411
|
// Inline function 'kotlin.text.isEmpty' call
|
|
8412
|
-
var this_0 = request.
|
|
8412
|
+
var this_0 = request.p5e_1;
|
|
8413
8413
|
if (charSequenceLength(this_0) === 0) {
|
|
8414
8414
|
println_0();
|
|
8415
8415
|
} else {
|
|
8416
|
-
println(request.
|
|
8416
|
+
println(request.p5e_1);
|
|
8417
8417
|
}
|
|
8418
8418
|
} else {
|
|
8419
|
-
print(request.
|
|
8419
|
+
print(request.p5e_1);
|
|
8420
8420
|
}
|
|
8421
8421
|
};
|
|
8422
|
-
protoOf(StandardTerminalInterface).
|
|
8422
|
+
protoOf(StandardTerminalInterface).m5e = function () {
|
|
8423
8423
|
return true;
|
|
8424
8424
|
};
|
|
8425
|
-
protoOf(StandardTerminalInterface).
|
|
8425
|
+
protoOf(StandardTerminalInterface).l5e = function () {
|
|
8426
8426
|
return true;
|
|
8427
8427
|
};
|
|
8428
8428
|
function Terminal_init_$Init$(ansiLevel, theme, width, height, nonInteractiveWidth, nonInteractiveHeight, hyperlinks, tabWidth, interactive, terminalInterface, $this) {
|
|
8429
8429
|
ansiLevel = ansiLevel === VOID ? null : ansiLevel;
|
|
8430
|
-
theme = theme === VOID ? Companion_getInstance_2().
|
|
8430
|
+
theme = theme === VOID ? Companion_getInstance_2().y57_1 : theme;
|
|
8431
8431
|
width = width === VOID ? null : width;
|
|
8432
8432
|
height = height === VOID ? null : height;
|
|
8433
8433
|
nonInteractiveWidth = nonInteractiveWidth === VOID ? null : nonInteractiveWidth;
|
|
@@ -8436,7 +8436,7 @@ function Terminal_init_$Init$(ansiLevel, theme, width, height, nonInteractiveWid
|
|
|
8436
8436
|
tabWidth = tabWidth === VOID ? 8 : tabWidth;
|
|
8437
8437
|
interactive = interactive === VOID ? null : interactive;
|
|
8438
8438
|
terminalInterface = terminalInterface === VOID ? get_STANDARD_TERM_INTERFACE() : terminalInterface;
|
|
8439
|
-
Terminal.call($this, theme, tabWidth, terminalInterface, width, height, nonInteractiveWidth, nonInteractiveHeight, terminalInterface.
|
|
8439
|
+
Terminal.call($this, theme, tabWidth, terminalInterface, width, height, nonInteractiveWidth, nonInteractiveHeight, terminalInterface.k5e(ansiLevel, hyperlinks, interactive, interactive));
|
|
8440
8440
|
return $this;
|
|
8441
8441
|
}
|
|
8442
8442
|
function Terminal_init_$Create$(ansiLevel, theme, width, height, nonInteractiveWidth, nonInteractiveHeight, hyperlinks, tabWidth, interactive, terminalInterface) {
|
|
@@ -8446,36 +8446,36 @@ function rawPrintln($this, message, stderr) {
|
|
|
8446
8446
|
sendPrintRequest($this, new PrintRequest(message, true, stderr));
|
|
8447
8447
|
}
|
|
8448
8448
|
function sendPrintRequest($this, request) {
|
|
8449
|
-
if ($this.
|
|
8450
|
-
$this.
|
|
8449
|
+
if ($this.t58_1.t5e()) {
|
|
8450
|
+
$this.u5e();
|
|
8451
8451
|
}
|
|
8452
|
-
sendInterceptedPrintRequest(request, $this.
|
|
8452
|
+
sendInterceptedPrintRequest(request, $this.t58_1, $this.z58_1.o1());
|
|
8453
8453
|
}
|
|
8454
8454
|
function Terminal(theme, tabWidth, terminalInterface, forceWidth, forceHeight, nonInteractiveWidth, nonInteractiveHeight, terminalInfo) {
|
|
8455
|
-
this.
|
|
8456
|
-
this.
|
|
8457
|
-
this.
|
|
8458
|
-
this.
|
|
8459
|
-
this.
|
|
8460
|
-
this.
|
|
8461
|
-
this.
|
|
8462
|
-
this.
|
|
8463
|
-
this.
|
|
8464
|
-
this.
|
|
8465
|
-
this.
|
|
8455
|
+
this.r58_1 = theme;
|
|
8456
|
+
this.s58_1 = tabWidth;
|
|
8457
|
+
this.t58_1 = terminalInterface;
|
|
8458
|
+
this.u58_1 = forceWidth;
|
|
8459
|
+
this.v58_1 = forceHeight;
|
|
8460
|
+
this.w58_1 = nonInteractiveWidth;
|
|
8461
|
+
this.x58_1 = nonInteractiveHeight;
|
|
8462
|
+
this.y58_1 = terminalInfo;
|
|
8463
|
+
this.z58_1 = MppAtomicRef(emptyList());
|
|
8464
|
+
this.a59_1 = MppAtomicRef(detectSize(this.t58_1, this.y58_1, this.u58_1, this.v58_1, this.w58_1, this.x58_1));
|
|
8465
|
+
this.b59_1 = this.y58_1.a5f() ? makePrintingTerminalCursor(this) : DisabledTerminalCursor_instance;
|
|
8466
8466
|
}
|
|
8467
8467
|
protoOf(Terminal).c1 = function () {
|
|
8468
|
-
return this.
|
|
8468
|
+
return this.a59_1.o1();
|
|
8469
8469
|
};
|
|
8470
|
-
protoOf(Terminal).
|
|
8471
|
-
var tmp0 = this.
|
|
8470
|
+
protoOf(Terminal).u5e = function () {
|
|
8471
|
+
var tmp0 = this.a59_1;
|
|
8472
8472
|
var tmp$ret$0;
|
|
8473
8473
|
$l$block: {
|
|
8474
8474
|
// Inline function 'com.github.ajalt.mordant.internal.update' call
|
|
8475
8475
|
while (true) {
|
|
8476
8476
|
var old = tmp0.o1();
|
|
8477
|
-
var newValue = detectSize(this.
|
|
8478
|
-
if (tmp0.
|
|
8477
|
+
var newValue = detectSize(this.t58_1, this.y58_1, this.u58_1, this.v58_1, this.w58_1, this.x58_1);
|
|
8478
|
+
if (tmp0.b5f(old, newValue)) {
|
|
8479
8479
|
tmp$ret$0 = to(old, newValue);
|
|
8480
8480
|
break $l$block;
|
|
8481
8481
|
}
|
|
@@ -8483,10 +8483,10 @@ protoOf(Terminal).h5f = function () {
|
|
|
8483
8483
|
}
|
|
8484
8484
|
return tmp$ret$0.hf_1;
|
|
8485
8485
|
};
|
|
8486
|
-
protoOf(Terminal).
|
|
8487
|
-
this.
|
|
8486
|
+
protoOf(Terminal).c5f = function (message, whitespace, align, overflowWrap, width, stderr) {
|
|
8487
|
+
this.e5f(this.d5f(message, whitespace, align, overflowWrap, width), stderr);
|
|
8488
8488
|
};
|
|
8489
|
-
protoOf(Terminal).
|
|
8489
|
+
protoOf(Terminal).f5f = function (message, whitespace, align, overflowWrap, width, stderr, $super) {
|
|
8490
8490
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
8491
8491
|
align = align === VOID ? TextAlign_NONE_getInstance() : align;
|
|
8492
8492
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
@@ -8494,17 +8494,17 @@ protoOf(Terminal).s5f = function (message, whitespace, align, overflowWrap, widt
|
|
|
8494
8494
|
stderr = stderr === VOID ? false : stderr;
|
|
8495
8495
|
var tmp;
|
|
8496
8496
|
if ($super === VOID) {
|
|
8497
|
-
this.
|
|
8497
|
+
this.c5f(message, whitespace, align, overflowWrap, width, stderr);
|
|
8498
8498
|
tmp = Unit_instance;
|
|
8499
8499
|
} else {
|
|
8500
|
-
tmp = $super.
|
|
8500
|
+
tmp = $super.c5f.call(this, message, whitespace, align, overflowWrap, width, stderr);
|
|
8501
8501
|
}
|
|
8502
8502
|
return tmp;
|
|
8503
8503
|
};
|
|
8504
|
-
protoOf(Terminal).
|
|
8505
|
-
rawPrintln(this, this.
|
|
8504
|
+
protoOf(Terminal).g5f = function (message, whitespace, align, overflowWrap, width, stderr) {
|
|
8505
|
+
rawPrintln(this, this.d5f(message, whitespace, align, overflowWrap, width), stderr);
|
|
8506
8506
|
};
|
|
8507
|
-
protoOf(Terminal).
|
|
8507
|
+
protoOf(Terminal).h5f = function (message, whitespace, align, overflowWrap, width, stderr, $super) {
|
|
8508
8508
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
8509
8509
|
align = align === VOID ? TextAlign_NONE_getInstance() : align;
|
|
8510
8510
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
@@ -8512,30 +8512,30 @@ protoOf(Terminal).u5f = function (message, whitespace, align, overflowWrap, widt
|
|
|
8512
8512
|
stderr = stderr === VOID ? false : stderr;
|
|
8513
8513
|
var tmp;
|
|
8514
8514
|
if ($super === VOID) {
|
|
8515
|
-
this.
|
|
8515
|
+
this.g5f(message, whitespace, align, overflowWrap, width, stderr);
|
|
8516
8516
|
tmp = Unit_instance;
|
|
8517
8517
|
} else {
|
|
8518
|
-
tmp = $super.
|
|
8518
|
+
tmp = $super.g5f.call(this, message, whitespace, align, overflowWrap, width, stderr);
|
|
8519
8519
|
}
|
|
8520
8520
|
return tmp;
|
|
8521
8521
|
};
|
|
8522
|
-
protoOf(Terminal).
|
|
8522
|
+
protoOf(Terminal).d5f = function (message, whitespace, align, overflowWrap, width) {
|
|
8523
8523
|
var tmp;
|
|
8524
8524
|
if (message instanceof Lines) {
|
|
8525
|
-
tmp = renderLinesAnsi(message, this.
|
|
8525
|
+
tmp = renderLinesAnsi(message, this.y58_1.v5e_1, this.y58_1.w5e_1);
|
|
8526
8526
|
} else {
|
|
8527
8527
|
if (!(message == null) ? isInterface(message, Widget) : false) {
|
|
8528
|
-
tmp = this.
|
|
8528
|
+
tmp = this.i5f(message);
|
|
8529
8529
|
} else {
|
|
8530
|
-
tmp = this.
|
|
8530
|
+
tmp = this.i5f(Text_init_$Create$(toString_1(message), whitespace, align, overflowWrap, width));
|
|
8531
8531
|
}
|
|
8532
8532
|
}
|
|
8533
8533
|
return tmp;
|
|
8534
8534
|
};
|
|
8535
|
-
protoOf(Terminal).
|
|
8536
|
-
return renderLinesAnsi(widget.
|
|
8535
|
+
protoOf(Terminal).i5f = function (widget) {
|
|
8536
|
+
return renderLinesAnsi(widget.q58(this), this.y58_1.v5e_1, this.y58_1.w5e_1);
|
|
8537
8537
|
};
|
|
8538
|
-
protoOf(Terminal).
|
|
8538
|
+
protoOf(Terminal).e5f = function (message, stderr) {
|
|
8539
8539
|
sendPrintRequest(this, new PrintRequest(toString(message), false, stderr));
|
|
8540
8540
|
};
|
|
8541
8541
|
function DisabledTerminalCursor() {
|
|
@@ -8545,18 +8545,18 @@ function DisabledTerminalCursor_getInstance() {
|
|
|
8545
8545
|
return DisabledTerminalCursor_instance;
|
|
8546
8546
|
}
|
|
8547
8547
|
function PrintTerminalCursor(terminal) {
|
|
8548
|
-
this.
|
|
8548
|
+
this.j5f_1 = terminal;
|
|
8549
8549
|
}
|
|
8550
8550
|
function detectSize(_this__u8e3s4, info, width, height, nonInteractiveWidth, nonInteractiveHeight) {
|
|
8551
8551
|
if (!(width == null) && !(height == null))
|
|
8552
8552
|
return new Size(width, height);
|
|
8553
|
-
if (!info.
|
|
8553
|
+
if (!info.x5e_1) {
|
|
8554
8554
|
var tmp1_elvis_lhs = nonInteractiveWidth == null ? width : nonInteractiveWidth;
|
|
8555
8555
|
var tmp = tmp1_elvis_lhs == null ? 79 : tmp1_elvis_lhs;
|
|
8556
8556
|
var tmp3_elvis_lhs = nonInteractiveHeight == null ? height : nonInteractiveHeight;
|
|
8557
8557
|
return new Size(tmp, tmp3_elvis_lhs == null ? 24 : tmp3_elvis_lhs);
|
|
8558
8558
|
}
|
|
8559
|
-
var tmp4_elvis_lhs = _this__u8e3s4.
|
|
8559
|
+
var tmp4_elvis_lhs = _this__u8e3s4.s5e();
|
|
8560
8560
|
var tmp_0;
|
|
8561
8561
|
if (tmp4_elvis_lhs == null) {
|
|
8562
8562
|
var tmp122_safe_receiver = getEnv('COLUMNS');
|
|
@@ -8569,8 +8569,8 @@ function detectSize(_this__u8e3s4, info, width, height, nonInteractiveWidth, non
|
|
|
8569
8569
|
tmp_0 = tmp4_elvis_lhs;
|
|
8570
8570
|
}
|
|
8571
8571
|
var detected = tmp_0;
|
|
8572
|
-
var tmp_2 = width == null ? detected.
|
|
8573
|
-
return new Size(tmp_2, height == null ? detected.
|
|
8572
|
+
var tmp_2 = width == null ? detected.a57_1 : width;
|
|
8573
|
+
return new Size(tmp_2, height == null ? detected.b57_1 : height);
|
|
8574
8574
|
}
|
|
8575
8575
|
function ansiHyperLinks($this) {
|
|
8576
8576
|
if (equals(forcedColor($this), AnsiLevel_NONE_getInstance()) || isCI($this))
|
|
@@ -8859,7 +8859,7 @@ function isIntellijRunActionConsole($this) {
|
|
|
8859
8859
|
}
|
|
8860
8860
|
function TerminalDetection() {
|
|
8861
8861
|
}
|
|
8862
|
-
protoOf(TerminalDetection).
|
|
8862
|
+
protoOf(TerminalDetection).n5e = function (ansiLevel_0, hyperlinks, forceInputInteractive, forceOutputInteractive, detectedStdinInteractive, detectedStdoutInteractive) {
|
|
8863
8863
|
var ij = isIntellijRunActionConsole(this);
|
|
8864
8864
|
var inputInteractive = forceInputInteractive == null ? ij || detectedStdinInteractive : forceInputInteractive;
|
|
8865
8865
|
var outputInteractive = forceOutputInteractive == null ? ij || detectedStdoutInteractive : forceOutputInteractive;
|
|
@@ -8872,24 +8872,24 @@ function TerminalDetection_getInstance() {
|
|
|
8872
8872
|
return TerminalDetection_instance;
|
|
8873
8873
|
}
|
|
8874
8874
|
function TerminalInfo(ansiLevel, ansiHyperLinks, outputInteractive, inputInteractive, supportsAnsiCursor) {
|
|
8875
|
-
this.
|
|
8876
|
-
this.
|
|
8877
|
-
this.
|
|
8878
|
-
this.
|
|
8879
|
-
this.
|
|
8875
|
+
this.v5e_1 = ansiLevel;
|
|
8876
|
+
this.w5e_1 = ansiHyperLinks;
|
|
8877
|
+
this.x5e_1 = outputInteractive;
|
|
8878
|
+
this.y5e_1 = inputInteractive;
|
|
8879
|
+
this.z5e_1 = supportsAnsiCursor;
|
|
8880
8880
|
}
|
|
8881
|
-
protoOf(TerminalInfo).
|
|
8882
|
-
return this.
|
|
8881
|
+
protoOf(TerminalInfo).a5f = function () {
|
|
8882
|
+
return this.y5e_1 && this.x5e_1;
|
|
8883
8883
|
};
|
|
8884
8884
|
protoOf(TerminalInfo).toString = function () {
|
|
8885
|
-
return 'TerminalInfo(ansiLevel=' + this.
|
|
8885
|
+
return 'TerminalInfo(ansiLevel=' + this.v5e_1.toString() + ', ansiHyperLinks=' + this.w5e_1 + ', outputInteractive=' + this.x5e_1 + ', inputInteractive=' + this.y5e_1 + ', supportsAnsiCursor=' + this.z5e_1 + ')';
|
|
8886
8886
|
};
|
|
8887
8887
|
protoOf(TerminalInfo).hashCode = function () {
|
|
8888
|
-
var result = this.
|
|
8889
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8890
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8891
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8892
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8888
|
+
var result = this.v5e_1.hashCode();
|
|
8889
|
+
result = imul(result, 31) + getBooleanHashCode(this.w5e_1) | 0;
|
|
8890
|
+
result = imul(result, 31) + getBooleanHashCode(this.x5e_1) | 0;
|
|
8891
|
+
result = imul(result, 31) + getBooleanHashCode(this.y5e_1) | 0;
|
|
8892
|
+
result = imul(result, 31) + getBooleanHashCode(this.z5e_1) | 0;
|
|
8893
8893
|
return result;
|
|
8894
8894
|
};
|
|
8895
8895
|
protoOf(TerminalInfo).equals = function (other) {
|
|
@@ -8898,32 +8898,32 @@ protoOf(TerminalInfo).equals = function (other) {
|
|
|
8898
8898
|
if (!(other instanceof TerminalInfo))
|
|
8899
8899
|
return false;
|
|
8900
8900
|
var tmp0_other_with_cast = other instanceof TerminalInfo ? other : THROW_CCE();
|
|
8901
|
-
if (!this.
|
|
8901
|
+
if (!this.v5e_1.equals(tmp0_other_with_cast.v5e_1))
|
|
8902
8902
|
return false;
|
|
8903
|
-
if (!(this.
|
|
8903
|
+
if (!(this.w5e_1 === tmp0_other_with_cast.w5e_1))
|
|
8904
8904
|
return false;
|
|
8905
|
-
if (!(this.
|
|
8905
|
+
if (!(this.x5e_1 === tmp0_other_with_cast.x5e_1))
|
|
8906
8906
|
return false;
|
|
8907
|
-
if (!(this.
|
|
8907
|
+
if (!(this.y5e_1 === tmp0_other_with_cast.y5e_1))
|
|
8908
8908
|
return false;
|
|
8909
|
-
if (!(this.
|
|
8909
|
+
if (!(this.z5e_1 === tmp0_other_with_cast.z5e_1))
|
|
8910
8910
|
return false;
|
|
8911
8911
|
return true;
|
|
8912
8912
|
};
|
|
8913
8913
|
function TerminalInterface() {
|
|
8914
8914
|
}
|
|
8915
8915
|
function PrintRequest(text, trailingLinebreak, stderr) {
|
|
8916
|
-
this.
|
|
8917
|
-
this.
|
|
8918
|
-
this.
|
|
8916
|
+
this.p5e_1 = text;
|
|
8917
|
+
this.q5e_1 = trailingLinebreak;
|
|
8918
|
+
this.r5e_1 = stderr;
|
|
8919
8919
|
}
|
|
8920
8920
|
protoOf(PrintRequest).toString = function () {
|
|
8921
|
-
return 'PrintRequest(text=' + this.
|
|
8921
|
+
return 'PrintRequest(text=' + this.p5e_1 + ', trailingLinebreak=' + this.q5e_1 + ', stderr=' + this.r5e_1 + ')';
|
|
8922
8922
|
};
|
|
8923
8923
|
protoOf(PrintRequest).hashCode = function () {
|
|
8924
|
-
var result = getStringHashCode(this.
|
|
8925
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8926
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8924
|
+
var result = getStringHashCode(this.p5e_1);
|
|
8925
|
+
result = imul(result, 31) + getBooleanHashCode(this.q5e_1) | 0;
|
|
8926
|
+
result = imul(result, 31) + getBooleanHashCode(this.r5e_1) | 0;
|
|
8927
8927
|
return result;
|
|
8928
8928
|
};
|
|
8929
8929
|
protoOf(PrintRequest).equals = function (other) {
|
|
@@ -8932,11 +8932,11 @@ protoOf(PrintRequest).equals = function (other) {
|
|
|
8932
8932
|
if (!(other instanceof PrintRequest))
|
|
8933
8933
|
return false;
|
|
8934
8934
|
var tmp0_other_with_cast = other instanceof PrintRequest ? other : THROW_CCE();
|
|
8935
|
-
if (!(this.
|
|
8935
|
+
if (!(this.p5e_1 === tmp0_other_with_cast.p5e_1))
|
|
8936
8936
|
return false;
|
|
8937
|
-
if (!(this.
|
|
8937
|
+
if (!(this.q5e_1 === tmp0_other_with_cast.q5e_1))
|
|
8938
8938
|
return false;
|
|
8939
|
-
if (!(this.
|
|
8939
|
+
if (!(this.r5e_1 === tmp0_other_with_cast.r5e_1))
|
|
8940
8940
|
return false;
|
|
8941
8941
|
return true;
|
|
8942
8942
|
};
|
|
@@ -8944,42 +8944,42 @@ function definitionList(init) {
|
|
|
8944
8944
|
// Inline function 'kotlin.apply' call
|
|
8945
8945
|
var this_0 = new DefinitionListBuilder();
|
|
8946
8946
|
init(this_0);
|
|
8947
|
-
return this_0.
|
|
8947
|
+
return this_0.h58();
|
|
8948
8948
|
}
|
|
8949
8949
|
function DefinitionListBuilder() {
|
|
8950
8950
|
var tmp = this;
|
|
8951
8951
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8952
|
-
tmp.
|
|
8953
|
-
this.
|
|
8954
|
-
this.
|
|
8955
|
-
this.
|
|
8952
|
+
tmp.k5f_1 = ArrayList_init_$Create$();
|
|
8953
|
+
this.l5f_1 = false;
|
|
8954
|
+
this.m5f_1 = null;
|
|
8955
|
+
this.n5f_1 = null;
|
|
8956
8956
|
}
|
|
8957
|
-
protoOf(DefinitionListBuilder).
|
|
8958
|
-
this.
|
|
8957
|
+
protoOf(DefinitionListBuilder).o5f = function (value) {
|
|
8958
|
+
this.m5f_1 = value;
|
|
8959
8959
|
};
|
|
8960
|
-
protoOf(DefinitionListBuilder).
|
|
8961
|
-
var tmp0_elvis_lhs = this.
|
|
8962
|
-
return tmp0_elvis_lhs == null ? this.
|
|
8960
|
+
protoOf(DefinitionListBuilder).p5f = function () {
|
|
8961
|
+
var tmp0_elvis_lhs = this.m5f_1;
|
|
8962
|
+
return tmp0_elvis_lhs == null ? this.l5f_1 ? 2 : 0 : tmp0_elvis_lhs;
|
|
8963
8963
|
};
|
|
8964
|
-
protoOf(DefinitionListBuilder).
|
|
8965
|
-
var tmp0_elvis_lhs = this.
|
|
8966
|
-
return tmp0_elvis_lhs == null ? this.
|
|
8964
|
+
protoOf(DefinitionListBuilder).q5f = function () {
|
|
8965
|
+
var tmp0_elvis_lhs = this.n5f_1;
|
|
8966
|
+
return tmp0_elvis_lhs == null ? this.l5f_1 ? 0 : 1 : tmp0_elvis_lhs;
|
|
8967
8967
|
};
|
|
8968
|
-
protoOf(DefinitionListBuilder).
|
|
8969
|
-
this.
|
|
8968
|
+
protoOf(DefinitionListBuilder).r5f = function (term, description) {
|
|
8969
|
+
this.s5f(Text_init_$Create$(term), description);
|
|
8970
8970
|
};
|
|
8971
|
-
protoOf(DefinitionListBuilder).
|
|
8972
|
-
var tmp0 = this.
|
|
8971
|
+
protoOf(DefinitionListBuilder).s5f = function (term, description) {
|
|
8972
|
+
var tmp0 = this.k5f_1;
|
|
8973
8973
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8974
8974
|
var element = to(term, description);
|
|
8975
8975
|
tmp0.x(element);
|
|
8976
8976
|
};
|
|
8977
|
-
protoOf(DefinitionListBuilder).
|
|
8978
|
-
return new DefinitionList(this.
|
|
8977
|
+
protoOf(DefinitionListBuilder).h58 = function () {
|
|
8978
|
+
return new DefinitionList(this.k5f_1, this.l5f_1, this.p5f(), this.q5f());
|
|
8979
8979
|
};
|
|
8980
8980
|
function _get_keys__d97k5z($this) {
|
|
8981
8981
|
// Inline function 'kotlin.collections.map' call
|
|
8982
|
-
var this_0 = $this.
|
|
8982
|
+
var this_0 = $this.t5f_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();
|
|
@@ -8992,7 +8992,7 @@ function _get_keys__d97k5z($this) {
|
|
|
8992
8992
|
}
|
|
8993
8993
|
function _get_values__tel787($this) {
|
|
8994
8994
|
// Inline function 'kotlin.collections.map' call
|
|
8995
|
-
var this_0 = $this.
|
|
8995
|
+
var this_0 = $this.t5f_1;
|
|
8996
8996
|
// Inline function 'kotlin.collections.mapTo' call
|
|
8997
8997
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8998
8998
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -9008,27 +9008,27 @@ function measureDescriptions($this, t, width) {
|
|
|
9008
9008
|
}
|
|
9009
9009
|
function DefinitionList$render$lambda($descOffset) {
|
|
9010
9010
|
return function ($this$withPadding) {
|
|
9011
|
-
$this$withPadding.
|
|
9011
|
+
$this$withPadding.u5d_1 = $descOffset;
|
|
9012
9012
|
return Unit_instance;
|
|
9013
9013
|
};
|
|
9014
9014
|
}
|
|
9015
9015
|
function DefinitionList(entries, inline, descriptionSpacing, entrySpacing) {
|
|
9016
|
-
this.
|
|
9017
|
-
this.
|
|
9018
|
-
this.
|
|
9019
|
-
this.
|
|
9016
|
+
this.t5f_1 = entries;
|
|
9017
|
+
this.u5f_1 = inline;
|
|
9018
|
+
this.v5f_1 = descriptionSpacing;
|
|
9019
|
+
this.w5f_1 = entrySpacing;
|
|
9020
9020
|
// Inline function 'kotlin.require' call
|
|
9021
|
-
if (!(this.
|
|
9021
|
+
if (!(this.v5f_1 >= 0)) {
|
|
9022
9022
|
var message = 'Spacing cannot be negative';
|
|
9023
9023
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
9024
9024
|
}
|
|
9025
9025
|
}
|
|
9026
|
-
protoOf(DefinitionList).
|
|
9026
|
+
protoOf(DefinitionList).o58 = function (t, width) {
|
|
9027
9027
|
var termMeasurement = maxWidthRange(_get_keys__d97k5z(this), t, width);
|
|
9028
9028
|
var descMeasurement = measureDescriptions(this, t, width);
|
|
9029
9029
|
var tmp;
|
|
9030
|
-
if (this.
|
|
9031
|
-
tmp = termMeasurement.
|
|
9030
|
+
if (this.u5f_1) {
|
|
9031
|
+
tmp = termMeasurement.f59(descMeasurement).e59(this.v5f_1);
|
|
9032
9032
|
} else {
|
|
9033
9033
|
// Inline function 'com.github.ajalt.mordant.rendering.maxWidthRange' call
|
|
9034
9034
|
var max = 0;
|
|
@@ -9045,18 +9045,18 @@ protoOf(DefinitionList).b59 = function (t, width) {
|
|
|
9045
9045
|
var range = tmp_0;
|
|
9046
9046
|
var tmp0 = max;
|
|
9047
9047
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
9048
|
-
var b = range.
|
|
9048
|
+
var b = range.d59_1;
|
|
9049
9049
|
max = Math.max(tmp0, b);
|
|
9050
9050
|
var tmp0_0 = min;
|
|
9051
9051
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
9052
|
-
var b_0 = range.
|
|
9052
|
+
var b_0 = range.c59_1;
|
|
9053
9053
|
min = Math.max(tmp0_0, b_0);
|
|
9054
9054
|
}
|
|
9055
9055
|
tmp = new WidthRange(min + 0 | 0, max + 0 | 0);
|
|
9056
9056
|
}
|
|
9057
9057
|
return tmp;
|
|
9058
9058
|
};
|
|
9059
|
-
protoOf(DefinitionList).
|
|
9059
|
+
protoOf(DefinitionList).p58 = function (t, width) {
|
|
9060
9060
|
if (width === 0)
|
|
9061
9061
|
return get_EMPTY_LINES();
|
|
9062
9062
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -9066,19 +9066,19 @@ protoOf(DefinitionList).c59 = function (t, width) {
|
|
|
9066
9066
|
var _iterator__ex2g4s = this_0.t();
|
|
9067
9067
|
while (_iterator__ex2g4s.u()) {
|
|
9068
9068
|
var item = _iterator__ex2g4s.v();
|
|
9069
|
-
var tmp$ret$2 = item.
|
|
9069
|
+
var tmp$ret$2 = item.o58(t, width);
|
|
9070
9070
|
destination.x(tmp$ret$2);
|
|
9071
9071
|
}
|
|
9072
9072
|
var termMeasurements = destination;
|
|
9073
9073
|
var maxInlineTermWidth = numberToInt(width / 2.5);
|
|
9074
|
-
var maxDescWidth = measureDescriptions(this, t, width).
|
|
9074
|
+
var maxDescWidth = measureDescriptions(this, t, width).d59_1;
|
|
9075
9075
|
// Inline function 'kotlin.collections.filter' call
|
|
9076
9076
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9077
9077
|
var destination_0 = ArrayList_init_$Create$();
|
|
9078
9078
|
var _iterator__ex2g4s_0 = termMeasurements.t();
|
|
9079
9079
|
while (_iterator__ex2g4s_0.u()) {
|
|
9080
9080
|
var element = _iterator__ex2g4s_0.v();
|
|
9081
|
-
if (element.
|
|
9081
|
+
if (element.d59_1 <= maxInlineTermWidth || (this.u5f_1 && ((element.d59_1 + this.v5f_1 | 0) + maxDescWidth | 0) <= width)) {
|
|
9082
9082
|
destination_0.x(element);
|
|
9083
9083
|
}
|
|
9084
9084
|
}
|
|
@@ -9097,18 +9097,18 @@ protoOf(DefinitionList).c59 = function (t, width) {
|
|
|
9097
9097
|
var range = tmp;
|
|
9098
9098
|
var tmp0 = max;
|
|
9099
9099
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
9100
|
-
var b = range.
|
|
9100
|
+
var b = range.d59_1;
|
|
9101
9101
|
max = Math.max(tmp0, b);
|
|
9102
9102
|
var tmp0_0 = min;
|
|
9103
9103
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
9104
|
-
var b_0 = range.
|
|
9104
|
+
var b_0 = range.c59_1;
|
|
9105
9105
|
min = Math.max(tmp0_0, b_0);
|
|
9106
9106
|
}
|
|
9107
|
-
var termWidth = (new WidthRange(min + 0 | 0, max + 0 | 0)).
|
|
9108
|
-
var descOffset = coerceAtLeast(termWidth + this.
|
|
9107
|
+
var termWidth = (new WidthRange(min + 0 | 0, max + 0 | 0)).d59_1;
|
|
9108
|
+
var descOffset = coerceAtLeast(termWidth + this.v5f_1 | 0, 4);
|
|
9109
9109
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
9110
9110
|
var lines = ArrayList_init_$Create$();
|
|
9111
|
-
var iterator = this.
|
|
9111
|
+
var iterator = this.t5f_1.t();
|
|
9112
9112
|
var index = 0;
|
|
9113
9113
|
$l$loop_1: while (iterator.u()) {
|
|
9114
9114
|
var i = index;
|
|
@@ -9116,7 +9116,7 @@ protoOf(DefinitionList).c59 = function (t, width) {
|
|
|
9116
9116
|
var entry = iterator.v();
|
|
9117
9117
|
if (i > 0) {
|
|
9118
9118
|
// Inline function 'kotlin.repeat' call
|
|
9119
|
-
var times = this.
|
|
9119
|
+
var times = this.w5f_1;
|
|
9120
9120
|
var inductionVariable = 0;
|
|
9121
9121
|
if (inductionVariable < times)
|
|
9122
9122
|
do {
|
|
@@ -9130,12 +9130,12 @@ protoOf(DefinitionList).c59 = function (t, width) {
|
|
|
9130
9130
|
}
|
|
9131
9131
|
var term = entry.af();
|
|
9132
9132
|
var desc = entry.bf();
|
|
9133
|
-
if (!this.
|
|
9133
|
+
if (!this.u5f_1) {
|
|
9134
9134
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9135
|
-
var elements = term.
|
|
9135
|
+
var elements = term.p58(t, width).d54_1;
|
|
9136
9136
|
addAll(lines, elements);
|
|
9137
9137
|
// Inline function 'kotlin.repeat' call
|
|
9138
|
-
var times_0 = this.
|
|
9138
|
+
var times_0 = this.v5f_1;
|
|
9139
9139
|
var inductionVariable_0 = 0;
|
|
9140
9140
|
if (inductionVariable_0 < times_0)
|
|
9141
9141
|
do {
|
|
@@ -9147,28 +9147,28 @@ protoOf(DefinitionList).c59 = function (t, width) {
|
|
|
9147
9147
|
}
|
|
9148
9148
|
while (inductionVariable_0 < times_0);
|
|
9149
9149
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9150
|
-
var elements_0 = desc.
|
|
9150
|
+
var elements_0 = desc.p58(t, width).d54_1;
|
|
9151
9151
|
addAll(lines, elements_0);
|
|
9152
9152
|
continue $l$loop_1;
|
|
9153
9153
|
}
|
|
9154
|
-
if (termMeasurements.b1(i).
|
|
9154
|
+
if (termMeasurements.b1(i).d59_1 > termWidth) {
|
|
9155
9155
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9156
|
-
var elements_1 = term.
|
|
9156
|
+
var elements_1 = term.p58(t, width).d54_1;
|
|
9157
9157
|
addAll(lines, elements_1);
|
|
9158
9158
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9159
|
-
var elements_2 = withPadding(desc, VOID, DefinitionList$render$lambda(descOffset)).
|
|
9159
|
+
var elements_2 = withPadding(desc, VOID, DefinitionList$render$lambda(descOffset)).p58(t, width).d54_1;
|
|
9160
9160
|
addAll(lines, elements_2);
|
|
9161
9161
|
continue $l$loop_1;
|
|
9162
9162
|
}
|
|
9163
|
-
var termLines = term.
|
|
9164
|
-
var descLines = desc.
|
|
9163
|
+
var termLines = term.p58(t, termWidth).d54_1;
|
|
9164
|
+
var descLines = desc.p58(t, coerceAtLeast((width - termWidth | 0) - this.v5f_1 | 0, 0)).d54_1;
|
|
9165
9165
|
// Inline function 'kotlin.collections.mapTo' call
|
|
9166
9166
|
var _iterator__ex2g4s_2 = zip(termLines, descLines).t();
|
|
9167
9167
|
while (_iterator__ex2g4s_2.u()) {
|
|
9168
9168
|
var item_0 = _iterator__ex2g4s_2.v();
|
|
9169
9169
|
var t_0 = item_0.af();
|
|
9170
9170
|
var d = item_0.bf();
|
|
9171
|
-
var tmp$ret$22 = flatLine([t_0, Companion_instance_0.
|
|
9171
|
+
var tmp$ret$22 = flatLine([t_0, Companion_instance_0.u54((this.v5f_1 + termWidth | 0) - get_lineWidth(t_0) | 0), d]);
|
|
9172
9172
|
lines.x(tmp$ret$22);
|
|
9173
9173
|
}
|
|
9174
9174
|
if (termLines.c1() > descLines.c1()) {
|
|
@@ -9176,7 +9176,7 @@ protoOf(DefinitionList).c59 = function (t, width) {
|
|
|
9176
9176
|
var elements_3 = drop_0(termLines, descLines.c1());
|
|
9177
9177
|
addAll(lines, elements_3);
|
|
9178
9178
|
} else if (descLines.c1() > termLines.c1()) {
|
|
9179
|
-
var paddingLeft = descOffset > 0 ? listOf_0(Companion_instance_0.
|
|
9179
|
+
var paddingLeft = descOffset > 0 ? listOf_0(Companion_instance_0.u54(descOffset)) : get_EMPTY_LINE();
|
|
9180
9180
|
// Inline function 'kotlin.collections.mapTo' call
|
|
9181
9181
|
var _iterator__ex2g4s_3 = drop_0(descLines, termLines.c1()).t();
|
|
9182
9182
|
while (_iterator__ex2g4s_3.u()) {
|
|
@@ -9199,10 +9199,10 @@ protoOf(DefinitionList).c59 = function (t, width) {
|
|
|
9199
9199
|
};
|
|
9200
9200
|
function EmptyWidget() {
|
|
9201
9201
|
}
|
|
9202
|
-
protoOf(EmptyWidget).
|
|
9202
|
+
protoOf(EmptyWidget).o58 = function (t, width) {
|
|
9203
9203
|
return new WidthRange(0, 0);
|
|
9204
9204
|
};
|
|
9205
|
-
protoOf(EmptyWidget).
|
|
9205
|
+
protoOf(EmptyWidget).p58 = function (t, width) {
|
|
9206
9206
|
return get_EMPTY_LINES();
|
|
9207
9207
|
};
|
|
9208
9208
|
var EmptyWidget_instance;
|
|
@@ -9217,8 +9217,8 @@ function withPadding(_this__u8e3s4, padEmptyLines, padding) {
|
|
|
9217
9217
|
var this_0 = new Builder(0, 0, 0, 0);
|
|
9218
9218
|
padding(this_0);
|
|
9219
9219
|
var b = this_0;
|
|
9220
|
-
var tmp$ret$0 = new Padding(b.
|
|
9221
|
-
return tmp.
|
|
9220
|
+
var tmp$ret$0 = new Padding(b.r5d_1, b.s5d_1, b.t5d_1, b.u5d_1);
|
|
9221
|
+
return tmp.x5f(_this__u8e3s4, tmp$ret$0, padEmptyLines);
|
|
9222
9222
|
}
|
|
9223
9223
|
function Padding_init_$Init$(all, $this) {
|
|
9224
9224
|
Padding.call($this, all, all, all, all);
|
|
@@ -9234,23 +9234,23 @@ function Companion_getInstance_5() {
|
|
|
9234
9234
|
return Companion_instance_4;
|
|
9235
9235
|
}
|
|
9236
9236
|
function Builder(top, right, bottom, left) {
|
|
9237
|
-
this.
|
|
9238
|
-
this.
|
|
9239
|
-
this.
|
|
9240
|
-
this.
|
|
9237
|
+
this.r5d_1 = top;
|
|
9238
|
+
this.s5d_1 = right;
|
|
9239
|
+
this.t5d_1 = bottom;
|
|
9240
|
+
this.u5d_1 = left;
|
|
9241
9241
|
}
|
|
9242
|
-
protoOf(Builder).
|
|
9243
|
-
this.
|
|
9244
|
-
this.
|
|
9242
|
+
protoOf(Builder).v5d = function (value) {
|
|
9243
|
+
this.u5d_1 = value;
|
|
9244
|
+
this.s5d_1 = value;
|
|
9245
9245
|
};
|
|
9246
9246
|
protoOf(Builder).toString = function () {
|
|
9247
|
-
return 'Builder(top=' + this.
|
|
9247
|
+
return 'Builder(top=' + this.r5d_1 + ', right=' + this.s5d_1 + ', bottom=' + this.t5d_1 + ', left=' + this.u5d_1 + ')';
|
|
9248
9248
|
};
|
|
9249
9249
|
protoOf(Builder).hashCode = function () {
|
|
9250
|
-
var result = this.
|
|
9251
|
-
result = imul(result, 31) + this.
|
|
9252
|
-
result = imul(result, 31) + this.
|
|
9253
|
-
result = imul(result, 31) + this.
|
|
9250
|
+
var result = this.r5d_1;
|
|
9251
|
+
result = imul(result, 31) + this.s5d_1 | 0;
|
|
9252
|
+
result = imul(result, 31) + this.t5d_1 | 0;
|
|
9253
|
+
result = imul(result, 31) + this.u5d_1 | 0;
|
|
9254
9254
|
return result;
|
|
9255
9255
|
};
|
|
9256
9256
|
protoOf(Builder).equals = function (other) {
|
|
@@ -9259,53 +9259,53 @@ protoOf(Builder).equals = function (other) {
|
|
|
9259
9259
|
if (!(other instanceof Builder))
|
|
9260
9260
|
return false;
|
|
9261
9261
|
var tmp0_other_with_cast = other instanceof Builder ? other : THROW_CCE();
|
|
9262
|
-
if (!(this.
|
|
9262
|
+
if (!(this.r5d_1 === tmp0_other_with_cast.r5d_1))
|
|
9263
9263
|
return false;
|
|
9264
|
-
if (!(this.
|
|
9264
|
+
if (!(this.s5d_1 === tmp0_other_with_cast.s5d_1))
|
|
9265
9265
|
return false;
|
|
9266
|
-
if (!(this.
|
|
9266
|
+
if (!(this.t5d_1 === tmp0_other_with_cast.t5d_1))
|
|
9267
9267
|
return false;
|
|
9268
|
-
if (!(this.
|
|
9268
|
+
if (!(this.u5d_1 === tmp0_other_with_cast.u5d_1))
|
|
9269
9269
|
return false;
|
|
9270
9270
|
return true;
|
|
9271
9271
|
};
|
|
9272
9272
|
function Padding(top, right, bottom, left) {
|
|
9273
|
-
this.
|
|
9274
|
-
this.
|
|
9275
|
-
this.
|
|
9276
|
-
this.
|
|
9273
|
+
this.w5d_1 = top;
|
|
9274
|
+
this.x5d_1 = right;
|
|
9275
|
+
this.y5d_1 = bottom;
|
|
9276
|
+
this.z5d_1 = left;
|
|
9277
9277
|
// Inline function 'kotlin.require' call
|
|
9278
|
-
if (!(this.
|
|
9278
|
+
if (!(this.w5d_1 >= 0)) {
|
|
9279
9279
|
var message = 'Invalid negative top padding';
|
|
9280
9280
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
9281
9281
|
}
|
|
9282
9282
|
// Inline function 'kotlin.require' call
|
|
9283
|
-
if (!(this.
|
|
9283
|
+
if (!(this.x5d_1 >= 0)) {
|
|
9284
9284
|
var message_0 = 'Invalid negative right padding';
|
|
9285
9285
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
9286
9286
|
}
|
|
9287
9287
|
// Inline function 'kotlin.require' call
|
|
9288
|
-
if (!(this.
|
|
9288
|
+
if (!(this.y5d_1 >= 0)) {
|
|
9289
9289
|
var message_1 = 'Invalid negative bottom padding';
|
|
9290
9290
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
9291
9291
|
}
|
|
9292
9292
|
// Inline function 'kotlin.require' call
|
|
9293
|
-
if (!(this.
|
|
9293
|
+
if (!(this.z5d_1 >= 0)) {
|
|
9294
9294
|
var message_2 = 'Invalid negative left padding';
|
|
9295
9295
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
9296
9296
|
}
|
|
9297
9297
|
}
|
|
9298
|
-
protoOf(Padding).
|
|
9299
|
-
return this.
|
|
9298
|
+
protoOf(Padding).y5f = function () {
|
|
9299
|
+
return this.w5d_1 === 0 && this.x5d_1 === 0 && this.y5d_1 === 0 && this.z5d_1 === 0;
|
|
9300
9300
|
};
|
|
9301
9301
|
protoOf(Padding).toString = function () {
|
|
9302
|
-
return 'Padding(top=' + this.
|
|
9302
|
+
return 'Padding(top=' + this.w5d_1 + ', right=' + this.x5d_1 + ', bottom=' + this.y5d_1 + ', left=' + this.z5d_1 + ')';
|
|
9303
9303
|
};
|
|
9304
9304
|
protoOf(Padding).hashCode = function () {
|
|
9305
|
-
var result = this.
|
|
9306
|
-
result = imul(result, 31) + this.
|
|
9307
|
-
result = imul(result, 31) + this.
|
|
9308
|
-
result = imul(result, 31) + this.
|
|
9305
|
+
var result = this.w5d_1;
|
|
9306
|
+
result = imul(result, 31) + this.x5d_1 | 0;
|
|
9307
|
+
result = imul(result, 31) + this.y5d_1 | 0;
|
|
9308
|
+
result = imul(result, 31) + this.z5d_1 | 0;
|
|
9309
9309
|
return result;
|
|
9310
9310
|
};
|
|
9311
9311
|
protoOf(Padding).equals = function (other) {
|
|
@@ -9314,25 +9314,25 @@ protoOf(Padding).equals = function (other) {
|
|
|
9314
9314
|
if (!(other instanceof Padding))
|
|
9315
9315
|
return false;
|
|
9316
9316
|
var tmp0_other_with_cast = other instanceof Padding ? other : THROW_CCE();
|
|
9317
|
-
if (!(this.
|
|
9317
|
+
if (!(this.w5d_1 === tmp0_other_with_cast.w5d_1))
|
|
9318
9318
|
return false;
|
|
9319
|
-
if (!(this.
|
|
9319
|
+
if (!(this.x5d_1 === tmp0_other_with_cast.x5d_1))
|
|
9320
9320
|
return false;
|
|
9321
|
-
if (!(this.
|
|
9321
|
+
if (!(this.y5d_1 === tmp0_other_with_cast.y5d_1))
|
|
9322
9322
|
return false;
|
|
9323
|
-
if (!(this.
|
|
9323
|
+
if (!(this.z5d_1 === tmp0_other_with_cast.z5d_1))
|
|
9324
9324
|
return false;
|
|
9325
9325
|
return true;
|
|
9326
9326
|
};
|
|
9327
9327
|
function Companion_5() {
|
|
9328
9328
|
}
|
|
9329
|
-
protoOf(Companion_5).
|
|
9329
|
+
protoOf(Companion_5).x5f = function (content, padding, padEmptyLines) {
|
|
9330
9330
|
var tmp;
|
|
9331
|
-
if (padding.
|
|
9331
|
+
if (padding.y5f()) {
|
|
9332
9332
|
tmp = content;
|
|
9333
9333
|
} else {
|
|
9334
9334
|
if (content instanceof Padded) {
|
|
9335
|
-
tmp = new Padded(content.
|
|
9335
|
+
tmp = new Padded(content.z5f_1, plus_2(content.a5g_1, padding), padEmptyLines);
|
|
9336
9336
|
} else {
|
|
9337
9337
|
tmp = new Padded(content, padding, padEmptyLines);
|
|
9338
9338
|
}
|
|
@@ -9344,23 +9344,23 @@ function Companion_getInstance_6() {
|
|
|
9344
9344
|
return Companion_instance_5;
|
|
9345
9345
|
}
|
|
9346
9346
|
function _get_paddingWidth__8vycom($this) {
|
|
9347
|
-
return $this.
|
|
9347
|
+
return $this.a5g_1.z5d_1 + $this.a5g_1.x5d_1 | 0;
|
|
9348
9348
|
}
|
|
9349
9349
|
function Padded(content, padding, padEmptyLines) {
|
|
9350
|
-
this.
|
|
9351
|
-
this.
|
|
9352
|
-
this.
|
|
9353
|
-
}
|
|
9354
|
-
protoOf(Padded).
|
|
9355
|
-
return this.
|
|
9356
|
-
};
|
|
9357
|
-
protoOf(Padded).
|
|
9358
|
-
var lines = this.
|
|
9359
|
-
var output = ArrayList_init_$Create$_0((this.
|
|
9360
|
-
var left = this.
|
|
9361
|
-
var right = this.
|
|
9350
|
+
this.z5f_1 = content;
|
|
9351
|
+
this.a5g_1 = padding;
|
|
9352
|
+
this.b5g_1 = padEmptyLines;
|
|
9353
|
+
}
|
|
9354
|
+
protoOf(Padded).o58 = function (t, width) {
|
|
9355
|
+
return this.z5f_1.o58(t, width - _get_paddingWidth__8vycom(this) | 0).e59(_get_paddingWidth__8vycom(this));
|
|
9356
|
+
};
|
|
9357
|
+
protoOf(Padded).p58 = function (t, width) {
|
|
9358
|
+
var lines = this.z5f_1.p58(t, coerceAtLeast(width - _get_paddingWidth__8vycom(this) | 0, 0));
|
|
9359
|
+
var output = ArrayList_init_$Create$_0((this.a5g_1.w5d_1 + lines.q56() | 0) + this.a5g_1.y5d_1 | 0);
|
|
9360
|
+
var left = this.a5g_1.z5d_1 > 0 ? listOf_0(Companion_instance_0.u54(this.a5g_1.z5d_1)) : get_EMPTY_LINE();
|
|
9361
|
+
var right = this.a5g_1.x5d_1 > 0 ? listOf_0(Companion_instance_0.u54(this.a5g_1.x5d_1)) : get_EMPTY_LINE();
|
|
9362
9362
|
// Inline function 'kotlin.repeat' call
|
|
9363
|
-
var times = this.
|
|
9363
|
+
var times = this.a5g_1.w5d_1;
|
|
9364
9364
|
var inductionVariable = 0;
|
|
9365
9365
|
if (inductionVariable < times)
|
|
9366
9366
|
do {
|
|
@@ -9369,15 +9369,15 @@ protoOf(Padded).c59 = function (t, width) {
|
|
|
9369
9369
|
output.x(get_EMPTY_LINE());
|
|
9370
9370
|
}
|
|
9371
9371
|
while (inductionVariable < times);
|
|
9372
|
-
var _iterator__ex2g4s = lines.
|
|
9372
|
+
var _iterator__ex2g4s = lines.d54_1.t();
|
|
9373
9373
|
while (_iterator__ex2g4s.u()) {
|
|
9374
9374
|
var line = _iterator__ex2g4s.v();
|
|
9375
9375
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9376
|
-
var element = !this.
|
|
9376
|
+
var element = !this.b5g_1 && line.r() ? get_EMPTY_LINE() : flatLine([left, line, right]);
|
|
9377
9377
|
output.x(element);
|
|
9378
9378
|
}
|
|
9379
9379
|
// Inline function 'kotlin.repeat' call
|
|
9380
|
-
var times_0 = this.
|
|
9380
|
+
var times_0 = this.a5g_1.y5d_1;
|
|
9381
9381
|
var inductionVariable_0 = 0;
|
|
9382
9382
|
if (inductionVariable_0 < times_0)
|
|
9383
9383
|
do {
|
|
@@ -9389,11 +9389,11 @@ protoOf(Padded).c59 = function (t, width) {
|
|
|
9389
9389
|
return new Lines(output);
|
|
9390
9390
|
};
|
|
9391
9391
|
function plus_2(_this__u8e3s4, other) {
|
|
9392
|
-
return new Padding(_this__u8e3s4.
|
|
9392
|
+
return new Padding(_this__u8e3s4.w5d_1 + other.w5d_1 | 0, _this__u8e3s4.x5d_1 + other.x5d_1 | 0, _this__u8e3s4.y5d_1 + other.y5d_1 | 0, _this__u8e3s4.z5d_1 + other.z5d_1 | 0);
|
|
9393
9393
|
}
|
|
9394
9394
|
function withPadding_0(_this__u8e3s4, padding, padEmptyLines) {
|
|
9395
9395
|
padEmptyLines = padEmptyLines === VOID ? true : padEmptyLines;
|
|
9396
|
-
return Companion_instance_5.
|
|
9396
|
+
return Companion_instance_5.x5f(_this__u8e3s4, padding, padEmptyLines);
|
|
9397
9397
|
}
|
|
9398
9398
|
function Text_init_$Init$(text, whitespace, align, overflowWrap, width, tabWidth, $this) {
|
|
9399
9399
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
@@ -9417,48 +9417,48 @@ function wrap($this, wrapWidth, tabWidth, align, overflowWrap) {
|
|
|
9417
9417
|
var endStyle = {_v: get_DEFAULT_STYLE()};
|
|
9418
9418
|
var width = {_v: 0};
|
|
9419
9419
|
var lastPieceWasWhitespace = {_v: true};
|
|
9420
|
-
var _iterator__ex2g4s = $this.
|
|
9420
|
+
var _iterator__ex2g4s = $this.c5g_1.d54_1.t();
|
|
9421
9421
|
while (_iterator__ex2g4s.u()) {
|
|
9422
9422
|
var oldLine = _iterator__ex2g4s.v();
|
|
9423
9423
|
var lastNonWhitespace_0 = lastNonWhitespace($this, oldLine, align);
|
|
9424
|
-
endStyle._v = oldLine.
|
|
9424
|
+
endStyle._v = oldLine.f54_1;
|
|
9425
9425
|
var iterator = oldLine.t();
|
|
9426
9426
|
var index = 0;
|
|
9427
9427
|
loop: while (iterator.u()) {
|
|
9428
9428
|
var i = index;
|
|
9429
9429
|
index = index + 1 | 0;
|
|
9430
9430
|
var piece = iterator.v();
|
|
9431
|
-
if (piece.
|
|
9431
|
+
if (piece.g54_1 === '\x85' || piece.g54_1 === '\u2028') {
|
|
9432
9432
|
wrap$breakLine($this, align, line, width, wrapWidth, endStyle, lines, lastPieceWasWhitespace);
|
|
9433
9433
|
continue loop;
|
|
9434
9434
|
}
|
|
9435
|
-
if (($this.
|
|
9435
|
+
if (($this.d5g_1.n58_1 || align.equals(TextAlign_JUSTIFY_getInstance())) && (0 <= lastNonWhitespace_0 ? lastNonWhitespace_0 < i : false)) {
|
|
9436
9436
|
continue loop;
|
|
9437
9437
|
}
|
|
9438
9438
|
if (i === 0 && !lastPieceWasWhitespace._v) {
|
|
9439
|
-
var tmp152_subject = last(line._v).
|
|
9439
|
+
var tmp152_subject = last(line._v).h54_1;
|
|
9440
9440
|
var tmp;
|
|
9441
9441
|
var tmp153_safe_receiver = firstOrNull(oldLine);
|
|
9442
|
-
if (equals(tmp152_subject, tmp153_safe_receiver == null ? null : tmp153_safe_receiver.
|
|
9443
|
-
tmp = last(line._v).
|
|
9442
|
+
if (equals(tmp152_subject, tmp153_safe_receiver == null ? null : tmp153_safe_receiver.h54_1)) {
|
|
9443
|
+
tmp = last(line._v).h54_1;
|
|
9444
9444
|
} else {
|
|
9445
9445
|
tmp = get_DEFAULT_STYLE();
|
|
9446
9446
|
}
|
|
9447
9447
|
var style = tmp;
|
|
9448
|
-
line._v.x(Companion_instance_0.
|
|
9448
|
+
line._v.x(Companion_instance_0.a55(' ', style));
|
|
9449
9449
|
lastPieceWasWhitespace._v = true;
|
|
9450
9450
|
width._v = width._v + 1 | 0;
|
|
9451
9451
|
}
|
|
9452
|
-
var pieceIsWhitespace = piece.
|
|
9453
|
-
if (pieceIsWhitespace && lastPieceWasWhitespace._v && $this.
|
|
9452
|
+
var pieceIsWhitespace = piece.c57();
|
|
9453
|
+
if (pieceIsWhitespace && lastPieceWasWhitespace._v && $this.d5g_1.l58_1)
|
|
9454
9454
|
continue loop;
|
|
9455
9455
|
var tmp_0;
|
|
9456
|
-
if (pieceIsWhitespace && $this.
|
|
9457
|
-
tmp_0 = Companion_instance_0.
|
|
9458
|
-
} else if (piece.
|
|
9456
|
+
if (pieceIsWhitespace && $this.d5g_1.l58_1) {
|
|
9457
|
+
tmp_0 = Companion_instance_0.x56(1, piece.h54_1);
|
|
9458
|
+
} else if (piece.d57()) {
|
|
9459
9459
|
var tmp_1;
|
|
9460
9460
|
if (tabWidth > 0) {
|
|
9461
|
-
tmp_1 = Companion_instance_0.
|
|
9461
|
+
tmp_1 = Companion_instance_0.x56(tabWidth - (width._v % tabWidth | 0) | 0, piece.h54_1);
|
|
9462
9462
|
} else {
|
|
9463
9463
|
continue loop;
|
|
9464
9464
|
}
|
|
@@ -9467,34 +9467,34 @@ function wrap($this, wrapWidth, tabWidth, align, overflowWrap) {
|
|
|
9467
9467
|
tmp_0 = piece;
|
|
9468
9468
|
}
|
|
9469
9469
|
var span = tmp_0;
|
|
9470
|
-
var cellWidth = span.
|
|
9471
|
-
if ($this.
|
|
9470
|
+
var cellWidth = span.w56();
|
|
9471
|
+
if ($this.d5g_1.m58_1 && width._v > 0 && (width._v + cellWidth | 0) > wrapWidth) {
|
|
9472
9472
|
wrap$breakLine($this, align, line, width, wrapWidth, endStyle, lines, lastPieceWasWhitespace);
|
|
9473
9473
|
if (pieceIsWhitespace)
|
|
9474
9474
|
continue loop;
|
|
9475
9475
|
}
|
|
9476
|
-
if ($this.
|
|
9476
|
+
if ($this.d5g_1.m58_1 && cellWidth > wrapWidth) {
|
|
9477
9477
|
switch (overflowWrap.f3_1) {
|
|
9478
9478
|
case 0:
|
|
9479
9479
|
break;
|
|
9480
9480
|
case 2:
|
|
9481
|
-
span = Companion_instance_0.
|
|
9481
|
+
span = Companion_instance_0.a55(take(span.g54_1, wrapWidth), span.h54_1);
|
|
9482
9482
|
break;
|
|
9483
9483
|
case 3:
|
|
9484
|
-
span = Companion_instance_0.
|
|
9484
|
+
span = Companion_instance_0.a55(take(span.g54_1, wrapWidth - 1 | 0) + '\u2026', span.h54_1);
|
|
9485
9485
|
break;
|
|
9486
9486
|
case 1:
|
|
9487
9487
|
// Inline function 'kotlin.collections.forEach' call
|
|
9488
9488
|
|
|
9489
|
-
var _iterator__ex2g4s_0 = chunked(span.
|
|
9489
|
+
var _iterator__ex2g4s_0 = chunked(span.g54_1, wrapWidth).t();
|
|
9490
9490
|
while (_iterator__ex2g4s_0.u()) {
|
|
9491
9491
|
var element = _iterator__ex2g4s_0.v();
|
|
9492
9492
|
if (element.length === wrapWidth) {
|
|
9493
9493
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9494
|
-
var element_0 = Line_init_$Create$(listOf_0(Companion_instance_0.
|
|
9494
|
+
var element_0 = Line_init_$Create$(listOf_0(Companion_instance_0.a55(element, span.h54_1)));
|
|
9495
9495
|
lines.x(element_0);
|
|
9496
9496
|
} else {
|
|
9497
|
-
span = Companion_instance_0.
|
|
9497
|
+
span = Companion_instance_0.a55(element, span.h54_1);
|
|
9498
9498
|
}
|
|
9499
9499
|
}
|
|
9500
9500
|
|
|
@@ -9504,11 +9504,11 @@ function wrap($this, wrapWidth, tabWidth, align, overflowWrap) {
|
|
|
9504
9504
|
break;
|
|
9505
9505
|
}
|
|
9506
9506
|
}
|
|
9507
|
-
width._v = width._v + span.
|
|
9507
|
+
width._v = width._v + span.w56() | 0;
|
|
9508
9508
|
line._v.x(span);
|
|
9509
9509
|
lastPieceWasWhitespace._v = pieceIsWhitespace;
|
|
9510
9510
|
}
|
|
9511
|
-
if (!$this.
|
|
9511
|
+
if (!$this.d5g_1.k58_1) {
|
|
9512
9512
|
wrap$breakLine($this, align, line, width, wrapWidth, endStyle, lines, lastPieceWasWhitespace);
|
|
9513
9513
|
}
|
|
9514
9514
|
}
|
|
@@ -9520,13 +9520,13 @@ function wrap($this, wrapWidth, tabWidth, align, overflowWrap) {
|
|
|
9520
9520
|
}
|
|
9521
9521
|
function lastNonWhitespace($this, line, align) {
|
|
9522
9522
|
var tmp;
|
|
9523
|
-
if ($this.
|
|
9523
|
+
if ($this.d5g_1.n58_1 || align.equals(TextAlign_JUSTIFY_getInstance())) {
|
|
9524
9524
|
var tmp$ret$0;
|
|
9525
9525
|
$l$block: {
|
|
9526
9526
|
// Inline function 'kotlin.collections.indexOfLast' call
|
|
9527
9527
|
var iterator = line.h1(line.c1());
|
|
9528
9528
|
while (iterator.t4()) {
|
|
9529
|
-
if (!iterator.v4().
|
|
9529
|
+
if (!iterator.v4().c57()) {
|
|
9530
9530
|
tmp$ret$0 = iterator.u4();
|
|
9531
9531
|
break $l$block;
|
|
9532
9532
|
}
|
|
@@ -9564,14 +9564,14 @@ function alignLine($this, line, wrapWidth, width, align, endStyle) {
|
|
|
9564
9564
|
function alignLineLeft($this, line, extraWidth, endStyle) {
|
|
9565
9565
|
var tmp = Companion_instance_0;
|
|
9566
9566
|
var tmp156_safe_receiver = lastOrNull(line);
|
|
9567
|
-
var tmp0_elvis_lhs = tmp156_safe_receiver == null ? null : tmp156_safe_receiver.
|
|
9568
|
-
line.x(tmp.
|
|
9567
|
+
var tmp0_elvis_lhs = tmp156_safe_receiver == null ? null : tmp156_safe_receiver.h54_1;
|
|
9568
|
+
line.x(tmp.x56(extraWidth, tmp0_elvis_lhs == null ? endStyle : tmp0_elvis_lhs));
|
|
9569
9569
|
}
|
|
9570
9570
|
function alignLineRight($this, line, extraWidth, endStyle) {
|
|
9571
9571
|
var tmp = Companion_instance_0;
|
|
9572
9572
|
var tmp157_safe_receiver = firstOrNull(line);
|
|
9573
|
-
var tmp0_elvis_lhs = tmp157_safe_receiver == null ? null : tmp157_safe_receiver.
|
|
9574
|
-
line.c3(0, tmp.
|
|
9573
|
+
var tmp0_elvis_lhs = tmp157_safe_receiver == null ? null : tmp157_safe_receiver.h54_1;
|
|
9574
|
+
line.c3(0, tmp.x56(extraWidth, tmp0_elvis_lhs == null ? endStyle : tmp0_elvis_lhs));
|
|
9575
9575
|
}
|
|
9576
9576
|
function alignLineCenter($this, line, extraWidth, endStyle) {
|
|
9577
9577
|
var halfExtra = extraWidth / 2 | 0;
|
|
@@ -9598,7 +9598,7 @@ function justifyLine($this, line, extraWidth, endStyle) {
|
|
|
9598
9598
|
var _iterator__ex2g4s = line.t();
|
|
9599
9599
|
while (_iterator__ex2g4s.u()) {
|
|
9600
9600
|
var element = _iterator__ex2g4s.v();
|
|
9601
|
-
if (element.
|
|
9601
|
+
if (element.c57()) {
|
|
9602
9602
|
count = count + 1 | 0;
|
|
9603
9603
|
checkCountOverflow(count);
|
|
9604
9604
|
}
|
|
@@ -9618,7 +9618,7 @@ function justifyLine($this, line, extraWidth, endStyle) {
|
|
|
9618
9618
|
var span = _iterator__ex2g4s_0.v();
|
|
9619
9619
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9620
9620
|
justifiedLine.x(span);
|
|
9621
|
-
if (!span.
|
|
9621
|
+
if (!span.c57())
|
|
9622
9622
|
continue $l$loop_0;
|
|
9623
9623
|
var tmp_0;
|
|
9624
9624
|
var _unary__edvuaz = skipRemainder;
|
|
@@ -9631,13 +9631,13 @@ function justifyLine($this, line, extraWidth, endStyle) {
|
|
|
9631
9631
|
if (tmp_0)
|
|
9632
9632
|
continue $l$loop_0;
|
|
9633
9633
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9634
|
-
var element_0 = Companion_instance_0.
|
|
9634
|
+
var element_0 = Companion_instance_0.x56(spaceSize + (skipRemainder < 0 ? 1 : 0) | 0, span.h54_1);
|
|
9635
9635
|
justifiedLine.x(element_0);
|
|
9636
9636
|
}
|
|
9637
9637
|
return justifiedLine;
|
|
9638
9638
|
}
|
|
9639
9639
|
function wrap$breakLine(this$0, $align, line, width, $wrapWidth, endStyle, lines, lastPieceWasWhitespace) {
|
|
9640
|
-
if (this$0.
|
|
9640
|
+
if (this$0.d5g_1.n58_1 || $align.equals(TextAlign_JUSTIFY_getInstance())) {
|
|
9641
9641
|
var lastNonWhitespace_0 = lastNonWhitespace(this$0, line._v, $align);
|
|
9642
9642
|
if (lastNonWhitespace_0 >= 0) {
|
|
9643
9643
|
// Inline function 'kotlin.repeat' call
|
|
@@ -9657,7 +9657,7 @@ function wrap$breakLine(this$0, $align, line, width, $wrapWidth, endStyle, lines
|
|
|
9657
9657
|
}
|
|
9658
9658
|
var tmp = line._v;
|
|
9659
9659
|
var tmp151_safe_receiver = lastOrNull(line._v);
|
|
9660
|
-
var tmp0_elvis_lhs = tmp151_safe_receiver == null ? null : tmp151_safe_receiver.
|
|
9660
|
+
var tmp0_elvis_lhs = tmp151_safe_receiver == null ? null : tmp151_safe_receiver.h54_1;
|
|
9661
9661
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9662
9662
|
var element = new Line(tmp, tmp0_elvis_lhs == null ? endStyle._v : tmp0_elvis_lhs);
|
|
9663
9663
|
lines.x(element);
|
|
@@ -9667,7 +9667,7 @@ function wrap$breakLine(this$0, $align, line, width, $wrapWidth, endStyle, lines
|
|
|
9667
9667
|
lastPieceWasWhitespace._v = true;
|
|
9668
9668
|
}
|
|
9669
9669
|
function Text$toString$lambda(it) {
|
|
9670
|
-
return it.
|
|
9670
|
+
return it.g54_1;
|
|
9671
9671
|
}
|
|
9672
9672
|
function Text(lines, whitespace, align, overflowWrap, width, tabWidth) {
|
|
9673
9673
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
@@ -9675,29 +9675,29 @@ function Text(lines, whitespace, align, overflowWrap, width, tabWidth) {
|
|
|
9675
9675
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
9676
9676
|
width = width === VOID ? null : width;
|
|
9677
9677
|
tabWidth = tabWidth === VOID ? null : tabWidth;
|
|
9678
|
-
this.
|
|
9679
|
-
this.
|
|
9680
|
-
this.
|
|
9681
|
-
this.
|
|
9682
|
-
this.
|
|
9683
|
-
this.
|
|
9678
|
+
this.c5g_1 = lines;
|
|
9679
|
+
this.d5g_1 = whitespace;
|
|
9680
|
+
this.e5g_1 = align;
|
|
9681
|
+
this.f5g_1 = overflowWrap;
|
|
9682
|
+
this.g5g_1 = width;
|
|
9683
|
+
this.h5g_1 = tabWidth;
|
|
9684
9684
|
// Inline function 'kotlin.require' call
|
|
9685
|
-
if (!(this.
|
|
9685
|
+
if (!(this.g5g_1 == null || this.g5g_1 >= 0)) {
|
|
9686
9686
|
var message = 'width cannot be negative';
|
|
9687
9687
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
9688
9688
|
}
|
|
9689
9689
|
// Inline function 'kotlin.require' call
|
|
9690
|
-
if (!(this.
|
|
9690
|
+
if (!(this.h5g_1 == null || this.h5g_1 >= 0)) {
|
|
9691
9691
|
var message_0 = 'tab width cannot be negative';
|
|
9692
9692
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
9693
9693
|
}
|
|
9694
9694
|
}
|
|
9695
|
-
protoOf(Text).
|
|
9696
|
-
var tmp0_elvis_lhs = this.
|
|
9695
|
+
protoOf(Text).o58 = function (t, width) {
|
|
9696
|
+
var tmp0_elvis_lhs = this.g5g_1;
|
|
9697
9697
|
var tmp = tmp0_elvis_lhs == null ? width : tmp0_elvis_lhs;
|
|
9698
|
-
var tmp1_elvis_lhs = this.
|
|
9699
|
-
var lines = wrap(this, tmp, tmp1_elvis_lhs == null ? t.
|
|
9700
|
-
var tmp0 = lines.
|
|
9698
|
+
var tmp1_elvis_lhs = this.h5g_1;
|
|
9699
|
+
var lines = wrap(this, tmp, tmp1_elvis_lhs == null ? t.s58_1 : tmp1_elvis_lhs, TextAlign_NONE_getInstance(), OverflowWrap_NORMAL_getInstance());
|
|
9700
|
+
var tmp0 = lines.d54_1;
|
|
9701
9701
|
var tmp$ret$0;
|
|
9702
9702
|
$l$block: {
|
|
9703
9703
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -9712,7 +9712,7 @@ protoOf(Text).b59 = function (t, width) {
|
|
|
9712
9712
|
while (_iterator__ex2g4s.u()) {
|
|
9713
9713
|
var element = _iterator__ex2g4s.v();
|
|
9714
9714
|
var tmp_0 = sum;
|
|
9715
|
-
sum = tmp_0 + element.
|
|
9715
|
+
sum = tmp_0 + element.w56() | 0;
|
|
9716
9716
|
}
|
|
9717
9717
|
var maxValue = sum;
|
|
9718
9718
|
while (iterator.u()) {
|
|
@@ -9722,7 +9722,7 @@ protoOf(Text).b59 = function (t, width) {
|
|
|
9722
9722
|
while (_iterator__ex2g4s_0.u()) {
|
|
9723
9723
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
9724
9724
|
var tmp_1 = sum_0;
|
|
9725
|
-
sum_0 = tmp_1 + element_0.
|
|
9725
|
+
sum_0 = tmp_1 + element_0.w56() | 0;
|
|
9726
9726
|
}
|
|
9727
9727
|
var v = sum_0;
|
|
9728
9728
|
if (compareTo(maxValue, v) < 0) {
|
|
@@ -9734,8 +9734,8 @@ protoOf(Text).b59 = function (t, width) {
|
|
|
9734
9734
|
var tmp2_elvis_lhs = tmp$ret$0;
|
|
9735
9735
|
var max = tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs;
|
|
9736
9736
|
var tmp_2;
|
|
9737
|
-
if (this.
|
|
9738
|
-
var tmp0_0 = lines.
|
|
9737
|
+
if (this.d5g_1.m58_1) {
|
|
9738
|
+
var tmp0_0 = lines.d54_1;
|
|
9739
9739
|
var tmp$ret$7;
|
|
9740
9740
|
$l$block_0: {
|
|
9741
9741
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -9753,9 +9753,9 @@ protoOf(Text).b59 = function (t, width) {
|
|
|
9753
9753
|
tmp$ret$9 = null;
|
|
9754
9754
|
break $l$block_1;
|
|
9755
9755
|
}
|
|
9756
|
-
var maxValue_0 = iterator_1.v().
|
|
9756
|
+
var maxValue_0 = iterator_1.v().w56();
|
|
9757
9757
|
while (iterator_1.u()) {
|
|
9758
|
-
var v_0 = iterator_1.v().
|
|
9758
|
+
var v_0 = iterator_1.v().w56();
|
|
9759
9759
|
if (compareTo(maxValue_0, v_0) < 0) {
|
|
9760
9760
|
maxValue_0 = v_0;
|
|
9761
9761
|
}
|
|
@@ -9774,9 +9774,9 @@ protoOf(Text).b59 = function (t, width) {
|
|
|
9774
9774
|
tmp$ret$13 = null;
|
|
9775
9775
|
break $l$block_2;
|
|
9776
9776
|
}
|
|
9777
|
-
var maxValue_2 = iterator_2.v().
|
|
9777
|
+
var maxValue_2 = iterator_2.v().w56();
|
|
9778
9778
|
while (iterator_2.u()) {
|
|
9779
|
-
var v_1 = iterator_2.v().
|
|
9779
|
+
var v_1 = iterator_2.v().w56();
|
|
9780
9780
|
if (compareTo(maxValue_2, v_1) < 0) {
|
|
9781
9781
|
maxValue_2 = v_1;
|
|
9782
9782
|
}
|
|
@@ -9799,14 +9799,14 @@ protoOf(Text).b59 = function (t, width) {
|
|
|
9799
9799
|
var min = tmp_2;
|
|
9800
9800
|
return new WidthRange(min, max);
|
|
9801
9801
|
};
|
|
9802
|
-
protoOf(Text).
|
|
9803
|
-
var tmp0_elvis_lhs = this.
|
|
9802
|
+
protoOf(Text).p58 = function (t, width) {
|
|
9803
|
+
var tmp0_elvis_lhs = this.g5g_1;
|
|
9804
9804
|
var tmp = tmp0_elvis_lhs == null ? width : tmp0_elvis_lhs;
|
|
9805
|
-
var tmp1_elvis_lhs = this.
|
|
9806
|
-
return wrap(this, tmp, tmp1_elvis_lhs == null ? t.
|
|
9805
|
+
var tmp1_elvis_lhs = this.h5g_1;
|
|
9806
|
+
return wrap(this, tmp, tmp1_elvis_lhs == null ? t.s58_1 : tmp1_elvis_lhs, this.e5g_1, this.f5g_1);
|
|
9807
9807
|
};
|
|
9808
9808
|
protoOf(Text).toString = function () {
|
|
9809
|
-
var tmp = flatten(this.
|
|
9809
|
+
var tmp = flatten(this.c5g_1.d54_1);
|
|
9810
9810
|
var plain = joinToString(tmp, '', VOID, VOID, VOID, VOID, Text$toString$lambda);
|
|
9811
9811
|
return 'Text(' + take(plain, 25) + (plain.length > 25 ? '\u2026' : '') + ')';
|
|
9812
9812
|
};
|
|
@@ -9818,19 +9818,19 @@ function getStandardTerminalInterface() {
|
|
|
9818
9818
|
return tmp0_elvis_lhs == null ? TerminalInterfaceBrowser_getInstance() : tmp0_elvis_lhs;
|
|
9819
9819
|
}
|
|
9820
9820
|
function getEnv(key) {
|
|
9821
|
-
return get_impls().
|
|
9821
|
+
return get_impls().i5g(key);
|
|
9822
9822
|
}
|
|
9823
9823
|
function exitProcessMpp(status) {
|
|
9824
|
-
return get_impls().
|
|
9824
|
+
return get_impls().h55(status);
|
|
9825
9825
|
}
|
|
9826
9826
|
function readFileIfExists(filename) {
|
|
9827
|
-
return get_impls().
|
|
9827
|
+
return get_impls().j5g(filename);
|
|
9828
9828
|
}
|
|
9829
9829
|
function MppAtomicRef(value) {
|
|
9830
9830
|
return new JsAtomicRef(value);
|
|
9831
9831
|
}
|
|
9832
9832
|
function makePrintingTerminalCursor(terminal) {
|
|
9833
|
-
return get_impls().
|
|
9833
|
+
return get_impls().k5g(terminal);
|
|
9834
9834
|
}
|
|
9835
9835
|
function sendInterceptedPrintRequest(request, terminalInterface, interceptors) {
|
|
9836
9836
|
// Inline function 'kotlin.collections.fold' call
|
|
@@ -9839,17 +9839,17 @@ function sendInterceptedPrintRequest(request, terminalInterface, interceptors) {
|
|
|
9839
9839
|
while (_iterator__ex2g4s.u()) {
|
|
9840
9840
|
var element = _iterator__ex2g4s.v();
|
|
9841
9841
|
var acc = accumulator;
|
|
9842
|
-
accumulator = element.
|
|
9842
|
+
accumulator = element.l5g(acc);
|
|
9843
9843
|
}
|
|
9844
9844
|
var tmp$ret$0 = accumulator;
|
|
9845
|
-
terminalInterface.
|
|
9845
|
+
terminalInterface.o5e(tmp$ret$0);
|
|
9846
9846
|
}
|
|
9847
9847
|
function JsAtomicInt(initial) {
|
|
9848
|
-
this.
|
|
9848
|
+
this.m5g_1 = initial;
|
|
9849
9849
|
}
|
|
9850
|
-
protoOf(JsAtomicInt).
|
|
9851
|
-
var _unary__edvuaz = this.
|
|
9852
|
-
this.
|
|
9850
|
+
protoOf(JsAtomicInt).v54 = function () {
|
|
9851
|
+
var _unary__edvuaz = this.m5g_1;
|
|
9852
|
+
this.m5g_1 = _unary__edvuaz + 1 | 0;
|
|
9853
9853
|
return _unary__edvuaz;
|
|
9854
9854
|
};
|
|
9855
9855
|
function get_impls() {
|
|
@@ -9857,19 +9857,19 @@ function get_impls() {
|
|
|
9857
9857
|
return tmp instanceof TerminalInterfaceJsCommon ? tmp : THROW_CCE();
|
|
9858
9858
|
}
|
|
9859
9859
|
function JsAtomicRef(value) {
|
|
9860
|
-
this.
|
|
9860
|
+
this.n5g_1 = value;
|
|
9861
9861
|
}
|
|
9862
9862
|
protoOf(JsAtomicRef).o1 = function () {
|
|
9863
|
-
return this.
|
|
9863
|
+
return this.n5g_1;
|
|
9864
9864
|
};
|
|
9865
|
-
protoOf(JsAtomicRef).
|
|
9866
|
-
if (!equals(this.
|
|
9865
|
+
protoOf(JsAtomicRef).b5f = function (expected, newValue) {
|
|
9866
|
+
if (!equals(this.n5g_1, expected))
|
|
9867
9867
|
return false;
|
|
9868
|
-
this.
|
|
9868
|
+
this.n5g_1 = newValue;
|
|
9869
9869
|
return true;
|
|
9870
9870
|
};
|
|
9871
9871
|
function printStderr(message, newline) {
|
|
9872
|
-
get_impls().
|
|
9872
|
+
get_impls().o5g(message, newline);
|
|
9873
9873
|
}
|
|
9874
9874
|
function runningInIdeaJavaAgent() {
|
|
9875
9875
|
return false;
|
|
@@ -9881,27 +9881,27 @@ function TerminalInterfaceBrowser() {
|
|
|
9881
9881
|
TerminalInterfaceBrowser_instance = this;
|
|
9882
9882
|
TerminalInterfaceJsCommon.call(this);
|
|
9883
9883
|
}
|
|
9884
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9884
|
+
protoOf(TerminalInterfaceBrowser).i5g = function (key) {
|
|
9885
9885
|
return null;
|
|
9886
9886
|
};
|
|
9887
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9887
|
+
protoOf(TerminalInterfaceBrowser).m5e = function () {
|
|
9888
9888
|
return false;
|
|
9889
9889
|
};
|
|
9890
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9890
|
+
protoOf(TerminalInterfaceBrowser).l5e = function () {
|
|
9891
9891
|
return false;
|
|
9892
9892
|
};
|
|
9893
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9893
|
+
protoOf(TerminalInterfaceBrowser).s5e = function () {
|
|
9894
9894
|
return null;
|
|
9895
9895
|
};
|
|
9896
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9896
|
+
protoOf(TerminalInterfaceBrowser).o5g = function (message, newline) {
|
|
9897
9897
|
return browserPrintln(message);
|
|
9898
9898
|
};
|
|
9899
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9899
|
+
protoOf(TerminalInterfaceBrowser).h55 = function (status) {
|
|
9900
9900
|
};
|
|
9901
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9901
|
+
protoOf(TerminalInterfaceBrowser).k5g = function (terminal) {
|
|
9902
9902
|
return new BrowserTerminalCursor(terminal);
|
|
9903
9903
|
};
|
|
9904
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9904
|
+
protoOf(TerminalInterfaceBrowser).j5g = function (filename) {
|
|
9905
9905
|
return null;
|
|
9906
9906
|
};
|
|
9907
9907
|
var TerminalInterfaceBrowser_instance;
|
|
@@ -9994,24 +9994,24 @@ function codepointSequence$lambda($it) {
|
|
|
9994
9994
|
}
|
|
9995
9995
|
function TerminalInterfaceJsNode(fs) {
|
|
9996
9996
|
TerminalInterfaceNode.call(this);
|
|
9997
|
-
this.
|
|
9997
|
+
this.p5g_1 = fs;
|
|
9998
9998
|
}
|
|
9999
|
-
protoOf(TerminalInterfaceJsNode).
|
|
9999
|
+
protoOf(TerminalInterfaceJsNode).i5g = function (key) {
|
|
10000
10000
|
var tmp = process.env[key];
|
|
10001
10001
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
10002
10002
|
};
|
|
10003
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10003
|
+
protoOf(TerminalInterfaceJsNode).m5e = function () {
|
|
10004
10004
|
var tmp = Boolean(process.stdout.isTTY);
|
|
10005
10005
|
return (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE();
|
|
10006
10006
|
};
|
|
10007
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10007
|
+
protoOf(TerminalInterfaceJsNode).l5e = function () {
|
|
10008
10008
|
var tmp = Boolean(process.stdin.isTTY);
|
|
10009
10009
|
return (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE();
|
|
10010
10010
|
};
|
|
10011
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10011
|
+
protoOf(TerminalInterfaceJsNode).h55 = function (status) {
|
|
10012
10012
|
process.exit(status);
|
|
10013
10013
|
};
|
|
10014
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10014
|
+
protoOf(TerminalInterfaceJsNode).s5e = function () {
|
|
10015
10015
|
if (process.stdout.getWindowSize == undefined)
|
|
10016
10016
|
return null;
|
|
10017
10017
|
var s = process.stdout.getWindowSize();
|
|
@@ -10020,34 +10020,34 @@ protoOf(TerminalInterfaceJsNode).f5f = function () {
|
|
|
10020
10020
|
var tmp_1 = s[1];
|
|
10021
10021
|
return new Size(tmp_0, (!(tmp_1 == null) ? typeof tmp_1 === 'number' : false) ? tmp_1 : THROW_CCE());
|
|
10022
10022
|
};
|
|
10023
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10023
|
+
protoOf(TerminalInterfaceJsNode).o5g = function (message, newline) {
|
|
10024
10024
|
process.stderr.write(newline ? message + '\n' : message);
|
|
10025
10025
|
};
|
|
10026
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10026
|
+
protoOf(TerminalInterfaceJsNode).k5g = function (terminal) {
|
|
10027
10027
|
return new NodeTerminalCursor(terminal);
|
|
10028
10028
|
};
|
|
10029
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10030
|
-
var tmp = this.
|
|
10029
|
+
protoOf(TerminalInterfaceJsNode).j5g = function (filename) {
|
|
10030
|
+
var tmp = this.p5g_1.readFileSync(filename, 'utf-8');
|
|
10031
10031
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
10032
10032
|
};
|
|
10033
10033
|
function NodeTerminalCursor(terminal) {
|
|
10034
10034
|
PrintTerminalCursor.call(this, terminal);
|
|
10035
|
-
this.
|
|
10035
|
+
this.r5g_1 = null;
|
|
10036
10036
|
}
|
|
10037
10037
|
//region block: post-declaration
|
|
10038
|
-
protoOf(TxtStyle).
|
|
10039
|
-
protoOf(TxtStyle).
|
|
10040
|
-
protoOf(Table).
|
|
10041
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
10042
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
10043
|
-
protoOf(CellStyleBuilderMixin).
|
|
10044
|
-
protoOf(VerticalLayout).
|
|
10045
|
-
protoOf(StandardTerminalInterface).
|
|
10046
|
-
protoOf(StandardTerminalInterface).
|
|
10047
|
-
protoOf(DefinitionList).
|
|
10048
|
-
protoOf(EmptyWidget).
|
|
10049
|
-
protoOf(Padded).
|
|
10050
|
-
protoOf(Text).
|
|
10038
|
+
protoOf(TxtStyle).h4y = invoke;
|
|
10039
|
+
protoOf(TxtStyle).t54 = plus_1;
|
|
10040
|
+
protoOf(Table).q58 = render$default;
|
|
10041
|
+
protoOf(VerticalLayoutBuilderInstance).u5b = cellsFrom$default;
|
|
10042
|
+
protoOf(VerticalLayoutBuilderInstance).w5b = cell$default;
|
|
10043
|
+
protoOf(CellStyleBuilderMixin).d5c = padding;
|
|
10044
|
+
protoOf(VerticalLayout).q58 = render$default;
|
|
10045
|
+
protoOf(StandardTerminalInterface).s5e = getTerminalSize;
|
|
10046
|
+
protoOf(StandardTerminalInterface).t5e = shouldAutoUpdateSize;
|
|
10047
|
+
protoOf(DefinitionList).q58 = render$default;
|
|
10048
|
+
protoOf(EmptyWidget).q58 = render$default;
|
|
10049
|
+
protoOf(Padded).q58 = render$default;
|
|
10050
|
+
protoOf(Text).q58 = render$default;
|
|
10051
10051
|
//endregion
|
|
10052
10052
|
//region block: init
|
|
10053
10053
|
MultiplatformSystem_instance = new MultiplatformSystem();
|