@doordeck/doordeck-headless-sdk 0.78.0 → 0.79.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 (27) hide show
  1. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1343 -1343
  2. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +35 -35
  3. package/kotlin/MultiplatformSettings-multiplatform-settings.js +9 -9
  4. package/kotlin/doordeck-sdk.d.ts +4 -0
  5. package/kotlin/doordeck-sdk.js +11570 -11569
  6. package/kotlin/kotlin-kotlin-stdlib.js +2792 -2291
  7. package/kotlin/kotlinx-atomicfu.js +19 -19
  8. package/kotlin/kotlinx-coroutines-core.js +2805 -2189
  9. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +198 -2
  10. package/kotlin/kotlinx-io-kotlinx-io-core.js +536 -463
  11. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1939 -1939
  12. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1733 -1684
  13. package/kotlin/ktor-ktor-client-ktor-client-core.js +3455 -3134
  14. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +540 -438
  15. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +372 -271
  16. package/kotlin/ktor-ktor-http-ktor-http-cio.js +2017 -0
  17. package/kotlin/ktor-ktor-http.js +1012 -906
  18. package/kotlin/ktor-ktor-io.js +1853 -859
  19. package/kotlin/ktor-ktor-shared-ktor-events.js +13 -13
  20. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +8 -8
  21. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +282 -282
  22. package/kotlin/ktor-ktor-shared-ktor-serialization.js +137 -137
  23. package/kotlin/ktor-ktor-shared-ktor-websockets.js +57 -57
  24. package/kotlin/ktor-ktor-utils.js +758 -669
  25. package/package.json +2 -2
  26. package/kotlin/kotlin-kotlinx-atomicfu-runtime.js +0 -6
  27. package/kotlin/ktor-ktor-client-ktor-client-js.js +0 -6
