UNPKG

git-digger

Version:

![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/robertfmurdock/ze-great-tools?label=Release) ![NPM Version](https://img.shields.io/npm/v/git-digger?label=npm%20git-digger)

1,285 lines (1,267 loc) 487 kB
(function (_, kotlin_kotlin, kotlin_colormath_root_colormath) { 'use strict'; //region block: imports var imul = Math.imul; var numberRangeToNumber = kotlin_kotlin.$_$.l8; var protoOf = kotlin_kotlin.$_$.r8; var initMetadataForObject = kotlin_kotlin.$_$.x7; var charSequenceLength = kotlin_kotlin.$_$.j7; var equals = kotlin_kotlin.$_$.m7; var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l; var addAll = kotlin_kotlin.$_$.x3; var Unit_instance = kotlin_kotlin.$_$.j3; var joinToString = kotlin_kotlin.$_$.z4; var isInterface = kotlin_kotlin.$_$.g8; var listOf = kotlin_kotlin.$_$.j5; var Ansi256 = kotlin_colormath_root_colormath.$_$.b; var listOf_0 = kotlin_kotlin.$_$.i5; var Ansi16 = kotlin_colormath_root_colormath.$_$.a; var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.w; var noWhenBranchMatchedException = kotlin_kotlin.$_$.tc; var get_lastIndex = kotlin_kotlin.$_$.ma; var emptyList = kotlin_kotlin.$_$.o4; var Regex_init_$Create$ = kotlin_kotlin.$_$.t; var startsWith = kotlin_kotlin.$_$.ya; var split = kotlin_kotlin.$_$.xa; var last = kotlin_kotlin.$_$.f5; var isBlank = kotlin_kotlin.$_$.ja; var drop = kotlin_kotlin.$_$.da; var VOID = kotlin_kotlin.$_$.g; var endsWith = kotlin_kotlin.$_$.ea; var charSequenceSubSequence = kotlin_kotlin.$_$.k7; var toIntOrNull = kotlin_kotlin.$_$.db; var get_lastIndex_0 = kotlin_kotlin.$_$.c5; var getOrNull = kotlin_kotlin.$_$.v4; var to = kotlin_kotlin.$_$.xc; var Companion_getInstance = kotlin_colormath_root_colormath.$_$.c; var toList = kotlin_kotlin.$_$.l6; var toString = kotlin_kotlin.$_$.u8; var getStringHashCode = kotlin_kotlin.$_$.q7; var hashCode = kotlin_kotlin.$_$.r7; var THROW_CCE = kotlin_kotlin.$_$.zb; var initMetadataForClass = kotlin_kotlin.$_$.s7; var toList_0 = kotlin_kotlin.$_$.x9; var charSequenceGet = kotlin_kotlin.$_$.i7; var isWhitespace = kotlin_kotlin.$_$.la; var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.q1; var lastOrNull = kotlin_kotlin.$_$.e5; var get_lastIndex_1 = kotlin_kotlin.$_$.d5; var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.s; var mutableMapOf = kotlin_kotlin.$_$.p5; var objectCreate = kotlin_kotlin.$_$.q8; var get_lastIndex_2 = kotlin_kotlin.$_$.b5; var last_0 = kotlin_kotlin.$_$.g5; var Enum = kotlin_kotlin.$_$.rb; var initMetadataForCompanion = kotlin_kotlin.$_$.t7; var toString_0 = kotlin_kotlin.$_$.t1; var collectionSizeOrDefault = kotlin_kotlin.$_$.g4; var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k; var KtList = kotlin_kotlin.$_$.q3; var Collection = kotlin_kotlin.$_$.l3; var toString_1 = kotlin_kotlin.$_$.wc; var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.h1; var checkBuilderCapacity = kotlin_kotlin.$_$.d4; var coerceAtLeast = kotlin_kotlin.$_$.y8; var coerceAtMost = kotlin_kotlin.$_$.a9; var plus = kotlin_kotlin.$_$.t5; var firstOrNull = kotlin_kotlin.$_$.r4; var plus_0 = kotlin_kotlin.$_$.u5; var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.d1; var contains = kotlin_kotlin.$_$.ba; var repeat = kotlin_kotlin.$_$.ta; var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.j; var lazy = kotlin_kotlin.$_$.rc; var take = kotlin_kotlin.$_$.cb; var KProperty1 = kotlin_kotlin.$_$.i9; var getPropertyCallableRef = kotlin_kotlin.$_$.p7; var initMetadataForInterface = kotlin_kotlin.$_$.v7; var getBooleanHashCode = kotlin_kotlin.$_$.n7; var mapOf = kotlin_kotlin.$_$.l5; var emptyMap = kotlin_kotlin.$_$.p4; var toMutableMap = kotlin_kotlin.$_$.p6; var compareTo = kotlin_kotlin.$_$.l7; var withIndex = kotlin_kotlin.$_$.t6; var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.r; var mapCapacity = kotlin_kotlin.$_$.k5; var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.q; var sortedWith = kotlin_kotlin.$_$.d6; var coerceIn = kotlin_kotlin.$_$.c9; var ensureNotNull = kotlin_kotlin.$_$.oc; var zip = kotlin_kotlin.$_$.u6; var numberToInt = kotlin_kotlin.$_$.o8; var sum = kotlin_kotlin.$_$.f6; var FunctionAdapter = kotlin_kotlin.$_$.d7; var Comparator = kotlin_kotlin.$_$.qb; var compareValues = kotlin_kotlin.$_$.w6; var until = kotlin_kotlin.$_$.d9; var get_indices = kotlin_kotlin.$_$.y4; var checkCountOverflow = kotlin_kotlin.$_$.e4; var checkIndexOverflow = kotlin_kotlin.$_$.f4; var getNumberHashCode = kotlin_kotlin.$_$.o7; var asList = kotlin_kotlin.$_$.y3; var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.j1; var flatten = kotlin_kotlin.$_$.u4; var print = kotlin_kotlin.$_$.c7; var println = kotlin_kotlin.$_$.a7; var println_0 = kotlin_kotlin.$_$.b7; var toInt = kotlin_kotlin.$_$.eb; var drop_0 = kotlin_kotlin.$_$.n4; var chunked = kotlin_kotlin.$_$.z9; var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.f1; var Exception = kotlin_kotlin.$_$.sb; var generateSequence = kotlin_kotlin.$_$.p9; //endregion //region block: pre-declaration initMetadataForObject(AnsiCodes, 'AnsiCodes'); initMetadataForClass(Chunk, 'Chunk'); initMetadataForClass(CellWidthTableEntry, 'CellWidthTableEntry'); initMetadataForClass(IntTrie, 'IntTrie'); initMetadataForObject(MultiplatformSystem, 'MultiplatformSystem'); initMetadataForClass(TextAlign, 'TextAlign', VOID, Enum); initMetadataForClass(VerticalAlign, 'VerticalAlign', VOID, Enum); initMetadataForCompanion(Companion); initMetadataForClass(BorderType, 'BorderType'); initMetadataForClass(BorderTypeSection, 'BorderTypeSection'); initMetadataForClass(Lines, 'Lines'); initMetadataForClass(Line, 'Line', VOID, VOID, [KtList]); initMetadataForClass(OverflowWrap, 'OverflowWrap', VOID, Enum); initMetadataForClass(Size, 'Size'); initMetadataForCompanion(Companion_0); initMetadataForClass(Span, 'Span'); initMetadataForClass(AnsiLevel, 'AnsiLevel', VOID, Enum); function invoke(text) { return invokeStyle(this, text); } function plus_1(other) { var tmp; if (this === get_DEFAULT_STYLE()) { tmp = other; } else if (other === get_DEFAULT_STYLE()) { tmp = this; } else { var tmp0_elvis_lhs = other.s24(); var tmp_0 = tmp0_elvis_lhs == null ? this.s24() : tmp0_elvis_lhs; var tmp1_elvis_lhs = other.t24(); var tmp_1 = tmp1_elvis_lhs == null ? this.t24() : tmp1_elvis_lhs; var tmp2_elvis_lhs = other.y24(); var tmp_2 = tmp2_elvis_lhs == null ? this.y24() : tmp2_elvis_lhs; var tmp3_elvis_lhs = other.u24(); var tmp_3 = tmp3_elvis_lhs == null ? this.u24() : tmp3_elvis_lhs; var tmp4_elvis_lhs = other.v24(); var tmp_4 = tmp4_elvis_lhs == null ? this.v24() : tmp4_elvis_lhs; var tmp5_elvis_lhs = other.z24(); var tmp_5 = tmp5_elvis_lhs == null ? this.z24() : tmp5_elvis_lhs; var tmp6_elvis_lhs = other.w24(); var tmp_6 = tmp6_elvis_lhs == null ? this.w24() : tmp6_elvis_lhs; var tmp7_elvis_lhs = other.x24(); var tmp_7 = tmp7_elvis_lhs == null ? this.x24() : tmp7_elvis_lhs; var tmp8_elvis_lhs = other.a25(); var tmp_8 = tmp8_elvis_lhs == null ? this.a25() : tmp8_elvis_lhs; var tmp9_elvis_lhs = other.b25(); 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.b25() : tmp9_elvis_lhs); } return tmp; } initMetadataForInterface(TextStyle, 'TextStyle'); initMetadataForClass(TxtStyle, 'TxtStyle', VOID, VOID, [TextStyle]); initMetadataForCompanion(Companion_1); initMetadataForClass(Theme, 'Theme'); initMetadataForClass(BuiltTheme, 'BuiltTheme', VOID, Theme); initMetadataForClass(ThemeBuilder, 'ThemeBuilder'); initMetadataForClass(Whitespace, 'Whitespace', VOID, Enum); function render$default(t, width, $super) { width = width === VOID ? t.s().o27_1 : width; return $super === VOID ? this.d29(t, width) : $super.d29.call(this, t, width); } initMetadataForInterface(Widget, 'Widget'); initMetadataForClass(WidthRange, 'WidthRange'); initMetadataForClass(Borders, 'Borders', VOID, Enum); initMetadataForClass(Cell, 'Cell'); initMetadataForObject(Empty, 'Empty', VOID, Cell); initMetadataForClass(SpanRef, 'SpanRef', VOID, Cell); initMetadataForClass(Content, 'Content', VOID, Cell); initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]); initMetadataForClass(Table, 'Table', VOID, VOID, [Widget]); initMetadataForClass(TableImpl, 'TableImpl', VOID, Table); initMetadataForClass(TableRenderer, 'TableRenderer'); function cellsFrom$default(cells, init, $super) { var tmp; if (init === VOID) { tmp = LinearLayoutBuilder$cellsFrom$lambda; } else { tmp = init; } init = tmp; var tmp_0; if ($super === VOID) { this.h2c(cells, init); tmp_0 = Unit_instance; } else { tmp_0 = $super.h2c.call(this, cells, init); } return tmp_0; } function cell$default(content, init, $super) { var tmp; if (init === VOID) { tmp = LinearLayoutBuilder$cell$lambda; } else { tmp = init; } init = tmp; var tmp_0; if ($super === VOID) { this.j2c(content, init); tmp_0 = Unit_instance; } else { tmp_0 = $super.j2c.call(this, content, init); } return tmp_0; } initMetadataForInterface(LinearLayoutBuilder, 'LinearLayoutBuilder'); initMetadataForCompanion(Companion_2); initMetadataForClass(ColumnWidth, 'ColumnWidth'); function padding(all) { this.p2c(Padding_init_$Create$(all)); } initMetadataForInterface(CellStyleBuilder, 'CellStyleBuilder'); initMetadataForClass(VerticalLayoutBuilderInstance, 'VerticalLayoutBuilderInstance', VerticalLayoutBuilderInstance, VOID, [LinearLayoutBuilder]); initMetadataForClass(TableBuilderInstance, 'TableBuilderInstance', TableBuilderInstance, VOID, [CellStyleBuilder]); initMetadataForClass(SectionBuilderInstance, 'SectionBuilderInstance', SectionBuilderInstance, VOID, [CellStyleBuilder]); initMetadataForClass(CellStyleBuilderMixin, 'CellStyleBuilderMixin', CellStyleBuilderMixin, VOID, [CellStyleBuilder]); initMetadataForClass(RowBuilderInstance, 'RowBuilderInstance', VOID, VOID, [CellStyleBuilder]); initMetadataForClass(CellBuilderInstance, 'CellBuilderInstance', VOID, VOID, [CellStyleBuilder]); initMetadataForClass(CellContent, 'CellContent'); initMetadataForClass(WidgetContent, 'WidgetContent', VOID, CellContent); initMetadataForClass(TextContent, 'TextContent', VOID, CellContent); initMetadataForClass(TableLayout, 'TableLayout'); initMetadataForCompanion(Companion_3); initMetadataForClass(VerticalLayout, 'VerticalLayout', VOID, VOID, [Widget]); initMetadataForClass(VerticalLayoutCell, 'VerticalLayoutCell'); function getTerminalSize() { return null; } function shouldAutoUpdateSize() { return true; } initMetadataForInterface(TerminalInterface, 'TerminalInterface'); initMetadataForClass(StandardTerminalInterface, 'StandardTerminalInterface', VOID, VOID, [TerminalInterface]); initMetadataForClass(Terminal, 'Terminal', Terminal_init_$Create$); initMetadataForClass(PrintTerminalCursor, 'PrintTerminalCursor'); initMetadataForObject(DisabledTerminalCursor, 'DisabledTerminalCursor'); initMetadataForObject(TerminalDetection, 'TerminalDetection'); initMetadataForClass(TerminalInfo, 'TerminalInfo'); initMetadataForClass(PrintRequest, 'PrintRequest'); initMetadataForClass(DefinitionListBuilder, 'DefinitionListBuilder', DefinitionListBuilder); initMetadataForClass(DefinitionList, 'DefinitionList', VOID, VOID, [Widget]); initMetadataForObject(EmptyWidget, 'EmptyWidget', VOID, VOID, [Widget]); initMetadataForCompanion(Companion_4); initMetadataForClass(Builder, 'Builder'); initMetadataForClass(Padding, 'Padding'); initMetadataForCompanion(Companion_5); initMetadataForClass(Padded, 'Padded', VOID, VOID, [Widget]); initMetadataForClass(Text, 'Text', VOID, VOID, [Widget]); initMetadataForClass(JsAtomicInt, 'JsAtomicInt'); initMetadataForClass(JsAtomicRef, 'JsAtomicRef'); initMetadataForClass(TerminalInterfaceJsCommon, 'TerminalInterfaceJsCommon', VOID, StandardTerminalInterface); initMetadataForObject(TerminalInterfaceBrowser, 'TerminalInterfaceBrowser', VOID, TerminalInterfaceJsCommon); initMetadataForClass(BrowserTerminalCursor, 'BrowserTerminalCursor', VOID, PrintTerminalCursor); initMetadataForClass(TerminalInterfaceNode, 'TerminalInterfaceNode', VOID, TerminalInterfaceJsCommon); initMetadataForClass(TerminalInterfaceJsNode, 'TerminalInterfaceJsNode', VOID, TerminalInterfaceNode); initMetadataForClass(NodeTerminalCursor, 'NodeTerminalCursor', VOID, PrintTerminalCursor); //endregion function AnsiCodes() { AnsiCodes_instance = this; this.u23_1 = numberRangeToNumber(30, 37); this.v23_1 = numberRangeToNumber(90, 97); this.w23_1 = 38; this.x23_1 = 39; this.y23_1 = 10; this.z23_1 = numberRangeToNumber(40, 47); this.a24_1 = numberRangeToNumber(100, 107); this.b24_1 = 48; this.c24_1 = 49; this.d24_1 = 5; this.e24_1 = 2; this.f24_1 = 58; this.g24_1 = 0; this.h24_1 = 1; this.i24_1 = 22; this.j24_1 = 2; this.k24_1 = 3; this.l24_1 = 23; this.m24_1 = 4; this.n24_1 = 24; this.o24_1 = 7; this.p24_1 = 27; this.q24_1 = 9; this.r24_1 = 29; } var AnsiCodes_instance; function AnsiCodes_getInstance() { if (AnsiCodes_instance == null) new AnsiCodes(); return AnsiCodes_instance; } function invokeStyle(_this__u8e3s4, text) { // Inline function 'kotlin.text.isEmpty' call if (charSequenceLength(text) === 0) return ''; var openStyle = {_v: _this__u8e3s4}; var style = {_v: _this__u8e3s4}; var tmp = get_ANSI_RE(); var inner = tmp.jc(text, invokeStyle$lambda(text, style, _this__u8e3s4, openStyle)); return makeTag(get_DEFAULT_STYLE(), openStyle._v) + inner + makeTag(style._v, get_DEFAULT_STYLE()); } function makeTag(old, new_0) { if (equals(old, new_0)) return ''; // Inline function 'kotlin.collections.mutableListOf' call var codes = ArrayList_init_$Create$(); if (!equals(old.s24(), new_0.s24())) { // Inline function 'kotlin.collections.plusAssign' call var elements = toAnsi(new_0.s24(), 38, 39, 0); addAll(codes, elements); } if (!equals(old.t24(), new_0.t24())) { // Inline function 'kotlin.collections.plusAssign' call var elements_0 = toAnsi(new_0.t24(), 48, 49, 10); addAll(codes, elements_0); } makeTag$style(codes, old.u24(), new_0.u24(), 3, 23); makeTag$style(codes, old.v24(), new_0.v24(), 4, 24); makeTag$style(codes, old.w24(), new_0.w24(), 7, 27); makeTag$style(codes, old.x24(), new_0.x24(), 9, 29); if (old.y24() === true && !(new_0.y24() === true) || (old.z24() === true && !(new_0.z24() === true))) { // Inline function 'kotlin.collections.plusAssign' call codes.e(22); if (new_0.y24() === true) { // Inline function 'kotlin.collections.plusAssign' call codes.e(1); } if (new_0.z24() === true) { // Inline function 'kotlin.collections.plusAssign' call codes.e(2); } } else { makeTag$style(codes, old.y24(), new_0.y24(), 1, 22); makeTag$style(codes, old.z24(), new_0.z24(), 2, 22); } var csi = codes.m() ? '' : joinToString(codes, ';', '\x1B[', 'm'); var tmp; if (!(old.a25() == new_0.a25()) && !(new_0.a25() === '__mordant_reset__')) { tmp = csi + makeHyperlinkTag(new_0.a25(), new_0.b25()); } else { tmp = csi; } return tmp; } function toAnsi(_this__u8e3s4, select, reset, offset) { var tmp34_safe_receiver = (!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, TextStyle) : false) ? _this__u8e3s4 : null; var tmp0_elvis_lhs = tmp34_safe_receiver == null ? null : tmp34_safe_receiver.s24(); var it = tmp0_elvis_lhs == null ? _this__u8e3s4 : tmp0_elvis_lhs; var tmp; if (it == null) { tmp = listOf_0(reset); } else { if (it instanceof Ansi16) { switch (it.z1z_1) { case 39: case 49: tmp = listOf_0(reset); break; default: tmp = listOf_0(it.z1z_1 + offset | 0); break; } } else { if (it instanceof Ansi256) { tmp = listOf([select, 5, it.d20_1]); } else { // Inline function 'kotlin.run' call var $this$run = it.b1z().k22(); tmp = listOf([select, 2, $this$run.y21(), $this$run.z21(), $this$run.a22()]); } } } return tmp; } function makeHyperlinkTag(hyperlink, hyperlinkId) { if (hyperlink == null) return '\x1B]8;;\x1B\\'; var tmp; if (hyperlinkId == null) { tmp = null; } else { // Inline function 'kotlin.let' call tmp = 'id=' + hyperlinkId; } var tmp0_elvis_lhs = tmp; var id = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs; return '\x1B]8;' + id + ';' + hyperlink + '\x1B\\'; } function renderLinesAnsi(lines, level, hyperlinks) { // Inline function 'kotlin.text.buildString' call // Inline function 'kotlin.apply' call var this_0 = StringBuilder_init_$Create$(); var iterator = lines.c25_1.p(); var index = 0; while (iterator.q()) { var i = index; index = index + 1 | 0; var line = iterator.r(); if (i > 0) { this_0.x7('\n'); } var activeStyle = get_DEFAULT_STYLE(); var _iterator__ex2g4s = line.p(); while (_iterator__ex2g4s.q()) { var span = _iterator__ex2g4s.r(); var newStyle = downsample(span.g25_1, level, hyperlinks); this_0.x7(makeTag(activeStyle, newStyle)); activeStyle = newStyle; this_0.x7(span.f25_1); } this_0.x7(makeTag(activeStyle, get_DEFAULT_STYLE())); } return this_0.toString(); } function downsample(style, level, hyperlinks) { var tmp; if (style === get_DEFAULT_STYLE()) { tmp = style; } else { var tmp_0; switch (level.i2_1) { case 0: tmp_0 = get_DEFAULT_STYLE(); break; case 1: var tmp29_safe_receiver = style.s24(); var tmp_1; if (tmp29_safe_receiver == null) { tmp_1 = null; } else { // Inline function 'kotlin.let' call var tmp_2; if (tmp29_safe_receiver instanceof Ansi16) { tmp_2 = tmp29_safe_receiver; } else { tmp_2 = tmp29_safe_receiver.b1z().k22().e20(); } tmp_1 = tmp_2; } var tmp_3 = tmp_1; var tmp30_safe_receiver = style.t24(); var tmp_4; if (tmp30_safe_receiver == null) { tmp_4 = null; } else { // Inline function 'kotlin.let' call var tmp_5; if (tmp30_safe_receiver instanceof Ansi16) { tmp_5 = tmp30_safe_receiver; } else { tmp_5 = tmp30_safe_receiver.b1z().k22().e20(); } tmp_4 = tmp_5; } var tmp_6 = tmp_4; // Inline function 'kotlin.takeIf' call var this_0 = style.a25(); var tmp_7; if (hyperlinks) { tmp_7 = this_0; } else { tmp_7 = null; } var tmp_8 = tmp_7; // Inline function 'kotlin.takeIf' call var this_1 = style.b25(); var tmp_9; if (hyperlinks) { tmp_9 = this_1; } else { tmp_9 = null; } var tmp$ret$7 = tmp_9; tmp_0 = copy(style, tmp_3, tmp_6, tmp_8, tmp$ret$7); break; case 2: var tmp31_safe_receiver = style.s24(); var tmp_10; if (tmp31_safe_receiver == null) { tmp_10 = null; } else { // Inline function 'kotlin.let' call var tmp_11; var tmp_12; if (tmp31_safe_receiver instanceof Ansi16) { tmp_12 = true; } else { tmp_12 = tmp31_safe_receiver instanceof Ansi256; } if (tmp_12) { tmp_11 = tmp31_safe_receiver; } else { tmp_11 = tmp31_safe_receiver.b1z().k22().j22(); } tmp_10 = tmp_11; } var tmp_13 = tmp_10; var tmp32_safe_receiver = style.t24(); var tmp_14; if (tmp32_safe_receiver == null) { tmp_14 = null; } else { // Inline function 'kotlin.let' call var tmp_15; var tmp_16; if (tmp32_safe_receiver instanceof Ansi16) { tmp_16 = true; } else { tmp_16 = tmp32_safe_receiver instanceof Ansi256; } if (tmp_16) { tmp_15 = tmp32_safe_receiver; } else { tmp_15 = tmp32_safe_receiver.b1z().k22().j22(); } tmp_14 = tmp_15; } var tmp_17 = tmp_14; // Inline function 'kotlin.takeIf' call var this_2 = style.a25(); var tmp_18; if (hyperlinks) { tmp_18 = this_2; } else { tmp_18 = null; } var tmp_19 = tmp_18; // Inline function 'kotlin.takeIf' call var this_3 = style.b25(); var tmp_20; if (hyperlinks) { tmp_20 = this_3; } else { tmp_20 = null; } var tmp$ret$15 = tmp_20; tmp_0 = copy(style, tmp_13, tmp_17, tmp_19, tmp$ret$15); break; case 3: tmp_0 = hyperlinks || style.a25() == null ? style : copy(style, style.s24(), style.t24(), null, null); break; default: noWhenBranchMatchedException(); break; } tmp = tmp_0; } return tmp; } function makeTag$style(codes, old, new_0, open, close) { if (!(old === true) && new_0 === true) { // Inline function 'kotlin.collections.plusAssign' call codes.e(open); } else if (old === true && !(new_0 === true)) { // Inline function 'kotlin.collections.plusAssign' call codes.e(close); } } function invokeStyle$lambda($text, $style, $this_invokeStyle, $openStyle) { return function (match) { var tmp; if (match.kc().zf_1 === get_lastIndex($text)) { return ''; } var new_0 = updateStyle($style._v, $this_invokeStyle, match.z()); var tmp_0; if (match.kc().yf_1 === 0) { $openStyle._v = new_0.i25($this_invokeStyle); $style._v = new_0.i25($this_invokeStyle); return ''; } var tag = makeTag($style._v, new_0); $style._v = new_0; return tag; }; } function get_DEFAULT_STYLE() { _init_properties_Constants_kt__atb1ur(); return DEFAULT_STYLE; } var DEFAULT_STYLE; function get_EMPTY_LINES() { _init_properties_Constants_kt__atb1ur(); return EMPTY_LINES; } var EMPTY_LINES; function get_EMPTY_LINE() { _init_properties_Constants_kt__atb1ur(); return EMPTY_LINE; } var EMPTY_LINE; function get_SINGLE_SPACE() { _init_properties_Constants_kt__atb1ur(); return SINGLE_SPACE; } var SINGLE_SPACE; var DEFAULT_PADDING; function get_ANSI_RE() { _init_properties_Constants_kt__atb1ur(); return ANSI_RE; } var ANSI_RE; var properties_initialized_Constants_kt_w4w61t; function _init_properties_Constants_kt__atb1ur() { if (!properties_initialized_Constants_kt_w4w61t) { properties_initialized_Constants_kt_w4w61t = true; DEFAULT_STYLE = TextStyle_0(null, null, false, false, false, false, false, false, null); EMPTY_LINES = new Lines(emptyList()); EMPTY_LINE = new Line(emptyList(), get_DEFAULT_STYLE()); SINGLE_SPACE = Companion_instance_0.j25(1); DEFAULT_PADDING = Padding_init_$Create$(0); ANSI_RE = Regex_init_$Create$('\x1B\\][^\x1B]*\x1B\\\\|\x1B(?:[@-Z\\\\-_]|\\[[0-?]*[ -/]*[@-~])'); } } function get_nextHyperlinkId() { _init_properties_HyperlinkIds_kt__yuk2s2(); return nextHyperlinkId; } var nextHyperlinkId; function generateHyperlinkId() { _init_properties_HyperlinkIds_kt__yuk2s2(); return get_nextHyperlinkId().k25().toString(); } var properties_initialized_HyperlinkIds_kt_p1red0; function _init_properties_HyperlinkIds_kt__yuk2s2() { if (!properties_initialized_HyperlinkIds_kt_p1red0) { properties_initialized_HyperlinkIds_kt_p1red0 = true; nextHyperlinkId = MppAtomicInt(1); } } function get_STANDARD_TERM_INTERFACE() { _init_properties_MppInternal_kt__rq9lew(); return STANDARD_TERM_INTERFACE; } var STANDARD_TERM_INTERFACE; var properties_initialized_MppInternal_kt_p8mksm; function _init_properties_MppInternal_kt__rq9lew() { if (!properties_initialized_MppInternal_kt_p8mksm) { properties_initialized_MppInternal_kt_p8mksm = true; STANDARD_TERM_INTERFACE = getStandardTerminalInterface(); } } function updateStyle(existingStyle, defaultStyle, ansi) { if (startsWith(ansi, '\x1B]')) return updateStyleWithOsc(ansi, existingStyle, defaultStyle); if (startsWith(ansi, '\x1B[')) return updateStyleWithCsi(ansi, existingStyle, defaultStyle); return existingStyle; } function updateStyleWithOsc(ansi, existingStyle, defaultStyle) { if (!startsWith(ansi, '\x1B]8')) return existingStyle; // Inline function 'kotlin.text.substring' call var endIndex = ansi.length - 2 | 0; // Inline function 'kotlin.js.asDynamic' call var tmp$ret$1 = ansi.substring(3, endIndex); var params = split(tmp$ret$1, [';']); if (params.m()) return existingStyle; // Inline function 'kotlin.takeUnless' call var this_0 = last(params); var tmp; if (!isBlank(this_0)) { tmp = this_0; } else { tmp = null; } var hyperlink = tmp; var tmp_0; if (hyperlink == null) { tmp_0 = defaultStyle.b25(); } else { // Inline function 'kotlin.collections.find' call var tmp$ret$5; $l$block: { // Inline function 'kotlin.collections.firstOrNull' call var _iterator__ex2g4s = params.p(); while (_iterator__ex2g4s.q()) { var element = _iterator__ex2g4s.r(); if (startsWith(element, 'id=')) { tmp$ret$5 = element; break $l$block; } } tmp$ret$5 = null; } var tmp37_safe_receiver = tmp$ret$5; tmp_0 = tmp37_safe_receiver == null ? null : drop(tmp37_safe_receiver, 3); } var id = tmp_0; return copy(existingStyle, VOID, VOID, hyperlink == null ? defaultStyle.a25() : hyperlink, id); } function updateStyleWithCsi(ansi, existingStyle, defaultStyle) { if (!endsWith(ansi, 'm')) return existingStyle; // Inline function 'kotlin.collections.mapNotNull' call var tmp0 = split(charSequenceSubSequence(ansi, 2, ansi.length - 1 | 0), [';']); // Inline function 'kotlin.collections.mapNotNullTo' call var destination = ArrayList_init_$Create$(); // Inline function 'kotlin.collections.forEach' call var _iterator__ex2g4s = tmp0.p(); while (_iterator__ex2g4s.q()) { var element = _iterator__ex2g4s.r(); var tmp; // Inline function 'kotlin.text.isEmpty' call if (charSequenceLength(element) === 0) { tmp = 0; } else { tmp = toIntOrNull(element); } var tmp0_safe_receiver = tmp; if (tmp0_safe_receiver == null) null; else { // Inline function 'kotlin.let' call destination.e(tmp0_safe_receiver); } } var codes = destination; if (codes.m()) return defaultStyle; var color = existingStyle.s24(); var bgColor = existingStyle.t24(); var bold = existingStyle.y24(); var italic = existingStyle.u24(); var underline = existingStyle.v24(); var dim = existingStyle.z24(); var inverse = existingStyle.w24(); var strikethrough = existingStyle.x24(); var i = 0; $l$loop_1: while (i <= get_lastIndex_0(codes)) { var code = codes.t(i); if (code === 0) { color = defaultStyle.s24(); bgColor = defaultStyle.t24(); var tmp0_elvis_lhs = defaultStyle.y24(); bold = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs; var tmp1_elvis_lhs = defaultStyle.u24(); italic = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs; var tmp2_elvis_lhs = defaultStyle.v24(); underline = tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs; var tmp3_elvis_lhs = defaultStyle.z24(); dim = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs; var tmp4_elvis_lhs = defaultStyle.w24(); inverse = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs; var tmp5_elvis_lhs = defaultStyle.x24(); strikethrough = tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs; } else { if (code === 22) { var tmp6_elvis_lhs = defaultStyle.y24(); bold = tmp6_elvis_lhs == null ? false : tmp6_elvis_lhs; var tmp7_elvis_lhs = defaultStyle.z24(); dim = tmp7_elvis_lhs == null ? false : tmp7_elvis_lhs; } else { if (code === 23) { var tmp8_elvis_lhs = defaultStyle.u24(); italic = tmp8_elvis_lhs == null ? false : tmp8_elvis_lhs; } else { if (code === 24) { var tmp9_elvis_lhs = defaultStyle.v24(); underline = tmp9_elvis_lhs == null ? false : tmp9_elvis_lhs; } else { if (code === 27) { var tmp10_elvis_lhs = defaultStyle.w24(); inverse = tmp10_elvis_lhs == null ? false : tmp10_elvis_lhs; } else { if (code === 29) { var tmp11_elvis_lhs = defaultStyle.x24(); strikethrough = tmp11_elvis_lhs == null ? false : tmp11_elvis_lhs; } else { if (code === 39) color = defaultStyle.s24(); else { if (code === 49) bgColor = defaultStyle.t24(); else { var tmp_0; var progression = AnsiCodes_getInstance().u23_1; var containsLower = progression.yf_1; if (code <= progression.zf_1 ? containsLower <= code : false) { tmp_0 = true; } else { var progression_0 = AnsiCodes_getInstance().v23_1; var containsLower_0 = progression_0.yf_1; tmp_0 = code <= progression_0.zf_1 ? containsLower_0 <= code : false; } if (tmp_0) { color = new Ansi16(code); } else { var tmp_1; var progression_1 = AnsiCodes_getInstance().z23_1; var containsLower_1 = progression_1.yf_1; if (code <= progression_1.zf_1 ? containsLower_1 <= code : false) { tmp_1 = true; } else { var progression_2 = AnsiCodes_getInstance().a24_1; var containsLower_2 = progression_2.yf_1; tmp_1 = code <= progression_2.zf_1 ? containsLower_2 <= code : false; } if (tmp_1) { bgColor = new Ansi16(code - 10 | 0); } else { if (code === 38) { var _destruct__k2r9zo = getAnsiColor(i + 1 | 0, codes); var c = _destruct__k2r9zo.w9(); var consumed = _destruct__k2r9zo.x9(); if (c == null) break $l$loop_1; color = c; i = i + consumed | 0; } else { if (code === 48) { var _destruct__k2r9zo_0 = getAnsiColor(i + 1 | 0, codes); var c_0 = _destruct__k2r9zo_0.w9(); var consumed_0 = _destruct__k2r9zo_0.x9(); if (c_0 == null) break $l$loop_1; bgColor = c_0; i = i + consumed_0 | 0; } else { if (code === 1) bold = true; else { if (code === 3) italic = true; else { if (code === 4) underline = true; else { if (code === 2) dim = true; else { if (code === 7) inverse = true; else { if (code === 9) strikethrough = true; else { if (code === 58) { var tmp_2 = i; var tmp_3; if (i === get_lastIndex_0(codes)) { tmp_3 = 0; } else if (getOrNull(codes, i + 1 | 0) === 5) { tmp_3 = 1; } else if (getOrNull(codes, i + 1 | 0) === 2) { tmp_3 = 3; } else { break $l$loop_1; } i = tmp_2 + tmp_3 | 0; } } } } } } } } } } } } } } } } } } } i = i + 1 | 0; } return new TxtStyle(color, bgColor, bold, italic, underline, dim, inverse, strikethrough, existingStyle.a25(), existingStyle.b25()); } function getAnsiColor(i, codes) { var tmp; switch (codes.t(i)) { case 5: var tmp_0; var tmp_1; if ((i + 1 | 0) > get_lastIndex_0(codes)) { tmp_1 = true; } else { var containsArg = codes.t(i + 1 | 0); tmp_1 = !(0 <= containsArg ? containsArg <= 255 : false); } if (tmp_1) { tmp_0 = to(null, 0); } else { tmp_0 = to(new Ansi256(codes.t(i + 1 | 0)), 2); } tmp = tmp_0; break; case 2: var tmp_2; var tmp_3; var tmp_4; var tmp_5; if ((i + 3 | 0) > get_lastIndex_0(codes)) { tmp_5 = true; } else { var containsArg_0 = codes.t(i + 1 | 0); tmp_5 = !(0 <= containsArg_0 ? containsArg_0 <= 255 : false); } if (tmp_5) { tmp_4 = true; } else { var containsArg_1 = codes.t(i + 2 | 0); tmp_4 = !(0 <= containsArg_1 ? containsArg_1 <= 255 : false); } if (tmp_4) { tmp_3 = true; } else { var containsArg_2 = codes.t(i + 3 | 0); tmp_3 = !(0 <= containsArg_2 ? containsArg_2 <= 255 : false); } if (tmp_3) { tmp_2 = to(null, 0); } else { tmp_2 = to(Companion_getInstance().b20(codes.t(i + 1 | 0), codes.t(i + 2 | 0), codes.t(i + 3 | 0)), 4); } tmp = tmp_2; break; default: tmp = to(null, 0); break; } return tmp; } function parseText(text, defaultStyle) { var parseAnsi_0 = parseAnsi(text, defaultStyle); // Inline function 'kotlin.collections.flatMap' call // Inline function 'kotlin.collections.flatMapTo' call var destination = ArrayList_init_$Create$(); var _iterator__ex2g4s = parseAnsi_0.p(); while (_iterator__ex2g4s.q()) { var element = _iterator__ex2g4s.r(); var list = splitWords(element); addAll(destination, list); } var words = toList(destination); var splitLines_0 = splitLines(words); return new Lines(splitLines_0); } function Chunk(text, style) { this.l25_1 = text; this.m25_1 = style; } protoOf(Chunk).n25 = function (text, style) { return new Chunk(text, style); }; protoOf(Chunk).o25 = function (text, style, $super) { text = text === VOID ? this.l25_1 : text; style = style === VOID ? this.m25_1 : style; return $super === VOID ? this.n25(text, style) : $super.n25.call(this, text, style); }; protoOf(Chunk).toString = function () { return 'Chunk(text=' + this.l25_1 + ', style=' + toString(this.m25_1) + ')'; }; protoOf(Chunk).hashCode = function () { var result = getStringHashCode(this.l25_1); result = imul(result, 31) + hashCode(this.m25_1) | 0; return result; }; protoOf(Chunk).equals = function (other) { if (this === other) return true; if (!(other instanceof Chunk)) return false; var tmp0_other_with_cast = other instanceof Chunk ? other : THROW_CCE(); if (!(this.l25_1 === tmp0_other_with_cast.l25_1)) return false; if (!equals(this.m25_1, tmp0_other_with_cast.m25_1)) return false; return true; }; function parseAnsi(text, defaultStyle) { var commands = toList_0(get_ANSI_RE().hc(text)); if (commands.m()) return listOf_0(new Chunk(text, defaultStyle)); // Inline function 'kotlin.collections.mutableListOf' call var parts = ArrayList_init_$Create$(); var idxAfterLastCmd = 0; var style = defaultStyle; var _iterator__ex2g4s = commands.p(); while (_iterator__ex2g4s.q()) { var command = _iterator__ex2g4s.r(); if (command.kc().yf_1 > idxAfterLastCmd) { var tmp1 = idxAfterLastCmd; // Inline function 'kotlin.text.substring' call var endIndex = command.kc().yf_1; // Inline function 'kotlin.js.asDynamic' call var tmp$ret$2 = text.substring(tmp1, endIndex); // Inline function 'kotlin.collections.plusAssign' call var element = new Chunk(tmp$ret$2, style); parts.e(element); } idxAfterLastCmd = command.kc().zf_1 + 1 | 0; style = updateStyle(style, defaultStyle, command.z()); } if (idxAfterLastCmd < text.length) { // Inline function 'kotlin.text.substring' call var startIndex = idxAfterLastCmd; // Inline function 'kotlin.js.asDynamic' call var tmp$ret$5 = text.substring(startIndex); // Inline function 'kotlin.collections.plusAssign' call var element_0 = new Chunk(tmp$ret$5, style); parts.e(element_0); } return parts; } function splitWords(chunk) { // Inline function 'kotlin.collections.mutableListOf' call var chunks = ArrayList_init_$Create$(); var i = 0; var start = 0; var chunkType = -1; var t = chunk.l25_1; while (i < t.length) { var c = charSequenceGet(t, i); 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; if (i === 0) { chunkType = type; } else if (type === 1 || !(chunkType === type)) { var tmp1 = start; // Inline function 'kotlin.text.substring' call var endIndex = i; // Inline function 'kotlin.js.asDynamic' call var tmp$ret$2 = t.substring(tmp1, endIndex); // Inline function 'kotlin.collections.plusAssign' call var element = chunk.o25(tmp$ret$2); chunks.e(element); start = i; chunkType = type; } i = i + 1 | 0; } if (!(start === i)) { var tmp6 = start; // Inline function 'kotlin.text.substring' call var endIndex_0 = i; // Inline function 'kotlin.js.asDynamic' call var tmp$ret$5 = t.substring(tmp6, endIndex_0); // Inline function 'kotlin.collections.plusAssign' call var element_0 = chunk.o25(tmp$ret$5); chunks.e(element_0); } return chunks; } function splitLines(words) { // Inline function 'kotlin.collections.mutableListOf' call var lines = ArrayList_init_$Create$(); // Inline function 'kotlin.collections.mutableListOf' call var line = ArrayList_init_$Create$(); var _iterator__ex2g4s = words.p(); while (_iterator__ex2g4s.q()) { var word = _iterator__ex2g4s.r(); if (endsWith(word.l25_1, '\n')) { // Inline function 'kotlin.collections.plusAssign' call var element = new Line(line, word.m25_1); lines.e(element); // Inline function 'kotlin.collections.mutableListOf' call line = ArrayList_init_$Create$(); } else { line.e(Companion_instance_0.p25(word.l25_1, word.m25_1)); } } // Inline function 'kotlin.collections.isNotEmpty' call if (!line.m()) { // Inline function 'kotlin.collections.plusAssign' call var element_0 = Line_init_$Create$(line); lines.e(element_0); } var tmp36_safe_receiver = lastOrNull(words); if (tmp36_safe_receiver == null) null; else { // Inline function 'kotlin.let' call if (endsWith(tmp36_safe_receiver.l25_1, '\n')) { // Inline function 'kotlin.collections.listOf' call var tmp$ret$6 = emptyList(); lines.e(new Line(tmp$ret$6, tmp36_safe_receiver.m25_1)); } } return lines; } function stringCellWidth(string) { var sum = 0; var sumSinceZwj = 0; var zwjSeq = null; var _iterator__ex2g4s = codepointSequence(string).p(); while (_iterator__ex2g4s.q()) { var codepoint = _iterator__ex2g4s.r(); var width = cellWidth(codepoint); if (!(zwjSeq == null)) { sumSinceZwj = sumSinceZwj + width | 0; if (zwjSeq.r25_1.d1(codepoint)) { sumSinceZwj = 0; } zwjSeq = zwjSeq.q25_1.w1(codepoint); if (zwjSeq == null) { sum = sum + (sumSinceZwj + 2 | 0) | 0; sumSinceZwj = 0; } else { sumSinceZwj = sumSinceZwj + width | 0; } } else { if (couldStartEmojiSeq(codepoint)) { zwjSeq = get_EMOJI_SEQUENCES().q25_1.w1(codepoint); } if (zwjSeq == null) { sum = sum + width | 0; } } } return sum + sumSinceZwj | 0; } function cellWidth(codepoint) { if (32 <= codepoint ? codepoint <= 126 : false) return 1; if (codepoint === 8 || codepoint === 127) return -1; var table = get_CELL_WIDTH_TABLE(); var min = 0; var mid; var max = get_lastIndex_1(table); if (codepoint < table[0].s25_1 || codepoint > table[max].t25_1) return 1; while (max >= min) { mid = (min + max | 0) / 2 | 0; var entry = table[mid]; if (codepoint > entry.t25_1) min = mid + 1 | 0; else if (codepoint < entry.s25_1) max = mid - 1 | 0; else return table[mid].u25_1; } return 1; } function sequences1() { // Inline function 'kotlin.intArrayOf' call var tmp = new Int32Array([9757, 127995]); // Inline function 'kotlin.intArrayOf' call var tmp_0 = new Int32Array([9757, 127996]); // Inline function 'kotlin.intArrayOf' call var tmp_1 = new Int32Array([9757, 127997]); // Inline function 'kotlin.intArrayOf' call var tmp_2 = new Int32Array([9757, 127998]); // Inline function 'kotlin.intArrayOf' call var tmp_3 = new Int32Array([9757, 127999]); // Inline function 'kotlin.intArrayOf' call var tmp_4 = new Int32Array([9939, 65039, 8205, 128165]); // Inline function 'kotlin.intArrayOf' call var tmp_5 = new Int32Array([9977, 65039, 8205, 9792, 65039]); // Inline function 'kotlin.intArrayOf' call var tmp_6 = new Int32Array([9977, 65039, 8205, 9794, 65039]); // Inline function 'kotlin.intArrayOf' call var tmp_7 = new Int32Array([9977, 127995]); // Inline function 'kotlin.intArrayOf' call var tmp_8 = new Int32Array([9977, 127995, 8205, 9792, 65039]); // Inline function 'kotlin.intArrayOf' call var tmp_9 = new Int32Array([9977, 127995, 8205, 9794, 65039]); // Inline function 'kotlin.intArrayOf' call var tmp_10 = new Int32Array([9977, 127996]); // Inline function 'kotlin.intArrayOf' call var tmp_11 = new Int32Array([9977, 127996, 8205, 9792, 65039]); // Inline function 'kotlin.intArrayOf' call var tmp_12 = new Int32Array([9977, 127996, 8205, 9794, 65039]); // Inline function 'kotlin.intArrayOf' call var tmp_13 = new Int32Array([9977, 127997]); // Inline function 'kotlin.intArrayOf' call var tmp_14 = new Int32Array([9977, 127997, 8205, 9792, 65039]); // Inline function 'kotlin.intArrayOf' call var tmp_15 = new Int32Array([9977, 127997, 8205, 9794, 65039]); // Inline function 'kotlin.intArrayOf' call var tmp_16 = new Int32Array([9977, 127998]); // Inline function 'kotlin.intArrayOf' call var tmp_17 = new Int32Array([9977, 127998, 8205, 9792, 65039]); // Inline function 'kotlin.intArrayOf' call var tmp_18 = new Int32Array([9977, 127998, 8205, 9794, 65039]); // Inline function 'kotlin.intArrayOf' call var tmp_19 = new Int32Array([9977, 127999]); // Inline function 'kotlin.intArrayOf' call var tmp_20 = new Int32Array([9977, 127999, 8205, 9792, 65039]); // Inline function 'kotlin.intArrayOf' call var tmp_21 = new Int32Array([9977, 127999, 8205, 9794, 65039]); // Inline function 'kotlin.intArrayOf' call var tmp_22 = new Int32Array([9994, 127995]); // Inline function 'kotlin.intArrayOf' call var tmp_23 = new Int32Array([9994, 127996]); // Inline function 'kotlin.intArrayOf' call var tmp_24 = new Int32Array([9994, 127997]); // Inline function 'kotlin.intArrayOf' call var tmp_25 = new Int32Array([9994, 127998]); // Inline function 'kotlin.intArrayOf' call var tmp_26 = new Int32Array([9994, 127999]); // Inline function 'kotlin.intArrayOf' call var tmp_27 = new Int32Array([9995, 127995]); // Inline function 'kotlin.intArrayOf' call var tmp_28 = new Int32Array([9995, 127996]); // Inline function 'kotlin.intArrayOf' call var tmp_29 = new Int32Array([9995, 127997]); // Inline function 'kotlin.intArrayOf' call var tmp_30 = new Int32Array([9995, 127998]); // Inline function 'kotlin.intArrayOf' call var tmp_31 = new Int32Array([9995, 127999]); // Inline function 'kotlin.intArrayOf' call var tmp_32 = new Int32Array([9996, 127995]); // Inline function 'kotlin.intArrayOf' call var tmp_33 = new Int32Array([9996, 127996]); // Inline function 'kotlin.intArrayOf' call var tmp_34 = new Int32Array([9996, 127997]); // Inline function 'kotlin.intArrayOf' call var tmp_35 = new Int32Array([9996, 127998]); // Inline function 'kotlin.intArrayOf' call var tmp_36 = new Int32Array([9996, 127999]); // Inline function 'kotlin.intArrayOf' call var tmp_37 = new Int32Array([9997, 127995]); // Inline function 'kotlin.intArrayOf' call var tmp_38 = new Int32Array([9997, 127996]); // Inline function 'kotlin.intArrayOf' call var tmp_39 = new Int32Array([9997, 127997]); // Inline function 'kotlin.intArrayOf' call var tmp_40 = new Int32Array([9997, 127998]); // Inline function 'kotlin.intArrayOf' call var tmp_41 = new Int32Array([9997, 127999]); // Inline function 'kotlin.intArrayOf' call var tmp_42 = new Int32Array([10084, 65039, 8205, 128293]); // Inline function 'kotlin.intArrayOf' call var tmp_43 = new Int32Array([10084, 65039, 8205, 129657]); // Inline function 'kotlin.intArrayOf' call var tmp_44 = new Int32Array([127812, 8205, 129003]); // Inline function 'kotlin.intArrayOf' call var tmp_45 = new Int32Array([127819, 8205, 129001]); // Inline function 'kotlin.intArrayOf' call var tmp_46 = new Int32Array([127877, 127995]); // Inline function 'kotlin.intArrayOf' call var tmp_47 = new Int32Array([127877, 127996]); // Inline function 'kotlin.intArrayOf' call var tmp_48 = new Int32Array([127877, 127997]); // Inline function 'kotlin.intArrayOf' call var tmp_49 = new Int32Array([127877, 127998]); // Inline function 'kotlin.intArrayOf' call var tmp_50 = new Int32Array([127877, 127999]); // Inline function 'kotlin.intArrayOf' call var tmp_51 = new Int32Array([127938, 127995]); // Inline function 'kotlin.intArrayOf' call var tmp_52 = new Int32Array([127938, 127996]); // Inline function 'kotlin.intArrayOf' call var tmp_53 = new Int32Array([127938, 127997]); // Inline function 'kotlin.intArrayOf' call var tmp_54 = new