@sddsjs/design-system-builder-cli 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/LICENSE +4 -0
  2. package/README.md +969 -2
  3. package/bin/dsbuilder.js +2 -0
  4. package/dist/kotlin/Kotlin-Immutable-Collections-kotlinx-collections-immutable.js +3170 -0
  5. package/dist/kotlin/Stately-stately-concurrency.js +32 -0
  6. package/dist/kotlin/Stately-stately-concurrent-collections.js +302 -0
  7. package/dist/kotlin/Stately-stately-strict.js +12 -0
  8. package/dist/kotlin/clikt-clikt-mordant.js +304 -0
  9. package/dist/kotlin/clikt-clikt.js +6960 -0
  10. package/dist/kotlin/colormath-root-colormath.js +1653 -0
  11. package/dist/kotlin/design-system-builder-frontend-analytics-metrica.js +1026 -0
  12. package/dist/kotlin/design-system-builder-frontend-cli.js +10690 -0
  13. package/dist/kotlin/design-system-builder-frontend-core-analytics.js +128 -0
  14. package/dist/kotlin/design-system-builder-frontend-core-application.js +3634 -0
  15. package/dist/kotlin/design-system-builder-frontend-core-auth.js +1772 -0
  16. package/dist/kotlin/design-system-builder-frontend-core-domain.js +501 -0
  17. package/dist/kotlin/design-system-builder-frontend-core-network.js +3318 -0
  18. package/dist/kotlin/design-system-builder-frontend-core-platform.js +972 -0
  19. package/dist/kotlin/design-system-builder-frontend-core-process.js +236 -0
  20. package/dist/kotlin/design-system-builder-frontend-core-workspace.js +1058 -0
  21. package/dist/kotlin/design-system-builder-frontend-feature-auth.js +1664 -0
  22. package/dist/kotlin/design-system-builder-frontend-feature-components.js +24819 -0
  23. package/dist/kotlin/design-system-builder-frontend-feature-docs.js +7625 -0
  24. package/dist/kotlin/design-system-builder-frontend-feature-ds.js +2219 -0
  25. package/dist/kotlin/design-system-builder-frontend-feature-init.js +318 -0
  26. package/dist/kotlin/design-system-builder-frontend-feature-projects.js +624 -0
  27. package/dist/kotlin/design-system-builder-frontend-feature-status.js +984 -0
  28. package/dist/kotlin/design-system-builder-frontend-feature-theme.js +10456 -0
  29. package/dist/kotlin/design-system-builder-frontend-feature-toolchain.js +586 -0
  30. package/dist/kotlin/design-system-builder-frontend-mcp-server-core.js +6878 -0
  31. package/dist/kotlin/design-system-builder-frontend-platform-android.js +451 -0
  32. package/dist/kotlin/design-system-builder-frontend-platform-ios.js +1858 -0
  33. package/dist/kotlin/design-system-builder-frontend-platform-web.js +1555 -0
  34. package/dist/kotlin/design-system-builder-frontend-runtime-node.js +1763 -0
  35. package/dist/kotlin/kotlin-kotlin-stdlib.js +17881 -0
  36. package/dist/kotlin/kotlin-logging.js +440 -0
  37. package/dist/kotlin/kotlin-sdk-kotlin-sdk-core.js +20228 -0
  38. package/dist/kotlin/kotlin-sdk-kotlin-sdk-server.js +2771 -0
  39. package/dist/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +8 -0
  40. package/dist/kotlin/kotlinx-atomicfu.js +252 -0
  41. package/dist/kotlin/kotlinx-coroutines-core.js +10822 -0
  42. package/dist/kotlin/kotlinx-io-kotlinx-io-bytestring.js +203 -0
  43. package/dist/kotlin/kotlinx-io-kotlinx-io-core.js +2032 -0
  44. package/dist/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +6171 -0
  45. package/dist/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +5690 -0
  46. package/dist/kotlin/ktor-ktor-client-core.js +8382 -0
  47. package/dist/kotlin/ktor-ktor-events.js +80 -0
  48. package/dist/kotlin/ktor-ktor-http-cio.js +2252 -0
  49. package/dist/kotlin/ktor-ktor-http.js +3320 -0
  50. package/dist/kotlin/ktor-ktor-io.js +3328 -0
  51. package/dist/kotlin/ktor-ktor-serialization.js +8 -0
  52. package/dist/kotlin/ktor-ktor-server-core.js +12 -0
  53. package/dist/kotlin/ktor-ktor-server-sse.js +8 -0
  54. package/dist/kotlin/ktor-ktor-server-websockets.js +8 -0
  55. package/dist/kotlin/ktor-ktor-sse.js +8 -0
  56. package/dist/kotlin/ktor-ktor-utils.js +2524 -0
  57. package/dist/kotlin/ktor-ktor-websocket-serialization.js +8 -0
  58. package/dist/kotlin/ktor-ktor-websockets.js +433 -0
  59. package/dist/kotlin/mordant-mordant-omnibus.js +8 -0
  60. package/dist/kotlin/mordant-mordant.js +12111 -0
  61. package/dist/kotlin/okio-parent-okio.js +2335 -0
  62. package/dist/kotlin/projects-core-koin-core.js +1285 -0
  63. package/package.json +26 -5