@@ -1,57 +1,59 @@
1
- (function (_, kotlin_kotlin) {
1
+ (function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring) {
2
2
  'use strict';
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
- var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.b2;
6
- var Long = kotlin_kotlin.$_$.pe;
7
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.u1;
8
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.p2;
9
- var charArrayOf = kotlin_kotlin.$_$.u9;
10
- var protoOf = kotlin_kotlin.$_$.jb;
11
- var toString = kotlin_kotlin.$_$.nb;
12
- var Unit_instance = kotlin_kotlin.$_$.g5;
13
- var toShort = kotlin_kotlin.$_$.mb;
14
- var ensureNotNull = kotlin_kotlin.$_$.mf;
15
- var toLong = kotlin_kotlin.$_$.lb;
16
- var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.h1;
17
- var initMetadataForClass = kotlin_kotlin.$_$.ja;
5
+ var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.d2;
6
+ var Long = kotlin_kotlin.$_$.ff;
7
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w1;
8
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.s2;
9
+ var charArrayOf = kotlin_kotlin.$_$.ca;
10
+ var protoOf = kotlin_kotlin.$_$.sb;
11
+ var toString = kotlin_kotlin.$_$.wb;
12
+ var Unit_instance = kotlin_kotlin.$_$.j5;
13
+ var toShort = kotlin_kotlin.$_$.vb;
14
+ var ensureNotNull = kotlin_kotlin.$_$.dg;
15
+ var toLong = kotlin_kotlin.$_$.ub;
16
+ var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.i1;
17
+ var initMetadataForClass = kotlin_kotlin.$_$.ra;
18
18
  var VOID = kotlin_kotlin.$_$.h;
19
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.y1;
20
- var objectCreate = kotlin_kotlin.$_$.ib;
21
- var initMetadataForCompanion = kotlin_kotlin.$_$.ka;
22
- var arrayCopy = kotlin_kotlin.$_$.w5;
23
- var toByte = kotlin_kotlin.$_$.kb;
24
- var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.s1;
25
- var initMetadataForObject = kotlin_kotlin.$_$.pa;
26
- var initMetadataForInterface = kotlin_kotlin.$_$.na;
27
- var charSequenceGet = kotlin_kotlin.$_$.w9;
28
- var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.v2;
29
- var charArray = kotlin_kotlin.$_$.v9;
30
- var numberToChar = kotlin_kotlin.$_$.fb;
31
- var concatToString = kotlin_kotlin.$_$.dc;
32
- var Exception_init_$Init$ = kotlin_kotlin.$_$.m1;
33
- var captureStack = kotlin_kotlin.$_$.t9;
34
- var Exception_init_$Init$_0 = kotlin_kotlin.$_$.n1;
35
- var Exception_init_$Init$_1 = kotlin_kotlin.$_$.o1;
36
- var Exception = kotlin_kotlin.$_$.me;
19
+ var UnsafeByteStringOperations_instance = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.b;
20
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
21
+ var AutoCloseable = kotlin_kotlin.$_$.te;
22
+ var objectCreate = kotlin_kotlin.$_$.rb;
23
+ var initMetadataForCompanion = kotlin_kotlin.$_$.sa;
24
+ var arrayCopy = kotlin_kotlin.$_$.z5;
25
+ var toByte = kotlin_kotlin.$_$.tb;
26
+ var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.u1;
27
+ var initMetadataForObject = kotlin_kotlin.$_$.xa;
28
+ var initMetadataForInterface = kotlin_kotlin.$_$.va;
29
+ var charSequenceGet = kotlin_kotlin.$_$.ea;
30
+ var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.y2;
31
+ var charArray = kotlin_kotlin.$_$.da;
32
+ var numberToChar = kotlin_kotlin.$_$.ob;
33
+ var concatToString = kotlin_kotlin.$_$.mc;
34
+ var Exception_init_$Init$ = kotlin_kotlin.$_$.n1;
35
+ var captureStack = kotlin_kotlin.$_$.ba;
36
+ var Exception_init_$Init$_0 = kotlin_kotlin.$_$.o1;
37
+ var Exception_init_$Init$_1 = kotlin_kotlin.$_$.q1;
38
+ var Exception = kotlin_kotlin.$_$.cf;
37
39
  //endregion
38
40
  //region block: pre-declaration
39
- initMetadataForInterface(Source, 'Source');
41
+ initMetadataForInterface(Source, 'Source', VOID, VOID, [AutoCloseable]);
40
42
  function write$default(source, startIndex, endIndex, $super) {
41
43
  startIndex = startIndex === VOID ? 0 : startIndex;
42
44
  endIndex = endIndex === VOID ? source.length : endIndex;
43
45
  var tmp;
44
46
  if ($super === VOID) {
45
- this.l1c(source, startIndex, endIndex);
47
+ this.p1f(source, startIndex, endIndex);
46
48
  tmp = Unit_instance;
47
49
  } else {
48
- tmp = $super.l1c.call(this, source, startIndex, endIndex);
50
+ tmp = $super.p1f.call(this, source, startIndex, endIndex);
49
51
  }
50
52
  return tmp;
51
53
  }
52
- initMetadataForInterface(Sink, 'Sink');
54
+ initMetadataForInterface(Sink, 'Sink', VOID, VOID, [AutoCloseable]);
53
55
  initMetadataForClass(Buffer, 'Buffer', Buffer, VOID, [Source, Sink]);
54
- initMetadataForClass(PeekSource, 'PeekSource');
56
+ initMetadataForClass(PeekSource, 'PeekSource', VOID, VOID, [AutoCloseable]);
55
57
  initMetadataForClass(RealSource, 'RealSource', VOID, VOID, [Source]);
56
58
  initMetadataForCompanion(Companion);
57
59
  initMetadataForClass(Segment, 'Segment');
@@ -97,20 +99,20 @@
97
99
  throw EOFException_init_$Create$_0("Buffer doesn't contain required number of bytes (size: " + $this.s().toString() + ', required: ' + byteCount.toString() + ')');
98
100
  }
99
101
  function Buffer() {
100
- this.z1a_1 = null;
101
- this.a1b_1 = null;
102
- this.b1b_1 = new Long(0, 0);
102
+ this.c1e_1 = null;
103
+ this.d1e_1 = null;
104
+ this.e1e_1 = new Long(0, 0);
103
105
  }
104
106
  protoOf(Buffer).s = function () {
105
- return this.b1b_1;
107
+ return this.e1e_1;
106
108
  };
107
- protoOf(Buffer).c1b = function () {
109
+ protoOf(Buffer).f1e = function () {
108
110
  return this;
109
111
  };
110
- protoOf(Buffer).d1b = function () {
112
+ protoOf(Buffer).g1e = function () {
111
113
  return this.s().equals(new Long(0, 0));
112
114
  };
113
- protoOf(Buffer).e1b = function (byteCount) {
115
+ protoOf(Buffer).h1e = function (byteCount) {
114
116
  // Inline function 'kotlin.require' call
115
117
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
116
118
  // Inline function 'kotlinx.io.Buffer.require.<anonymous>' call
@@ -121,7 +123,7 @@
121
123
  throw EOFException_init_$Create$_0("Buffer doesn't contain required number of bytes (size: " + this.s().toString() + ', required: ' + byteCount.toString() + ')');
122
124
  }
123
125
  };
124
- protoOf(Buffer).f1b = function (byteCount) {
126
+ protoOf(Buffer).i1e = function (byteCount) {
125
127
  // Inline function 'kotlin.require' call
126
128
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
127
129
  // Inline function 'kotlinx.io.Buffer.request.<anonymous>' call
@@ -130,8 +132,8 @@
130
132
  }
131
133
  return this.s().e1(byteCount) >= 0;
132
134
  };
133
- protoOf(Buffer).g1b = function () {
134
- var tmp0_elvis_lhs = this.z1a_1;
135
+ protoOf(Buffer).j1e = function () {
136
+ var tmp0_elvis_lhs = this.c1e_1;
135
137
  var tmp;
136
138
  if (tmp0_elvis_lhs == null) {
137
139
  throwEof(this, new Long(1, 0));
@@ -139,20 +141,20 @@
139
141
  tmp = tmp0_elvis_lhs;
140
142
  }
141
143
  var segment = tmp;
142
- var segmentSize = segment.o1b();
144
+ var segmentSize = segment.s();
143
145
  if (segmentSize === 0) {
144
- this.p1b();
145
- return this.g1b();
146
+ this.r1e();
147
+ return this.j1e();
146
148
  }
147
- var v = segment.q1b();
148
- this.b1b_1 = this.b1b_1.a3(new Long(1, 0));
149
+ var v = segment.s1e();
150
+ this.e1e_1 = this.e1e_1.a3(new Long(1, 0));
149
151
  if (segmentSize === 1) {
150
- this.p1b();
152
+ this.r1e();
151
153
  }
152
154
  return v;
153
155
  };
154
- protoOf(Buffer).r1b = function () {
155
- var tmp0_elvis_lhs = this.z1a_1;
156
+ protoOf(Buffer).t1e = function () {
157
+ var tmp0_elvis_lhs = this.c1e_1;
156
158
  var tmp;
157
159
  if (tmp0_elvis_lhs == null) {
158
160
  throwEof(this, new Long(2, 0));
@@ -160,80 +162,122 @@
160
162
  tmp = tmp0_elvis_lhs;
161
163
  }
162
164
  var segment = tmp;
163
- var segmentSize = segment.o1b();
165
+ var segmentSize = segment.s();
164
166
  if (segmentSize < 2) {
165
- this.e1b(new Long(2, 0));
167
+ this.h1e(new Long(2, 0));
166
168
  if (segmentSize === 0) {
167
- this.p1b();
168
- return this.r1b();
169
+ this.r1e();
170
+ return this.t1e();
169
171
  }
170
172
  // Inline function 'kotlinx.io.and' call
171
- var tmp_0 = (this.g1b() & 255) << 8;
173
+ var tmp_0 = (this.j1e() & 255) << 8;
172
174
  // Inline function 'kotlinx.io.and' call
173
- var tmp$ret$1 = this.g1b() & 255;
175
+ var tmp$ret$1 = this.j1e() & 255;
174
176
  return toShort(tmp_0 | tmp$ret$1);
175
177
  }
176
- var v = segment.s1b();
177
- this.b1b_1 = this.b1b_1.a3(new Long(2, 0));
178
+ var v = segment.u1e();
179
+ this.e1e_1 = this.e1e_1.a3(new Long(2, 0));
178
180
  if (segmentSize === 2) {
179
- this.p1b();
181
+ this.r1e();
180
182
  }
181
183
  return v;
182
184
  };
183
- protoOf(Buffer).t1b = function () {
185
+ protoOf(Buffer).v1e = function () {
184
186
  return Unit_instance;
185
187
  };
186
- protoOf(Buffer).u1b = function (out, startIndex, endIndex) {
188
+ protoOf(Buffer).w1e = function (out, startIndex, endIndex) {
187
189
  checkBounds(this.s(), startIndex, endIndex);
188
190
  if (startIndex.equals(endIndex))
189
191
  return Unit_instance;
190
192
  var currentOffset = startIndex;
191
193
  var remainingByteCount = endIndex.a3(startIndex);
192
- out.b1b_1 = out.b1b_1.z2(remainingByteCount);
193
- var s = this.z1a_1;
194
- while (currentOffset.e1(toLong(ensureNotNull(s).j1b_1 - s.i1b_1 | 0)) >= 0) {
195
- currentOffset = currentOffset.a3(toLong(s.j1b_1 - s.i1b_1 | 0));
196
- s = s.m1b_1;
194
+ out.e1e_1 = out.e1e_1.z2(remainingByteCount);
195
+ var s = this.c1e_1;
196
+ while (currentOffset.e1(toLong(ensureNotNull(s).m1e_1 - s.l1e_1 | 0)) >= 0) {
197
+ currentOffset = currentOffset.a3(toLong(s.m1e_1 - s.l1e_1 | 0));
198
+ s = s.p1e_1;
197
199
  }
198
200
  while (remainingByteCount.e1(new Long(0, 0)) > 0) {
199
- var copy = ensureNotNull(s).v1b();
200
- copy.i1b_1 = copy.i1b_1 + currentOffset.j1() | 0;
201
+ var copy = ensureNotNull(s).x1e();
202
+ copy.l1e_1 = copy.l1e_1 + currentOffset.j1() | 0;
201
203
  var tmp = copy;
202
- var tmp0 = copy.i1b_1 + remainingByteCount.j1() | 0;
204
+ var tmp0 = copy.l1e_1 + remainingByteCount.j1() | 0;
203
205
  // Inline function 'kotlin.comparisons.minOf' call
204
- var b = copy.j1b_1;
205
- tmp.j1b_1 = Math.min(tmp0, b);
206
+ var b = copy.m1e_1;
207
+ tmp.m1e_1 = Math.min(tmp0, b);
206
208
  // Inline function 'kotlinx.io.Buffer.pushSegment' call
207
- if (out.z1a_1 == null) {
208
- out.z1a_1 = copy;
209
- out.a1b_1 = copy;
209
+ if (out.c1e_1 == null) {
210
+ out.c1e_1 = copy;
211
+ out.d1e_1 = copy;
210
212
  } else if (false) {
211
- out.a1b_1 = ensureNotNull(out.a1b_1).w1b(copy).x1b();
212
- if (ensureNotNull(out.a1b_1).n1b_1 == null) {
213
- out.z1a_1 = out.a1b_1;
213
+ out.d1e_1 = ensureNotNull(out.d1e_1).y1e(copy).z1e();
214
+ if (ensureNotNull(out.d1e_1).q1e_1 == null) {
215
+ out.c1e_1 = out.d1e_1;
214
216
  }
215
217
  } else {
216
- out.a1b_1 = ensureNotNull(out.a1b_1).w1b(copy);
218
+ out.d1e_1 = ensureNotNull(out.d1e_1).y1e(copy);
217
219
  }
218
- remainingByteCount = remainingByteCount.a3(toLong(copy.j1b_1 - copy.i1b_1 | 0));
220
+ remainingByteCount = remainingByteCount.a3(toLong(copy.m1e_1 - copy.l1e_1 | 0));
219
221
  currentOffset = new Long(0, 0);
220
- s = s.m1b_1;
222
+ s = s.p1e_1;
221
223
  }
222
224
  };
223
- protoOf(Buffer).y1b = function () {
225
+ protoOf(Buffer).a1f = function () {
224
226
  var result = this.s();
225
227
  if (result.equals(new Long(0, 0)))
226
228
  return new Long(0, 0);
227
- var tail = ensureNotNull(this.a1b_1);
228
- if (tail.j1b_1 < 8192 && tail.l1b_1) {
229
- result = result.a3(toLong(tail.j1b_1 - tail.i1b_1 | 0));
229
+ var tail = ensureNotNull(this.d1e_1);
230
+ if (tail.m1e_1 < 8192 && tail.o1e_1) {
231
+ result = result.a3(toLong(tail.m1e_1 - tail.l1e_1 | 0));
230
232
  }
231
233
  return result;
232
234
  };
235
+ protoOf(Buffer).b1f = function (position) {
236
+ if (position.e1(new Long(0, 0)) < 0 || position.e1(this.s()) >= 0) {
237
+ throw IndexOutOfBoundsException_init_$Create$('position (' + position.toString() + ') is not within the range [0..size(' + this.s().toString() + '))');
238
+ }
239
+ if (position.equals(new Long(0, 0))) {
240
+ return ensureNotNull(this.c1e_1).c1f(0);
241
+ }
242
+ // Inline function 'kotlinx.io.seek' call
243
+ if (this.c1e_1 == null) {
244
+ var offset = new Long(-1, -1);
245
+ return ensureNotNull(null).c1f(position.a3(offset).j1());
246
+ }
247
+ if (this.s().a3(position).e1(position) < 0) {
248
+ var s = this.d1e_1;
249
+ var offset_0 = this.s();
250
+ $l$loop: while (!(s == null) && offset_0.e1(position) > 0) {
251
+ offset_0 = offset_0.a3(toLong(s.m1e_1 - s.l1e_1 | 0));
252
+ if (offset_0.e1(position) <= 0)
253
+ break $l$loop;
254
+ s = s.q1e_1;
255
+ }
256
+ var tmp4 = s;
257
+ var offset_1 = offset_0;
258
+ return ensureNotNull(tmp4).c1f(position.a3(offset_1).j1());
259
+ } else {
260
+ var s_0 = this.c1e_1;
261
+ var offset_2 = new Long(0, 0);
262
+ $l$loop_0: while (!(s_0 == null)) {
263
+ var tmp0 = offset_2;
264
+ // Inline function 'kotlin.Long.plus' call
265
+ var other = s_0.m1e_1 - s_0.l1e_1 | 0;
266
+ var nextOffset = tmp0.z2(toLong(other));
267
+ if (nextOffset.e1(position) > 0)
268
+ break $l$loop_0;
269
+ s_0 = s_0.p1e_1;
270
+ offset_2 = nextOffset;
271
+ }
272
+ var tmp6 = s_0;
273
+ var offset_3 = offset_2;
274
+ return ensureNotNull(tmp6).c1f(position.a3(offset_3).j1());
275
+ }
276
+ };
233
277
  protoOf(Buffer).e2 = function () {
234
- return this.z1b(this.s());
278
+ return this.d1f(this.s());
235
279
  };
236
- protoOf(Buffer).z1b = function (byteCount) {
280
+ protoOf(Buffer).d1f = function (byteCount) {
237
281
  // Inline function 'kotlinx.io.checkByteCount' call
238
282
  // Inline function 'kotlin.require' call
239
283
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
@@ -243,7 +287,7 @@
243
287
  }
244
288
  var remainingByteCount = byteCount;
245
289
  while (remainingByteCount.e1(new Long(0, 0)) > 0) {
246
- var tmp0_elvis_lhs = this.z1a_1;
290
+ var tmp0_elvis_lhs = this.c1e_1;
247
291
  var tmp;
248
292
  if (tmp0_elvis_lhs == null) {
249
293
  throw EOFException_init_$Create$_0('Buffer exhausted before skipping ' + byteCount.toString() + ' bytes.');
@@ -253,23 +297,23 @@
253
297
  var head = tmp;
254
298
  var tmp1 = remainingByteCount;
255
299
  // Inline function 'kotlinx.io.minOf' call
256
- var b = head.j1b_1 - head.i1b_1 | 0;
300
+ var b = head.m1e_1 - head.l1e_1 | 0;
257
301
  // Inline function 'kotlin.comparisons.minOf' call
258
302
  var b_0 = toLong(b);
259
303
  var toSkip = (tmp1.e1(b_0) <= 0 ? tmp1 : b_0).j1();
260
- this.b1b_1 = this.b1b_1.a3(toLong(toSkip));
304
+ this.e1e_1 = this.e1e_1.a3(toLong(toSkip));
261
305
  remainingByteCount = remainingByteCount.a3(toLong(toSkip));
262
- head.i1b_1 = head.i1b_1 + toSkip | 0;
263
- if (head.i1b_1 === head.j1b_1) {
264
- this.p1b();
306
+ head.l1e_1 = head.l1e_1 + toSkip | 0;
307
+ if (head.l1e_1 === head.m1e_1) {
308
+ this.r1e();
265
309
  }
266
310
  }
267
311
  };
268
- protoOf(Buffer).a1c = function (sink, startIndex, endIndex) {
312
+ protoOf(Buffer).e1f = function (sink, startIndex, endIndex) {
269
313
  // Inline function 'kotlinx.io.checkBounds' call
270
314
  var size = sink.length;
271
315
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
272
- var tmp0_elvis_lhs = this.z1a_1;
316
+ var tmp0_elvis_lhs = this.c1e_1;
273
317
  var tmp;
274
318
  if (tmp0_elvis_lhs == null) {
275
319
  return -1;
@@ -279,16 +323,16 @@
279
323
  var s = tmp;
280
324
  var tmp3 = endIndex - startIndex | 0;
281
325
  // Inline function 'kotlin.comparisons.minOf' call
282
- var b = s.o1b();
326
+ var b = s.s();
283
327
  var toCopy = Math.min(tmp3, b);
284
- s.b1c(sink, startIndex, startIndex + toCopy | 0);
285
- this.b1b_1 = this.b1b_1.a3(toLong(toCopy));
328
+ s.f1f(sink, startIndex, startIndex + toCopy | 0);
329
+ this.e1e_1 = this.e1e_1.a3(toLong(toCopy));
286
330
  if (isEmpty(s)) {
287
- this.p1b();
331
+ this.r1e();
288
332
  }
289
333
  return toCopy;
290
334
  };
291
- protoOf(Buffer).c1c = function (sink, byteCount) {
335
+ protoOf(Buffer).g1f = function (sink, byteCount) {
292
336
  // Inline function 'kotlinx.io.checkByteCount' call
293
337
  // Inline function 'kotlin.require' call
294
338
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
@@ -299,10 +343,10 @@
299
343
  if (this.s().equals(new Long(0, 0)))
300
344
  return new Long(-1, -1);
301
345
  var bytesWritten = byteCount.e1(this.s()) > 0 ? this.s() : byteCount;
302
- sink.d1c(this, bytesWritten);
346
+ sink.h1f(this, bytesWritten);
303
347
  return bytesWritten;
304
348
  };
305
- protoOf(Buffer).e1c = function (sink, byteCount) {
349
+ protoOf(Buffer).i1f = function (sink, byteCount) {
306
350
  // Inline function 'kotlinx.io.checkByteCount' call
307
351
  // Inline function 'kotlin.require' call
308
352
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
@@ -311,137 +355,154 @@
311
355
  throw IllegalArgumentException_init_$Create$(toString(message));
312
356
  }
313
357
  if (this.s().e1(byteCount) < 0) {
314
- sink.d1c(this, this.s());
358
+ sink.h1f(this, this.s());
315
359
  throw EOFException_init_$Create$_0('Buffer exhausted before writing ' + byteCount.toString() + ' bytes. Only ' + this.s().toString() + ' bytes were written.');
316
360
  }
317
- sink.d1c(this, byteCount);
361
+ sink.h1f(this, byteCount);
318
362
  };
319
- protoOf(Buffer).f1c = function (sink) {
363
+ protoOf(Buffer).j1f = function (sink) {
320
364
  var byteCount = this.s();
321
365
  if (byteCount.e1(new Long(0, 0)) > 0) {
322
- sink.d1c(this, byteCount);
366
+ sink.h1f(this, byteCount);
323
367
  }
324
368
  return byteCount;
325
369
  };
326
- protoOf(Buffer).g1c = function () {
370
+ protoOf(Buffer).k1f = function () {
327
371
  return buffered(new PeekSource(this));
328
372
  };
329
- protoOf(Buffer).h1c = function (minimumCapacity) {
373
+ protoOf(Buffer).l1f = function (minimumCapacity) {
330
374
  // Inline function 'kotlin.require' call
331
375
  if (!(minimumCapacity >= 1 && minimumCapacity <= 8192)) {
332
376
  // Inline function 'kotlinx.io.Buffer.writableSegment.<anonymous>' call
333
- var message = 'unexpected capacity';
377
+ var message = 'unexpected capacity (' + minimumCapacity + '), should be in range [1, 8192]';
334
378
  throw IllegalArgumentException_init_$Create$(toString(message));
335
379
  }
336
- if (this.a1b_1 == null) {
337
- var result = SegmentPool_instance.k1c();
338
- this.z1a_1 = result;
339
- this.a1b_1 = result;
380
+ if (this.d1e_1 == null) {
381
+ var result = SegmentPool_instance.o1f();
382
+ this.c1e_1 = result;
383
+ this.d1e_1 = result;
340
384
  return result;
341
385
  }
342
- var t = ensureNotNull(this.a1b_1);
343
- if ((t.j1b_1 + minimumCapacity | 0) > 8192 || !t.l1b_1) {
344
- var newTail = t.w1b(SegmentPool_instance.k1c());
345
- this.a1b_1 = newTail;
386
+ var t = ensureNotNull(this.d1e_1);
387
+ if ((t.m1e_1 + minimumCapacity | 0) > 8192 || !t.o1e_1) {
388
+ var newTail = t.y1e(SegmentPool_instance.o1f());
389
+ this.d1e_1 = newTail;
346
390
  return newTail;
347
391
  }
348
392
  return t;
349
393
  };
350
- protoOf(Buffer).l1c = function (source, startIndex, endIndex) {
394
+ protoOf(Buffer).p1f = function (source, startIndex, endIndex) {
351
395
  // Inline function 'kotlinx.io.checkBounds' call
352
396
  var size = source.length;
353
397
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
354
398
  var currentOffset = startIndex;
355
399
  while (currentOffset < endIndex) {
356
- var tail = this.h1c(1);
400
+ var tail = this.l1f(1);
357
401
  var tmp3 = endIndex - currentOffset | 0;
358
402
  // Inline function 'kotlin.comparisons.minOf' call
359
- var b = tail.m1c();
403
+ var b = tail.q1f();
360
404
  var toCopy = Math.min(tmp3, b);
361
- tail.n1c(source, currentOffset, currentOffset + toCopy | 0);
405
+ tail.r1f(source, currentOffset, currentOffset + toCopy | 0);
362
406
  currentOffset = currentOffset + toCopy | 0;
363
407
  }
364
408
  var tmp = this;
365
- var tmp5 = this.b1b_1;
409
+ var tmp5 = this.e1e_1;
366
410
  // Inline function 'kotlin.Long.plus' call
367
411
  var other = endIndex - startIndex | 0;
368
- tmp.b1b_1 = tmp5.z2(toLong(other));
412
+ tmp.e1e_1 = tmp5.z2(toLong(other));
413
+ };
414
+ protoOf(Buffer).t1f = function (source, byteCount) {
415
+ // Inline function 'kotlinx.io.checkByteCount' call
416
+ // Inline function 'kotlin.require' call
417
+ if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
418
+ // Inline function 'kotlinx.io.checkByteCount.<anonymous>' call
419
+ var message = 'byteCount (' + byteCount.toString() + ') < 0';
420
+ throw IllegalArgumentException_init_$Create$(toString(message));
421
+ }
422
+ var remainingByteCount = byteCount;
423
+ while (remainingByteCount.e1(new Long(0, 0)) > 0) {
424
+ var read = source.g1f(this, remainingByteCount);
425
+ if (read.equals(new Long(-1, -1))) {
426
+ throw EOFException_init_$Create$_0('Source exhausted before reading ' + byteCount.toString() + ' bytes. ' + ('Only ' + byteCount.a3(remainingByteCount).toString() + ' were read.'));
427
+ }
428
+ remainingByteCount = remainingByteCount.a3(read);
429
+ }
369
430
  };
370
- protoOf(Buffer).d1c = function (source, byteCount) {
431
+ protoOf(Buffer).h1f = function (source, byteCount) {
371
432
  // Inline function 'kotlin.require' call
372
433
  if (!!(source === this)) {
373
434
  // Inline function 'kotlinx.io.Buffer.write.<anonymous>' call
374
435
  var message = 'source == this';
375
436
  throw IllegalArgumentException_init_$Create$(toString(message));
376
437
  }
377
- checkOffsetAndCount(source.b1b_1, new Long(0, 0), byteCount);
438
+ checkOffsetAndCount(source.e1e_1, new Long(0, 0), byteCount);
378
439
  var remainingByteCount = byteCount;
379
440
  while (remainingByteCount.e1(new Long(0, 0)) > 0) {
380
- if (remainingByteCount.e1(toLong(ensureNotNull(source.z1a_1).o1b())) < 0) {
381
- var tail = this.a1b_1;
441
+ if (remainingByteCount.e1(toLong(ensureNotNull(source.c1e_1).s())) < 0) {
442
+ var tail = this.d1e_1;
382
443
  var tmp;
383
- if (!(tail == null) && tail.l1b_1) {
444
+ if (!(tail == null) && tail.o1e_1) {
384
445
  var tmp1 = remainingByteCount;
385
446
  // Inline function 'kotlin.Long.plus' call
386
- var other = tail.j1b_1;
447
+ var other = tail.m1e_1;
387
448
  var tmp3 = tmp1.z2(toLong(other));
388
449
  // Inline function 'kotlin.Long.minus' call
389
- var other_0 = tail.p1c() ? 0 : tail.i1b_1;
450
+ var other_0 = tail.u1f() ? 0 : tail.l1e_1;
390
451
  tmp = tmp3.a3(toLong(other_0)).e1(new Long(8192, 0)) <= 0;
391
452
  } else {
392
453
  tmp = false;
393
454
  }
394
455
  if (tmp) {
395
- ensureNotNull(source.z1a_1).r1c(tail, remainingByteCount.j1());
396
- source.b1b_1 = source.b1b_1.a3(remainingByteCount);
397
- this.b1b_1 = this.b1b_1.z2(remainingByteCount);
456
+ ensureNotNull(source.c1e_1).w1f(tail, remainingByteCount.j1());
457
+ source.e1e_1 = source.e1e_1.a3(remainingByteCount);
458
+ this.e1e_1 = this.e1e_1.z2(remainingByteCount);
398
459
  return Unit_instance;
399
460
  } else {
400
- source.z1a_1 = ensureNotNull(source.z1a_1).q1c(remainingByteCount.j1());
461
+ source.c1e_1 = ensureNotNull(source.c1e_1).v1f(remainingByteCount.j1());
401
462
  }
402
463
  }
403
- var segmentToMove = ensureNotNull(source.z1a_1);
404
- var movedByteCount = toLong(segmentToMove.o1b());
405
- source.z1a_1 = segmentToMove.s1c();
406
- if (source.z1a_1 == null) {
407
- source.a1b_1 = null;
464
+ var segmentToMove = ensureNotNull(source.c1e_1);
465
+ var movedByteCount = toLong(segmentToMove.s());
466
+ source.c1e_1 = segmentToMove.x1f();
467
+ if (source.c1e_1 == null) {
468
+ source.d1e_1 = null;
408
469
  }
409
470
  // Inline function 'kotlinx.io.Buffer.pushSegment' call
410
- if (this.z1a_1 == null) {
411
- this.z1a_1 = segmentToMove;
412
- this.a1b_1 = segmentToMove;
471
+ if (this.c1e_1 == null) {
472
+ this.c1e_1 = segmentToMove;
473
+ this.d1e_1 = segmentToMove;
413
474
  } else if (true) {
414
- this.a1b_1 = ensureNotNull(this.a1b_1).w1b(segmentToMove).x1b();
415
- if (ensureNotNull(this.a1b_1).n1b_1 == null) {
416
- this.z1a_1 = this.a1b_1;
475
+ this.d1e_1 = ensureNotNull(this.d1e_1).y1e(segmentToMove).z1e();
476
+ if (ensureNotNull(this.d1e_1).q1e_1 == null) {
477
+ this.c1e_1 = this.d1e_1;
417
478
  }
418
479
  } else {
419
- this.a1b_1 = ensureNotNull(this.a1b_1).w1b(segmentToMove);
480
+ this.d1e_1 = ensureNotNull(this.d1e_1).y1e(segmentToMove);
420
481
  }
421
- source.b1b_1 = source.b1b_1.a3(movedByteCount);
422
- this.b1b_1 = this.b1b_1.z2(movedByteCount);
482
+ source.e1e_1 = source.e1e_1.a3(movedByteCount);
483
+ this.e1e_1 = this.e1e_1.z2(movedByteCount);
423
484
  remainingByteCount = remainingByteCount.a3(movedByteCount);
424
485
  }
425
486
  };
426
- protoOf(Buffer).t1c = function (source) {
487
+ protoOf(Buffer).y1f = function (source) {
427
488
  var totalBytesRead = new Long(0, 0);
428
489
  $l$loop: while (true) {
429
- var readCount = source.c1c(this, new Long(8192, 0));
490
+ var readCount = source.g1f(this, new Long(8192, 0));
430
491
  if (readCount.equals(new Long(-1, -1)))
431
492
  break $l$loop;
432
493
  totalBytesRead = totalBytesRead.z2(readCount);
433
494
  }
434
495
  return totalBytesRead;
435
496
  };
436
- protoOf(Buffer).u1c = function (byte) {
437
- this.h1c(1).v1c(byte);
438
- this.b1b_1 = this.b1b_1.z2(new Long(1, 0));
497
+ protoOf(Buffer).z1f = function (byte) {
498
+ this.l1f(1).a1g(byte);
499
+ this.e1e_1 = this.e1e_1.z2(new Long(1, 0));
439
500
  };
440
- protoOf(Buffer).w1c = function (short) {
441
- this.h1c(2).x1c(short);
442
- this.b1b_1 = this.b1b_1.z2(new Long(2, 0));
501
+ protoOf(Buffer).b1g = function (short) {
502
+ this.l1f(2).c1g(short);
503
+ this.e1e_1 = this.e1e_1.z2(new Long(2, 0));
443
504
  };
444
- protoOf(Buffer).y1c = function () {
505
+ protoOf(Buffer).p4 = function () {
445
506
  return Unit_instance;
446
507
  };
447
508
  protoOf(Buffer).toString = function () {
@@ -456,74 +517,77 @@
456
517
  var builder = StringBuilder_init_$Create$(imul(len, 2) + (this.s().e1(toLong(maxPrintableBytes)) > 0 ? 1 : 0) | 0);
457
518
  var bytesWritten = 0;
458
519
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
459
- var curr = this.z1a_1;
520
+ var curr = this.c1e_1;
460
521
  while (!(curr == null)) {
461
522
  var tmp4 = get_SegmentReadContextImpl();
462
523
  // Inline function 'kotlinx.io.Buffer.toString.<anonymous>' call
463
524
  var segment = curr;
464
525
  var idx = 0;
465
- while (bytesWritten < len && idx < segment.o1b()) {
526
+ while (bytesWritten < len && idx < segment.s()) {
466
527
  var _unary__edvuaz = idx;
467
528
  idx = _unary__edvuaz + 1 | 0;
468
- var b_0 = tmp4.z1c(segment, _unary__edvuaz);
529
+ var b_0 = tmp4.d1g(segment, _unary__edvuaz);
469
530
  bytesWritten = bytesWritten + 1 | 0;
470
531
  var tmp = get_HEX_DIGIT_CHARS();
471
532
  // Inline function 'kotlinx.io.shr' call
472
533
  var tmp$ret$2 = b_0 >> 4;
473
- var tmp_0 = builder.p8(tmp[tmp$ret$2 & 15]);
534
+ var tmp_0 = builder.s8(tmp[tmp$ret$2 & 15]);
474
535
  var tmp_1 = get_HEX_DIGIT_CHARS();
475
536
  // Inline function 'kotlinx.io.and' call
476
537
  var tmp$ret$3 = b_0 & 15;
477
- tmp_0.p8(tmp_1[tmp$ret$3]);
538
+ tmp_0.s8(tmp_1[tmp$ret$3]);
478
539
  }
479
- curr = curr.m1b_1;
540
+ curr = curr.p1e_1;
480
541
  }
481
542
  if (this.s().e1(toLong(maxPrintableBytes)) > 0) {
482
- builder.p8(_Char___init__impl__6a9atx(8230));
543
+ builder.s8(_Char___init__impl__6a9atx(8230));
483
544
  }
484
545
  return 'Buffer(size=' + this.s().toString() + ' hex=' + builder.toString() + ')';
485
546
  };
486
- protoOf(Buffer).p1b = function () {
487
- var oldHead = ensureNotNull(this.z1a_1);
488
- var nextHead = oldHead.m1b_1;
489
- this.z1a_1 = nextHead;
547
+ protoOf(Buffer).r1e = function () {
548
+ var oldHead = ensureNotNull(this.c1e_1);
549
+ var nextHead = oldHead.p1e_1;
550
+ this.c1e_1 = nextHead;
490
551
  if (nextHead == null) {
491
- this.a1b_1 = null;
552
+ this.d1e_1 = null;
492
553
  } else {
493
- nextHead.n1b_1 = null;
554
+ nextHead.q1e_1 = null;
494
555
  }
495
- oldHead.m1b_1 = null;
496
- SegmentPool_instance.a1d(oldHead);
556
+ oldHead.p1e_1 = null;
557
+ SegmentPool_instance.e1g(oldHead);
497
558
  };
498
- protoOf(Buffer).b1d = function () {
499
- var oldTail = ensureNotNull(this.a1b_1);
500
- var newTail = oldTail.n1b_1;
501
- this.a1b_1 = newTail;
559
+ protoOf(Buffer).f1g = function () {
560
+ var oldTail = ensureNotNull(this.d1e_1);
561
+ var newTail = oldTail.q1e_1;
562
+ this.d1e_1 = newTail;
502
563
  if (newTail == null) {
503
- this.z1a_1 = null;
564
+ this.c1e_1 = null;
504
565
  } else {
505
- newTail.m1b_1 = null;
566
+ newTail.p1e_1 = null;
506
567
  }
507
- oldTail.n1b_1 = null;
508
- SegmentPool_instance.a1d(oldTail);
568
+ oldTail.q1e_1 = null;
569
+ SegmentPool_instance.e1g(oldTail);
509
570
  };
571
+ function readByteString(_this__u8e3s4, byteCount) {
572
+ return UnsafeByteStringOperations_instance.b1e(readByteArray_0(_this__u8e3s4, byteCount));
573
+ }
510
574
  function buffered(_this__u8e3s4) {
511
575
  return new RealSource(_this__u8e3s4);
512
576
  }
513
577
  function PeekSource(upstream) {
514
- this.c1d_1 = upstream;
515
- this.d1d_1 = this.c1d_1.c1b();
516
- this.e1d_1 = this.d1d_1.z1a_1;
578
+ this.g1g_1 = upstream;
579
+ this.h1g_1 = this.g1g_1.f1e();
580
+ this.i1g_1 = this.h1g_1.c1e_1;
517
581
  var tmp = this;
518
- var tmp0_safe_receiver = this.d1d_1.z1a_1;
519
- var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i1b_1;
520
- tmp.f1d_1 = tmp0_elvis_lhs == null ? -1 : tmp0_elvis_lhs;
521
- this.g1d_1 = false;
522
- this.h1d_1 = new Long(0, 0);
582
+ var tmp0_safe_receiver = this.h1g_1.c1e_1;
583
+ var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l1e_1;
584
+ tmp.j1g_1 = tmp0_elvis_lhs == null ? -1 : tmp0_elvis_lhs;
585
+ this.k1g_1 = false;
586
+ this.l1g_1 = new Long(0, 0);
523
587
  }
524
- protoOf(PeekSource).c1c = function (sink, byteCount) {
588
+ protoOf(PeekSource).g1f = function (sink, byteCount) {
525
589
  // Inline function 'kotlin.check' call
526
- if (!!this.g1d_1) {
590
+ if (!!this.k1g_1) {
527
591
  // Inline function 'kotlinx.io.PeekSource.readAtMostTo.<anonymous>' call
528
592
  var message = 'Source is closed.';
529
593
  throw IllegalStateException_init_$Create$(toString(message));
@@ -536,7 +600,7 @@
536
600
  throw IllegalArgumentException_init_$Create$(toString(message_0));
537
601
  }
538
602
  // Inline function 'kotlin.check' call
539
- if (!(this.e1d_1 == null || (this.e1d_1 === this.d1d_1.z1a_1 && this.f1d_1 === ensureNotNull(this.d1d_1.z1a_1).i1b_1))) {
603
+ if (!(this.i1g_1 == null || (this.i1g_1 === this.h1g_1.c1e_1 && this.j1g_1 === ensureNotNull(this.h1g_1.c1e_1).l1e_1))) {
540
604
  // Inline function 'kotlinx.io.PeekSource.readAtMostTo.<anonymous>' call
541
605
  var message_1 = 'Peek source is invalid because upstream source was used';
542
606
  throw IllegalStateException_init_$Create$(toString(message_1));
@@ -544,35 +608,35 @@
544
608
  if (byteCount.equals(new Long(0, 0)))
545
609
  return new Long(0, 0);
546
610
  // Inline function 'kotlin.Long.plus' call
547
- var tmp$ret$3 = this.h1d_1.z2(toLong(1));
548
- if (!this.c1d_1.f1b(tmp$ret$3))
611
+ var tmp$ret$3 = this.l1g_1.z2(toLong(1));
612
+ if (!this.g1g_1.i1e(tmp$ret$3))
549
613
  return new Long(-1, -1);
550
- if (this.e1d_1 == null && !(this.d1d_1.z1a_1 == null)) {
551
- this.e1d_1 = this.d1d_1.z1a_1;
552
- this.f1d_1 = ensureNotNull(this.d1d_1.z1a_1).i1b_1;
614
+ if (this.i1g_1 == null && !(this.h1g_1.c1e_1 == null)) {
615
+ this.i1g_1 = this.h1g_1.c1e_1;
616
+ this.j1g_1 = ensureNotNull(this.h1g_1.c1e_1).l1e_1;
553
617
  }
554
618
  // Inline function 'kotlin.comparisons.minOf' call
555
- var b = this.d1d_1.s().a3(this.h1d_1);
619
+ var b = this.h1g_1.s().a3(this.l1g_1);
556
620
  var toCopy = byteCount.e1(b) <= 0 ? byteCount : b;
557
- this.d1d_1.u1b(sink, this.h1d_1, this.h1d_1.z2(toCopy));
558
- this.h1d_1 = this.h1d_1.z2(toCopy);
621
+ this.h1g_1.w1e(sink, this.l1g_1, this.l1g_1.z2(toCopy));
622
+ this.l1g_1 = this.l1g_1.z2(toCopy);
559
623
  return toCopy;
560
624
  };
561
- protoOf(PeekSource).y1c = function () {
562
- this.g1d_1 = true;
625
+ protoOf(PeekSource).p4 = function () {
626
+ this.k1g_1 = true;
563
627
  };
564
628
  function RealSource(source) {
565
- this.i1d_1 = source;
566
- this.j1d_1 = false;
567
- this.k1d_1 = new Buffer();
629
+ this.m1g_1 = source;
630
+ this.n1g_1 = false;
631
+ this.o1g_1 = new Buffer();
568
632
  }
569
- protoOf(RealSource).c1b = function () {
570
- return this.k1d_1;
633
+ protoOf(RealSource).f1e = function () {
634
+ return this.o1g_1;
571
635
  };
572
- protoOf(RealSource).c1c = function (sink, byteCount) {
636
+ protoOf(RealSource).g1f = function (sink, byteCount) {
573
637
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
574
638
  // Inline function 'kotlin.check' call
575
- if (!!this.j1d_1) {
639
+ if (!!this.n1g_1) {
576
640
  // Inline function 'kotlinx.io.RealSource.checkNotClosed.<anonymous>' call
577
641
  var message = 'Source is closed.';
578
642
  throw IllegalStateException_init_$Create$(toString(message));
@@ -583,34 +647,34 @@
583
647
  var message_0 = 'byteCount: ' + byteCount.toString();
584
648
  throw IllegalArgumentException_init_$Create$(toString(message_0));
585
649
  }
586
- if (this.k1d_1.s().equals(new Long(0, 0))) {
587
- var read = this.i1d_1.c1c(this.k1d_1, new Long(8192, 0));
650
+ if (this.o1g_1.s().equals(new Long(0, 0))) {
651
+ var read = this.m1g_1.g1f(this.o1g_1, new Long(8192, 0));
588
652
  if (read.equals(new Long(-1, -1)))
589
653
  return new Long(-1, -1);
590
654
  }
591
655
  // Inline function 'kotlin.comparisons.minOf' call
592
- var b = this.k1d_1.s();
656
+ var b = this.o1g_1.s();
593
657
  var toRead = byteCount.e1(b) <= 0 ? byteCount : b;
594
- return this.k1d_1.c1c(sink, toRead);
658
+ return this.o1g_1.g1f(sink, toRead);
595
659
  };
596
- protoOf(RealSource).d1b = function () {
660
+ protoOf(RealSource).g1e = function () {
597
661
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
598
662
  // Inline function 'kotlin.check' call
599
- if (!!this.j1d_1) {
663
+ if (!!this.n1g_1) {
600
664
  // Inline function 'kotlinx.io.RealSource.checkNotClosed.<anonymous>' call
601
665
  var message = 'Source is closed.';
602
666
  throw IllegalStateException_init_$Create$(toString(message));
603
667
  }
604
- return this.k1d_1.d1b() && this.i1d_1.c1c(this.k1d_1, new Long(8192, 0)).equals(new Long(-1, -1));
668
+ return this.o1g_1.g1e() && this.m1g_1.g1f(this.o1g_1, new Long(8192, 0)).equals(new Long(-1, -1));
605
669
  };
606
- protoOf(RealSource).e1b = function (byteCount) {
607
- if (!this.f1b(byteCount))
670
+ protoOf(RealSource).h1e = function (byteCount) {
671
+ if (!this.i1e(byteCount))
608
672
  throw EOFException_init_$Create$_0("Source doesn't contain required number of bytes (" + byteCount.toString() + ').');
609
673
  };
610
- protoOf(RealSource).f1b = function (byteCount) {
674
+ protoOf(RealSource).i1e = function (byteCount) {
611
675
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
612
676
  // Inline function 'kotlin.check' call
613
- if (!!this.j1d_1) {
677
+ if (!!this.n1g_1) {
614
678
  // Inline function 'kotlinx.io.RealSource.checkNotClosed.<anonymous>' call
615
679
  var message = 'Source is closed.';
616
680
  throw IllegalStateException_init_$Create$(toString(message));
@@ -621,87 +685,91 @@
621
685
  var message_0 = 'byteCount: ' + byteCount.toString();
622
686
  throw IllegalArgumentException_init_$Create$(toString(message_0));
623
687
  }
624
- while (this.k1d_1.s().e1(byteCount) < 0) {
625
- if (this.i1d_1.c1c(this.k1d_1, new Long(8192, 0)).equals(new Long(-1, -1)))
688
+ while (this.o1g_1.s().e1(byteCount) < 0) {
689
+ if (this.m1g_1.g1f(this.o1g_1, new Long(8192, 0)).equals(new Long(-1, -1)))
626
690
  return false;
627
691
  }
628
692
  return true;
629
693
  };
630
- protoOf(RealSource).a1c = function (sink, startIndex, endIndex) {
694
+ protoOf(RealSource).j1e = function () {
695
+ this.h1e(new Long(1, 0));
696
+ return this.o1g_1.j1e();
697
+ };
698
+ protoOf(RealSource).e1f = function (sink, startIndex, endIndex) {
631
699
  // Inline function 'kotlinx.io.checkBounds' call
632
700
  var size = sink.length;
633
701
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
634
- if (this.k1d_1.s().equals(new Long(0, 0))) {
635
- var read = this.i1d_1.c1c(this.k1d_1, new Long(8192, 0));
702
+ if (this.o1g_1.s().equals(new Long(0, 0))) {
703
+ var read = this.m1g_1.g1f(this.o1g_1, new Long(8192, 0));
636
704
  if (read.equals(new Long(-1, -1)))
637
705
  return -1;
638
706
  }
639
707
  var tmp3 = endIndex - startIndex | 0;
640
708
  // Inline function 'kotlinx.io.minOf' call
641
- var b = this.k1d_1.s();
709
+ var b = this.o1g_1.s();
642
710
  // Inline function 'kotlin.comparisons.minOf' call
643
711
  var a = toLong(tmp3);
644
712
  var toRead = (a.e1(b) <= 0 ? a : b).j1();
645
- return this.k1d_1.a1c(sink, startIndex, startIndex + toRead | 0);
713
+ return this.o1g_1.e1f(sink, startIndex, startIndex + toRead | 0);
646
714
  };
647
- protoOf(RealSource).e1c = function (sink, byteCount) {
715
+ protoOf(RealSource).i1f = function (sink, byteCount) {
648
716
  try {
649
- this.e1b(byteCount);
717
+ this.h1e(byteCount);
650
718
  } catch ($p) {
651
719
  if ($p instanceof EOFException) {
652
720
  var e = $p;
653
- sink.d1c(this.k1d_1, this.k1d_1.s());
721
+ sink.h1f(this.o1g_1, this.o1g_1.s());
654
722
  throw e;
655
723
  } else {
656
724
  throw $p;
657
725
  }
658
726
  }
659
- this.k1d_1.e1c(sink, byteCount);
727
+ this.o1g_1.i1f(sink, byteCount);
660
728
  };
661
- protoOf(RealSource).f1c = function (sink) {
729
+ protoOf(RealSource).j1f = function (sink) {
662
730
  var totalBytesWritten = new Long(0, 0);
663
- while (!this.i1d_1.c1c(this.k1d_1, new Long(8192, 0)).equals(new Long(-1, -1))) {
664
- var emitByteCount = this.k1d_1.y1b();
731
+ while (!this.m1g_1.g1f(this.o1g_1, new Long(8192, 0)).equals(new Long(-1, -1))) {
732
+ var emitByteCount = this.o1g_1.a1f();
665
733
  if (emitByteCount.e1(new Long(0, 0)) > 0) {
666
734
  totalBytesWritten = totalBytesWritten.z2(emitByteCount);
667
- sink.d1c(this.k1d_1, emitByteCount);
735
+ sink.h1f(this.o1g_1, emitByteCount);
668
736
  }
669
737
  }
670
- if (this.k1d_1.s().e1(new Long(0, 0)) > 0) {
671
- totalBytesWritten = totalBytesWritten.z2(this.k1d_1.s());
672
- sink.d1c(this.k1d_1, this.k1d_1.s());
738
+ if (this.o1g_1.s().e1(new Long(0, 0)) > 0) {
739
+ totalBytesWritten = totalBytesWritten.z2(this.o1g_1.s());
740
+ sink.h1f(this.o1g_1, this.o1g_1.s());
673
741
  }
674
742
  return totalBytesWritten;
675
743
  };
676
- protoOf(RealSource).r1b = function () {
677
- this.e1b(new Long(2, 0));
678
- return this.k1d_1.r1b();
744
+ protoOf(RealSource).t1e = function () {
745
+ this.h1e(new Long(2, 0));
746
+ return this.o1g_1.t1e();
679
747
  };
680
- protoOf(RealSource).g1c = function () {
748
+ protoOf(RealSource).k1f = function () {
681
749
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
682
750
  // Inline function 'kotlin.check' call
683
- if (!!this.j1d_1) {
751
+ if (!!this.n1g_1) {
684
752
  // Inline function 'kotlinx.io.RealSource.checkNotClosed.<anonymous>' call
685
753
  var message = 'Source is closed.';
686
754
  throw IllegalStateException_init_$Create$(toString(message));
687
755
  }
688
756
  return buffered(new PeekSource(this));
689
757
  };
690
- protoOf(RealSource).y1c = function () {
691
- if (this.j1d_1)
758
+ protoOf(RealSource).p4 = function () {
759
+ if (this.n1g_1)
692
760
  return Unit_instance;
693
- this.j1d_1 = true;
694
- this.i1d_1.y1c();
695
- this.k1d_1.e2();
761
+ this.n1g_1 = true;
762
+ this.m1g_1.p4();
763
+ this.o1g_1.e2();
696
764
  };
697
765
  protoOf(RealSource).toString = function () {
698
- return 'buffered(' + toString(this.i1d_1) + ')';
766
+ return 'buffered(' + toString(this.m1g_1) + ')';
699
767
  };
700
768
  function Segment_init_$Init$($this) {
701
769
  Segment.call($this);
702
- $this.h1b_1 = new Int8Array(8192);
703
- $this.l1b_1 = true;
704
- $this.k1b_1 = null;
770
+ $this.k1e_1 = new Int8Array(8192);
771
+ $this.o1e_1 = true;
772
+ $this.n1e_1 = null;
705
773
  return $this;
706
774
  }
707
775
  function Segment_init_$Create$() {
@@ -709,90 +777,90 @@
709
777
  }
710
778
  function Segment_init_$Init$_0(data, pos, limit, shareToken, owner, $this) {
711
779
  Segment.call($this);
712
- $this.h1b_1 = data;
713
- $this.i1b_1 = pos;
714
- $this.j1b_1 = limit;
715
- $this.k1b_1 = shareToken;
716
- $this.l1b_1 = owner;
780
+ $this.k1e_1 = data;
781
+ $this.l1e_1 = pos;
782
+ $this.m1e_1 = limit;
783
+ $this.n1e_1 = shareToken;
784
+ $this.o1e_1 = owner;
717
785
  return $this;
718
786
  }
719
787
  function Segment_init_$Create$_0(data, pos, limit, shareToken, owner) {
720
788
  return Segment_init_$Init$_0(data, pos, limit, shareToken, owner, objectCreate(protoOf(Segment)));
721
789
  }
722
790
  function Companion() {
723
- this.l1d_1 = 8192;
724
- this.m1d_1 = 1024;
791
+ this.p1g_1 = 8192;
792
+ this.q1g_1 = 1024;
725
793
  }
726
- protoOf(Companion).n1d = function () {
794
+ protoOf(Companion).r1g = function () {
727
795
  return Segment_init_$Create$();
728
796
  };
729
797
  var Companion_instance;
730
798
  function Companion_getInstance() {
731
799
  return Companion_instance;
732
800
  }
733
- protoOf(Segment).p1c = function () {
734
- var tmp1_safe_receiver = this.k1b_1;
735
- var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.o1d();
801
+ protoOf(Segment).u1f = function () {
802
+ var tmp1_safe_receiver = this.n1e_1;
803
+ var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.s1g();
736
804
  return tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
737
805
  };
738
- protoOf(Segment).v1b = function () {
739
- var tmp0_elvis_lhs = this.k1b_1;
806
+ protoOf(Segment).x1e = function () {
807
+ var tmp0_elvis_lhs = this.n1e_1;
740
808
  var tmp;
741
809
  if (tmp0_elvis_lhs == null) {
742
810
  // Inline function 'kotlin.also' call
743
- var this_0 = SegmentPool_instance.p1d();
811
+ var this_0 = SegmentPool_instance.t1g();
744
812
  // Inline function 'kotlinx.io.Segment.sharedCopy.<anonymous>' call
745
- this.k1b_1 = this_0;
813
+ this.n1e_1 = this_0;
746
814
  tmp = this_0;
747
815
  } else {
748
816
  tmp = tmp0_elvis_lhs;
749
817
  }
750
818
  var t = tmp;
751
- var tmp_0 = this.i1b_1;
752
- var tmp_1 = this.j1b_1;
819
+ var tmp_0 = this.l1e_1;
820
+ var tmp_1 = this.m1e_1;
753
821
  // Inline function 'kotlin.also' call
754
822
  // Inline function 'kotlinx.io.Segment.sharedCopy.<anonymous>' call
755
- t.q1d();
756
- return Segment_init_$Create$_0(this.h1b_1, tmp_0, tmp_1, t, false);
823
+ t.u1g();
824
+ return Segment_init_$Create$_0(this.k1e_1, tmp_0, tmp_1, t, false);
757
825
  };
758
- protoOf(Segment).s1c = function () {
759
- var result = this.m1b_1;
760
- if (!(this.n1b_1 == null)) {
761
- ensureNotNull(this.n1b_1).m1b_1 = this.m1b_1;
826
+ protoOf(Segment).x1f = function () {
827
+ var result = this.p1e_1;
828
+ if (!(this.q1e_1 == null)) {
829
+ ensureNotNull(this.q1e_1).p1e_1 = this.p1e_1;
762
830
  }
763
- if (!(this.m1b_1 == null)) {
764
- ensureNotNull(this.m1b_1).n1b_1 = this.n1b_1;
831
+ if (!(this.p1e_1 == null)) {
832
+ ensureNotNull(this.p1e_1).q1e_1 = this.q1e_1;
765
833
  }
766
- this.m1b_1 = null;
767
- this.n1b_1 = null;
834
+ this.p1e_1 = null;
835
+ this.q1e_1 = null;
768
836
  return result;
769
837
  };
770
- protoOf(Segment).w1b = function (segment) {
771
- segment.n1b_1 = this;
772
- segment.m1b_1 = this.m1b_1;
773
- if (!(this.m1b_1 == null)) {
774
- ensureNotNull(this.m1b_1).n1b_1 = segment;
838
+ protoOf(Segment).y1e = function (segment) {
839
+ segment.q1e_1 = this;
840
+ segment.p1e_1 = this.p1e_1;
841
+ if (!(this.p1e_1 == null)) {
842
+ ensureNotNull(this.p1e_1).q1e_1 = segment;
775
843
  }
776
- this.m1b_1 = segment;
844
+ this.p1e_1 = segment;
777
845
  return segment;
778
846
  };
779
- protoOf(Segment).q1c = function (byteCount) {
847
+ protoOf(Segment).v1f = function (byteCount) {
780
848
  // Inline function 'kotlin.require' call
781
- if (!(byteCount > 0 && byteCount <= (this.j1b_1 - this.i1b_1 | 0))) {
849
+ if (!(byteCount > 0 && byteCount <= (this.m1e_1 - this.l1e_1 | 0))) {
782
850
  // Inline function 'kotlinx.io.Segment.split.<anonymous>' call
783
851
  var message = 'byteCount out of range';
784
852
  throw IllegalArgumentException_init_$Create$(toString(message));
785
853
  }
786
854
  var prefix;
787
855
  if (byteCount >= 1024) {
788
- prefix = this.v1b();
856
+ prefix = this.x1e();
789
857
  } else {
790
- prefix = SegmentPool_instance.k1c();
791
- var tmp1 = this.h1b_1;
792
- var tmp2 = prefix.h1b_1;
793
- var tmp3 = this.i1b_1;
858
+ prefix = SegmentPool_instance.o1f();
859
+ var tmp1 = this.k1e_1;
860
+ var tmp2 = prefix.k1e_1;
861
+ var tmp3 = this.l1e_1;
794
862
  // Inline function 'kotlin.collections.copyInto' call
795
- var endIndex = this.i1b_1 + byteCount | 0;
863
+ var endIndex = this.l1e_1 + byteCount | 0;
796
864
  // Inline function 'kotlin.js.unsafeCast' call
797
865
  // Inline function 'kotlin.js.asDynamic' call
798
866
  var tmp = tmp1;
@@ -800,63 +868,63 @@
800
868
  // Inline function 'kotlin.js.asDynamic' call
801
869
  arrayCopy(tmp, tmp2, 0, tmp3, endIndex);
802
870
  }
803
- prefix.j1b_1 = prefix.i1b_1 + byteCount | 0;
804
- this.i1b_1 = this.i1b_1 + byteCount | 0;
805
- if (!(this.n1b_1 == null)) {
806
- ensureNotNull(this.n1b_1).w1b(prefix);
871
+ prefix.m1e_1 = prefix.l1e_1 + byteCount | 0;
872
+ this.l1e_1 = this.l1e_1 + byteCount | 0;
873
+ if (!(this.q1e_1 == null)) {
874
+ ensureNotNull(this.q1e_1).y1e(prefix);
807
875
  } else {
808
- prefix.m1b_1 = this;
809
- this.n1b_1 = prefix;
876
+ prefix.p1e_1 = this;
877
+ this.q1e_1 = prefix;
810
878
  }
811
879
  return prefix;
812
880
  };
813
- protoOf(Segment).x1b = function () {
881
+ protoOf(Segment).z1e = function () {
814
882
  // Inline function 'kotlin.check' call
815
- if (!!(this.n1b_1 == null)) {
883
+ if (!!(this.q1e_1 == null)) {
816
884
  // Inline function 'kotlinx.io.Segment.compact.<anonymous>' call
817
885
  var message = 'cannot compact';
818
886
  throw IllegalStateException_init_$Create$(toString(message));
819
887
  }
820
- if (!ensureNotNull(this.n1b_1).l1b_1)
888
+ if (!ensureNotNull(this.q1e_1).o1e_1)
821
889
  return this;
822
- var byteCount = this.j1b_1 - this.i1b_1 | 0;
823
- var availableByteCount = (8192 - ensureNotNull(this.n1b_1).j1b_1 | 0) + (ensureNotNull(this.n1b_1).p1c() ? 0 : ensureNotNull(this.n1b_1).i1b_1) | 0;
890
+ var byteCount = this.m1e_1 - this.l1e_1 | 0;
891
+ var availableByteCount = (8192 - ensureNotNull(this.q1e_1).m1e_1 | 0) + (ensureNotNull(this.q1e_1).u1f() ? 0 : ensureNotNull(this.q1e_1).l1e_1) | 0;
824
892
  if (byteCount > availableByteCount)
825
893
  return this;
826
- var predecessor = this.n1b_1;
827
- this.r1c(ensureNotNull(predecessor), byteCount);
828
- var successor = this.s1c();
894
+ var predecessor = this.q1e_1;
895
+ this.w1f(ensureNotNull(predecessor), byteCount);
896
+ var successor = this.x1f();
829
897
  // Inline function 'kotlin.check' call
830
898
  if (!(successor == null)) {
831
899
  throw IllegalStateException_init_$Create$('Check failed.');
832
900
  }
833
- SegmentPool_instance.a1d(this);
901
+ SegmentPool_instance.e1g(this);
834
902
  return predecessor;
835
903
  };
836
- protoOf(Segment).v1c = function (byte) {
837
- var _unary__edvuaz = this.j1b_1;
838
- this.j1b_1 = _unary__edvuaz + 1 | 0;
839
- this.h1b_1[_unary__edvuaz] = byte;
904
+ protoOf(Segment).a1g = function (byte) {
905
+ var _unary__edvuaz = this.m1e_1;
906
+ this.m1e_1 = _unary__edvuaz + 1 | 0;
907
+ this.k1e_1[_unary__edvuaz] = byte;
840
908
  };
841
- protoOf(Segment).x1c = function (short) {
842
- var data = this.h1b_1;
843
- var limit = this.j1b_1;
909
+ protoOf(Segment).c1g = function (short) {
910
+ var data = this.k1e_1;
911
+ var limit = this.m1e_1;
844
912
  var _unary__edvuaz = limit;
845
913
  limit = _unary__edvuaz + 1 | 0;
846
914
  data[_unary__edvuaz] = toByte((short >>> 8 | 0) & 255);
847
915
  var _unary__edvuaz_0 = limit;
848
916
  limit = _unary__edvuaz_0 + 1 | 0;
849
917
  data[_unary__edvuaz_0] = toByte(short & 255);
850
- this.j1b_1 = limit;
918
+ this.m1e_1 = limit;
851
919
  };
852
- protoOf(Segment).q1b = function () {
853
- var _unary__edvuaz = this.i1b_1;
854
- this.i1b_1 = _unary__edvuaz + 1 | 0;
855
- return this.h1b_1[_unary__edvuaz];
920
+ protoOf(Segment).s1e = function () {
921
+ var _unary__edvuaz = this.l1e_1;
922
+ this.l1e_1 = _unary__edvuaz + 1 | 0;
923
+ return this.k1e_1[_unary__edvuaz];
856
924
  };
857
- protoOf(Segment).s1b = function () {
858
- var data = this.h1b_1;
859
- var pos = this.i1b_1;
925
+ protoOf(Segment).u1e = function () {
926
+ var data = this.k1e_1;
927
+ var pos = this.l1e_1;
860
928
  var _unary__edvuaz = pos;
861
929
  pos = _unary__edvuaz + 1 | 0;
862
930
  // Inline function 'kotlinx.io.and' call
@@ -866,133 +934,133 @@
866
934
  // Inline function 'kotlinx.io.and' call
867
935
  var tmp$ret$1 = data[_unary__edvuaz_0] & 255;
868
936
  var s = toShort(tmp | tmp$ret$1);
869
- this.i1b_1 = pos;
937
+ this.l1e_1 = pos;
870
938
  return s;
871
939
  };
872
- protoOf(Segment).r1c = function (sink, byteCount) {
940
+ protoOf(Segment).w1f = function (sink, byteCount) {
873
941
  // Inline function 'kotlin.check' call
874
- if (!sink.l1b_1) {
942
+ if (!sink.o1e_1) {
875
943
  // Inline function 'kotlinx.io.Segment.writeTo.<anonymous>' call
876
944
  var message = 'only owner can write';
877
945
  throw IllegalStateException_init_$Create$(toString(message));
878
946
  }
879
- if ((sink.j1b_1 + byteCount | 0) > 8192) {
880
- if (sink.p1c())
947
+ if ((sink.m1e_1 + byteCount | 0) > 8192) {
948
+ if (sink.u1f())
881
949
  throw IllegalArgumentException_init_$Create$_0();
882
- if (((sink.j1b_1 + byteCount | 0) - sink.i1b_1 | 0) > 8192)
950
+ if (((sink.m1e_1 + byteCount | 0) - sink.l1e_1 | 0) > 8192)
883
951
  throw IllegalArgumentException_init_$Create$_0();
884
- var tmp1 = sink.h1b_1;
885
- var tmp2 = sink.h1b_1;
886
- var tmp3 = sink.i1b_1;
952
+ var tmp1 = sink.k1e_1;
953
+ var tmp2 = sink.k1e_1;
954
+ var tmp3 = sink.l1e_1;
887
955
  // Inline function 'kotlin.collections.copyInto' call
888
- var endIndex = sink.j1b_1;
956
+ var endIndex = sink.m1e_1;
889
957
  // Inline function 'kotlin.js.unsafeCast' call
890
958
  // Inline function 'kotlin.js.asDynamic' call
891
959
  var tmp = tmp1;
892
960
  // Inline function 'kotlin.js.unsafeCast' call
893
961
  // Inline function 'kotlin.js.asDynamic' call
894
962
  arrayCopy(tmp, tmp2, 0, tmp3, endIndex);
895
- sink.j1b_1 = sink.j1b_1 - sink.i1b_1 | 0;
896
- sink.i1b_1 = 0;
963
+ sink.m1e_1 = sink.m1e_1 - sink.l1e_1 | 0;
964
+ sink.l1e_1 = 0;
897
965
  }
898
- var tmp6 = this.h1b_1;
899
- var tmp7 = sink.h1b_1;
900
- var tmp8 = sink.j1b_1;
901
- var tmp9 = this.i1b_1;
966
+ var tmp6 = this.k1e_1;
967
+ var tmp7 = sink.k1e_1;
968
+ var tmp8 = sink.m1e_1;
969
+ var tmp9 = this.l1e_1;
902
970
  // Inline function 'kotlin.collections.copyInto' call
903
- var endIndex_0 = this.i1b_1 + byteCount | 0;
971
+ var endIndex_0 = this.l1e_1 + byteCount | 0;
904
972
  // Inline function 'kotlin.js.unsafeCast' call
905
973
  // Inline function 'kotlin.js.asDynamic' call
906
974
  var tmp_0 = tmp6;
907
975
  // Inline function 'kotlin.js.unsafeCast' call
908
976
  // Inline function 'kotlin.js.asDynamic' call
909
977
  arrayCopy(tmp_0, tmp7, tmp8, tmp9, endIndex_0);
910
- sink.j1b_1 = sink.j1b_1 + byteCount | 0;
911
- this.i1b_1 = this.i1b_1 + byteCount | 0;
978
+ sink.m1e_1 = sink.m1e_1 + byteCount | 0;
979
+ this.l1e_1 = this.l1e_1 + byteCount | 0;
912
980
  };
913
- protoOf(Segment).b1c = function (dst, dstStartOffset, dstEndOffset) {
981
+ protoOf(Segment).f1f = function (dst, dstStartOffset, dstEndOffset) {
914
982
  var len = dstEndOffset - dstStartOffset | 0;
915
- var tmp0 = this.h1b_1;
916
- var tmp3 = this.i1b_1;
983
+ var tmp0 = this.k1e_1;
984
+ var tmp3 = this.l1e_1;
917
985
  // Inline function 'kotlin.collections.copyInto' call
918
- var endIndex = this.i1b_1 + len | 0;
986
+ var endIndex = this.l1e_1 + len | 0;
919
987
  // Inline function 'kotlin.js.unsafeCast' call
920
988
  // Inline function 'kotlin.js.asDynamic' call
921
989
  var tmp = tmp0;
922
990
  // Inline function 'kotlin.js.unsafeCast' call
923
991
  // Inline function 'kotlin.js.asDynamic' call
924
992
  arrayCopy(tmp, dst, dstStartOffset, tmp3, endIndex);
925
- this.i1b_1 = this.i1b_1 + len | 0;
993
+ this.l1e_1 = this.l1e_1 + len | 0;
926
994
  };
927
- protoOf(Segment).n1c = function (src, srcStartOffset, srcEndOffset) {
928
- var tmp1 = this.h1b_1;
995
+ protoOf(Segment).r1f = function (src, srcStartOffset, srcEndOffset) {
996
+ var tmp1 = this.k1e_1;
929
997
  // Inline function 'kotlin.collections.copyInto' call
930
- var destinationOffset = this.j1b_1;
998
+ var destinationOffset = this.m1e_1;
931
999
  // Inline function 'kotlin.js.unsafeCast' call
932
1000
  // Inline function 'kotlin.js.asDynamic' call
933
1001
  var tmp = src;
934
1002
  // Inline function 'kotlin.js.unsafeCast' call
935
1003
  // Inline function 'kotlin.js.asDynamic' call
936
1004
  arrayCopy(tmp, tmp1, destinationOffset, srcStartOffset, srcEndOffset);
937
- this.j1b_1 = this.j1b_1 + (srcEndOffset - srcStartOffset | 0) | 0;
1005
+ this.m1e_1 = this.m1e_1 + (srcEndOffset - srcStartOffset | 0) | 0;
938
1006
  };
939
- protoOf(Segment).o1b = function () {
940
- return this.j1b_1 - this.i1b_1 | 0;
1007
+ protoOf(Segment).s = function () {
1008
+ return this.m1e_1 - this.l1e_1 | 0;
941
1009
  };
942
- protoOf(Segment).m1c = function () {
943
- return this.h1b_1.length - this.j1b_1 | 0;
1010
+ protoOf(Segment).q1f = function () {
1011
+ return this.k1e_1.length - this.m1e_1 | 0;
944
1012
  };
945
- protoOf(Segment).r1d = function (readOnly) {
946
- return this.h1b_1;
1013
+ protoOf(Segment).v1g = function (readOnly) {
1014
+ return this.k1e_1;
947
1015
  };
948
- protoOf(Segment).s1d = function (index) {
949
- return this.h1b_1[this.i1b_1 + index | 0];
1016
+ protoOf(Segment).c1f = function (index) {
1017
+ return this.k1e_1[this.l1e_1 + index | 0];
950
1018
  };
951
- protoOf(Segment).t1d = function (index, value) {
952
- this.h1b_1[this.j1b_1 + index | 0] = value;
1019
+ protoOf(Segment).w1g = function (index, value) {
1020
+ this.k1e_1[this.m1e_1 + index | 0] = value;
953
1021
  };
954
- protoOf(Segment).u1d = function (index, b0, b1) {
955
- var d = this.h1b_1;
956
- var l = this.j1b_1;
1022
+ protoOf(Segment).x1g = function (index, b0, b1) {
1023
+ var d = this.k1e_1;
1024
+ var l = this.m1e_1;
957
1025
  d[l + index | 0] = b0;
958
1026
  d[(l + index | 0) + 1 | 0] = b1;
959
1027
  };
960
- protoOf(Segment).v1d = function (index, b0, b1, b2) {
961
- var d = this.h1b_1;
962
- var l = this.j1b_1;
1028
+ protoOf(Segment).y1g = function (index, b0, b1, b2) {
1029
+ var d = this.k1e_1;
1030
+ var l = this.m1e_1;
963
1031
  d[l + index | 0] = b0;
964
1032
  d[(l + index | 0) + 1 | 0] = b1;
965
1033
  d[(l + index | 0) + 2 | 0] = b2;
966
1034
  };
967
- protoOf(Segment).w1d = function (index, b0, b1, b2, b3) {
968
- var d = this.h1b_1;
969
- var l = this.j1b_1;
1035
+ protoOf(Segment).z1g = function (index, b0, b1, b2, b3) {
1036
+ var d = this.k1e_1;
1037
+ var l = this.m1e_1;
970
1038
  d[l + index | 0] = b0;
971
1039
  d[(l + index | 0) + 1 | 0] = b1;
972
1040
  d[(l + index | 0) + 2 | 0] = b2;
973
1041
  d[(l + index | 0) + 3 | 0] = b3;
974
1042
  };
975
1043
  function Segment() {
976
- this.i1b_1 = 0;
977
- this.j1b_1 = 0;
978
- this.k1b_1 = null;
979
- this.l1b_1 = false;
980
- this.m1b_1 = null;
981
- this.n1b_1 = null;
1044
+ this.l1e_1 = 0;
1045
+ this.m1e_1 = 0;
1046
+ this.n1e_1 = null;
1047
+ this.o1e_1 = false;
1048
+ this.p1e_1 = null;
1049
+ this.q1e_1 = null;
982
1050
  }
983
1051
  function SegmentCopyTracker() {
984
1052
  }
985
1053
  function isEmpty(_this__u8e3s4) {
986
- return _this__u8e3s4.o1b() === 0;
1054
+ return _this__u8e3s4.s() === 0;
987
1055
  }
988
1056
  function AlwaysSharedCopyTracker() {
989
1057
  AlwaysSharedCopyTracker_instance = this;
990
1058
  SegmentCopyTracker.call(this);
991
1059
  }
992
- protoOf(AlwaysSharedCopyTracker).o1d = function () {
1060
+ protoOf(AlwaysSharedCopyTracker).s1g = function () {
993
1061
  return true;
994
1062
  };
995
- protoOf(AlwaysSharedCopyTracker).q1d = function () {
1063
+ protoOf(AlwaysSharedCopyTracker).u1g = function () {
996
1064
  return Unit_instance;
997
1065
  };
998
1066
  var AlwaysSharedCopyTracker_instance;
@@ -1012,22 +1080,22 @@
1012
1080
  var arraySize = size;
1013
1081
  if (size === -1) {
1014
1082
  var fetchSize = new Long(2147483647, 0);
1015
- while (_this__u8e3s4.c1b().s().e1(new Long(2147483647, 0)) < 0 && _this__u8e3s4.f1b(fetchSize)) {
1083
+ while (_this__u8e3s4.f1e().s().e1(new Long(2147483647, 0)) < 0 && _this__u8e3s4.i1e(fetchSize)) {
1016
1084
  // Inline function 'kotlin.Long.times' call
1017
1085
  fetchSize = fetchSize.b3(toLong(2));
1018
1086
  }
1019
1087
  // Inline function 'kotlin.check' call
1020
- if (!(_this__u8e3s4.c1b().s().e1(new Long(2147483647, 0)) < 0)) {
1088
+ if (!(_this__u8e3s4.f1e().s().e1(new Long(2147483647, 0)) < 0)) {
1021
1089
  // Inline function 'kotlinx.io.readByteArrayImpl.<anonymous>' call
1022
- var message = "Can't create an array of size " + _this__u8e3s4.c1b().s().toString();
1090
+ var message = "Can't create an array of size " + _this__u8e3s4.f1e().s().toString();
1023
1091
  throw IllegalStateException_init_$Create$(toString(message));
1024
1092
  }
1025
- arraySize = _this__u8e3s4.c1b().s().j1();
1093
+ arraySize = _this__u8e3s4.f1e().s().j1();
1026
1094
  } else {
1027
- _this__u8e3s4.e1b(toLong(size));
1095
+ _this__u8e3s4.h1e(toLong(size));
1028
1096
  }
1029
1097
  var array = new Int8Array(arraySize);
1030
- readTo(_this__u8e3s4.c1b(), array);
1098
+ readTo(_this__u8e3s4.f1e(), array);
1031
1099
  return array;
1032
1100
  }
1033
1101
  function readTo(_this__u8e3s4, sink, startIndex, endIndex) {
@@ -1038,7 +1106,7 @@
1038
1106
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
1039
1107
  var offset = startIndex;
1040
1108
  while (offset < endIndex) {
1041
- var bytesRead = _this__u8e3s4.a1c(sink, offset, endIndex);
1109
+ var bytesRead = _this__u8e3s4.e1f(sink, offset, endIndex);
1042
1110
  if (bytesRead === -1) {
1043
1111
  throw EOFException_init_$Create$_0('Source exhausted before reading ' + (endIndex - startIndex | 0) + ' bytes. ' + ('Only ' + bytesRead + ' bytes were read.'));
1044
1112
  }
@@ -1057,33 +1125,36 @@
1057
1125
  return readByteArrayImpl(_this__u8e3s4, byteCount);
1058
1126
  }
1059
1127
  function readString(_this__u8e3s4) {
1060
- _this__u8e3s4.f1b(new Long(-1, 2147483647));
1061
- return commonReadUtf8(_this__u8e3s4.c1b(), _this__u8e3s4.c1b().s());
1128
+ _this__u8e3s4.i1e(new Long(-1, 2147483647));
1129
+ return commonReadUtf8(_this__u8e3s4.f1e(), _this__u8e3s4.f1e().s());
1062
1130
  }
1063
1131
  function readString_0(_this__u8e3s4, byteCount) {
1064
- _this__u8e3s4.e1b(byteCount);
1065
- return commonReadUtf8(_this__u8e3s4.c1b(), byteCount);
1132
+ _this__u8e3s4.h1e(byteCount);
1133
+ return commonReadUtf8(_this__u8e3s4.f1e(), byteCount);
1134
+ }
1135
+ function readString_1(_this__u8e3s4) {
1136
+ return commonReadUtf8(_this__u8e3s4, _this__u8e3s4.s());
1066
1137
  }
1067
1138
  function commonReadUtf8(_this__u8e3s4, byteCount) {
1068
1139
  if (byteCount.equals(new Long(0, 0)))
1069
1140
  return '';
1070
1141
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
1071
- var curr = _this__u8e3s4.z1a_1;
1142
+ var curr = _this__u8e3s4.c1e_1;
1072
1143
  while (!(curr == null)) {
1073
1144
  get_SegmentReadContextImpl();
1074
1145
  // Inline function 'kotlinx.io.commonReadUtf8.<anonymous>' call
1075
- if (toLong(curr.o1b()).e1(byteCount) >= 0) {
1146
+ if (toLong(curr.s()).e1(byteCount) >= 0) {
1076
1147
  var result = '';
1077
1148
  // Inline function 'kotlinx.io.unsafe.withData' call
1078
- var tmp2 = curr.r1d(true);
1079
- var tmp3 = curr.i1b_1;
1149
+ var tmp2 = curr.v1g(true);
1150
+ var tmp3 = curr.l1e_1;
1080
1151
  // Inline function 'kotlinx.io.commonReadUtf8.<anonymous>.<anonymous>' call
1081
- var tmp0 = curr.j1b_1;
1152
+ var tmp0 = curr.m1e_1;
1082
1153
  // Inline function 'kotlin.math.min' call
1083
1154
  var b = tmp3 + byteCount.j1() | 0;
1084
1155
  var tmp$ret$0 = Math.min(tmp0, b);
1085
1156
  result = commonToUtf8String(tmp2, tmp3, tmp$ret$0);
1086
- _this__u8e3s4.z1b(byteCount);
1157
+ _this__u8e3s4.d1f(byteCount);
1087
1158
  return result;
1088
1159
  }
1089
1160
  return commonToUtf8String(readByteArray_0(_this__u8e3s4, byteCount.j1()));
@@ -1101,7 +1172,7 @@
1101
1172
  // Inline function 'kotlinx.io.writeToInternalBuffer' call
1102
1173
  // Inline function 'kotlinx.io.writeString.<anonymous>' call
1103
1174
  // Inline function 'kotlinx.io.commonWriteUtf8' call
1104
- var this_0 = _this__u8e3s4.c1b();
1175
+ var this_0 = _this__u8e3s4.f1e();
1105
1176
  var i = startIndex;
1106
1177
  while (i < endIndex) {
1107
1178
  // Inline function 'kotlinx.io.writeString.<anonymous>.stub_for_inlining' call
@@ -1112,16 +1183,16 @@
1112
1183
  if (c < 128) {
1113
1184
  $l$block_0: {
1114
1185
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1115
- var tail = this_0.h1c(1);
1186
+ var tail = this_0.l1f(1);
1116
1187
  // Inline function 'kotlinx.io.commonWriteUtf8.<anonymous>' call
1117
1188
  var ctx = get_SegmentWriteContextImpl();
1118
1189
  var segmentOffset = -i | 0;
1119
1190
  // Inline function 'kotlin.comparisons.minOf' call
1120
- var b = i + tail.m1c() | 0;
1191
+ var b = i + tail.q1f() | 0;
1121
1192
  var runLimit = Math.min(endIndex, b);
1122
1193
  var _unary__edvuaz = i;
1123
1194
  i = _unary__edvuaz + 1 | 0;
1124
- ctx.a1e(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
1195
+ ctx.d1h(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
1125
1196
  $l$loop: while (i < runLimit) {
1126
1197
  // Inline function 'kotlinx.io.writeString.<anonymous>.stub_for_inlining' call
1127
1198
  var p0_0 = i;
@@ -1132,94 +1203,94 @@
1132
1203
  break $l$loop;
1133
1204
  var _unary__edvuaz_0 = i;
1134
1205
  i = _unary__edvuaz_0 + 1 | 0;
1135
- ctx.a1e(tail, segmentOffset + _unary__edvuaz_0 | 0, toByte(c));
1206
+ ctx.d1h(tail, segmentOffset + _unary__edvuaz_0 | 0, toByte(c));
1136
1207
  }
1137
1208
  var bytesWritten = i + segmentOffset | 0;
1138
1209
  if (bytesWritten === 1) {
1139
- tail.j1b_1 = tail.j1b_1 + bytesWritten | 0;
1210
+ tail.m1e_1 = tail.m1e_1 + bytesWritten | 0;
1140
1211
  var tmp = this_0;
1141
1212
  // Inline function 'kotlin.Long.plus' call
1142
- tmp.b1b_1 = this_0.b1b_1.z2(toLong(bytesWritten));
1213
+ tmp.e1e_1 = this_0.e1e_1.z2(toLong(bytesWritten));
1143
1214
  break $l$block_0;
1144
1215
  }
1145
1216
  // Inline function 'kotlin.check' call
1146
- if (!(0 <= bytesWritten ? bytesWritten <= tail.m1c() : false)) {
1217
+ if (!(0 <= bytesWritten ? bytesWritten <= tail.q1f() : false)) {
1147
1218
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail.<anonymous>' call
1148
- var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.m1c();
1219
+ var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.q1f();
1149
1220
  throw IllegalStateException_init_$Create$(toString(message));
1150
1221
  }
1151
1222
  if (!(bytesWritten === 0)) {
1152
- tail.j1b_1 = tail.j1b_1 + bytesWritten | 0;
1223
+ tail.m1e_1 = tail.m1e_1 + bytesWritten | 0;
1153
1224
  var tmp_0 = this_0;
1154
1225
  // Inline function 'kotlin.Long.plus' call
1155
- tmp_0.b1b_1 = this_0.b1b_1.z2(toLong(bytesWritten));
1226
+ tmp_0.e1e_1 = this_0.e1e_1.z2(toLong(bytesWritten));
1156
1227
  break $l$block_0;
1157
1228
  }
1158
1229
  if (isEmpty(tail)) {
1159
- this_0.b1d();
1230
+ this_0.f1g();
1160
1231
  }
1161
1232
  }
1162
1233
  } else if (c < 2048) {
1163
1234
  $l$block_2: {
1164
1235
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1165
- var tail_0 = this_0.h1c(2);
1236
+ var tail_0 = this_0.l1f(2);
1166
1237
  // Inline function 'kotlinx.io.commonWriteUtf8.<anonymous>' call
1167
- get_SegmentWriteContextImpl().z1d(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
1238
+ get_SegmentWriteContextImpl().c1h(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
1168
1239
  var bytesWritten_0 = 2;
1169
1240
  if (bytesWritten_0 === 2) {
1170
- tail_0.j1b_1 = tail_0.j1b_1 + bytesWritten_0 | 0;
1241
+ tail_0.m1e_1 = tail_0.m1e_1 + bytesWritten_0 | 0;
1171
1242
  var tmp_1 = this_0;
1172
1243
  // Inline function 'kotlin.Long.plus' call
1173
- tmp_1.b1b_1 = this_0.b1b_1.z2(toLong(bytesWritten_0));
1244
+ tmp_1.e1e_1 = this_0.e1e_1.z2(toLong(bytesWritten_0));
1174
1245
  break $l$block_2;
1175
1246
  }
1176
1247
  // Inline function 'kotlin.check' call
1177
- if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.m1c() : false)) {
1248
+ if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.q1f() : false)) {
1178
1249
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail.<anonymous>' call
1179
- var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.m1c();
1250
+ var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.q1f();
1180
1251
  throw IllegalStateException_init_$Create$(toString(message_0));
1181
1252
  }
1182
1253
  if (!(bytesWritten_0 === 0)) {
1183
- tail_0.j1b_1 = tail_0.j1b_1 + bytesWritten_0 | 0;
1254
+ tail_0.m1e_1 = tail_0.m1e_1 + bytesWritten_0 | 0;
1184
1255
  var tmp_2 = this_0;
1185
1256
  // Inline function 'kotlin.Long.plus' call
1186
- tmp_2.b1b_1 = this_0.b1b_1.z2(toLong(bytesWritten_0));
1257
+ tmp_2.e1e_1 = this_0.e1e_1.z2(toLong(bytesWritten_0));
1187
1258
  break $l$block_2;
1188
1259
  }
1189
1260
  if (isEmpty(tail_0)) {
1190
- this_0.b1d();
1261
+ this_0.f1g();
1191
1262
  }
1192
1263
  }
1193
1264
  i = i + 1 | 0;
1194
1265
  } else if (c < 55296 || c > 57343) {
1195
1266
  $l$block_4: {
1196
1267
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1197
- var tail_1 = this_0.h1c(3);
1268
+ var tail_1 = this_0.l1f(3);
1198
1269
  // Inline function 'kotlinx.io.commonWriteUtf8.<anonymous>' call
1199
- get_SegmentWriteContextImpl().y1d(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
1270
+ get_SegmentWriteContextImpl().b1h(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
1200
1271
  var bytesWritten_1 = 3;
1201
1272
  if (bytesWritten_1 === 3) {
1202
- tail_1.j1b_1 = tail_1.j1b_1 + bytesWritten_1 | 0;
1273
+ tail_1.m1e_1 = tail_1.m1e_1 + bytesWritten_1 | 0;
1203
1274
  var tmp_3 = this_0;
1204
1275
  // Inline function 'kotlin.Long.plus' call
1205
- tmp_3.b1b_1 = this_0.b1b_1.z2(toLong(bytesWritten_1));
1276
+ tmp_3.e1e_1 = this_0.e1e_1.z2(toLong(bytesWritten_1));
1206
1277
  break $l$block_4;
1207
1278
  }
1208
1279
  // Inline function 'kotlin.check' call
1209
- if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.m1c() : false)) {
1280
+ if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.q1f() : false)) {
1210
1281
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail.<anonymous>' call
1211
- var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.m1c();
1282
+ var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.q1f();
1212
1283
  throw IllegalStateException_init_$Create$(toString(message_1));
1213
1284
  }
1214
1285
  if (!(bytesWritten_1 === 0)) {
1215
- tail_1.j1b_1 = tail_1.j1b_1 + bytesWritten_1 | 0;
1286
+ tail_1.m1e_1 = tail_1.m1e_1 + bytesWritten_1 | 0;
1216
1287
  var tmp_4 = this_0;
1217
1288
  // Inline function 'kotlin.Long.plus' call
1218
- tmp_4.b1b_1 = this_0.b1b_1.z2(toLong(bytesWritten_1));
1289
+ tmp_4.e1e_1 = this_0.e1e_1.z2(toLong(bytesWritten_1));
1219
1290
  break $l$block_4;
1220
1291
  }
1221
1292
  if (isEmpty(tail_1)) {
1222
- this_0.b1d();
1293
+ this_0.f1g();
1223
1294
  }
1224
1295
  }
1225
1296
  i = i + 1 | 0;
@@ -1239,45 +1310,45 @@
1239
1310
  // Inline function 'kotlin.code' call
1240
1311
  var this_4 = _Char___init__impl__6a9atx(63);
1241
1312
  var tmp$ret$23 = Char__toInt_impl_vasixd(this_4);
1242
- this_0.u1c(toByte(tmp$ret$23));
1313
+ this_0.z1f(toByte(tmp$ret$23));
1243
1314
  i = i + 1 | 0;
1244
1315
  } else {
1245
1316
  var codePoint = 65536 + ((c & 1023) << 10 | low & 1023) | 0;
1246
1317
  $l$block_6: {
1247
1318
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1248
- var tail_2 = this_0.h1c(4);
1319
+ var tail_2 = this_0.l1f(4);
1249
1320
  // Inline function 'kotlinx.io.commonWriteUtf8.<anonymous>' call
1250
- get_SegmentWriteContextImpl().x1d(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
1321
+ get_SegmentWriteContextImpl().a1h(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
1251
1322
  var bytesWritten_2 = 4;
1252
1323
  if (bytesWritten_2 === 4) {
1253
- tail_2.j1b_1 = tail_2.j1b_1 + bytesWritten_2 | 0;
1324
+ tail_2.m1e_1 = tail_2.m1e_1 + bytesWritten_2 | 0;
1254
1325
  var tmp_6 = this_0;
1255
1326
  // Inline function 'kotlin.Long.plus' call
1256
- tmp_6.b1b_1 = this_0.b1b_1.z2(toLong(bytesWritten_2));
1327
+ tmp_6.e1e_1 = this_0.e1e_1.z2(toLong(bytesWritten_2));
1257
1328
  break $l$block_6;
1258
1329
  }
1259
1330
  // Inline function 'kotlin.check' call
1260
- if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.m1c() : false)) {
1331
+ if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.q1f() : false)) {
1261
1332
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail.<anonymous>' call
1262
- var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.m1c();
1333
+ var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.q1f();
1263
1334
  throw IllegalStateException_init_$Create$(toString(message_2));
1264
1335
  }
1265
1336
  if (!(bytesWritten_2 === 0)) {
1266
- tail_2.j1b_1 = tail_2.j1b_1 + bytesWritten_2 | 0;
1337
+ tail_2.m1e_1 = tail_2.m1e_1 + bytesWritten_2 | 0;
1267
1338
  var tmp_7 = this_0;
1268
1339
  // Inline function 'kotlin.Long.plus' call
1269
- tmp_7.b1b_1 = this_0.b1b_1.z2(toLong(bytesWritten_2));
1340
+ tmp_7.e1e_1 = this_0.e1e_1.z2(toLong(bytesWritten_2));
1270
1341
  break $l$block_6;
1271
1342
  }
1272
1343
  if (isEmpty(tail_2)) {
1273
- this_0.b1d();
1344
+ this_0.f1g();
1274
1345
  }
1275
1346
  }
1276
1347
  i = i + 2 | 0;
1277
1348
  }
1278
1349
  }
1279
1350
  }
1280
- _this__u8e3s4.t1b();
1351
+ _this__u8e3s4.v1e();
1281
1352
  }
1282
1353
  function commonToUtf8String(_this__u8e3s4, beginIndex, endIndex) {
1283
1354
  beginIndex = beginIndex === VOID ? 0 : beginIndex;
@@ -1696,27 +1767,27 @@
1696
1767
  }
1697
1768
  function SegmentReadContextImpl$1() {
1698
1769
  }
1699
- protoOf(SegmentReadContextImpl$1).z1c = function (segment, offset) {
1700
- return segment.s1d(offset);
1770
+ protoOf(SegmentReadContextImpl$1).d1g = function (segment, offset) {
1771
+ return segment.c1f(offset);
1701
1772
  };
1702
1773
  function SegmentWriteContextImpl$1() {
1703
1774
  }
1704
- protoOf(SegmentWriteContextImpl$1).a1e = function (segment, offset, value) {
1705
- segment.t1d(offset, value);
1775
+ protoOf(SegmentWriteContextImpl$1).d1h = function (segment, offset, value) {
1776
+ segment.w1g(offset, value);
1706
1777
  };
1707
- protoOf(SegmentWriteContextImpl$1).z1d = function (segment, offset, b0, b1) {
1708
- segment.u1d(offset, b0, b1);
1778
+ protoOf(SegmentWriteContextImpl$1).c1h = function (segment, offset, b0, b1) {
1779
+ segment.x1g(offset, b0, b1);
1709
1780
  };
1710
- protoOf(SegmentWriteContextImpl$1).y1d = function (segment, offset, b0, b1, b2) {
1711
- segment.v1d(offset, b0, b1, b2);
1781
+ protoOf(SegmentWriteContextImpl$1).b1h = function (segment, offset, b0, b1, b2) {
1782
+ segment.y1g(offset, b0, b1, b2);
1712
1783
  };
1713
- protoOf(SegmentWriteContextImpl$1).x1d = function (segment, offset, b0, b1, b2, b3) {
1714
- segment.w1d(offset, b0, b1, b2, b3);
1784
+ protoOf(SegmentWriteContextImpl$1).a1h = function (segment, offset, b0, b1, b2, b3) {
1785
+ segment.z1g(offset, b0, b1, b2, b3);
1715
1786
  };
1716
1787
  function BufferIterationContextImpl$1() {
1717
1788
  }
1718
- protoOf(BufferIterationContextImpl$1).z1c = function (segment, offset) {
1719
- return get_SegmentReadContextImpl().z1c(segment, offset);
1789
+ protoOf(BufferIterationContextImpl$1).d1g = function (segment, offset) {
1790
+ return get_SegmentReadContextImpl().d1g(segment, offset);
1720
1791
  };
1721
1792
  var properties_initialized_UnsafeBufferOperations_kt_2xfgoc;
1722
1793
  function _init_properties_UnsafeBufferOperations_kt__xw75gy() {
@@ -1784,15 +1855,15 @@
1784
1855
  captureStack(this, EOFException);
1785
1856
  }
1786
1857
  function SegmentPool() {
1787
- this.i1c_1 = 0;
1788
- this.j1c_1 = 0;
1858
+ this.m1f_1 = 0;
1859
+ this.n1f_1 = 0;
1789
1860
  }
1790
- protoOf(SegmentPool).k1c = function () {
1791
- return Companion_instance.n1d();
1861
+ protoOf(SegmentPool).o1f = function () {
1862
+ return Companion_instance.r1g();
1792
1863
  };
1793
- protoOf(SegmentPool).a1d = function (segment) {
1864
+ protoOf(SegmentPool).e1g = function (segment) {
1794
1865
  };
1795
- protoOf(SegmentPool).p1d = function () {
1866
+ protoOf(SegmentPool).t1g = function () {
1796
1867
  return AlwaysSharedCopyTracker_getInstance();
1797
1868
  };
1798
1869
  var SegmentPool_instance;
@@ -1800,7 +1871,7 @@
1800
1871
  return SegmentPool_instance;
1801
1872
  }
1802
1873
  //region block: post-declaration
1803
- protoOf(Buffer).o1c = write$default;
1874
+ protoOf(Buffer).s1f = write$default;
1804
1875
  //endregion
1805
1876
  //region block: init
1806
1877
  Companion_instance = new Companion();
@@ -1819,9 +1890,11 @@
1819
1890
  _.$_$.h = Source;
1820
1891
  _.$_$.i = readByteArray_0;
1821
1892
  _.$_$.j = readByteArray;
1822
- _.$_$.k = readString;
1823
- _.$_$.l = readString_0;
1824
- _.$_$.m = writeString;
1893
+ _.$_$.k = readByteString;
1894
+ _.$_$.l = readString;
1895
+ _.$_$.m = readString_0;
1896
+ _.$_$.n = readString_1;
1897
+ _.$_$.o = writeString;
1825
1898
  //endregion
1826
1899
  return _;
1827
- }(module.exports, require('./kotlin-kotlin-stdlib.js')));
1900
+ }(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-io-kotlinx-io-bytestring.js')));