@flock/wirespec 0.19.2 → 0.19.3
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 +432 -432
- package/kotlin-kotlin-stdlib.mjs +6 -6
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +9765 -9765
- package/kotlin-rgxgen.mjs +1756 -1756
- package/kotlinx-io-kotlinx-io-core.mjs +403 -403
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1759 -1759
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1468 -1468
- package/mordant-mordant.mjs +1181 -1181
- package/package.json +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +238 -236
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +139 -137
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +176 -174
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +305 -303
- package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-scala.mjs +112 -110
- package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-typescript.mjs +179 -177
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +24 -24
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-ir.mjs +2626 -2578
- package/wirespec-src-compiler-ir.mjs.map +1 -1
- package/wirespec-src-converter-avro.mjs +479 -479
- package/wirespec-src-converter-openapi.mjs +338 -338
- package/wirespec-src-ide-lsp.mjs +1351 -1351
- package/wirespec-src-plugin-arguments.mjs +134 -134
- package/wirespec-src-plugin-cli.mjs +84 -84
- package/wirespec-src-plugin-npm.mjs +18 -18
- 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.d4k();
|
|
147
|
+
var tmp_0 = tmp0_elvis_lhs == null ? this.d4k() : tmp0_elvis_lhs;
|
|
148
|
+
var tmp1_elvis_lhs = other.e4k();
|
|
149
|
+
var tmp_1 = tmp1_elvis_lhs == null ? this.e4k() : tmp1_elvis_lhs;
|
|
150
|
+
var tmp2_elvis_lhs = other.j4k();
|
|
151
|
+
var tmp_2 = tmp2_elvis_lhs == null ? this.j4k() : tmp2_elvis_lhs;
|
|
152
|
+
var tmp3_elvis_lhs = other.f4k();
|
|
153
|
+
var tmp_3 = tmp3_elvis_lhs == null ? this.f4k() : tmp3_elvis_lhs;
|
|
154
|
+
var tmp4_elvis_lhs = other.g4k();
|
|
155
|
+
var tmp_4 = tmp4_elvis_lhs == null ? this.g4k() : tmp4_elvis_lhs;
|
|
156
|
+
var tmp5_elvis_lhs = other.k4k();
|
|
157
|
+
var tmp_5 = tmp5_elvis_lhs == null ? this.k4k() : tmp5_elvis_lhs;
|
|
158
|
+
var tmp6_elvis_lhs = other.h4k();
|
|
159
|
+
var tmp_6 = tmp6_elvis_lhs == null ? this.h4k() : tmp6_elvis_lhs;
|
|
160
|
+
var tmp7_elvis_lhs = other.i4k();
|
|
161
|
+
var tmp_7 = tmp7_elvis_lhs == null ? this.i4k() : tmp7_elvis_lhs;
|
|
162
|
+
var tmp8_elvis_lhs = other.l4k();
|
|
163
|
+
var tmp_8 = tmp8_elvis_lhs == null ? this.l4k() : tmp8_elvis_lhs;
|
|
164
|
+
var tmp9_elvis_lhs = other.m4k();
|
|
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.m4k() : 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.a1().
|
|
178
|
-
return $super === VOID ? this.
|
|
177
|
+
width = width === VOID ? t.a1().s4m_1 : width;
|
|
178
|
+
return $super === VOID ? this.h4o(t, width) : $super.h4o.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.l4r(cells, init);
|
|
202
202
|
tmp_0 = Unit_instance;
|
|
203
203
|
} else {
|
|
204
|
-
tmp_0 = $super.
|
|
204
|
+
tmp_0 = $super.l4r.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.n4r(content, init);
|
|
219
219
|
tmp_0 = Unit_instance;
|
|
220
220
|
} else {
|
|
221
|
-
tmp_0 = $super.
|
|
221
|
+
tmp_0 = $super.n4r.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.t4r(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.z4i_1 = numberRangeToNumber(30, 37);
|
|
280
|
+
this.a4j_1 = numberRangeToNumber(90, 97);
|
|
281
|
+
this.b4j_1 = 38;
|
|
282
|
+
this.c4j_1 = 39;
|
|
283
|
+
this.d4j_1 = 10;
|
|
284
|
+
this.e4j_1 = numberRangeToNumber(40, 47);
|
|
285
|
+
this.f4j_1 = numberRangeToNumber(100, 107);
|
|
286
|
+
this.g4j_1 = 48;
|
|
287
|
+
this.h4j_1 = 49;
|
|
288
|
+
this.i4j_1 = 5;
|
|
289
|
+
this.j4j_1 = 2;
|
|
290
|
+
this.k4j_1 = 58;
|
|
291
|
+
this.l4j_1 = 0;
|
|
292
|
+
this.m4j_1 = 1;
|
|
293
|
+
this.n4j_1 = 22;
|
|
294
|
+
this.o4j_1 = 2;
|
|
295
|
+
this.p4j_1 = 3;
|
|
296
|
+
this.q4j_1 = 23;
|
|
297
|
+
this.r4j_1 = 4;
|
|
298
|
+
this.s4j_1 = 24;
|
|
299
|
+
this.t4j_1 = 7;
|
|
300
|
+
this.u4j_1 = 27;
|
|
301
|
+
this.v4j_1 = 9;
|
|
302
|
+
this.w4j_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.x4j_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.b4k_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.a4k_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.d4k(), new_0.d4k())) {
|
|
352
352
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
353
|
-
var elements = toAnsi(new_0.
|
|
353
|
+
var elements = toAnsi(new_0.d4k(), 38, 39, 0);
|
|
354
354
|
addAll(codes, elements);
|
|
355
355
|
}
|
|
356
|
-
if (!equals(old.
|
|
356
|
+
if (!equals(old.e4k(), new_0.e4k())) {
|
|
357
357
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
358
|
-
var elements_0 = toAnsi(new_0.
|
|
358
|
+
var elements_0 = toAnsi(new_0.e4k(), 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.f4k(), new_0.f4k(), 3, 23);
|
|
362
|
+
makeTag$style(codes, old.g4k(), new_0.g4k(), 4, 24);
|
|
363
|
+
makeTag$style(codes, old.h4k(), new_0.h4k(), 7, 27);
|
|
364
|
+
makeTag$style(codes, old.i4k(), new_0.i4k(), 9, 29);
|
|
365
|
+
if (old.j4k() === true && !(new_0.j4k() === true) || (old.k4k() === true && !(new_0.k4k() === true))) {
|
|
366
366
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
367
367
|
codes.x(22);
|
|
368
|
-
if (new_0.
|
|
368
|
+
if (new_0.j4k() === true) {
|
|
369
369
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
370
370
|
codes.x(1);
|
|
371
371
|
}
|
|
372
|
-
if (new_0.
|
|
372
|
+
if (new_0.k4k() === 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.j4k(), new_0.j4k(), 1, 22);
|
|
378
|
+
makeTag$style(codes, old.k4k(), new_0.k4k(), 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.l4k() == new_0.l4k()) && !(new_0.l4k() === '__mordant_reset__')) {
|
|
383
|
+
tmp = csi + makeHyperlinkTag(new_0.l4k(), new_0.m4k());
|
|
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.d4k();
|
|
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.h4e().n4h().k4f();
|
|
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.e4k();
|
|
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.h4e().n4h().k4f();
|
|
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.l4k();
|
|
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.m4k();
|
|
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$7);
|
|
455
455
|
break;
|
|
456
456
|
case 2:
|
|
457
|
-
var tmp31_safe_receiver = style.
|
|
457
|
+
var tmp31_safe_receiver = style.d4k();
|
|
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.h4e().n4h().m4h();
|
|
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.e4k();
|
|
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.h4e().n4h().m4h();
|
|
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.l4k();
|
|
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.m4k();
|
|
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$15);
|
|
524
524
|
break;
|
|
525
525
|
case 3:
|
|
526
|
-
tmp_0 = hyperlinks || style.
|
|
526
|
+
tmp_0 = hyperlinks || style.l4k() == null ? style : copy(style, style.d4k(), style.e4k(), 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.d4k();
|
|
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.f4f_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.f4f_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.j4f_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.h4e().n4h();
|
|
560
|
+
tmp = listOf([select, 2, $this$run.b4h(), $this$run.c4h(), $this$run.d4h()]);
|
|
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.l1());
|
|
587
587
|
var tmp_0;
|
|
588
588
|
if (match.wc().n1_1 === 0) {
|
|
589
|
-
$openStyle._v = new_0.
|
|
590
|
-
$style._v = new_0.
|
|
589
|
+
$openStyle._v = new_0.n4k($this_invokeStyle);
|
|
590
|
+
$style._v = new_0.n4k($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.o4k(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().p4k().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.q4k_1 = text;
|
|
697
|
+
this.r4k_1 = style;
|
|
698
698
|
}
|
|
699
|
-
protoOf(Chunk).
|
|
699
|
+
protoOf(Chunk).s4k = 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).t4k = function (text, style, $super) {
|
|
703
|
+
text = text === VOID ? this.q4k_1 : text;
|
|
704
|
+
style = style === VOID ? this.r4k_1 : style;
|
|
705
|
+
return $super === VOID ? this.s4k(text, style) : $super.s4k.call(this, text, style);
|
|
706
706
|
};
|
|
707
707
|
protoOf(Chunk).toString = function () {
|
|
708
|
-
return 'Chunk(text=' + this.
|
|
708
|
+
return 'Chunk(text=' + this.q4k_1 + ', style=' + toString(this.r4k_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.q4k_1);
|
|
712
|
+
result = imul(result, 31) + hashCode(this.r4k_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.q4k_1 === tmp0_other_with_cast.q4k_1))
|
|
722
722
|
return false;
|
|
723
|
-
if (!equals(this.
|
|
723
|
+
if (!equals(this.r4k_1, tmp0_other_with_cast.r4k_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.q4k_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.t4k(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.t4k(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.q4k_1, '\n')) {
|
|
790
790
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
791
|
-
var element = new Line(line, word.
|
|
791
|
+
var element = new Line(line, word.r4k_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.u4k(word.q4k_1, word.r4k_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.q4k_1, '\n')) {
|
|
811
811
|
// Inline function 'kotlin.collections.listOf' call
|
|
812
812
|
var tmp$ret$6 = emptyList();
|
|
813
|
-
lines.x(new Line(tmp$ret$6, tmp36_safe_receiver.
|
|
813
|
+
lines.x(new Line(tmp$ret$6, tmp36_safe_receiver.r4k_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.m4k();
|
|
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.l4k() : 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.d4k();
|
|
887
|
+
var bgColor = existingStyle.e4k();
|
|
888
|
+
var bold = existingStyle.j4k();
|
|
889
|
+
var italic = existingStyle.f4k();
|
|
890
|
+
var underline = existingStyle.g4k();
|
|
891
|
+
var dim = existingStyle.k4k();
|
|
892
|
+
var inverse = existingStyle.h4k();
|
|
893
|
+
var strikethrough = existingStyle.i4k();
|
|
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.d4k();
|
|
899
|
+
bgColor = defaultStyle.e4k();
|
|
900
|
+
var tmp0_elvis_lhs = defaultStyle.j4k();
|
|
901
901
|
bold = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
902
|
-
var tmp1_elvis_lhs = defaultStyle.
|
|
902
|
+
var tmp1_elvis_lhs = defaultStyle.f4k();
|
|
903
903
|
italic = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
904
|
-
var tmp2_elvis_lhs = defaultStyle.
|
|
904
|
+
var tmp2_elvis_lhs = defaultStyle.g4k();
|
|
905
905
|
underline = tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs;
|
|
906
|
-
var tmp3_elvis_lhs = defaultStyle.
|
|
906
|
+
var tmp3_elvis_lhs = defaultStyle.k4k();
|
|
907
907
|
dim = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
908
|
-
var tmp4_elvis_lhs = defaultStyle.
|
|
908
|
+
var tmp4_elvis_lhs = defaultStyle.h4k();
|
|
909
909
|
inverse = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
|
|
910
|
-
var tmp5_elvis_lhs = defaultStyle.
|
|
910
|
+
var tmp5_elvis_lhs = defaultStyle.i4k();
|
|
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.j4k();
|
|
915
915
|
bold = tmp6_elvis_lhs == null ? false : tmp6_elvis_lhs;
|
|
916
|
-
var tmp7_elvis_lhs = defaultStyle.
|
|
916
|
+
var tmp7_elvis_lhs = defaultStyle.k4k();
|
|
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.f4k();
|
|
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.g4k();
|
|
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.h4k();
|
|
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.i4k();
|
|
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.d4k();
|
|
937
937
|
else {
|
|
938
938
|
if (code === 49)
|
|
939
|
-
bgColor = defaultStyle.
|
|
939
|
+
bgColor = defaultStyle.e4k();
|
|
940
940
|
else {
|
|
941
941
|
var tmp_0;
|
|
942
|
-
var progression = AnsiCodes_getInstance().
|
|
942
|
+
var progression = AnsiCodes_getInstance().z4i_1;
|
|
943
943
|
var containsLower = progression.n1_1;
|
|
944
944
|
if (code <= progression.o1_1 ? containsLower <= code : false) {
|
|
945
945
|
tmp_0 = true;
|
|
946
946
|
} else {
|
|
947
|
-
var progression_0 = AnsiCodes_getInstance().
|
|
947
|
+
var progression_0 = AnsiCodes_getInstance().a4j_1;
|
|
948
948
|
var containsLower_0 = progression_0.n1_1;
|
|
949
949
|
tmp_0 = code <= progression_0.o1_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().e4j_1;
|
|
956
956
|
var containsLower_1 = progression_1.n1_1;
|
|
957
957
|
if (code <= progression_1.o1_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().f4j_1;
|
|
961
961
|
var containsLower_2 = progression_2.n1_1;
|
|
962
962
|
tmp_1 = code <= progression_2.o1_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.l4k(), existingStyle.m4k());
|
|
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().h4f(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.w4k_1.u1(codepoint)) {
|
|
1111
1111
|
sumSinceZwj = 0;
|
|
1112
1112
|
}
|
|
1113
|
-
zwjSeq = zwjSeq.
|
|
1113
|
+
zwjSeq = zwjSeq.v4k_1.p2(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().v4k_1.p2(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].x4k_1 || codepoint > table[max].y4k_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.y4k_1)
|
|
1146
1146
|
min = mid + 1 | 0;
|
|
1147
|
-
else if (codepoint < entry.
|
|
1147
|
+
else if (codepoint < entry.x4k_1)
|
|
1148
1148
|
max = mid - 1 | 0;
|
|
1149
1149
|
else
|
|
1150
|
-
return table[mid].
|
|
1150
|
+
return table[mid].z4k_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.x4k_1 = low;
|
|
5031
|
+
this.y4k_1 = high;
|
|
5032
|
+
this.z4k_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.v4k_1 = children;
|
|
5074
|
+
this.w4k_1 = values;
|
|
5075
5075
|
}
|
|
5076
5076
|
protoOf(IntTrie).toString = function () {
|
|
5077
|
-
return 'IntTrie(children=' + toString(this.
|
|
5077
|
+
return 'IntTrie(children=' + toString(this.v4k_1) + ', values=' + toString(this.w4k_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.v4k_1);
|
|
5081
|
+
result = imul(result, 31) + hashCode(this.w4k_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.v4k_1, tmp0_other_with_cast.v4k_1))
|
|
5091
5091
|
return false;
|
|
5092
|
-
if (!equals(this.
|
|
5092
|
+
if (!equals(this.w4k_1, tmp0_other_with_cast.w4k_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.v4k_1;
|
|
5121
5121
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5122
5122
|
var key = seq[i];
|
|
5123
5123
|
var value = tmp0.p2(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.w4k_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).a4l = function (key) {
|
|
5157
5157
|
return getEnv(key);
|
|
5158
5158
|
};
|
|
5159
|
-
protoOf(MultiplatformSystem).
|
|
5159
|
+
protoOf(MultiplatformSystem).b4l = function (status) {
|
|
5160
5160
|
exitProcessMpp(status);
|
|
5161
5161
|
};
|
|
5162
|
-
protoOf(MultiplatformSystem).
|
|
5162
|
+
protoOf(MultiplatformSystem).c4l = 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.d4l_1 = this.m4l('\u250C\u252C\u2510\u251C\u253C\u2524\u2514\u2534\u2518\u2500\u2502\u2577\u2575\u2574\u2576');
|
|
5235
|
+
this.e4l_1 = this.m4l('\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.f4l_1 = this.m4l('\u256D\u252C\u256E\u251C\u253C\u2524\u2570\u2534\u256F\u2500\u2502\u2577\u2575\u2574\u2576');
|
|
5237
|
+
this.g4l_1 = this.m4l('\u250F\u2533\u2513\u2523\u254B\u252B\u2517\u253B\u251B\u2501\u2503\u257B\u2579\u2578\u257A');
|
|
5238
|
+
this.h4l_1 = this.m4l('\u2554\u2566\u2557\u2560\u256C\u2563\u255A\u2569\u255D\u2550\u2551 ');
|
|
5239
|
+
this.i4l_1 = this.n4l('\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.j4l_1 = this.m4l('+++++++++-| ');
|
|
5241
|
+
this.k4l_1 = this.m4l('+++++++++-| ', '+++++++++=| ', '+++++++++-| ', '+++++++++=| ');
|
|
5242
|
+
this.l4l_1 = this.m4l(' ');
|
|
5243
|
+
}
|
|
5244
|
+
protoOf(Companion).n4l = 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).m4l = 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.n4l(head, headBottom, body, bodyBottom, foot) : $super.n4l.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.o4l_1 = head;
|
|
5263
|
+
this.p4l_1 = headBottom;
|
|
5264
|
+
this.q4l_1 = body;
|
|
5265
|
+
this.r4l_1 = bodyBottom;
|
|
5266
|
+
this.s4l_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.t4l_1 = es;
|
|
5277
|
+
this.u4l_1 = esw;
|
|
5278
|
+
this.v4l_1 = sw;
|
|
5279
|
+
this.w4l_1 = nes;
|
|
5280
|
+
this.x4l_1 = nesw;
|
|
5281
|
+
this.y4l_1 = nsw;
|
|
5282
|
+
this.z4l_1 = ne;
|
|
5283
|
+
this.a4m_1 = new_0;
|
|
5284
|
+
this.b4m_1 = nw;
|
|
5285
|
+
this.c4m_1 = ew;
|
|
5286
|
+
this.d4m_1 = ns;
|
|
5287
|
+
this.e4m_1 = s;
|
|
5288
|
+
this.f4m_1 = n;
|
|
5289
|
+
this.g4m_1 = w;
|
|
5290
|
+
this.h4m_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.i4m_1 = [' ', this.g4m_1, this.e4m_1, this.v4l_1, this.h4m_1, this.c4m_1, this.t4l_1, this.u4l_1, this.f4m_1, this.b4m_1, this.d4m_1, this.y4l_1, this.z4l_1, this.a4m_1, this.w4l_1, this.x4l_1];
|
|
5296
5296
|
}
|
|
5297
|
-
protoOf(BorderTypeSection).
|
|
5297
|
+
protoOf(BorderTypeSection).j4m = 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.u4k(this.i4m_1[i], textStyle);
|
|
5300
5300
|
};
|
|
5301
5301
|
function Lines(lines) {
|
|
5302
|
-
this.
|
|
5302
|
+
this.x4j_1 = lines;
|
|
5303
5303
|
}
|
|
5304
|
-
protoOf(Lines).
|
|
5305
|
-
return this.
|
|
5304
|
+
protoOf(Lines).k4m = function () {
|
|
5305
|
+
return this.x4j_1.a1();
|
|
5306
5306
|
};
|
|
5307
|
-
protoOf(Lines).
|
|
5307
|
+
protoOf(Lines).l4m = 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.x4j_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).i4m = 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$0 = item_0.
|
|
5325
|
+
var tmp$ret$0 = item_0.m4m(style);
|
|
5326
5326
|
destination_0.x(tmp$ret$0);
|
|
5327
5327
|
}
|
|
5328
|
-
var tmp$ret$3 = new Line(destination_0, item.
|
|
5328
|
+
var tmp$ret$3 = new Line(destination_0, item.z4j_1.n4k(style));
|
|
5329
5329
|
destination.x(tmp$ret$3);
|
|
5330
5330
|
}
|
|
5331
5331
|
tmp = new Lines(destination);
|
|
@@ -5334,7 +5334,7 @@ protoOf(Lines).i4m = 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.b4k_1;
|
|
5338
5338
|
Line.call($this, spans, tmp0_elvis_lhs == null ? get_DEFAULT_STYLE() : tmp0_elvis_lhs);
|
|
5339
5339
|
return $this;
|
|
5340
5340
|
}
|
|
@@ -5342,41 +5342,41 @@ 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.y4j_1 = spans;
|
|
5346
|
+
this.z4j_1 = endStyle;
|
|
5347
5347
|
}
|
|
5348
|
-
protoOf(Line).
|
|
5349
|
-
return this.
|
|
5348
|
+
protoOf(Line).n4m = function (element) {
|
|
5349
|
+
return this.y4j_1.u1(element);
|
|
5350
5350
|
};
|
|
5351
5351
|
protoOf(Line).u1 = function (element) {
|
|
5352
5352
|
if (!(element instanceof Span))
|
|
5353
5353
|
return false;
|
|
5354
|
-
return this.
|
|
5354
|
+
return this.n4m(element instanceof Span ? element : THROW_CCE());
|
|
5355
5355
|
};
|
|
5356
5356
|
protoOf(Line).b1 = function (index) {
|
|
5357
|
-
return this.
|
|
5357
|
+
return this.y4j_1.b1(index);
|
|
5358
5358
|
};
|
|
5359
5359
|
protoOf(Line).r = function () {
|
|
5360
|
-
return this.
|
|
5360
|
+
return this.y4j_1.r();
|
|
5361
5361
|
};
|
|
5362
5362
|
protoOf(Line).t = function () {
|
|
5363
|
-
return this.
|
|
5363
|
+
return this.y4j_1.t();
|
|
5364
5364
|
};
|
|
5365
5365
|
protoOf(Line).g1 = function (index) {
|
|
5366
|
-
return this.
|
|
5366
|
+
return this.y4j_1.g1(index);
|
|
5367
5367
|
};
|
|
5368
5368
|
protoOf(Line).l2 = function (fromIndex, toIndex) {
|
|
5369
|
-
return this.
|
|
5369
|
+
return this.y4j_1.l2(fromIndex, toIndex);
|
|
5370
5370
|
};
|
|
5371
5371
|
protoOf(Line).a1 = function () {
|
|
5372
|
-
return this.
|
|
5372
|
+
return this.y4j_1.a1();
|
|
5373
5373
|
};
|
|
5374
5374
|
protoOf(Line).toString = function () {
|
|
5375
|
-
return 'Line(spans=' + toString(this.
|
|
5375
|
+
return 'Line(spans=' + toString(this.y4j_1) + ', endStyle=' + toString(this.z4j_1) + ')';
|
|
5376
5376
|
};
|
|
5377
5377
|
protoOf(Line).hashCode = function () {
|
|
5378
|
-
var result = hashCode(this.
|
|
5379
|
-
result = imul(result, 31) + hashCode(this.
|
|
5378
|
+
var result = hashCode(this.y4j_1);
|
|
5379
|
+
result = imul(result, 31) + hashCode(this.z4j_1) | 0;
|
|
5380
5380
|
return result;
|
|
5381
5381
|
};
|
|
5382
5382
|
protoOf(Line).equals = function (other) {
|
|
@@ -5385,25 +5385,25 @@ protoOf(Line).equals = function (other) {
|
|
|
5385
5385
|
if (!(other instanceof Line))
|
|
5386
5386
|
return false;
|
|
5387
5387
|
var tmp0_other_with_cast = other instanceof Line ? other : THROW_CCE();
|
|
5388
|
-
if (!equals(this.
|
|
5388
|
+
if (!equals(this.y4j_1, tmp0_other_with_cast.y4j_1))
|
|
5389
5389
|
return false;
|
|
5390
|
-
if (!equals(this.
|
|
5390
|
+
if (!equals(this.z4j_1, tmp0_other_with_cast.z4j_1))
|
|
5391
5391
|
return false;
|
|
5392
5392
|
return true;
|
|
5393
5393
|
};
|
|
5394
5394
|
function get_lineWidth(_this__u8e3s4) {
|
|
5395
5395
|
// Inline function 'kotlin.collections.sumOf' call
|
|
5396
5396
|
var sum = 0;
|
|
5397
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
5397
|
+
var _iterator__ex2g4s = _this__u8e3s4.y4j_1.t();
|
|
5398
5398
|
while (_iterator__ex2g4s.u()) {
|
|
5399
5399
|
var element = _iterator__ex2g4s.v();
|
|
5400
5400
|
var tmp = sum;
|
|
5401
|
-
sum = tmp + element.
|
|
5401
|
+
sum = tmp + element.o4m() | 0;
|
|
5402
5402
|
}
|
|
5403
5403
|
return sum;
|
|
5404
5404
|
}
|
|
5405
5405
|
function setSize(_this__u8e3s4, newWidth, newHeight, verticalAlign, textAlign, scrollRight, scrollDown) {
|
|
5406
|
-
newHeight = newHeight === VOID ? _this__u8e3s4.
|
|
5406
|
+
newHeight = newHeight === VOID ? _this__u8e3s4.x4j_1.a1() : newHeight;
|
|
5407
5407
|
verticalAlign = verticalAlign === VOID ? VerticalAlign_TOP_getInstance() : verticalAlign;
|
|
5408
5408
|
textAlign = textAlign === VOID ? TextAlign_NONE_getInstance() : textAlign;
|
|
5409
5409
|
scrollRight = scrollRight === VOID ? 0 : scrollRight;
|
|
@@ -5426,19 +5426,19 @@ function setSize(_this__u8e3s4, newWidth, newHeight, verticalAlign, textAlign, s
|
|
|
5426
5426
|
while (inductionVariable < newHeight);
|
|
5427
5427
|
return new Lines(list);
|
|
5428
5428
|
}
|
|
5429
|
-
var emptyLine = Line_init_$Create$(listOf_0(Companion_instance_0.
|
|
5429
|
+
var emptyLine = Line_init_$Create$(listOf_0(Companion_instance_0.o4k(newWidth)));
|
|
5430
5430
|
var tmp;
|
|
5431
5431
|
if (scrollDown === 0) {
|
|
5432
|
-
tmp = _this__u8e3s4.
|
|
5432
|
+
tmp = _this__u8e3s4.x4j_1;
|
|
5433
5433
|
} else {
|
|
5434
|
-
var containsLower = -get_lastIndex_0(_this__u8e3s4.
|
|
5435
|
-
if (!(scrollDown <= get_lastIndex_0(_this__u8e3s4.
|
|
5434
|
+
var containsLower = -get_lastIndex_0(_this__u8e3s4.x4j_1) | 0;
|
|
5435
|
+
if (!(scrollDown <= get_lastIndex_0(_this__u8e3s4.x4j_1) ? containsLower <= scrollDown : false)) {
|
|
5436
5436
|
tmp = emptyList();
|
|
5437
5437
|
} else {
|
|
5438
5438
|
if (scrollDown < 0) {
|
|
5439
5439
|
// Inline function 'kotlin.collections.buildList' call
|
|
5440
5440
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
5441
|
-
var capacity = _this__u8e3s4.
|
|
5441
|
+
var capacity = _this__u8e3s4.x4j_1.a1() - scrollDown | 0;
|
|
5442
5442
|
checkBuilderCapacity(capacity);
|
|
5443
5443
|
// Inline function 'kotlin.apply' call
|
|
5444
5444
|
var this_0 = ArrayList_init_$Create$_0(capacity);
|
|
@@ -5452,10 +5452,10 @@ function setSize(_this__u8e3s4, newWidth, newHeight, verticalAlign, textAlign, s
|
|
|
5452
5452
|
this_0.x(emptyLine);
|
|
5453
5453
|
}
|
|
5454
5454
|
while (inductionVariable_0 < times);
|
|
5455
|
-
this_0.f1(_this__u8e3s4.
|
|
5455
|
+
this_0.f1(_this__u8e3s4.x4j_1);
|
|
5456
5456
|
tmp = this_0.o5();
|
|
5457
5457
|
} else {
|
|
5458
|
-
tmp = _this__u8e3s4.
|
|
5458
|
+
tmp = _this__u8e3s4.x4j_1.l2(scrollDown, _this__u8e3s4.x4j_1.a1());
|
|
5459
5459
|
}
|
|
5460
5460
|
}
|
|
5461
5461
|
}
|
|
@@ -5560,7 +5560,7 @@ function flatLine(parts) {
|
|
|
5560
5560
|
function resizeLine(line, scrollRight, newWidth, textAlign) {
|
|
5561
5561
|
var width = 0;
|
|
5562
5562
|
var offset = 0;
|
|
5563
|
-
var inputLine = scrollRight < 0 ? plus(listOf_0(Companion_instance_0.
|
|
5563
|
+
var inputLine = scrollRight < 0 ? plus(listOf_0(Companion_instance_0.p4m(-scrollRight | 0, get_startStyle(line))), line.y4j_1) : line.y4j_1;
|
|
5564
5564
|
var startIndex = 0;
|
|
5565
5565
|
var endIndex = inputLine.a1();
|
|
5566
5566
|
var startSpan = null;
|
|
@@ -5571,24 +5571,24 @@ function resizeLine(line, scrollRight, newWidth, textAlign) {
|
|
|
5571
5571
|
var j = index;
|
|
5572
5572
|
index = index + 1 | 0;
|
|
5573
5573
|
var span = iterator.v();
|
|
5574
|
-
if (scrollRight > 0 && (offset + span.
|
|
5575
|
-
offset = offset + span.
|
|
5574
|
+
if (scrollRight > 0 && (offset + span.o4m() | 0) < scrollRight) {
|
|
5575
|
+
offset = offset + span.o4m() | 0;
|
|
5576
5576
|
startIndex = j + 1 | 0;
|
|
5577
5577
|
} else if (scrollRight > 0 && offset < scrollRight) {
|
|
5578
|
-
if ((offset + span.
|
|
5579
|
-
startSpan = span.
|
|
5578
|
+
if ((offset + span.o4m() | 0) > scrollRight) {
|
|
5579
|
+
startSpan = span.r4m(scrollRight - offset | 0).q4m(newWidth - width | 0);
|
|
5580
5580
|
startIndex = j;
|
|
5581
|
-
width = width + startSpan.
|
|
5581
|
+
width = width + startSpan.o4m() | 0;
|
|
5582
5582
|
}
|
|
5583
5583
|
offset = scrollRight;
|
|
5584
5584
|
startIndex = j + 1 | 0;
|
|
5585
|
-
} else if ((width + span.
|
|
5586
|
-
width = width + span.
|
|
5585
|
+
} else if ((width + span.o4m() | 0) <= newWidth) {
|
|
5586
|
+
width = width + span.o4m() | 0;
|
|
5587
5587
|
endIndex = j + 1 | 0;
|
|
5588
5588
|
} else {
|
|
5589
5589
|
endIndex = j;
|
|
5590
5590
|
if (width < newWidth) {
|
|
5591
|
-
endSpan = span.
|
|
5591
|
+
endSpan = span.q4m(newWidth - width | 0);
|
|
5592
5592
|
width = newWidth;
|
|
5593
5593
|
}
|
|
5594
5594
|
break $l$loop;
|
|
@@ -5617,24 +5617,24 @@ function resizeLine(line, scrollRight, newWidth, textAlign) {
|
|
|
5617
5617
|
return outputLine;
|
|
5618
5618
|
}
|
|
5619
5619
|
var tmp50_safe_receiver = firstOrNull(outputLine);
|
|
5620
|
-
var tmp0_elvis_lhs = tmp50_safe_receiver == null ? null : tmp50_safe_receiver.
|
|
5621
|
-
var beginStyle = tmp0_elvis_lhs == null ? line.
|
|
5622
|
-
var endStyle = line.
|
|
5620
|
+
var tmp0_elvis_lhs = tmp50_safe_receiver == null ? null : tmp50_safe_receiver.b4k_1;
|
|
5621
|
+
var beginStyle = tmp0_elvis_lhs == null ? line.z4j_1 : tmp0_elvis_lhs;
|
|
5622
|
+
var endStyle = line.z4j_1;
|
|
5623
5623
|
var tmp_0;
|
|
5624
5624
|
switch (textAlign.b3_1) {
|
|
5625
5625
|
case 0:
|
|
5626
|
-
tmp_0 = plus_0(outputLine, Companion_instance_0.
|
|
5626
|
+
tmp_0 = plus_0(outputLine, Companion_instance_0.p4m(remainingWidth, endStyle));
|
|
5627
5627
|
break;
|
|
5628
5628
|
case 4:
|
|
5629
|
-
tmp_0 = plus_0(outputLine, Companion_instance_0.
|
|
5629
|
+
tmp_0 = plus_0(outputLine, Companion_instance_0.o4k(remainingWidth));
|
|
5630
5630
|
break;
|
|
5631
5631
|
case 1:
|
|
5632
|
-
tmp_0 = plus(listOf_0(Companion_instance_0.
|
|
5632
|
+
tmp_0 = plus(listOf_0(Companion_instance_0.p4m(remainingWidth, beginStyle)), outputLine);
|
|
5633
5633
|
break;
|
|
5634
5634
|
case 2:
|
|
5635
5635
|
case 3:
|
|
5636
|
-
var l = Companion_instance_0.
|
|
5637
|
-
var r = Companion_instance_0.
|
|
5636
|
+
var l = Companion_instance_0.p4m(remainingWidth / 2 | 0, beginStyle);
|
|
5637
|
+
var r = Companion_instance_0.p4m((remainingWidth / 2 | 0) + (remainingWidth % 2 | 0) | 0, endStyle);
|
|
5638
5638
|
// Inline function 'kotlin.collections.buildList' call
|
|
5639
5639
|
|
|
5640
5640
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -5657,7 +5657,7 @@ function resizeLine(line, scrollRight, newWidth, textAlign) {
|
|
|
5657
5657
|
}
|
|
5658
5658
|
function get_startStyle(_this__u8e3s4) {
|
|
5659
5659
|
var tmp45_safe_receiver = firstOrNull(_this__u8e3s4);
|
|
5660
|
-
var tmp0_elvis_lhs = tmp45_safe_receiver == null ? null : tmp45_safe_receiver.
|
|
5660
|
+
var tmp0_elvis_lhs = tmp45_safe_receiver == null ? null : tmp45_safe_receiver.b4k_1;
|
|
5661
5661
|
return tmp0_elvis_lhs == null ? get_DEFAULT_STYLE() : tmp0_elvis_lhs;
|
|
5662
5662
|
}
|
|
5663
5663
|
var OverflowWrap_NORMAL_instance;
|
|
@@ -5686,15 +5686,15 @@ function OverflowWrap_ELLIPSES_getInstance() {
|
|
|
5686
5686
|
return OverflowWrap_ELLIPSES_instance;
|
|
5687
5687
|
}
|
|
5688
5688
|
function Size(width, height) {
|
|
5689
|
-
this.
|
|
5690
|
-
this.
|
|
5689
|
+
this.s4m_1 = width;
|
|
5690
|
+
this.t4m_1 = height;
|
|
5691
5691
|
}
|
|
5692
5692
|
protoOf(Size).toString = function () {
|
|
5693
|
-
return '' + this.
|
|
5693
|
+
return '' + this.s4m_1 + '\xD7' + this.t4m_1;
|
|
5694
5694
|
};
|
|
5695
5695
|
function Companion_0() {
|
|
5696
5696
|
}
|
|
5697
|
-
protoOf(Companion_0).
|
|
5697
|
+
protoOf(Companion_0).u4k = function (text, style) {
|
|
5698
5698
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
5699
5699
|
// Inline function 'kotlin.require' call
|
|
5700
5700
|
if (!(charSequenceLength(text) > 0)) {
|
|
@@ -5730,13 +5730,13 @@ protoOf(Companion_0).r4k = function (text, style) {
|
|
|
5730
5730
|
}
|
|
5731
5731
|
return new Span(text, style);
|
|
5732
5732
|
};
|
|
5733
|
-
protoOf(Companion_0).
|
|
5733
|
+
protoOf(Companion_0).p4m = function (width, style) {
|
|
5734
5734
|
return new Span(repeat(' ', width), style);
|
|
5735
5735
|
};
|
|
5736
|
-
protoOf(Companion_0).
|
|
5736
|
+
protoOf(Companion_0).o4k = function (width, style, $super) {
|
|
5737
5737
|
width = width === VOID ? 1 : width;
|
|
5738
5738
|
style = style === VOID ? get_DEFAULT_STYLE() : style;
|
|
5739
|
-
return $super === VOID ? this.
|
|
5739
|
+
return $super === VOID ? this.p4m(width, style) : $super.p4m.call(this, width, style);
|
|
5740
5740
|
};
|
|
5741
5741
|
var Companion_instance_0;
|
|
5742
5742
|
function Companion_getInstance_1() {
|
|
@@ -5744,46 +5744,46 @@ function Companion_getInstance_1() {
|
|
|
5744
5744
|
}
|
|
5745
5745
|
function Span$cellWidth$delegate$lambda(this$0) {
|
|
5746
5746
|
return function () {
|
|
5747
|
-
return stringCellWidth(this$0.
|
|
5747
|
+
return stringCellWidth(this$0.a4k_1);
|
|
5748
5748
|
};
|
|
5749
5749
|
}
|
|
5750
5750
|
function Span$_get_cellWidth_$ref_bfbm2m() {
|
|
5751
5751
|
return function (p0) {
|
|
5752
|
-
return p0.
|
|
5752
|
+
return p0.o4m();
|
|
5753
5753
|
};
|
|
5754
5754
|
}
|
|
5755
5755
|
function Span(text, style) {
|
|
5756
5756
|
style = style === VOID ? get_DEFAULT_STYLE() : style;
|
|
5757
|
-
this.
|
|
5758
|
-
this.
|
|
5757
|
+
this.a4k_1 = text;
|
|
5758
|
+
this.b4k_1 = style;
|
|
5759
5759
|
var tmp = this;
|
|
5760
5760
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
5761
|
-
tmp.
|
|
5761
|
+
tmp.c4k_1 = lazy(tmp_0, Span$cellWidth$delegate$lambda(this));
|
|
5762
5762
|
}
|
|
5763
|
-
protoOf(Span).
|
|
5764
|
-
var tmp0 = this.
|
|
5763
|
+
protoOf(Span).o4m = function () {
|
|
5764
|
+
var tmp0 = this.c4k_1;
|
|
5765
5765
|
var tmp = KProperty1;
|
|
5766
5766
|
// Inline function 'kotlin.getValue' call
|
|
5767
5767
|
getPropertyCallableRef('cellWidth', 1, tmp, Span$_get_cellWidth_$ref_bfbm2m(), null);
|
|
5768
5768
|
return tmp0.l1();
|
|
5769
5769
|
};
|
|
5770
|
-
protoOf(Span).
|
|
5771
|
-
return new Span(take(this.
|
|
5770
|
+
protoOf(Span).q4m = function (n) {
|
|
5771
|
+
return new Span(take(this.a4k_1, n), this.b4k_1);
|
|
5772
5772
|
};
|
|
5773
|
-
protoOf(Span).
|
|
5774
|
-
return new Span(drop(this.
|
|
5773
|
+
protoOf(Span).r4m = function (n) {
|
|
5774
|
+
return new Span(drop(this.a4k_1, n), this.b4k_1);
|
|
5775
5775
|
};
|
|
5776
|
-
protoOf(Span).
|
|
5777
|
-
return isWhitespace(charCodeAt(this.
|
|
5776
|
+
protoOf(Span).u4m = function () {
|
|
5777
|
+
return isWhitespace(charCodeAt(this.a4k_1, 0));
|
|
5778
5778
|
};
|
|
5779
|
-
protoOf(Span).
|
|
5780
|
-
return charCodeAt(this.
|
|
5779
|
+
protoOf(Span).v4m = function () {
|
|
5780
|
+
return charCodeAt(this.a4k_1, 0) === _Char___init__impl__6a9atx(9);
|
|
5781
5781
|
};
|
|
5782
|
-
protoOf(Span).
|
|
5783
|
-
return new Span(this.
|
|
5782
|
+
protoOf(Span).m4m = function (style) {
|
|
5783
|
+
return new Span(this.a4k_1, this.b4k_1.n4k(style));
|
|
5784
5784
|
};
|
|
5785
5785
|
protoOf(Span).toString = function () {
|
|
5786
|
-
return "<Span '" + this.
|
|
5786
|
+
return "<Span '" + this.a4k_1 + "', " + toString(this.b4k_1) + '>';
|
|
5787
5787
|
};
|
|
5788
5788
|
var AnsiLevel_NONE_instance;
|
|
5789
5789
|
var AnsiLevel_ANSI16_instance;
|
|
@@ -5840,61 +5840,61 @@ function TextStyle_0(color, bgColor, bold, italic, underline, dim, inverse, stri
|
|
|
5840
5840
|
return new TxtStyle(color, bgColor, bold, italic, underline, dim, inverse, strikethrough, hyperlink, tmp);
|
|
5841
5841
|
}
|
|
5842
5842
|
function TxtStyle(color, bgColor, bold, italic, underline, dim, inverse, strikethrough, hyperlink, hyperlinkId) {
|
|
5843
|
-
this.
|
|
5844
|
-
this.
|
|
5845
|
-
this.
|
|
5846
|
-
this.
|
|
5847
|
-
this.
|
|
5848
|
-
this.
|
|
5849
|
-
this.
|
|
5850
|
-
this.
|
|
5851
|
-
this.
|
|
5852
|
-
this.
|
|
5853
|
-
}
|
|
5854
|
-
protoOf(TxtStyle).
|
|
5855
|
-
return this.t4m_1;
|
|
5856
|
-
};
|
|
5857
|
-
protoOf(TxtStyle).b4k = function () {
|
|
5858
|
-
return this.u4m_1;
|
|
5859
|
-
};
|
|
5860
|
-
protoOf(TxtStyle).g4k = function () {
|
|
5861
|
-
return this.v4m_1;
|
|
5862
|
-
};
|
|
5863
|
-
protoOf(TxtStyle).c4k = function () {
|
|
5843
|
+
this.w4m_1 = color;
|
|
5844
|
+
this.x4m_1 = bgColor;
|
|
5845
|
+
this.y4m_1 = bold;
|
|
5846
|
+
this.z4m_1 = italic;
|
|
5847
|
+
this.a4n_1 = underline;
|
|
5848
|
+
this.b4n_1 = dim;
|
|
5849
|
+
this.c4n_1 = inverse;
|
|
5850
|
+
this.d4n_1 = strikethrough;
|
|
5851
|
+
this.e4n_1 = hyperlink;
|
|
5852
|
+
this.f4n_1 = hyperlinkId;
|
|
5853
|
+
}
|
|
5854
|
+
protoOf(TxtStyle).d4k = function () {
|
|
5864
5855
|
return this.w4m_1;
|
|
5865
5856
|
};
|
|
5866
|
-
protoOf(TxtStyle).
|
|
5857
|
+
protoOf(TxtStyle).e4k = function () {
|
|
5867
5858
|
return this.x4m_1;
|
|
5868
5859
|
};
|
|
5869
|
-
protoOf(TxtStyle).
|
|
5860
|
+
protoOf(TxtStyle).j4k = function () {
|
|
5870
5861
|
return this.y4m_1;
|
|
5871
5862
|
};
|
|
5872
|
-
protoOf(TxtStyle).
|
|
5863
|
+
protoOf(TxtStyle).f4k = function () {
|
|
5873
5864
|
return this.z4m_1;
|
|
5874
5865
|
};
|
|
5875
|
-
protoOf(TxtStyle).
|
|
5866
|
+
protoOf(TxtStyle).g4k = function () {
|
|
5876
5867
|
return this.a4n_1;
|
|
5877
5868
|
};
|
|
5878
|
-
protoOf(TxtStyle).
|
|
5869
|
+
protoOf(TxtStyle).k4k = function () {
|
|
5879
5870
|
return this.b4n_1;
|
|
5880
5871
|
};
|
|
5881
|
-
protoOf(TxtStyle).
|
|
5872
|
+
protoOf(TxtStyle).h4k = function () {
|
|
5882
5873
|
return this.c4n_1;
|
|
5883
5874
|
};
|
|
5875
|
+
protoOf(TxtStyle).i4k = function () {
|
|
5876
|
+
return this.d4n_1;
|
|
5877
|
+
};
|
|
5878
|
+
protoOf(TxtStyle).l4k = function () {
|
|
5879
|
+
return this.e4n_1;
|
|
5880
|
+
};
|
|
5881
|
+
protoOf(TxtStyle).m4k = function () {
|
|
5882
|
+
return this.f4n_1;
|
|
5883
|
+
};
|
|
5884
5884
|
protoOf(TxtStyle).toString = function () {
|
|
5885
|
-
return 'TxtStyle(color=' + toString_1(this.
|
|
5885
|
+
return 'TxtStyle(color=' + toString_1(this.w4m_1) + ', bgColor=' + toString_1(this.x4m_1) + ', bold=' + this.y4m_1 + ', italic=' + this.z4m_1 + ', underline=' + this.a4n_1 + ', dim=' + this.b4n_1 + ', inverse=' + this.c4n_1 + ', strikethrough=' + this.d4n_1 + ', hyperlink=' + this.e4n_1 + ', hyperlinkId=' + this.f4n_1 + ')';
|
|
5886
5886
|
};
|
|
5887
5887
|
protoOf(TxtStyle).hashCode = function () {
|
|
5888
|
-
var result = this.
|
|
5889
|
-
result = imul(result, 31) + (this.
|
|
5890
|
-
result = imul(result, 31) + (this.v4m_1 == null ? 0 : getBooleanHashCode(this.v4m_1)) | 0;
|
|
5891
|
-
result = imul(result, 31) + (this.w4m_1 == null ? 0 : getBooleanHashCode(this.w4m_1)) | 0;
|
|
5892
|
-
result = imul(result, 31) + (this.x4m_1 == null ? 0 : getBooleanHashCode(this.x4m_1)) | 0;
|
|
5888
|
+
var result = this.w4m_1 == null ? 0 : hashCode(this.w4m_1);
|
|
5889
|
+
result = imul(result, 31) + (this.x4m_1 == null ? 0 : hashCode(this.x4m_1)) | 0;
|
|
5893
5890
|
result = imul(result, 31) + (this.y4m_1 == null ? 0 : getBooleanHashCode(this.y4m_1)) | 0;
|
|
5894
5891
|
result = imul(result, 31) + (this.z4m_1 == null ? 0 : getBooleanHashCode(this.z4m_1)) | 0;
|
|
5895
5892
|
result = imul(result, 31) + (this.a4n_1 == null ? 0 : getBooleanHashCode(this.a4n_1)) | 0;
|
|
5896
|
-
result = imul(result, 31) + (this.b4n_1 == null ? 0 :
|
|
5897
|
-
result = imul(result, 31) + (this.c4n_1 == null ? 0 :
|
|
5893
|
+
result = imul(result, 31) + (this.b4n_1 == null ? 0 : getBooleanHashCode(this.b4n_1)) | 0;
|
|
5894
|
+
result = imul(result, 31) + (this.c4n_1 == null ? 0 : getBooleanHashCode(this.c4n_1)) | 0;
|
|
5895
|
+
result = imul(result, 31) + (this.d4n_1 == null ? 0 : getBooleanHashCode(this.d4n_1)) | 0;
|
|
5896
|
+
result = imul(result, 31) + (this.e4n_1 == null ? 0 : getStringHashCode(this.e4n_1)) | 0;
|
|
5897
|
+
result = imul(result, 31) + (this.f4n_1 == null ? 0 : getStringHashCode(this.f4n_1)) | 0;
|
|
5898
5898
|
return result;
|
|
5899
5899
|
};
|
|
5900
5900
|
protoOf(TxtStyle).equals = function (other) {
|
|
@@ -5903,15 +5903,9 @@ protoOf(TxtStyle).equals = function (other) {
|
|
|
5903
5903
|
if (!(other instanceof TxtStyle))
|
|
5904
5904
|
return false;
|
|
5905
5905
|
var tmp0_other_with_cast = other instanceof TxtStyle ? other : THROW_CCE();
|
|
5906
|
-
if (!equals(this.
|
|
5907
|
-
return false;
|
|
5908
|
-
if (!equals(this.u4m_1, tmp0_other_with_cast.u4m_1))
|
|
5906
|
+
if (!equals(this.w4m_1, tmp0_other_with_cast.w4m_1))
|
|
5909
5907
|
return false;
|
|
5910
|
-
if (!(this.
|
|
5911
|
-
return false;
|
|
5912
|
-
if (!(this.w4m_1 == tmp0_other_with_cast.w4m_1))
|
|
5913
|
-
return false;
|
|
5914
|
-
if (!(this.x4m_1 == tmp0_other_with_cast.x4m_1))
|
|
5908
|
+
if (!equals(this.x4m_1, tmp0_other_with_cast.x4m_1))
|
|
5915
5909
|
return false;
|
|
5916
5910
|
if (!(this.y4m_1 == tmp0_other_with_cast.y4m_1))
|
|
5917
5911
|
return false;
|
|
@@ -5923,14 +5917,20 @@ protoOf(TxtStyle).equals = function (other) {
|
|
|
5923
5917
|
return false;
|
|
5924
5918
|
if (!(this.c4n_1 == tmp0_other_with_cast.c4n_1))
|
|
5925
5919
|
return false;
|
|
5920
|
+
if (!(this.d4n_1 == tmp0_other_with_cast.d4n_1))
|
|
5921
|
+
return false;
|
|
5922
|
+
if (!(this.e4n_1 == tmp0_other_with_cast.e4n_1))
|
|
5923
|
+
return false;
|
|
5924
|
+
if (!(this.f4n_1 == tmp0_other_with_cast.f4n_1))
|
|
5925
|
+
return false;
|
|
5926
5926
|
return true;
|
|
5927
5927
|
};
|
|
5928
5928
|
function copy(_this__u8e3s4, fg, bg, hyperlink, hyperlinkId) {
|
|
5929
|
-
fg = fg === VOID ? _this__u8e3s4.
|
|
5930
|
-
bg = bg === VOID ? _this__u8e3s4.
|
|
5931
|
-
hyperlink = hyperlink === VOID ? _this__u8e3s4.
|
|
5932
|
-
hyperlinkId = hyperlinkId === VOID ? _this__u8e3s4.
|
|
5933
|
-
return new TxtStyle(fg, bg, _this__u8e3s4.
|
|
5929
|
+
fg = fg === VOID ? _this__u8e3s4.d4k() : fg;
|
|
5930
|
+
bg = bg === VOID ? _this__u8e3s4.e4k() : bg;
|
|
5931
|
+
hyperlink = hyperlink === VOID ? _this__u8e3s4.l4k() : hyperlink;
|
|
5932
|
+
hyperlinkId = hyperlinkId === VOID ? _this__u8e3s4.m4k() : hyperlinkId;
|
|
5933
|
+
return new TxtStyle(fg, bg, _this__u8e3s4.j4k(), _this__u8e3s4.f4k(), _this__u8e3s4.g4k(), _this__u8e3s4.k4k(), _this__u8e3s4.h4k(), _this__u8e3s4.i4k(), hyperlink, hyperlinkId);
|
|
5934
5934
|
}
|
|
5935
5935
|
function foldStyles(styles) {
|
|
5936
5936
|
var style = null;
|
|
@@ -5941,71 +5941,71 @@ function foldStyles(styles) {
|
|
|
5941
5941
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5942
5942
|
if (s == null)
|
|
5943
5943
|
continue $l$loop;
|
|
5944
|
-
style = style == null ? s : s.
|
|
5944
|
+
style = style == null ? s : s.n4k(style);
|
|
5945
5945
|
}
|
|
5946
5946
|
return style;
|
|
5947
5947
|
}
|
|
5948
5948
|
function Theme$Companion$Plain$lambda($this$Theme) {
|
|
5949
|
-
var tmp0 = $this$Theme.
|
|
5949
|
+
var tmp0 = $this$Theme.i4n_1;
|
|
5950
5950
|
// Inline function 'kotlin.collections.set' call
|
|
5951
5951
|
var key = 'progressbar.pulse';
|
|
5952
5952
|
tmp0.s2(key, false);
|
|
5953
5953
|
return Unit_instance;
|
|
5954
5954
|
}
|
|
5955
5955
|
function Theme$Companion$PlainAscii$lambda($this$Theme) {
|
|
5956
|
-
var tmp0 = $this$Theme.
|
|
5956
|
+
var tmp0 = $this$Theme.h4n_1;
|
|
5957
5957
|
// Inline function 'kotlin.collections.set' call
|
|
5958
5958
|
var key = 'list.number.separator';
|
|
5959
5959
|
tmp0.s2(key, '.');
|
|
5960
|
-
var tmp0_0 = $this$Theme.
|
|
5960
|
+
var tmp0_0 = $this$Theme.h4n_1;
|
|
5961
5961
|
// Inline function 'kotlin.collections.set' call
|
|
5962
5962
|
var key_0 = 'list.bullet.text';
|
|
5963
5963
|
tmp0_0.s2(key_0, '*');
|
|
5964
|
-
var tmp0_1 = $this$Theme.
|
|
5964
|
+
var tmp0_1 = $this$Theme.h4n_1;
|
|
5965
5965
|
// Inline function 'kotlin.collections.set' call
|
|
5966
5966
|
var key_1 = 'progressbar.pending';
|
|
5967
5967
|
tmp0_1.s2(key_1, ' ');
|
|
5968
|
-
var tmp0_2 = $this$Theme.
|
|
5968
|
+
var tmp0_2 = $this$Theme.h4n_1;
|
|
5969
5969
|
// Inline function 'kotlin.collections.set' call
|
|
5970
5970
|
var key_2 = 'progressbar.complete';
|
|
5971
5971
|
tmp0_2.s2(key_2, '#');
|
|
5972
|
-
var tmp0_3 = $this$Theme.
|
|
5972
|
+
var tmp0_3 = $this$Theme.h4n_1;
|
|
5973
5973
|
// Inline function 'kotlin.collections.set' call
|
|
5974
5974
|
var key_3 = 'progressbar.separator';
|
|
5975
5975
|
tmp0_3.s2(key_3, '>');
|
|
5976
|
-
var tmp0_4 = $this$Theme.
|
|
5976
|
+
var tmp0_4 = $this$Theme.h4n_1;
|
|
5977
5977
|
// Inline function 'kotlin.collections.set' call
|
|
5978
5978
|
var key_4 = 'markdown.task.checked';
|
|
5979
5979
|
tmp0_4.s2(key_4, '[x]');
|
|
5980
|
-
var tmp0_5 = $this$Theme.
|
|
5980
|
+
var tmp0_5 = $this$Theme.h4n_1;
|
|
5981
5981
|
// Inline function 'kotlin.collections.set' call
|
|
5982
5982
|
var key_5 = 'markdown.task.unchecked';
|
|
5983
5983
|
tmp0_5.s2(key_5, '[ ]');
|
|
5984
|
-
var tmp0_6 = $this$Theme.
|
|
5984
|
+
var tmp0_6 = $this$Theme.h4n_1;
|
|
5985
5985
|
// Inline function 'kotlin.collections.set' call
|
|
5986
5986
|
var key_6 = 'markdown.h1.rule';
|
|
5987
5987
|
tmp0_6.s2(key_6, '=');
|
|
5988
|
-
var tmp0_7 = $this$Theme.
|
|
5988
|
+
var tmp0_7 = $this$Theme.h4n_1;
|
|
5989
5989
|
// Inline function 'kotlin.collections.set' call
|
|
5990
5990
|
var key_7 = 'markdown.h2.rule';
|
|
5991
5991
|
tmp0_7.s2(key_7, '-');
|
|
5992
|
-
var tmp0_8 = $this$Theme.
|
|
5992
|
+
var tmp0_8 = $this$Theme.h4n_1;
|
|
5993
5993
|
// Inline function 'kotlin.collections.set' call
|
|
5994
5994
|
var key_8 = 'markdown.blockquote.bar';
|
|
5995
5995
|
tmp0_8.s2(key_8, '|');
|
|
5996
|
-
var tmp0_9 = $this$Theme.
|
|
5996
|
+
var tmp0_9 = $this$Theme.h4n_1;
|
|
5997
5997
|
// Inline function 'kotlin.collections.set' call
|
|
5998
5998
|
var key_9 = 'select.cursor';
|
|
5999
5999
|
tmp0_9.s2(key_9, '>');
|
|
6000
|
-
var tmp0_10 = $this$Theme.
|
|
6000
|
+
var tmp0_10 = $this$Theme.h4n_1;
|
|
6001
6001
|
// Inline function 'kotlin.collections.set' call
|
|
6002
6002
|
var key_10 = 'select.selected';
|
|
6003
6003
|
tmp0_10.s2(key_10, 'x');
|
|
6004
|
-
var tmp0_11 = $this$Theme.
|
|
6004
|
+
var tmp0_11 = $this$Theme.h4n_1;
|
|
6005
6005
|
// Inline function 'kotlin.collections.set' call
|
|
6006
6006
|
var key_11 = 'select.unselected';
|
|
6007
6007
|
tmp0_11.s2(key_11, ' ');
|
|
6008
|
-
var tmp0_12 = $this$Theme.
|
|
6008
|
+
var tmp0_12 = $this$Theme.i4n_1;
|
|
6009
6009
|
// Inline function 'kotlin.collections.set' call
|
|
6010
6010
|
var key_12 = 'markdown.table.ascii';
|
|
6011
6011
|
tmp0_12.s2(key_12, true);
|
|
@@ -6013,18 +6013,18 @@ function Theme$Companion$PlainAscii$lambda($this$Theme) {
|
|
|
6013
6013
|
}
|
|
6014
6014
|
function Companion_1() {
|
|
6015
6015
|
Companion_instance_1 = this;
|
|
6016
|
-
this.
|
|
6017
|
-
this.
|
|
6018
|
-
this.
|
|
6019
|
-
this.
|
|
6020
|
-
this.
|
|
6021
|
-
this.
|
|
6022
|
-
this.
|
|
6016
|
+
this.k4n_1 = Companion_getInstance().b4e('#c678dd');
|
|
6017
|
+
this.l4n_1 = Companion_getInstance().b4e('#61afef');
|
|
6018
|
+
this.m4n_1 = Companion_getInstance().b4e('#5c6370');
|
|
6019
|
+
this.n4n_1 = Companion_getInstance().b4e('#e06c75');
|
|
6020
|
+
this.o4n_1 = Companion_getInstance().b4e('#e5c07b');
|
|
6021
|
+
this.p4n_1 = Companion_getInstance().b4e('#98c379');
|
|
6022
|
+
this.q4n_1 = new BuiltTheme(mapOf([to('success', TextStyle_0(this.p4n_1)), to('danger', TextStyle_0(this.n4n_1)), to('warning', TextStyle_0(this.o4n_1)), to('info', TextStyle_0(this.l4n_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.l4n_1, VOID, true)), to('prompt.choices', TextStyle_0(this.l4n_1, VOID, true)), to('prompt.choices.invalid', TextStyle_0(this.n4n_1)), to('progressbar.pending', TextStyle_0(this.m4n_1)), to('progressbar.complete', TextStyle_0(this.l4n_1)), to('progressbar.indeterminate', TextStyle_0(this.l4n_1)), to('progressbar.separator', get_DEFAULT_STYLE()), to('progressbar.finished', TextStyle_0(this.p4n_1)), to('markdown.blockquote', TextStyle_0(this.o4n_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.l4n_1)), to('markdown.code.span', TextStyle_0(this.l4n_1, this.m4n_1)), to('markdown.table.header', TextStyle_0(VOID, VOID, true)), to('markdown.table.body', get_DEFAULT_STYLE()), to('markdown.link.text', TextStyle_0(this.l4n_1)), to('markdown.link.destination', TextStyle_0(this.l4n_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.k4n_1, VOID, true)), to('markdown.h2', TextStyle_0(this.k4n_1, VOID, true)), to('markdown.h3', TextStyle_0(this.k4n_1, VOID, true, VOID, true)), to('markdown.h4', TextStyle_0(this.k4n_1, VOID, VOID, VOID, true)), to('markdown.h5', TextStyle_0(this.k4n_1, VOID, VOID, true)), to('markdown.h6', TextStyle_0(this.k4n_1, VOID, VOID, VOID, VOID, true)), to('select.title', TextStyle_0(this.k4n_1, VOID, true)), to('select.cursor', TextStyle_0(this.l4n_1)), to('select.selected', TextStyle_0(this.p4n_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)]));
|
|
6023
6023
|
var tmp = this;
|
|
6024
|
-
var tmp_0 = new BuiltTheme(emptyMap(), this.
|
|
6025
|
-
tmp.
|
|
6024
|
+
var tmp_0 = new BuiltTheme(emptyMap(), this.q4n_1.u4n_1, this.q4n_1.v4n_1, this.q4n_1.w4n_1);
|
|
6025
|
+
tmp.r4n_1 = Theme_0(tmp_0, Theme$Companion$Plain$lambda);
|
|
6026
6026
|
var tmp_1 = this;
|
|
6027
|
-
tmp_1.
|
|
6027
|
+
tmp_1.s4n_1 = Theme_0(this.r4n_1, Theme$Companion$PlainAscii$lambda);
|
|
6028
6028
|
}
|
|
6029
6029
|
var Companion_instance_1;
|
|
6030
6030
|
function Companion_getInstance_2() {
|
|
@@ -6034,14 +6034,14 @@ function Companion_getInstance_2() {
|
|
|
6034
6034
|
}
|
|
6035
6035
|
function Theme(styles, strings, flags, dimensions) {
|
|
6036
6036
|
Companion_getInstance_2();
|
|
6037
|
-
this.
|
|
6038
|
-
this.
|
|
6039
|
-
this.
|
|
6040
|
-
this.
|
|
6037
|
+
this.t4n_1 = styles;
|
|
6038
|
+
this.u4n_1 = strings;
|
|
6039
|
+
this.v4n_1 = flags;
|
|
6040
|
+
this.w4n_1 = dimensions;
|
|
6041
6041
|
}
|
|
6042
|
-
protoOf(Theme).
|
|
6042
|
+
protoOf(Theme).x4n = function (style, default_0) {
|
|
6043
6043
|
// Inline function 'kotlin.collections.getOrElse' call
|
|
6044
|
-
var tmp0_elvis_lhs = this.
|
|
6044
|
+
var tmp0_elvis_lhs = this.t4n_1.p2(style);
|
|
6045
6045
|
var tmp;
|
|
6046
6046
|
if (tmp0_elvis_lhs == null) {
|
|
6047
6047
|
tmp = default_0;
|
|
@@ -6050,28 +6050,28 @@ protoOf(Theme).u4n = function (style, default_0) {
|
|
|
6050
6050
|
}
|
|
6051
6051
|
return tmp;
|
|
6052
6052
|
};
|
|
6053
|
-
protoOf(Theme).
|
|
6053
|
+
protoOf(Theme).y4n = function (style, default_0, $super) {
|
|
6054
6054
|
default_0 = default_0 === VOID ? get_DEFAULT_STYLE() : default_0;
|
|
6055
|
-
return $super === VOID ? this.
|
|
6055
|
+
return $super === VOID ? this.x4n(style, default_0) : $super.x4n.call(this, style, default_0);
|
|
6056
6056
|
};
|
|
6057
6057
|
function BuiltTheme(styles, strings, flags, dimensions) {
|
|
6058
6058
|
Theme.call(this, styles, strings, flags, dimensions);
|
|
6059
6059
|
}
|
|
6060
6060
|
function Theme_0(from, init) {
|
|
6061
|
-
from = from === VOID ? Companion_getInstance_2().
|
|
6061
|
+
from = from === VOID ? Companion_getInstance_2().q4n_1 : from;
|
|
6062
6062
|
// Inline function 'kotlin.apply' call
|
|
6063
|
-
var this_0 = new ThemeBuilder(toMutableMap(from.
|
|
6063
|
+
var this_0 = new ThemeBuilder(toMutableMap(from.t4n_1), toMutableMap(from.u4n_1), toMutableMap(from.v4n_1), toMutableMap(from.w4n_1));
|
|
6064
6064
|
init(this_0);
|
|
6065
|
-
return this_0.
|
|
6065
|
+
return this_0.z4n();
|
|
6066
6066
|
}
|
|
6067
6067
|
function ThemeBuilder(styles, strings, flags, dimensions) {
|
|
6068
|
-
this.
|
|
6069
|
-
this.
|
|
6070
|
-
this.
|
|
6071
|
-
this.
|
|
6068
|
+
this.g4n_1 = styles;
|
|
6069
|
+
this.h4n_1 = strings;
|
|
6070
|
+
this.i4n_1 = flags;
|
|
6071
|
+
this.j4n_1 = dimensions;
|
|
6072
6072
|
}
|
|
6073
|
-
protoOf(ThemeBuilder).
|
|
6074
|
-
return new BuiltTheme(this.
|
|
6073
|
+
protoOf(ThemeBuilder).z4n = function () {
|
|
6074
|
+
return new BuiltTheme(this.g4n_1, this.h4n_1, this.i4n_1, this.j4n_1);
|
|
6075
6075
|
};
|
|
6076
6076
|
var Whitespace_NORMAL_instance;
|
|
6077
6077
|
var Whitespace_NOWRAP_instance;
|
|
@@ -6091,10 +6091,10 @@ function Whitespace_initEntries() {
|
|
|
6091
6091
|
}
|
|
6092
6092
|
function Whitespace(name, ordinal, collapseNewlines, collapseSpaces, wrap, trimEol) {
|
|
6093
6093
|
Enum.call(this, name, ordinal);
|
|
6094
|
-
this.
|
|
6095
|
-
this.
|
|
6096
|
-
this.
|
|
6097
|
-
this.
|
|
6094
|
+
this.c4o_1 = collapseNewlines;
|
|
6095
|
+
this.d4o_1 = collapseSpaces;
|
|
6096
|
+
this.e4o_1 = wrap;
|
|
6097
|
+
this.f4o_1 = trimEol;
|
|
6098
6098
|
}
|
|
6099
6099
|
function Whitespace_NORMAL_getInstance() {
|
|
6100
6100
|
Whitespace_initEntries();
|
|
@@ -6111,29 +6111,29 @@ function Whitespace_PRE_WRAP_getInstance() {
|
|
|
6111
6111
|
function Widget() {
|
|
6112
6112
|
}
|
|
6113
6113
|
function WidthRange(min, max) {
|
|
6114
|
-
this.
|
|
6115
|
-
this.
|
|
6114
|
+
this.u4o_1 = min;
|
|
6115
|
+
this.v4o_1 = max;
|
|
6116
6116
|
// Inline function 'kotlin.require' call
|
|
6117
|
-
if (!(this.
|
|
6117
|
+
if (!(this.u4o_1 <= this.v4o_1)) {
|
|
6118
6118
|
var message = 'Range min cannot be larger than max';
|
|
6119
6119
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
6120
6120
|
}
|
|
6121
6121
|
}
|
|
6122
|
-
protoOf(WidthRange).
|
|
6123
|
-
return extra === 0 ? this : new WidthRange(this.
|
|
6122
|
+
protoOf(WidthRange).w4o = function (extra) {
|
|
6123
|
+
return extra === 0 ? this : new WidthRange(this.u4o_1 + extra | 0, this.v4o_1 + extra | 0);
|
|
6124
6124
|
};
|
|
6125
|
-
protoOf(WidthRange).
|
|
6126
|
-
return new WidthRange(this.
|
|
6125
|
+
protoOf(WidthRange).x4o = function (other) {
|
|
6126
|
+
return new WidthRange(this.u4o_1 + other.u4o_1 | 0, this.v4o_1 + other.v4o_1 | 0);
|
|
6127
6127
|
};
|
|
6128
|
-
protoOf(WidthRange).
|
|
6129
|
-
return divisor === 1 ? this : new WidthRange(this.
|
|
6128
|
+
protoOf(WidthRange).y4o = function (divisor) {
|
|
6129
|
+
return divisor === 1 ? this : new WidthRange(this.u4o_1 / divisor | 0, this.v4o_1 / divisor | 0);
|
|
6130
6130
|
};
|
|
6131
6131
|
protoOf(WidthRange).toString = function () {
|
|
6132
|
-
return 'WidthRange(min=' + this.
|
|
6132
|
+
return 'WidthRange(min=' + this.u4o_1 + ', max=' + this.v4o_1 + ')';
|
|
6133
6133
|
};
|
|
6134
6134
|
protoOf(WidthRange).hashCode = function () {
|
|
6135
|
-
var result = this.
|
|
6136
|
-
result = imul(result, 31) + this.
|
|
6135
|
+
var result = this.u4o_1;
|
|
6136
|
+
result = imul(result, 31) + this.v4o_1 | 0;
|
|
6137
6137
|
return result;
|
|
6138
6138
|
};
|
|
6139
6139
|
protoOf(WidthRange).equals = function (other) {
|
|
@@ -6142,9 +6142,9 @@ protoOf(WidthRange).equals = function (other) {
|
|
|
6142
6142
|
if (!(other instanceof WidthRange))
|
|
6143
6143
|
return false;
|
|
6144
6144
|
var tmp0_other_with_cast = other instanceof WidthRange ? other : THROW_CCE();
|
|
6145
|
-
if (!(this.
|
|
6145
|
+
if (!(this.u4o_1 === tmp0_other_with_cast.u4o_1))
|
|
6146
6146
|
return false;
|
|
6147
|
-
if (!(this.
|
|
6147
|
+
if (!(this.v4o_1 === tmp0_other_with_cast.v4o_1))
|
|
6148
6148
|
return false;
|
|
6149
6149
|
return true;
|
|
6150
6150
|
};
|
|
@@ -6156,7 +6156,7 @@ function maxWidthRange(_this__u8e3s4, t, width, paddingWidth) {
|
|
|
6156
6156
|
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
6157
6157
|
$l$loop: while (_iterator__ex2g4s.u()) {
|
|
6158
6158
|
var it = _iterator__ex2g4s.v();
|
|
6159
|
-
var tmp0_elvis_lhs = it.
|
|
6159
|
+
var tmp0_elvis_lhs = it.g4o(t, width - paddingWidth | 0);
|
|
6160
6160
|
var tmp;
|
|
6161
6161
|
if (tmp0_elvis_lhs == null) {
|
|
6162
6162
|
continue $l$loop;
|
|
@@ -6166,11 +6166,11 @@ function maxWidthRange(_this__u8e3s4, t, width, paddingWidth) {
|
|
|
6166
6166
|
var range = tmp;
|
|
6167
6167
|
var tmp0 = max;
|
|
6168
6168
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6169
|
-
var b = range.
|
|
6169
|
+
var b = range.v4o_1;
|
|
6170
6170
|
max = Math.max(tmp0, b);
|
|
6171
6171
|
var tmp0_0 = min;
|
|
6172
6172
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6173
|
-
var b_0 = range.
|
|
6173
|
+
var b_0 = range.u4o_1;
|
|
6174
6174
|
min = Math.max(tmp0_0, b_0);
|
|
6175
6175
|
}
|
|
6176
6176
|
return new WidthRange(min + paddingWidth | 0, max + paddingWidth | 0);
|
|
@@ -6215,10 +6215,10 @@ function Borders_initEntries() {
|
|
|
6215
6215
|
}
|
|
6216
6216
|
function Borders(name, ordinal, left, top, right, bottom) {
|
|
6217
6217
|
Enum.call(this, name, ordinal);
|
|
6218
|
-
this.
|
|
6219
|
-
this.
|
|
6220
|
-
this.
|
|
6221
|
-
this.
|
|
6218
|
+
this.b4p_1 = left;
|
|
6219
|
+
this.c4p_1 = top;
|
|
6220
|
+
this.d4p_1 = right;
|
|
6221
|
+
this.e4p_1 = bottom;
|
|
6222
6222
|
}
|
|
6223
6223
|
function Borders_NONE_getInstance() {
|
|
6224
6224
|
Borders_initEntries();
|
|
@@ -6232,19 +6232,19 @@ function Empty() {
|
|
|
6232
6232
|
Empty_instance = this;
|
|
6233
6233
|
Cell.call(this);
|
|
6234
6234
|
}
|
|
6235
|
-
protoOf(Empty).
|
|
6235
|
+
protoOf(Empty).f4p = function () {
|
|
6236
6236
|
return 1;
|
|
6237
6237
|
};
|
|
6238
|
-
protoOf(Empty).
|
|
6238
|
+
protoOf(Empty).g4p = function () {
|
|
6239
6239
|
return false;
|
|
6240
6240
|
};
|
|
6241
|
-
protoOf(Empty).
|
|
6241
|
+
protoOf(Empty).h4p = function () {
|
|
6242
6242
|
return false;
|
|
6243
6243
|
};
|
|
6244
|
-
protoOf(Empty).
|
|
6244
|
+
protoOf(Empty).i4p = function () {
|
|
6245
6245
|
return false;
|
|
6246
6246
|
};
|
|
6247
|
-
protoOf(Empty).
|
|
6247
|
+
protoOf(Empty).j4p = function () {
|
|
6248
6248
|
return false;
|
|
6249
6249
|
};
|
|
6250
6250
|
protoOf(Empty).toString = function () {
|
|
@@ -6269,39 +6269,39 @@ function Empty_getInstance() {
|
|
|
6269
6269
|
}
|
|
6270
6270
|
function SpanRef(cell, borderLeft, borderTop, borderRight, borderBottom) {
|
|
6271
6271
|
Cell.call(this);
|
|
6272
|
-
this.
|
|
6273
|
-
this.
|
|
6274
|
-
this.
|
|
6275
|
-
this.
|
|
6276
|
-
this.
|
|
6272
|
+
this.k4p_1 = cell;
|
|
6273
|
+
this.l4p_1 = borderLeft;
|
|
6274
|
+
this.m4p_1 = borderTop;
|
|
6275
|
+
this.n4p_1 = borderRight;
|
|
6276
|
+
this.o4p_1 = borderBottom;
|
|
6277
6277
|
}
|
|
6278
|
-
protoOf(SpanRef).
|
|
6279
|
-
return this.
|
|
6278
|
+
protoOf(SpanRef).g4p = function () {
|
|
6279
|
+
return this.l4p_1;
|
|
6280
6280
|
};
|
|
6281
|
-
protoOf(SpanRef).
|
|
6282
|
-
return this.
|
|
6281
|
+
protoOf(SpanRef).h4p = function () {
|
|
6282
|
+
return this.m4p_1;
|
|
6283
6283
|
};
|
|
6284
|
-
protoOf(SpanRef).
|
|
6285
|
-
return this.
|
|
6284
|
+
protoOf(SpanRef).i4p = function () {
|
|
6285
|
+
return this.n4p_1;
|
|
6286
6286
|
};
|
|
6287
|
-
protoOf(SpanRef).
|
|
6288
|
-
return this.
|
|
6287
|
+
protoOf(SpanRef).j4p = function () {
|
|
6288
|
+
return this.o4p_1;
|
|
6289
6289
|
};
|
|
6290
|
-
protoOf(SpanRef).
|
|
6291
|
-
return this.
|
|
6290
|
+
protoOf(SpanRef).f4p = function () {
|
|
6291
|
+
return this.k4p_1.q4p_1;
|
|
6292
6292
|
};
|
|
6293
|
-
protoOf(SpanRef).
|
|
6294
|
-
return this.
|
|
6293
|
+
protoOf(SpanRef).a4q = function () {
|
|
6294
|
+
return this.k4p_1.r4p_1;
|
|
6295
6295
|
};
|
|
6296
6296
|
protoOf(SpanRef).toString = function () {
|
|
6297
|
-
return 'SpanRef(cell=' + this.
|
|
6297
|
+
return 'SpanRef(cell=' + this.k4p_1.toString() + ', borderLeft=' + this.l4p_1 + ', borderTop=' + this.m4p_1 + ', borderRight=' + this.n4p_1 + ', borderBottom=' + this.o4p_1 + ')';
|
|
6298
6298
|
};
|
|
6299
6299
|
protoOf(SpanRef).hashCode = function () {
|
|
6300
|
-
var result = this.
|
|
6301
|
-
result = imul(result, 31) + (this.i4p_1 == null ? 0 : getBooleanHashCode(this.i4p_1)) | 0;
|
|
6302
|
-
result = imul(result, 31) + (this.j4p_1 == null ? 0 : getBooleanHashCode(this.j4p_1)) | 0;
|
|
6303
|
-
result = imul(result, 31) + (this.k4p_1 == null ? 0 : getBooleanHashCode(this.k4p_1)) | 0;
|
|
6300
|
+
var result = this.k4p_1.hashCode();
|
|
6304
6301
|
result = imul(result, 31) + (this.l4p_1 == null ? 0 : getBooleanHashCode(this.l4p_1)) | 0;
|
|
6302
|
+
result = imul(result, 31) + (this.m4p_1 == null ? 0 : getBooleanHashCode(this.m4p_1)) | 0;
|
|
6303
|
+
result = imul(result, 31) + (this.n4p_1 == null ? 0 : getBooleanHashCode(this.n4p_1)) | 0;
|
|
6304
|
+
result = imul(result, 31) + (this.o4p_1 == null ? 0 : getBooleanHashCode(this.o4p_1)) | 0;
|
|
6305
6305
|
return result;
|
|
6306
6306
|
};
|
|
6307
6307
|
protoOf(SpanRef).equals = function (other) {
|
|
@@ -6310,72 +6310,72 @@ protoOf(SpanRef).equals = function (other) {
|
|
|
6310
6310
|
if (!(other instanceof SpanRef))
|
|
6311
6311
|
return false;
|
|
6312
6312
|
var tmp0_other_with_cast = other instanceof SpanRef ? other : THROW_CCE();
|
|
6313
|
-
if (!this.
|
|
6313
|
+
if (!this.k4p_1.equals(tmp0_other_with_cast.k4p_1))
|
|
6314
6314
|
return false;
|
|
6315
|
-
if (!(this.
|
|
6315
|
+
if (!(this.l4p_1 == tmp0_other_with_cast.l4p_1))
|
|
6316
6316
|
return false;
|
|
6317
|
-
if (!(this.
|
|
6317
|
+
if (!(this.m4p_1 == tmp0_other_with_cast.m4p_1))
|
|
6318
6318
|
return false;
|
|
6319
|
-
if (!(this.
|
|
6319
|
+
if (!(this.n4p_1 == tmp0_other_with_cast.n4p_1))
|
|
6320
6320
|
return false;
|
|
6321
|
-
if (!(this.
|
|
6321
|
+
if (!(this.o4p_1 == tmp0_other_with_cast.o4p_1))
|
|
6322
6322
|
return false;
|
|
6323
6323
|
return true;
|
|
6324
6324
|
};
|
|
6325
6325
|
function Content(content, rowSpan, columnSpan, borderLeft, borderTop, borderRight, borderBottom, style, textAlign, verticalAlign, paddingWidth) {
|
|
6326
6326
|
Cell.call(this);
|
|
6327
|
-
this.
|
|
6328
|
-
this.
|
|
6329
|
-
this.
|
|
6330
|
-
this.
|
|
6331
|
-
this.
|
|
6332
|
-
this.
|
|
6333
|
-
this.
|
|
6334
|
-
this.
|
|
6335
|
-
this.
|
|
6336
|
-
this.
|
|
6337
|
-
this.
|
|
6327
|
+
this.p4p_1 = content;
|
|
6328
|
+
this.q4p_1 = rowSpan;
|
|
6329
|
+
this.r4p_1 = columnSpan;
|
|
6330
|
+
this.s4p_1 = borderLeft;
|
|
6331
|
+
this.t4p_1 = borderTop;
|
|
6332
|
+
this.u4p_1 = borderRight;
|
|
6333
|
+
this.v4p_1 = borderBottom;
|
|
6334
|
+
this.w4p_1 = style;
|
|
6335
|
+
this.x4p_1 = textAlign;
|
|
6336
|
+
this.y4p_1 = verticalAlign;
|
|
6337
|
+
this.z4p_1 = paddingWidth;
|
|
6338
6338
|
// Inline function 'kotlin.require' call
|
|
6339
|
-
if (!(this.
|
|
6339
|
+
if (!(this.q4p_1 > 0)) {
|
|
6340
6340
|
var message = 'rowSpan must be greater than 0';
|
|
6341
6341
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
6342
6342
|
}
|
|
6343
6343
|
// Inline function 'kotlin.require' call
|
|
6344
|
-
if (!(this.
|
|
6344
|
+
if (!(this.r4p_1 > 0)) {
|
|
6345
6345
|
var message_0 = 'columnSpan must be greater than 0';
|
|
6346
6346
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
6347
6347
|
}
|
|
6348
6348
|
}
|
|
6349
|
-
protoOf(Content).c4p = function () {
|
|
6350
|
-
return this.n4p_1;
|
|
6351
|
-
};
|
|
6352
|
-
protoOf(Content).d4p = function () {
|
|
6353
|
-
return this.p4p_1;
|
|
6354
|
-
};
|
|
6355
|
-
protoOf(Content).e4p = function () {
|
|
6356
|
-
return this.q4p_1;
|
|
6357
|
-
};
|
|
6358
6349
|
protoOf(Content).f4p = function () {
|
|
6359
|
-
return this.
|
|
6350
|
+
return this.q4p_1;
|
|
6360
6351
|
};
|
|
6361
6352
|
protoOf(Content).g4p = function () {
|
|
6362
6353
|
return this.s4p_1;
|
|
6363
6354
|
};
|
|
6355
|
+
protoOf(Content).h4p = function () {
|
|
6356
|
+
return this.t4p_1;
|
|
6357
|
+
};
|
|
6358
|
+
protoOf(Content).i4p = function () {
|
|
6359
|
+
return this.u4p_1;
|
|
6360
|
+
};
|
|
6361
|
+
protoOf(Content).j4p = function () {
|
|
6362
|
+
return this.v4p_1;
|
|
6363
|
+
};
|
|
6364
6364
|
protoOf(Content).toString = function () {
|
|
6365
|
-
return 'Content(content=' + toString(this.
|
|
6365
|
+
return 'Content(content=' + toString(this.p4p_1) + ', rowSpan=' + this.q4p_1 + ', columnSpan=' + this.r4p_1 + ', borderLeft=' + this.s4p_1 + ', borderTop=' + this.t4p_1 + ', borderRight=' + this.u4p_1 + ', borderBottom=' + this.v4p_1 + ', style=' + toString_1(this.w4p_1) + ', textAlign=' + this.x4p_1.toString() + ', verticalAlign=' + this.y4p_1.toString() + ', paddingWidth=' + this.z4p_1 + ')';
|
|
6366
6366
|
};
|
|
6367
6367
|
protoOf(Content).hashCode = function () {
|
|
6368
|
-
var result = hashCode(this.
|
|
6369
|
-
result = imul(result, 31) + this.
|
|
6370
|
-
result = imul(result, 31) + this.
|
|
6371
|
-
result = imul(result, 31) + (this.p4p_1 == null ? 0 : getBooleanHashCode(this.p4p_1)) | 0;
|
|
6372
|
-
result = imul(result, 31) + (this.q4p_1 == null ? 0 : getBooleanHashCode(this.q4p_1)) | 0;
|
|
6373
|
-
result = imul(result, 31) + (this.r4p_1 == null ? 0 : getBooleanHashCode(this.r4p_1)) | 0;
|
|
6368
|
+
var result = hashCode(this.p4p_1);
|
|
6369
|
+
result = imul(result, 31) + this.q4p_1 | 0;
|
|
6370
|
+
result = imul(result, 31) + this.r4p_1 | 0;
|
|
6374
6371
|
result = imul(result, 31) + (this.s4p_1 == null ? 0 : getBooleanHashCode(this.s4p_1)) | 0;
|
|
6375
|
-
result = imul(result, 31) + (this.t4p_1 == null ? 0 :
|
|
6376
|
-
result = imul(result, 31) + this.u4p_1.
|
|
6377
|
-
result = imul(result, 31) + this.v4p_1.
|
|
6378
|
-
result = imul(result, 31) + this.w4p_1 | 0;
|
|
6372
|
+
result = imul(result, 31) + (this.t4p_1 == null ? 0 : getBooleanHashCode(this.t4p_1)) | 0;
|
|
6373
|
+
result = imul(result, 31) + (this.u4p_1 == null ? 0 : getBooleanHashCode(this.u4p_1)) | 0;
|
|
6374
|
+
result = imul(result, 31) + (this.v4p_1 == null ? 0 : getBooleanHashCode(this.v4p_1)) | 0;
|
|
6375
|
+
result = imul(result, 31) + (this.w4p_1 == null ? 0 : hashCode(this.w4p_1)) | 0;
|
|
6376
|
+
result = imul(result, 31) + this.x4p_1.hashCode() | 0;
|
|
6377
|
+
result = imul(result, 31) + this.y4p_1.hashCode() | 0;
|
|
6378
|
+
result = imul(result, 31) + this.z4p_1 | 0;
|
|
6379
6379
|
return result;
|
|
6380
6380
|
};
|
|
6381
6381
|
protoOf(Content).equals = function (other) {
|
|
@@ -6384,43 +6384,43 @@ protoOf(Content).equals = function (other) {
|
|
|
6384
6384
|
if (!(other instanceof Content))
|
|
6385
6385
|
return false;
|
|
6386
6386
|
var tmp0_other_with_cast = other instanceof Content ? other : THROW_CCE();
|
|
6387
|
-
if (!equals(this.
|
|
6387
|
+
if (!equals(this.p4p_1, tmp0_other_with_cast.p4p_1))
|
|
6388
6388
|
return false;
|
|
6389
|
-
if (!(this.
|
|
6389
|
+
if (!(this.q4p_1 === tmp0_other_with_cast.q4p_1))
|
|
6390
6390
|
return false;
|
|
6391
|
-
if (!(this.
|
|
6391
|
+
if (!(this.r4p_1 === tmp0_other_with_cast.r4p_1))
|
|
6392
6392
|
return false;
|
|
6393
|
-
if (!(this.
|
|
6393
|
+
if (!(this.s4p_1 == tmp0_other_with_cast.s4p_1))
|
|
6394
6394
|
return false;
|
|
6395
|
-
if (!(this.
|
|
6395
|
+
if (!(this.t4p_1 == tmp0_other_with_cast.t4p_1))
|
|
6396
6396
|
return false;
|
|
6397
|
-
if (!(this.
|
|
6397
|
+
if (!(this.u4p_1 == tmp0_other_with_cast.u4p_1))
|
|
6398
6398
|
return false;
|
|
6399
|
-
if (!(this.
|
|
6399
|
+
if (!(this.v4p_1 == tmp0_other_with_cast.v4p_1))
|
|
6400
6400
|
return false;
|
|
6401
|
-
if (!equals(this.
|
|
6401
|
+
if (!equals(this.w4p_1, tmp0_other_with_cast.w4p_1))
|
|
6402
6402
|
return false;
|
|
6403
|
-
if (!this.
|
|
6403
|
+
if (!this.x4p_1.equals(tmp0_other_with_cast.x4p_1))
|
|
6404
6404
|
return false;
|
|
6405
|
-
if (!this.
|
|
6405
|
+
if (!this.y4p_1.equals(tmp0_other_with_cast.y4p_1))
|
|
6406
6406
|
return false;
|
|
6407
|
-
if (!(this.
|
|
6407
|
+
if (!(this.z4p_1 === tmp0_other_with_cast.z4p_1))
|
|
6408
6408
|
return false;
|
|
6409
6409
|
return true;
|
|
6410
6410
|
};
|
|
6411
6411
|
function Cell() {
|
|
6412
6412
|
}
|
|
6413
6413
|
function measureColumn($this, x, t, width) {
|
|
6414
|
-
var tmp56_safe_receiver = $this.
|
|
6414
|
+
var tmp56_safe_receiver = $this.j4q_1.b1(x).c4q_1;
|
|
6415
6415
|
if (tmp56_safe_receiver == null)
|
|
6416
6416
|
null;
|
|
6417
6417
|
else {
|
|
6418
6418
|
// Inline function 'kotlin.let' call
|
|
6419
6419
|
var tmp;
|
|
6420
|
-
if (!$this.
|
|
6420
|
+
if (!$this.l4q_1) {
|
|
6421
6421
|
tmp = 0;
|
|
6422
6422
|
} else {
|
|
6423
|
-
var tmp0 = $this.
|
|
6423
|
+
var tmp0 = $this.e4q_1;
|
|
6424
6424
|
var tmp$ret$0;
|
|
6425
6425
|
$l$block: {
|
|
6426
6426
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -6432,13 +6432,13 @@ function measureColumn($this, x, t, width) {
|
|
|
6432
6432
|
var row = iterator.v();
|
|
6433
6433
|
var tmp_0 = getOrNull(row, x);
|
|
6434
6434
|
var tmp57_safe_receiver = tmp_0 instanceof Content ? tmp_0 : null;
|
|
6435
|
-
var tmp0_elvis_lhs = tmp57_safe_receiver == null ? null : tmp57_safe_receiver.
|
|
6435
|
+
var tmp0_elvis_lhs = tmp57_safe_receiver == null ? null : tmp57_safe_receiver.z4p_1;
|
|
6436
6436
|
var maxValue = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
6437
6437
|
while (iterator.u()) {
|
|
6438
6438
|
var row_0 = iterator.v();
|
|
6439
6439
|
var tmp_1 = getOrNull(row_0, x);
|
|
6440
6440
|
var tmp57_safe_receiver_0 = tmp_1 instanceof Content ? tmp_1 : null;
|
|
6441
|
-
var tmp0_elvis_lhs_0 = tmp57_safe_receiver_0 == null ? null : tmp57_safe_receiver_0.
|
|
6441
|
+
var tmp0_elvis_lhs_0 = tmp57_safe_receiver_0 == null ? null : tmp57_safe_receiver_0.z4p_1;
|
|
6442
6442
|
var v = tmp0_elvis_lhs_0 == null ? 0 : tmp0_elvis_lhs_0;
|
|
6443
6443
|
if (compareTo(maxValue, v) < 0) {
|
|
6444
6444
|
maxValue = v;
|
|
@@ -6455,7 +6455,7 @@ function measureColumn($this, x, t, width) {
|
|
|
6455
6455
|
// Inline function 'com.github.ajalt.mordant.rendering.maxWidthRange' call
|
|
6456
6456
|
var max = 0;
|
|
6457
6457
|
var min = 0;
|
|
6458
|
-
var _iterator__ex2g4s = $this.
|
|
6458
|
+
var _iterator__ex2g4s = $this.e4q_1.t();
|
|
6459
6459
|
$l$loop: while (_iterator__ex2g4s.u()) {
|
|
6460
6460
|
var it = _iterator__ex2g4s.v();
|
|
6461
6461
|
var cell = getOrNull(it, x);
|
|
@@ -6467,10 +6467,10 @@ function measureColumn($this, x, t, width) {
|
|
|
6467
6467
|
tmp_2 = new WidthRange(0, 0);
|
|
6468
6468
|
} else {
|
|
6469
6469
|
if (cell instanceof Content) {
|
|
6470
|
-
tmp_2 = cell.
|
|
6470
|
+
tmp_2 = cell.p4p_1.g4o(t, width).y4o(cell.r4p_1);
|
|
6471
6471
|
} else {
|
|
6472
6472
|
if (cell instanceof SpanRef) {
|
|
6473
|
-
tmp_2 = cell.
|
|
6473
|
+
tmp_2 = cell.k4p_1.p4p_1.g4o(t, width).y4o(cell.a4q());
|
|
6474
6474
|
} else {
|
|
6475
6475
|
noWhenBranchMatchedException();
|
|
6476
6476
|
}
|
|
@@ -6487,25 +6487,25 @@ function measureColumn($this, x, t, width) {
|
|
|
6487
6487
|
var range = tmp_3;
|
|
6488
6488
|
var tmp0_0 = max;
|
|
6489
6489
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6490
|
-
var b = range.
|
|
6490
|
+
var b = range.v4o_1;
|
|
6491
6491
|
max = Math.max(tmp0_0, b);
|
|
6492
6492
|
var tmp0_1 = min;
|
|
6493
6493
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6494
|
-
var b_0 = range.
|
|
6494
|
+
var b_0 = range.u4o_1;
|
|
6495
6495
|
min = Math.max(tmp0_1, b_0);
|
|
6496
6496
|
}
|
|
6497
6497
|
var range_0 = new WidthRange(min + 0 | 0, max + 0 | 0);
|
|
6498
|
-
if (!($this.
|
|
6499
|
-
return new WidthRange(range_0.
|
|
6498
|
+
if (!($this.j4q_1.b1(x).d4q_1 == null)) {
|
|
6499
|
+
return new WidthRange(range_0.u4o_1, coerceAtLeast(width, range_0.v4o_1));
|
|
6500
6500
|
}
|
|
6501
6501
|
return range_0;
|
|
6502
6502
|
}
|
|
6503
6503
|
function calculateColumnWidths($this, t, terminalWidth) {
|
|
6504
|
-
var availableWidth = terminalWidth - $this.
|
|
6504
|
+
var availableWidth = terminalWidth - $this.q4q_1 | 0;
|
|
6505
6505
|
if (availableWidth <= 0) {
|
|
6506
6506
|
// Inline function 'kotlin.collections.List' call
|
|
6507
6507
|
// Inline function 'kotlin.collections.MutableList' call
|
|
6508
|
-
var size = $this.
|
|
6508
|
+
var size = $this.n4q_1;
|
|
6509
6509
|
var list = ArrayList_init_$Create$_0(size);
|
|
6510
6510
|
// Inline function 'kotlin.repeat' call
|
|
6511
6511
|
var inductionVariable = 0;
|
|
@@ -6520,7 +6520,7 @@ function calculateColumnWidths($this, t, terminalWidth) {
|
|
|
6520
6520
|
}
|
|
6521
6521
|
// Inline function 'kotlin.collections.List' call
|
|
6522
6522
|
// Inline function 'kotlin.collections.MutableList' call
|
|
6523
|
-
var size_0 = $this.
|
|
6523
|
+
var size_0 = $this.n4q_1;
|
|
6524
6524
|
var list_0 = ArrayList_init_$Create$_0(size_0);
|
|
6525
6525
|
// Inline function 'kotlin.repeat' call
|
|
6526
6526
|
var inductionVariable_0 = 0;
|
|
@@ -6539,18 +6539,18 @@ function calculateColumnWidths($this, t, terminalWidth) {
|
|
|
6539
6539
|
var _iterator__ex2g4s = measurements.t();
|
|
6540
6540
|
while (_iterator__ex2g4s.u()) {
|
|
6541
6541
|
var item = _iterator__ex2g4s.v();
|
|
6542
|
-
var tmp$ret$11 = item.
|
|
6542
|
+
var tmp$ret$11 = item.v4o_1;
|
|
6543
6543
|
destination.x(tmp$ret$11);
|
|
6544
6544
|
}
|
|
6545
6545
|
var widths = destination;
|
|
6546
6546
|
// Inline function 'kotlin.collections.groupBy' call
|
|
6547
|
-
var tmp0 = withIndex($this.
|
|
6547
|
+
var tmp0 = withIndex($this.j4q_1);
|
|
6548
6548
|
// Inline function 'kotlin.collections.groupByTo' call
|
|
6549
6549
|
var destination_0 = LinkedHashMap_init_$Create$();
|
|
6550
6550
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
6551
6551
|
while (_iterator__ex2g4s_0.u()) {
|
|
6552
6552
|
var element = _iterator__ex2g4s_0.v();
|
|
6553
|
-
var key = element.ue_1.
|
|
6553
|
+
var key = element.ue_1.b4q_1;
|
|
6554
6554
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
6555
6555
|
var value = destination_0.p2(key);
|
|
6556
6556
|
var tmp;
|
|
@@ -6599,7 +6599,7 @@ function calculateColumnWidths($this, t, terminalWidth) {
|
|
|
6599
6599
|
while (_iterator__ex2g4s_4.u()) {
|
|
6600
6600
|
var element_2 = _iterator__ex2g4s_4.v();
|
|
6601
6601
|
var tmp_2 = sum;
|
|
6602
|
-
sum = tmp_2 + measurements.b1(element_2).
|
|
6602
|
+
sum = tmp_2 + measurements.b1(element_2).u4o_1 | 0;
|
|
6603
6603
|
}
|
|
6604
6604
|
var tmp_3 = sum;
|
|
6605
6605
|
// Inline function 'kotlin.collections.sumOf' call
|
|
@@ -6608,7 +6608,7 @@ function calculateColumnWidths($this, t, terminalWidth) {
|
|
|
6608
6608
|
while (_iterator__ex2g4s_5.u()) {
|
|
6609
6609
|
var element_3 = _iterator__ex2g4s_5.v();
|
|
6610
6610
|
var tmp_4 = sum_0;
|
|
6611
|
-
sum_0 = tmp_4 + measurements.b1(element_3).
|
|
6611
|
+
sum_0 = tmp_4 + measurements.b1(element_3).v4o_1 | 0;
|
|
6612
6612
|
}
|
|
6613
6613
|
var tmp$ret$30 = sum_0;
|
|
6614
6614
|
var tmp$ret$31 = new WidthRange(tmp_3, tmp$ret$30);
|
|
@@ -6648,10 +6648,10 @@ function calculateColumnWidths($this, t, terminalWidth) {
|
|
|
6648
6648
|
while (_iterator__ex2g4s_8.u()) {
|
|
6649
6649
|
var element_6 = _iterator__ex2g4s_8.v();
|
|
6650
6650
|
var tmp_6 = sum_1;
|
|
6651
|
-
sum_1 = tmp_6 + element_6.l1().
|
|
6651
|
+
sum_1 = tmp_6 + element_6.l1().u4o_1 | 0;
|
|
6652
6652
|
}
|
|
6653
6653
|
var lowerMin = sum_1;
|
|
6654
|
-
var allocated = coerceAtMost(coerceIn(remainingWidth - lowerMin | 0, m.
|
|
6654
|
+
var allocated = coerceAtMost(coerceIn(remainingWidth - lowerMin | 0, m.u4o_1, m.v4o_1), remainingWidth);
|
|
6655
6655
|
remainingWidth = remainingWidth - allocated | 0;
|
|
6656
6656
|
// Inline function 'kotlin.collections.set' call
|
|
6657
6657
|
allocatedWidths.s2(p, allocated);
|
|
@@ -6675,8 +6675,8 @@ function calculateColumnWidths($this, t, terminalWidth) {
|
|
|
6675
6675
|
var _iterator__ex2g4s_10 = indexes.t();
|
|
6676
6676
|
while (_iterator__ex2g4s_10.u()) {
|
|
6677
6677
|
var item_1 = _iterator__ex2g4s_10.v();
|
|
6678
|
-
var tmp0_elvis_lhs = $this.
|
|
6679
|
-
var tmp$ret$52 = tmp0_elvis_lhs == null ? measurements.b1(item_1).
|
|
6678
|
+
var tmp0_elvis_lhs = $this.j4q_1.b1(item_1).d4q_1;
|
|
6679
|
+
var tmp$ret$52 = tmp0_elvis_lhs == null ? measurements.b1(item_1).v4o_1 : tmp0_elvis_lhs;
|
|
6680
6680
|
destination_5.x(tmp$ret$52);
|
|
6681
6681
|
}
|
|
6682
6682
|
var weights = destination_5;
|
|
@@ -6735,20 +6735,20 @@ function distributeWidths($this, weights, totalWidth) {
|
|
|
6735
6735
|
return widths;
|
|
6736
6736
|
}
|
|
6737
6737
|
function getCell($this, x, y) {
|
|
6738
|
-
var tmp58_safe_receiver = getOrNull($this.
|
|
6738
|
+
var tmp58_safe_receiver = getOrNull($this.e4q_1, y);
|
|
6739
6739
|
return tmp58_safe_receiver == null ? null : getOrNull(tmp58_safe_receiver, x);
|
|
6740
6740
|
}
|
|
6741
6741
|
function sam$kotlin_Comparator$0(function_0) {
|
|
6742
|
-
this.
|
|
6742
|
+
this.r4q_1 = function_0;
|
|
6743
6743
|
}
|
|
6744
6744
|
protoOf(sam$kotlin_Comparator$0).td = function (a, b) {
|
|
6745
|
-
return this.
|
|
6745
|
+
return this.r4q_1(a, b);
|
|
6746
6746
|
};
|
|
6747
6747
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
6748
6748
|
return this.td(a, b);
|
|
6749
6749
|
};
|
|
6750
6750
|
protoOf(sam$kotlin_Comparator$0).l3 = function () {
|
|
6751
|
-
return this.
|
|
6751
|
+
return this.r4q_1;
|
|
6752
6752
|
};
|
|
6753
6753
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
6754
6754
|
var tmp;
|
|
@@ -6782,22 +6782,22 @@ function TableImpl$calculateColumnWidths$lambda_0(a, b) {
|
|
|
6782
6782
|
}
|
|
6783
6783
|
function TableImpl(rows, borderType, borderStyle, headerRowCount, footerRowCount, columnWidths, tableBorders, addPaddingWidthToFixedWidth) {
|
|
6784
6784
|
Table.call(this);
|
|
6785
|
-
this.
|
|
6786
|
-
this.
|
|
6787
|
-
this.
|
|
6788
|
-
this.
|
|
6789
|
-
this.
|
|
6790
|
-
this.
|
|
6791
|
-
this.
|
|
6792
|
-
this.
|
|
6785
|
+
this.e4q_1 = rows;
|
|
6786
|
+
this.f4q_1 = borderType;
|
|
6787
|
+
this.g4q_1 = borderStyle;
|
|
6788
|
+
this.h4q_1 = headerRowCount;
|
|
6789
|
+
this.i4q_1 = footerRowCount;
|
|
6790
|
+
this.j4q_1 = columnWidths;
|
|
6791
|
+
this.k4q_1 = tableBorders;
|
|
6792
|
+
this.l4q_1 = addPaddingWidthToFixedWidth;
|
|
6793
6793
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6794
6794
|
// Inline function 'kotlin.require' call
|
|
6795
|
-
if (!!this.
|
|
6795
|
+
if (!!this.e4q_1.r()) {
|
|
6796
6796
|
var message = 'Table cannot be empty';
|
|
6797
6797
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
6798
6798
|
}
|
|
6799
6799
|
var tmp = this;
|
|
6800
|
-
var tmp0 = this.
|
|
6800
|
+
var tmp0 = this.j4q_1;
|
|
6801
6801
|
var tmp$ret$3;
|
|
6802
6802
|
$l$block_0: {
|
|
6803
6803
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6814,19 +6814,19 @@ function TableImpl(rows, borderType, borderStyle, headerRowCount, footerRowCount
|
|
|
6814
6814
|
var _iterator__ex2g4s = tmp0.t();
|
|
6815
6815
|
while (_iterator__ex2g4s.u()) {
|
|
6816
6816
|
var element = _iterator__ex2g4s.v();
|
|
6817
|
-
if (!(element.
|
|
6817
|
+
if (!(element.d4q_1 == null)) {
|
|
6818
6818
|
tmp$ret$3 = true;
|
|
6819
6819
|
break $l$block_0;
|
|
6820
6820
|
}
|
|
6821
6821
|
}
|
|
6822
6822
|
tmp$ret$3 = false;
|
|
6823
6823
|
}
|
|
6824
|
-
tmp.
|
|
6825
|
-
this.
|
|
6824
|
+
tmp.m4q_1 = tmp$ret$3;
|
|
6825
|
+
this.n4q_1 = this.j4q_1.a1();
|
|
6826
6826
|
var tmp_1 = this;
|
|
6827
6827
|
// Inline function 'kotlin.collections.List' call
|
|
6828
6828
|
// Inline function 'kotlin.collections.MutableList' call
|
|
6829
|
-
var size = this.
|
|
6829
|
+
var size = this.e4q_1.a1() + 1 | 0;
|
|
6830
6830
|
var list = ArrayList_init_$Create$_0(size);
|
|
6831
6831
|
// Inline function 'kotlin.repeat' call
|
|
6832
6832
|
var inductionVariable = 0;
|
|
@@ -6835,12 +6835,12 @@ function TableImpl(rows, borderType, borderStyle, headerRowCount, footerRowCount
|
|
|
6835
6835
|
var index = inductionVariable;
|
|
6836
6836
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6837
6837
|
var tmp_2;
|
|
6838
|
-
if (index === 0 && !(this.
|
|
6839
|
-
tmp_2 = this.
|
|
6840
|
-
} else if (index === this.
|
|
6841
|
-
tmp_2 = this.
|
|
6838
|
+
if (index === 0 && !(this.k4q_1 == null)) {
|
|
6839
|
+
tmp_2 = this.k4q_1.c4p_1;
|
|
6840
|
+
} else if (index === this.e4q_1.a1() && !(this.k4q_1 == null)) {
|
|
6841
|
+
tmp_2 = this.k4q_1.e4p_1;
|
|
6842
6842
|
} else {
|
|
6843
|
-
var tmp0_0 = until(0, this.
|
|
6843
|
+
var tmp0_0 = until(0, this.n4q_1);
|
|
6844
6844
|
var tmp$ret$5;
|
|
6845
6845
|
$l$block_2: {
|
|
6846
6846
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6875,11 +6875,11 @@ function TableImpl(rows, borderType, borderStyle, headerRowCount, footerRowCount
|
|
|
6875
6875
|
list.x(tmp$ret$7);
|
|
6876
6876
|
}
|
|
6877
6877
|
while (inductionVariable < size);
|
|
6878
|
-
tmp_1.
|
|
6878
|
+
tmp_1.o4q_1 = list;
|
|
6879
6879
|
var tmp_4 = this;
|
|
6880
6880
|
// Inline function 'kotlin.collections.List' call
|
|
6881
6881
|
// Inline function 'kotlin.collections.MutableList' call
|
|
6882
|
-
var size_0 = this.
|
|
6882
|
+
var size_0 = this.n4q_1 + 1 | 0;
|
|
6883
6883
|
var list_0 = ArrayList_init_$Create$_0(size_0);
|
|
6884
6884
|
// Inline function 'kotlin.repeat' call
|
|
6885
6885
|
var inductionVariable_1 = 0;
|
|
@@ -6888,12 +6888,12 @@ function TableImpl(rows, borderType, borderStyle, headerRowCount, footerRowCount
|
|
|
6888
6888
|
var index_0 = inductionVariable_1;
|
|
6889
6889
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
6890
6890
|
var tmp_5;
|
|
6891
|
-
if (index_0 === 0 && !(this.
|
|
6892
|
-
tmp_5 = this.
|
|
6893
|
-
} else if (index_0 === this.
|
|
6894
|
-
tmp_5 = this.
|
|
6891
|
+
if (index_0 === 0 && !(this.k4q_1 == null)) {
|
|
6892
|
+
tmp_5 = this.k4q_1.b4p_1;
|
|
6893
|
+
} else if (index_0 === this.n4q_1 && !(this.k4q_1 == null)) {
|
|
6894
|
+
tmp_5 = this.k4q_1.d4p_1;
|
|
6895
6895
|
} else {
|
|
6896
|
-
var tmp0_1 = get_indices(this.
|
|
6896
|
+
var tmp0_1 = get_indices(this.e4q_1);
|
|
6897
6897
|
var tmp$ret$12;
|
|
6898
6898
|
$l$block_4: {
|
|
6899
6899
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6928,9 +6928,9 @@ function TableImpl(rows, borderType, borderStyle, headerRowCount, footerRowCount
|
|
|
6928
6928
|
list_0.x(tmp$ret$14);
|
|
6929
6929
|
}
|
|
6930
6930
|
while (inductionVariable_1 < size_0);
|
|
6931
|
-
tmp_4.
|
|
6931
|
+
tmp_4.p4q_1 = list_0;
|
|
6932
6932
|
var tmp_7 = this;
|
|
6933
|
-
var tmp0_2 = this.
|
|
6933
|
+
var tmp0_2 = this.p4q_1;
|
|
6934
6934
|
var tmp$ret$19;
|
|
6935
6935
|
$l$block_5: {
|
|
6936
6936
|
// Inline function 'kotlin.collections.count' call
|
|
@@ -6955,15 +6955,15 @@ function TableImpl(rows, borderType, borderStyle, headerRowCount, footerRowCount
|
|
|
6955
6955
|
}
|
|
6956
6956
|
tmp$ret$19 = count;
|
|
6957
6957
|
}
|
|
6958
|
-
tmp_7.
|
|
6958
|
+
tmp_7.q4q_1 = tmp$ret$19;
|
|
6959
6959
|
}
|
|
6960
|
-
protoOf(TableImpl).
|
|
6961
|
-
if (this.
|
|
6960
|
+
protoOf(TableImpl).g4o = function (t, width) {
|
|
6961
|
+
if (this.m4q_1)
|
|
6962
6962
|
return new WidthRange(width, width);
|
|
6963
|
-
var remainingWidth = width - this.
|
|
6963
|
+
var remainingWidth = width - this.q4q_1 | 0;
|
|
6964
6964
|
// Inline function 'kotlin.collections.List' call
|
|
6965
6965
|
// Inline function 'kotlin.collections.MutableList' call
|
|
6966
|
-
var size = this.
|
|
6966
|
+
var size = this.n4q_1;
|
|
6967
6967
|
var list = ArrayList_init_$Create$_0(size);
|
|
6968
6968
|
// Inline function 'kotlin.repeat' call
|
|
6969
6969
|
var inductionVariable = 0;
|
|
@@ -6982,51 +6982,51 @@ protoOf(TableImpl).d4o = function (t, width) {
|
|
|
6982
6982
|
while (_iterator__ex2g4s.u()) {
|
|
6983
6983
|
var element = _iterator__ex2g4s.v();
|
|
6984
6984
|
var tmp = sum;
|
|
6985
|
-
sum = tmp + element.
|
|
6985
|
+
sum = tmp + element.u4o_1 | 0;
|
|
6986
6986
|
}
|
|
6987
|
-
var tmp_0 = sum + this.
|
|
6987
|
+
var tmp_0 = sum + this.q4q_1 | 0;
|
|
6988
6988
|
// Inline function 'kotlin.collections.sumOf' call
|
|
6989
6989
|
var sum_0 = 0;
|
|
6990
6990
|
var _iterator__ex2g4s_0 = ranges.t();
|
|
6991
6991
|
while (_iterator__ex2g4s_0.u()) {
|
|
6992
6992
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
6993
6993
|
var tmp_1 = sum_0;
|
|
6994
|
-
sum_0 = tmp_1 + element_0.
|
|
6994
|
+
sum_0 = tmp_1 + element_0.v4o_1 | 0;
|
|
6995
6995
|
}
|
|
6996
6996
|
var tmp$ret$8 = sum_0;
|
|
6997
|
-
return new WidthRange(tmp_0, tmp$ret$8 + this.
|
|
6997
|
+
return new WidthRange(tmp_0, tmp$ret$8 + this.q4q_1 | 0);
|
|
6998
6998
|
};
|
|
6999
|
-
protoOf(TableImpl).
|
|
7000
|
-
return (new TableRenderer(this.
|
|
6999
|
+
protoOf(TableImpl).h4o = function (t, width) {
|
|
7000
|
+
return (new TableRenderer(this.e4q_1, this.f4q_1, this.g4q_1, this.h4q_1, this.i4q_1, this.n4q_1, calculateColumnWidths(this, t, width), this.p4q_1, this.o4q_1, this.k4q_1, t)).g4r();
|
|
7001
7001
|
};
|
|
7002
7002
|
function Table() {
|
|
7003
7003
|
}
|
|
7004
7004
|
function get_t(_this__u8e3s4) {
|
|
7005
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7005
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.h4p()) === true;
|
|
7006
7006
|
}
|
|
7007
7007
|
function get_b(_this__u8e3s4) {
|
|
7008
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7008
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.j4p()) === true;
|
|
7009
7009
|
}
|
|
7010
7010
|
function get_l(_this__u8e3s4) {
|
|
7011
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7011
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.g4p()) === true;
|
|
7012
7012
|
}
|
|
7013
7013
|
function get_r(_this__u8e3s4) {
|
|
7014
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7014
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.i4p()) === true;
|
|
7015
7015
|
}
|
|
7016
7016
|
function _get_rowCount__xlqfpy($this) {
|
|
7017
|
-
return $this.
|
|
7017
|
+
return $this.s4q_1.a1();
|
|
7018
7018
|
}
|
|
7019
7019
|
function drawBottomBorder($this) {
|
|
7020
|
-
if (!$this.
|
|
7020
|
+
if (!$this.a4r_1.b1(_get_rowCount__xlqfpy($this)))
|
|
7021
7021
|
return Unit_instance;
|
|
7022
|
-
var line = $this.
|
|
7022
|
+
var line = $this.f4r_1.b1(get_lastIndex_0($this.f4r_1));
|
|
7023
7023
|
var inductionVariable = 0;
|
|
7024
|
-
var last = $this.
|
|
7024
|
+
var last = $this.y4q_1.a1() - 1 | 0;
|
|
7025
7025
|
if (inductionVariable <= last)
|
|
7026
7026
|
do {
|
|
7027
7027
|
var x = inductionVariable;
|
|
7028
7028
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7029
|
-
if ($this.
|
|
7029
|
+
if ($this.z4q_1.b1(x)) {
|
|
7030
7030
|
var tmp61_safe_receiver = getTopLeftCorner($this, x, _get_rowCount__xlqfpy($this));
|
|
7031
7031
|
if (tmp61_safe_receiver == null)
|
|
7032
7032
|
null;
|
|
@@ -7035,11 +7035,11 @@ function drawBottomBorder($this) {
|
|
|
7035
7035
|
line.x(tmp61_safe_receiver);
|
|
7036
7036
|
}
|
|
7037
7037
|
}
|
|
7038
|
-
drawTopBorderForCell($this, get_lastIndex_0($this.
|
|
7038
|
+
drawTopBorderForCell($this, get_lastIndex_0($this.f4r_1), x, _get_rowCount__xlqfpy($this), $this.y4q_1.b1(x), false);
|
|
7039
7039
|
}
|
|
7040
7040
|
while (inductionVariable <= last);
|
|
7041
|
-
if ($this.
|
|
7042
|
-
var tmp62_safe_receiver = getTopLeftCorner($this, $this.
|
|
7041
|
+
if ($this.z4q_1.b1($this.x4q_1)) {
|
|
7042
|
+
var tmp62_safe_receiver = getTopLeftCorner($this, $this.x4q_1, _get_rowCount__xlqfpy($this));
|
|
7043
7043
|
if (tmp62_safe_receiver == null)
|
|
7044
7044
|
null;
|
|
7045
7045
|
else {
|
|
@@ -7056,53 +7056,53 @@ function drawCellContent($this, tableLineY, cell, x, y) {
|
|
|
7056
7056
|
var i = index;
|
|
7057
7057
|
index = index + 1 | 0;
|
|
7058
7058
|
var line = iterator.v();
|
|
7059
|
-
$this.
|
|
7059
|
+
$this.f4r_1.b1(tableLineY + i | 0).f1(line);
|
|
7060
7060
|
}
|
|
7061
7061
|
}
|
|
7062
7062
|
function drawTopBorderForCell($this, tableLineY, x, y, colWidth, borderTop) {
|
|
7063
|
-
if (!$this.
|
|
7063
|
+
if (!$this.a4r_1.b1(y))
|
|
7064
7064
|
return 0;
|
|
7065
7065
|
if (colWidth === 0 || borderTop == null) {
|
|
7066
7066
|
return 1;
|
|
7067
7067
|
}
|
|
7068
7068
|
var tmp;
|
|
7069
|
-
if (borderTop || (y === 0 && get_t_0($this.
|
|
7070
|
-
tmp = sectionOfRow$default($this, y).
|
|
7069
|
+
if (borderTop || (y === 0 && get_t_0($this.b4r_1)) || (y === _get_rowCount__xlqfpy($this) && get_b_0($this.b4r_1)) || get_b(cellAt($this, x, y - 1 | 0))) {
|
|
7070
|
+
tmp = sectionOfRow$default($this, y).c4m_1;
|
|
7071
7071
|
} else {
|
|
7072
7072
|
tmp = ' ';
|
|
7073
7073
|
}
|
|
7074
7074
|
var char = tmp;
|
|
7075
|
-
$this.
|
|
7075
|
+
$this.f4r_1.b1(tableLineY).x(Companion_instance_0.u4k(repeat(char, colWidth), $this.u4q_1));
|
|
7076
7076
|
return 1;
|
|
7077
7077
|
}
|
|
7078
7078
|
function drawLeftBorderForColumn($this, x) {
|
|
7079
|
-
if (!$this.
|
|
7079
|
+
if (!$this.z4q_1.b1(x))
|
|
7080
7080
|
return Unit_instance;
|
|
7081
7081
|
var tableLineY = 0;
|
|
7082
|
-
var iterator = $this.
|
|
7082
|
+
var iterator = $this.s4q_1.t();
|
|
7083
7083
|
var index = 0;
|
|
7084
7084
|
while (iterator.u()) {
|
|
7085
7085
|
var y = index;
|
|
7086
7086
|
index = index + 1 | 0;
|
|
7087
7087
|
var row = iterator.v();
|
|
7088
|
-
var rowHeight = $this.
|
|
7088
|
+
var rowHeight = $this.e4r_1.b1(y);
|
|
7089
7089
|
var tmp0_elvis_lhs = getOrNull(row, x);
|
|
7090
7090
|
var cell = tmp0_elvis_lhs == null ? Empty_getInstance() : tmp0_elvis_lhs;
|
|
7091
|
-
if ($this.
|
|
7091
|
+
if ($this.a4r_1.b1(y)) {
|
|
7092
7092
|
var tmp63_safe_receiver = getTopLeftCorner($this, x, y);
|
|
7093
7093
|
if (tmp63_safe_receiver == null)
|
|
7094
7094
|
null;
|
|
7095
7095
|
else {
|
|
7096
7096
|
// Inline function 'kotlin.let' call
|
|
7097
|
-
$this.
|
|
7097
|
+
$this.f4r_1.b1(tableLineY).x(tmp63_safe_receiver);
|
|
7098
7098
|
}
|
|
7099
7099
|
}
|
|
7100
|
-
var borderLeft = cell.
|
|
7101
|
-
var topBorderHeight = $this.
|
|
7100
|
+
var borderLeft = cell.g4p();
|
|
7101
|
+
var topBorderHeight = $this.a4r_1.b1(y) ? 1 : 0;
|
|
7102
7102
|
if (!(borderLeft == null)) {
|
|
7103
7103
|
var tmp;
|
|
7104
|
-
if (x === 0 && get_l_0($this.
|
|
7105
|
-
tmp = Companion_instance_0.
|
|
7104
|
+
if (x === 0 && get_l_0($this.b4r_1) || (x === $this.x4q_1 && get_r_0($this.b4r_1)) || borderLeft || get_r(cellAt($this, x - 1 | 0, y))) {
|
|
7105
|
+
tmp = Companion_instance_0.u4k(sectionOfRow($this, y, false).d4m_1, $this.u4q_1);
|
|
7106
7106
|
} else {
|
|
7107
7107
|
tmp = get_SINGLE_SPACE();
|
|
7108
7108
|
}
|
|
@@ -7112,7 +7112,7 @@ function drawLeftBorderForColumn($this, x) {
|
|
|
7112
7112
|
do {
|
|
7113
7113
|
var i = inductionVariable;
|
|
7114
7114
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7115
|
-
$this.
|
|
7115
|
+
$this.f4r_1.b1((tableLineY + i | 0) + topBorderHeight | 0).x(border);
|
|
7116
7116
|
}
|
|
7117
7117
|
while (inductionVariable < rowHeight);
|
|
7118
7118
|
}
|
|
@@ -7125,10 +7125,10 @@ function renderCell($this, cell, x, y) {
|
|
|
7125
7125
|
tmp = emptyList();
|
|
7126
7126
|
} else {
|
|
7127
7127
|
if (cell instanceof Empty) {
|
|
7128
|
-
var space = listOf_0(Companion_instance_0.
|
|
7128
|
+
var space = listOf_0(Companion_instance_0.o4k($this.y4q_1.b1(x)));
|
|
7129
7129
|
// Inline function 'kotlin.collections.List' call
|
|
7130
7130
|
// Inline function 'kotlin.collections.MutableList' call
|
|
7131
|
-
var size = $this.
|
|
7131
|
+
var size = $this.e4r_1.b1(y);
|
|
7132
7132
|
var list = ArrayList_init_$Create$_0(size);
|
|
7133
7133
|
// Inline function 'kotlin.repeat' call
|
|
7134
7134
|
var inductionVariable = 0;
|
|
@@ -7144,7 +7144,7 @@ function renderCell($this, cell, x, y) {
|
|
|
7144
7144
|
if (cell instanceof Content) {
|
|
7145
7145
|
// Inline function 'kotlin.collections.sumOf' call
|
|
7146
7146
|
var sum = 0;
|
|
7147
|
-
var progression = until(x, x + cell.
|
|
7147
|
+
var progression = until(x, x + cell.r4p_1 | 0);
|
|
7148
7148
|
var inductionVariable_0 = progression.n1_1;
|
|
7149
7149
|
var last = progression.o1_1;
|
|
7150
7150
|
if (inductionVariable_0 <= last)
|
|
@@ -7153,11 +7153,11 @@ function renderCell($this, cell, x, y) {
|
|
|
7153
7153
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
7154
7154
|
var tmp_0 = sum;
|
|
7155
7155
|
var it = element;
|
|
7156
|
-
sum = tmp_0 + $this.
|
|
7156
|
+
sum = tmp_0 + $this.y4q_1.b1(it) | 0;
|
|
7157
7157
|
}
|
|
7158
7158
|
while (!(element === last));
|
|
7159
7159
|
var tmp_1 = sum;
|
|
7160
|
-
var tmp0 = until(x + 1 | 0, x + cell.
|
|
7160
|
+
var tmp0 = until(x + 1 | 0, x + cell.r4p_1 | 0);
|
|
7161
7161
|
var tmp$ret$7;
|
|
7162
7162
|
$l$block: {
|
|
7163
7163
|
// Inline function 'kotlin.collections.count' call
|
|
@@ -7179,7 +7179,7 @@ function renderCell($this, cell, x, y) {
|
|
|
7179
7179
|
var element_0 = inductionVariable_1;
|
|
7180
7180
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
7181
7181
|
var it_0 = element_0;
|
|
7182
|
-
if ($this.
|
|
7182
|
+
if ($this.z4q_1.b1(it_0 + 1 | 0)) {
|
|
7183
7183
|
count = count + 1 | 0;
|
|
7184
7184
|
checkCountOverflow(count);
|
|
7185
7185
|
}
|
|
@@ -7190,7 +7190,7 @@ function renderCell($this, cell, x, y) {
|
|
|
7190
7190
|
var cellWidth = coerceAtLeast(tmp_1 + tmp$ret$7 | 0, 0);
|
|
7191
7191
|
// Inline function 'kotlin.collections.sumOf' call
|
|
7192
7192
|
var sum_0 = 0;
|
|
7193
|
-
var progression_0 = until(y, y + cell.
|
|
7193
|
+
var progression_0 = until(y, y + cell.q4p_1 | 0);
|
|
7194
7194
|
var inductionVariable_2 = progression_0.n1_1;
|
|
7195
7195
|
var last_1 = progression_0.o1_1;
|
|
7196
7196
|
if (inductionVariable_2 <= last_1)
|
|
@@ -7199,11 +7199,11 @@ function renderCell($this, cell, x, y) {
|
|
|
7199
7199
|
inductionVariable_2 = inductionVariable_2 + 1 | 0;
|
|
7200
7200
|
var tmp_3 = sum_0;
|
|
7201
7201
|
var it_1 = element_1;
|
|
7202
|
-
sum_0 = tmp_3 + $this.
|
|
7202
|
+
sum_0 = tmp_3 + $this.e4r_1.b1(it_1) | 0;
|
|
7203
7203
|
}
|
|
7204
7204
|
while (!(element_1 === last_1));
|
|
7205
7205
|
var tmp_4 = sum_0;
|
|
7206
|
-
var tmp0_0 = until(y + 1 | 0, y + cell.
|
|
7206
|
+
var tmp0_0 = until(y + 1 | 0, y + cell.q4p_1 | 0);
|
|
7207
7207
|
var tmp$ret$11;
|
|
7208
7208
|
$l$block_0: {
|
|
7209
7209
|
// Inline function 'kotlin.collections.count' call
|
|
@@ -7225,7 +7225,7 @@ function renderCell($this, cell, x, y) {
|
|
|
7225
7225
|
var element_2 = inductionVariable_3;
|
|
7226
7226
|
inductionVariable_3 = inductionVariable_3 + 1 | 0;
|
|
7227
7227
|
var it_2 = element_2;
|
|
7228
|
-
if ($this.
|
|
7228
|
+
if ($this.a4r_1.b1(it_2 + 1 | 0)) {
|
|
7229
7229
|
count_0 = count_0 + 1 | 0;
|
|
7230
7230
|
checkCountOverflow(count_0);
|
|
7231
7231
|
}
|
|
@@ -7234,7 +7234,7 @@ function renderCell($this, cell, x, y) {
|
|
|
7234
7234
|
tmp$ret$11 = count_0;
|
|
7235
7235
|
}
|
|
7236
7236
|
var cellHeight = tmp_4 + tmp$ret$11 | 0;
|
|
7237
|
-
tmp = setSize(cell.
|
|
7237
|
+
tmp = setSize(cell.p4p_1.h4o($this.c4r_1, cellWidth).l4m(cell.w4p_1), cellWidth, cellHeight, cell.y4p_1, cell.x4p_1).x4j_1;
|
|
7238
7238
|
} else {
|
|
7239
7239
|
noWhenBranchMatchedException();
|
|
7240
7240
|
}
|
|
@@ -7243,7 +7243,7 @@ function renderCell($this, cell, x, y) {
|
|
|
7243
7243
|
return tmp;
|
|
7244
7244
|
}
|
|
7245
7245
|
function cellAt($this, x, y) {
|
|
7246
|
-
var tmp65_safe_receiver = getOrNull($this.
|
|
7246
|
+
var tmp65_safe_receiver = getOrNull($this.s4q_1, y);
|
|
7247
7247
|
return tmp65_safe_receiver == null ? null : getOrNull(tmp65_safe_receiver, x);
|
|
7248
7248
|
}
|
|
7249
7249
|
function getTopLeftCorner($this, x, y) {
|
|
@@ -7260,72 +7260,72 @@ function getTopLeftCorner($this, x, y) {
|
|
|
7260
7260
|
var tmp_5;
|
|
7261
7261
|
var tmp_6;
|
|
7262
7262
|
if (!(tl == null) || !(tr == null) || !(bl == null) || !(br == null)) {
|
|
7263
|
-
tmp_6 = (tl == null ? null : tl.
|
|
7263
|
+
tmp_6 = (tl == null ? null : tl.i4p()) == null;
|
|
7264
7264
|
} else {
|
|
7265
7265
|
tmp_6 = false;
|
|
7266
7266
|
}
|
|
7267
7267
|
if (tmp_6) {
|
|
7268
|
-
tmp_5 = (tr == null ? null : tr.
|
|
7268
|
+
tmp_5 = (tr == null ? null : tr.g4p()) == null;
|
|
7269
7269
|
} else {
|
|
7270
7270
|
tmp_5 = false;
|
|
7271
7271
|
}
|
|
7272
7272
|
if (tmp_5) {
|
|
7273
|
-
tmp_4 = (tr == null ? null : tr.
|
|
7273
|
+
tmp_4 = (tr == null ? null : tr.j4p()) == null;
|
|
7274
7274
|
} else {
|
|
7275
7275
|
tmp_4 = false;
|
|
7276
7276
|
}
|
|
7277
7277
|
if (tmp_4) {
|
|
7278
|
-
tmp_3 = (br == null ? null : br.
|
|
7278
|
+
tmp_3 = (br == null ? null : br.h4p()) == null;
|
|
7279
7279
|
} else {
|
|
7280
7280
|
tmp_3 = false;
|
|
7281
7281
|
}
|
|
7282
7282
|
if (tmp_3) {
|
|
7283
|
-
tmp_2 = (bl == null ? null : bl.
|
|
7283
|
+
tmp_2 = (bl == null ? null : bl.i4p()) == null;
|
|
7284
7284
|
} else {
|
|
7285
7285
|
tmp_2 = false;
|
|
7286
7286
|
}
|
|
7287
7287
|
if (tmp_2) {
|
|
7288
|
-
tmp_1 = (br == null ? null : br.
|
|
7288
|
+
tmp_1 = (br == null ? null : br.g4p()) == null;
|
|
7289
7289
|
} else {
|
|
7290
7290
|
tmp_1 = false;
|
|
7291
7291
|
}
|
|
7292
7292
|
if (tmp_1) {
|
|
7293
|
-
tmp_0 = (tl == null ? null : tl.
|
|
7293
|
+
tmp_0 = (tl == null ? null : tl.j4p()) == null;
|
|
7294
7294
|
} else {
|
|
7295
7295
|
tmp_0 = false;
|
|
7296
7296
|
}
|
|
7297
7297
|
if (tmp_0) {
|
|
7298
|
-
tmp = (bl == null ? null : bl.
|
|
7298
|
+
tmp = (bl == null ? null : bl.h4p()) == null;
|
|
7299
7299
|
} else {
|
|
7300
7300
|
tmp = false;
|
|
7301
7301
|
}
|
|
7302
7302
|
if (tmp) {
|
|
7303
7303
|
return null;
|
|
7304
7304
|
}
|
|
7305
|
-
return sectionOfRow$default($this, y).
|
|
7305
|
+
return sectionOfRow$default($this, y).j4m(get_r(tl) || get_l(tr) || (y > 0 && (x === 0 && get_l_0($this.b4r_1) || (x === $this.x4q_1 && get_r_0($this.b4r_1)))), get_b(tr) || get_t(br) || (x < $this.x4q_1 && (y === 0 && get_t_0($this.b4r_1) || (y === _get_rowCount__xlqfpy($this) && get_b_0($this.b4r_1)))), get_r(bl) || get_l(br) || (y < _get_rowCount__xlqfpy($this) && (x === 0 && get_l_0($this.b4r_1) || (x === $this.x4q_1 && get_r_0($this.b4r_1)))), get_b(tl) || get_t(bl) || (x > 0 && (y === 0 && get_t_0($this.b4r_1) || (y === _get_rowCount__xlqfpy($this) && get_b_0($this.b4r_1)))), $this.u4q_1);
|
|
7306
7306
|
}
|
|
7307
7307
|
function sectionOfRow($this, y, allowBottom) {
|
|
7308
|
-
return y < $this.
|
|
7308
|
+
return y < $this.v4q_1 ? $this.t4q_1.o4l_1 : allowBottom && $this.v4q_1 > 0 && y === $this.v4q_1 ? $this.t4q_1.p4l_1 : allowBottom && $this.w4q_1 > 0 && y === (_get_rowCount__xlqfpy($this) - $this.w4q_1 | 0) ? $this.t4q_1.r4l_1 : $this.w4q_1 === 0 || y < (_get_rowCount__xlqfpy($this) - $this.w4q_1 | 0) ? $this.t4q_1.q4l_1 : $this.t4q_1.s4l_1;
|
|
7309
7309
|
}
|
|
7310
7310
|
function sectionOfRow$default($this, y, allowBottom, $super) {
|
|
7311
7311
|
allowBottom = allowBottom === VOID ? true : allowBottom;
|
|
7312
7312
|
return sectionOfRow($this, y, allowBottom);
|
|
7313
7313
|
}
|
|
7314
7314
|
function TableRenderer(rows, borderType, borderStyle, headerRowCount, footerRowCount, columnCount, columnWidths, columnBorders, rowBorders, tableBorders, t) {
|
|
7315
|
-
this.
|
|
7316
|
-
this.
|
|
7317
|
-
this.
|
|
7318
|
-
this.
|
|
7319
|
-
this.
|
|
7320
|
-
this.
|
|
7321
|
-
this.
|
|
7322
|
-
this.
|
|
7323
|
-
this.
|
|
7324
|
-
this.
|
|
7325
|
-
this.
|
|
7315
|
+
this.s4q_1 = rows;
|
|
7316
|
+
this.t4q_1 = borderType;
|
|
7317
|
+
this.u4q_1 = borderStyle;
|
|
7318
|
+
this.v4q_1 = headerRowCount;
|
|
7319
|
+
this.w4q_1 = footerRowCount;
|
|
7320
|
+
this.x4q_1 = columnCount;
|
|
7321
|
+
this.y4q_1 = columnWidths;
|
|
7322
|
+
this.z4q_1 = columnBorders;
|
|
7323
|
+
this.a4r_1 = rowBorders;
|
|
7324
|
+
this.b4r_1 = tableBorders;
|
|
7325
|
+
this.c4r_1 = t;
|
|
7326
7326
|
var tmp = this;
|
|
7327
7327
|
// Inline function 'kotlin.collections.map' call
|
|
7328
|
-
var this_0 = this.
|
|
7328
|
+
var this_0 = this.s4q_1;
|
|
7329
7329
|
// Inline function 'kotlin.collections.mapTo' call
|
|
7330
7330
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
7331
7331
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -7345,7 +7345,7 @@ function TableRenderer(rows, borderType, borderStyle, headerRowCount, footerRowC
|
|
|
7345
7345
|
if (item_0 instanceof Content) {
|
|
7346
7346
|
// Inline function 'kotlin.collections.sumOf' call
|
|
7347
7347
|
var sum_0 = 0;
|
|
7348
|
-
var progression = until(x, x + item_0.
|
|
7348
|
+
var progression = until(x, x + item_0.r4p_1 | 0);
|
|
7349
7349
|
var inductionVariable = progression.n1_1;
|
|
7350
7350
|
var last = progression.o1_1;
|
|
7351
7351
|
if (inductionVariable <= last)
|
|
@@ -7354,11 +7354,11 @@ function TableRenderer(rows, borderType, borderStyle, headerRowCount, footerRowC
|
|
|
7354
7354
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7355
7355
|
var tmp_1 = sum_0;
|
|
7356
7356
|
var it = element;
|
|
7357
|
-
sum_0 = tmp_1 + this.
|
|
7357
|
+
sum_0 = tmp_1 + this.y4q_1.b1(it) | 0;
|
|
7358
7358
|
}
|
|
7359
7359
|
while (!(element === last));
|
|
7360
7360
|
var w = sum_0;
|
|
7361
|
-
tmp_0 = w === 0 ? get_EMPTY_LINES() : item_0.
|
|
7361
|
+
tmp_0 = w === 0 ? get_EMPTY_LINES() : item_0.p4p_1.h4o(this.c4r_1, w).l4m(item_0.w4p_1);
|
|
7362
7362
|
} else {
|
|
7363
7363
|
tmp_0 = get_EMPTY_LINES();
|
|
7364
7364
|
}
|
|
@@ -7367,10 +7367,10 @@ function TableRenderer(rows, borderType, borderStyle, headerRowCount, footerRowC
|
|
|
7367
7367
|
}
|
|
7368
7368
|
destination.x(destination_0);
|
|
7369
7369
|
}
|
|
7370
|
-
tmp.
|
|
7370
|
+
tmp.d4r_1 = destination;
|
|
7371
7371
|
var tmp_2 = this;
|
|
7372
7372
|
// Inline function 'kotlin.collections.mapIndexed' call
|
|
7373
|
-
var this_1 = this.
|
|
7373
|
+
var this_1 = this.d4r_1;
|
|
7374
7374
|
// Inline function 'kotlin.collections.mapIndexedTo' call
|
|
7375
7375
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
7376
7376
|
var index_0 = 0;
|
|
@@ -7392,17 +7392,17 @@ function TableRenderer(rows, borderType, borderStyle, headerRowCount, footerRowC
|
|
|
7392
7392
|
var destruct = iterator.v();
|
|
7393
7393
|
var x_0 = destruct.ve();
|
|
7394
7394
|
var it_0 = destruct.we();
|
|
7395
|
-
var tmp_3 = it_0.
|
|
7395
|
+
var tmp_3 = it_0.k4m();
|
|
7396
7396
|
var tmp59_safe_receiver = cellAt(this, x_0, y);
|
|
7397
|
-
var tmp0_elvis_lhs = tmp59_safe_receiver == null ? null : tmp59_safe_receiver.
|
|
7397
|
+
var tmp0_elvis_lhs = tmp59_safe_receiver == null ? null : tmp59_safe_receiver.f4p();
|
|
7398
7398
|
var maxValue = tmp_3 / (tmp0_elvis_lhs == null ? 1 : tmp0_elvis_lhs) | 0;
|
|
7399
7399
|
while (iterator.u()) {
|
|
7400
7400
|
var destruct_0 = iterator.v();
|
|
7401
7401
|
var x_1 = destruct_0.ve();
|
|
7402
7402
|
var it_1 = destruct_0.we();
|
|
7403
|
-
var tmp_4 = it_1.
|
|
7403
|
+
var tmp_4 = it_1.k4m();
|
|
7404
7404
|
var tmp59_safe_receiver_0 = cellAt(this, x_1, y);
|
|
7405
|
-
var tmp0_elvis_lhs_0 = tmp59_safe_receiver_0 == null ? null : tmp59_safe_receiver_0.
|
|
7405
|
+
var tmp0_elvis_lhs_0 = tmp59_safe_receiver_0 == null ? null : tmp59_safe_receiver_0.f4p();
|
|
7406
7406
|
var v = tmp_4 / (tmp0_elvis_lhs_0 == null ? 1 : tmp0_elvis_lhs_0) | 0;
|
|
7407
7407
|
if (compareTo(maxValue, v) < 0) {
|
|
7408
7408
|
maxValue = v;
|
|
@@ -7415,10 +7415,10 @@ function TableRenderer(rows, borderType, borderStyle, headerRowCount, footerRowC
|
|
|
7415
7415
|
var tmp$ret$11 = tmp0_elvis_lhs_1 == null ? 1 : tmp0_elvis_lhs_1;
|
|
7416
7416
|
destination_1.x(tmp$ret$11);
|
|
7417
7417
|
}
|
|
7418
|
-
tmp_2.
|
|
7418
|
+
tmp_2.e4r_1 = destination_1;
|
|
7419
7419
|
var tmp_5 = this;
|
|
7420
|
-
var tmp_6 = sum(this.
|
|
7421
|
-
var tmp0_0 = this.
|
|
7420
|
+
var tmp_6 = sum(this.e4r_1);
|
|
7421
|
+
var tmp0_0 = this.a4r_1;
|
|
7422
7422
|
var tmp$ret$14;
|
|
7423
7423
|
$l$block_0: {
|
|
7424
7424
|
// Inline function 'kotlin.collections.count' call
|
|
@@ -7457,37 +7457,37 @@ function TableRenderer(rows, borderType, borderStyle, headerRowCount, footerRowC
|
|
|
7457
7457
|
list.x(tmp$ret$17);
|
|
7458
7458
|
}
|
|
7459
7459
|
while (inductionVariable_0 < size);
|
|
7460
|
-
tmp_5.
|
|
7460
|
+
tmp_5.f4r_1 = list;
|
|
7461
7461
|
}
|
|
7462
|
-
protoOf(TableRenderer).
|
|
7462
|
+
protoOf(TableRenderer).g4r = function () {
|
|
7463
7463
|
var inductionVariable = 0;
|
|
7464
|
-
var last = this.
|
|
7464
|
+
var last = this.y4q_1.a1() - 1 | 0;
|
|
7465
7465
|
if (inductionVariable <= last)
|
|
7466
7466
|
do {
|
|
7467
7467
|
var x = inductionVariable;
|
|
7468
7468
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7469
7469
|
drawLeftBorderForColumn(this, x);
|
|
7470
|
-
var colWidth = this.
|
|
7470
|
+
var colWidth = this.y4q_1.b1(x);
|
|
7471
7471
|
var tableLineY = 0;
|
|
7472
|
-
var iterator = this.
|
|
7472
|
+
var iterator = this.s4q_1.t();
|
|
7473
7473
|
var index = 0;
|
|
7474
7474
|
while (iterator.u()) {
|
|
7475
7475
|
var y = index;
|
|
7476
7476
|
index = index + 1 | 0;
|
|
7477
7477
|
var row = iterator.v();
|
|
7478
|
-
var rowHeight = this.
|
|
7478
|
+
var rowHeight = this.e4r_1.b1(y);
|
|
7479
7479
|
var tmp0_elvis_lhs = getOrNull(row, x);
|
|
7480
7480
|
var cell = tmp0_elvis_lhs == null ? Empty_getInstance() : tmp0_elvis_lhs;
|
|
7481
|
-
tableLineY = tableLineY + drawTopBorderForCell(this, tableLineY, x, y, colWidth, cell.
|
|
7481
|
+
tableLineY = tableLineY + drawTopBorderForCell(this, tableLineY, x, y, colWidth, cell.h4p()) | 0;
|
|
7482
7482
|
drawCellContent(this, tableLineY, cell, x, y);
|
|
7483
7483
|
tableLineY = tableLineY + rowHeight | 0;
|
|
7484
7484
|
}
|
|
7485
7485
|
}
|
|
7486
7486
|
while (inductionVariable <= last);
|
|
7487
|
-
drawLeftBorderForColumn(this, this.
|
|
7487
|
+
drawLeftBorderForColumn(this, this.x4q_1);
|
|
7488
7488
|
drawBottomBorder(this);
|
|
7489
7489
|
// Inline function 'kotlin.collections.map' call
|
|
7490
|
-
var this_0 = this.
|
|
7490
|
+
var this_0 = this.f4r_1;
|
|
7491
7491
|
// Inline function 'kotlin.collections.mapTo' call
|
|
7492
7492
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
7493
7493
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -7499,22 +7499,22 @@ protoOf(TableRenderer).d4r = function () {
|
|
|
7499
7499
|
return new Lines(destination);
|
|
7500
7500
|
};
|
|
7501
7501
|
function get_t_0(_this__u8e3s4) {
|
|
7502
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7502
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.c4p_1) === true;
|
|
7503
7503
|
}
|
|
7504
7504
|
function get_b_0(_this__u8e3s4) {
|
|
7505
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7505
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.e4p_1) === true;
|
|
7506
7506
|
}
|
|
7507
7507
|
function get_l_0(_this__u8e3s4) {
|
|
7508
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7508
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.b4p_1) === true;
|
|
7509
7509
|
}
|
|
7510
7510
|
function get_r_0(_this__u8e3s4) {
|
|
7511
|
-
return (_this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
7511
|
+
return (_this__u8e3s4 == null ? null : _this__u8e3s4.d4p_1) === true;
|
|
7512
7512
|
}
|
|
7513
7513
|
function verticalLayout(init) {
|
|
7514
7514
|
// Inline function 'kotlin.apply' call
|
|
7515
7515
|
var this_0 = new VerticalLayoutBuilderInstance();
|
|
7516
7516
|
init(this_0);
|
|
7517
|
-
return this_0.
|
|
7517
|
+
return this_0.k1u();
|
|
7518
7518
|
}
|
|
7519
7519
|
function LinearLayoutBuilder$cellsFrom$lambda(_this__u8e3s4) {
|
|
7520
7520
|
return Unit_instance;
|
|
@@ -7526,7 +7526,7 @@ function LinearLayoutBuilder() {
|
|
|
7526
7526
|
}
|
|
7527
7527
|
function Companion_2() {
|
|
7528
7528
|
Companion_instance_2 = this;
|
|
7529
|
-
this.
|
|
7529
|
+
this.q4r_1 = new ColumnWidth(2);
|
|
7530
7530
|
}
|
|
7531
7531
|
var Companion_instance_2;
|
|
7532
7532
|
function Companion_getInstance_3() {
|
|
@@ -7538,32 +7538,32 @@ function ColumnWidth(priority, width, expandWeight) {
|
|
|
7538
7538
|
Companion_getInstance_3();
|
|
7539
7539
|
width = width === VOID ? null : width;
|
|
7540
7540
|
expandWeight = expandWeight === VOID ? null : expandWeight;
|
|
7541
|
-
this.
|
|
7542
|
-
this.
|
|
7543
|
-
this.
|
|
7541
|
+
this.b4q_1 = priority;
|
|
7542
|
+
this.c4q_1 = width;
|
|
7543
|
+
this.d4q_1 = expandWeight;
|
|
7544
7544
|
// Inline function 'kotlin.require' call
|
|
7545
|
-
if (!(this.
|
|
7545
|
+
if (!(this.c4q_1 == null || this.c4q_1 > 0)) {
|
|
7546
7546
|
var message = 'width must be greater than zero';
|
|
7547
7547
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
7548
7548
|
}
|
|
7549
7549
|
// Inline function 'kotlin.require' call
|
|
7550
|
-
if (!(this.
|
|
7550
|
+
if (!(this.d4q_1 == null || this.d4q_1 > 0.0)) {
|
|
7551
7551
|
var message_0 = 'expandWeight must be greater than zero';
|
|
7552
7552
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
7553
7553
|
}
|
|
7554
7554
|
// Inline function 'kotlin.require' call
|
|
7555
|
-
if (!(this.
|
|
7555
|
+
if (!(this.c4q_1 == null || this.d4q_1 == null)) {
|
|
7556
7556
|
var message_1 = 'Cannot set both width and expandWeight';
|
|
7557
7557
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
7558
7558
|
}
|
|
7559
7559
|
}
|
|
7560
7560
|
protoOf(ColumnWidth).toString = function () {
|
|
7561
|
-
return get_isAuto(this) ? 'Auto' : get_isExpand(this) ? 'Expand(' + this.
|
|
7561
|
+
return get_isAuto(this) ? 'Auto' : get_isExpand(this) ? 'Expand(' + this.d4q_1 + ')' : get_isFixed(this) ? 'Fixed(' + this.c4q_1 + ')' : 'Custom(width=' + this.c4q_1 + ', expandWeight=' + this.d4q_1 + ', priority=' + this.b4q_1 + ')';
|
|
7562
7562
|
};
|
|
7563
7563
|
protoOf(ColumnWidth).hashCode = function () {
|
|
7564
|
-
var result = this.
|
|
7565
|
-
result = imul(result, 31) + (this.
|
|
7566
|
-
result = imul(result, 31) + (this.
|
|
7564
|
+
var result = this.b4q_1;
|
|
7565
|
+
result = imul(result, 31) + (this.c4q_1 == null ? 0 : this.c4q_1) | 0;
|
|
7566
|
+
result = imul(result, 31) + (this.d4q_1 == null ? 0 : getNumberHashCode(this.d4q_1)) | 0;
|
|
7567
7567
|
return result;
|
|
7568
7568
|
};
|
|
7569
7569
|
protoOf(ColumnWidth).equals = function (other) {
|
|
@@ -7572,146 +7572,146 @@ protoOf(ColumnWidth).equals = function (other) {
|
|
|
7572
7572
|
if (!(other instanceof ColumnWidth))
|
|
7573
7573
|
return false;
|
|
7574
7574
|
var tmp0_other_with_cast = other instanceof ColumnWidth ? other : THROW_CCE();
|
|
7575
|
-
if (!(this.
|
|
7575
|
+
if (!(this.b4q_1 === tmp0_other_with_cast.b4q_1))
|
|
7576
7576
|
return false;
|
|
7577
|
-
if (!(this.
|
|
7577
|
+
if (!(this.c4q_1 == tmp0_other_with_cast.c4q_1))
|
|
7578
7578
|
return false;
|
|
7579
|
-
if (!equals(this.
|
|
7579
|
+
if (!equals(this.d4q_1, tmp0_other_with_cast.d4q_1))
|
|
7580
7580
|
return false;
|
|
7581
7581
|
return true;
|
|
7582
7582
|
};
|
|
7583
7583
|
function get_isAuto(_this__u8e3s4) {
|
|
7584
|
-
return _this__u8e3s4.
|
|
7584
|
+
return _this__u8e3s4.c4q_1 == null && _this__u8e3s4.d4q_1 == null;
|
|
7585
7585
|
}
|
|
7586
7586
|
function get_isExpand(_this__u8e3s4) {
|
|
7587
|
-
return !(_this__u8e3s4.
|
|
7587
|
+
return !(_this__u8e3s4.d4q_1 == null);
|
|
7588
7588
|
}
|
|
7589
7589
|
function get_isFixed(_this__u8e3s4) {
|
|
7590
|
-
return !(_this__u8e3s4.
|
|
7590
|
+
return !(_this__u8e3s4.c4q_1 == null);
|
|
7591
7591
|
}
|
|
7592
7592
|
function CellStyleBuilder() {
|
|
7593
7593
|
}
|
|
7594
7594
|
function VerticalLayoutBuilderInstance(tableBuilder) {
|
|
7595
7595
|
tableBuilder = tableBuilder === VOID ? new TableBuilderInstance() : tableBuilder;
|
|
7596
|
-
this.
|
|
7597
|
-
this.
|
|
7598
|
-
this.
|
|
7599
|
-
this.
|
|
7596
|
+
this.h4r_1 = tableBuilder;
|
|
7597
|
+
this.i4r_1 = this.h4r_1.h4s_1;
|
|
7598
|
+
this.j4r_1 = Companion_getInstance_3().q4r_1;
|
|
7599
|
+
this.k4r_1 = 0;
|
|
7600
7600
|
}
|
|
7601
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7602
|
-
return this.
|
|
7601
|
+
protoOf(VerticalLayoutBuilderInstance).w4r = function () {
|
|
7602
|
+
return this.h4r_1.w4r();
|
|
7603
7603
|
};
|
|
7604
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7605
|
-
return this.
|
|
7604
|
+
protoOf(VerticalLayoutBuilderInstance).x4r = function () {
|
|
7605
|
+
return this.h4r_1.x4r();
|
|
7606
7606
|
};
|
|
7607
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7608
|
-
return this.
|
|
7607
|
+
protoOf(VerticalLayoutBuilderInstance).y4r = function () {
|
|
7608
|
+
return this.h4r_1.y4r();
|
|
7609
7609
|
};
|
|
7610
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7611
|
-
return this.
|
|
7610
|
+
protoOf(VerticalLayoutBuilderInstance).z4r = function () {
|
|
7611
|
+
return this.h4r_1.z4r();
|
|
7612
7612
|
};
|
|
7613
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7614
|
-
this.
|
|
7613
|
+
protoOf(VerticalLayoutBuilderInstance).p4r = function (_set____db54di) {
|
|
7614
|
+
this.k4r_1 = _set____db54di;
|
|
7615
7615
|
};
|
|
7616
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7616
|
+
protoOf(VerticalLayoutBuilderInstance).l4r = function (cells, init) {
|
|
7617
7617
|
// Inline function 'kotlin.collections.forEach' call
|
|
7618
7618
|
var _iterator__ex2g4s = cells.t();
|
|
7619
7619
|
while (_iterator__ex2g4s.u()) {
|
|
7620
7620
|
var element = _iterator__ex2g4s.v();
|
|
7621
|
-
this.
|
|
7621
|
+
this.i4r_1.p4s([element], init);
|
|
7622
7622
|
}
|
|
7623
7623
|
};
|
|
7624
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7625
|
-
this.
|
|
7624
|
+
protoOf(VerticalLayoutBuilderInstance).n4r = function (content, init) {
|
|
7625
|
+
this.i4r_1.p4s([content], init);
|
|
7626
7626
|
};
|
|
7627
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
7628
|
-
return Companion_instance_3.
|
|
7627
|
+
protoOf(VerticalLayoutBuilderInstance).k1u = function () {
|
|
7628
|
+
return Companion_instance_3.q4s(this.h4r_1, this.k4r_1, this.j4r_1);
|
|
7629
7629
|
};
|
|
7630
7630
|
function TableBuilderInstance() {
|
|
7631
|
-
this.
|
|
7632
|
-
this.
|
|
7633
|
-
this.
|
|
7634
|
-
this.
|
|
7635
|
-
this.
|
|
7631
|
+
this.a4s_1 = new CellStyleBuilderMixin();
|
|
7632
|
+
this.b4s_1 = Companion_getInstance_0().d4l_1;
|
|
7633
|
+
this.c4s_1 = get_DEFAULT_STYLE();
|
|
7634
|
+
this.d4s_1 = null;
|
|
7635
|
+
this.e4s_1 = true;
|
|
7636
7636
|
var tmp = this;
|
|
7637
7637
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7638
|
-
tmp.
|
|
7639
|
-
this.
|
|
7640
|
-
this.
|
|
7641
|
-
this.
|
|
7642
|
-
this.
|
|
7643
|
-
this.
|
|
7638
|
+
tmp.f4s_1 = LinkedHashMap_init_$Create$();
|
|
7639
|
+
this.g4s_1 = new SectionBuilderInstance();
|
|
7640
|
+
this.h4s_1 = new SectionBuilderInstance();
|
|
7641
|
+
this.i4s_1 = new SectionBuilderInstance();
|
|
7642
|
+
this.j4s_1 = null;
|
|
7643
|
+
this.k4s_1 = null;
|
|
7644
7644
|
}
|
|
7645
|
-
protoOf(TableBuilderInstance).
|
|
7646
|
-
this.
|
|
7645
|
+
protoOf(TableBuilderInstance).v4r = function (all) {
|
|
7646
|
+
this.a4s_1.v4r(all);
|
|
7647
7647
|
};
|
|
7648
|
-
protoOf(TableBuilderInstance).
|
|
7649
|
-
this.
|
|
7648
|
+
protoOf(TableBuilderInstance).r4s = function (_set____db54di) {
|
|
7649
|
+
this.a4s_1.u4s_1 = _set____db54di;
|
|
7650
7650
|
};
|
|
7651
|
-
protoOf(TableBuilderInstance).
|
|
7652
|
-
return this.
|
|
7651
|
+
protoOf(TableBuilderInstance).r4r = function () {
|
|
7652
|
+
return this.a4s_1.u4s_1;
|
|
7653
7653
|
};
|
|
7654
|
-
protoOf(TableBuilderInstance).
|
|
7655
|
-
return this.
|
|
7654
|
+
protoOf(TableBuilderInstance).s4r = function () {
|
|
7655
|
+
return this.a4s_1.x4s_1;
|
|
7656
7656
|
};
|
|
7657
|
-
protoOf(TableBuilderInstance).
|
|
7658
|
-
this.
|
|
7657
|
+
protoOf(TableBuilderInstance).t4r = function (_set____db54di) {
|
|
7658
|
+
this.a4s_1.s4s_1 = _set____db54di;
|
|
7659
7659
|
};
|
|
7660
|
-
protoOf(TableBuilderInstance).
|
|
7661
|
-
return this.
|
|
7660
|
+
protoOf(TableBuilderInstance).u4r = function () {
|
|
7661
|
+
return this.a4s_1.s4s_1;
|
|
7662
7662
|
};
|
|
7663
|
-
protoOf(TableBuilderInstance).
|
|
7664
|
-
return this.
|
|
7663
|
+
protoOf(TableBuilderInstance).w4r = function () {
|
|
7664
|
+
return this.a4s_1.t4s_1;
|
|
7665
7665
|
};
|
|
7666
|
-
protoOf(TableBuilderInstance).
|
|
7667
|
-
return this.
|
|
7666
|
+
protoOf(TableBuilderInstance).x4r = function () {
|
|
7667
|
+
return this.a4s_1.v4s_1;
|
|
7668
7668
|
};
|
|
7669
|
-
protoOf(TableBuilderInstance).
|
|
7670
|
-
return this.
|
|
7669
|
+
protoOf(TableBuilderInstance).y4r = function () {
|
|
7670
|
+
return this.a4s_1.w4s_1;
|
|
7671
7671
|
};
|
|
7672
|
-
protoOf(TableBuilderInstance).
|
|
7673
|
-
return this.
|
|
7672
|
+
protoOf(TableBuilderInstance).z4r = function () {
|
|
7673
|
+
return this.a4s_1.y4s_1;
|
|
7674
7674
|
};
|
|
7675
7675
|
function SectionBuilderInstance() {
|
|
7676
|
-
this.
|
|
7676
|
+
this.l4s_1 = new CellStyleBuilderMixin();
|
|
7677
7677
|
var tmp = this;
|
|
7678
7678
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7679
|
-
tmp.
|
|
7679
|
+
tmp.m4s_1 = ArrayList_init_$Create$();
|
|
7680
7680
|
var tmp_0 = this;
|
|
7681
7681
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7682
|
-
tmp_0.
|
|
7682
|
+
tmp_0.n4s_1 = LinkedHashMap_init_$Create$();
|
|
7683
7683
|
var tmp_1 = this;
|
|
7684
7684
|
// Inline function 'kotlin.collections.listOf' call
|
|
7685
|
-
tmp_1.
|
|
7685
|
+
tmp_1.o4s_1 = emptyList();
|
|
7686
7686
|
}
|
|
7687
|
-
protoOf(SectionBuilderInstance).
|
|
7688
|
-
this.
|
|
7687
|
+
protoOf(SectionBuilderInstance).v4r = function (all) {
|
|
7688
|
+
this.l4s_1.v4r(all);
|
|
7689
7689
|
};
|
|
7690
|
-
protoOf(SectionBuilderInstance).
|
|
7691
|
-
return this.
|
|
7690
|
+
protoOf(SectionBuilderInstance).r4r = function () {
|
|
7691
|
+
return this.l4s_1.u4s_1;
|
|
7692
7692
|
};
|
|
7693
|
-
protoOf(SectionBuilderInstance).
|
|
7694
|
-
return this.
|
|
7693
|
+
protoOf(SectionBuilderInstance).s4r = function () {
|
|
7694
|
+
return this.l4s_1.x4s_1;
|
|
7695
7695
|
};
|
|
7696
|
-
protoOf(SectionBuilderInstance).
|
|
7697
|
-
this.
|
|
7696
|
+
protoOf(SectionBuilderInstance).t4r = function (_set____db54di) {
|
|
7697
|
+
this.l4s_1.s4s_1 = _set____db54di;
|
|
7698
7698
|
};
|
|
7699
|
-
protoOf(SectionBuilderInstance).
|
|
7700
|
-
return this.
|
|
7699
|
+
protoOf(SectionBuilderInstance).u4r = function () {
|
|
7700
|
+
return this.l4s_1.s4s_1;
|
|
7701
7701
|
};
|
|
7702
|
-
protoOf(SectionBuilderInstance).
|
|
7703
|
-
return this.
|
|
7702
|
+
protoOf(SectionBuilderInstance).w4r = function () {
|
|
7703
|
+
return this.l4s_1.t4s_1;
|
|
7704
7704
|
};
|
|
7705
|
-
protoOf(SectionBuilderInstance).
|
|
7706
|
-
return this.
|
|
7705
|
+
protoOf(SectionBuilderInstance).x4r = function () {
|
|
7706
|
+
return this.l4s_1.v4s_1;
|
|
7707
7707
|
};
|
|
7708
|
-
protoOf(SectionBuilderInstance).
|
|
7709
|
-
return this.
|
|
7708
|
+
protoOf(SectionBuilderInstance).y4r = function () {
|
|
7709
|
+
return this.l4s_1.w4s_1;
|
|
7710
7710
|
};
|
|
7711
|
-
protoOf(SectionBuilderInstance).
|
|
7712
|
-
return this.
|
|
7711
|
+
protoOf(SectionBuilderInstance).z4r = function () {
|
|
7712
|
+
return this.l4s_1.y4s_1;
|
|
7713
7713
|
};
|
|
7714
|
-
protoOf(SectionBuilderInstance).
|
|
7714
|
+
protoOf(SectionBuilderInstance).z4s = function (cells, init) {
|
|
7715
7715
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7716
7716
|
// Inline function 'kotlin.collections.mapTo' call
|
|
7717
7717
|
var destination = ArrayList_init_$Create$();
|
|
@@ -7722,122 +7722,122 @@ protoOf(SectionBuilderInstance).w4s = function (cells, init) {
|
|
|
7722
7722
|
destination.x(tmp$ret$1);
|
|
7723
7723
|
}
|
|
7724
7724
|
var cellBuilders = destination;
|
|
7725
|
-
var tmp0 = this.
|
|
7725
|
+
var tmp0 = this.m4s_1;
|
|
7726
7726
|
// Inline function 'kotlin.apply' call
|
|
7727
7727
|
var this_0 = new RowBuilderInstance(cellBuilders);
|
|
7728
7728
|
init(this_0);
|
|
7729
7729
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7730
7730
|
tmp0.x(this_0);
|
|
7731
7731
|
};
|
|
7732
|
-
protoOf(SectionBuilderInstance).
|
|
7733
|
-
this.
|
|
7732
|
+
protoOf(SectionBuilderInstance).p4s = function (cells, init) {
|
|
7733
|
+
this.z4s(asList(cells), init);
|
|
7734
7734
|
};
|
|
7735
7735
|
function CellStyleBuilderMixin() {
|
|
7736
|
-
this.p4s_1 = null;
|
|
7737
|
-
this.q4s_1 = null;
|
|
7738
|
-
this.r4s_1 = null;
|
|
7739
7736
|
this.s4s_1 = null;
|
|
7740
7737
|
this.t4s_1 = null;
|
|
7741
7738
|
this.u4s_1 = null;
|
|
7742
7739
|
this.v4s_1 = null;
|
|
7740
|
+
this.w4s_1 = null;
|
|
7741
|
+
this.x4s_1 = null;
|
|
7742
|
+
this.y4s_1 = null;
|
|
7743
7743
|
}
|
|
7744
|
-
protoOf(CellStyleBuilderMixin).
|
|
7745
|
-
this.
|
|
7746
|
-
};
|
|
7747
|
-
protoOf(CellStyleBuilderMixin).r4r = function () {
|
|
7748
|
-
return this.p4s_1;
|
|
7749
|
-
};
|
|
7750
|
-
protoOf(CellStyleBuilderMixin).t4r = function () {
|
|
7751
|
-
return this.q4s_1;
|
|
7752
|
-
};
|
|
7753
|
-
protoOf(CellStyleBuilderMixin).o4r = function () {
|
|
7754
|
-
return this.r4s_1;
|
|
7744
|
+
protoOf(CellStyleBuilderMixin).t4r = function (_set____db54di) {
|
|
7745
|
+
this.s4s_1 = _set____db54di;
|
|
7755
7746
|
};
|
|
7756
7747
|
protoOf(CellStyleBuilderMixin).u4r = function () {
|
|
7757
7748
|
return this.s4s_1;
|
|
7758
7749
|
};
|
|
7759
|
-
protoOf(CellStyleBuilderMixin).
|
|
7750
|
+
protoOf(CellStyleBuilderMixin).w4r = function () {
|
|
7760
7751
|
return this.t4s_1;
|
|
7761
7752
|
};
|
|
7762
|
-
protoOf(CellStyleBuilderMixin).
|
|
7753
|
+
protoOf(CellStyleBuilderMixin).r4r = function () {
|
|
7763
7754
|
return this.u4s_1;
|
|
7764
7755
|
};
|
|
7765
|
-
protoOf(CellStyleBuilderMixin).
|
|
7756
|
+
protoOf(CellStyleBuilderMixin).x4r = function () {
|
|
7766
7757
|
return this.v4s_1;
|
|
7767
7758
|
};
|
|
7768
|
-
function
|
|
7769
|
-
this.
|
|
7770
|
-
this.y4s_1 = cells;
|
|
7771
|
-
}
|
|
7772
|
-
protoOf(RowBuilderInstance).s4r = function (all) {
|
|
7773
|
-
this.x4s_1.s4r(all);
|
|
7759
|
+
protoOf(CellStyleBuilderMixin).y4r = function () {
|
|
7760
|
+
return this.w4s_1;
|
|
7774
7761
|
};
|
|
7775
|
-
protoOf(
|
|
7776
|
-
return this.x4s_1
|
|
7762
|
+
protoOf(CellStyleBuilderMixin).s4r = function () {
|
|
7763
|
+
return this.x4s_1;
|
|
7777
7764
|
};
|
|
7778
|
-
protoOf(
|
|
7779
|
-
return this.
|
|
7765
|
+
protoOf(CellStyleBuilderMixin).z4r = function () {
|
|
7766
|
+
return this.y4s_1;
|
|
7780
7767
|
};
|
|
7781
|
-
|
|
7782
|
-
this.
|
|
7768
|
+
function RowBuilderInstance(cells) {
|
|
7769
|
+
this.a4t_1 = new CellStyleBuilderMixin();
|
|
7770
|
+
this.b4t_1 = cells;
|
|
7771
|
+
}
|
|
7772
|
+
protoOf(RowBuilderInstance).v4r = function (all) {
|
|
7773
|
+
this.a4t_1.v4r(all);
|
|
7783
7774
|
};
|
|
7784
7775
|
protoOf(RowBuilderInstance).r4r = function () {
|
|
7785
|
-
return this.
|
|
7776
|
+
return this.a4t_1.u4s_1;
|
|
7786
7777
|
};
|
|
7787
|
-
protoOf(RowBuilderInstance).
|
|
7788
|
-
return this.x4s_1
|
|
7778
|
+
protoOf(RowBuilderInstance).s4r = function () {
|
|
7779
|
+
return this.a4t_1.x4s_1;
|
|
7789
7780
|
};
|
|
7790
|
-
protoOf(RowBuilderInstance).
|
|
7791
|
-
|
|
7781
|
+
protoOf(RowBuilderInstance).t4r = function (_set____db54di) {
|
|
7782
|
+
this.a4t_1.s4s_1 = _set____db54di;
|
|
7792
7783
|
};
|
|
7793
|
-
protoOf(RowBuilderInstance).
|
|
7794
|
-
return this.
|
|
7784
|
+
protoOf(RowBuilderInstance).u4r = function () {
|
|
7785
|
+
return this.a4t_1.s4s_1;
|
|
7795
7786
|
};
|
|
7796
7787
|
protoOf(RowBuilderInstance).w4r = function () {
|
|
7797
|
-
return this.
|
|
7788
|
+
return this.a4t_1.t4s_1;
|
|
7798
7789
|
};
|
|
7799
|
-
function
|
|
7800
|
-
this.
|
|
7801
|
-
this.a4t_1 = content;
|
|
7802
|
-
this.b4t_1 = 1;
|
|
7803
|
-
this.c4t_1 = 1;
|
|
7804
|
-
}
|
|
7805
|
-
protoOf(CellBuilderInstance).s4r = function (all) {
|
|
7806
|
-
this.z4s_1.s4r(all);
|
|
7790
|
+
protoOf(RowBuilderInstance).x4r = function () {
|
|
7791
|
+
return this.a4t_1.v4s_1;
|
|
7807
7792
|
};
|
|
7808
|
-
protoOf(
|
|
7809
|
-
return this.
|
|
7793
|
+
protoOf(RowBuilderInstance).y4r = function () {
|
|
7794
|
+
return this.a4t_1.w4s_1;
|
|
7810
7795
|
};
|
|
7811
|
-
protoOf(
|
|
7812
|
-
return this.
|
|
7796
|
+
protoOf(RowBuilderInstance).z4r = function () {
|
|
7797
|
+
return this.a4t_1.y4s_1;
|
|
7813
7798
|
};
|
|
7814
|
-
|
|
7815
|
-
this.
|
|
7799
|
+
function CellBuilderInstance(content) {
|
|
7800
|
+
this.c4t_1 = new CellStyleBuilderMixin();
|
|
7801
|
+
this.d4t_1 = content;
|
|
7802
|
+
this.e4t_1 = 1;
|
|
7803
|
+
this.f4t_1 = 1;
|
|
7804
|
+
}
|
|
7805
|
+
protoOf(CellBuilderInstance).v4r = function (all) {
|
|
7806
|
+
this.c4t_1.v4r(all);
|
|
7816
7807
|
};
|
|
7817
7808
|
protoOf(CellBuilderInstance).r4r = function () {
|
|
7818
|
-
return this.
|
|
7809
|
+
return this.c4t_1.u4s_1;
|
|
7819
7810
|
};
|
|
7820
|
-
protoOf(CellBuilderInstance).
|
|
7821
|
-
return this.
|
|
7811
|
+
protoOf(CellBuilderInstance).s4r = function () {
|
|
7812
|
+
return this.c4t_1.x4s_1;
|
|
7822
7813
|
};
|
|
7823
|
-
protoOf(CellBuilderInstance).
|
|
7824
|
-
|
|
7814
|
+
protoOf(CellBuilderInstance).t4r = function (_set____db54di) {
|
|
7815
|
+
this.c4t_1.s4s_1 = _set____db54di;
|
|
7825
7816
|
};
|
|
7826
|
-
protoOf(CellBuilderInstance).
|
|
7827
|
-
return this.
|
|
7817
|
+
protoOf(CellBuilderInstance).u4r = function () {
|
|
7818
|
+
return this.c4t_1.s4s_1;
|
|
7828
7819
|
};
|
|
7829
7820
|
protoOf(CellBuilderInstance).w4r = function () {
|
|
7830
|
-
return this.
|
|
7821
|
+
return this.c4t_1.t4s_1;
|
|
7822
|
+
};
|
|
7823
|
+
protoOf(CellBuilderInstance).x4r = function () {
|
|
7824
|
+
return this.c4t_1.v4s_1;
|
|
7825
|
+
};
|
|
7826
|
+
protoOf(CellBuilderInstance).y4r = function () {
|
|
7827
|
+
return this.c4t_1.w4s_1;
|
|
7828
|
+
};
|
|
7829
|
+
protoOf(CellBuilderInstance).z4r = function () {
|
|
7830
|
+
return this.c4t_1.y4s_1;
|
|
7831
7831
|
};
|
|
7832
7832
|
function WidgetContent(widget) {
|
|
7833
7833
|
CellContent.call(this);
|
|
7834
|
-
this.
|
|
7834
|
+
this.g4t_1 = widget;
|
|
7835
7835
|
}
|
|
7836
7836
|
protoOf(WidgetContent).toString = function () {
|
|
7837
|
-
return 'WidgetContent(widget=' + toString(this.
|
|
7837
|
+
return 'WidgetContent(widget=' + toString(this.g4t_1) + ')';
|
|
7838
7838
|
};
|
|
7839
7839
|
protoOf(WidgetContent).hashCode = function () {
|
|
7840
|
-
return hashCode(this.
|
|
7840
|
+
return hashCode(this.g4t_1);
|
|
7841
7841
|
};
|
|
7842
7842
|
protoOf(WidgetContent).equals = function (other) {
|
|
7843
7843
|
if (this === other)
|
|
@@ -7845,19 +7845,19 @@ protoOf(WidgetContent).equals = function (other) {
|
|
|
7845
7845
|
if (!(other instanceof WidgetContent))
|
|
7846
7846
|
return false;
|
|
7847
7847
|
var tmp0_other_with_cast = other instanceof WidgetContent ? other : THROW_CCE();
|
|
7848
|
-
if (!equals(this.
|
|
7848
|
+
if (!equals(this.g4t_1, tmp0_other_with_cast.g4t_1))
|
|
7849
7849
|
return false;
|
|
7850
7850
|
return true;
|
|
7851
7851
|
};
|
|
7852
7852
|
function TextContent(text) {
|
|
7853
7853
|
CellContent.call(this);
|
|
7854
|
-
this.
|
|
7854
|
+
this.h4t_1 = text;
|
|
7855
7855
|
}
|
|
7856
7856
|
protoOf(TextContent).toString = function () {
|
|
7857
|
-
return 'TextContent(text=' + this.
|
|
7857
|
+
return 'TextContent(text=' + this.h4t_1 + ')';
|
|
7858
7858
|
};
|
|
7859
7859
|
protoOf(TextContent).hashCode = function () {
|
|
7860
|
-
return getStringHashCode(this.
|
|
7860
|
+
return getStringHashCode(this.h4t_1);
|
|
7861
7861
|
};
|
|
7862
7862
|
protoOf(TextContent).equals = function (other) {
|
|
7863
7863
|
if (this === other)
|
|
@@ -7865,7 +7865,7 @@ protoOf(TextContent).equals = function (other) {
|
|
|
7865
7865
|
if (!(other instanceof TextContent))
|
|
7866
7866
|
return false;
|
|
7867
7867
|
var tmp0_other_with_cast = other instanceof TextContent ? other : THROW_CCE();
|
|
7868
|
-
if (!(this.
|
|
7868
|
+
if (!(this.h4t_1 === tmp0_other_with_cast.h4t_1))
|
|
7869
7869
|
return false;
|
|
7870
7870
|
return true;
|
|
7871
7871
|
};
|
|
@@ -7878,7 +7878,7 @@ function getCellContent(content) {
|
|
|
7878
7878
|
}
|
|
7879
7879
|
function buildSection($this, section, builderWidth) {
|
|
7880
7880
|
// Inline function 'kotlin.collections.MutableList' call
|
|
7881
|
-
var size = section.
|
|
7881
|
+
var size = section.m4s_1.a1();
|
|
7882
7882
|
var list = ArrayList_init_$Create$_0(size);
|
|
7883
7883
|
// Inline function 'kotlin.repeat' call
|
|
7884
7884
|
var inductionVariable = 0;
|
|
@@ -7886,19 +7886,19 @@ function buildSection($this, section, builderWidth) {
|
|
|
7886
7886
|
do {
|
|
7887
7887
|
var index = inductionVariable;
|
|
7888
7888
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7889
|
-
var tmp$ret$0 = ArrayList_init_$Create$_0(section.
|
|
7889
|
+
var tmp$ret$0 = ArrayList_init_$Create$_0(section.m4s_1.a1());
|
|
7890
7890
|
list.x(tmp$ret$0);
|
|
7891
7891
|
}
|
|
7892
7892
|
while (inductionVariable < size);
|
|
7893
7893
|
var rows = list;
|
|
7894
|
-
var iterator = section.
|
|
7894
|
+
var iterator = section.m4s_1.t();
|
|
7895
7895
|
var index_0 = 0;
|
|
7896
7896
|
while (iterator.u()) {
|
|
7897
7897
|
var y = index_0;
|
|
7898
7898
|
index_0 = index_0 + 1 | 0;
|
|
7899
7899
|
var row = iterator.v();
|
|
7900
7900
|
var x = 0;
|
|
7901
|
-
var _iterator__ex2g4s = row.
|
|
7901
|
+
var _iterator__ex2g4s = row.b4t_1.t();
|
|
7902
7902
|
while (_iterator__ex2g4s.u()) {
|
|
7903
7903
|
var cellBuilder = _iterator__ex2g4s.v();
|
|
7904
7904
|
x = findEmptyColumn(rows, x, y);
|
|
@@ -7909,10 +7909,10 @@ function buildSection($this, section, builderWidth) {
|
|
|
7909
7909
|
return rows;
|
|
7910
7910
|
}
|
|
7911
7911
|
function insertCell($this, cell, section, rows, startingX, startingY, builderWidth) {
|
|
7912
|
-
var tableCol = $this.
|
|
7913
|
-
var sectionCol = section.
|
|
7914
|
-
var row = section.
|
|
7915
|
-
var tmp0 = until(startingY, startingY + cell.
|
|
7912
|
+
var tableCol = $this.i4t_1.f4s_1.p2(startingX);
|
|
7913
|
+
var sectionCol = section.n4s_1.p2(startingX);
|
|
7914
|
+
var row = section.m4s_1.b1(startingY);
|
|
7915
|
+
var tmp0 = until(startingY, startingY + cell.f4t_1 | 0);
|
|
7916
7916
|
var tmp$ret$0;
|
|
7917
7917
|
$l$block: {
|
|
7918
7918
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -7922,14 +7922,14 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
7922
7922
|
break $l$block;
|
|
7923
7923
|
}
|
|
7924
7924
|
var it = iterator.v();
|
|
7925
|
-
var tmp89_safe_receiver = getOrNull(section.
|
|
7926
|
-
var tmp90_safe_receiver = tmp89_safe_receiver == null ? null : tmp89_safe_receiver.
|
|
7925
|
+
var tmp89_safe_receiver = getOrNull(section.m4s_1, it);
|
|
7926
|
+
var tmp90_safe_receiver = tmp89_safe_receiver == null ? null : tmp89_safe_receiver.b4t_1;
|
|
7927
7927
|
var tmp0_elvis_lhs = tmp90_safe_receiver == null ? null : tmp90_safe_receiver.a1();
|
|
7928
7928
|
var maxValue = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
7929
7929
|
while (iterator.u()) {
|
|
7930
7930
|
var it_0 = iterator.v();
|
|
7931
|
-
var tmp89_safe_receiver_0 = getOrNull(section.
|
|
7932
|
-
var tmp90_safe_receiver_0 = tmp89_safe_receiver_0 == null ? null : tmp89_safe_receiver_0.
|
|
7931
|
+
var tmp89_safe_receiver_0 = getOrNull(section.m4s_1, it_0);
|
|
7932
|
+
var tmp90_safe_receiver_0 = tmp89_safe_receiver_0 == null ? null : tmp89_safe_receiver_0.b4t_1;
|
|
7933
7933
|
var tmp0_elvis_lhs_0 = tmp90_safe_receiver_0 == null ? null : tmp90_safe_receiver_0.a1();
|
|
7934
7934
|
var v = tmp0_elvis_lhs_0 == null ? 0 : tmp0_elvis_lhs_0;
|
|
7935
7935
|
if (compareTo(maxValue, v) < 0) {
|
|
@@ -7940,16 +7940,16 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
7940
7940
|
}
|
|
7941
7941
|
var tmp0_elvis_lhs_1 = tmp$ret$0;
|
|
7942
7942
|
var maxRowSize = tmp0_elvis_lhs_1 == null ? 0 : tmp0_elvis_lhs_1;
|
|
7943
|
-
var columnSpan = coerceAtMost(cell.
|
|
7944
|
-
var rowSpan = coerceAtMost(cell.
|
|
7943
|
+
var columnSpan = coerceAtMost(cell.e4t_1, (builderWidth - maxRowSize | 0) + 1 | 0);
|
|
7944
|
+
var rowSpan = coerceAtMost(cell.f4t_1, rows.a1() - startingY | 0);
|
|
7945
7945
|
var tmp = Borders_ALL_getInstance();
|
|
7946
7946
|
var borders = insertCell$getStyle(cell, row, sectionCol, tableCol, section, $this, tmp, TableLayout$insertCell$lambda);
|
|
7947
7947
|
// Inline function 'com.github.ajalt.mordant.widgets.Companion.invoke' call
|
|
7948
7948
|
// Inline function 'kotlin.apply' call
|
|
7949
7949
|
var this_0 = new Builder(0, 0, 0, 0);
|
|
7950
|
-
this_0.
|
|
7950
|
+
this_0.n4t(1);
|
|
7951
7951
|
var b = this_0;
|
|
7952
|
-
var tmp_0 = new Padding(b.
|
|
7952
|
+
var tmp_0 = new Padding(b.j4t_1, b.k4t_1, b.l4t_1, b.m4t_1);
|
|
7953
7953
|
var padding = insertCell$getStyle(cell, row, sectionCol, tableCol, section, $this, tmp_0, TableLayout$insertCell$lambda_0);
|
|
7954
7954
|
var tmp_1 = Whitespace_PRE_getInstance();
|
|
7955
7955
|
var whitespace = insertCell$getStyle(cell, row, sectionCol, tableCol, section, $this, tmp_1, TableLayout$insertCell$lambda_1);
|
|
@@ -7961,30 +7961,30 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
7961
7961
|
var overflowWrap = insertCell$getStyle(cell, row, sectionCol, tableCol, section, $this, tmp_4, TableLayout$insertCell$lambda_4);
|
|
7962
7962
|
var tmp_5;
|
|
7963
7963
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
7964
|
-
if (!section.
|
|
7965
|
-
tmp_5 = section.
|
|
7964
|
+
if (!section.o4s_1.r()) {
|
|
7965
|
+
tmp_5 = section.o4s_1.b1(startingY % section.o4s_1.a1() | 0);
|
|
7966
7966
|
} else {
|
|
7967
7967
|
tmp_5 = null;
|
|
7968
7968
|
}
|
|
7969
7969
|
var stripedStyle = tmp_5;
|
|
7970
|
-
var tmp_6 = cell.
|
|
7971
|
-
var tmp_7 = row.
|
|
7972
|
-
var tmp_8 = sectionCol == null ? null : sectionCol.
|
|
7973
|
-
var style = foldStyles([tmp_6, tmp_7, stripedStyle, tmp_8, tableCol == null ? null : tableCol.
|
|
7974
|
-
var tmp95_subject = cell.
|
|
7970
|
+
var tmp_6 = cell.w4r();
|
|
7971
|
+
var tmp_7 = row.w4r();
|
|
7972
|
+
var tmp_8 = sectionCol == null ? null : sectionCol.w4r();
|
|
7973
|
+
var style = foldStyles([tmp_6, tmp_7, stripedStyle, tmp_8, tableCol == null ? null : tableCol.w4r(), section.w4r(), $this.i4t_1.w4r()]);
|
|
7974
|
+
var tmp95_subject = cell.d4t_1;
|
|
7975
7975
|
var tmp_9;
|
|
7976
7976
|
if (tmp95_subject instanceof WidgetContent) {
|
|
7977
|
-
tmp_9 = cell.
|
|
7977
|
+
tmp_9 = cell.d4t_1.g4t_1;
|
|
7978
7978
|
} else {
|
|
7979
7979
|
if (tmp95_subject instanceof TextContent) {
|
|
7980
|
-
tmp_9 = Text_init_$Create$(cell.
|
|
7980
|
+
tmp_9 = Text_init_$Create$(cell.d4t_1.h4t_1, whitespace, textAlign, overflowWrap);
|
|
7981
7981
|
} else {
|
|
7982
7982
|
noWhenBranchMatchedException();
|
|
7983
7983
|
}
|
|
7984
7984
|
}
|
|
7985
7985
|
var content = withPadding_0(tmp_9, padding);
|
|
7986
7986
|
// Inline function 'kotlin.takeIf' call
|
|
7987
|
-
var this_1 = borders.
|
|
7987
|
+
var this_1 = borders.d4p_1;
|
|
7988
7988
|
var tmp_10;
|
|
7989
7989
|
if (columnSpan === 1) {
|
|
7990
7990
|
tmp_10 = this_1;
|
|
@@ -7993,7 +7993,7 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
7993
7993
|
}
|
|
7994
7994
|
var tmp_11 = tmp_10;
|
|
7995
7995
|
// Inline function 'kotlin.takeIf' call
|
|
7996
|
-
var this_2 = borders.
|
|
7996
|
+
var this_2 = borders.e4p_1;
|
|
7997
7997
|
var tmp_12;
|
|
7998
7998
|
if (rowSpan === 1) {
|
|
7999
7999
|
tmp_12 = this_2;
|
|
@@ -8001,7 +8001,7 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
8001
8001
|
tmp_12 = null;
|
|
8002
8002
|
}
|
|
8003
8003
|
var tmp$ret$10 = tmp_12;
|
|
8004
|
-
var builtCell = new Content(content, rowSpan, columnSpan, borders.
|
|
8004
|
+
var builtCell = new Content(content, rowSpan, columnSpan, borders.b4p_1, borders.c4p_1, tmp_11, tmp$ret$10, style, textAlign, verticalAlign, padding.r4t_1 + padding.p4t_1 | 0);
|
|
8005
8005
|
var lastX = (startingX + columnSpan | 0) - 1 | 0;
|
|
8006
8006
|
var inductionVariable = startingX;
|
|
8007
8007
|
if (inductionVariable <= lastX)
|
|
@@ -8019,7 +8019,7 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
8019
8019
|
tmp_13 = builtCell;
|
|
8020
8020
|
} else {
|
|
8021
8021
|
// Inline function 'kotlin.takeIf' call
|
|
8022
|
-
var this_3 = borders.
|
|
8022
|
+
var this_3 = borders.b4p_1;
|
|
8023
8023
|
var tmp_14;
|
|
8024
8024
|
if (x === startingX) {
|
|
8025
8025
|
tmp_14 = this_3;
|
|
@@ -8028,7 +8028,7 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
8028
8028
|
}
|
|
8029
8029
|
var tmp_15 = tmp_14;
|
|
8030
8030
|
// Inline function 'kotlin.takeIf' call
|
|
8031
|
-
var this_4 = borders.
|
|
8031
|
+
var this_4 = borders.c4p_1;
|
|
8032
8032
|
var tmp_16;
|
|
8033
8033
|
if (y === startingY) {
|
|
8034
8034
|
tmp_16 = this_4;
|
|
@@ -8037,7 +8037,7 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
8037
8037
|
}
|
|
8038
8038
|
var tmp_17 = tmp_16;
|
|
8039
8039
|
// Inline function 'kotlin.takeIf' call
|
|
8040
|
-
var this_5 = borders.
|
|
8040
|
+
var this_5 = borders.d4p_1;
|
|
8041
8041
|
var tmp_18;
|
|
8042
8042
|
if (x === lastX) {
|
|
8043
8043
|
tmp_18 = this_5;
|
|
@@ -8046,7 +8046,7 @@ function insertCell($this, cell, section, rows, startingX, startingY, builderWid
|
|
|
8046
8046
|
}
|
|
8047
8047
|
var tmp_19 = tmp_18;
|
|
8048
8048
|
// Inline function 'kotlin.takeIf' call
|
|
8049
|
-
var this_6 = borders.
|
|
8049
|
+
var this_6 = borders.e4p_1;
|
|
8050
8050
|
var tmp_20;
|
|
8051
8051
|
if (y === lastY) {
|
|
8052
8052
|
tmp_20 = this_6;
|
|
@@ -8102,36 +8102,36 @@ function insertCell$getStyle($cell, row, sectionCol, tableCol, $section, this$0,
|
|
|
8102
8102
|
}
|
|
8103
8103
|
var tmp3_elvis_lhs = tmp_1;
|
|
8104
8104
|
var tmp4_elvis_lhs = tmp3_elvis_lhs == null ? getter($section) : tmp3_elvis_lhs;
|
|
8105
|
-
var tmp5_elvis_lhs = tmp4_elvis_lhs == null ? getter(this$0.
|
|
8105
|
+
var tmp5_elvis_lhs = tmp4_elvis_lhs == null ? getter(this$0.i4t_1) : tmp4_elvis_lhs;
|
|
8106
8106
|
return tmp5_elvis_lhs == null ? default_0 : tmp5_elvis_lhs;
|
|
8107
8107
|
}
|
|
8108
8108
|
function TableLayout$insertCell$lambda(it) {
|
|
8109
|
-
return it.
|
|
8109
|
+
return it.r4r();
|
|
8110
8110
|
}
|
|
8111
8111
|
function TableLayout$insertCell$lambda_0(it) {
|
|
8112
|
-
return it.
|
|
8112
|
+
return it.u4r();
|
|
8113
8113
|
}
|
|
8114
8114
|
function TableLayout$insertCell$lambda_1(it) {
|
|
8115
|
-
return it.
|
|
8115
|
+
return it.x4r();
|
|
8116
8116
|
}
|
|
8117
8117
|
function TableLayout$insertCell$lambda_2(it) {
|
|
8118
|
-
return it.
|
|
8118
|
+
return it.y4r();
|
|
8119
8119
|
}
|
|
8120
8120
|
function TableLayout$insertCell$lambda_3(it) {
|
|
8121
|
-
return it.
|
|
8121
|
+
return it.s4r();
|
|
8122
8122
|
}
|
|
8123
8123
|
function TableLayout$insertCell$lambda_4(it) {
|
|
8124
|
-
return it.
|
|
8124
|
+
return it.z4r();
|
|
8125
8125
|
}
|
|
8126
8126
|
function TableLayout(table) {
|
|
8127
|
-
this.
|
|
8127
|
+
this.i4t_1 = table;
|
|
8128
8128
|
}
|
|
8129
|
-
protoOf(TableLayout).
|
|
8129
|
+
protoOf(TableLayout).s4t = function () {
|
|
8130
8130
|
// Inline function 'kotlin.collections.maxOf' call
|
|
8131
|
-
var iterator = listOf([this.
|
|
8131
|
+
var iterator = listOf([this.i4t_1.g4s_1, this.i4t_1.h4s_1, this.i4t_1.i4s_1]).t();
|
|
8132
8132
|
if (!iterator.u())
|
|
8133
8133
|
throw NoSuchElementException_init_$Create$();
|
|
8134
|
-
var tmp0 = iterator.v().
|
|
8134
|
+
var tmp0 = iterator.v().m4s_1;
|
|
8135
8135
|
var tmp$ret$0;
|
|
8136
8136
|
$l$block: {
|
|
8137
8137
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -8140,9 +8140,9 @@ protoOf(TableLayout).p4t = function () {
|
|
|
8140
8140
|
tmp$ret$0 = null;
|
|
8141
8141
|
break $l$block;
|
|
8142
8142
|
}
|
|
8143
|
-
var maxValue = iterator_0.v().
|
|
8143
|
+
var maxValue = iterator_0.v().b4t_1.a1();
|
|
8144
8144
|
while (iterator_0.u()) {
|
|
8145
|
-
var v = iterator_0.v().
|
|
8145
|
+
var v = iterator_0.v().b4t_1.a1();
|
|
8146
8146
|
if (compareTo(maxValue, v) < 0) {
|
|
8147
8147
|
maxValue = v;
|
|
8148
8148
|
}
|
|
@@ -8152,7 +8152,7 @@ protoOf(TableLayout).p4t = function () {
|
|
|
8152
8152
|
var tmp0_elvis_lhs = tmp$ret$0;
|
|
8153
8153
|
var maxValue_0 = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
8154
8154
|
while (iterator.u()) {
|
|
8155
|
-
var tmp0_0 = iterator.v().
|
|
8155
|
+
var tmp0_0 = iterator.v().m4s_1;
|
|
8156
8156
|
var tmp$ret$4;
|
|
8157
8157
|
$l$block_0: {
|
|
8158
8158
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -8161,9 +8161,9 @@ protoOf(TableLayout).p4t = function () {
|
|
|
8161
8161
|
tmp$ret$4 = null;
|
|
8162
8162
|
break $l$block_0;
|
|
8163
8163
|
}
|
|
8164
|
-
var maxValue_1 = iterator_1.v().
|
|
8164
|
+
var maxValue_1 = iterator_1.v().b4t_1.a1();
|
|
8165
8165
|
while (iterator_1.u()) {
|
|
8166
|
-
var v_0 = iterator_1.v().
|
|
8166
|
+
var v_0 = iterator_1.v().b4t_1.a1();
|
|
8167
8167
|
if (compareTo(maxValue_1, v_0) < 0) {
|
|
8168
8168
|
maxValue_1 = v_0;
|
|
8169
8169
|
}
|
|
@@ -8177,16 +8177,16 @@ protoOf(TableLayout).p4t = function () {
|
|
|
8177
8177
|
}
|
|
8178
8178
|
}
|
|
8179
8179
|
var builderWidth = maxValue_0;
|
|
8180
|
-
var header = buildSection(this, this.
|
|
8181
|
-
var body = buildSection(this, this.
|
|
8182
|
-
var footer = buildSection(this, this.
|
|
8180
|
+
var header = buildSection(this, this.i4t_1.g4s_1, builderWidth);
|
|
8181
|
+
var body = buildSection(this, this.i4t_1.h4s_1, builderWidth);
|
|
8182
|
+
var footer = buildSection(this, this.i4t_1.i4s_1, builderWidth);
|
|
8183
8183
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
8184
8184
|
var this_0 = flatten(listOf([header, body, footer]));
|
|
8185
8185
|
var tmp;
|
|
8186
8186
|
if (this_0.r()) {
|
|
8187
|
-
var tmp0_elvis_lhs_1 = this.
|
|
8187
|
+
var tmp0_elvis_lhs_1 = this.i4t_1.d4s_1;
|
|
8188
8188
|
var b = tmp0_elvis_lhs_1 == null ? Borders_ALL_getInstance() : tmp0_elvis_lhs_1;
|
|
8189
|
-
var cell = new Content(EmptyWidget_instance, 1, 1, b.
|
|
8189
|
+
var cell = new Content(EmptyWidget_instance, 1, 1, b.b4p_1, b.c4p_1, b.d4p_1, b.e4p_1, null, TextAlign_LEFT_getInstance(), VerticalAlign_TOP_getInstance(), 0);
|
|
8190
8190
|
tmp = listOf_0(listOf_0(cell));
|
|
8191
8191
|
} else {
|
|
8192
8192
|
tmp = this_0;
|
|
@@ -8213,14 +8213,14 @@ protoOf(TableLayout).p4t = function () {
|
|
|
8213
8213
|
do {
|
|
8214
8214
|
var index = inductionVariable;
|
|
8215
8215
|
inductionVariable = inductionVariable + 1 | 0;
|
|
8216
|
-
var tmp88_safe_receiver = this.
|
|
8217
|
-
var tmp0_elvis_lhs_2 = tmp88_safe_receiver == null ? null : tmp88_safe_receiver.
|
|
8218
|
-
var tmp$ret$14 = tmp0_elvis_lhs_2 == null ? Companion_getInstance_3().
|
|
8216
|
+
var tmp88_safe_receiver = this.i4t_1.f4s_1.p2(index);
|
|
8217
|
+
var tmp0_elvis_lhs_2 = tmp88_safe_receiver == null ? null : tmp88_safe_receiver.t4t();
|
|
8218
|
+
var tmp$ret$14 = tmp0_elvis_lhs_2 == null ? Companion_getInstance_3().q4r_1 : tmp0_elvis_lhs_2;
|
|
8219
8219
|
list.x(tmp$ret$14);
|
|
8220
8220
|
}
|
|
8221
8221
|
while (inductionVariable < columnCount);
|
|
8222
8222
|
var columnWidths = list;
|
|
8223
|
-
return new TableImpl(rows, this.
|
|
8223
|
+
return new TableImpl(rows, this.i4t_1.b4s_1, this.i4t_1.c4s_1, header.a1(), footer.a1(), columnWidths, this.i4t_1.d4s_1, this.i4t_1.e4s_1);
|
|
8224
8224
|
};
|
|
8225
8225
|
function findEmptyColumn(_this__u8e3s4, x, y) {
|
|
8226
8226
|
var row = _this__u8e3s4.b1(y);
|
|
@@ -8274,13 +8274,13 @@ function ensureSize(_this__u8e3s4, size) {
|
|
|
8274
8274
|
}
|
|
8275
8275
|
function Companion_3() {
|
|
8276
8276
|
}
|
|
8277
|
-
protoOf(Companion_3).
|
|
8278
|
-
builder.
|
|
8279
|
-
builder.
|
|
8280
|
-
builder.
|
|
8277
|
+
protoOf(Companion_3).q4s = function (builder, spacing, columnWidth) {
|
|
8278
|
+
builder.v4r(0);
|
|
8279
|
+
builder.r4s(Borders_NONE_getInstance());
|
|
8280
|
+
builder.d4s_1 = Borders_NONE_getInstance();
|
|
8281
8281
|
var aligned = false;
|
|
8282
8282
|
// Inline function 'kotlin.collections.map' call
|
|
8283
|
-
var this_0 = (new TableLayout(builder)).
|
|
8283
|
+
var this_0 = (new TableLayout(builder)).s4t().e4q_1;
|
|
8284
8284
|
// Inline function 'kotlin.collections.mapTo' call
|
|
8285
8285
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8286
8286
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -8292,12 +8292,12 @@ protoOf(Companion_3).n4s = function (builder, spacing, columnWidth) {
|
|
|
8292
8292
|
}
|
|
8293
8293
|
var tmp = item.b1(0);
|
|
8294
8294
|
var cell = tmp instanceof Content ? tmp : THROW_CCE();
|
|
8295
|
-
aligned = aligned || !listOf([null, TextAlign_NONE_getInstance()]).u1(cell.
|
|
8296
|
-
var tmp$ret$1 = new VerticalLayoutCell(cell.
|
|
8295
|
+
aligned = aligned || !listOf([null, TextAlign_NONE_getInstance()]).u1(cell.x4p_1);
|
|
8296
|
+
var tmp$ret$1 = new VerticalLayoutCell(cell.p4p_1, cell.w4p_1, cell.x4p_1);
|
|
8297
8297
|
destination.x(tmp$ret$1);
|
|
8298
8298
|
}
|
|
8299
8299
|
var cells = destination;
|
|
8300
|
-
var tmp0_elvis_lhs = builder.
|
|
8300
|
+
var tmp0_elvis_lhs = builder.y4r();
|
|
8301
8301
|
return new VerticalLayout(cells, spacing, columnWidth, tmp0_elvis_lhs == null ? TextAlign_NONE_getInstance() : tmp0_elvis_lhs, aligned);
|
|
8302
8302
|
};
|
|
8303
8303
|
var Companion_instance_3;
|
|
@@ -8305,25 +8305,25 @@ function Companion_getInstance_4() {
|
|
|
8305
8305
|
return Companion_instance_3;
|
|
8306
8306
|
}
|
|
8307
8307
|
function VerticalLayout(cells, spacing, columnWidth, textAlign, hasAlignedCells) {
|
|
8308
|
-
this.
|
|
8309
|
-
this.
|
|
8310
|
-
this.
|
|
8311
|
-
this.
|
|
8312
|
-
this.
|
|
8308
|
+
this.u4t_1 = cells;
|
|
8309
|
+
this.v4t_1 = spacing;
|
|
8310
|
+
this.w4t_1 = columnWidth;
|
|
8311
|
+
this.x4t_1 = textAlign;
|
|
8312
|
+
this.y4t_1 = hasAlignedCells;
|
|
8313
8313
|
// Inline function 'kotlin.require' call
|
|
8314
|
-
if (!(this.
|
|
8314
|
+
if (!(this.v4t_1 >= 0)) {
|
|
8315
8315
|
var message = 'layout spacing cannot be negative';
|
|
8316
8316
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
8317
8317
|
}
|
|
8318
8318
|
}
|
|
8319
|
-
protoOf(VerticalLayout).
|
|
8319
|
+
protoOf(VerticalLayout).g4o = function (t, width) {
|
|
8320
8320
|
// Inline function 'com.github.ajalt.mordant.rendering.maxWidthRange' call
|
|
8321
8321
|
var max = 0;
|
|
8322
8322
|
var min = 0;
|
|
8323
|
-
var _iterator__ex2g4s = this.
|
|
8323
|
+
var _iterator__ex2g4s = this.u4t_1.t();
|
|
8324
8324
|
$l$loop: while (_iterator__ex2g4s.u()) {
|
|
8325
8325
|
var it = _iterator__ex2g4s.v();
|
|
8326
|
-
var tmp0_elvis_lhs = it.
|
|
8326
|
+
var tmp0_elvis_lhs = it.z4t_1.g4o(t, width);
|
|
8327
8327
|
var tmp;
|
|
8328
8328
|
if (tmp0_elvis_lhs == null) {
|
|
8329
8329
|
continue $l$loop;
|
|
@@ -8333,21 +8333,21 @@ protoOf(VerticalLayout).d4o = function (t, width) {
|
|
|
8333
8333
|
var range = tmp;
|
|
8334
8334
|
var tmp0 = max;
|
|
8335
8335
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
8336
|
-
var b = range.
|
|
8336
|
+
var b = range.v4o_1;
|
|
8337
8337
|
max = Math.max(tmp0, b);
|
|
8338
8338
|
var tmp0_0 = min;
|
|
8339
8339
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
8340
|
-
var b_0 = range.
|
|
8340
|
+
var b_0 = range.u4o_1;
|
|
8341
8341
|
min = Math.max(tmp0_0, b_0);
|
|
8342
8342
|
}
|
|
8343
8343
|
return new WidthRange(min + 0 | 0, max + 0 | 0);
|
|
8344
8344
|
};
|
|
8345
|
-
protoOf(VerticalLayout).
|
|
8346
|
-
var renderWidth = coerceAtMost(get_isExpand(this.
|
|
8345
|
+
protoOf(VerticalLayout).h4o = function (t, width) {
|
|
8346
|
+
var renderWidth = coerceAtMost(get_isExpand(this.w4t_1) ? width : this.y4t_1 ? this.g4o(t, width).v4o_1 : width, width);
|
|
8347
8347
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8348
8348
|
var lines = ArrayList_init_$Create$();
|
|
8349
|
-
var spacingLine = this.
|
|
8350
|
-
var iterator = this.
|
|
8349
|
+
var spacingLine = this.x4t_1.b3_1 === 4 ? get_EMPTY_LINE() : new Line(listOf_0(Companion_instance_0.o4k(renderWidth)), get_DEFAULT_STYLE());
|
|
8350
|
+
var iterator = this.u4t_1.t();
|
|
8351
8351
|
var index = 0;
|
|
8352
8352
|
while (iterator.u()) {
|
|
8353
8353
|
var i = index;
|
|
@@ -8355,7 +8355,7 @@ protoOf(VerticalLayout).e4o = function (t, width) {
|
|
|
8355
8355
|
var cell = iterator.v();
|
|
8356
8356
|
if (i > 0) {
|
|
8357
8357
|
// Inline function 'kotlin.repeat' call
|
|
8358
|
-
var times = this.
|
|
8358
|
+
var times = this.v4t_1;
|
|
8359
8359
|
var inductionVariable = 0;
|
|
8360
8360
|
if (inductionVariable < times)
|
|
8361
8361
|
do {
|
|
@@ -8366,11 +8366,11 @@ protoOf(VerticalLayout).e4o = function (t, width) {
|
|
|
8366
8366
|
}
|
|
8367
8367
|
while (inductionVariable < times);
|
|
8368
8368
|
}
|
|
8369
|
-
var rendered = cell.
|
|
8370
|
-
var w = this.
|
|
8371
|
-
rendered = !(w.
|
|
8369
|
+
var rendered = cell.z4t_1.h4o(t, renderWidth).l4m(cell.a4u_1);
|
|
8370
|
+
var w = this.w4t_1;
|
|
8371
|
+
rendered = !(w.d4q_1 == null) ? setSize(rendered, width, VOID, VOID, cell.b4u_1) : !(w.c4q_1 == null) ? setSize(rendered, w.c4q_1, VOID, VOID, cell.b4u_1) : !cell.b4u_1.equals(TextAlign_NONE_getInstance()) ? setSize(rendered, renderWidth, VOID, VOID, cell.b4u_1) : rendered;
|
|
8372
8372
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
8373
|
-
var this_0 = rendered.
|
|
8373
|
+
var this_0 = rendered.x4j_1;
|
|
8374
8374
|
var tmp;
|
|
8375
8375
|
if (this_0.r()) {
|
|
8376
8376
|
tmp = listOf_0(get_EMPTY_LINE());
|
|
@@ -8384,39 +8384,39 @@ protoOf(VerticalLayout).e4o = function (t, width) {
|
|
|
8384
8384
|
return new Lines(lines);
|
|
8385
8385
|
};
|
|
8386
8386
|
function VerticalLayoutCell(content, style, textAlign) {
|
|
8387
|
-
this.
|
|
8388
|
-
this.
|
|
8389
|
-
this.
|
|
8387
|
+
this.z4t_1 = content;
|
|
8388
|
+
this.a4u_1 = style;
|
|
8389
|
+
this.b4u_1 = textAlign;
|
|
8390
8390
|
}
|
|
8391
8391
|
function StandardTerminalInterface() {
|
|
8392
8392
|
}
|
|
8393
|
-
protoOf(StandardTerminalInterface).
|
|
8394
|
-
return TerminalDetection_instance.
|
|
8393
|
+
protoOf(StandardTerminalInterface).c4u = function (ansiLevel, hyperlinks, outputInteractive, inputInteractive) {
|
|
8394
|
+
return TerminalDetection_instance.f4u(ansiLevel, hyperlinks, inputInteractive, outputInteractive, this.d4u(), this.e4u());
|
|
8395
8395
|
};
|
|
8396
|
-
protoOf(StandardTerminalInterface).
|
|
8397
|
-
if (request.
|
|
8398
|
-
printStderr(request.
|
|
8399
|
-
} else if (request.
|
|
8396
|
+
protoOf(StandardTerminalInterface).g4u = function (request) {
|
|
8397
|
+
if (request.j4u_1) {
|
|
8398
|
+
printStderr(request.h4u_1, request.i4u_1);
|
|
8399
|
+
} else if (request.i4u_1) {
|
|
8400
8400
|
// Inline function 'kotlin.text.isEmpty' call
|
|
8401
|
-
var this_0 = request.
|
|
8401
|
+
var this_0 = request.h4u_1;
|
|
8402
8402
|
if (charSequenceLength(this_0) === 0) {
|
|
8403
8403
|
println_0();
|
|
8404
8404
|
} else {
|
|
8405
|
-
println(request.
|
|
8405
|
+
println(request.h4u_1);
|
|
8406
8406
|
}
|
|
8407
8407
|
} else {
|
|
8408
|
-
print(request.
|
|
8408
|
+
print(request.h4u_1);
|
|
8409
8409
|
}
|
|
8410
8410
|
};
|
|
8411
|
-
protoOf(StandardTerminalInterface).
|
|
8411
|
+
protoOf(StandardTerminalInterface).e4u = function () {
|
|
8412
8412
|
return true;
|
|
8413
8413
|
};
|
|
8414
|
-
protoOf(StandardTerminalInterface).
|
|
8414
|
+
protoOf(StandardTerminalInterface).d4u = function () {
|
|
8415
8415
|
return true;
|
|
8416
8416
|
};
|
|
8417
8417
|
function Terminal_init_$Init$(ansiLevel, theme, width, height, nonInteractiveWidth, nonInteractiveHeight, hyperlinks, tabWidth, interactive, terminalInterface, $this) {
|
|
8418
8418
|
ansiLevel = ansiLevel === VOID ? null : ansiLevel;
|
|
8419
|
-
theme = theme === VOID ? Companion_getInstance_2().
|
|
8419
|
+
theme = theme === VOID ? Companion_getInstance_2().q4n_1 : theme;
|
|
8420
8420
|
width = width === VOID ? null : width;
|
|
8421
8421
|
height = height === VOID ? null : height;
|
|
8422
8422
|
nonInteractiveWidth = nonInteractiveWidth === VOID ? null : nonInteractiveWidth;
|
|
@@ -8425,7 +8425,7 @@ function Terminal_init_$Init$(ansiLevel, theme, width, height, nonInteractiveWid
|
|
|
8425
8425
|
tabWidth = tabWidth === VOID ? 8 : tabWidth;
|
|
8426
8426
|
interactive = interactive === VOID ? null : interactive;
|
|
8427
8427
|
terminalInterface = terminalInterface === VOID ? get_STANDARD_TERM_INTERFACE() : terminalInterface;
|
|
8428
|
-
Terminal.call($this, theme, tabWidth, terminalInterface, width, height, nonInteractiveWidth, nonInteractiveHeight, terminalInterface.
|
|
8428
|
+
Terminal.call($this, theme, tabWidth, terminalInterface, width, height, nonInteractiveWidth, nonInteractiveHeight, terminalInterface.c4u(ansiLevel, hyperlinks, interactive, interactive));
|
|
8429
8429
|
return $this;
|
|
8430
8430
|
}
|
|
8431
8431
|
function Terminal_init_$Create$(ansiLevel, theme, width, height, nonInteractiveWidth, nonInteractiveHeight, hyperlinks, tabWidth, interactive, terminalInterface) {
|
|
@@ -8435,36 +8435,36 @@ function rawPrintln($this, message, stderr) {
|
|
|
8435
8435
|
sendPrintRequest($this, new PrintRequest(message, true, stderr));
|
|
8436
8436
|
}
|
|
8437
8437
|
function sendPrintRequest($this, request) {
|
|
8438
|
-
if ($this.
|
|
8439
|
-
$this.
|
|
8438
|
+
if ($this.l4o_1.l4u()) {
|
|
8439
|
+
$this.m4u();
|
|
8440
8440
|
}
|
|
8441
|
-
sendInterceptedPrintRequest(request, $this.
|
|
8441
|
+
sendInterceptedPrintRequest(request, $this.l4o_1, $this.r4o_1.l1());
|
|
8442
8442
|
}
|
|
8443
8443
|
function Terminal(theme, tabWidth, terminalInterface, forceWidth, forceHeight, nonInteractiveWidth, nonInteractiveHeight, terminalInfo) {
|
|
8444
|
-
this.
|
|
8445
|
-
this.
|
|
8446
|
-
this.
|
|
8447
|
-
this.
|
|
8448
|
-
this.
|
|
8449
|
-
this.
|
|
8450
|
-
this.
|
|
8451
|
-
this.
|
|
8452
|
-
this.
|
|
8453
|
-
this.
|
|
8454
|
-
this.
|
|
8444
|
+
this.j4o_1 = theme;
|
|
8445
|
+
this.k4o_1 = tabWidth;
|
|
8446
|
+
this.l4o_1 = terminalInterface;
|
|
8447
|
+
this.m4o_1 = forceWidth;
|
|
8448
|
+
this.n4o_1 = forceHeight;
|
|
8449
|
+
this.o4o_1 = nonInteractiveWidth;
|
|
8450
|
+
this.p4o_1 = nonInteractiveHeight;
|
|
8451
|
+
this.q4o_1 = terminalInfo;
|
|
8452
|
+
this.r4o_1 = MppAtomicRef(emptyList());
|
|
8453
|
+
this.s4o_1 = MppAtomicRef(detectSize(this.l4o_1, this.q4o_1, this.m4o_1, this.n4o_1, this.o4o_1, this.p4o_1));
|
|
8454
|
+
this.t4o_1 = this.q4o_1.s4u() ? makePrintingTerminalCursor(this) : DisabledTerminalCursor_instance;
|
|
8455
8455
|
}
|
|
8456
8456
|
protoOf(Terminal).a1 = function () {
|
|
8457
|
-
return this.
|
|
8457
|
+
return this.s4o_1.l1();
|
|
8458
8458
|
};
|
|
8459
|
-
protoOf(Terminal).
|
|
8460
|
-
var tmp0 = this.
|
|
8459
|
+
protoOf(Terminal).m4u = function () {
|
|
8460
|
+
var tmp0 = this.s4o_1;
|
|
8461
8461
|
var tmp$ret$1;
|
|
8462
8462
|
$l$block: {
|
|
8463
8463
|
// Inline function 'com.github.ajalt.mordant.internal.update' call
|
|
8464
8464
|
while (true) {
|
|
8465
8465
|
var old = tmp0.l1();
|
|
8466
|
-
var newValue = detectSize(this.
|
|
8467
|
-
if (tmp0.
|
|
8466
|
+
var newValue = detectSize(this.l4o_1, this.q4o_1, this.m4o_1, this.n4o_1, this.o4o_1, this.p4o_1);
|
|
8467
|
+
if (tmp0.t4u(old, newValue)) {
|
|
8468
8468
|
tmp$ret$1 = to(old, newValue);
|
|
8469
8469
|
break $l$block;
|
|
8470
8470
|
}
|
|
@@ -8472,10 +8472,10 @@ protoOf(Terminal).j4u = function () {
|
|
|
8472
8472
|
}
|
|
8473
8473
|
return tmp$ret$1.ff_1;
|
|
8474
8474
|
};
|
|
8475
|
-
protoOf(Terminal).
|
|
8476
|
-
this.
|
|
8475
|
+
protoOf(Terminal).u4u = function (message, whitespace, align, overflowWrap, width, stderr) {
|
|
8476
|
+
this.w4u(this.v4u(message, whitespace, align, overflowWrap, width), stderr);
|
|
8477
8477
|
};
|
|
8478
|
-
protoOf(Terminal).
|
|
8478
|
+
protoOf(Terminal).x4u = function (message, whitespace, align, overflowWrap, width, stderr, $super) {
|
|
8479
8479
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
8480
8480
|
align = align === VOID ? TextAlign_NONE_getInstance() : align;
|
|
8481
8481
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
@@ -8483,17 +8483,17 @@ protoOf(Terminal).u4u = function (message, whitespace, align, overflowWrap, widt
|
|
|
8483
8483
|
stderr = stderr === VOID ? false : stderr;
|
|
8484
8484
|
var tmp;
|
|
8485
8485
|
if ($super === VOID) {
|
|
8486
|
-
this.
|
|
8486
|
+
this.u4u(message, whitespace, align, overflowWrap, width, stderr);
|
|
8487
8487
|
tmp = Unit_instance;
|
|
8488
8488
|
} else {
|
|
8489
|
-
tmp = $super.
|
|
8489
|
+
tmp = $super.u4u.call(this, message, whitespace, align, overflowWrap, width, stderr);
|
|
8490
8490
|
}
|
|
8491
8491
|
return tmp;
|
|
8492
8492
|
};
|
|
8493
|
-
protoOf(Terminal).
|
|
8494
|
-
rawPrintln(this, this.
|
|
8493
|
+
protoOf(Terminal).y4u = function (message, whitespace, align, overflowWrap, width, stderr) {
|
|
8494
|
+
rawPrintln(this, this.v4u(message, whitespace, align, overflowWrap, width), stderr);
|
|
8495
8495
|
};
|
|
8496
|
-
protoOf(Terminal).
|
|
8496
|
+
protoOf(Terminal).z4u = function (message, whitespace, align, overflowWrap, width, stderr, $super) {
|
|
8497
8497
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
8498
8498
|
align = align === VOID ? TextAlign_NONE_getInstance() : align;
|
|
8499
8499
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
@@ -8501,30 +8501,30 @@ protoOf(Terminal).w4u = function (message, whitespace, align, overflowWrap, widt
|
|
|
8501
8501
|
stderr = stderr === VOID ? false : stderr;
|
|
8502
8502
|
var tmp;
|
|
8503
8503
|
if ($super === VOID) {
|
|
8504
|
-
this.
|
|
8504
|
+
this.y4u(message, whitespace, align, overflowWrap, width, stderr);
|
|
8505
8505
|
tmp = Unit_instance;
|
|
8506
8506
|
} else {
|
|
8507
|
-
tmp = $super.
|
|
8507
|
+
tmp = $super.y4u.call(this, message, whitespace, align, overflowWrap, width, stderr);
|
|
8508
8508
|
}
|
|
8509
8509
|
return tmp;
|
|
8510
8510
|
};
|
|
8511
|
-
protoOf(Terminal).
|
|
8511
|
+
protoOf(Terminal).v4u = function (message, whitespace, align, overflowWrap, width) {
|
|
8512
8512
|
var tmp;
|
|
8513
8513
|
if (message instanceof Lines) {
|
|
8514
|
-
tmp = renderLinesAnsi(message, this.
|
|
8514
|
+
tmp = renderLinesAnsi(message, this.q4o_1.n4u_1, this.q4o_1.o4u_1);
|
|
8515
8515
|
} else {
|
|
8516
8516
|
if (!(message == null) ? isInterface(message, Widget) : false) {
|
|
8517
|
-
tmp = this.
|
|
8517
|
+
tmp = this.a4v(message);
|
|
8518
8518
|
} else {
|
|
8519
|
-
tmp = this.
|
|
8519
|
+
tmp = this.a4v(Text_init_$Create$(toString_1(message), whitespace, align, overflowWrap, width));
|
|
8520
8520
|
}
|
|
8521
8521
|
}
|
|
8522
8522
|
return tmp;
|
|
8523
8523
|
};
|
|
8524
|
-
protoOf(Terminal).
|
|
8525
|
-
return renderLinesAnsi(widget.
|
|
8524
|
+
protoOf(Terminal).a4v = function (widget) {
|
|
8525
|
+
return renderLinesAnsi(widget.i4o(this), this.q4o_1.n4u_1, this.q4o_1.o4u_1);
|
|
8526
8526
|
};
|
|
8527
|
-
protoOf(Terminal).
|
|
8527
|
+
protoOf(Terminal).w4u = function (message, stderr) {
|
|
8528
8528
|
sendPrintRequest(this, new PrintRequest(toString(message), false, stderr));
|
|
8529
8529
|
};
|
|
8530
8530
|
function DisabledTerminalCursor() {
|
|
@@ -8534,18 +8534,18 @@ function DisabledTerminalCursor_getInstance() {
|
|
|
8534
8534
|
return DisabledTerminalCursor_instance;
|
|
8535
8535
|
}
|
|
8536
8536
|
function PrintTerminalCursor(terminal) {
|
|
8537
|
-
this.
|
|
8537
|
+
this.b4v_1 = terminal;
|
|
8538
8538
|
}
|
|
8539
8539
|
function detectSize(_this__u8e3s4, info, width, height, nonInteractiveWidth, nonInteractiveHeight) {
|
|
8540
8540
|
if (!(width == null) && !(height == null))
|
|
8541
8541
|
return new Size(width, height);
|
|
8542
|
-
if (!info.
|
|
8542
|
+
if (!info.p4u_1) {
|
|
8543
8543
|
var tmp1_elvis_lhs = nonInteractiveWidth == null ? width : nonInteractiveWidth;
|
|
8544
8544
|
var tmp = tmp1_elvis_lhs == null ? 79 : tmp1_elvis_lhs;
|
|
8545
8545
|
var tmp3_elvis_lhs = nonInteractiveHeight == null ? height : nonInteractiveHeight;
|
|
8546
8546
|
return new Size(tmp, tmp3_elvis_lhs == null ? 24 : tmp3_elvis_lhs);
|
|
8547
8547
|
}
|
|
8548
|
-
var tmp4_elvis_lhs = _this__u8e3s4.
|
|
8548
|
+
var tmp4_elvis_lhs = _this__u8e3s4.k4u();
|
|
8549
8549
|
var tmp_0;
|
|
8550
8550
|
if (tmp4_elvis_lhs == null) {
|
|
8551
8551
|
var tmp122_safe_receiver = getEnv('COLUMNS');
|
|
@@ -8558,8 +8558,8 @@ function detectSize(_this__u8e3s4, info, width, height, nonInteractiveWidth, non
|
|
|
8558
8558
|
tmp_0 = tmp4_elvis_lhs;
|
|
8559
8559
|
}
|
|
8560
8560
|
var detected = tmp_0;
|
|
8561
|
-
var tmp_2 = width == null ? detected.
|
|
8562
|
-
return new Size(tmp_2, height == null ? detected.
|
|
8561
|
+
var tmp_2 = width == null ? detected.s4m_1 : width;
|
|
8562
|
+
return new Size(tmp_2, height == null ? detected.t4m_1 : height);
|
|
8563
8563
|
}
|
|
8564
8564
|
function ansiHyperLinks($this) {
|
|
8565
8565
|
if (equals(forcedColor($this), AnsiLevel_NONE_getInstance()) || isCI($this))
|
|
@@ -8848,7 +8848,7 @@ function isIntellijRunActionConsole($this) {
|
|
|
8848
8848
|
}
|
|
8849
8849
|
function TerminalDetection() {
|
|
8850
8850
|
}
|
|
8851
|
-
protoOf(TerminalDetection).
|
|
8851
|
+
protoOf(TerminalDetection).f4u = function (ansiLevel_0, hyperlinks, forceInputInteractive, forceOutputInteractive, detectedStdinInteractive, detectedStdoutInteractive) {
|
|
8852
8852
|
var ij = isIntellijRunActionConsole(this);
|
|
8853
8853
|
var inputInteractive = forceInputInteractive == null ? ij || detectedStdinInteractive : forceInputInteractive;
|
|
8854
8854
|
var outputInteractive = forceOutputInteractive == null ? ij || detectedStdoutInteractive : forceOutputInteractive;
|
|
@@ -8861,24 +8861,24 @@ function TerminalDetection_getInstance() {
|
|
|
8861
8861
|
return TerminalDetection_instance;
|
|
8862
8862
|
}
|
|
8863
8863
|
function TerminalInfo(ansiLevel, ansiHyperLinks, outputInteractive, inputInteractive, supportsAnsiCursor) {
|
|
8864
|
-
this.
|
|
8865
|
-
this.
|
|
8866
|
-
this.
|
|
8867
|
-
this.
|
|
8868
|
-
this.
|
|
8864
|
+
this.n4u_1 = ansiLevel;
|
|
8865
|
+
this.o4u_1 = ansiHyperLinks;
|
|
8866
|
+
this.p4u_1 = outputInteractive;
|
|
8867
|
+
this.q4u_1 = inputInteractive;
|
|
8868
|
+
this.r4u_1 = supportsAnsiCursor;
|
|
8869
8869
|
}
|
|
8870
|
-
protoOf(TerminalInfo).
|
|
8871
|
-
return this.
|
|
8870
|
+
protoOf(TerminalInfo).s4u = function () {
|
|
8871
|
+
return this.q4u_1 && this.p4u_1;
|
|
8872
8872
|
};
|
|
8873
8873
|
protoOf(TerminalInfo).toString = function () {
|
|
8874
|
-
return 'TerminalInfo(ansiLevel=' + this.
|
|
8874
|
+
return 'TerminalInfo(ansiLevel=' + this.n4u_1.toString() + ', ansiHyperLinks=' + this.o4u_1 + ', outputInteractive=' + this.p4u_1 + ', inputInteractive=' + this.q4u_1 + ', supportsAnsiCursor=' + this.r4u_1 + ')';
|
|
8875
8875
|
};
|
|
8876
8876
|
protoOf(TerminalInfo).hashCode = function () {
|
|
8877
|
-
var result = this.
|
|
8878
|
-
result = imul(result, 31) + getBooleanHashCode(this.l4u_1) | 0;
|
|
8879
|
-
result = imul(result, 31) + getBooleanHashCode(this.m4u_1) | 0;
|
|
8880
|
-
result = imul(result, 31) + getBooleanHashCode(this.n4u_1) | 0;
|
|
8877
|
+
var result = this.n4u_1.hashCode();
|
|
8881
8878
|
result = imul(result, 31) + getBooleanHashCode(this.o4u_1) | 0;
|
|
8879
|
+
result = imul(result, 31) + getBooleanHashCode(this.p4u_1) | 0;
|
|
8880
|
+
result = imul(result, 31) + getBooleanHashCode(this.q4u_1) | 0;
|
|
8881
|
+
result = imul(result, 31) + getBooleanHashCode(this.r4u_1) | 0;
|
|
8882
8882
|
return result;
|
|
8883
8883
|
};
|
|
8884
8884
|
protoOf(TerminalInfo).equals = function (other) {
|
|
@@ -8887,32 +8887,32 @@ protoOf(TerminalInfo).equals = function (other) {
|
|
|
8887
8887
|
if (!(other instanceof TerminalInfo))
|
|
8888
8888
|
return false;
|
|
8889
8889
|
var tmp0_other_with_cast = other instanceof TerminalInfo ? other : THROW_CCE();
|
|
8890
|
-
if (!this.
|
|
8890
|
+
if (!this.n4u_1.equals(tmp0_other_with_cast.n4u_1))
|
|
8891
8891
|
return false;
|
|
8892
|
-
if (!(this.
|
|
8892
|
+
if (!(this.o4u_1 === tmp0_other_with_cast.o4u_1))
|
|
8893
8893
|
return false;
|
|
8894
|
-
if (!(this.
|
|
8894
|
+
if (!(this.p4u_1 === tmp0_other_with_cast.p4u_1))
|
|
8895
8895
|
return false;
|
|
8896
|
-
if (!(this.
|
|
8896
|
+
if (!(this.q4u_1 === tmp0_other_with_cast.q4u_1))
|
|
8897
8897
|
return false;
|
|
8898
|
-
if (!(this.
|
|
8898
|
+
if (!(this.r4u_1 === tmp0_other_with_cast.r4u_1))
|
|
8899
8899
|
return false;
|
|
8900
8900
|
return true;
|
|
8901
8901
|
};
|
|
8902
8902
|
function TerminalInterface() {
|
|
8903
8903
|
}
|
|
8904
8904
|
function PrintRequest(text, trailingLinebreak, stderr) {
|
|
8905
|
-
this.
|
|
8906
|
-
this.
|
|
8907
|
-
this.
|
|
8905
|
+
this.h4u_1 = text;
|
|
8906
|
+
this.i4u_1 = trailingLinebreak;
|
|
8907
|
+
this.j4u_1 = stderr;
|
|
8908
8908
|
}
|
|
8909
8909
|
protoOf(PrintRequest).toString = function () {
|
|
8910
|
-
return 'PrintRequest(text=' + this.
|
|
8910
|
+
return 'PrintRequest(text=' + this.h4u_1 + ', trailingLinebreak=' + this.i4u_1 + ', stderr=' + this.j4u_1 + ')';
|
|
8911
8911
|
};
|
|
8912
8912
|
protoOf(PrintRequest).hashCode = function () {
|
|
8913
|
-
var result = getStringHashCode(this.
|
|
8914
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8915
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8913
|
+
var result = getStringHashCode(this.h4u_1);
|
|
8914
|
+
result = imul(result, 31) + getBooleanHashCode(this.i4u_1) | 0;
|
|
8915
|
+
result = imul(result, 31) + getBooleanHashCode(this.j4u_1) | 0;
|
|
8916
8916
|
return result;
|
|
8917
8917
|
};
|
|
8918
8918
|
protoOf(PrintRequest).equals = function (other) {
|
|
@@ -8921,11 +8921,11 @@ protoOf(PrintRequest).equals = function (other) {
|
|
|
8921
8921
|
if (!(other instanceof PrintRequest))
|
|
8922
8922
|
return false;
|
|
8923
8923
|
var tmp0_other_with_cast = other instanceof PrintRequest ? other : THROW_CCE();
|
|
8924
|
-
if (!(this.
|
|
8924
|
+
if (!(this.h4u_1 === tmp0_other_with_cast.h4u_1))
|
|
8925
8925
|
return false;
|
|
8926
|
-
if (!(this.
|
|
8926
|
+
if (!(this.i4u_1 === tmp0_other_with_cast.i4u_1))
|
|
8927
8927
|
return false;
|
|
8928
|
-
if (!(this.
|
|
8928
|
+
if (!(this.j4u_1 === tmp0_other_with_cast.j4u_1))
|
|
8929
8929
|
return false;
|
|
8930
8930
|
return true;
|
|
8931
8931
|
};
|
|
@@ -8933,42 +8933,42 @@ function definitionList(init) {
|
|
|
8933
8933
|
// Inline function 'kotlin.apply' call
|
|
8934
8934
|
var this_0 = new DefinitionListBuilder();
|
|
8935
8935
|
init(this_0);
|
|
8936
|
-
return this_0.
|
|
8936
|
+
return this_0.z4n();
|
|
8937
8937
|
}
|
|
8938
8938
|
function DefinitionListBuilder() {
|
|
8939
8939
|
var tmp = this;
|
|
8940
8940
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8941
|
-
tmp.
|
|
8942
|
-
this.
|
|
8943
|
-
this.
|
|
8944
|
-
this.
|
|
8941
|
+
tmp.c4v_1 = ArrayList_init_$Create$();
|
|
8942
|
+
this.d4v_1 = false;
|
|
8943
|
+
this.e4v_1 = null;
|
|
8944
|
+
this.f4v_1 = null;
|
|
8945
8945
|
}
|
|
8946
|
-
protoOf(DefinitionListBuilder).
|
|
8947
|
-
this.
|
|
8946
|
+
protoOf(DefinitionListBuilder).g4v = function (value) {
|
|
8947
|
+
this.e4v_1 = value;
|
|
8948
8948
|
};
|
|
8949
|
-
protoOf(DefinitionListBuilder).
|
|
8950
|
-
var tmp0_elvis_lhs = this.
|
|
8951
|
-
return tmp0_elvis_lhs == null ? this.
|
|
8949
|
+
protoOf(DefinitionListBuilder).h4v = function () {
|
|
8950
|
+
var tmp0_elvis_lhs = this.e4v_1;
|
|
8951
|
+
return tmp0_elvis_lhs == null ? this.d4v_1 ? 2 : 0 : tmp0_elvis_lhs;
|
|
8952
8952
|
};
|
|
8953
|
-
protoOf(DefinitionListBuilder).
|
|
8954
|
-
var tmp0_elvis_lhs = this.
|
|
8955
|
-
return tmp0_elvis_lhs == null ? this.
|
|
8953
|
+
protoOf(DefinitionListBuilder).i4v = function () {
|
|
8954
|
+
var tmp0_elvis_lhs = this.f4v_1;
|
|
8955
|
+
return tmp0_elvis_lhs == null ? this.d4v_1 ? 0 : 1 : tmp0_elvis_lhs;
|
|
8956
8956
|
};
|
|
8957
|
-
protoOf(DefinitionListBuilder).
|
|
8958
|
-
this.
|
|
8957
|
+
protoOf(DefinitionListBuilder).j4v = function (term, description) {
|
|
8958
|
+
this.k4v(Text_init_$Create$(term), description);
|
|
8959
8959
|
};
|
|
8960
|
-
protoOf(DefinitionListBuilder).
|
|
8961
|
-
var tmp0 = this.
|
|
8960
|
+
protoOf(DefinitionListBuilder).k4v = function (term, description) {
|
|
8961
|
+
var tmp0 = this.c4v_1;
|
|
8962
8962
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8963
8963
|
var element = to(term, description);
|
|
8964
8964
|
tmp0.x(element);
|
|
8965
8965
|
};
|
|
8966
|
-
protoOf(DefinitionListBuilder).
|
|
8967
|
-
return new DefinitionList(this.
|
|
8966
|
+
protoOf(DefinitionListBuilder).z4n = function () {
|
|
8967
|
+
return new DefinitionList(this.c4v_1, this.d4v_1, this.h4v(), this.i4v());
|
|
8968
8968
|
};
|
|
8969
8969
|
function _get_keys__d97k5z($this) {
|
|
8970
8970
|
// Inline function 'kotlin.collections.map' call
|
|
8971
|
-
var this_0 = $this.
|
|
8971
|
+
var this_0 = $this.l4v_1;
|
|
8972
8972
|
// Inline function 'kotlin.collections.mapTo' call
|
|
8973
8973
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8974
8974
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -8981,7 +8981,7 @@ function _get_keys__d97k5z($this) {
|
|
|
8981
8981
|
}
|
|
8982
8982
|
function _get_values__tel787($this) {
|
|
8983
8983
|
// Inline function 'kotlin.collections.map' call
|
|
8984
|
-
var this_0 = $this.
|
|
8984
|
+
var this_0 = $this.l4v_1;
|
|
8985
8985
|
// Inline function 'kotlin.collections.mapTo' call
|
|
8986
8986
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8987
8987
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -8997,27 +8997,27 @@ function measureDescriptions($this, t, width) {
|
|
|
8997
8997
|
}
|
|
8998
8998
|
function DefinitionList$render$lambda($descOffset) {
|
|
8999
8999
|
return function ($this$withPadding) {
|
|
9000
|
-
$this$withPadding.
|
|
9000
|
+
$this$withPadding.m4t_1 = $descOffset;
|
|
9001
9001
|
return Unit_instance;
|
|
9002
9002
|
};
|
|
9003
9003
|
}
|
|
9004
9004
|
function DefinitionList(entries, inline, descriptionSpacing, entrySpacing) {
|
|
9005
|
-
this.
|
|
9006
|
-
this.
|
|
9007
|
-
this.
|
|
9008
|
-
this.
|
|
9005
|
+
this.l4v_1 = entries;
|
|
9006
|
+
this.m4v_1 = inline;
|
|
9007
|
+
this.n4v_1 = descriptionSpacing;
|
|
9008
|
+
this.o4v_1 = entrySpacing;
|
|
9009
9009
|
// Inline function 'kotlin.require' call
|
|
9010
|
-
if (!(this.
|
|
9010
|
+
if (!(this.n4v_1 >= 0)) {
|
|
9011
9011
|
var message = 'Spacing cannot be negative';
|
|
9012
9012
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
9013
9013
|
}
|
|
9014
9014
|
}
|
|
9015
|
-
protoOf(DefinitionList).
|
|
9015
|
+
protoOf(DefinitionList).g4o = function (t, width) {
|
|
9016
9016
|
var termMeasurement = maxWidthRange(_get_keys__d97k5z(this), t, width);
|
|
9017
9017
|
var descMeasurement = measureDescriptions(this, t, width);
|
|
9018
9018
|
var tmp;
|
|
9019
|
-
if (this.
|
|
9020
|
-
tmp = termMeasurement.
|
|
9019
|
+
if (this.m4v_1) {
|
|
9020
|
+
tmp = termMeasurement.x4o(descMeasurement).w4o(this.n4v_1);
|
|
9021
9021
|
} else {
|
|
9022
9022
|
// Inline function 'com.github.ajalt.mordant.rendering.maxWidthRange' call
|
|
9023
9023
|
var max = 0;
|
|
@@ -9034,18 +9034,18 @@ protoOf(DefinitionList).d4o = function (t, width) {
|
|
|
9034
9034
|
var range = tmp_0;
|
|
9035
9035
|
var tmp0 = max;
|
|
9036
9036
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
9037
|
-
var b = range.
|
|
9037
|
+
var b = range.v4o_1;
|
|
9038
9038
|
max = Math.max(tmp0, b);
|
|
9039
9039
|
var tmp0_0 = min;
|
|
9040
9040
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
9041
|
-
var b_0 = range.
|
|
9041
|
+
var b_0 = range.u4o_1;
|
|
9042
9042
|
min = Math.max(tmp0_0, b_0);
|
|
9043
9043
|
}
|
|
9044
9044
|
tmp = new WidthRange(min + 0 | 0, max + 0 | 0);
|
|
9045
9045
|
}
|
|
9046
9046
|
return tmp;
|
|
9047
9047
|
};
|
|
9048
|
-
protoOf(DefinitionList).
|
|
9048
|
+
protoOf(DefinitionList).h4o = function (t, width) {
|
|
9049
9049
|
if (width === 0)
|
|
9050
9050
|
return get_EMPTY_LINES();
|
|
9051
9051
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -9055,19 +9055,19 @@ protoOf(DefinitionList).e4o = function (t, width) {
|
|
|
9055
9055
|
var _iterator__ex2g4s = this_0.t();
|
|
9056
9056
|
while (_iterator__ex2g4s.u()) {
|
|
9057
9057
|
var item = _iterator__ex2g4s.v();
|
|
9058
|
-
var tmp$ret$0 = item.
|
|
9058
|
+
var tmp$ret$0 = item.g4o(t, width);
|
|
9059
9059
|
destination.x(tmp$ret$0);
|
|
9060
9060
|
}
|
|
9061
9061
|
var termMeasurements = destination;
|
|
9062
9062
|
var maxInlineTermWidth = numberToInt(width / 2.5);
|
|
9063
|
-
var maxDescWidth = measureDescriptions(this, t, width).
|
|
9063
|
+
var maxDescWidth = measureDescriptions(this, t, width).v4o_1;
|
|
9064
9064
|
// Inline function 'kotlin.collections.filter' call
|
|
9065
9065
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9066
9066
|
var destination_0 = ArrayList_init_$Create$();
|
|
9067
9067
|
var _iterator__ex2g4s_0 = termMeasurements.t();
|
|
9068
9068
|
while (_iterator__ex2g4s_0.u()) {
|
|
9069
9069
|
var element = _iterator__ex2g4s_0.v();
|
|
9070
|
-
if (element.
|
|
9070
|
+
if (element.v4o_1 <= maxInlineTermWidth || (this.m4v_1 && ((element.v4o_1 + this.n4v_1 | 0) + maxDescWidth | 0) <= width)) {
|
|
9071
9071
|
destination_0.x(element);
|
|
9072
9072
|
}
|
|
9073
9073
|
}
|
|
@@ -9086,18 +9086,18 @@ protoOf(DefinitionList).e4o = function (t, width) {
|
|
|
9086
9086
|
var range = tmp;
|
|
9087
9087
|
var tmp0 = max;
|
|
9088
9088
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
9089
|
-
var b = range.
|
|
9089
|
+
var b = range.v4o_1;
|
|
9090
9090
|
max = Math.max(tmp0, b);
|
|
9091
9091
|
var tmp0_0 = min;
|
|
9092
9092
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
9093
|
-
var b_0 = range.
|
|
9093
|
+
var b_0 = range.u4o_1;
|
|
9094
9094
|
min = Math.max(tmp0_0, b_0);
|
|
9095
9095
|
}
|
|
9096
|
-
var termWidth = (new WidthRange(min + 0 | 0, max + 0 | 0)).
|
|
9097
|
-
var descOffset = coerceAtLeast(termWidth + this.
|
|
9096
|
+
var termWidth = (new WidthRange(min + 0 | 0, max + 0 | 0)).v4o_1;
|
|
9097
|
+
var descOffset = coerceAtLeast(termWidth + this.n4v_1 | 0, 4);
|
|
9098
9098
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
9099
9099
|
var lines = ArrayList_init_$Create$();
|
|
9100
|
-
var iterator = this.
|
|
9100
|
+
var iterator = this.l4v_1.t();
|
|
9101
9101
|
var index = 0;
|
|
9102
9102
|
$l$loop_1: while (iterator.u()) {
|
|
9103
9103
|
var i = index;
|
|
@@ -9105,7 +9105,7 @@ protoOf(DefinitionList).e4o = function (t, width) {
|
|
|
9105
9105
|
var entry = iterator.v();
|
|
9106
9106
|
if (i > 0) {
|
|
9107
9107
|
// Inline function 'kotlin.repeat' call
|
|
9108
|
-
var times = this.
|
|
9108
|
+
var times = this.o4v_1;
|
|
9109
9109
|
var inductionVariable = 0;
|
|
9110
9110
|
if (inductionVariable < times)
|
|
9111
9111
|
do {
|
|
@@ -9119,12 +9119,12 @@ protoOf(DefinitionList).e4o = function (t, width) {
|
|
|
9119
9119
|
}
|
|
9120
9120
|
var term = entry.ve();
|
|
9121
9121
|
var desc = entry.we();
|
|
9122
|
-
if (!this.
|
|
9122
|
+
if (!this.m4v_1) {
|
|
9123
9123
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9124
|
-
var elements = term.
|
|
9124
|
+
var elements = term.h4o(t, width).x4j_1;
|
|
9125
9125
|
addAll(lines, elements);
|
|
9126
9126
|
// Inline function 'kotlin.repeat' call
|
|
9127
|
-
var times_0 = this.
|
|
9127
|
+
var times_0 = this.n4v_1;
|
|
9128
9128
|
var inductionVariable_0 = 0;
|
|
9129
9129
|
if (inductionVariable_0 < times_0)
|
|
9130
9130
|
do {
|
|
@@ -9136,28 +9136,28 @@ protoOf(DefinitionList).e4o = function (t, width) {
|
|
|
9136
9136
|
}
|
|
9137
9137
|
while (inductionVariable_0 < times_0);
|
|
9138
9138
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9139
|
-
var elements_0 = desc.
|
|
9139
|
+
var elements_0 = desc.h4o(t, width).x4j_1;
|
|
9140
9140
|
addAll(lines, elements_0);
|
|
9141
9141
|
continue $l$loop_1;
|
|
9142
9142
|
}
|
|
9143
|
-
if (termMeasurements.b1(i).
|
|
9143
|
+
if (termMeasurements.b1(i).v4o_1 > termWidth) {
|
|
9144
9144
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9145
|
-
var elements_1 = term.
|
|
9145
|
+
var elements_1 = term.h4o(t, width).x4j_1;
|
|
9146
9146
|
addAll(lines, elements_1);
|
|
9147
9147
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9148
|
-
var elements_2 = withPadding(desc, VOID, DefinitionList$render$lambda(descOffset)).
|
|
9148
|
+
var elements_2 = withPadding(desc, VOID, DefinitionList$render$lambda(descOffset)).h4o(t, width).x4j_1;
|
|
9149
9149
|
addAll(lines, elements_2);
|
|
9150
9150
|
continue $l$loop_1;
|
|
9151
9151
|
}
|
|
9152
|
-
var termLines = term.
|
|
9153
|
-
var descLines = desc.
|
|
9152
|
+
var termLines = term.h4o(t, termWidth).x4j_1;
|
|
9153
|
+
var descLines = desc.h4o(t, coerceAtLeast((width - termWidth | 0) - this.n4v_1 | 0, 0)).x4j_1;
|
|
9154
9154
|
// Inline function 'kotlin.collections.mapTo' call
|
|
9155
9155
|
var _iterator__ex2g4s_2 = zip(termLines, descLines).t();
|
|
9156
9156
|
while (_iterator__ex2g4s_2.u()) {
|
|
9157
9157
|
var item_0 = _iterator__ex2g4s_2.v();
|
|
9158
9158
|
var t_0 = item_0.ve();
|
|
9159
9159
|
var d = item_0.we();
|
|
9160
|
-
var tmp$ret$21 = flatLine([t_0, Companion_instance_0.
|
|
9160
|
+
var tmp$ret$21 = flatLine([t_0, Companion_instance_0.o4k((this.n4v_1 + termWidth | 0) - get_lineWidth(t_0) | 0), d]);
|
|
9161
9161
|
lines.x(tmp$ret$21);
|
|
9162
9162
|
}
|
|
9163
9163
|
if (termLines.a1() > descLines.a1()) {
|
|
@@ -9165,7 +9165,7 @@ protoOf(DefinitionList).e4o = function (t, width) {
|
|
|
9165
9165
|
var elements_3 = drop_0(termLines, descLines.a1());
|
|
9166
9166
|
addAll(lines, elements_3);
|
|
9167
9167
|
} else if (descLines.a1() > termLines.a1()) {
|
|
9168
|
-
var paddingLeft = descOffset > 0 ? listOf_0(Companion_instance_0.
|
|
9168
|
+
var paddingLeft = descOffset > 0 ? listOf_0(Companion_instance_0.o4k(descOffset)) : get_EMPTY_LINE();
|
|
9169
9169
|
// Inline function 'kotlin.collections.mapTo' call
|
|
9170
9170
|
var _iterator__ex2g4s_3 = drop_0(descLines, termLines.a1()).t();
|
|
9171
9171
|
while (_iterator__ex2g4s_3.u()) {
|
|
@@ -9188,10 +9188,10 @@ protoOf(DefinitionList).e4o = function (t, width) {
|
|
|
9188
9188
|
};
|
|
9189
9189
|
function EmptyWidget() {
|
|
9190
9190
|
}
|
|
9191
|
-
protoOf(EmptyWidget).
|
|
9191
|
+
protoOf(EmptyWidget).g4o = function (t, width) {
|
|
9192
9192
|
return new WidthRange(0, 0);
|
|
9193
9193
|
};
|
|
9194
|
-
protoOf(EmptyWidget).
|
|
9194
|
+
protoOf(EmptyWidget).h4o = function (t, width) {
|
|
9195
9195
|
return get_EMPTY_LINES();
|
|
9196
9196
|
};
|
|
9197
9197
|
var EmptyWidget_instance;
|
|
@@ -9206,8 +9206,8 @@ function withPadding(_this__u8e3s4, padEmptyLines, padding) {
|
|
|
9206
9206
|
var this_0 = new Builder(0, 0, 0, 0);
|
|
9207
9207
|
padding(this_0);
|
|
9208
9208
|
var b = this_0;
|
|
9209
|
-
var tmp$ret$1 = new Padding(b.
|
|
9210
|
-
return tmp.
|
|
9209
|
+
var tmp$ret$1 = new Padding(b.j4t_1, b.k4t_1, b.l4t_1, b.m4t_1);
|
|
9210
|
+
return tmp.p4v(_this__u8e3s4, tmp$ret$1, padEmptyLines);
|
|
9211
9211
|
}
|
|
9212
9212
|
function Padding_init_$Init$(all, $this) {
|
|
9213
9213
|
Padding.call($this, all, all, all, all);
|
|
@@ -9223,23 +9223,23 @@ function Companion_getInstance_5() {
|
|
|
9223
9223
|
return Companion_instance_4;
|
|
9224
9224
|
}
|
|
9225
9225
|
function Builder(top, right, bottom, left) {
|
|
9226
|
-
this.
|
|
9227
|
-
this.
|
|
9228
|
-
this.
|
|
9229
|
-
this.
|
|
9226
|
+
this.j4t_1 = top;
|
|
9227
|
+
this.k4t_1 = right;
|
|
9228
|
+
this.l4t_1 = bottom;
|
|
9229
|
+
this.m4t_1 = left;
|
|
9230
9230
|
}
|
|
9231
|
-
protoOf(Builder).
|
|
9232
|
-
this.
|
|
9233
|
-
this.
|
|
9231
|
+
protoOf(Builder).n4t = function (value) {
|
|
9232
|
+
this.m4t_1 = value;
|
|
9233
|
+
this.k4t_1 = value;
|
|
9234
9234
|
};
|
|
9235
9235
|
protoOf(Builder).toString = function () {
|
|
9236
|
-
return 'Builder(top=' + this.
|
|
9236
|
+
return 'Builder(top=' + this.j4t_1 + ', right=' + this.k4t_1 + ', bottom=' + this.l4t_1 + ', left=' + this.m4t_1 + ')';
|
|
9237
9237
|
};
|
|
9238
9238
|
protoOf(Builder).hashCode = function () {
|
|
9239
|
-
var result = this.
|
|
9240
|
-
result = imul(result, 31) + this.
|
|
9241
|
-
result = imul(result, 31) + this.
|
|
9242
|
-
result = imul(result, 31) + this.
|
|
9239
|
+
var result = this.j4t_1;
|
|
9240
|
+
result = imul(result, 31) + this.k4t_1 | 0;
|
|
9241
|
+
result = imul(result, 31) + this.l4t_1 | 0;
|
|
9242
|
+
result = imul(result, 31) + this.m4t_1 | 0;
|
|
9243
9243
|
return result;
|
|
9244
9244
|
};
|
|
9245
9245
|
protoOf(Builder).equals = function (other) {
|
|
@@ -9248,53 +9248,53 @@ protoOf(Builder).equals = function (other) {
|
|
|
9248
9248
|
if (!(other instanceof Builder))
|
|
9249
9249
|
return false;
|
|
9250
9250
|
var tmp0_other_with_cast = other instanceof Builder ? other : THROW_CCE();
|
|
9251
|
-
if (!(this.
|
|
9251
|
+
if (!(this.j4t_1 === tmp0_other_with_cast.j4t_1))
|
|
9252
9252
|
return false;
|
|
9253
|
-
if (!(this.
|
|
9253
|
+
if (!(this.k4t_1 === tmp0_other_with_cast.k4t_1))
|
|
9254
9254
|
return false;
|
|
9255
|
-
if (!(this.
|
|
9255
|
+
if (!(this.l4t_1 === tmp0_other_with_cast.l4t_1))
|
|
9256
9256
|
return false;
|
|
9257
|
-
if (!(this.
|
|
9257
|
+
if (!(this.m4t_1 === tmp0_other_with_cast.m4t_1))
|
|
9258
9258
|
return false;
|
|
9259
9259
|
return true;
|
|
9260
9260
|
};
|
|
9261
9261
|
function Padding(top, right, bottom, left) {
|
|
9262
|
-
this.
|
|
9263
|
-
this.
|
|
9264
|
-
this.
|
|
9265
|
-
this.
|
|
9262
|
+
this.o4t_1 = top;
|
|
9263
|
+
this.p4t_1 = right;
|
|
9264
|
+
this.q4t_1 = bottom;
|
|
9265
|
+
this.r4t_1 = left;
|
|
9266
9266
|
// Inline function 'kotlin.require' call
|
|
9267
|
-
if (!(this.
|
|
9267
|
+
if (!(this.o4t_1 >= 0)) {
|
|
9268
9268
|
var message = 'Invalid negative top padding';
|
|
9269
9269
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
9270
9270
|
}
|
|
9271
9271
|
// Inline function 'kotlin.require' call
|
|
9272
|
-
if (!(this.
|
|
9272
|
+
if (!(this.p4t_1 >= 0)) {
|
|
9273
9273
|
var message_0 = 'Invalid negative right padding';
|
|
9274
9274
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
9275
9275
|
}
|
|
9276
9276
|
// Inline function 'kotlin.require' call
|
|
9277
|
-
if (!(this.
|
|
9277
|
+
if (!(this.q4t_1 >= 0)) {
|
|
9278
9278
|
var message_1 = 'Invalid negative bottom padding';
|
|
9279
9279
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
9280
9280
|
}
|
|
9281
9281
|
// Inline function 'kotlin.require' call
|
|
9282
|
-
if (!(this.
|
|
9282
|
+
if (!(this.r4t_1 >= 0)) {
|
|
9283
9283
|
var message_2 = 'Invalid negative left padding';
|
|
9284
9284
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
9285
9285
|
}
|
|
9286
9286
|
}
|
|
9287
|
-
protoOf(Padding).
|
|
9288
|
-
return this.
|
|
9287
|
+
protoOf(Padding).q4v = function () {
|
|
9288
|
+
return this.o4t_1 === 0 && this.p4t_1 === 0 && this.q4t_1 === 0 && this.r4t_1 === 0;
|
|
9289
9289
|
};
|
|
9290
9290
|
protoOf(Padding).toString = function () {
|
|
9291
|
-
return 'Padding(top=' + this.
|
|
9291
|
+
return 'Padding(top=' + this.o4t_1 + ', right=' + this.p4t_1 + ', bottom=' + this.q4t_1 + ', left=' + this.r4t_1 + ')';
|
|
9292
9292
|
};
|
|
9293
9293
|
protoOf(Padding).hashCode = function () {
|
|
9294
|
-
var result = this.
|
|
9295
|
-
result = imul(result, 31) + this.
|
|
9296
|
-
result = imul(result, 31) + this.
|
|
9297
|
-
result = imul(result, 31) + this.
|
|
9294
|
+
var result = this.o4t_1;
|
|
9295
|
+
result = imul(result, 31) + this.p4t_1 | 0;
|
|
9296
|
+
result = imul(result, 31) + this.q4t_1 | 0;
|
|
9297
|
+
result = imul(result, 31) + this.r4t_1 | 0;
|
|
9298
9298
|
return result;
|
|
9299
9299
|
};
|
|
9300
9300
|
protoOf(Padding).equals = function (other) {
|
|
@@ -9303,25 +9303,25 @@ protoOf(Padding).equals = function (other) {
|
|
|
9303
9303
|
if (!(other instanceof Padding))
|
|
9304
9304
|
return false;
|
|
9305
9305
|
var tmp0_other_with_cast = other instanceof Padding ? other : THROW_CCE();
|
|
9306
|
-
if (!(this.
|
|
9306
|
+
if (!(this.o4t_1 === tmp0_other_with_cast.o4t_1))
|
|
9307
9307
|
return false;
|
|
9308
|
-
if (!(this.
|
|
9308
|
+
if (!(this.p4t_1 === tmp0_other_with_cast.p4t_1))
|
|
9309
9309
|
return false;
|
|
9310
|
-
if (!(this.
|
|
9310
|
+
if (!(this.q4t_1 === tmp0_other_with_cast.q4t_1))
|
|
9311
9311
|
return false;
|
|
9312
|
-
if (!(this.
|
|
9312
|
+
if (!(this.r4t_1 === tmp0_other_with_cast.r4t_1))
|
|
9313
9313
|
return false;
|
|
9314
9314
|
return true;
|
|
9315
9315
|
};
|
|
9316
9316
|
function Companion_5() {
|
|
9317
9317
|
}
|
|
9318
|
-
protoOf(Companion_5).
|
|
9318
|
+
protoOf(Companion_5).p4v = function (content, padding, padEmptyLines) {
|
|
9319
9319
|
var tmp;
|
|
9320
|
-
if (padding.
|
|
9320
|
+
if (padding.q4v()) {
|
|
9321
9321
|
tmp = content;
|
|
9322
9322
|
} else {
|
|
9323
9323
|
if (content instanceof Padded) {
|
|
9324
|
-
tmp = new Padded(content.
|
|
9324
|
+
tmp = new Padded(content.r4v_1, plus_2(content.s4v_1, padding), padEmptyLines);
|
|
9325
9325
|
} else {
|
|
9326
9326
|
tmp = new Padded(content, padding, padEmptyLines);
|
|
9327
9327
|
}
|
|
@@ -9333,23 +9333,23 @@ function Companion_getInstance_6() {
|
|
|
9333
9333
|
return Companion_instance_5;
|
|
9334
9334
|
}
|
|
9335
9335
|
function _get_paddingWidth__8vycom($this) {
|
|
9336
|
-
return $this.
|
|
9336
|
+
return $this.s4v_1.r4t_1 + $this.s4v_1.p4t_1 | 0;
|
|
9337
9337
|
}
|
|
9338
9338
|
function Padded(content, padding, padEmptyLines) {
|
|
9339
|
-
this.
|
|
9340
|
-
this.
|
|
9341
|
-
this.
|
|
9342
|
-
}
|
|
9343
|
-
protoOf(Padded).
|
|
9344
|
-
return this.
|
|
9345
|
-
};
|
|
9346
|
-
protoOf(Padded).
|
|
9347
|
-
var lines = this.
|
|
9348
|
-
var output = ArrayList_init_$Create$_0((this.
|
|
9349
|
-
var left = this.
|
|
9350
|
-
var right = this.
|
|
9339
|
+
this.r4v_1 = content;
|
|
9340
|
+
this.s4v_1 = padding;
|
|
9341
|
+
this.t4v_1 = padEmptyLines;
|
|
9342
|
+
}
|
|
9343
|
+
protoOf(Padded).g4o = function (t, width) {
|
|
9344
|
+
return this.r4v_1.g4o(t, width - _get_paddingWidth__8vycom(this) | 0).w4o(_get_paddingWidth__8vycom(this));
|
|
9345
|
+
};
|
|
9346
|
+
protoOf(Padded).h4o = function (t, width) {
|
|
9347
|
+
var lines = this.r4v_1.h4o(t, coerceAtLeast(width - _get_paddingWidth__8vycom(this) | 0, 0));
|
|
9348
|
+
var output = ArrayList_init_$Create$_0((this.s4v_1.o4t_1 + lines.k4m() | 0) + this.s4v_1.q4t_1 | 0);
|
|
9349
|
+
var left = this.s4v_1.r4t_1 > 0 ? listOf_0(Companion_instance_0.o4k(this.s4v_1.r4t_1)) : get_EMPTY_LINE();
|
|
9350
|
+
var right = this.s4v_1.p4t_1 > 0 ? listOf_0(Companion_instance_0.o4k(this.s4v_1.p4t_1)) : get_EMPTY_LINE();
|
|
9351
9351
|
// Inline function 'kotlin.repeat' call
|
|
9352
|
-
var times = this.
|
|
9352
|
+
var times = this.s4v_1.o4t_1;
|
|
9353
9353
|
var inductionVariable = 0;
|
|
9354
9354
|
if (inductionVariable < times)
|
|
9355
9355
|
do {
|
|
@@ -9358,15 +9358,15 @@ protoOf(Padded).e4o = function (t, width) {
|
|
|
9358
9358
|
output.x(get_EMPTY_LINE());
|
|
9359
9359
|
}
|
|
9360
9360
|
while (inductionVariable < times);
|
|
9361
|
-
var _iterator__ex2g4s = lines.
|
|
9361
|
+
var _iterator__ex2g4s = lines.x4j_1.t();
|
|
9362
9362
|
while (_iterator__ex2g4s.u()) {
|
|
9363
9363
|
var line = _iterator__ex2g4s.v();
|
|
9364
9364
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9365
|
-
var element = !this.
|
|
9365
|
+
var element = !this.t4v_1 && line.r() ? get_EMPTY_LINE() : flatLine([left, line, right]);
|
|
9366
9366
|
output.x(element);
|
|
9367
9367
|
}
|
|
9368
9368
|
// Inline function 'kotlin.repeat' call
|
|
9369
|
-
var times_0 = this.
|
|
9369
|
+
var times_0 = this.s4v_1.q4t_1;
|
|
9370
9370
|
var inductionVariable_0 = 0;
|
|
9371
9371
|
if (inductionVariable_0 < times_0)
|
|
9372
9372
|
do {
|
|
@@ -9378,11 +9378,11 @@ protoOf(Padded).e4o = function (t, width) {
|
|
|
9378
9378
|
return new Lines(output);
|
|
9379
9379
|
};
|
|
9380
9380
|
function plus_2(_this__u8e3s4, other) {
|
|
9381
|
-
return new Padding(_this__u8e3s4.
|
|
9381
|
+
return new Padding(_this__u8e3s4.o4t_1 + other.o4t_1 | 0, _this__u8e3s4.p4t_1 + other.p4t_1 | 0, _this__u8e3s4.q4t_1 + other.q4t_1 | 0, _this__u8e3s4.r4t_1 + other.r4t_1 | 0);
|
|
9382
9382
|
}
|
|
9383
9383
|
function withPadding_0(_this__u8e3s4, padding, padEmptyLines) {
|
|
9384
9384
|
padEmptyLines = padEmptyLines === VOID ? true : padEmptyLines;
|
|
9385
|
-
return Companion_instance_5.
|
|
9385
|
+
return Companion_instance_5.p4v(_this__u8e3s4, padding, padEmptyLines);
|
|
9386
9386
|
}
|
|
9387
9387
|
function Text_init_$Init$(text, whitespace, align, overflowWrap, width, tabWidth, $this) {
|
|
9388
9388
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
@@ -9406,48 +9406,48 @@ function wrap($this, wrapWidth, tabWidth, align, overflowWrap) {
|
|
|
9406
9406
|
var endStyle = {_v: get_DEFAULT_STYLE()};
|
|
9407
9407
|
var width = {_v: 0};
|
|
9408
9408
|
var lastPieceWasWhitespace = {_v: true};
|
|
9409
|
-
var _iterator__ex2g4s = $this.
|
|
9409
|
+
var _iterator__ex2g4s = $this.u4v_1.x4j_1.t();
|
|
9410
9410
|
while (_iterator__ex2g4s.u()) {
|
|
9411
9411
|
var oldLine = _iterator__ex2g4s.v();
|
|
9412
9412
|
var lastNonWhitespace_0 = lastNonWhitespace($this, oldLine, align);
|
|
9413
|
-
endStyle._v = oldLine.
|
|
9413
|
+
endStyle._v = oldLine.z4j_1;
|
|
9414
9414
|
var iterator = oldLine.t();
|
|
9415
9415
|
var index = 0;
|
|
9416
9416
|
loop: while (iterator.u()) {
|
|
9417
9417
|
var i = index;
|
|
9418
9418
|
index = index + 1 | 0;
|
|
9419
9419
|
var piece = iterator.v();
|
|
9420
|
-
if (piece.
|
|
9420
|
+
if (piece.a4k_1 === '\x85' || piece.a4k_1 === '\u2028') {
|
|
9421
9421
|
wrap$breakLine($this, align, line, width, wrapWidth, endStyle, lines, lastPieceWasWhitespace);
|
|
9422
9422
|
continue loop;
|
|
9423
9423
|
}
|
|
9424
|
-
if (($this.
|
|
9424
|
+
if (($this.v4v_1.f4o_1 || align.equals(TextAlign_JUSTIFY_getInstance())) && (0 <= lastNonWhitespace_0 ? lastNonWhitespace_0 < i : false)) {
|
|
9425
9425
|
continue loop;
|
|
9426
9426
|
}
|
|
9427
9427
|
if (i === 0 && !lastPieceWasWhitespace._v) {
|
|
9428
|
-
var tmp152_subject = last(line._v).
|
|
9428
|
+
var tmp152_subject = last(line._v).b4k_1;
|
|
9429
9429
|
var tmp;
|
|
9430
9430
|
var tmp153_safe_receiver = firstOrNull(oldLine);
|
|
9431
|
-
if (equals(tmp152_subject, tmp153_safe_receiver == null ? null : tmp153_safe_receiver.
|
|
9432
|
-
tmp = last(line._v).
|
|
9431
|
+
if (equals(tmp152_subject, tmp153_safe_receiver == null ? null : tmp153_safe_receiver.b4k_1)) {
|
|
9432
|
+
tmp = last(line._v).b4k_1;
|
|
9433
9433
|
} else {
|
|
9434
9434
|
tmp = get_DEFAULT_STYLE();
|
|
9435
9435
|
}
|
|
9436
9436
|
var style = tmp;
|
|
9437
|
-
line._v.x(Companion_instance_0.
|
|
9437
|
+
line._v.x(Companion_instance_0.u4k(' ', style));
|
|
9438
9438
|
lastPieceWasWhitespace._v = true;
|
|
9439
9439
|
width._v = width._v + 1 | 0;
|
|
9440
9440
|
}
|
|
9441
|
-
var pieceIsWhitespace = piece.
|
|
9442
|
-
if (pieceIsWhitespace && lastPieceWasWhitespace._v && $this.
|
|
9441
|
+
var pieceIsWhitespace = piece.u4m();
|
|
9442
|
+
if (pieceIsWhitespace && lastPieceWasWhitespace._v && $this.v4v_1.d4o_1)
|
|
9443
9443
|
continue loop;
|
|
9444
9444
|
var tmp_0;
|
|
9445
|
-
if (pieceIsWhitespace && $this.
|
|
9446
|
-
tmp_0 = Companion_instance_0.
|
|
9447
|
-
} else if (piece.
|
|
9445
|
+
if (pieceIsWhitespace && $this.v4v_1.d4o_1) {
|
|
9446
|
+
tmp_0 = Companion_instance_0.p4m(1, piece.b4k_1);
|
|
9447
|
+
} else if (piece.v4m()) {
|
|
9448
9448
|
var tmp_1;
|
|
9449
9449
|
if (tabWidth > 0) {
|
|
9450
|
-
tmp_1 = Companion_instance_0.
|
|
9450
|
+
tmp_1 = Companion_instance_0.p4m(tabWidth - (width._v % tabWidth | 0) | 0, piece.b4k_1);
|
|
9451
9451
|
} else {
|
|
9452
9452
|
continue loop;
|
|
9453
9453
|
}
|
|
@@ -9456,34 +9456,34 @@ function wrap($this, wrapWidth, tabWidth, align, overflowWrap) {
|
|
|
9456
9456
|
tmp_0 = piece;
|
|
9457
9457
|
}
|
|
9458
9458
|
var span = tmp_0;
|
|
9459
|
-
var cellWidth = span.
|
|
9460
|
-
if ($this.
|
|
9459
|
+
var cellWidth = span.o4m();
|
|
9460
|
+
if ($this.v4v_1.e4o_1 && width._v > 0 && (width._v + cellWidth | 0) > wrapWidth) {
|
|
9461
9461
|
wrap$breakLine($this, align, line, width, wrapWidth, endStyle, lines, lastPieceWasWhitespace);
|
|
9462
9462
|
if (pieceIsWhitespace)
|
|
9463
9463
|
continue loop;
|
|
9464
9464
|
}
|
|
9465
|
-
if ($this.
|
|
9465
|
+
if ($this.v4v_1.e4o_1 && cellWidth > wrapWidth) {
|
|
9466
9466
|
switch (overflowWrap.b3_1) {
|
|
9467
9467
|
case 0:
|
|
9468
9468
|
break;
|
|
9469
9469
|
case 2:
|
|
9470
|
-
span = Companion_instance_0.
|
|
9470
|
+
span = Companion_instance_0.u4k(take(span.a4k_1, wrapWidth), span.b4k_1);
|
|
9471
9471
|
break;
|
|
9472
9472
|
case 3:
|
|
9473
|
-
span = Companion_instance_0.
|
|
9473
|
+
span = Companion_instance_0.u4k(take(span.a4k_1, wrapWidth - 1 | 0) + '\u2026', span.b4k_1);
|
|
9474
9474
|
break;
|
|
9475
9475
|
case 1:
|
|
9476
9476
|
// Inline function 'kotlin.collections.forEach' call
|
|
9477
9477
|
|
|
9478
|
-
var _iterator__ex2g4s_0 = chunked(span.
|
|
9478
|
+
var _iterator__ex2g4s_0 = chunked(span.a4k_1, wrapWidth).t();
|
|
9479
9479
|
while (_iterator__ex2g4s_0.u()) {
|
|
9480
9480
|
var element = _iterator__ex2g4s_0.v();
|
|
9481
9481
|
if (element.length === wrapWidth) {
|
|
9482
9482
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9483
|
-
var element_0 = Line_init_$Create$(listOf_0(Companion_instance_0.
|
|
9483
|
+
var element_0 = Line_init_$Create$(listOf_0(Companion_instance_0.u4k(element, span.b4k_1)));
|
|
9484
9484
|
lines.x(element_0);
|
|
9485
9485
|
} else {
|
|
9486
|
-
span = Companion_instance_0.
|
|
9486
|
+
span = Companion_instance_0.u4k(element, span.b4k_1);
|
|
9487
9487
|
}
|
|
9488
9488
|
}
|
|
9489
9489
|
|
|
@@ -9493,11 +9493,11 @@ function wrap($this, wrapWidth, tabWidth, align, overflowWrap) {
|
|
|
9493
9493
|
break;
|
|
9494
9494
|
}
|
|
9495
9495
|
}
|
|
9496
|
-
width._v = width._v + span.
|
|
9496
|
+
width._v = width._v + span.o4m() | 0;
|
|
9497
9497
|
line._v.x(span);
|
|
9498
9498
|
lastPieceWasWhitespace._v = pieceIsWhitespace;
|
|
9499
9499
|
}
|
|
9500
|
-
if (!$this.
|
|
9500
|
+
if (!$this.v4v_1.c4o_1) {
|
|
9501
9501
|
wrap$breakLine($this, align, line, width, wrapWidth, endStyle, lines, lastPieceWasWhitespace);
|
|
9502
9502
|
}
|
|
9503
9503
|
}
|
|
@@ -9509,13 +9509,13 @@ function wrap($this, wrapWidth, tabWidth, align, overflowWrap) {
|
|
|
9509
9509
|
}
|
|
9510
9510
|
function lastNonWhitespace($this, line, align) {
|
|
9511
9511
|
var tmp;
|
|
9512
|
-
if ($this.
|
|
9512
|
+
if ($this.v4v_1.f4o_1 || align.equals(TextAlign_JUSTIFY_getInstance())) {
|
|
9513
9513
|
var tmp$ret$1;
|
|
9514
9514
|
$l$block: {
|
|
9515
9515
|
// Inline function 'kotlin.collections.indexOfLast' call
|
|
9516
9516
|
var iterator = line.g1(line.a1());
|
|
9517
9517
|
while (iterator.p4()) {
|
|
9518
|
-
if (!iterator.r4().
|
|
9518
|
+
if (!iterator.r4().u4m()) {
|
|
9519
9519
|
tmp$ret$1 = iterator.q4();
|
|
9520
9520
|
break $l$block;
|
|
9521
9521
|
}
|
|
@@ -9553,14 +9553,14 @@ function alignLine($this, line, wrapWidth, width, align, endStyle) {
|
|
|
9553
9553
|
function alignLineLeft($this, line, extraWidth, endStyle) {
|
|
9554
9554
|
var tmp = Companion_instance_0;
|
|
9555
9555
|
var tmp156_safe_receiver = lastOrNull(line);
|
|
9556
|
-
var tmp0_elvis_lhs = tmp156_safe_receiver == null ? null : tmp156_safe_receiver.
|
|
9557
|
-
line.x(tmp.
|
|
9556
|
+
var tmp0_elvis_lhs = tmp156_safe_receiver == null ? null : tmp156_safe_receiver.b4k_1;
|
|
9557
|
+
line.x(tmp.p4m(extraWidth, tmp0_elvis_lhs == null ? endStyle : tmp0_elvis_lhs));
|
|
9558
9558
|
}
|
|
9559
9559
|
function alignLineRight($this, line, extraWidth, endStyle) {
|
|
9560
9560
|
var tmp = Companion_instance_0;
|
|
9561
9561
|
var tmp157_safe_receiver = firstOrNull(line);
|
|
9562
|
-
var tmp0_elvis_lhs = tmp157_safe_receiver == null ? null : tmp157_safe_receiver.
|
|
9563
|
-
line.x2(0, tmp.
|
|
9562
|
+
var tmp0_elvis_lhs = tmp157_safe_receiver == null ? null : tmp157_safe_receiver.b4k_1;
|
|
9563
|
+
line.x2(0, tmp.p4m(extraWidth, tmp0_elvis_lhs == null ? endStyle : tmp0_elvis_lhs));
|
|
9564
9564
|
}
|
|
9565
9565
|
function alignLineCenter($this, line, extraWidth, endStyle) {
|
|
9566
9566
|
var halfExtra = extraWidth / 2 | 0;
|
|
@@ -9587,7 +9587,7 @@ function justifyLine($this, line, extraWidth, endStyle) {
|
|
|
9587
9587
|
var _iterator__ex2g4s = line.t();
|
|
9588
9588
|
while (_iterator__ex2g4s.u()) {
|
|
9589
9589
|
var element = _iterator__ex2g4s.v();
|
|
9590
|
-
if (element.
|
|
9590
|
+
if (element.u4m()) {
|
|
9591
9591
|
count = count + 1 | 0;
|
|
9592
9592
|
checkCountOverflow(count);
|
|
9593
9593
|
}
|
|
@@ -9607,7 +9607,7 @@ function justifyLine($this, line, extraWidth, endStyle) {
|
|
|
9607
9607
|
var span = _iterator__ex2g4s_0.v();
|
|
9608
9608
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9609
9609
|
justifiedLine.x(span);
|
|
9610
|
-
if (!span.
|
|
9610
|
+
if (!span.u4m())
|
|
9611
9611
|
continue $l$loop_0;
|
|
9612
9612
|
var tmp_0;
|
|
9613
9613
|
var _unary__edvuaz = skipRemainder;
|
|
@@ -9620,13 +9620,13 @@ function justifyLine($this, line, extraWidth, endStyle) {
|
|
|
9620
9620
|
if (tmp_0)
|
|
9621
9621
|
continue $l$loop_0;
|
|
9622
9622
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9623
|
-
var element_0 = Companion_instance_0.
|
|
9623
|
+
var element_0 = Companion_instance_0.p4m(spaceSize + (skipRemainder < 0 ? 1 : 0) | 0, span.b4k_1);
|
|
9624
9624
|
justifiedLine.x(element_0);
|
|
9625
9625
|
}
|
|
9626
9626
|
return justifiedLine;
|
|
9627
9627
|
}
|
|
9628
9628
|
function wrap$breakLine(this$0, $align, line, width, $wrapWidth, endStyle, lines, lastPieceWasWhitespace) {
|
|
9629
|
-
if (this$0.
|
|
9629
|
+
if (this$0.v4v_1.f4o_1 || $align.equals(TextAlign_JUSTIFY_getInstance())) {
|
|
9630
9630
|
var lastNonWhitespace_0 = lastNonWhitespace(this$0, line._v, $align);
|
|
9631
9631
|
if (lastNonWhitespace_0 >= 0) {
|
|
9632
9632
|
// Inline function 'kotlin.repeat' call
|
|
@@ -9646,7 +9646,7 @@ function wrap$breakLine(this$0, $align, line, width, $wrapWidth, endStyle, lines
|
|
|
9646
9646
|
}
|
|
9647
9647
|
var tmp = line._v;
|
|
9648
9648
|
var tmp151_safe_receiver = lastOrNull(line._v);
|
|
9649
|
-
var tmp0_elvis_lhs = tmp151_safe_receiver == null ? null : tmp151_safe_receiver.
|
|
9649
|
+
var tmp0_elvis_lhs = tmp151_safe_receiver == null ? null : tmp151_safe_receiver.b4k_1;
|
|
9650
9650
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9651
9651
|
var element = new Line(tmp, tmp0_elvis_lhs == null ? endStyle._v : tmp0_elvis_lhs);
|
|
9652
9652
|
lines.x(element);
|
|
@@ -9656,7 +9656,7 @@ function wrap$breakLine(this$0, $align, line, width, $wrapWidth, endStyle, lines
|
|
|
9656
9656
|
lastPieceWasWhitespace._v = true;
|
|
9657
9657
|
}
|
|
9658
9658
|
function Text$toString$lambda(it) {
|
|
9659
|
-
return it.
|
|
9659
|
+
return it.a4k_1;
|
|
9660
9660
|
}
|
|
9661
9661
|
function Text(lines, whitespace, align, overflowWrap, width, tabWidth) {
|
|
9662
9662
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
@@ -9664,29 +9664,29 @@ function Text(lines, whitespace, align, overflowWrap, width, tabWidth) {
|
|
|
9664
9664
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
9665
9665
|
width = width === VOID ? null : width;
|
|
9666
9666
|
tabWidth = tabWidth === VOID ? null : tabWidth;
|
|
9667
|
-
this.
|
|
9668
|
-
this.
|
|
9669
|
-
this.
|
|
9670
|
-
this.
|
|
9671
|
-
this.
|
|
9672
|
-
this.
|
|
9667
|
+
this.u4v_1 = lines;
|
|
9668
|
+
this.v4v_1 = whitespace;
|
|
9669
|
+
this.w4v_1 = align;
|
|
9670
|
+
this.x4v_1 = overflowWrap;
|
|
9671
|
+
this.y4v_1 = width;
|
|
9672
|
+
this.z4v_1 = tabWidth;
|
|
9673
9673
|
// Inline function 'kotlin.require' call
|
|
9674
|
-
if (!(this.
|
|
9674
|
+
if (!(this.y4v_1 == null || this.y4v_1 >= 0)) {
|
|
9675
9675
|
var message = 'width cannot be negative';
|
|
9676
9676
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
9677
9677
|
}
|
|
9678
9678
|
// Inline function 'kotlin.require' call
|
|
9679
|
-
if (!(this.
|
|
9679
|
+
if (!(this.z4v_1 == null || this.z4v_1 >= 0)) {
|
|
9680
9680
|
var message_0 = 'tab width cannot be negative';
|
|
9681
9681
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
9682
9682
|
}
|
|
9683
9683
|
}
|
|
9684
|
-
protoOf(Text).
|
|
9685
|
-
var tmp0_elvis_lhs = this.
|
|
9684
|
+
protoOf(Text).g4o = function (t, width) {
|
|
9685
|
+
var tmp0_elvis_lhs = this.y4v_1;
|
|
9686
9686
|
var tmp = tmp0_elvis_lhs == null ? width : tmp0_elvis_lhs;
|
|
9687
|
-
var tmp1_elvis_lhs = this.
|
|
9688
|
-
var lines = wrap(this, tmp, tmp1_elvis_lhs == null ? t.
|
|
9689
|
-
var tmp0 = lines.
|
|
9687
|
+
var tmp1_elvis_lhs = this.z4v_1;
|
|
9688
|
+
var lines = wrap(this, tmp, tmp1_elvis_lhs == null ? t.k4o_1 : tmp1_elvis_lhs, TextAlign_NONE_getInstance(), OverflowWrap_NORMAL_getInstance());
|
|
9689
|
+
var tmp0 = lines.x4j_1;
|
|
9690
9690
|
var tmp$ret$0;
|
|
9691
9691
|
$l$block: {
|
|
9692
9692
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -9701,7 +9701,7 @@ protoOf(Text).d4o = function (t, width) {
|
|
|
9701
9701
|
while (_iterator__ex2g4s.u()) {
|
|
9702
9702
|
var element = _iterator__ex2g4s.v();
|
|
9703
9703
|
var tmp_0 = sum;
|
|
9704
|
-
sum = tmp_0 + element.
|
|
9704
|
+
sum = tmp_0 + element.o4m() | 0;
|
|
9705
9705
|
}
|
|
9706
9706
|
var maxValue = sum;
|
|
9707
9707
|
while (iterator.u()) {
|
|
@@ -9711,7 +9711,7 @@ protoOf(Text).d4o = function (t, width) {
|
|
|
9711
9711
|
while (_iterator__ex2g4s_0.u()) {
|
|
9712
9712
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
9713
9713
|
var tmp_1 = sum_0;
|
|
9714
|
-
sum_0 = tmp_1 + element_0.
|
|
9714
|
+
sum_0 = tmp_1 + element_0.o4m() | 0;
|
|
9715
9715
|
}
|
|
9716
9716
|
var v = sum_0;
|
|
9717
9717
|
if (compareTo(maxValue, v) < 0) {
|
|
@@ -9723,8 +9723,8 @@ protoOf(Text).d4o = function (t, width) {
|
|
|
9723
9723
|
var tmp2_elvis_lhs = tmp$ret$0;
|
|
9724
9724
|
var max = tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs;
|
|
9725
9725
|
var tmp_2;
|
|
9726
|
-
if (this.
|
|
9727
|
-
var tmp0_0 = lines.
|
|
9726
|
+
if (this.v4v_1.e4o_1) {
|
|
9727
|
+
var tmp0_0 = lines.x4j_1;
|
|
9728
9728
|
var tmp$ret$7;
|
|
9729
9729
|
$l$block_0: {
|
|
9730
9730
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -9742,9 +9742,9 @@ protoOf(Text).d4o = function (t, width) {
|
|
|
9742
9742
|
tmp$ret$8 = null;
|
|
9743
9743
|
break $l$block_1;
|
|
9744
9744
|
}
|
|
9745
|
-
var maxValue_0 = iterator_1.v().
|
|
9745
|
+
var maxValue_0 = iterator_1.v().o4m();
|
|
9746
9746
|
while (iterator_1.u()) {
|
|
9747
|
-
var v_0 = iterator_1.v().
|
|
9747
|
+
var v_0 = iterator_1.v().o4m();
|
|
9748
9748
|
if (compareTo(maxValue_0, v_0) < 0) {
|
|
9749
9749
|
maxValue_0 = v_0;
|
|
9750
9750
|
}
|
|
@@ -9763,9 +9763,9 @@ protoOf(Text).d4o = function (t, width) {
|
|
|
9763
9763
|
tmp$ret$12 = null;
|
|
9764
9764
|
break $l$block_2;
|
|
9765
9765
|
}
|
|
9766
|
-
var maxValue_2 = iterator_2.v().
|
|
9766
|
+
var maxValue_2 = iterator_2.v().o4m();
|
|
9767
9767
|
while (iterator_2.u()) {
|
|
9768
|
-
var v_1 = iterator_2.v().
|
|
9768
|
+
var v_1 = iterator_2.v().o4m();
|
|
9769
9769
|
if (compareTo(maxValue_2, v_1) < 0) {
|
|
9770
9770
|
maxValue_2 = v_1;
|
|
9771
9771
|
}
|
|
@@ -9788,14 +9788,14 @@ protoOf(Text).d4o = function (t, width) {
|
|
|
9788
9788
|
var min = tmp_2;
|
|
9789
9789
|
return new WidthRange(min, max);
|
|
9790
9790
|
};
|
|
9791
|
-
protoOf(Text).
|
|
9792
|
-
var tmp0_elvis_lhs = this.
|
|
9791
|
+
protoOf(Text).h4o = function (t, width) {
|
|
9792
|
+
var tmp0_elvis_lhs = this.y4v_1;
|
|
9793
9793
|
var tmp = tmp0_elvis_lhs == null ? width : tmp0_elvis_lhs;
|
|
9794
|
-
var tmp1_elvis_lhs = this.
|
|
9795
|
-
return wrap(this, tmp, tmp1_elvis_lhs == null ? t.
|
|
9794
|
+
var tmp1_elvis_lhs = this.z4v_1;
|
|
9795
|
+
return wrap(this, tmp, tmp1_elvis_lhs == null ? t.k4o_1 : tmp1_elvis_lhs, this.w4v_1, this.x4v_1);
|
|
9796
9796
|
};
|
|
9797
9797
|
protoOf(Text).toString = function () {
|
|
9798
|
-
var tmp = flatten(this.
|
|
9798
|
+
var tmp = flatten(this.u4v_1.x4j_1);
|
|
9799
9799
|
var plain = joinToString(tmp, '', VOID, VOID, VOID, VOID, Text$toString$lambda);
|
|
9800
9800
|
return 'Text(' + take(plain, 25) + (plain.length > 25 ? '\u2026' : '') + ')';
|
|
9801
9801
|
};
|
|
@@ -9807,19 +9807,19 @@ function getStandardTerminalInterface() {
|
|
|
9807
9807
|
return tmp0_elvis_lhs == null ? TerminalInterfaceBrowser_getInstance() : tmp0_elvis_lhs;
|
|
9808
9808
|
}
|
|
9809
9809
|
function getEnv(key) {
|
|
9810
|
-
return get_impls().
|
|
9810
|
+
return get_impls().a4w(key);
|
|
9811
9811
|
}
|
|
9812
9812
|
function exitProcessMpp(status) {
|
|
9813
|
-
return get_impls().
|
|
9813
|
+
return get_impls().b4l(status);
|
|
9814
9814
|
}
|
|
9815
9815
|
function readFileIfExists(filename) {
|
|
9816
|
-
return get_impls().
|
|
9816
|
+
return get_impls().b4w(filename);
|
|
9817
9817
|
}
|
|
9818
9818
|
function MppAtomicRef(value) {
|
|
9819
9819
|
return new JsAtomicRef(value);
|
|
9820
9820
|
}
|
|
9821
9821
|
function makePrintingTerminalCursor(terminal) {
|
|
9822
|
-
return get_impls().
|
|
9822
|
+
return get_impls().c4w(terminal);
|
|
9823
9823
|
}
|
|
9824
9824
|
function sendInterceptedPrintRequest(request, terminalInterface, interceptors) {
|
|
9825
9825
|
// Inline function 'kotlin.collections.fold' call
|
|
@@ -9828,17 +9828,17 @@ function sendInterceptedPrintRequest(request, terminalInterface, interceptors) {
|
|
|
9828
9828
|
while (_iterator__ex2g4s.u()) {
|
|
9829
9829
|
var element = _iterator__ex2g4s.v();
|
|
9830
9830
|
var acc = accumulator;
|
|
9831
|
-
accumulator = element.
|
|
9831
|
+
accumulator = element.d4w(acc);
|
|
9832
9832
|
}
|
|
9833
9833
|
var tmp$ret$1 = accumulator;
|
|
9834
|
-
terminalInterface.
|
|
9834
|
+
terminalInterface.g4u(tmp$ret$1);
|
|
9835
9835
|
}
|
|
9836
9836
|
function JsAtomicInt(initial) {
|
|
9837
|
-
this.
|
|
9837
|
+
this.e4w_1 = initial;
|
|
9838
9838
|
}
|
|
9839
|
-
protoOf(JsAtomicInt).
|
|
9840
|
-
var _unary__edvuaz = this.
|
|
9841
|
-
this.
|
|
9839
|
+
protoOf(JsAtomicInt).p4k = function () {
|
|
9840
|
+
var _unary__edvuaz = this.e4w_1;
|
|
9841
|
+
this.e4w_1 = _unary__edvuaz + 1 | 0;
|
|
9842
9842
|
return _unary__edvuaz;
|
|
9843
9843
|
};
|
|
9844
9844
|
function get_impls() {
|
|
@@ -9846,19 +9846,19 @@ function get_impls() {
|
|
|
9846
9846
|
return tmp instanceof TerminalInterfaceJsCommon ? tmp : THROW_CCE();
|
|
9847
9847
|
}
|
|
9848
9848
|
function JsAtomicRef(value) {
|
|
9849
|
-
this.
|
|
9849
|
+
this.f4w_1 = value;
|
|
9850
9850
|
}
|
|
9851
9851
|
protoOf(JsAtomicRef).l1 = function () {
|
|
9852
|
-
return this.
|
|
9852
|
+
return this.f4w_1;
|
|
9853
9853
|
};
|
|
9854
|
-
protoOf(JsAtomicRef).
|
|
9855
|
-
if (!equals(this.
|
|
9854
|
+
protoOf(JsAtomicRef).t4u = function (expected, newValue) {
|
|
9855
|
+
if (!equals(this.f4w_1, expected))
|
|
9856
9856
|
return false;
|
|
9857
|
-
this.
|
|
9857
|
+
this.f4w_1 = newValue;
|
|
9858
9858
|
return true;
|
|
9859
9859
|
};
|
|
9860
9860
|
function printStderr(message, newline) {
|
|
9861
|
-
get_impls().
|
|
9861
|
+
get_impls().g4w(message, newline);
|
|
9862
9862
|
}
|
|
9863
9863
|
function runningInIdeaJavaAgent() {
|
|
9864
9864
|
return false;
|
|
@@ -9870,27 +9870,27 @@ function TerminalInterfaceBrowser() {
|
|
|
9870
9870
|
TerminalInterfaceBrowser_instance = this;
|
|
9871
9871
|
TerminalInterfaceJsCommon.call(this);
|
|
9872
9872
|
}
|
|
9873
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9873
|
+
protoOf(TerminalInterfaceBrowser).a4w = function (key) {
|
|
9874
9874
|
return null;
|
|
9875
9875
|
};
|
|
9876
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9876
|
+
protoOf(TerminalInterfaceBrowser).e4u = function () {
|
|
9877
9877
|
return false;
|
|
9878
9878
|
};
|
|
9879
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9879
|
+
protoOf(TerminalInterfaceBrowser).d4u = function () {
|
|
9880
9880
|
return false;
|
|
9881
9881
|
};
|
|
9882
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9882
|
+
protoOf(TerminalInterfaceBrowser).k4u = function () {
|
|
9883
9883
|
return null;
|
|
9884
9884
|
};
|
|
9885
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9885
|
+
protoOf(TerminalInterfaceBrowser).g4w = function (message, newline) {
|
|
9886
9886
|
return browserPrintln(message);
|
|
9887
9887
|
};
|
|
9888
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9888
|
+
protoOf(TerminalInterfaceBrowser).b4l = function (status) {
|
|
9889
9889
|
};
|
|
9890
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9890
|
+
protoOf(TerminalInterfaceBrowser).c4w = function (terminal) {
|
|
9891
9891
|
return new BrowserTerminalCursor(terminal);
|
|
9892
9892
|
};
|
|
9893
|
-
protoOf(TerminalInterfaceBrowser).
|
|
9893
|
+
protoOf(TerminalInterfaceBrowser).b4w = function (filename) {
|
|
9894
9894
|
return null;
|
|
9895
9895
|
};
|
|
9896
9896
|
var TerminalInterfaceBrowser_instance;
|
|
@@ -9983,24 +9983,24 @@ function codepointSequence$lambda($it) {
|
|
|
9983
9983
|
}
|
|
9984
9984
|
function TerminalInterfaceJsNode(fs) {
|
|
9985
9985
|
TerminalInterfaceNode.call(this);
|
|
9986
|
-
this.
|
|
9986
|
+
this.h4w_1 = fs;
|
|
9987
9987
|
}
|
|
9988
|
-
protoOf(TerminalInterfaceJsNode).
|
|
9988
|
+
protoOf(TerminalInterfaceJsNode).a4w = function (key) {
|
|
9989
9989
|
var tmp = process.env[key];
|
|
9990
9990
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
9991
9991
|
};
|
|
9992
|
-
protoOf(TerminalInterfaceJsNode).
|
|
9992
|
+
protoOf(TerminalInterfaceJsNode).e4u = function () {
|
|
9993
9993
|
var tmp = Boolean(process.stdout.isTTY);
|
|
9994
9994
|
return (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE();
|
|
9995
9995
|
};
|
|
9996
|
-
protoOf(TerminalInterfaceJsNode).
|
|
9996
|
+
protoOf(TerminalInterfaceJsNode).d4u = function () {
|
|
9997
9997
|
var tmp = Boolean(process.stdin.isTTY);
|
|
9998
9998
|
return (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE();
|
|
9999
9999
|
};
|
|
10000
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10000
|
+
protoOf(TerminalInterfaceJsNode).b4l = function (status) {
|
|
10001
10001
|
process.exit(status);
|
|
10002
10002
|
};
|
|
10003
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10003
|
+
protoOf(TerminalInterfaceJsNode).k4u = function () {
|
|
10004
10004
|
if (process.stdout.getWindowSize == undefined)
|
|
10005
10005
|
return null;
|
|
10006
10006
|
var s = process.stdout.getWindowSize();
|
|
@@ -10009,34 +10009,34 @@ protoOf(TerminalInterfaceJsNode).h4u = function () {
|
|
|
10009
10009
|
var tmp_1 = s[1];
|
|
10010
10010
|
return new Size(tmp_0, (!(tmp_1 == null) ? typeof tmp_1 === 'number' : false) ? tmp_1 : THROW_CCE());
|
|
10011
10011
|
};
|
|
10012
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10012
|
+
protoOf(TerminalInterfaceJsNode).g4w = function (message, newline) {
|
|
10013
10013
|
process.stderr.write(newline ? message + '\n' : message);
|
|
10014
10014
|
};
|
|
10015
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10015
|
+
protoOf(TerminalInterfaceJsNode).c4w = function (terminal) {
|
|
10016
10016
|
return new NodeTerminalCursor(terminal);
|
|
10017
10017
|
};
|
|
10018
|
-
protoOf(TerminalInterfaceJsNode).
|
|
10019
|
-
var tmp = this.
|
|
10018
|
+
protoOf(TerminalInterfaceJsNode).b4w = function (filename) {
|
|
10019
|
+
var tmp = this.h4w_1.readFileSync(filename, 'utf-8');
|
|
10020
10020
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
10021
10021
|
};
|
|
10022
10022
|
function NodeTerminalCursor(terminal) {
|
|
10023
10023
|
PrintTerminalCursor.call(this, terminal);
|
|
10024
|
-
this.
|
|
10024
|
+
this.j4w_1 = null;
|
|
10025
10025
|
}
|
|
10026
10026
|
//region block: post-declaration
|
|
10027
|
-
protoOf(TxtStyle).
|
|
10028
|
-
protoOf(TxtStyle).
|
|
10029
|
-
protoOf(Table).
|
|
10030
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
10031
|
-
protoOf(VerticalLayoutBuilderInstance).
|
|
10032
|
-
protoOf(CellStyleBuilderMixin).
|
|
10033
|
-
protoOf(VerticalLayout).
|
|
10034
|
-
protoOf(StandardTerminalInterface).
|
|
10035
|
-
protoOf(StandardTerminalInterface).
|
|
10036
|
-
protoOf(DefinitionList).
|
|
10037
|
-
protoOf(EmptyWidget).
|
|
10038
|
-
protoOf(Padded).
|
|
10039
|
-
protoOf(Text).
|
|
10027
|
+
protoOf(TxtStyle).b4e = invoke;
|
|
10028
|
+
protoOf(TxtStyle).n4k = plus_1;
|
|
10029
|
+
protoOf(Table).i4o = render$default;
|
|
10030
|
+
protoOf(VerticalLayoutBuilderInstance).m4r = cellsFrom$default;
|
|
10031
|
+
protoOf(VerticalLayoutBuilderInstance).o4r = cell$default;
|
|
10032
|
+
protoOf(CellStyleBuilderMixin).v4r = padding;
|
|
10033
|
+
protoOf(VerticalLayout).i4o = render$default;
|
|
10034
|
+
protoOf(StandardTerminalInterface).k4u = getTerminalSize;
|
|
10035
|
+
protoOf(StandardTerminalInterface).l4u = shouldAutoUpdateSize;
|
|
10036
|
+
protoOf(DefinitionList).i4o = render$default;
|
|
10037
|
+
protoOf(EmptyWidget).i4o = render$default;
|
|
10038
|
+
protoOf(Padded).i4o = render$default;
|
|
10039
|
+
protoOf(Text).i4o = render$default;
|
|
10040
10040
|
//endregion
|
|
10041
10041
|
//region block: init
|
|
10042
10042
|
MultiplatformSystem_instance = new MultiplatformSystem();
|