@@ -0,0 +1,2335 @@
1
+ (function (_, kotlin_kotlin) {
2
+ 'use strict';
3
+ //region block: imports
4
+ var imul = Math.imul;
5
+ var protoOf = kotlin_kotlin.$_$.te;
6
+ var objectCreate = kotlin_kotlin.$_$.se;
7
+ var initMetadataForCompanion = kotlin_kotlin.$_$.rd;
8
+ var ensureNotNull = kotlin_kotlin.$_$.ol;
9
+ var initMetadataForClass = kotlin_kotlin.$_$.qd;
10
+ var bitwiseOr = kotlin_kotlin.$_$.dc;
11
+ var Long = kotlin_kotlin.$_$.qk;
12
+ var compare = kotlin_kotlin.$_$.fc;
13
+ var subtract = kotlin_kotlin.$_$.uc;
14
+ var VOID = kotlin_kotlin.$_$.c;
15
+ var charArray = kotlin_kotlin.$_$.cd;
16
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.w2;
17
+ var Unit_instance = kotlin_kotlin.$_$.r5;
18
+ var numberToChar = kotlin_kotlin.$_$.pe;
19
+ var concatToString = kotlin_kotlin.$_$.qg;
20
+ var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.c3;
21
+ var charArrayOf = kotlin_kotlin.$_$.bd;
22
+ var fill = kotlin_kotlin.$_$.c8;
23
+ var fill_0 = kotlin_kotlin.$_$.b8;
24
+ var fromInt = kotlin_kotlin.$_$.lc;
25
+ var add = kotlin_kotlin.$_$.bc;
26
+ var arrayCopy = kotlin_kotlin.$_$.p6;
27
+ var multiply = kotlin_kotlin.$_$.oc;
28
+ var shiftRightUnsigned = kotlin_kotlin.$_$.sc;
29
+ var convertToByte = kotlin_kotlin.$_$.gc;
30
+ var toByte = kotlin_kotlin.$_$.ue;
31
+ var copyOfRange = kotlin_kotlin.$_$.i7;
32
+ var concatToString_0 = kotlin_kotlin.$_$.pg;
33
+ var contentHashCode = kotlin_kotlin.$_$.f7;
34
+ var THROW_CCE = kotlin_kotlin.$_$.wk;
35
+ var toString = kotlin_kotlin.$_$.we;
36
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.v1;
37
+ var substring = kotlin_kotlin.$_$.ri;
38
+ var replace = kotlin_kotlin.$_$.ai;
39
+ var Comparable = kotlin_kotlin.$_$.gk;
40
+ var convertToInt = kotlin_kotlin.$_$.hc;
41
+ var equalsLong = kotlin_kotlin.$_$.kc;
42
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.b2;
43
+ var AssertionError_init_$Create$ = kotlin_kotlin.$_$.h1;
44
+ var isArray = kotlin_kotlin.$_$.xd;
45
+ var IndexOutOfBoundsException = kotlin_kotlin.$_$.pk;
46
+ var IndexOutOfBoundsException_init_$Init$ = kotlin_kotlin.$_$.e2;
47
+ var captureStack = kotlin_kotlin.$_$.ad;
48
+ var Exception = kotlin_kotlin.$_$.mk;
49
+ var Exception_init_$Init$ = kotlin_kotlin.$_$.r1;
50
+ var initMetadataForObject = kotlin_kotlin.$_$.wd;
51
+ //endregion
52
+ //region block: pre-declaration
53
+ initMetadataForCompanion(Companion);
54
+ initMetadataForClass(Segment, 'Segment', Segment_init_$Create$);
55
+ initMetadataForCompanion(Companion_0);
56
+ initMetadataForClass(Sha256, 'Sha256', Sha256);
57
+ initMetadataForCompanion(Companion_1);
58
+ initMetadataForClass(ByteString, 'ByteString', VOID, VOID, [Comparable]);
59
+ initMetadataForClass(SegmentedByteString, 'SegmentedByteString', VOID, ByteString);
60
+ initMetadataForClass(UnsafeCursor, 'UnsafeCursor', UnsafeCursor);
61
+ initMetadataForClass(Buffer, 'Buffer', Buffer);
62
+ initMetadataForClass(ArrayIndexOutOfBoundsException, 'ArrayIndexOutOfBoundsException', VOID, IndexOutOfBoundsException);
63
+ initMetadataForClass(IOException, 'IOException', IOException_init_$Create$, Exception);
64
+ initMetadataForClass(EOFException, 'EOFException', EOFException_init_$Create$, IOException);
65
+ initMetadataForObject(SegmentPool, 'SegmentPool');
66
+ //endregion
67
+ function Segment_init_$Init$($this) {
68
+ Segment.call($this);
69
+ $this.q5j_1 = new Int8Array(8192);
70
+ $this.u5j_1 = true;
71
+ $this.t5j_1 = false;
72
+ return $this;
73
+ }
74
+ function Segment_init_$Create$() {
75
+ return Segment_init_$Init$(objectCreate(protoOf(Segment)));
76
+ }
77
+ function Companion() {
78
+ this.x5j_1 = 8192;
79
+ this.y5j_1 = 1024;
80
+ }
81
+ var Companion_instance;
82
+ function Companion_getInstance() {
83
+ return Companion_instance;
84
+ }
85
+ protoOf(Segment).z5j = function () {
86
+ var result = !(this.v5j_1 === this) ? this.v5j_1 : null;
87
+ ensureNotNull(this.w5j_1).v5j_1 = this.v5j_1;
88
+ ensureNotNull(this.v5j_1).w5j_1 = this.w5j_1;
89
+ this.v5j_1 = null;
90
+ this.w5j_1 = null;
91
+ return result;
92
+ };
93
+ protoOf(Segment).a5k = function (segment) {
94
+ segment.w5j_1 = this;
95
+ segment.v5j_1 = this.v5j_1;
96
+ ensureNotNull(this.v5j_1).w5j_1 = segment;
97
+ this.v5j_1 = segment;
98
+ return segment;
99
+ };
100
+ function Segment() {
101
+ this.r5j_1 = 0;
102
+ this.s5j_1 = 0;
103
+ this.t5j_1 = false;
104
+ this.u5j_1 = false;
105
+ this.v5j_1 = null;
106
+ this.w5j_1 = null;
107
+ }
108
+ var DEFAULT__new_UnsafeCursor;
109
+ function get_DEFAULT__ByteString_size() {
110
+ _init_properties_Util_kt__laey5a();
111
+ return DEFAULT__ByteString_size;
112
+ }
113
+ var DEFAULT__ByteString_size;
114
+ function resolveDefaultParameter(_this__u8e3s4, position) {
115
+ _init_properties_Util_kt__laey5a();
116
+ if (position === get_DEFAULT__ByteString_size())
117
+ return _this__u8e3s4.o();
118
+ return position;
119
+ }
120
+ function arrayRangeEquals(a, aOffset, b, bOffset, byteCount) {
121
+ _init_properties_Util_kt__laey5a();
122
+ var inductionVariable = 0;
123
+ if (inductionVariable < byteCount)
124
+ do {
125
+ var i = inductionVariable;
126
+ inductionVariable = inductionVariable + 1 | 0;
127
+ if (!(a[i + aOffset | 0] === b[i + bOffset | 0]))
128
+ return false;
129
+ }
130
+ while (inductionVariable < byteCount);
131
+ return true;
132
+ }
133
+ function resolveDefaultParameter_0(_this__u8e3s4, sizeParam) {
134
+ _init_properties_Util_kt__laey5a();
135
+ if (sizeParam === get_DEFAULT__ByteString_size())
136
+ return _this__u8e3s4.length;
137
+ return sizeParam;
138
+ }
139
+ function checkOffsetAndCount(size, offset, byteCount) {
140
+ _init_properties_Util_kt__laey5a();
141
+ if (compare(bitwiseOr(offset, byteCount), new Long(0, 0)) < 0 || compare(offset, size) > 0 || compare(subtract(size, offset), byteCount) < 0) {
142
+ throw new ArrayIndexOutOfBoundsException('size=' + size.toString() + ' offset=' + offset.toString() + ' byteCount=' + byteCount.toString());
143
+ }
144
+ }
145
+ var properties_initialized_Util_kt_13atj0;
146
+ function _init_properties_Util_kt__laey5a() {
147
+ if (!properties_initialized_Util_kt_13atj0) {
148
+ properties_initialized_Util_kt_13atj0 = true;
149
+ DEFAULT__new_UnsafeCursor = new UnsafeCursor();
150
+ DEFAULT__ByteString_size = -1234567890;
151
+ }
152
+ }
153
+ function commonToUtf8String(_this__u8e3s4, beginIndex, endIndex) {
154
+ beginIndex = beginIndex === VOID ? 0 : beginIndex;
155
+ endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
156
+ if (beginIndex < 0 || endIndex > _this__u8e3s4.length || beginIndex > endIndex) {
157
+ throw new ArrayIndexOutOfBoundsException('size=' + _this__u8e3s4.length + ' beginIndex=' + beginIndex + ' endIndex=' + endIndex);
158
+ }
159
+ var chars = charArray(endIndex - beginIndex | 0);
160
+ var length = 0;
161
+ // Inline function 'okio.processUtf16Chars' call
162
+ var index = beginIndex;
163
+ while (index < endIndex) {
164
+ var b0 = _this__u8e3s4[index];
165
+ if (b0 >= 0) {
166
+ var c = numberToChar(b0);
167
+ var _unary__edvuaz = length;
168
+ length = _unary__edvuaz + 1 | 0;
169
+ chars[_unary__edvuaz] = c;
170
+ index = index + 1 | 0;
171
+ while (index < endIndex && _this__u8e3s4[index] >= 0) {
172
+ var _unary__edvuaz_0 = index;
173
+ index = _unary__edvuaz_0 + 1 | 0;
174
+ var c_0 = numberToChar(_this__u8e3s4[_unary__edvuaz_0]);
175
+ var _unary__edvuaz_1 = length;
176
+ length = _unary__edvuaz_1 + 1 | 0;
177
+ chars[_unary__edvuaz_1] = c_0;
178
+ }
179
+ } else {
180
+ // Inline function 'okio.shr' call
181
+ if (b0 >> 5 === -2) {
182
+ var tmp = index;
183
+ var tmp2 = index;
184
+ var tmp$ret$5;
185
+ $l$block_0: {
186
+ // Inline function 'okio.process2Utf8Bytes' call
187
+ if (endIndex <= (tmp2 + 1 | 0)) {
188
+ var c_1 = numberToChar(65533);
189
+ var _unary__edvuaz_2 = length;
190
+ length = _unary__edvuaz_2 + 1 | 0;
191
+ chars[_unary__edvuaz_2] = c_1;
192
+ tmp$ret$5 = 1;
193
+ break $l$block_0;
194
+ }
195
+ var b0_0 = _this__u8e3s4[tmp2];
196
+ var b1 = _this__u8e3s4[tmp2 + 1 | 0];
197
+ // Inline function 'okio.isUtf8Continuation' call
198
+ // Inline function 'okio.and' call
199
+ if (!((b1 & 192) === 128)) {
200
+ var c_2 = numberToChar(65533);
201
+ var _unary__edvuaz_3 = length;
202
+ length = _unary__edvuaz_3 + 1 | 0;
203
+ chars[_unary__edvuaz_3] = c_2;
204
+ tmp$ret$5 = 1;
205
+ break $l$block_0;
206
+ }
207
+ var codePoint = 3968 ^ b1 ^ b0_0 << 6;
208
+ if (codePoint < 128) {
209
+ var c_3 = numberToChar(65533);
210
+ var _unary__edvuaz_4 = length;
211
+ length = _unary__edvuaz_4 + 1 | 0;
212
+ chars[_unary__edvuaz_4] = c_3;
213
+ } else {
214
+ var c_4 = numberToChar(codePoint);
215
+ var _unary__edvuaz_5 = length;
216
+ length = _unary__edvuaz_5 + 1 | 0;
217
+ chars[_unary__edvuaz_5] = c_4;
218
+ }
219
+ tmp$ret$5 = 2;
220
+ }
221
+ index = tmp + tmp$ret$5 | 0;
222
+ } else {
223
+ // Inline function 'okio.shr' call
224
+ if (b0 >> 4 === -2) {
225
+ var tmp_0 = index;
226
+ var tmp2_0 = index;
227
+ var tmp$ret$19;
228
+ $l$block_4: {
229
+ // Inline function 'okio.process3Utf8Bytes' call
230
+ if (endIndex <= (tmp2_0 + 2 | 0)) {
231
+ var c_5 = numberToChar(65533);
232
+ var _unary__edvuaz_6 = length;
233
+ length = _unary__edvuaz_6 + 1 | 0;
234
+ chars[_unary__edvuaz_6] = c_5;
235
+ var tmp_1;
236
+ if (endIndex <= (tmp2_0 + 1 | 0)) {
237
+ tmp_1 = true;
238
+ } else {
239
+ // Inline function 'okio.isUtf8Continuation' call
240
+ // Inline function 'okio.and' call
241
+ tmp_1 = !((_this__u8e3s4[tmp2_0 + 1 | 0] & 192) === 128);
242
+ }
243
+ if (tmp_1) {
244
+ tmp$ret$19 = 1;
245
+ break $l$block_4;
246
+ } else {
247
+ tmp$ret$19 = 2;
248
+ break $l$block_4;
249
+ }
250
+ }
251
+ var b0_1 = _this__u8e3s4[tmp2_0];
252
+ var b1_0 = _this__u8e3s4[tmp2_0 + 1 | 0];
253
+ // Inline function 'okio.isUtf8Continuation' call
254
+ // Inline function 'okio.and' call
255
+ if (!((b1_0 & 192) === 128)) {
256
+ var c_6 = numberToChar(65533);
257
+ var _unary__edvuaz_7 = length;
258
+ length = _unary__edvuaz_7 + 1 | 0;
259
+ chars[_unary__edvuaz_7] = c_6;
260
+ tmp$ret$19 = 1;
261
+ break $l$block_4;
262
+ }
263
+ var b2 = _this__u8e3s4[tmp2_0 + 2 | 0];
264
+ // Inline function 'okio.isUtf8Continuation' call
265
+ // Inline function 'okio.and' call
266
+ if (!((b2 & 192) === 128)) {
267
+ var c_7 = numberToChar(65533);
268
+ var _unary__edvuaz_8 = length;
269
+ length = _unary__edvuaz_8 + 1 | 0;
270
+ chars[_unary__edvuaz_8] = c_7;
271
+ tmp$ret$19 = 2;
272
+ break $l$block_4;
273
+ }
274
+ var codePoint_0 = -123008 ^ b2 ^ b1_0 << 6 ^ b0_1 << 12;
275
+ if (codePoint_0 < 2048) {
276
+ var c_8 = numberToChar(65533);
277
+ var _unary__edvuaz_9 = length;
278
+ length = _unary__edvuaz_9 + 1 | 0;
279
+ chars[_unary__edvuaz_9] = c_8;
280
+ } else if (55296 <= codePoint_0 ? codePoint_0 <= 57343 : false) {
281
+ var c_9 = numberToChar(65533);
282
+ var _unary__edvuaz_10 = length;
283
+ length = _unary__edvuaz_10 + 1 | 0;
284
+ chars[_unary__edvuaz_10] = c_9;
285
+ } else {
286
+ var c_10 = numberToChar(codePoint_0);
287
+ var _unary__edvuaz_11 = length;
288
+ length = _unary__edvuaz_11 + 1 | 0;
289
+ chars[_unary__edvuaz_11] = c_10;
290
+ }
291
+ tmp$ret$19 = 3;
292
+ }
293
+ index = tmp_0 + tmp$ret$19 | 0;
294
+ } else {
295
+ // Inline function 'okio.shr' call
296
+ if (b0 >> 3 === -2) {
297
+ var tmp_2 = index;
298
+ var tmp2_1 = index;
299
+ var tmp$ret$41;
300
+ $l$block_10: {
301
+ // Inline function 'okio.process4Utf8Bytes' call
302
+ if (endIndex <= (tmp2_1 + 3 | 0)) {
303
+ if (!(65533 === 65533)) {
304
+ var c_11 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
305
+ var _unary__edvuaz_12 = length;
306
+ length = _unary__edvuaz_12 + 1 | 0;
307
+ chars[_unary__edvuaz_12] = c_11;
308
+ var c_12 = numberToChar((65533 & 1023) + 56320 | 0);
309
+ var _unary__edvuaz_13 = length;
310
+ length = _unary__edvuaz_13 + 1 | 0;
311
+ chars[_unary__edvuaz_13] = c_12;
312
+ } else {
313
+ var c_13 = _Char___init__impl__6a9atx(65533);
314
+ var _unary__edvuaz_14 = length;
315
+ length = _unary__edvuaz_14 + 1 | 0;
316
+ chars[_unary__edvuaz_14] = c_13;
317
+ }
318
+ var tmp_3;
319
+ if (endIndex <= (tmp2_1 + 1 | 0)) {
320
+ tmp_3 = true;
321
+ } else {
322
+ // Inline function 'okio.isUtf8Continuation' call
323
+ // Inline function 'okio.and' call
324
+ tmp_3 = !((_this__u8e3s4[tmp2_1 + 1 | 0] & 192) === 128);
325
+ }
326
+ if (tmp_3) {
327
+ tmp$ret$41 = 1;
328
+ break $l$block_10;
329
+ } else {
330
+ var tmp_4;
331
+ if (endIndex <= (tmp2_1 + 2 | 0)) {
332
+ tmp_4 = true;
333
+ } else {
334
+ // Inline function 'okio.isUtf8Continuation' call
335
+ // Inline function 'okio.and' call
336
+ tmp_4 = !((_this__u8e3s4[tmp2_1 + 2 | 0] & 192) === 128);
337
+ }
338
+ if (tmp_4) {
339
+ tmp$ret$41 = 2;
340
+ break $l$block_10;
341
+ } else {
342
+ tmp$ret$41 = 3;
343
+ break $l$block_10;
344
+ }
345
+ }
346
+ }
347
+ var b0_2 = _this__u8e3s4[tmp2_1];
348
+ var b1_1 = _this__u8e3s4[tmp2_1 + 1 | 0];
349
+ // Inline function 'okio.isUtf8Continuation' call
350
+ // Inline function 'okio.and' call
351
+ if (!((b1_1 & 192) === 128)) {
352
+ if (!(65533 === 65533)) {
353
+ var c_14 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
354
+ var _unary__edvuaz_15 = length;
355
+ length = _unary__edvuaz_15 + 1 | 0;
356
+ chars[_unary__edvuaz_15] = c_14;
357
+ var c_15 = numberToChar((65533 & 1023) + 56320 | 0);
358
+ var _unary__edvuaz_16 = length;
359
+ length = _unary__edvuaz_16 + 1 | 0;
360
+ chars[_unary__edvuaz_16] = c_15;
361
+ } else {
362
+ var c_16 = _Char___init__impl__6a9atx(65533);
363
+ var _unary__edvuaz_17 = length;
364
+ length = _unary__edvuaz_17 + 1 | 0;
365
+ chars[_unary__edvuaz_17] = c_16;
366
+ }
367
+ tmp$ret$41 = 1;
368
+ break $l$block_10;
369
+ }
370
+ var b2_0 = _this__u8e3s4[tmp2_1 + 2 | 0];
371
+ // Inline function 'okio.isUtf8Continuation' call
372
+ // Inline function 'okio.and' call
373
+ if (!((b2_0 & 192) === 128)) {
374
+ if (!(65533 === 65533)) {
375
+ var c_17 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
376
+ var _unary__edvuaz_18 = length;
377
+ length = _unary__edvuaz_18 + 1 | 0;
378
+ chars[_unary__edvuaz_18] = c_17;
379
+ var c_18 = numberToChar((65533 & 1023) + 56320 | 0);
380
+ var _unary__edvuaz_19 = length;
381
+ length = _unary__edvuaz_19 + 1 | 0;
382
+ chars[_unary__edvuaz_19] = c_18;
383
+ } else {
384
+ var c_19 = _Char___init__impl__6a9atx(65533);
385
+ var _unary__edvuaz_20 = length;
386
+ length = _unary__edvuaz_20 + 1 | 0;
387
+ chars[_unary__edvuaz_20] = c_19;
388
+ }
389
+ tmp$ret$41 = 2;
390
+ break $l$block_10;
391
+ }
392
+ var b3 = _this__u8e3s4[tmp2_1 + 3 | 0];
393
+ // Inline function 'okio.isUtf8Continuation' call
394
+ // Inline function 'okio.and' call
395
+ if (!((b3 & 192) === 128)) {
396
+ if (!(65533 === 65533)) {
397
+ var c_20 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
398
+ var _unary__edvuaz_21 = length;
399
+ length = _unary__edvuaz_21 + 1 | 0;
400
+ chars[_unary__edvuaz_21] = c_20;
401
+ var c_21 = numberToChar((65533 & 1023) + 56320 | 0);
402
+ var _unary__edvuaz_22 = length;
403
+ length = _unary__edvuaz_22 + 1 | 0;
404
+ chars[_unary__edvuaz_22] = c_21;
405
+ } else {
406
+ var c_22 = _Char___init__impl__6a9atx(65533);
407
+ var _unary__edvuaz_23 = length;
408
+ length = _unary__edvuaz_23 + 1 | 0;
409
+ chars[_unary__edvuaz_23] = c_22;
410
+ }
411
+ tmp$ret$41 = 3;
412
+ break $l$block_10;
413
+ }
414
+ var codePoint_1 = 3678080 ^ b3 ^ b2_0 << 6 ^ b1_1 << 12 ^ b0_2 << 18;
415
+ if (codePoint_1 > 1114111) {
416
+ if (!(65533 === 65533)) {
417
+ var c_23 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
418
+ var _unary__edvuaz_24 = length;
419
+ length = _unary__edvuaz_24 + 1 | 0;
420
+ chars[_unary__edvuaz_24] = c_23;
421
+ var c_24 = numberToChar((65533 & 1023) + 56320 | 0);
422
+ var _unary__edvuaz_25 = length;
423
+ length = _unary__edvuaz_25 + 1 | 0;
424
+ chars[_unary__edvuaz_25] = c_24;
425
+ } else {
426
+ var c_25 = _Char___init__impl__6a9atx(65533);
427
+ var _unary__edvuaz_26 = length;
428
+ length = _unary__edvuaz_26 + 1 | 0;
429
+ chars[_unary__edvuaz_26] = c_25;
430
+ }
431
+ } else if (55296 <= codePoint_1 ? codePoint_1 <= 57343 : false) {
432
+ if (!(65533 === 65533)) {
433
+ var c_26 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
434
+ var _unary__edvuaz_27 = length;
435
+ length = _unary__edvuaz_27 + 1 | 0;
436
+ chars[_unary__edvuaz_27] = c_26;
437
+ var c_27 = numberToChar((65533 & 1023) + 56320 | 0);
438
+ var _unary__edvuaz_28 = length;
439
+ length = _unary__edvuaz_28 + 1 | 0;
440
+ chars[_unary__edvuaz_28] = c_27;
441
+ } else {
442
+ var c_28 = _Char___init__impl__6a9atx(65533);
443
+ var _unary__edvuaz_29 = length;
444
+ length = _unary__edvuaz_29 + 1 | 0;
445
+ chars[_unary__edvuaz_29] = c_28;
446
+ }
447
+ } else if (codePoint_1 < 65536) {
448
+ if (!(65533 === 65533)) {
449
+ var c_29 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
450
+ var _unary__edvuaz_30 = length;
451
+ length = _unary__edvuaz_30 + 1 | 0;
452
+ chars[_unary__edvuaz_30] = c_29;
453
+ var c_30 = numberToChar((65533 & 1023) + 56320 | 0);
454
+ var _unary__edvuaz_31 = length;
455
+ length = _unary__edvuaz_31 + 1 | 0;
456
+ chars[_unary__edvuaz_31] = c_30;
457
+ } else {
458
+ var c_31 = _Char___init__impl__6a9atx(65533);
459
+ var _unary__edvuaz_32 = length;
460
+ length = _unary__edvuaz_32 + 1 | 0;
461
+ chars[_unary__edvuaz_32] = c_31;
462
+ }
463
+ } else {
464
+ if (!(codePoint_1 === 65533)) {
465
+ var c_32 = numberToChar((codePoint_1 >>> 10 | 0) + 55232 | 0);
466
+ var _unary__edvuaz_33 = length;
467
+ length = _unary__edvuaz_33 + 1 | 0;
468
+ chars[_unary__edvuaz_33] = c_32;
469
+ var c_33 = numberToChar((codePoint_1 & 1023) + 56320 | 0);
470
+ var _unary__edvuaz_34 = length;
471
+ length = _unary__edvuaz_34 + 1 | 0;
472
+ chars[_unary__edvuaz_34] = c_33;
473
+ } else {
474
+ var c_34 = _Char___init__impl__6a9atx(65533);
475
+ var _unary__edvuaz_35 = length;
476
+ length = _unary__edvuaz_35 + 1 | 0;
477
+ chars[_unary__edvuaz_35] = c_34;
478
+ }
479
+ }
480
+ tmp$ret$41 = 4;
481
+ }
482
+ index = tmp_2 + tmp$ret$41 | 0;
483
+ } else {
484
+ var c_35 = _Char___init__impl__6a9atx(65533);
485
+ var _unary__edvuaz_36 = length;
486
+ length = _unary__edvuaz_36 + 1 | 0;
487
+ chars[_unary__edvuaz_36] = c_35;
488
+ index = index + 1 | 0;
489
+ }
490
+ }
491
+ }
492
+ }
493
+ }
494
+ return concatToString(chars, 0, length);
495
+ }
496
+ function get_HEX_DIGIT_CHARS() {
497
+ _init_properties_ByteString_kt__sqjq7b();
498
+ return HEX_DIGIT_CHARS;
499
+ }
500
+ var HEX_DIGIT_CHARS;
501
+ function codePointIndexToCharIndex(s, codePointCount) {
502
+ _init_properties_ByteString_kt__sqjq7b();
503
+ var charCount = 0;
504
+ var j = 0;
505
+ // Inline function 'okio.processUtf8CodePoints' call
506
+ var endIndex = s.length;
507
+ var index = 0;
508
+ while (index < endIndex) {
509
+ var b0 = s[index];
510
+ if (b0 >= 0) {
511
+ var _unary__edvuaz = j;
512
+ j = _unary__edvuaz + 1 | 0;
513
+ if (_unary__edvuaz === codePointCount) {
514
+ return charCount;
515
+ }
516
+ var tmp;
517
+ var tmp_0;
518
+ var tmp_1;
519
+ // Inline function 'kotlin.code' call
520
+ var this_0 = _Char___init__impl__6a9atx(10);
521
+ if (!(b0 === Char__toInt_impl_vasixd(this_0))) {
522
+ // Inline function 'kotlin.code' call
523
+ var this_1 = _Char___init__impl__6a9atx(13);
524
+ tmp_1 = !(b0 === Char__toInt_impl_vasixd(this_1));
525
+ } else {
526
+ tmp_1 = false;
527
+ }
528
+ if (tmp_1) {
529
+ // Inline function 'okio.isIsoControl' call
530
+ tmp_0 = (0 <= b0 ? b0 <= 31 : false) || (127 <= b0 ? b0 <= 159 : false);
531
+ } else {
532
+ tmp_0 = false;
533
+ }
534
+ if (tmp_0) {
535
+ tmp = true;
536
+ } else {
537
+ tmp = b0 === 65533;
538
+ }
539
+ if (tmp) {
540
+ return -1;
541
+ }
542
+ charCount = charCount + (b0 < 65536 ? 1 : 2) | 0;
543
+ index = index + 1 | 0;
544
+ while (index < endIndex && s[index] >= 0) {
545
+ var _unary__edvuaz_0 = index;
546
+ index = _unary__edvuaz_0 + 1 | 0;
547
+ var c = s[_unary__edvuaz_0];
548
+ var _unary__edvuaz_1 = j;
549
+ j = _unary__edvuaz_1 + 1 | 0;
550
+ if (_unary__edvuaz_1 === codePointCount) {
551
+ return charCount;
552
+ }
553
+ var tmp_2;
554
+ var tmp_3;
555
+ var tmp_4;
556
+ // Inline function 'kotlin.code' call
557
+ var this_2 = _Char___init__impl__6a9atx(10);
558
+ if (!(c === Char__toInt_impl_vasixd(this_2))) {
559
+ // Inline function 'kotlin.code' call
560
+ var this_3 = _Char___init__impl__6a9atx(13);
561
+ tmp_4 = !(c === Char__toInt_impl_vasixd(this_3));
562
+ } else {
563
+ tmp_4 = false;
564
+ }
565
+ if (tmp_4) {
566
+ // Inline function 'okio.isIsoControl' call
567
+ tmp_3 = (0 <= c ? c <= 31 : false) || (127 <= c ? c <= 159 : false);
568
+ } else {
569
+ tmp_3 = false;
570
+ }
571
+ if (tmp_3) {
572
+ tmp_2 = true;
573
+ } else {
574
+ tmp_2 = c === 65533;
575
+ }
576
+ if (tmp_2) {
577
+ return -1;
578
+ }
579
+ charCount = charCount + (c < 65536 ? 1 : 2) | 0;
580
+ }
581
+ } else {
582
+ // Inline function 'okio.shr' call
583
+ if (b0 >> 5 === -2) {
584
+ var tmp_5 = index;
585
+ var tmp2 = index;
586
+ var tmp$ret$14;
587
+ $l$block_0: {
588
+ // Inline function 'okio.process2Utf8Bytes' call
589
+ if (endIndex <= (tmp2 + 1 | 0)) {
590
+ var _unary__edvuaz_2 = j;
591
+ j = _unary__edvuaz_2 + 1 | 0;
592
+ if (_unary__edvuaz_2 === codePointCount) {
593
+ return charCount;
594
+ }
595
+ var tmp_6;
596
+ var tmp_7;
597
+ var tmp_8;
598
+ // Inline function 'kotlin.code' call
599
+ var this_4 = _Char___init__impl__6a9atx(10);
600
+ if (!(65533 === Char__toInt_impl_vasixd(this_4))) {
601
+ // Inline function 'kotlin.code' call
602
+ var this_5 = _Char___init__impl__6a9atx(13);
603
+ tmp_8 = !(65533 === Char__toInt_impl_vasixd(this_5));
604
+ } else {
605
+ tmp_8 = false;
606
+ }
607
+ if (tmp_8) {
608
+ // Inline function 'okio.isIsoControl' call
609
+ tmp_7 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
610
+ } else {
611
+ tmp_7 = false;
612
+ }
613
+ if (tmp_7) {
614
+ tmp_6 = true;
615
+ } else {
616
+ tmp_6 = 65533 === 65533;
617
+ }
618
+ if (tmp_6) {
619
+ return -1;
620
+ }
621
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
622
+ tmp$ret$14 = 1;
623
+ break $l$block_0;
624
+ }
625
+ var b0_0 = s[tmp2];
626
+ var b1 = s[tmp2 + 1 | 0];
627
+ // Inline function 'okio.isUtf8Continuation' call
628
+ // Inline function 'okio.and' call
629
+ if (!((b1 & 192) === 128)) {
630
+ var _unary__edvuaz_3 = j;
631
+ j = _unary__edvuaz_3 + 1 | 0;
632
+ if (_unary__edvuaz_3 === codePointCount) {
633
+ return charCount;
634
+ }
635
+ var tmp_9;
636
+ var tmp_10;
637
+ var tmp_11;
638
+ // Inline function 'kotlin.code' call
639
+ var this_6 = _Char___init__impl__6a9atx(10);
640
+ if (!(65533 === Char__toInt_impl_vasixd(this_6))) {
641
+ // Inline function 'kotlin.code' call
642
+ var this_7 = _Char___init__impl__6a9atx(13);
643
+ tmp_11 = !(65533 === Char__toInt_impl_vasixd(this_7));
644
+ } else {
645
+ tmp_11 = false;
646
+ }
647
+ if (tmp_11) {
648
+ // Inline function 'okio.isIsoControl' call
649
+ tmp_10 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
650
+ } else {
651
+ tmp_10 = false;
652
+ }
653
+ if (tmp_10) {
654
+ tmp_9 = true;
655
+ } else {
656
+ tmp_9 = 65533 === 65533;
657
+ }
658
+ if (tmp_9) {
659
+ return -1;
660
+ }
661
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
662
+ tmp$ret$14 = 1;
663
+ break $l$block_0;
664
+ }
665
+ var codePoint = 3968 ^ b1 ^ b0_0 << 6;
666
+ if (codePoint < 128) {
667
+ var _unary__edvuaz_4 = j;
668
+ j = _unary__edvuaz_4 + 1 | 0;
669
+ if (_unary__edvuaz_4 === codePointCount) {
670
+ return charCount;
671
+ }
672
+ var tmp_12;
673
+ var tmp_13;
674
+ var tmp_14;
675
+ // Inline function 'kotlin.code' call
676
+ var this_8 = _Char___init__impl__6a9atx(10);
677
+ if (!(65533 === Char__toInt_impl_vasixd(this_8))) {
678
+ // Inline function 'kotlin.code' call
679
+ var this_9 = _Char___init__impl__6a9atx(13);
680
+ tmp_14 = !(65533 === Char__toInt_impl_vasixd(this_9));
681
+ } else {
682
+ tmp_14 = false;
683
+ }
684
+ if (tmp_14) {
685
+ // Inline function 'okio.isIsoControl' call
686
+ tmp_13 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
687
+ } else {
688
+ tmp_13 = false;
689
+ }
690
+ if (tmp_13) {
691
+ tmp_12 = true;
692
+ } else {
693
+ tmp_12 = 65533 === 65533;
694
+ }
695
+ if (tmp_12) {
696
+ return -1;
697
+ }
698
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
699
+ } else {
700
+ var _unary__edvuaz_5 = j;
701
+ j = _unary__edvuaz_5 + 1 | 0;
702
+ if (_unary__edvuaz_5 === codePointCount) {
703
+ return charCount;
704
+ }
705
+ var tmp_15;
706
+ var tmp_16;
707
+ var tmp_17;
708
+ // Inline function 'kotlin.code' call
709
+ var this_10 = _Char___init__impl__6a9atx(10);
710
+ if (!(codePoint === Char__toInt_impl_vasixd(this_10))) {
711
+ // Inline function 'kotlin.code' call
712
+ var this_11 = _Char___init__impl__6a9atx(13);
713
+ tmp_17 = !(codePoint === Char__toInt_impl_vasixd(this_11));
714
+ } else {
715
+ tmp_17 = false;
716
+ }
717
+ if (tmp_17) {
718
+ // Inline function 'okio.isIsoControl' call
719
+ tmp_16 = (0 <= codePoint ? codePoint <= 31 : false) || (127 <= codePoint ? codePoint <= 159 : false);
720
+ } else {
721
+ tmp_16 = false;
722
+ }
723
+ if (tmp_16) {
724
+ tmp_15 = true;
725
+ } else {
726
+ tmp_15 = codePoint === 65533;
727
+ }
728
+ if (tmp_15) {
729
+ return -1;
730
+ }
731
+ charCount = charCount + (codePoint < 65536 ? 1 : 2) | 0;
732
+ }
733
+ tmp$ret$14 = 2;
734
+ }
735
+ index = tmp_5 + tmp$ret$14 | 0;
736
+ } else {
737
+ // Inline function 'okio.shr' call
738
+ if (b0 >> 4 === -2) {
739
+ var tmp_18 = index;
740
+ var tmp2_0 = index;
741
+ var tmp$ret$40;
742
+ $l$block_4: {
743
+ // Inline function 'okio.process3Utf8Bytes' call
744
+ if (endIndex <= (tmp2_0 + 2 | 0)) {
745
+ var _unary__edvuaz_6 = j;
746
+ j = _unary__edvuaz_6 + 1 | 0;
747
+ if (_unary__edvuaz_6 === codePointCount) {
748
+ return charCount;
749
+ }
750
+ var tmp_19;
751
+ var tmp_20;
752
+ var tmp_21;
753
+ // Inline function 'kotlin.code' call
754
+ var this_12 = _Char___init__impl__6a9atx(10);
755
+ if (!(65533 === Char__toInt_impl_vasixd(this_12))) {
756
+ // Inline function 'kotlin.code' call
757
+ var this_13 = _Char___init__impl__6a9atx(13);
758
+ tmp_21 = !(65533 === Char__toInt_impl_vasixd(this_13));
759
+ } else {
760
+ tmp_21 = false;
761
+ }
762
+ if (tmp_21) {
763
+ // Inline function 'okio.isIsoControl' call
764
+ tmp_20 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
765
+ } else {
766
+ tmp_20 = false;
767
+ }
768
+ if (tmp_20) {
769
+ tmp_19 = true;
770
+ } else {
771
+ tmp_19 = 65533 === 65533;
772
+ }
773
+ if (tmp_19) {
774
+ return -1;
775
+ }
776
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
777
+ var tmp_22;
778
+ if (endIndex <= (tmp2_0 + 1 | 0)) {
779
+ tmp_22 = true;
780
+ } else {
781
+ // Inline function 'okio.isUtf8Continuation' call
782
+ // Inline function 'okio.and' call
783
+ tmp_22 = !((s[tmp2_0 + 1 | 0] & 192) === 128);
784
+ }
785
+ if (tmp_22) {
786
+ tmp$ret$40 = 1;
787
+ break $l$block_4;
788
+ } else {
789
+ tmp$ret$40 = 2;
790
+ break $l$block_4;
791
+ }
792
+ }
793
+ var b0_1 = s[tmp2_0];
794
+ var b1_0 = s[tmp2_0 + 1 | 0];
795
+ // Inline function 'okio.isUtf8Continuation' call
796
+ // Inline function 'okio.and' call
797
+ if (!((b1_0 & 192) === 128)) {
798
+ var _unary__edvuaz_7 = j;
799
+ j = _unary__edvuaz_7 + 1 | 0;
800
+ if (_unary__edvuaz_7 === codePointCount) {
801
+ return charCount;
802
+ }
803
+ var tmp_23;
804
+ var tmp_24;
805
+ var tmp_25;
806
+ // Inline function 'kotlin.code' call
807
+ var this_14 = _Char___init__impl__6a9atx(10);
808
+ if (!(65533 === Char__toInt_impl_vasixd(this_14))) {
809
+ // Inline function 'kotlin.code' call
810
+ var this_15 = _Char___init__impl__6a9atx(13);
811
+ tmp_25 = !(65533 === Char__toInt_impl_vasixd(this_15));
812
+ } else {
813
+ tmp_25 = false;
814
+ }
815
+ if (tmp_25) {
816
+ // Inline function 'okio.isIsoControl' call
817
+ tmp_24 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
818
+ } else {
819
+ tmp_24 = false;
820
+ }
821
+ if (tmp_24) {
822
+ tmp_23 = true;
823
+ } else {
824
+ tmp_23 = 65533 === 65533;
825
+ }
826
+ if (tmp_23) {
827
+ return -1;
828
+ }
829
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
830
+ tmp$ret$40 = 1;
831
+ break $l$block_4;
832
+ }
833
+ var b2 = s[tmp2_0 + 2 | 0];
834
+ // Inline function 'okio.isUtf8Continuation' call
835
+ // Inline function 'okio.and' call
836
+ if (!((b2 & 192) === 128)) {
837
+ var _unary__edvuaz_8 = j;
838
+ j = _unary__edvuaz_8 + 1 | 0;
839
+ if (_unary__edvuaz_8 === codePointCount) {
840
+ return charCount;
841
+ }
842
+ var tmp_26;
843
+ var tmp_27;
844
+ var tmp_28;
845
+ // Inline function 'kotlin.code' call
846
+ var this_16 = _Char___init__impl__6a9atx(10);
847
+ if (!(65533 === Char__toInt_impl_vasixd(this_16))) {
848
+ // Inline function 'kotlin.code' call
849
+ var this_17 = _Char___init__impl__6a9atx(13);
850
+ tmp_28 = !(65533 === Char__toInt_impl_vasixd(this_17));
851
+ } else {
852
+ tmp_28 = false;
853
+ }
854
+ if (tmp_28) {
855
+ // Inline function 'okio.isIsoControl' call
856
+ tmp_27 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
857
+ } else {
858
+ tmp_27 = false;
859
+ }
860
+ if (tmp_27) {
861
+ tmp_26 = true;
862
+ } else {
863
+ tmp_26 = 65533 === 65533;
864
+ }
865
+ if (tmp_26) {
866
+ return -1;
867
+ }
868
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
869
+ tmp$ret$40 = 2;
870
+ break $l$block_4;
871
+ }
872
+ var codePoint_0 = -123008 ^ b2 ^ b1_0 << 6 ^ b0_1 << 12;
873
+ if (codePoint_0 < 2048) {
874
+ var _unary__edvuaz_9 = j;
875
+ j = _unary__edvuaz_9 + 1 | 0;
876
+ if (_unary__edvuaz_9 === codePointCount) {
877
+ return charCount;
878
+ }
879
+ var tmp_29;
880
+ var tmp_30;
881
+ var tmp_31;
882
+ // Inline function 'kotlin.code' call
883
+ var this_18 = _Char___init__impl__6a9atx(10);
884
+ if (!(65533 === Char__toInt_impl_vasixd(this_18))) {
885
+ // Inline function 'kotlin.code' call
886
+ var this_19 = _Char___init__impl__6a9atx(13);
887
+ tmp_31 = !(65533 === Char__toInt_impl_vasixd(this_19));
888
+ } else {
889
+ tmp_31 = false;
890
+ }
891
+ if (tmp_31) {
892
+ // Inline function 'okio.isIsoControl' call
893
+ tmp_30 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
894
+ } else {
895
+ tmp_30 = false;
896
+ }
897
+ if (tmp_30) {
898
+ tmp_29 = true;
899
+ } else {
900
+ tmp_29 = 65533 === 65533;
901
+ }
902
+ if (tmp_29) {
903
+ return -1;
904
+ }
905
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
906
+ } else if (55296 <= codePoint_0 ? codePoint_0 <= 57343 : false) {
907
+ var _unary__edvuaz_10 = j;
908
+ j = _unary__edvuaz_10 + 1 | 0;
909
+ if (_unary__edvuaz_10 === codePointCount) {
910
+ return charCount;
911
+ }
912
+ var tmp_32;
913
+ var tmp_33;
914
+ var tmp_34;
915
+ // Inline function 'kotlin.code' call
916
+ var this_20 = _Char___init__impl__6a9atx(10);
917
+ if (!(65533 === Char__toInt_impl_vasixd(this_20))) {
918
+ // Inline function 'kotlin.code' call
919
+ var this_21 = _Char___init__impl__6a9atx(13);
920
+ tmp_34 = !(65533 === Char__toInt_impl_vasixd(this_21));
921
+ } else {
922
+ tmp_34 = false;
923
+ }
924
+ if (tmp_34) {
925
+ // Inline function 'okio.isIsoControl' call
926
+ tmp_33 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
927
+ } else {
928
+ tmp_33 = false;
929
+ }
930
+ if (tmp_33) {
931
+ tmp_32 = true;
932
+ } else {
933
+ tmp_32 = 65533 === 65533;
934
+ }
935
+ if (tmp_32) {
936
+ return -1;
937
+ }
938
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
939
+ } else {
940
+ var _unary__edvuaz_11 = j;
941
+ j = _unary__edvuaz_11 + 1 | 0;
942
+ if (_unary__edvuaz_11 === codePointCount) {
943
+ return charCount;
944
+ }
945
+ var tmp_35;
946
+ var tmp_36;
947
+ var tmp_37;
948
+ // Inline function 'kotlin.code' call
949
+ var this_22 = _Char___init__impl__6a9atx(10);
950
+ if (!(codePoint_0 === Char__toInt_impl_vasixd(this_22))) {
951
+ // Inline function 'kotlin.code' call
952
+ var this_23 = _Char___init__impl__6a9atx(13);
953
+ tmp_37 = !(codePoint_0 === Char__toInt_impl_vasixd(this_23));
954
+ } else {
955
+ tmp_37 = false;
956
+ }
957
+ if (tmp_37) {
958
+ // Inline function 'okio.isIsoControl' call
959
+ tmp_36 = (0 <= codePoint_0 ? codePoint_0 <= 31 : false) || (127 <= codePoint_0 ? codePoint_0 <= 159 : false);
960
+ } else {
961
+ tmp_36 = false;
962
+ }
963
+ if (tmp_36) {
964
+ tmp_35 = true;
965
+ } else {
966
+ tmp_35 = codePoint_0 === 65533;
967
+ }
968
+ if (tmp_35) {
969
+ return -1;
970
+ }
971
+ charCount = charCount + (codePoint_0 < 65536 ? 1 : 2) | 0;
972
+ }
973
+ tmp$ret$40 = 3;
974
+ }
975
+ index = tmp_18 + tmp$ret$40 | 0;
976
+ } else {
977
+ // Inline function 'okio.shr' call
978
+ if (b0 >> 3 === -2) {
979
+ var tmp_38 = index;
980
+ var tmp2_1 = index;
981
+ var tmp$ret$78;
982
+ $l$block_10: {
983
+ // Inline function 'okio.process4Utf8Bytes' call
984
+ if (endIndex <= (tmp2_1 + 3 | 0)) {
985
+ var _unary__edvuaz_12 = j;
986
+ j = _unary__edvuaz_12 + 1 | 0;
987
+ if (_unary__edvuaz_12 === codePointCount) {
988
+ return charCount;
989
+ }
990
+ var tmp_39;
991
+ var tmp_40;
992
+ var tmp_41;
993
+ // Inline function 'kotlin.code' call
994
+ var this_24 = _Char___init__impl__6a9atx(10);
995
+ if (!(65533 === Char__toInt_impl_vasixd(this_24))) {
996
+ // Inline function 'kotlin.code' call
997
+ var this_25 = _Char___init__impl__6a9atx(13);
998
+ tmp_41 = !(65533 === Char__toInt_impl_vasixd(this_25));
999
+ } else {
1000
+ tmp_41 = false;
1001
+ }
1002
+ if (tmp_41) {
1003
+ // Inline function 'okio.isIsoControl' call
1004
+ tmp_40 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1005
+ } else {
1006
+ tmp_40 = false;
1007
+ }
1008
+ if (tmp_40) {
1009
+ tmp_39 = true;
1010
+ } else {
1011
+ tmp_39 = 65533 === 65533;
1012
+ }
1013
+ if (tmp_39) {
1014
+ return -1;
1015
+ }
1016
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1017
+ var tmp_42;
1018
+ if (endIndex <= (tmp2_1 + 1 | 0)) {
1019
+ tmp_42 = true;
1020
+ } else {
1021
+ // Inline function 'okio.isUtf8Continuation' call
1022
+ // Inline function 'okio.and' call
1023
+ tmp_42 = !((s[tmp2_1 + 1 | 0] & 192) === 128);
1024
+ }
1025
+ if (tmp_42) {
1026
+ tmp$ret$78 = 1;
1027
+ break $l$block_10;
1028
+ } else {
1029
+ var tmp_43;
1030
+ if (endIndex <= (tmp2_1 + 2 | 0)) {
1031
+ tmp_43 = true;
1032
+ } else {
1033
+ // Inline function 'okio.isUtf8Continuation' call
1034
+ // Inline function 'okio.and' call
1035
+ tmp_43 = !((s[tmp2_1 + 2 | 0] & 192) === 128);
1036
+ }
1037
+ if (tmp_43) {
1038
+ tmp$ret$78 = 2;
1039
+ break $l$block_10;
1040
+ } else {
1041
+ tmp$ret$78 = 3;
1042
+ break $l$block_10;
1043
+ }
1044
+ }
1045
+ }
1046
+ var b0_2 = s[tmp2_1];
1047
+ var b1_1 = s[tmp2_1 + 1 | 0];
1048
+ // Inline function 'okio.isUtf8Continuation' call
1049
+ // Inline function 'okio.and' call
1050
+ if (!((b1_1 & 192) === 128)) {
1051
+ var _unary__edvuaz_13 = j;
1052
+ j = _unary__edvuaz_13 + 1 | 0;
1053
+ if (_unary__edvuaz_13 === codePointCount) {
1054
+ return charCount;
1055
+ }
1056
+ var tmp_44;
1057
+ var tmp_45;
1058
+ var tmp_46;
1059
+ // Inline function 'kotlin.code' call
1060
+ var this_26 = _Char___init__impl__6a9atx(10);
1061
+ if (!(65533 === Char__toInt_impl_vasixd(this_26))) {
1062
+ // Inline function 'kotlin.code' call
1063
+ var this_27 = _Char___init__impl__6a9atx(13);
1064
+ tmp_46 = !(65533 === Char__toInt_impl_vasixd(this_27));
1065
+ } else {
1066
+ tmp_46 = false;
1067
+ }
1068
+ if (tmp_46) {
1069
+ // Inline function 'okio.isIsoControl' call
1070
+ tmp_45 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1071
+ } else {
1072
+ tmp_45 = false;
1073
+ }
1074
+ if (tmp_45) {
1075
+ tmp_44 = true;
1076
+ } else {
1077
+ tmp_44 = 65533 === 65533;
1078
+ }
1079
+ if (tmp_44) {
1080
+ return -1;
1081
+ }
1082
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1083
+ tmp$ret$78 = 1;
1084
+ break $l$block_10;
1085
+ }
1086
+ var b2_0 = s[tmp2_1 + 2 | 0];
1087
+ // Inline function 'okio.isUtf8Continuation' call
1088
+ // Inline function 'okio.and' call
1089
+ if (!((b2_0 & 192) === 128)) {
1090
+ var _unary__edvuaz_14 = j;
1091
+ j = _unary__edvuaz_14 + 1 | 0;
1092
+ if (_unary__edvuaz_14 === codePointCount) {
1093
+ return charCount;
1094
+ }
1095
+ var tmp_47;
1096
+ var tmp_48;
1097
+ var tmp_49;
1098
+ // Inline function 'kotlin.code' call
1099
+ var this_28 = _Char___init__impl__6a9atx(10);
1100
+ if (!(65533 === Char__toInt_impl_vasixd(this_28))) {
1101
+ // Inline function 'kotlin.code' call
1102
+ var this_29 = _Char___init__impl__6a9atx(13);
1103
+ tmp_49 = !(65533 === Char__toInt_impl_vasixd(this_29));
1104
+ } else {
1105
+ tmp_49 = false;
1106
+ }
1107
+ if (tmp_49) {
1108
+ // Inline function 'okio.isIsoControl' call
1109
+ tmp_48 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1110
+ } else {
1111
+ tmp_48 = false;
1112
+ }
1113
+ if (tmp_48) {
1114
+ tmp_47 = true;
1115
+ } else {
1116
+ tmp_47 = 65533 === 65533;
1117
+ }
1118
+ if (tmp_47) {
1119
+ return -1;
1120
+ }
1121
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1122
+ tmp$ret$78 = 2;
1123
+ break $l$block_10;
1124
+ }
1125
+ var b3 = s[tmp2_1 + 3 | 0];
1126
+ // Inline function 'okio.isUtf8Continuation' call
1127
+ // Inline function 'okio.and' call
1128
+ if (!((b3 & 192) === 128)) {
1129
+ var _unary__edvuaz_15 = j;
1130
+ j = _unary__edvuaz_15 + 1 | 0;
1131
+ if (_unary__edvuaz_15 === codePointCount) {
1132
+ return charCount;
1133
+ }
1134
+ var tmp_50;
1135
+ var tmp_51;
1136
+ var tmp_52;
1137
+ // Inline function 'kotlin.code' call
1138
+ var this_30 = _Char___init__impl__6a9atx(10);
1139
+ if (!(65533 === Char__toInt_impl_vasixd(this_30))) {
1140
+ // Inline function 'kotlin.code' call
1141
+ var this_31 = _Char___init__impl__6a9atx(13);
1142
+ tmp_52 = !(65533 === Char__toInt_impl_vasixd(this_31));
1143
+ } else {
1144
+ tmp_52 = false;
1145
+ }
1146
+ if (tmp_52) {
1147
+ // Inline function 'okio.isIsoControl' call
1148
+ tmp_51 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1149
+ } else {
1150
+ tmp_51 = false;
1151
+ }
1152
+ if (tmp_51) {
1153
+ tmp_50 = true;
1154
+ } else {
1155
+ tmp_50 = 65533 === 65533;
1156
+ }
1157
+ if (tmp_50) {
1158
+ return -1;
1159
+ }
1160
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1161
+ tmp$ret$78 = 3;
1162
+ break $l$block_10;
1163
+ }
1164
+ var codePoint_1 = 3678080 ^ b3 ^ b2_0 << 6 ^ b1_1 << 12 ^ b0_2 << 18;
1165
+ if (codePoint_1 > 1114111) {
1166
+ var _unary__edvuaz_16 = j;
1167
+ j = _unary__edvuaz_16 + 1 | 0;
1168
+ if (_unary__edvuaz_16 === codePointCount) {
1169
+ return charCount;
1170
+ }
1171
+ var tmp_53;
1172
+ var tmp_54;
1173
+ var tmp_55;
1174
+ // Inline function 'kotlin.code' call
1175
+ var this_32 = _Char___init__impl__6a9atx(10);
1176
+ if (!(65533 === Char__toInt_impl_vasixd(this_32))) {
1177
+ // Inline function 'kotlin.code' call
1178
+ var this_33 = _Char___init__impl__6a9atx(13);
1179
+ tmp_55 = !(65533 === Char__toInt_impl_vasixd(this_33));
1180
+ } else {
1181
+ tmp_55 = false;
1182
+ }
1183
+ if (tmp_55) {
1184
+ // Inline function 'okio.isIsoControl' call
1185
+ tmp_54 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1186
+ } else {
1187
+ tmp_54 = false;
1188
+ }
1189
+ if (tmp_54) {
1190
+ tmp_53 = true;
1191
+ } else {
1192
+ tmp_53 = 65533 === 65533;
1193
+ }
1194
+ if (tmp_53) {
1195
+ return -1;
1196
+ }
1197
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1198
+ } else if (55296 <= codePoint_1 ? codePoint_1 <= 57343 : false) {
1199
+ var _unary__edvuaz_17 = j;
1200
+ j = _unary__edvuaz_17 + 1 | 0;
1201
+ if (_unary__edvuaz_17 === codePointCount) {
1202
+ return charCount;
1203
+ }
1204
+ var tmp_56;
1205
+ var tmp_57;
1206
+ var tmp_58;
1207
+ // Inline function 'kotlin.code' call
1208
+ var this_34 = _Char___init__impl__6a9atx(10);
1209
+ if (!(65533 === Char__toInt_impl_vasixd(this_34))) {
1210
+ // Inline function 'kotlin.code' call
1211
+ var this_35 = _Char___init__impl__6a9atx(13);
1212
+ tmp_58 = !(65533 === Char__toInt_impl_vasixd(this_35));
1213
+ } else {
1214
+ tmp_58 = false;
1215
+ }
1216
+ if (tmp_58) {
1217
+ // Inline function 'okio.isIsoControl' call
1218
+ tmp_57 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1219
+ } else {
1220
+ tmp_57 = false;
1221
+ }
1222
+ if (tmp_57) {
1223
+ tmp_56 = true;
1224
+ } else {
1225
+ tmp_56 = 65533 === 65533;
1226
+ }
1227
+ if (tmp_56) {
1228
+ return -1;
1229
+ }
1230
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1231
+ } else if (codePoint_1 < 65536) {
1232
+ var _unary__edvuaz_18 = j;
1233
+ j = _unary__edvuaz_18 + 1 | 0;
1234
+ if (_unary__edvuaz_18 === codePointCount) {
1235
+ return charCount;
1236
+ }
1237
+ var tmp_59;
1238
+ var tmp_60;
1239
+ var tmp_61;
1240
+ // Inline function 'kotlin.code' call
1241
+ var this_36 = _Char___init__impl__6a9atx(10);
1242
+ if (!(65533 === Char__toInt_impl_vasixd(this_36))) {
1243
+ // Inline function 'kotlin.code' call
1244
+ var this_37 = _Char___init__impl__6a9atx(13);
1245
+ tmp_61 = !(65533 === Char__toInt_impl_vasixd(this_37));
1246
+ } else {
1247
+ tmp_61 = false;
1248
+ }
1249
+ if (tmp_61) {
1250
+ // Inline function 'okio.isIsoControl' call
1251
+ tmp_60 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1252
+ } else {
1253
+ tmp_60 = false;
1254
+ }
1255
+ if (tmp_60) {
1256
+ tmp_59 = true;
1257
+ } else {
1258
+ tmp_59 = 65533 === 65533;
1259
+ }
1260
+ if (tmp_59) {
1261
+ return -1;
1262
+ }
1263
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1264
+ } else {
1265
+ var _unary__edvuaz_19 = j;
1266
+ j = _unary__edvuaz_19 + 1 | 0;
1267
+ if (_unary__edvuaz_19 === codePointCount) {
1268
+ return charCount;
1269
+ }
1270
+ var tmp_62;
1271
+ var tmp_63;
1272
+ var tmp_64;
1273
+ // Inline function 'kotlin.code' call
1274
+ var this_38 = _Char___init__impl__6a9atx(10);
1275
+ if (!(codePoint_1 === Char__toInt_impl_vasixd(this_38))) {
1276
+ // Inline function 'kotlin.code' call
1277
+ var this_39 = _Char___init__impl__6a9atx(13);
1278
+ tmp_64 = !(codePoint_1 === Char__toInt_impl_vasixd(this_39));
1279
+ } else {
1280
+ tmp_64 = false;
1281
+ }
1282
+ if (tmp_64) {
1283
+ // Inline function 'okio.isIsoControl' call
1284
+ tmp_63 = (0 <= codePoint_1 ? codePoint_1 <= 31 : false) || (127 <= codePoint_1 ? codePoint_1 <= 159 : false);
1285
+ } else {
1286
+ tmp_63 = false;
1287
+ }
1288
+ if (tmp_63) {
1289
+ tmp_62 = true;
1290
+ } else {
1291
+ tmp_62 = codePoint_1 === 65533;
1292
+ }
1293
+ if (tmp_62) {
1294
+ return -1;
1295
+ }
1296
+ charCount = charCount + (codePoint_1 < 65536 ? 1 : 2) | 0;
1297
+ }
1298
+ tmp$ret$78 = 4;
1299
+ }
1300
+ index = tmp_38 + tmp$ret$78 | 0;
1301
+ } else {
1302
+ var _unary__edvuaz_20 = j;
1303
+ j = _unary__edvuaz_20 + 1 | 0;
1304
+ if (_unary__edvuaz_20 === codePointCount) {
1305
+ return charCount;
1306
+ }
1307
+ var tmp_65;
1308
+ var tmp_66;
1309
+ var tmp_67;
1310
+ // Inline function 'kotlin.code' call
1311
+ var this_40 = _Char___init__impl__6a9atx(10);
1312
+ if (!(65533 === Char__toInt_impl_vasixd(this_40))) {
1313
+ // Inline function 'kotlin.code' call
1314
+ var this_41 = _Char___init__impl__6a9atx(13);
1315
+ tmp_67 = !(65533 === Char__toInt_impl_vasixd(this_41));
1316
+ } else {
1317
+ tmp_67 = false;
1318
+ }
1319
+ if (tmp_67) {
1320
+ // Inline function 'okio.isIsoControl' call
1321
+ tmp_66 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1322
+ } else {
1323
+ tmp_66 = false;
1324
+ }
1325
+ if (tmp_66) {
1326
+ tmp_65 = true;
1327
+ } else {
1328
+ tmp_65 = 65533 === 65533;
1329
+ }
1330
+ if (tmp_65) {
1331
+ return -1;
1332
+ }
1333
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1334
+ index = index + 1 | 0;
1335
+ }
1336
+ }
1337
+ }
1338
+ }
1339
+ }
1340
+ return charCount;
1341
+ }
1342
+ function access$codePointIndexToCharIndex$tByteStringKt(s, codePointCount) {
1343
+ return codePointIndexToCharIndex(s, codePointCount);
1344
+ }
1345
+ var properties_initialized_ByteString_kt_8ybv8b;
1346
+ function _init_properties_ByteString_kt__sqjq7b() {
1347
+ if (!properties_initialized_ByteString_kt_8ybv8b) {
1348
+ properties_initialized_ByteString_kt_8ybv8b = true;
1349
+ // Inline function 'kotlin.charArrayOf' call
1350
+ HEX_DIGIT_CHARS = charArrayOf([_Char___init__impl__6a9atx(48), _Char___init__impl__6a9atx(49), _Char___init__impl__6a9atx(50), _Char___init__impl__6a9atx(51), _Char___init__impl__6a9atx(52), _Char___init__impl__6a9atx(53), _Char___init__impl__6a9atx(54), _Char___init__impl__6a9atx(55), _Char___init__impl__6a9atx(56), _Char___init__impl__6a9atx(57), _Char___init__impl__6a9atx(97), _Char___init__impl__6a9atx(98), _Char___init__impl__6a9atx(99), _Char___init__impl__6a9atx(100), _Char___init__impl__6a9atx(101), _Char___init__impl__6a9atx(102)]);
1351
+ }
1352
+ }
1353
+ function segment(_this__u8e3s4, pos) {
1354
+ var i = binarySearch(_this__u8e3s4.i5k_1, pos + 1 | 0, 0, _this__u8e3s4.h5k_1.length);
1355
+ return i >= 0 ? i : ~i;
1356
+ }
1357
+ function binarySearch(_this__u8e3s4, value, fromIndex, toIndex) {
1358
+ var left = fromIndex;
1359
+ var right = toIndex - 1 | 0;
1360
+ while (left <= right) {
1361
+ var mid = (left + right | 0) >>> 1 | 0;
1362
+ var midVal = _this__u8e3s4[mid];
1363
+ if (midVal < value)
1364
+ left = mid + 1 | 0;
1365
+ else if (midVal > value)
1366
+ right = mid - 1 | 0;
1367
+ else
1368
+ return mid;
1369
+ }
1370
+ return (-left | 0) - 1 | 0;
1371
+ }
1372
+ function processChunk($this, input, pos) {
1373
+ var words = $this.m5k_1;
1374
+ var pos_0 = pos;
1375
+ var inductionVariable = 0;
1376
+ if (inductionVariable < 16)
1377
+ do {
1378
+ var w = inductionVariable;
1379
+ inductionVariable = inductionVariable + 1 | 0;
1380
+ var _unary__edvuaz = pos_0;
1381
+ pos_0 = _unary__edvuaz + 1 | 0;
1382
+ // Inline function 'okio.and' call
1383
+ var tmp = (input[_unary__edvuaz] & 255) << 24;
1384
+ var _unary__edvuaz_0 = pos_0;
1385
+ pos_0 = _unary__edvuaz_0 + 1 | 0;
1386
+ // Inline function 'okio.and' call
1387
+ var tmp_0 = tmp | (input[_unary__edvuaz_0] & 255) << 16;
1388
+ var _unary__edvuaz_1 = pos_0;
1389
+ pos_0 = _unary__edvuaz_1 + 1 | 0;
1390
+ // Inline function 'okio.and' call
1391
+ var tmp_1 = tmp_0 | (input[_unary__edvuaz_1] & 255) << 8;
1392
+ var _unary__edvuaz_2 = pos_0;
1393
+ pos_0 = _unary__edvuaz_2 + 1 | 0;
1394
+ // Inline function 'okio.and' call
1395
+ words[w] = tmp_1 | input[_unary__edvuaz_2] & 255;
1396
+ }
1397
+ while (inductionVariable < 16);
1398
+ var inductionVariable_0 = 16;
1399
+ if (inductionVariable_0 < 64)
1400
+ do {
1401
+ var w_0 = inductionVariable_0;
1402
+ inductionVariable_0 = inductionVariable_0 + 1 | 0;
1403
+ var w15 = words[w_0 - 15 | 0];
1404
+ var s0 = (w15 >>> 7 | 0 | w15 << 25) ^ (w15 >>> 18 | 0 | w15 << 14) ^ (w15 >>> 3 | 0);
1405
+ var w2 = words[w_0 - 2 | 0];
1406
+ var s1 = (w2 >>> 17 | 0 | w2 << 15) ^ (w2 >>> 19 | 0 | w2 << 13) ^ (w2 >>> 10 | 0);
1407
+ var w16 = words[w_0 - 16 | 0];
1408
+ var w7 = words[w_0 - 7 | 0];
1409
+ words[w_0] = ((w16 + s0 | 0) + w7 | 0) + s1 | 0;
1410
+ }
1411
+ while (inductionVariable_0 < 64);
1412
+ hash($this, words);
1413
+ }
1414
+ function hash($this, words) {
1415
+ var localK = Companion_getInstance_0().v5k_1;
1416
+ var a = $this.n5k_1;
1417
+ var b = $this.o5k_1;
1418
+ var c = $this.p5k_1;
1419
+ var d = $this.q5k_1;
1420
+ var e = $this.r5k_1;
1421
+ var f = $this.s5k_1;
1422
+ var g = $this.t5k_1;
1423
+ var h = $this.u5k_1;
1424
+ var inductionVariable = 0;
1425
+ if (inductionVariable < 64)
1426
+ do {
1427
+ var i = inductionVariable;
1428
+ inductionVariable = inductionVariable + 1 | 0;
1429
+ var s0 = (a >>> 2 | 0 | a << 30) ^ (a >>> 13 | 0 | a << 19) ^ (a >>> 22 | 0 | a << 10);
1430
+ var s1 = (e >>> 6 | 0 | e << 26) ^ (e >>> 11 | 0 | e << 21) ^ (e >>> 25 | 0 | e << 7);
1431
+ var ch = e & f ^ ~e & g;
1432
+ var maj = a & b ^ a & c ^ b & c;
1433
+ var t1 = (((h + s1 | 0) + ch | 0) + localK[i] | 0) + words[i] | 0;
1434
+ var t2 = s0 + maj | 0;
1435
+ h = g;
1436
+ g = f;
1437
+ f = e;
1438
+ e = d + t1 | 0;
1439
+ d = c;
1440
+ c = b;
1441
+ b = a;
1442
+ a = t1 + t2 | 0;
1443
+ }
1444
+ while (inductionVariable < 64);
1445
+ $this.n5k_1 = $this.n5k_1 + a | 0;
1446
+ $this.o5k_1 = $this.o5k_1 + b | 0;
1447
+ $this.p5k_1 = $this.p5k_1 + c | 0;
1448
+ $this.q5k_1 = $this.q5k_1 + d | 0;
1449
+ $this.r5k_1 = $this.r5k_1 + e | 0;
1450
+ $this.s5k_1 = $this.s5k_1 + f | 0;
1451
+ $this.t5k_1 = $this.t5k_1 + g | 0;
1452
+ $this.u5k_1 = $this.u5k_1 + h | 0;
1453
+ }
1454
+ function reset($this) {
1455
+ $this.j5k_1 = new Long(0, 0);
1456
+ fill($this.k5k_1, 0);
1457
+ $this.l5k_1 = 0;
1458
+ fill_0($this.m5k_1, 0);
1459
+ $this.n5k_1 = 1779033703;
1460
+ $this.o5k_1 = -1150833019;
1461
+ $this.p5k_1 = 1013904242;
1462
+ $this.q5k_1 = -1521486534;
1463
+ $this.r5k_1 = 1359893119;
1464
+ $this.s5k_1 = -1694144372;
1465
+ $this.t5k_1 = 528734635;
1466
+ $this.u5k_1 = 1541459225;
1467
+ }
1468
+ function Companion_0() {
1469
+ Companion_instance_0 = this;
1470
+ var tmp = this;
1471
+ // Inline function 'kotlin.intArrayOf' call
1472
+ tmp.v5k_1 = new Int32Array([1116352408, 1899447441, -1245643825, -373957723, 961987163, 1508970993, -1841331548, -1424204075, -670586216, 310598401, 607225278, 1426881987, 1925078388, -2132889090, -1680079193, -1046744716, -459576895, -272742522, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, -1740746414, -1473132947, -1341970488, -1084653625, -958395405, -710438585, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, -2117940946, -1838011259, -1564481375, -1474664885, -1035236496, -949202525, -778901479, -694614492, -200395387, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, -2067236844, -1933114872, -1866530822, -1538233109, -1090935817, -965641998]);
1473
+ }
1474
+ var Companion_instance_0;
1475
+ function Companion_getInstance_0() {
1476
+ if (Companion_instance_0 == null)
1477
+ new Companion_0();
1478
+ return Companion_instance_0;
1479
+ }
1480
+ function Sha256() {
1481
+ Companion_getInstance_0();
1482
+ this.j5k_1 = new Long(0, 0);
1483
+ this.k5k_1 = new Int8Array(64);
1484
+ this.l5k_1 = 0;
1485
+ this.m5k_1 = new Int32Array(64);
1486
+ this.n5k_1 = 1779033703;
1487
+ this.o5k_1 = -1150833019;
1488
+ this.p5k_1 = 1013904242;
1489
+ this.q5k_1 = -1521486534;
1490
+ this.r5k_1 = 1359893119;
1491
+ this.s5k_1 = -1694144372;
1492
+ this.t5k_1 = 528734635;
1493
+ this.u5k_1 = 1541459225;
1494
+ }
1495
+ protoOf(Sha256).w5k = function (input, offset, byteCount) {
1496
+ var tmp = this;
1497
+ // Inline function 'kotlin.Long.plus' call
1498
+ var this_0 = this.j5k_1;
1499
+ tmp.j5k_1 = add(this_0, fromInt(byteCount));
1500
+ var pos = offset;
1501
+ var limit = pos + byteCount | 0;
1502
+ var unprocessed = this.k5k_1;
1503
+ var unprocessedLimit = this.l5k_1;
1504
+ if (unprocessedLimit > 0) {
1505
+ if ((unprocessedLimit + byteCount | 0) < 64) {
1506
+ // Inline function 'kotlin.collections.copyInto' call
1507
+ var startIndex = pos;
1508
+ // Inline function 'kotlin.js.unsafeCast' call
1509
+ // Inline function 'kotlin.js.asDynamic' call
1510
+ var tmp_0 = input;
1511
+ // Inline function 'kotlin.js.unsafeCast' call
1512
+ // Inline function 'kotlin.js.asDynamic' call
1513
+ arrayCopy(tmp_0, unprocessed, unprocessedLimit, startIndex, limit);
1514
+ this.l5k_1 = unprocessedLimit + byteCount | 0;
1515
+ return Unit_instance;
1516
+ }
1517
+ var consumeByteCount = 64 - unprocessedLimit | 0;
1518
+ var tmp6 = pos;
1519
+ // Inline function 'kotlin.collections.copyInto' call
1520
+ var endIndex = pos + consumeByteCount | 0;
1521
+ // Inline function 'kotlin.js.unsafeCast' call
1522
+ // Inline function 'kotlin.js.asDynamic' call
1523
+ var tmp_1 = input;
1524
+ // Inline function 'kotlin.js.unsafeCast' call
1525
+ // Inline function 'kotlin.js.asDynamic' call
1526
+ arrayCopy(tmp_1, unprocessed, unprocessedLimit, tmp6, endIndex);
1527
+ processChunk(this, unprocessed, 0);
1528
+ this.l5k_1 = 0;
1529
+ pos = pos + consumeByteCount | 0;
1530
+ }
1531
+ while (pos < limit) {
1532
+ var nextPos = pos + 64 | 0;
1533
+ if (nextPos > limit) {
1534
+ // Inline function 'kotlin.collections.copyInto' call
1535
+ var startIndex_0 = pos;
1536
+ // Inline function 'kotlin.js.unsafeCast' call
1537
+ // Inline function 'kotlin.js.asDynamic' call
1538
+ var tmp_2 = input;
1539
+ // Inline function 'kotlin.js.unsafeCast' call
1540
+ // Inline function 'kotlin.js.asDynamic' call
1541
+ arrayCopy(tmp_2, unprocessed, 0, startIndex_0, limit);
1542
+ this.l5k_1 = limit - pos | 0;
1543
+ return Unit_instance;
1544
+ }
1545
+ processChunk(this, input, pos);
1546
+ pos = nextPos;
1547
+ }
1548
+ };
1549
+ protoOf(Sha256).x5k = function () {
1550
+ var unprocessed = this.k5k_1;
1551
+ var unprocessedLimit = this.l5k_1;
1552
+ // Inline function 'kotlin.Long.times' call
1553
+ var this_0 = this.j5k_1;
1554
+ var messageLengthBits = multiply(this_0, fromInt(8));
1555
+ var _unary__edvuaz = unprocessedLimit;
1556
+ unprocessedLimit = _unary__edvuaz + 1 | 0;
1557
+ unprocessed[_unary__edvuaz] = -128;
1558
+ if (unprocessedLimit > 56) {
1559
+ fill(unprocessed, 0, unprocessedLimit, 64);
1560
+ processChunk(this, unprocessed, 0);
1561
+ fill(unprocessed, 0, 0, unprocessedLimit);
1562
+ } else {
1563
+ fill(unprocessed, 0, unprocessedLimit, 56);
1564
+ }
1565
+ unprocessed[56] = convertToByte(shiftRightUnsigned(messageLengthBits, 56));
1566
+ unprocessed[57] = convertToByte(shiftRightUnsigned(messageLengthBits, 48));
1567
+ unprocessed[58] = convertToByte(shiftRightUnsigned(messageLengthBits, 40));
1568
+ unprocessed[59] = convertToByte(shiftRightUnsigned(messageLengthBits, 32));
1569
+ unprocessed[60] = convertToByte(shiftRightUnsigned(messageLengthBits, 24));
1570
+ unprocessed[61] = convertToByte(shiftRightUnsigned(messageLengthBits, 16));
1571
+ unprocessed[62] = convertToByte(shiftRightUnsigned(messageLengthBits, 8));
1572
+ unprocessed[63] = convertToByte(messageLengthBits);
1573
+ processChunk(this, unprocessed, 0);
1574
+ var a = this.n5k_1;
1575
+ var b = this.o5k_1;
1576
+ var c = this.p5k_1;
1577
+ var d = this.q5k_1;
1578
+ var e = this.r5k_1;
1579
+ var f = this.s5k_1;
1580
+ var g = this.t5k_1;
1581
+ var h = this.u5k_1;
1582
+ reset(this);
1583
+ // Inline function 'kotlin.byteArrayOf' call
1584
+ return new Int8Array([toByte(a >> 24), toByte(a >> 16), toByte(a >> 8), toByte(a), toByte(b >> 24), toByte(b >> 16), toByte(b >> 8), toByte(b), toByte(c >> 24), toByte(c >> 16), toByte(c >> 8), toByte(c), toByte(d >> 24), toByte(d >> 16), toByte(d >> 8), toByte(d), toByte(e >> 24), toByte(e >> 16), toByte(e >> 8), toByte(e), toByte(f >> 24), toByte(f >> 16), toByte(f >> 8), toByte(f), toByte(g >> 24), toByte(g >> 16), toByte(g >> 8), toByte(g), toByte(h >> 24), toByte(h >> 16), toByte(h >> 8), toByte(h)]);
1585
+ };
1586
+ function Companion_1() {
1587
+ Companion_instance_1 = this;
1588
+ var tmp = this;
1589
+ // Inline function 'kotlin.byteArrayOf' call
1590
+ var tmp$ret$0 = new Int8Array([]);
1591
+ tmp.y5k_1 = new ByteString(tmp$ret$0);
1592
+ }
1593
+ protoOf(Companion_1).z5k = function (_this__u8e3s4, offset, byteCount) {
1594
+ // Inline function 'okio.internal.commonToByteString' call
1595
+ var byteCount_0 = resolveDefaultParameter_0(_this__u8e3s4, byteCount);
1596
+ checkOffsetAndCount(fromInt(_this__u8e3s4.length), fromInt(offset), fromInt(byteCount_0));
1597
+ return new ByteString(copyOfRange(_this__u8e3s4, offset, offset + byteCount_0 | 0));
1598
+ };
1599
+ protoOf(Companion_1).a5l = function (_this__u8e3s4, offset, byteCount, $super) {
1600
+ offset = offset === VOID ? 0 : offset;
1601
+ byteCount = byteCount === VOID ? get_DEFAULT__ByteString_size() : byteCount;
1602
+ return $super === VOID ? this.z5k(_this__u8e3s4, offset, byteCount) : $super.z5k.call(this, _this__u8e3s4, offset, byteCount);
1603
+ };
1604
+ var Companion_instance_1;
1605
+ function Companion_getInstance_1() {
1606
+ if (Companion_instance_1 == null)
1607
+ new Companion_1();
1608
+ return Companion_instance_1;
1609
+ }
1610
+ function ByteString(data) {
1611
+ Companion_getInstance_1();
1612
+ this.b5k_1 = data;
1613
+ this.c5k_1 = 0;
1614
+ this.d5k_1 = null;
1615
+ }
1616
+ protoOf(ByteString).b5l = function (value) {
1617
+ };
1618
+ protoOf(ByteString).c5l = function (value) {
1619
+ };
1620
+ protoOf(ByteString).d5l = function () {
1621
+ // Inline function 'okio.internal.commonUtf8' call
1622
+ var result = this.d5k_1;
1623
+ if (result == null) {
1624
+ result = toUtf8String(this.e5l());
1625
+ this.c5l(result);
1626
+ }
1627
+ return result;
1628
+ };
1629
+ protoOf(ByteString).f5l = function () {
1630
+ // Inline function 'okio.internal.commonHex' call
1631
+ var result = charArray(imul(this.b5k_1.length, 2));
1632
+ var c = 0;
1633
+ var indexedObject = this.b5k_1;
1634
+ var inductionVariable = 0;
1635
+ var last = indexedObject.length;
1636
+ while (inductionVariable < last) {
1637
+ var b = indexedObject[inductionVariable];
1638
+ inductionVariable = inductionVariable + 1 | 0;
1639
+ var _unary__edvuaz = c;
1640
+ c = _unary__edvuaz + 1 | 0;
1641
+ var tmp = get_HEX_DIGIT_CHARS();
1642
+ // Inline function 'okio.shr' call
1643
+ result[_unary__edvuaz] = tmp[b >> 4 & 15];
1644
+ var _unary__edvuaz_0 = c;
1645
+ c = _unary__edvuaz_0 + 1 | 0;
1646
+ var tmp_0 = get_HEX_DIGIT_CHARS();
1647
+ // Inline function 'okio.and' call
1648
+ result[_unary__edvuaz_0] = tmp_0[b & 15];
1649
+ }
1650
+ return concatToString_0(result);
1651
+ };
1652
+ protoOf(ByteString).g5l = function () {
1653
+ return this.h5l(new Sha256());
1654
+ };
1655
+ protoOf(ByteString).h5l = function (hashFunction) {
1656
+ hashFunction.w5k(this.b5k_1, 0, this.o());
1657
+ var digestBytes = hashFunction.x5k();
1658
+ return new ByteString(digestBytes);
1659
+ };
1660
+ protoOf(ByteString).i5l = function (pos) {
1661
+ if (pos >= this.o() || pos < 0)
1662
+ throw new ArrayIndexOutOfBoundsException('size=' + this.o() + ' pos=' + pos);
1663
+ // Inline function 'okio.internal.commonGetByte' call
1664
+ return this.b5k_1[pos];
1665
+ };
1666
+ protoOf(ByteString).p = function (index) {
1667
+ return this.i5l(index);
1668
+ };
1669
+ protoOf(ByteString).o = function () {
1670
+ return this.j5l();
1671
+ };
1672
+ protoOf(ByteString).j5l = function () {
1673
+ // Inline function 'okio.internal.commonGetSize' call
1674
+ return this.b5k_1.length;
1675
+ };
1676
+ protoOf(ByteString).e5l = function () {
1677
+ // Inline function 'okio.internal.commonInternalArray' call
1678
+ return this.b5k_1;
1679
+ };
1680
+ protoOf(ByteString).k5l = function (offset, other, otherOffset, byteCount) {
1681
+ // Inline function 'okio.internal.commonRangeEquals' call
1682
+ return offset >= 0 && offset <= (this.b5k_1.length - byteCount | 0) && otherOffset >= 0 && otherOffset <= (other.length - byteCount | 0) && arrayRangeEquals(this.b5k_1, offset, other, otherOffset, byteCount);
1683
+ };
1684
+ protoOf(ByteString).equals = function (other) {
1685
+ // Inline function 'okio.internal.commonEquals' call
1686
+ var tmp;
1687
+ if (other === this) {
1688
+ tmp = true;
1689
+ } else {
1690
+ if (other instanceof ByteString) {
1691
+ tmp = (other.o() === this.b5k_1.length && other.k5l(0, this.b5k_1, 0, this.b5k_1.length));
1692
+ } else {
1693
+ tmp = false;
1694
+ }
1695
+ }
1696
+ return tmp;
1697
+ };
1698
+ protoOf(ByteString).hashCode = function () {
1699
+ var tmp$ret$0;
1700
+ $l$block: {
1701
+ // Inline function 'okio.internal.commonHashCode' call
1702
+ var result = this.c5k_1;
1703
+ if (!(result === 0)) {
1704
+ tmp$ret$0 = result;
1705
+ break $l$block;
1706
+ }
1707
+ // Inline function 'kotlin.also' call
1708
+ var this_0 = contentHashCode(this.b5k_1);
1709
+ this.b5l(this_0);
1710
+ tmp$ret$0 = this_0;
1711
+ }
1712
+ return tmp$ret$0;
1713
+ };
1714
+ protoOf(ByteString).l5l = function (other) {
1715
+ var tmp$ret$3;
1716
+ $l$block_0: {
1717
+ // Inline function 'okio.internal.commonCompareTo' call
1718
+ var sizeA = this.o();
1719
+ var sizeB = other.o();
1720
+ var i = 0;
1721
+ // Inline function 'kotlin.comparisons.minOf' call
1722
+ var size = Math.min(sizeA, sizeB);
1723
+ $l$loop: while (i < size) {
1724
+ // Inline function 'okio.and' call
1725
+ var byteA = this.p(i) & 255;
1726
+ // Inline function 'okio.and' call
1727
+ var byteB = other.p(i) & 255;
1728
+ if (byteA === byteB) {
1729
+ i = i + 1 | 0;
1730
+ continue $l$loop;
1731
+ }
1732
+ tmp$ret$3 = byteA < byteB ? -1 : 1;
1733
+ break $l$block_0;
1734
+ }
1735
+ if (sizeA === sizeB) {
1736
+ tmp$ret$3 = 0;
1737
+ break $l$block_0;
1738
+ }
1739
+ tmp$ret$3 = sizeA < sizeB ? -1 : 1;
1740
+ }
1741
+ return tmp$ret$3;
1742
+ };
1743
+ protoOf(ByteString).d = function (other) {
1744
+ return this.l5l(other instanceof ByteString ? other : THROW_CCE());
1745
+ };
1746
+ protoOf(ByteString).toString = function () {
1747
+ var tmp$ret$1;
1748
+ $l$block_1: {
1749
+ // Inline function 'okio.internal.commonToString' call
1750
+ // Inline function 'kotlin.collections.isEmpty' call
1751
+ if (this.b5k_1.length === 0) {
1752
+ tmp$ret$1 = '[size=0]';
1753
+ break $l$block_1;
1754
+ }
1755
+ var i = access$codePointIndexToCharIndex$tByteStringKt(this.b5k_1, 64);
1756
+ if (i === -1) {
1757
+ var tmp;
1758
+ if (this.b5k_1.length <= 64) {
1759
+ tmp = '[hex=' + this.f5l() + ']';
1760
+ } else {
1761
+ var tmp_0 = this.b5k_1.length;
1762
+ var tmp$ret$8;
1763
+ $l$block_0: {
1764
+ // Inline function 'okio.internal.commonSubstring' call
1765
+ var endIndex = resolveDefaultParameter(this, 64);
1766
+ // Inline function 'kotlin.require' call
1767
+ if (!(0 >= 0)) {
1768
+ var message = 'beginIndex < 0';
1769
+ throw IllegalArgumentException_init_$Create$(toString(message));
1770
+ }
1771
+ // Inline function 'kotlin.require' call
1772
+ if (!(endIndex <= this.b5k_1.length)) {
1773
+ var message_0 = 'endIndex > length(' + this.b5k_1.length + ')';
1774
+ throw IllegalArgumentException_init_$Create$(toString(message_0));
1775
+ }
1776
+ var subLen = endIndex - 0 | 0;
1777
+ // Inline function 'kotlin.require' call
1778
+ if (!(subLen >= 0)) {
1779
+ var message_1 = 'endIndex < beginIndex';
1780
+ throw IllegalArgumentException_init_$Create$(toString(message_1));
1781
+ }
1782
+ if (0 === 0 && endIndex === this.b5k_1.length) {
1783
+ tmp$ret$8 = this;
1784
+ break $l$block_0;
1785
+ }
1786
+ tmp$ret$8 = new ByteString(copyOfRange(this.b5k_1, 0, endIndex));
1787
+ }
1788
+ tmp = '[size=' + tmp_0 + ' hex=' + tmp$ret$8.f5l() + '\u2026]';
1789
+ }
1790
+ tmp$ret$1 = tmp;
1791
+ break $l$block_1;
1792
+ }
1793
+ var text = this.d5l();
1794
+ var safeText = replace(replace(replace(substring(text, 0, i), '\\', '\\\\'), '\n', '\\n'), '\r', '\\r');
1795
+ var tmp_1;
1796
+ if (i < text.length) {
1797
+ tmp_1 = '[size=' + this.b5k_1.length + ' text=' + safeText + '\u2026]';
1798
+ } else {
1799
+ tmp_1 = '[text=' + safeText + ']';
1800
+ }
1801
+ tmp$ret$1 = tmp_1;
1802
+ }
1803
+ return tmp$ret$1;
1804
+ };
1805
+ function toByteString($this) {
1806
+ return new ByteString($this.m5l());
1807
+ }
1808
+ function SegmentedByteString(segments, directory) {
1809
+ ByteString.call(this, Companion_getInstance_1().y5k_1.b5k_1);
1810
+ this.h5k_1 = segments;
1811
+ this.i5k_1 = directory;
1812
+ }
1813
+ protoOf(SegmentedByteString).f5l = function () {
1814
+ return toByteString(this).f5l();
1815
+ };
1816
+ protoOf(SegmentedByteString).i5l = function (pos) {
1817
+ // Inline function 'okio.internal.commonInternalGet' call
1818
+ checkOffsetAndCount(fromInt(this.i5k_1[this.h5k_1.length - 1 | 0]), fromInt(pos), new Long(1, 0));
1819
+ var segment_0 = segment(this, pos);
1820
+ var segmentOffset = segment_0 === 0 ? 0 : this.i5k_1[segment_0 - 1 | 0];
1821
+ var segmentPos = this.i5k_1[segment_0 + this.h5k_1.length | 0];
1822
+ return this.h5k_1[segment_0][(pos - segmentOffset | 0) + segmentPos | 0];
1823
+ };
1824
+ protoOf(SegmentedByteString).j5l = function () {
1825
+ // Inline function 'okio.internal.commonGetSize' call
1826
+ return this.i5k_1[this.h5k_1.length - 1 | 0];
1827
+ };
1828
+ protoOf(SegmentedByteString).m5l = function () {
1829
+ // Inline function 'okio.internal.commonToByteArray' call
1830
+ var result = new Int8Array(this.o());
1831
+ var resultPos = 0;
1832
+ // Inline function 'okio.internal.forEachSegment' call
1833
+ var segmentCount = this.h5k_1.length;
1834
+ var s = 0;
1835
+ var pos = 0;
1836
+ while (s < segmentCount) {
1837
+ var segmentPos = this.i5k_1[segmentCount + s | 0];
1838
+ var nextSegmentOffset = this.i5k_1[s];
1839
+ var tmp0 = this.h5k_1[s];
1840
+ var byteCount = nextSegmentOffset - pos | 0;
1841
+ var tmp4 = resultPos;
1842
+ // Inline function 'kotlin.collections.copyInto' call
1843
+ var endIndex = segmentPos + byteCount | 0;
1844
+ // Inline function 'kotlin.js.unsafeCast' call
1845
+ // Inline function 'kotlin.js.asDynamic' call
1846
+ var tmp = tmp0;
1847
+ // Inline function 'kotlin.js.unsafeCast' call
1848
+ // Inline function 'kotlin.js.asDynamic' call
1849
+ arrayCopy(tmp, result, tmp4, segmentPos, endIndex);
1850
+ resultPos = resultPos + byteCount | 0;
1851
+ pos = nextSegmentOffset;
1852
+ s = s + 1 | 0;
1853
+ }
1854
+ return result;
1855
+ };
1856
+ protoOf(SegmentedByteString).n5l = function (offset, other, otherOffset, byteCount) {
1857
+ var tmp$ret$0;
1858
+ $l$block_0: {
1859
+ // Inline function 'okio.internal.commonRangeEquals' call
1860
+ if (offset < 0 || offset > (this.o() - byteCount | 0)) {
1861
+ tmp$ret$0 = false;
1862
+ break $l$block_0;
1863
+ }
1864
+ var otherOffset_0 = otherOffset;
1865
+ var endIndex = offset + byteCount | 0;
1866
+ var s = segment(this, offset);
1867
+ var pos = offset;
1868
+ while (pos < endIndex) {
1869
+ var segmentOffset = s === 0 ? 0 : this.i5k_1[s - 1 | 0];
1870
+ var segmentSize = this.i5k_1[s] - segmentOffset | 0;
1871
+ var segmentPos = this.i5k_1[this.h5k_1.length + s | 0];
1872
+ // Inline function 'kotlin.comparisons.minOf' call
1873
+ var b = segmentOffset + segmentSize | 0;
1874
+ var byteCount_0 = Math.min(endIndex, b) - pos | 0;
1875
+ var offset_0 = segmentPos + (pos - segmentOffset | 0) | 0;
1876
+ var data = this.h5k_1[s];
1877
+ if (!other.k5l(otherOffset_0, data, offset_0, byteCount_0)) {
1878
+ tmp$ret$0 = false;
1879
+ break $l$block_0;
1880
+ }
1881
+ otherOffset_0 = otherOffset_0 + byteCount_0 | 0;
1882
+ pos = pos + byteCount_0 | 0;
1883
+ s = s + 1 | 0;
1884
+ }
1885
+ tmp$ret$0 = true;
1886
+ }
1887
+ return tmp$ret$0;
1888
+ };
1889
+ protoOf(SegmentedByteString).k5l = function (offset, other, otherOffset, byteCount) {
1890
+ var tmp$ret$0;
1891
+ $l$block_0: {
1892
+ // Inline function 'okio.internal.commonRangeEquals' call
1893
+ if (offset < 0 || offset > (this.o() - byteCount | 0) || otherOffset < 0 || otherOffset > (other.length - byteCount | 0)) {
1894
+ tmp$ret$0 = false;
1895
+ break $l$block_0;
1896
+ }
1897
+ var otherOffset_0 = otherOffset;
1898
+ var endIndex = offset + byteCount | 0;
1899
+ var s = segment(this, offset);
1900
+ var pos = offset;
1901
+ while (pos < endIndex) {
1902
+ var segmentOffset = s === 0 ? 0 : this.i5k_1[s - 1 | 0];
1903
+ var segmentSize = this.i5k_1[s] - segmentOffset | 0;
1904
+ var segmentPos = this.i5k_1[this.h5k_1.length + s | 0];
1905
+ // Inline function 'kotlin.comparisons.minOf' call
1906
+ var b = segmentOffset + segmentSize | 0;
1907
+ var byteCount_0 = Math.min(endIndex, b) - pos | 0;
1908
+ var offset_0 = segmentPos + (pos - segmentOffset | 0) | 0;
1909
+ var data = this.h5k_1[s];
1910
+ if (!arrayRangeEquals(data, offset_0, other, otherOffset_0, byteCount_0)) {
1911
+ tmp$ret$0 = false;
1912
+ break $l$block_0;
1913
+ }
1914
+ otherOffset_0 = otherOffset_0 + byteCount_0 | 0;
1915
+ pos = pos + byteCount_0 | 0;
1916
+ s = s + 1 | 0;
1917
+ }
1918
+ tmp$ret$0 = true;
1919
+ }
1920
+ return tmp$ret$0;
1921
+ };
1922
+ protoOf(SegmentedByteString).h5l = function (hashFunction) {
1923
+ // Inline function 'okio.internal.forEachSegment' call
1924
+ var segmentCount = this.h5k_1.length;
1925
+ var s = 0;
1926
+ var pos = 0;
1927
+ while (s < segmentCount) {
1928
+ var segmentPos = this.i5k_1[segmentCount + s | 0];
1929
+ var nextSegmentOffset = this.i5k_1[s];
1930
+ var tmp0 = this.h5k_1[s];
1931
+ var byteCount = nextSegmentOffset - pos | 0;
1932
+ hashFunction.w5k(tmp0, segmentPos, byteCount);
1933
+ pos = nextSegmentOffset;
1934
+ s = s + 1 | 0;
1935
+ }
1936
+ var digestBytes = hashFunction.x5k();
1937
+ return new ByteString(digestBytes);
1938
+ };
1939
+ protoOf(SegmentedByteString).e5l = function () {
1940
+ return this.m5l();
1941
+ };
1942
+ protoOf(SegmentedByteString).equals = function (other) {
1943
+ // Inline function 'okio.internal.commonEquals' call
1944
+ var tmp;
1945
+ if (other === this) {
1946
+ tmp = true;
1947
+ } else {
1948
+ if (other instanceof ByteString) {
1949
+ tmp = (other.o() === this.o() && this.n5l(0, other, 0, this.o()));
1950
+ } else {
1951
+ tmp = false;
1952
+ }
1953
+ }
1954
+ return tmp;
1955
+ };
1956
+ protoOf(SegmentedByteString).hashCode = function () {
1957
+ var tmp$ret$0;
1958
+ $l$block: {
1959
+ // Inline function 'okio.internal.commonHashCode' call
1960
+ var result = this.c5k_1;
1961
+ if (!(result === 0)) {
1962
+ tmp$ret$0 = result;
1963
+ break $l$block;
1964
+ }
1965
+ result = 1;
1966
+ // Inline function 'okio.internal.forEachSegment' call
1967
+ var segmentCount = this.h5k_1.length;
1968
+ var s = 0;
1969
+ var pos = 0;
1970
+ while (s < segmentCount) {
1971
+ var segmentPos = this.i5k_1[segmentCount + s | 0];
1972
+ var nextSegmentOffset = this.i5k_1[s];
1973
+ var tmp0 = this.h5k_1[s];
1974
+ var i = segmentPos;
1975
+ var limit = segmentPos + (nextSegmentOffset - pos | 0) | 0;
1976
+ while (i < limit) {
1977
+ result = imul(31, result) + tmp0[i] | 0;
1978
+ i = i + 1 | 0;
1979
+ }
1980
+ pos = nextSegmentOffset;
1981
+ s = s + 1 | 0;
1982
+ }
1983
+ this.b5l(result);
1984
+ tmp$ret$0 = result;
1985
+ }
1986
+ return tmp$ret$0;
1987
+ };
1988
+ protoOf(SegmentedByteString).toString = function () {
1989
+ return toByteString(this).toString();
1990
+ };
1991
+ function UnsafeCursor() {
1992
+ this.o5l_1 = null;
1993
+ this.p5l_1 = false;
1994
+ this.q5l_1 = null;
1995
+ this.r5l_1 = new Long(-1, -1);
1996
+ this.s5l_1 = null;
1997
+ this.t5l_1 = -1;
1998
+ this.u5l_1 = -1;
1999
+ }
2000
+ function Buffer() {
2001
+ this.v5l_1 = null;
2002
+ this.w5l_1 = new Long(0, 0);
2003
+ }
2004
+ protoOf(Buffer).x5l = function () {
2005
+ // Inline function 'okio.internal.commonReadByteArray' call
2006
+ return this.y5l(this.w5l_1);
2007
+ };
2008
+ protoOf(Buffer).y5l = function (byteCount) {
2009
+ // Inline function 'okio.internal.commonReadByteArray' call
2010
+ // Inline function 'kotlin.require' call
2011
+ if (!(compare(byteCount, new Long(0, 0)) >= 0 && compare(byteCount, new Long(2147483647, 0)) <= 0)) {
2012
+ var message = 'byteCount: ' + byteCount.toString();
2013
+ throw IllegalArgumentException_init_$Create$(toString(message));
2014
+ }
2015
+ if (compare(this.w5l_1, byteCount) < 0)
2016
+ throw EOFException_init_$Create$();
2017
+ var result = new Int8Array(convertToInt(byteCount));
2018
+ this.z5l(result);
2019
+ return result;
2020
+ };
2021
+ protoOf(Buffer).z5l = function (sink) {
2022
+ // Inline function 'okio.internal.commonReadFully' call
2023
+ var offset = 0;
2024
+ while (offset < sink.length) {
2025
+ var read = this.a5m(sink, offset, sink.length - offset | 0);
2026
+ if (read === -1)
2027
+ throw EOFException_init_$Create$();
2028
+ offset = offset + read | 0;
2029
+ }
2030
+ return Unit_instance;
2031
+ };
2032
+ protoOf(Buffer).a5m = function (sink, offset, byteCount) {
2033
+ var tmp$ret$0;
2034
+ $l$block: {
2035
+ // Inline function 'okio.internal.commonRead' call
2036
+ checkOffsetAndCount(fromInt(sink.length), fromInt(offset), fromInt(byteCount));
2037
+ var tmp0_elvis_lhs = this.v5l_1;
2038
+ var tmp;
2039
+ if (tmp0_elvis_lhs == null) {
2040
+ tmp$ret$0 = -1;
2041
+ break $l$block;
2042
+ } else {
2043
+ tmp = tmp0_elvis_lhs;
2044
+ }
2045
+ var s = tmp;
2046
+ // Inline function 'kotlin.comparisons.minOf' call
2047
+ var b = s.s5j_1 - s.r5j_1 | 0;
2048
+ var toCopy = Math.min(byteCount, b);
2049
+ var tmp0 = s.q5j_1;
2050
+ var tmp6 = s.r5j_1;
2051
+ // Inline function 'kotlin.collections.copyInto' call
2052
+ var endIndex = s.r5j_1 + toCopy | 0;
2053
+ // Inline function 'kotlin.js.unsafeCast' call
2054
+ // Inline function 'kotlin.js.asDynamic' call
2055
+ var tmp_0 = tmp0;
2056
+ // Inline function 'kotlin.js.unsafeCast' call
2057
+ // Inline function 'kotlin.js.asDynamic' call
2058
+ arrayCopy(tmp_0, sink, offset, tmp6, endIndex);
2059
+ s.r5j_1 = s.r5j_1 + toCopy | 0;
2060
+ this.w5l_1 = subtract(this.w5l_1, fromInt(toCopy));
2061
+ if (s.r5j_1 === s.s5j_1) {
2062
+ this.v5l_1 = s.z5j();
2063
+ SegmentPool_instance.d5m(s);
2064
+ }
2065
+ tmp$ret$0 = toCopy;
2066
+ }
2067
+ return tmp$ret$0;
2068
+ };
2069
+ protoOf(Buffer).e5m = function (minimumCapacity) {
2070
+ var tmp$ret$2;
2071
+ $l$block: {
2072
+ // Inline function 'okio.internal.commonWritableSegment' call
2073
+ // Inline function 'kotlin.require' call
2074
+ if (!(minimumCapacity >= 1 && minimumCapacity <= 8192)) {
2075
+ var message = 'unexpected capacity';
2076
+ throw IllegalArgumentException_init_$Create$(toString(message));
2077
+ }
2078
+ if (this.v5l_1 == null) {
2079
+ var result = SegmentPool_instance.st();
2080
+ this.v5l_1 = result;
2081
+ result.w5j_1 = result;
2082
+ result.v5j_1 = result;
2083
+ tmp$ret$2 = result;
2084
+ break $l$block;
2085
+ }
2086
+ var tail = ensureNotNull(this.v5l_1).w5j_1;
2087
+ if ((ensureNotNull(tail).s5j_1 + minimumCapacity | 0) > 8192 || !tail.u5j_1) {
2088
+ tail = tail.a5k(SegmentPool_instance.st());
2089
+ }
2090
+ tmp$ret$2 = tail;
2091
+ }
2092
+ return tmp$ret$2;
2093
+ };
2094
+ protoOf(Buffer).f5m = function (source) {
2095
+ // Inline function 'okio.internal.commonWrite' call
2096
+ return this.g5m(source, 0, source.length);
2097
+ };
2098
+ protoOf(Buffer).g5m = function (source, offset, byteCount) {
2099
+ // Inline function 'okio.internal.commonWrite' call
2100
+ var offset_0 = offset;
2101
+ checkOffsetAndCount(fromInt(source.length), fromInt(offset_0), fromInt(byteCount));
2102
+ var limit = offset_0 + byteCount | 0;
2103
+ while (offset_0 < limit) {
2104
+ var tail = this.e5m(1);
2105
+ var tmp0 = limit - offset_0 | 0;
2106
+ // Inline function 'kotlin.comparisons.minOf' call
2107
+ var b = 8192 - tail.s5j_1 | 0;
2108
+ var toCopy = Math.min(tmp0, b);
2109
+ var tmp2 = tail.q5j_1;
2110
+ var tmp4 = tail.s5j_1;
2111
+ var tmp6 = offset_0;
2112
+ // Inline function 'kotlin.collections.copyInto' call
2113
+ var endIndex = offset_0 + toCopy | 0;
2114
+ // Inline function 'kotlin.js.unsafeCast' call
2115
+ // Inline function 'kotlin.js.asDynamic' call
2116
+ var tmp = source;
2117
+ // Inline function 'kotlin.js.unsafeCast' call
2118
+ // Inline function 'kotlin.js.asDynamic' call
2119
+ arrayCopy(tmp, tmp2, tmp4, tmp6, endIndex);
2120
+ offset_0 = offset_0 + toCopy | 0;
2121
+ tail.s5j_1 = tail.s5j_1 + toCopy | 0;
2122
+ }
2123
+ this.w5l_1 = add(this.w5l_1, fromInt(byteCount));
2124
+ return this;
2125
+ };
2126
+ protoOf(Buffer).equals = function (other) {
2127
+ var tmp$ret$0;
2128
+ $l$block_3: {
2129
+ // Inline function 'okio.internal.commonEquals' call
2130
+ if (this === other) {
2131
+ tmp$ret$0 = true;
2132
+ break $l$block_3;
2133
+ }
2134
+ if (!(other instanceof Buffer)) {
2135
+ tmp$ret$0 = false;
2136
+ break $l$block_3;
2137
+ }
2138
+ if (!equalsLong(this.w5l_1, other.w5l_1)) {
2139
+ tmp$ret$0 = false;
2140
+ break $l$block_3;
2141
+ }
2142
+ if (equalsLong(this.w5l_1, new Long(0, 0))) {
2143
+ tmp$ret$0 = true;
2144
+ break $l$block_3;
2145
+ }
2146
+ var sa = ensureNotNull(this.v5l_1);
2147
+ var sb = ensureNotNull(other.v5l_1);
2148
+ var posA = sa.r5j_1;
2149
+ var posB = sb.r5j_1;
2150
+ var pos = new Long(0, 0);
2151
+ var count;
2152
+ while (compare(pos, this.w5l_1) < 0) {
2153
+ var tmp0 = sa.s5j_1 - posA | 0;
2154
+ // Inline function 'kotlin.comparisons.minOf' call
2155
+ var b = sb.s5j_1 - posB | 0;
2156
+ var tmp$ret$1 = Math.min(tmp0, b);
2157
+ count = fromInt(tmp$ret$1);
2158
+ var inductionVariable = new Long(0, 0);
2159
+ if (compare(inductionVariable, count) < 0)
2160
+ do {
2161
+ var i = inductionVariable;
2162
+ inductionVariable = add(inductionVariable, new Long(1, 0));
2163
+ var tmp = sa.q5j_1;
2164
+ var _unary__edvuaz = posA;
2165
+ posA = _unary__edvuaz + 1 | 0;
2166
+ var tmp_0 = tmp[_unary__edvuaz];
2167
+ var tmp_1 = sb.q5j_1;
2168
+ var _unary__edvuaz_0 = posB;
2169
+ posB = _unary__edvuaz_0 + 1 | 0;
2170
+ if (!(tmp_0 === tmp_1[_unary__edvuaz_0])) {
2171
+ tmp$ret$0 = false;
2172
+ break $l$block_3;
2173
+ }
2174
+ }
2175
+ while (compare(inductionVariable, count) < 0);
2176
+ if (posA === sa.s5j_1) {
2177
+ sa = ensureNotNull(sa.v5j_1);
2178
+ posA = sa.r5j_1;
2179
+ }
2180
+ if (posB === sb.s5j_1) {
2181
+ sb = ensureNotNull(sb.v5j_1);
2182
+ posB = sb.r5j_1;
2183
+ }
2184
+ pos = add(pos, count);
2185
+ }
2186
+ tmp$ret$0 = true;
2187
+ }
2188
+ return tmp$ret$0;
2189
+ };
2190
+ protoOf(Buffer).hashCode = function () {
2191
+ var tmp$ret$0;
2192
+ $l$block: {
2193
+ // Inline function 'okio.internal.commonHashCode' call
2194
+ var tmp0_elvis_lhs = this.v5l_1;
2195
+ var tmp;
2196
+ if (tmp0_elvis_lhs == null) {
2197
+ tmp$ret$0 = 0;
2198
+ break $l$block;
2199
+ } else {
2200
+ tmp = tmp0_elvis_lhs;
2201
+ }
2202
+ var s = tmp;
2203
+ var result = 1;
2204
+ do {
2205
+ var pos = s.r5j_1;
2206
+ var limit = s.s5j_1;
2207
+ while (pos < limit) {
2208
+ result = imul(31, result) + s.q5j_1[pos] | 0;
2209
+ pos = pos + 1 | 0;
2210
+ }
2211
+ s = ensureNotNull(s.v5j_1);
2212
+ }
2213
+ while (!(s === this.v5l_1));
2214
+ tmp$ret$0 = result;
2215
+ }
2216
+ return tmp$ret$0;
2217
+ };
2218
+ protoOf(Buffer).toString = function () {
2219
+ return this.h5m().toString();
2220
+ };
2221
+ protoOf(Buffer).h5m = function () {
2222
+ // Inline function 'okio.internal.commonSnapshot' call
2223
+ // Inline function 'kotlin.check' call
2224
+ if (!(compare(this.w5l_1, new Long(2147483647, 0)) <= 0)) {
2225
+ var message = 'size > Int.MAX_VALUE: ' + this.w5l_1.toString();
2226
+ throw IllegalStateException_init_$Create$(toString(message));
2227
+ }
2228
+ return this.i5m(convertToInt(this.w5l_1));
2229
+ };
2230
+ protoOf(Buffer).i5m = function (byteCount) {
2231
+ var tmp$ret$0;
2232
+ $l$block: {
2233
+ // Inline function 'okio.internal.commonSnapshot' call
2234
+ if (byteCount === 0) {
2235
+ tmp$ret$0 = Companion_getInstance_1().y5k_1;
2236
+ break $l$block;
2237
+ }
2238
+ checkOffsetAndCount(this.w5l_1, new Long(0, 0), fromInt(byteCount));
2239
+ var offset = 0;
2240
+ var segmentCount = 0;
2241
+ var s = this.v5l_1;
2242
+ while (offset < byteCount) {
2243
+ if (ensureNotNull(s).s5j_1 === s.r5j_1) {
2244
+ throw AssertionError_init_$Create$('s.limit == s.pos');
2245
+ }
2246
+ offset = offset + (s.s5j_1 - s.r5j_1 | 0) | 0;
2247
+ segmentCount = segmentCount + 1 | 0;
2248
+ s = s.v5j_1;
2249
+ }
2250
+ // Inline function 'kotlin.arrayOfNulls' call
2251
+ var size = segmentCount;
2252
+ var segments = Array(size);
2253
+ var directory = new Int32Array(imul(segmentCount, 2));
2254
+ offset = 0;
2255
+ segmentCount = 0;
2256
+ s = this.v5l_1;
2257
+ while (offset < byteCount) {
2258
+ segments[segmentCount] = ensureNotNull(s).q5j_1;
2259
+ offset = offset + (s.s5j_1 - s.r5j_1 | 0) | 0;
2260
+ var tmp = segmentCount;
2261
+ // Inline function 'kotlin.comparisons.minOf' call
2262
+ var a = offset;
2263
+ directory[tmp] = Math.min(a, byteCount);
2264
+ directory[segmentCount + segments.length | 0] = s.r5j_1;
2265
+ s.t5j_1 = true;
2266
+ segmentCount = segmentCount + 1 | 0;
2267
+ s = s.v5j_1;
2268
+ }
2269
+ tmp$ret$0 = new SegmentedByteString(isArray(segments) ? segments : THROW_CCE(), directory);
2270
+ }
2271
+ return tmp$ret$0;
2272
+ };
2273
+ function ArrayIndexOutOfBoundsException(message) {
2274
+ IndexOutOfBoundsException_init_$Init$(message, this);
2275
+ captureStack(this, ArrayIndexOutOfBoundsException);
2276
+ }
2277
+ function EOFException_init_$Init$($this) {
2278
+ EOFException.call($this, null);
2279
+ return $this;
2280
+ }
2281
+ function EOFException_init_$Create$() {
2282
+ var tmp = EOFException_init_$Init$(objectCreate(protoOf(EOFException)));
2283
+ captureStack(tmp, EOFException_init_$Create$);
2284
+ return tmp;
2285
+ }
2286
+ function EOFException(message) {
2287
+ IOException_init_$Init$(message, this);
2288
+ captureStack(this, EOFException);
2289
+ }
2290
+ function IOException_init_$Init$(message, $this) {
2291
+ IOException.call($this, message, null);
2292
+ return $this;
2293
+ }
2294
+ function IOException_init_$Init$_0($this) {
2295
+ IOException.call($this, null, null);
2296
+ return $this;
2297
+ }
2298
+ function IOException_init_$Create$() {
2299
+ var tmp = IOException_init_$Init$_0(objectCreate(protoOf(IOException)));
2300
+ captureStack(tmp, IOException_init_$Create$);
2301
+ return tmp;
2302
+ }
2303
+ function IOException(message, cause) {
2304
+ Exception_init_$Init$(message, cause, this);
2305
+ captureStack(this, IOException);
2306
+ }
2307
+ function toUtf8String(_this__u8e3s4) {
2308
+ return commonToUtf8String(_this__u8e3s4);
2309
+ }
2310
+ function SegmentPool() {
2311
+ this.b5m_1 = 0;
2312
+ this.c5m_1 = 0;
2313
+ }
2314
+ protoOf(SegmentPool).st = function () {
2315
+ return Segment_init_$Create$();
2316
+ };
2317
+ protoOf(SegmentPool).d5m = function (segment) {
2318
+ };
2319
+ var SegmentPool_instance;
2320
+ function SegmentPool_getInstance() {
2321
+ return SegmentPool_instance;
2322
+ }
2323
+ //region block: init
2324
+ Companion_instance = new Companion();
2325
+ SegmentPool_instance = new SegmentPool();
2326
+ //endregion
2327
+ //region block: exports
2328
+ _.$_$ = _.$_$ || {};
2329
+ _.$_$.a = Companion_getInstance_1;
2330
+ _.$_$.b = Buffer;
2331
+ //endregion
2332
+ return _;
2333
+ }(module.exports, require('./kotlin-kotlin-stdlib.js')));
2334
+
2335
+ //# sourceMappingURL=okio-parent-okio.js.map