@doordeck/doordeck-headless-sdk 0.35.0 → 0.36.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 +1192 -1192
  2. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +14 -0
  3. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js.map +1 -1
  4. package/kotlin/MultiplatformSettings-multiplatform-settings.js +6 -6
  5. package/kotlin/Stately-stately-concurrency.js +6 -6
  6. package/kotlin/Stately-stately-concurrent-collections.js +53 -53
  7. package/kotlin/doordeck-sdk.js +7989 -7922
  8. package/kotlin/doordeck-sdk.js.map +1 -1
  9. package/kotlin/kotlinx-atomicfu.js +13 -13
  10. package/kotlin/kotlinx-coroutines-core.js +1555 -1555
  11. package/kotlin/kotlinx-coroutines-core.js.map +1 -1
  12. package/kotlin/kotlinx-io-kotlinx-io-core.js +412 -412
  13. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1657 -1657
  14. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1310 -1310
  15. package/kotlin/ktor-ktor-client-ktor-client-core.js +1696 -1696
  16. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +212 -212
  17. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +120 -120
  18. package/kotlin/ktor-ktor-http.js +629 -629
  19. package/kotlin/ktor-ktor-io.js +378 -378
  20. package/kotlin/ktor-ktor-shared-ktor-events.js +6 -6
  21. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +6 -6
  22. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +132 -132
  23. package/kotlin/ktor-ktor-shared-ktor-serialization.js +58 -58
  24. package/kotlin/ktor-ktor-shared-ktor-websockets.js +37 -37
  25. package/kotlin/ktor-ktor-utils.js +507 -507
  26. package/kotlin/projects-core-koin-core.js +246 -246
  27. package/package.json +1 -1
@@ -42,10 +42,10 @@
42
42
  endIndex = endIndex === VOID ? source.length : endIndex;
43
43
  var tmp;
44
44
  if ($super === VOID) {
45
- this.b1c(source, startIndex, endIndex);
45
+ this.c1c(source, startIndex, endIndex);
46
46
  tmp = Unit_instance;
47
47
  } else {
48
- tmp = $super.b1c.call(this, source, startIndex, endIndex);
48
+ tmp = $super.c1c.call(this, source, startIndex, endIndex);
49
49
  }
50
50
  return tmp;
51
51
  }
@@ -97,20 +97,20 @@
97
97
  throw EOFException_init_$Create$_0("Buffer doesn't contain required number of bytes (size: " + $this.s().toString() + ', required: ' + byteCount.toString() + ')');
98
98
  }
99
99
  function Buffer() {
100
- this.p1a_1 = null;
101
100
  this.q1a_1 = null;
102
- this.r1a_1 = new Long(0, 0);
101
+ this.r1a_1 = null;
102
+ this.s1a_1 = new Long(0, 0);
103
103
  }
104
104
  protoOf(Buffer).s = function () {
105
- return this.r1a_1;
105
+ return this.s1a_1;
106
106
  };
107
- protoOf(Buffer).s1a = function () {
107
+ protoOf(Buffer).t1a = function () {
108
108
  return this;
109
109
  };
110
- protoOf(Buffer).t1a = function () {
110
+ protoOf(Buffer).u1a = function () {
111
111
  return this.s().equals(new Long(0, 0));
112
112
  };
113
- protoOf(Buffer).u1a = function (byteCount) {
113
+ protoOf(Buffer).v1a = function (byteCount) {
114
114
  // Inline function 'kotlin.require' call
115
115
  // Inline function 'kotlin.contracts.contract' call
116
116
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
@@ -122,7 +122,7 @@
122
122
  throw EOFException_init_$Create$_0("Buffer doesn't contain required number of bytes (size: " + this.s().toString() + ', required: ' + byteCount.toString() + ')');
123
123
  }
124
124
  };
125
- protoOf(Buffer).v1a = function (byteCount) {
125
+ protoOf(Buffer).w1a = function (byteCount) {
126
126
  // Inline function 'kotlin.require' call
127
127
  // Inline function 'kotlin.contracts.contract' call
128
128
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
@@ -132,8 +132,8 @@
132
132
  }
133
133
  return this.s().e1(byteCount) >= 0;
134
134
  };
135
- protoOf(Buffer).w1a = function () {
136
- var tmp0_elvis_lhs = this.p1a_1;
135
+ protoOf(Buffer).x1a = function () {
136
+ var tmp0_elvis_lhs = this.q1a_1;
137
137
  var tmp;
138
138
  if (tmp0_elvis_lhs == null) {
139
139
  throwEof(this, new Long(1, 0));
@@ -141,20 +141,20 @@
141
141
  tmp = tmp0_elvis_lhs;
142
142
  }
143
143
  var segment = tmp;
144
- var segmentSize = segment.e1b();
144
+ var segmentSize = segment.f1b();
145
145
  if (segmentSize === 0) {
146
- this.f1b();
147
- return this.w1a();
146
+ this.g1b();
147
+ return this.x1a();
148
148
  }
149
- var v = segment.g1b();
150
- this.r1a_1 = this.r1a_1.a3(new Long(1, 0));
149
+ var v = segment.h1b();
150
+ this.s1a_1 = this.s1a_1.a3(new Long(1, 0));
151
151
  if (segmentSize === 1) {
152
- this.f1b();
152
+ this.g1b();
153
153
  }
154
154
  return v;
155
155
  };
156
- protoOf(Buffer).h1b = function () {
157
- var tmp0_elvis_lhs = this.p1a_1;
156
+ protoOf(Buffer).i1b = function () {
157
+ var tmp0_elvis_lhs = this.q1a_1;
158
158
  var tmp;
159
159
  if (tmp0_elvis_lhs == null) {
160
160
  throwEof(this, new Long(2, 0));
@@ -162,80 +162,80 @@
162
162
  tmp = tmp0_elvis_lhs;
163
163
  }
164
164
  var segment = tmp;
165
- var segmentSize = segment.e1b();
165
+ var segmentSize = segment.f1b();
166
166
  if (segmentSize < 2) {
167
- this.u1a(new Long(2, 0));
167
+ this.v1a(new Long(2, 0));
168
168
  if (segmentSize === 0) {
169
- this.f1b();
170
- return this.h1b();
169
+ this.g1b();
170
+ return this.i1b();
171
171
  }
172
172
  // Inline function 'kotlinx.io.and' call
173
- var tmp_0 = (this.w1a() & 255) << 8;
173
+ var tmp_0 = (this.x1a() & 255) << 8;
174
174
  // Inline function 'kotlinx.io.and' call
175
- var tmp$ret$1 = this.w1a() & 255;
175
+ var tmp$ret$1 = this.x1a() & 255;
176
176
  return toShort(tmp_0 | tmp$ret$1);
177
177
  }
178
- var v = segment.i1b();
179
- this.r1a_1 = this.r1a_1.a3(new Long(2, 0));
178
+ var v = segment.j1b();
179
+ this.s1a_1 = this.s1a_1.a3(new Long(2, 0));
180
180
  if (segmentSize === 2) {
181
- this.f1b();
181
+ this.g1b();
182
182
  }
183
183
  return v;
184
184
  };
185
- protoOf(Buffer).j1b = function () {
185
+ protoOf(Buffer).k1b = function () {
186
186
  return Unit_instance;
187
187
  };
188
- protoOf(Buffer).k1b = function (out, startIndex, endIndex) {
188
+ protoOf(Buffer).l1b = function (out, startIndex, endIndex) {
189
189
  checkBounds(this.s(), startIndex, endIndex);
190
190
  if (startIndex.equals(endIndex))
191
191
  return Unit_instance;
192
192
  var currentOffset = startIndex;
193
193
  var remainingByteCount = endIndex.a3(startIndex);
194
- out.r1a_1 = out.r1a_1.z2(remainingByteCount);
195
- var s = this.p1a_1;
196
- while (currentOffset.e1(toLong(ensureNotNull(s).z1a_1 - s.y1a_1 | 0)) >= 0) {
197
- currentOffset = currentOffset.a3(toLong(s.z1a_1 - s.y1a_1 | 0));
198
- s = s.c1b_1;
194
+ out.s1a_1 = out.s1a_1.z2(remainingByteCount);
195
+ var s = this.q1a_1;
196
+ while (currentOffset.e1(toLong(ensureNotNull(s).a1b_1 - s.z1a_1 | 0)) >= 0) {
197
+ currentOffset = currentOffset.a3(toLong(s.a1b_1 - s.z1a_1 | 0));
198
+ s = s.d1b_1;
199
199
  }
200
200
  while (remainingByteCount.e1(new Long(0, 0)) > 0) {
201
- var copy = ensureNotNull(s).l1b();
202
- copy.y1a_1 = copy.y1a_1 + currentOffset.j1() | 0;
201
+ var copy = ensureNotNull(s).m1b();
202
+ copy.z1a_1 = copy.z1a_1 + currentOffset.j1() | 0;
203
203
  var tmp = copy;
204
204
  // Inline function 'kotlin.comparisons.minOf' call
205
- var a = copy.y1a_1 + remainingByteCount.j1() | 0;
206
- var b = copy.z1a_1;
207
- tmp.z1a_1 = Math.min(a, b);
205
+ var a = copy.z1a_1 + remainingByteCount.j1() | 0;
206
+ var b = copy.a1b_1;
207
+ tmp.a1b_1 = Math.min(a, b);
208
208
  // Inline function 'kotlinx.io.Buffer.pushSegment' call
209
- if (out.p1a_1 == null) {
210
- out.p1a_1 = copy;
209
+ if (out.q1a_1 == null) {
211
210
  out.q1a_1 = copy;
211
+ out.r1a_1 = copy;
212
212
  } else if (false) {
213
- out.q1a_1 = ensureNotNull(out.q1a_1).m1b(copy).n1b();
214
- if (ensureNotNull(out.q1a_1).d1b_1 == null) {
215
- out.p1a_1 = out.q1a_1;
213
+ out.r1a_1 = ensureNotNull(out.r1a_1).n1b(copy).o1b();
214
+ if (ensureNotNull(out.r1a_1).e1b_1 == null) {
215
+ out.q1a_1 = out.r1a_1;
216
216
  }
217
217
  } else {
218
- out.q1a_1 = ensureNotNull(out.q1a_1).m1b(copy);
218
+ out.r1a_1 = ensureNotNull(out.r1a_1).n1b(copy);
219
219
  }
220
- remainingByteCount = remainingByteCount.a3(toLong(copy.z1a_1 - copy.y1a_1 | 0));
220
+ remainingByteCount = remainingByteCount.a3(toLong(copy.a1b_1 - copy.z1a_1 | 0));
221
221
  currentOffset = new Long(0, 0);
222
- s = s.c1b_1;
222
+ s = s.d1b_1;
223
223
  }
224
224
  };
225
- protoOf(Buffer).o1b = function () {
225
+ protoOf(Buffer).p1b = function () {
226
226
  var result = this.s();
227
227
  if (result.equals(new Long(0, 0)))
228
228
  return new Long(0, 0);
229
- var tail = ensureNotNull(this.q1a_1);
230
- if (tail.z1a_1 < 8192 && tail.b1b_1) {
231
- result = result.a3(toLong(tail.z1a_1 - tail.y1a_1 | 0));
229
+ var tail = ensureNotNull(this.r1a_1);
230
+ if (tail.a1b_1 < 8192 && tail.c1b_1) {
231
+ result = result.a3(toLong(tail.a1b_1 - tail.z1a_1 | 0));
232
232
  }
233
233
  return result;
234
234
  };
235
235
  protoOf(Buffer).e2 = function () {
236
- return this.p1b(this.s());
236
+ return this.q1b(this.s());
237
237
  };
238
- protoOf(Buffer).p1b = function (byteCount) {
238
+ protoOf(Buffer).q1b = function (byteCount) {
239
239
  // Inline function 'kotlinx.io.checkByteCount' call
240
240
  // Inline function 'kotlin.require' call
241
241
  // Inline function 'kotlin.contracts.contract' call
@@ -246,7 +246,7 @@
246
246
  }
247
247
  var remainingByteCount = byteCount;
248
248
  while (remainingByteCount.e1(new Long(0, 0)) > 0) {
249
- var tmp0_elvis_lhs = this.p1a_1;
249
+ var tmp0_elvis_lhs = this.q1a_1;
250
250
  var tmp;
251
251
  if (tmp0_elvis_lhs == null) {
252
252
  throw EOFException_init_$Create$_0('Buffer exhausted before skipping ' + byteCount.toString() + ' bytes.');
@@ -256,23 +256,23 @@
256
256
  var head = tmp;
257
257
  // Inline function 'kotlinx.io.minOf' call
258
258
  var a = remainingByteCount;
259
- var b = head.z1a_1 - head.y1a_1 | 0;
259
+ var b = head.a1b_1 - head.z1a_1 | 0;
260
260
  // Inline function 'kotlin.comparisons.minOf' call
261
261
  var b_0 = toLong(b);
262
262
  var toSkip = (a.e1(b_0) <= 0 ? a : b_0).j1();
263
- this.r1a_1 = this.r1a_1.a3(toLong(toSkip));
263
+ this.s1a_1 = this.s1a_1.a3(toLong(toSkip));
264
264
  remainingByteCount = remainingByteCount.a3(toLong(toSkip));
265
- head.y1a_1 = head.y1a_1 + toSkip | 0;
266
- if (head.y1a_1 === head.z1a_1) {
267
- this.f1b();
265
+ head.z1a_1 = head.z1a_1 + toSkip | 0;
266
+ if (head.z1a_1 === head.a1b_1) {
267
+ this.g1b();
268
268
  }
269
269
  }
270
270
  };
271
- protoOf(Buffer).q1b = function (sink, startIndex, endIndex) {
271
+ protoOf(Buffer).r1b = function (sink, startIndex, endIndex) {
272
272
  // Inline function 'kotlinx.io.checkBounds' call
273
273
  var size = sink.length;
274
274
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
275
- var tmp0_elvis_lhs = this.p1a_1;
275
+ var tmp0_elvis_lhs = this.q1a_1;
276
276
  var tmp;
277
277
  if (tmp0_elvis_lhs == null) {
278
278
  return -1;
@@ -282,16 +282,16 @@
282
282
  var s = tmp;
283
283
  // Inline function 'kotlin.comparisons.minOf' call
284
284
  var a = endIndex - startIndex | 0;
285
- var b = s.e1b();
285
+ var b = s.f1b();
286
286
  var toCopy = Math.min(a, b);
287
- s.r1b(sink, startIndex, startIndex + toCopy | 0);
288
- this.r1a_1 = this.r1a_1.a3(toLong(toCopy));
287
+ s.s1b(sink, startIndex, startIndex + toCopy | 0);
288
+ this.s1a_1 = this.s1a_1.a3(toLong(toCopy));
289
289
  if (isEmpty(s)) {
290
- this.f1b();
290
+ this.g1b();
291
291
  }
292
292
  return toCopy;
293
293
  };
294
- protoOf(Buffer).s1b = function (sink, byteCount) {
294
+ protoOf(Buffer).t1b = function (sink, byteCount) {
295
295
  // Inline function 'kotlinx.io.checkByteCount' call
296
296
  // Inline function 'kotlin.require' call
297
297
  // Inline function 'kotlin.contracts.contract' call
@@ -303,10 +303,10 @@
303
303
  if (this.s().equals(new Long(0, 0)))
304
304
  return new Long(-1, -1);
305
305
  var bytesWritten = byteCount.e1(this.s()) > 0 ? this.s() : byteCount;
306
- sink.t1b(this, bytesWritten);
306
+ sink.u1b(this, bytesWritten);
307
307
  return bytesWritten;
308
308
  };
309
- protoOf(Buffer).u1b = function (sink, byteCount) {
309
+ protoOf(Buffer).v1b = function (sink, byteCount) {
310
310
  // Inline function 'kotlinx.io.checkByteCount' call
311
311
  // Inline function 'kotlin.require' call
312
312
  // Inline function 'kotlin.contracts.contract' call
@@ -316,22 +316,22 @@
316
316
  throw IllegalArgumentException_init_$Create$(toString(message));
317
317
  }
318
318
  if (this.s().e1(byteCount) < 0) {
319
- sink.t1b(this, this.s());
319
+ sink.u1b(this, this.s());
320
320
  throw EOFException_init_$Create$_0('Buffer exhausted before writing ' + byteCount.toString() + ' bytes. Only ' + this.s().toString() + ' bytes were written.');
321
321
  }
322
- sink.t1b(this, byteCount);
322
+ sink.u1b(this, byteCount);
323
323
  };
324
- protoOf(Buffer).v1b = function (sink) {
324
+ protoOf(Buffer).w1b = function (sink) {
325
325
  var byteCount = this.s();
326
326
  if (byteCount.e1(new Long(0, 0)) > 0) {
327
- sink.t1b(this, byteCount);
327
+ sink.u1b(this, byteCount);
328
328
  }
329
329
  return byteCount;
330
330
  };
331
- protoOf(Buffer).w1b = function () {
331
+ protoOf(Buffer).x1b = function () {
332
332
  return buffered(new PeekSource(this));
333
333
  };
334
- protoOf(Buffer).x1b = function (minimumCapacity) {
334
+ protoOf(Buffer).y1b = function (minimumCapacity) {
335
335
  // Inline function 'kotlin.require' call
336
336
  // Inline function 'kotlin.contracts.contract' call
337
337
  if (!(minimumCapacity >= 1 && minimumCapacity <= 8192)) {
@@ -339,41 +339,41 @@
339
339
  var message = 'unexpected capacity';
340
340
  throw IllegalArgumentException_init_$Create$(toString(message));
341
341
  }
342
- if (this.q1a_1 == null) {
343
- var result = SegmentPool_instance.a1c();
344
- this.p1a_1 = result;
342
+ if (this.r1a_1 == null) {
343
+ var result = SegmentPool_instance.b1c();
345
344
  this.q1a_1 = result;
345
+ this.r1a_1 = result;
346
346
  return result;
347
347
  }
348
- var t = ensureNotNull(this.q1a_1);
349
- if ((t.z1a_1 + minimumCapacity | 0) > 8192 || !t.b1b_1) {
350
- var newTail = t.m1b(SegmentPool_instance.a1c());
351
- this.q1a_1 = newTail;
348
+ var t = ensureNotNull(this.r1a_1);
349
+ if ((t.a1b_1 + minimumCapacity | 0) > 8192 || !t.c1b_1) {
350
+ var newTail = t.n1b(SegmentPool_instance.b1c());
351
+ this.r1a_1 = newTail;
352
352
  return newTail;
353
353
  }
354
354
  return t;
355
355
  };
356
- protoOf(Buffer).b1c = function (source, startIndex, endIndex) {
356
+ protoOf(Buffer).c1c = function (source, startIndex, endIndex) {
357
357
  // Inline function 'kotlinx.io.checkBounds' call
358
358
  var size = source.length;
359
359
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
360
360
  var currentOffset = startIndex;
361
361
  while (currentOffset < endIndex) {
362
- var tail = this.x1b(1);
362
+ var tail = this.y1b(1);
363
363
  // Inline function 'kotlin.comparisons.minOf' call
364
364
  var a = endIndex - currentOffset | 0;
365
- var b = tail.c1c();
365
+ var b = tail.d1c();
366
366
  var toCopy = Math.min(a, b);
367
- tail.d1c(source, currentOffset, currentOffset + toCopy | 0);
367
+ tail.e1c(source, currentOffset, currentOffset + toCopy | 0);
368
368
  currentOffset = currentOffset + toCopy | 0;
369
369
  }
370
370
  var tmp = this;
371
371
  // Inline function 'kotlin.Long.plus' call
372
- var this_0 = this.r1a_1;
372
+ var this_0 = this.s1a_1;
373
373
  var other = endIndex - startIndex | 0;
374
- tmp.r1a_1 = this_0.z2(toLong(other));
374
+ tmp.s1a_1 = this_0.z2(toLong(other));
375
375
  };
376
- protoOf(Buffer).t1b = function (source, byteCount) {
376
+ protoOf(Buffer).u1b = function (source, byteCount) {
377
377
  // Inline function 'kotlin.require' call
378
378
  // Inline function 'kotlin.contracts.contract' call
379
379
  if (!!(source === this)) {
@@ -381,74 +381,74 @@
381
381
  var message = 'source == this';
382
382
  throw IllegalArgumentException_init_$Create$(toString(message));
383
383
  }
384
- checkOffsetAndCount(source.r1a_1, new Long(0, 0), byteCount);
384
+ checkOffsetAndCount(source.s1a_1, new Long(0, 0), byteCount);
385
385
  var remainingByteCount = byteCount;
386
386
  while (remainingByteCount.e1(new Long(0, 0)) > 0) {
387
- if (remainingByteCount.e1(toLong(ensureNotNull(source.p1a_1).e1b())) < 0) {
388
- var tail = this.q1a_1;
387
+ if (remainingByteCount.e1(toLong(ensureNotNull(source.q1a_1).f1b())) < 0) {
388
+ var tail = this.r1a_1;
389
389
  var tmp;
390
- if (!(tail == null) && tail.b1b_1) {
390
+ if (!(tail == null) && tail.c1b_1) {
391
391
  // Inline function 'kotlin.Long.minus' call
392
392
  // Inline function 'kotlin.Long.plus' call
393
393
  var this_0 = remainingByteCount;
394
- var other = tail.z1a_1;
394
+ var other = tail.a1b_1;
395
395
  var this_1 = this_0.z2(toLong(other));
396
- var other_0 = tail.f1c() ? 0 : tail.y1a_1;
396
+ var other_0 = tail.g1c() ? 0 : tail.z1a_1;
397
397
  tmp = this_1.a3(toLong(other_0)).e1(new Long(8192, 0)) <= 0;
398
398
  } else {
399
399
  tmp = false;
400
400
  }
401
401
  if (tmp) {
402
- ensureNotNull(source.p1a_1).h1c(tail, remainingByteCount.j1());
403
- source.r1a_1 = source.r1a_1.a3(remainingByteCount);
404
- this.r1a_1 = this.r1a_1.z2(remainingByteCount);
402
+ ensureNotNull(source.q1a_1).i1c(tail, remainingByteCount.j1());
403
+ source.s1a_1 = source.s1a_1.a3(remainingByteCount);
404
+ this.s1a_1 = this.s1a_1.z2(remainingByteCount);
405
405
  return Unit_instance;
406
406
  } else {
407
- source.p1a_1 = ensureNotNull(source.p1a_1).g1c(remainingByteCount.j1());
407
+ source.q1a_1 = ensureNotNull(source.q1a_1).h1c(remainingByteCount.j1());
408
408
  }
409
409
  }
410
- var segmentToMove = ensureNotNull(source.p1a_1);
411
- var movedByteCount = toLong(segmentToMove.e1b());
412
- source.p1a_1 = segmentToMove.i1c();
413
- if (source.p1a_1 == null) {
414
- source.q1a_1 = null;
410
+ var segmentToMove = ensureNotNull(source.q1a_1);
411
+ var movedByteCount = toLong(segmentToMove.f1b());
412
+ source.q1a_1 = segmentToMove.j1c();
413
+ if (source.q1a_1 == null) {
414
+ source.r1a_1 = null;
415
415
  }
416
416
  // Inline function 'kotlinx.io.Buffer.pushSegment' call
417
- if (this.p1a_1 == null) {
418
- this.p1a_1 = segmentToMove;
417
+ if (this.q1a_1 == null) {
419
418
  this.q1a_1 = segmentToMove;
419
+ this.r1a_1 = segmentToMove;
420
420
  } else if (true) {
421
- this.q1a_1 = ensureNotNull(this.q1a_1).m1b(segmentToMove).n1b();
422
- if (ensureNotNull(this.q1a_1).d1b_1 == null) {
423
- this.p1a_1 = this.q1a_1;
421
+ this.r1a_1 = ensureNotNull(this.r1a_1).n1b(segmentToMove).o1b();
422
+ if (ensureNotNull(this.r1a_1).e1b_1 == null) {
423
+ this.q1a_1 = this.r1a_1;
424
424
  }
425
425
  } else {
426
- this.q1a_1 = ensureNotNull(this.q1a_1).m1b(segmentToMove);
426
+ this.r1a_1 = ensureNotNull(this.r1a_1).n1b(segmentToMove);
427
427
  }
428
- source.r1a_1 = source.r1a_1.a3(movedByteCount);
429
- this.r1a_1 = this.r1a_1.z2(movedByteCount);
428
+ source.s1a_1 = source.s1a_1.a3(movedByteCount);
429
+ this.s1a_1 = this.s1a_1.z2(movedByteCount);
430
430
  remainingByteCount = remainingByteCount.a3(movedByteCount);
431
431
  }
432
432
  };
433
- protoOf(Buffer).j1c = function (source) {
433
+ protoOf(Buffer).k1c = function (source) {
434
434
  var totalBytesRead = new Long(0, 0);
435
435
  $l$loop: while (true) {
436
- var readCount = source.s1b(this, new Long(8192, 0));
436
+ var readCount = source.t1b(this, new Long(8192, 0));
437
437
  if (readCount.equals(new Long(-1, -1)))
438
438
  break $l$loop;
439
439
  totalBytesRead = totalBytesRead.z2(readCount);
440
440
  }
441
441
  return totalBytesRead;
442
442
  };
443
- protoOf(Buffer).k1c = function (byte) {
444
- this.x1b(1).l1c(byte);
445
- this.r1a_1 = this.r1a_1.z2(new Long(1, 0));
443
+ protoOf(Buffer).l1c = function (byte) {
444
+ this.y1b(1).m1c(byte);
445
+ this.s1a_1 = this.s1a_1.z2(new Long(1, 0));
446
446
  };
447
- protoOf(Buffer).m1c = function (short) {
448
- this.x1b(2).n1c(short);
449
- this.r1a_1 = this.r1a_1.z2(new Long(2, 0));
447
+ protoOf(Buffer).n1c = function (short) {
448
+ this.y1b(2).o1c(short);
449
+ this.s1a_1 = this.s1a_1.z2(new Long(2, 0));
450
450
  };
451
- protoOf(Buffer).o1c = function () {
451
+ protoOf(Buffer).p1c = function () {
452
452
  return Unit_instance;
453
453
  };
454
454
  protoOf(Buffer).toString = function () {
@@ -463,16 +463,16 @@
463
463
  var builder = StringBuilder_init_$Create$(imul(len, 2) + (this.s().e1(toLong(maxPrintableBytes)) > 0 ? 1 : 0) | 0);
464
464
  var bytesWritten = 0;
465
465
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
466
- var curr = this.p1a_1;
466
+ var curr = this.q1a_1;
467
467
  while (!(curr == null)) {
468
468
  // Inline function 'kotlinx.io.Buffer.toString.<anonymous>' call
469
469
  var ctx = get_SegmentReadContextImpl();
470
470
  var segment = curr;
471
471
  var idx = 0;
472
- while (bytesWritten < len && idx < segment.e1b()) {
472
+ while (bytesWritten < len && idx < segment.f1b()) {
473
473
  var _unary__edvuaz = idx;
474
474
  idx = _unary__edvuaz + 1 | 0;
475
- var b_0 = ctx.p1c(segment, _unary__edvuaz);
475
+ var b_0 = ctx.q1c(segment, _unary__edvuaz);
476
476
  bytesWritten = bytesWritten + 1 | 0;
477
477
  var tmp = get_HEX_DIGIT_CHARS();
478
478
  // Inline function 'kotlinx.io.shr' call
@@ -483,55 +483,55 @@
483
483
  var tmp$ret$3 = b_0 & 15;
484
484
  tmp_0.n8(tmp_1[tmp$ret$3]);
485
485
  }
486
- curr = curr.c1b_1;
486
+ curr = curr.d1b_1;
487
487
  }
488
488
  if (this.s().e1(toLong(maxPrintableBytes)) > 0) {
489
489
  builder.n8(_Char___init__impl__6a9atx(8230));
490
490
  }
491
491
  return 'Buffer(size=' + this.s().toString() + ' hex=' + builder.toString() + ')';
492
492
  };
493
- protoOf(Buffer).f1b = function () {
494
- var oldHead = ensureNotNull(this.p1a_1);
495
- var nextHead = oldHead.c1b_1;
496
- this.p1a_1 = nextHead;
493
+ protoOf(Buffer).g1b = function () {
494
+ var oldHead = ensureNotNull(this.q1a_1);
495
+ var nextHead = oldHead.d1b_1;
496
+ this.q1a_1 = nextHead;
497
497
  if (nextHead == null) {
498
- this.q1a_1 = null;
498
+ this.r1a_1 = null;
499
499
  } else {
500
- nextHead.d1b_1 = null;
500
+ nextHead.e1b_1 = null;
501
501
  }
502
- oldHead.c1b_1 = null;
503
- SegmentPool_instance.q1c(oldHead);
502
+ oldHead.d1b_1 = null;
503
+ SegmentPool_instance.r1c(oldHead);
504
504
  };
505
- protoOf(Buffer).r1c = function () {
506
- var oldTail = ensureNotNull(this.q1a_1);
507
- var newTail = oldTail.d1b_1;
508
- this.q1a_1 = newTail;
505
+ protoOf(Buffer).s1c = function () {
506
+ var oldTail = ensureNotNull(this.r1a_1);
507
+ var newTail = oldTail.e1b_1;
508
+ this.r1a_1 = newTail;
509
509
  if (newTail == null) {
510
- this.p1a_1 = null;
510
+ this.q1a_1 = null;
511
511
  } else {
512
- newTail.c1b_1 = null;
512
+ newTail.d1b_1 = null;
513
513
  }
514
- oldTail.d1b_1 = null;
515
- SegmentPool_instance.q1c(oldTail);
514
+ oldTail.e1b_1 = null;
515
+ SegmentPool_instance.r1c(oldTail);
516
516
  };
517
517
  function buffered(_this__u8e3s4) {
518
518
  return new RealSource(_this__u8e3s4);
519
519
  }
520
520
  function PeekSource(upstream) {
521
- this.s1c_1 = upstream;
522
- this.t1c_1 = this.s1c_1.s1a();
523
- this.u1c_1 = this.t1c_1.p1a_1;
521
+ this.t1c_1 = upstream;
522
+ this.u1c_1 = this.t1c_1.t1a();
523
+ this.v1c_1 = this.u1c_1.q1a_1;
524
524
  var tmp = this;
525
- var tmp0_safe_receiver = this.t1c_1.p1a_1;
526
- var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y1a_1;
527
- tmp.v1c_1 = tmp0_elvis_lhs == null ? -1 : tmp0_elvis_lhs;
528
- this.w1c_1 = false;
529
- this.x1c_1 = new Long(0, 0);
525
+ var tmp0_safe_receiver = this.u1c_1.q1a_1;
526
+ var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z1a_1;
527
+ tmp.w1c_1 = tmp0_elvis_lhs == null ? -1 : tmp0_elvis_lhs;
528
+ this.x1c_1 = false;
529
+ this.y1c_1 = new Long(0, 0);
530
530
  }
531
- protoOf(PeekSource).s1b = function (sink, byteCount) {
531
+ protoOf(PeekSource).t1b = function (sink, byteCount) {
532
532
  // Inline function 'kotlin.check' call
533
533
  // Inline function 'kotlin.contracts.contract' call
534
- if (!!this.w1c_1) {
534
+ if (!!this.x1c_1) {
535
535
  // Inline function 'kotlinx.io.PeekSource.readAtMostTo.<anonymous>' call
536
536
  var message = 'Source is closed.';
537
537
  throw IllegalStateException_init_$Create$(toString(message));
@@ -546,7 +546,7 @@
546
546
  }
547
547
  // Inline function 'kotlin.check' call
548
548
  // Inline function 'kotlin.contracts.contract' call
549
- if (!(this.u1c_1 == null || (this.u1c_1 === this.t1c_1.p1a_1 && this.v1c_1 === ensureNotNull(this.t1c_1.p1a_1).y1a_1))) {
549
+ if (!(this.v1c_1 == null || (this.v1c_1 === this.u1c_1.q1a_1 && this.w1c_1 === ensureNotNull(this.u1c_1.q1a_1).z1a_1))) {
550
550
  // Inline function 'kotlinx.io.PeekSource.readAtMostTo.<anonymous>' call
551
551
  var message_1 = 'Peek source is invalid because upstream source was used';
552
552
  throw IllegalStateException_init_$Create$(toString(message_1));
@@ -554,36 +554,36 @@
554
554
  if (byteCount.equals(new Long(0, 0)))
555
555
  return new Long(0, 0);
556
556
  // Inline function 'kotlin.Long.plus' call
557
- var tmp$ret$3 = this.x1c_1.z2(toLong(1));
558
- if (!this.s1c_1.v1a(tmp$ret$3))
557
+ var tmp$ret$3 = this.y1c_1.z2(toLong(1));
558
+ if (!this.t1c_1.w1a(tmp$ret$3))
559
559
  return new Long(-1, -1);
560
- if (this.u1c_1 == null && !(this.t1c_1.p1a_1 == null)) {
561
- this.u1c_1 = this.t1c_1.p1a_1;
562
- this.v1c_1 = ensureNotNull(this.t1c_1.p1a_1).y1a_1;
560
+ if (this.v1c_1 == null && !(this.u1c_1.q1a_1 == null)) {
561
+ this.v1c_1 = this.u1c_1.q1a_1;
562
+ this.w1c_1 = ensureNotNull(this.u1c_1.q1a_1).z1a_1;
563
563
  }
564
564
  // Inline function 'kotlin.comparisons.minOf' call
565
- var b = this.t1c_1.s().a3(this.x1c_1);
565
+ var b = this.u1c_1.s().a3(this.y1c_1);
566
566
  var toCopy = byteCount.e1(b) <= 0 ? byteCount : b;
567
- this.t1c_1.k1b(sink, this.x1c_1, this.x1c_1.z2(toCopy));
568
- this.x1c_1 = this.x1c_1.z2(toCopy);
567
+ this.u1c_1.l1b(sink, this.y1c_1, this.y1c_1.z2(toCopy));
568
+ this.y1c_1 = this.y1c_1.z2(toCopy);
569
569
  return toCopy;
570
570
  };
571
- protoOf(PeekSource).o1c = function () {
572
- this.w1c_1 = true;
571
+ protoOf(PeekSource).p1c = function () {
572
+ this.x1c_1 = true;
573
573
  };
574
574
  function RealSource(source) {
575
- this.y1c_1 = source;
576
- this.z1c_1 = false;
577
- this.a1d_1 = new Buffer();
575
+ this.z1c_1 = source;
576
+ this.a1d_1 = false;
577
+ this.b1d_1 = new Buffer();
578
578
  }
579
- protoOf(RealSource).s1a = function () {
580
- return this.a1d_1;
579
+ protoOf(RealSource).t1a = function () {
580
+ return this.b1d_1;
581
581
  };
582
- protoOf(RealSource).s1b = function (sink, byteCount) {
582
+ protoOf(RealSource).t1b = function (sink, byteCount) {
583
583
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
584
584
  // Inline function 'kotlin.check' call
585
585
  // Inline function 'kotlin.contracts.contract' call
586
- if (!!this.z1c_1) {
586
+ if (!!this.a1d_1) {
587
587
  // Inline function 'kotlinx.io.RealSource.checkNotClosed.<anonymous>' call
588
588
  var message = 'Source is closed.';
589
589
  throw IllegalStateException_init_$Create$(toString(message));
@@ -595,36 +595,36 @@
595
595
  var message_0 = 'byteCount: ' + byteCount.toString();
596
596
  throw IllegalArgumentException_init_$Create$(toString(message_0));
597
597
  }
598
- if (this.a1d_1.s().equals(new Long(0, 0))) {
599
- var read = this.y1c_1.s1b(this.a1d_1, new Long(8192, 0));
598
+ if (this.b1d_1.s().equals(new Long(0, 0))) {
599
+ var read = this.z1c_1.t1b(this.b1d_1, new Long(8192, 0));
600
600
  if (read.equals(new Long(-1, -1)))
601
601
  return new Long(-1, -1);
602
602
  }
603
603
  // Inline function 'kotlin.comparisons.minOf' call
604
- var b = this.a1d_1.s();
604
+ var b = this.b1d_1.s();
605
605
  var toRead = byteCount.e1(b) <= 0 ? byteCount : b;
606
- return this.a1d_1.s1b(sink, toRead);
606
+ return this.b1d_1.t1b(sink, toRead);
607
607
  };
608
- protoOf(RealSource).t1a = function () {
608
+ protoOf(RealSource).u1a = function () {
609
609
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
610
610
  // Inline function 'kotlin.check' call
611
611
  // Inline function 'kotlin.contracts.contract' call
612
- if (!!this.z1c_1) {
612
+ if (!!this.a1d_1) {
613
613
  // Inline function 'kotlinx.io.RealSource.checkNotClosed.<anonymous>' call
614
614
  var message = 'Source is closed.';
615
615
  throw IllegalStateException_init_$Create$(toString(message));
616
616
  }
617
- return this.a1d_1.t1a() && this.y1c_1.s1b(this.a1d_1, new Long(8192, 0)).equals(new Long(-1, -1));
617
+ return this.b1d_1.u1a() && this.z1c_1.t1b(this.b1d_1, new Long(8192, 0)).equals(new Long(-1, -1));
618
618
  };
619
- protoOf(RealSource).u1a = function (byteCount) {
620
- if (!this.v1a(byteCount))
619
+ protoOf(RealSource).v1a = function (byteCount) {
620
+ if (!this.w1a(byteCount))
621
621
  throw EOFException_init_$Create$_0("Source doesn't contain required number of bytes (" + byteCount.toString() + ').');
622
622
  };
623
- protoOf(RealSource).v1a = function (byteCount) {
623
+ protoOf(RealSource).w1a = function (byteCount) {
624
624
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
625
625
  // Inline function 'kotlin.check' call
626
626
  // Inline function 'kotlin.contracts.contract' call
627
- if (!!this.z1c_1) {
627
+ if (!!this.a1d_1) {
628
628
  // Inline function 'kotlinx.io.RealSource.checkNotClosed.<anonymous>' call
629
629
  var message = 'Source is closed.';
630
630
  throw IllegalStateException_init_$Create$(toString(message));
@@ -636,88 +636,88 @@
636
636
  var message_0 = 'byteCount: ' + byteCount.toString();
637
637
  throw IllegalArgumentException_init_$Create$(toString(message_0));
638
638
  }
639
- while (this.a1d_1.s().e1(byteCount) < 0) {
640
- if (this.y1c_1.s1b(this.a1d_1, new Long(8192, 0)).equals(new Long(-1, -1)))
639
+ while (this.b1d_1.s().e1(byteCount) < 0) {
640
+ if (this.z1c_1.t1b(this.b1d_1, new Long(8192, 0)).equals(new Long(-1, -1)))
641
641
  return false;
642
642
  }
643
643
  return true;
644
644
  };
645
- protoOf(RealSource).q1b = function (sink, startIndex, endIndex) {
645
+ protoOf(RealSource).r1b = function (sink, startIndex, endIndex) {
646
646
  // Inline function 'kotlinx.io.checkBounds' call
647
647
  var size = sink.length;
648
648
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
649
- if (this.a1d_1.s().equals(new Long(0, 0))) {
650
- var read = this.y1c_1.s1b(this.a1d_1, new Long(8192, 0));
649
+ if (this.b1d_1.s().equals(new Long(0, 0))) {
650
+ var read = this.z1c_1.t1b(this.b1d_1, new Long(8192, 0));
651
651
  if (read.equals(new Long(-1, -1)))
652
652
  return -1;
653
653
  }
654
654
  // Inline function 'kotlinx.io.minOf' call
655
655
  var a = endIndex - startIndex | 0;
656
- var b = this.a1d_1.s();
656
+ var b = this.b1d_1.s();
657
657
  // Inline function 'kotlin.comparisons.minOf' call
658
658
  var a_0 = toLong(a);
659
659
  var toRead = (a_0.e1(b) <= 0 ? a_0 : b).j1();
660
- return this.a1d_1.q1b(sink, startIndex, startIndex + toRead | 0);
660
+ return this.b1d_1.r1b(sink, startIndex, startIndex + toRead | 0);
661
661
  };
662
- protoOf(RealSource).u1b = function (sink, byteCount) {
662
+ protoOf(RealSource).v1b = function (sink, byteCount) {
663
663
  try {
664
- this.u1a(byteCount);
664
+ this.v1a(byteCount);
665
665
  } catch ($p) {
666
666
  if ($p instanceof EOFException) {
667
667
  var e = $p;
668
- sink.t1b(this.a1d_1, this.a1d_1.s());
668
+ sink.u1b(this.b1d_1, this.b1d_1.s());
669
669
  throw e;
670
670
  } else {
671
671
  throw $p;
672
672
  }
673
673
  }
674
- this.a1d_1.u1b(sink, byteCount);
674
+ this.b1d_1.v1b(sink, byteCount);
675
675
  };
676
- protoOf(RealSource).v1b = function (sink) {
676
+ protoOf(RealSource).w1b = function (sink) {
677
677
  var totalBytesWritten = new Long(0, 0);
678
- while (!this.y1c_1.s1b(this.a1d_1, new Long(8192, 0)).equals(new Long(-1, -1))) {
679
- var emitByteCount = this.a1d_1.o1b();
678
+ while (!this.z1c_1.t1b(this.b1d_1, new Long(8192, 0)).equals(new Long(-1, -1))) {
679
+ var emitByteCount = this.b1d_1.p1b();
680
680
  if (emitByteCount.e1(new Long(0, 0)) > 0) {
681
681
  totalBytesWritten = totalBytesWritten.z2(emitByteCount);
682
- sink.t1b(this.a1d_1, emitByteCount);
682
+ sink.u1b(this.b1d_1, emitByteCount);
683
683
  }
684
684
  }
685
- if (this.a1d_1.s().e1(new Long(0, 0)) > 0) {
686
- totalBytesWritten = totalBytesWritten.z2(this.a1d_1.s());
687
- sink.t1b(this.a1d_1, this.a1d_1.s());
685
+ if (this.b1d_1.s().e1(new Long(0, 0)) > 0) {
686
+ totalBytesWritten = totalBytesWritten.z2(this.b1d_1.s());
687
+ sink.u1b(this.b1d_1, this.b1d_1.s());
688
688
  }
689
689
  return totalBytesWritten;
690
690
  };
691
- protoOf(RealSource).h1b = function () {
692
- this.u1a(new Long(2, 0));
693
- return this.a1d_1.h1b();
691
+ protoOf(RealSource).i1b = function () {
692
+ this.v1a(new Long(2, 0));
693
+ return this.b1d_1.i1b();
694
694
  };
695
- protoOf(RealSource).w1b = function () {
695
+ protoOf(RealSource).x1b = function () {
696
696
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
697
697
  // Inline function 'kotlin.check' call
698
698
  // Inline function 'kotlin.contracts.contract' call
699
- if (!!this.z1c_1) {
699
+ if (!!this.a1d_1) {
700
700
  // Inline function 'kotlinx.io.RealSource.checkNotClosed.<anonymous>' call
701
701
  var message = 'Source is closed.';
702
702
  throw IllegalStateException_init_$Create$(toString(message));
703
703
  }
704
704
  return buffered(new PeekSource(this));
705
705
  };
706
- protoOf(RealSource).o1c = function () {
707
- if (this.z1c_1)
706
+ protoOf(RealSource).p1c = function () {
707
+ if (this.a1d_1)
708
708
  return Unit_instance;
709
- this.z1c_1 = true;
710
- this.y1c_1.o1c();
711
- this.a1d_1.e2();
709
+ this.a1d_1 = true;
710
+ this.z1c_1.p1c();
711
+ this.b1d_1.e2();
712
712
  };
713
713
  protoOf(RealSource).toString = function () {
714
- return 'buffered(' + toString(this.y1c_1) + ')';
714
+ return 'buffered(' + toString(this.z1c_1) + ')';
715
715
  };
716
716
  function Segment_init_$Init$($this) {
717
717
  Segment.call($this);
718
- $this.x1a_1 = new Int8Array(8192);
719
- $this.b1b_1 = true;
720
- $this.a1b_1 = null;
718
+ $this.y1a_1 = new Int8Array(8192);
719
+ $this.c1b_1 = true;
720
+ $this.b1b_1 = null;
721
721
  return $this;
722
722
  }
723
723
  function Segment_init_$Create$() {
@@ -725,93 +725,93 @@
725
725
  }
726
726
  function Segment_init_$Init$_0(data, pos, limit, shareToken, owner, $this) {
727
727
  Segment.call($this);
728
- $this.x1a_1 = data;
729
- $this.y1a_1 = pos;
730
- $this.z1a_1 = limit;
731
- $this.a1b_1 = shareToken;
732
- $this.b1b_1 = owner;
728
+ $this.y1a_1 = data;
729
+ $this.z1a_1 = pos;
730
+ $this.a1b_1 = limit;
731
+ $this.b1b_1 = shareToken;
732
+ $this.c1b_1 = owner;
733
733
  return $this;
734
734
  }
735
735
  function Segment_init_$Create$_0(data, pos, limit, shareToken, owner) {
736
736
  return Segment_init_$Init$_0(data, pos, limit, shareToken, owner, objectCreate(protoOf(Segment)));
737
737
  }
738
738
  function Companion() {
739
- this.b1d_1 = 8192;
740
- this.c1d_1 = 1024;
739
+ this.c1d_1 = 8192;
740
+ this.d1d_1 = 1024;
741
741
  }
742
- protoOf(Companion).d1d = function () {
742
+ protoOf(Companion).e1d = function () {
743
743
  return Segment_init_$Create$();
744
744
  };
745
745
  var Companion_instance;
746
746
  function Companion_getInstance() {
747
747
  return Companion_instance;
748
748
  }
749
- protoOf(Segment).f1c = function () {
750
- var tmp1_safe_receiver = this.a1b_1;
751
- var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.e1d();
749
+ protoOf(Segment).g1c = function () {
750
+ var tmp1_safe_receiver = this.b1b_1;
751
+ var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f1d();
752
752
  return tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
753
753
  };
754
- protoOf(Segment).l1b = function () {
755
- var tmp0_elvis_lhs = this.a1b_1;
754
+ protoOf(Segment).m1b = function () {
755
+ var tmp0_elvis_lhs = this.b1b_1;
756
756
  var tmp;
757
757
  if (tmp0_elvis_lhs == null) {
758
758
  // Inline function 'kotlin.also' call
759
- var this_0 = SegmentPool_instance.f1d();
759
+ var this_0 = SegmentPool_instance.g1d();
760
760
  // Inline function 'kotlin.contracts.contract' call
761
761
  // Inline function 'kotlinx.io.Segment.sharedCopy.<anonymous>' call
762
- this.a1b_1 = this_0;
762
+ this.b1b_1 = this_0;
763
763
  tmp = this_0;
764
764
  } else {
765
765
  tmp = tmp0_elvis_lhs;
766
766
  }
767
767
  var t = tmp;
768
- var tmp_0 = this.y1a_1;
769
- var tmp_1 = this.z1a_1;
768
+ var tmp_0 = this.z1a_1;
769
+ var tmp_1 = this.a1b_1;
770
770
  // Inline function 'kotlin.also' call
771
771
  // Inline function 'kotlin.contracts.contract' call
772
772
  // Inline function 'kotlinx.io.Segment.sharedCopy.<anonymous>' call
773
- t.g1d();
774
- return Segment_init_$Create$_0(this.x1a_1, tmp_0, tmp_1, t, false);
773
+ t.h1d();
774
+ return Segment_init_$Create$_0(this.y1a_1, tmp_0, tmp_1, t, false);
775
775
  };
776
- protoOf(Segment).i1c = function () {
777
- var result = this.c1b_1;
778
- if (!(this.d1b_1 == null)) {
779
- ensureNotNull(this.d1b_1).c1b_1 = this.c1b_1;
776
+ protoOf(Segment).j1c = function () {
777
+ var result = this.d1b_1;
778
+ if (!(this.e1b_1 == null)) {
779
+ ensureNotNull(this.e1b_1).d1b_1 = this.d1b_1;
780
780
  }
781
- if (!(this.c1b_1 == null)) {
782
- ensureNotNull(this.c1b_1).d1b_1 = this.d1b_1;
781
+ if (!(this.d1b_1 == null)) {
782
+ ensureNotNull(this.d1b_1).e1b_1 = this.e1b_1;
783
783
  }
784
- this.c1b_1 = null;
785
784
  this.d1b_1 = null;
785
+ this.e1b_1 = null;
786
786
  return result;
787
787
  };
788
- protoOf(Segment).m1b = function (segment) {
789
- segment.d1b_1 = this;
790
- segment.c1b_1 = this.c1b_1;
791
- if (!(this.c1b_1 == null)) {
792
- ensureNotNull(this.c1b_1).d1b_1 = segment;
788
+ protoOf(Segment).n1b = function (segment) {
789
+ segment.e1b_1 = this;
790
+ segment.d1b_1 = this.d1b_1;
791
+ if (!(this.d1b_1 == null)) {
792
+ ensureNotNull(this.d1b_1).e1b_1 = segment;
793
793
  }
794
- this.c1b_1 = segment;
794
+ this.d1b_1 = segment;
795
795
  return segment;
796
796
  };
797
- protoOf(Segment).g1c = function (byteCount) {
797
+ protoOf(Segment).h1c = function (byteCount) {
798
798
  // Inline function 'kotlin.require' call
799
799
  // Inline function 'kotlin.contracts.contract' call
800
- if (!(byteCount > 0 && byteCount <= (this.z1a_1 - this.y1a_1 | 0))) {
800
+ if (!(byteCount > 0 && byteCount <= (this.a1b_1 - this.z1a_1 | 0))) {
801
801
  // Inline function 'kotlinx.io.Segment.split.<anonymous>' call
802
802
  var message = 'byteCount out of range';
803
803
  throw IllegalArgumentException_init_$Create$(toString(message));
804
804
  }
805
805
  var prefix;
806
806
  if (byteCount >= 1024) {
807
- prefix = this.l1b();
807
+ prefix = this.m1b();
808
808
  } else {
809
- prefix = SegmentPool_instance.a1c();
809
+ prefix = SegmentPool_instance.b1c();
810
810
  // Inline function 'kotlin.collections.copyInto' call
811
- var this_0 = this.x1a_1;
812
- var destination = prefix.x1a_1;
813
- var startIndex = this.y1a_1;
814
- var endIndex = this.y1a_1 + byteCount | 0;
811
+ var this_0 = this.y1a_1;
812
+ var destination = prefix.y1a_1;
813
+ var startIndex = this.z1a_1;
814
+ var endIndex = this.z1a_1 + byteCount | 0;
815
815
  // Inline function 'kotlin.js.unsafeCast' call
816
816
  // Inline function 'kotlin.js.asDynamic' call
817
817
  var tmp = this_0;
@@ -819,33 +819,33 @@
819
819
  // Inline function 'kotlin.js.asDynamic' call
820
820
  arrayCopy(tmp, destination, 0, startIndex, endIndex);
821
821
  }
822
- prefix.z1a_1 = prefix.y1a_1 + byteCount | 0;
823
- this.y1a_1 = this.y1a_1 + byteCount | 0;
824
- if (!(this.d1b_1 == null)) {
825
- ensureNotNull(this.d1b_1).m1b(prefix);
822
+ prefix.a1b_1 = prefix.z1a_1 + byteCount | 0;
823
+ this.z1a_1 = this.z1a_1 + byteCount | 0;
824
+ if (!(this.e1b_1 == null)) {
825
+ ensureNotNull(this.e1b_1).n1b(prefix);
826
826
  } else {
827
- prefix.c1b_1 = this;
828
- this.d1b_1 = prefix;
827
+ prefix.d1b_1 = this;
828
+ this.e1b_1 = prefix;
829
829
  }
830
830
  return prefix;
831
831
  };
832
- protoOf(Segment).n1b = function () {
832
+ protoOf(Segment).o1b = function () {
833
833
  // Inline function 'kotlin.check' call
834
834
  // Inline function 'kotlin.contracts.contract' call
835
- if (!!(this.d1b_1 == null)) {
835
+ if (!!(this.e1b_1 == null)) {
836
836
  // Inline function 'kotlinx.io.Segment.compact.<anonymous>' call
837
837
  var message = 'cannot compact';
838
838
  throw IllegalStateException_init_$Create$(toString(message));
839
839
  }
840
- if (!ensureNotNull(this.d1b_1).b1b_1)
840
+ if (!ensureNotNull(this.e1b_1).c1b_1)
841
841
  return this;
842
- var byteCount = this.z1a_1 - this.y1a_1 | 0;
843
- var availableByteCount = (8192 - ensureNotNull(this.d1b_1).z1a_1 | 0) + (ensureNotNull(this.d1b_1).f1c() ? 0 : ensureNotNull(this.d1b_1).y1a_1) | 0;
842
+ var byteCount = this.a1b_1 - this.z1a_1 | 0;
843
+ var availableByteCount = (8192 - ensureNotNull(this.e1b_1).a1b_1 | 0) + (ensureNotNull(this.e1b_1).g1c() ? 0 : ensureNotNull(this.e1b_1).z1a_1) | 0;
844
844
  if (byteCount > availableByteCount)
845
845
  return this;
846
- var predecessor = this.d1b_1;
847
- this.h1c(ensureNotNull(predecessor), byteCount);
848
- var successor = this.i1c();
846
+ var predecessor = this.e1b_1;
847
+ this.i1c(ensureNotNull(predecessor), byteCount);
848
+ var successor = this.j1c();
849
849
  // Inline function 'kotlin.check' call
850
850
  // Inline function 'kotlin.contracts.contract' call
851
851
  // Inline function 'kotlin.check' call
@@ -855,33 +855,33 @@
855
855
  var message_0 = 'Check failed.';
856
856
  throw IllegalStateException_init_$Create$(toString(message_0));
857
857
  }
858
- SegmentPool_instance.q1c(this);
858
+ SegmentPool_instance.r1c(this);
859
859
  return predecessor;
860
860
  };
861
- protoOf(Segment).l1c = function (byte) {
862
- var _unary__edvuaz = this.z1a_1;
863
- this.z1a_1 = _unary__edvuaz + 1 | 0;
864
- this.x1a_1[_unary__edvuaz] = byte;
861
+ protoOf(Segment).m1c = function (byte) {
862
+ var _unary__edvuaz = this.a1b_1;
863
+ this.a1b_1 = _unary__edvuaz + 1 | 0;
864
+ this.y1a_1[_unary__edvuaz] = byte;
865
865
  };
866
- protoOf(Segment).n1c = function (short) {
867
- var data = this.x1a_1;
868
- var limit = this.z1a_1;
866
+ protoOf(Segment).o1c = function (short) {
867
+ var data = this.y1a_1;
868
+ var limit = this.a1b_1;
869
869
  var _unary__edvuaz = limit;
870
870
  limit = _unary__edvuaz + 1 | 0;
871
871
  data[_unary__edvuaz] = toByte((short >>> 8 | 0) & 255);
872
872
  var _unary__edvuaz_0 = limit;
873
873
  limit = _unary__edvuaz_0 + 1 | 0;
874
874
  data[_unary__edvuaz_0] = toByte(short & 255);
875
- this.z1a_1 = limit;
875
+ this.a1b_1 = limit;
876
876
  };
877
- protoOf(Segment).g1b = function () {
878
- var _unary__edvuaz = this.y1a_1;
879
- this.y1a_1 = _unary__edvuaz + 1 | 0;
880
- return this.x1a_1[_unary__edvuaz];
877
+ protoOf(Segment).h1b = function () {
878
+ var _unary__edvuaz = this.z1a_1;
879
+ this.z1a_1 = _unary__edvuaz + 1 | 0;
880
+ return this.y1a_1[_unary__edvuaz];
881
881
  };
882
- protoOf(Segment).i1b = function () {
883
- var data = this.x1a_1;
884
- var pos = this.y1a_1;
882
+ protoOf(Segment).j1b = function () {
883
+ var data = this.y1a_1;
884
+ var pos = this.z1a_1;
885
885
  // Inline function 'kotlinx.io.and' call
886
886
  var _unary__edvuaz = pos;
887
887
  pos = _unary__edvuaz + 1 | 0;
@@ -891,134 +891,134 @@
891
891
  pos = _unary__edvuaz_0 + 1 | 0;
892
892
  var tmp$ret$1 = data[_unary__edvuaz_0] & 255;
893
893
  var s = toShort(tmp | tmp$ret$1);
894
- this.y1a_1 = pos;
894
+ this.z1a_1 = pos;
895
895
  return s;
896
896
  };
897
- protoOf(Segment).h1c = function (sink, byteCount) {
897
+ protoOf(Segment).i1c = function (sink, byteCount) {
898
898
  // Inline function 'kotlin.check' call
899
899
  // Inline function 'kotlin.contracts.contract' call
900
- if (!sink.b1b_1) {
900
+ if (!sink.c1b_1) {
901
901
  // Inline function 'kotlinx.io.Segment.writeTo.<anonymous>' call
902
902
  var message = 'only owner can write';
903
903
  throw IllegalStateException_init_$Create$(toString(message));
904
904
  }
905
- if ((sink.z1a_1 + byteCount | 0) > 8192) {
906
- if (sink.f1c())
905
+ if ((sink.a1b_1 + byteCount | 0) > 8192) {
906
+ if (sink.g1c())
907
907
  throw IllegalArgumentException_init_$Create$_0();
908
- if (((sink.z1a_1 + byteCount | 0) - sink.y1a_1 | 0) > 8192)
908
+ if (((sink.a1b_1 + byteCount | 0) - sink.z1a_1 | 0) > 8192)
909
909
  throw IllegalArgumentException_init_$Create$_0();
910
910
  // Inline function 'kotlin.collections.copyInto' call
911
- var this_0 = sink.x1a_1;
912
- var destination = sink.x1a_1;
913
- var startIndex = sink.y1a_1;
914
- var endIndex = sink.z1a_1;
911
+ var this_0 = sink.y1a_1;
912
+ var destination = sink.y1a_1;
913
+ var startIndex = sink.z1a_1;
914
+ var endIndex = sink.a1b_1;
915
915
  // Inline function 'kotlin.js.unsafeCast' call
916
916
  // Inline function 'kotlin.js.asDynamic' call
917
917
  var tmp = this_0;
918
918
  // Inline function 'kotlin.js.unsafeCast' call
919
919
  // Inline function 'kotlin.js.asDynamic' call
920
920
  arrayCopy(tmp, destination, 0, startIndex, endIndex);
921
- sink.z1a_1 = sink.z1a_1 - sink.y1a_1 | 0;
922
- sink.y1a_1 = 0;
921
+ sink.a1b_1 = sink.a1b_1 - sink.z1a_1 | 0;
922
+ sink.z1a_1 = 0;
923
923
  }
924
924
  // Inline function 'kotlin.collections.copyInto' call
925
- var this_1 = this.x1a_1;
926
- var destination_0 = sink.x1a_1;
927
- var destinationOffset = sink.z1a_1;
928
- var startIndex_0 = this.y1a_1;
929
- var endIndex_0 = this.y1a_1 + byteCount | 0;
925
+ var this_1 = this.y1a_1;
926
+ var destination_0 = sink.y1a_1;
927
+ var destinationOffset = sink.a1b_1;
928
+ var startIndex_0 = this.z1a_1;
929
+ var endIndex_0 = this.z1a_1 + byteCount | 0;
930
930
  // Inline function 'kotlin.js.unsafeCast' call
931
931
  // Inline function 'kotlin.js.asDynamic' call
932
932
  var tmp_0 = this_1;
933
933
  // Inline function 'kotlin.js.unsafeCast' call
934
934
  // Inline function 'kotlin.js.asDynamic' call
935
935
  arrayCopy(tmp_0, destination_0, destinationOffset, startIndex_0, endIndex_0);
936
- sink.z1a_1 = sink.z1a_1 + byteCount | 0;
937
- this.y1a_1 = this.y1a_1 + byteCount | 0;
936
+ sink.a1b_1 = sink.a1b_1 + byteCount | 0;
937
+ this.z1a_1 = this.z1a_1 + byteCount | 0;
938
938
  };
939
- protoOf(Segment).r1b = function (dst, dstStartOffset, dstEndOffset) {
939
+ protoOf(Segment).s1b = function (dst, dstStartOffset, dstEndOffset) {
940
940
  var len = dstEndOffset - dstStartOffset | 0;
941
941
  // Inline function 'kotlin.collections.copyInto' call
942
- var this_0 = this.x1a_1;
943
- var startIndex = this.y1a_1;
944
- var endIndex = this.y1a_1 + len | 0;
942
+ var this_0 = this.y1a_1;
943
+ var startIndex = this.z1a_1;
944
+ var endIndex = this.z1a_1 + len | 0;
945
945
  // Inline function 'kotlin.js.unsafeCast' call
946
946
  // Inline function 'kotlin.js.asDynamic' call
947
947
  var tmp = this_0;
948
948
  // Inline function 'kotlin.js.unsafeCast' call
949
949
  // Inline function 'kotlin.js.asDynamic' call
950
950
  arrayCopy(tmp, dst, dstStartOffset, startIndex, endIndex);
951
- this.y1a_1 = this.y1a_1 + len | 0;
951
+ this.z1a_1 = this.z1a_1 + len | 0;
952
952
  };
953
- protoOf(Segment).d1c = function (src, srcStartOffset, srcEndOffset) {
953
+ protoOf(Segment).e1c = function (src, srcStartOffset, srcEndOffset) {
954
954
  // Inline function 'kotlin.collections.copyInto' call
955
- var destination = this.x1a_1;
956
- var destinationOffset = this.z1a_1;
955
+ var destination = this.y1a_1;
956
+ var destinationOffset = this.a1b_1;
957
957
  // Inline function 'kotlin.js.unsafeCast' call
958
958
  // Inline function 'kotlin.js.asDynamic' call
959
959
  var tmp = src;
960
960
  // Inline function 'kotlin.js.unsafeCast' call
961
961
  // Inline function 'kotlin.js.asDynamic' call
962
962
  arrayCopy(tmp, destination, destinationOffset, srcStartOffset, srcEndOffset);
963
- this.z1a_1 = this.z1a_1 + (srcEndOffset - srcStartOffset | 0) | 0;
963
+ this.a1b_1 = this.a1b_1 + (srcEndOffset - srcStartOffset | 0) | 0;
964
964
  };
965
- protoOf(Segment).e1b = function () {
966
- return this.z1a_1 - this.y1a_1 | 0;
965
+ protoOf(Segment).f1b = function () {
966
+ return this.a1b_1 - this.z1a_1 | 0;
967
967
  };
968
- protoOf(Segment).c1c = function () {
969
- return this.x1a_1.length - this.z1a_1 | 0;
968
+ protoOf(Segment).d1c = function () {
969
+ return this.y1a_1.length - this.a1b_1 | 0;
970
970
  };
971
- protoOf(Segment).h1d = function (readOnly) {
972
- return this.x1a_1;
971
+ protoOf(Segment).i1d = function (readOnly) {
972
+ return this.y1a_1;
973
973
  };
974
- protoOf(Segment).i1d = function (index) {
975
- return this.x1a_1[this.y1a_1 + index | 0];
974
+ protoOf(Segment).j1d = function (index) {
975
+ return this.y1a_1[this.z1a_1 + index | 0];
976
976
  };
977
- protoOf(Segment).j1d = function (index, value) {
978
- this.x1a_1[this.z1a_1 + index | 0] = value;
977
+ protoOf(Segment).k1d = function (index, value) {
978
+ this.y1a_1[this.a1b_1 + index | 0] = value;
979
979
  };
980
- protoOf(Segment).k1d = function (index, b0, b1) {
981
- var d = this.x1a_1;
982
- var l = this.z1a_1;
980
+ protoOf(Segment).l1d = function (index, b0, b1) {
981
+ var d = this.y1a_1;
982
+ var l = this.a1b_1;
983
983
  d[l + index | 0] = b0;
984
984
  d[(l + index | 0) + 1 | 0] = b1;
985
985
  };
986
- protoOf(Segment).l1d = function (index, b0, b1, b2) {
987
- var d = this.x1a_1;
988
- var l = this.z1a_1;
986
+ protoOf(Segment).m1d = function (index, b0, b1, b2) {
987
+ var d = this.y1a_1;
988
+ var l = this.a1b_1;
989
989
  d[l + index | 0] = b0;
990
990
  d[(l + index | 0) + 1 | 0] = b1;
991
991
  d[(l + index | 0) + 2 | 0] = b2;
992
992
  };
993
- protoOf(Segment).m1d = function (index, b0, b1, b2, b3) {
994
- var d = this.x1a_1;
995
- var l = this.z1a_1;
993
+ protoOf(Segment).n1d = function (index, b0, b1, b2, b3) {
994
+ var d = this.y1a_1;
995
+ var l = this.a1b_1;
996
996
  d[l + index | 0] = b0;
997
997
  d[(l + index | 0) + 1 | 0] = b1;
998
998
  d[(l + index | 0) + 2 | 0] = b2;
999
999
  d[(l + index | 0) + 3 | 0] = b3;
1000
1000
  };
1001
1001
  function Segment() {
1002
- this.y1a_1 = 0;
1003
1002
  this.z1a_1 = 0;
1004
- this.a1b_1 = null;
1005
- this.b1b_1 = false;
1006
- this.c1b_1 = null;
1003
+ this.a1b_1 = 0;
1004
+ this.b1b_1 = null;
1005
+ this.c1b_1 = false;
1007
1006
  this.d1b_1 = null;
1007
+ this.e1b_1 = null;
1008
1008
  }
1009
1009
  function SegmentCopyTracker() {
1010
1010
  }
1011
1011
  function isEmpty(_this__u8e3s4) {
1012
- return _this__u8e3s4.e1b() === 0;
1012
+ return _this__u8e3s4.f1b() === 0;
1013
1013
  }
1014
1014
  function AlwaysSharedCopyTracker() {
1015
1015
  AlwaysSharedCopyTracker_instance = this;
1016
1016
  SegmentCopyTracker.call(this);
1017
1017
  }
1018
- protoOf(AlwaysSharedCopyTracker).e1d = function () {
1018
+ protoOf(AlwaysSharedCopyTracker).f1d = function () {
1019
1019
  return true;
1020
1020
  };
1021
- protoOf(AlwaysSharedCopyTracker).g1d = function () {
1021
+ protoOf(AlwaysSharedCopyTracker).h1d = function () {
1022
1022
  return Unit_instance;
1023
1023
  };
1024
1024
  var AlwaysSharedCopyTracker_instance;
@@ -1038,23 +1038,23 @@
1038
1038
  var arraySize = size;
1039
1039
  if (size === -1) {
1040
1040
  var fetchSize = new Long(2147483647, 0);
1041
- while (_this__u8e3s4.s1a().s().e1(new Long(2147483647, 0)) < 0 && _this__u8e3s4.v1a(fetchSize)) {
1041
+ while (_this__u8e3s4.t1a().s().e1(new Long(2147483647, 0)) < 0 && _this__u8e3s4.w1a(fetchSize)) {
1042
1042
  // Inline function 'kotlin.Long.times' call
1043
1043
  fetchSize = fetchSize.b3(toLong(2));
1044
1044
  }
1045
1045
  // Inline function 'kotlin.check' call
1046
1046
  // Inline function 'kotlin.contracts.contract' call
1047
- if (!(_this__u8e3s4.s1a().s().e1(new Long(2147483647, 0)) < 0)) {
1047
+ if (!(_this__u8e3s4.t1a().s().e1(new Long(2147483647, 0)) < 0)) {
1048
1048
  // Inline function 'kotlinx.io.readByteArrayImpl.<anonymous>' call
1049
- var message = "Can't create an array of size " + _this__u8e3s4.s1a().s().toString();
1049
+ var message = "Can't create an array of size " + _this__u8e3s4.t1a().s().toString();
1050
1050
  throw IllegalStateException_init_$Create$(toString(message));
1051
1051
  }
1052
- arraySize = _this__u8e3s4.s1a().s().j1();
1052
+ arraySize = _this__u8e3s4.t1a().s().j1();
1053
1053
  } else {
1054
- _this__u8e3s4.u1a(toLong(size));
1054
+ _this__u8e3s4.v1a(toLong(size));
1055
1055
  }
1056
1056
  var array = new Int8Array(arraySize);
1057
- readTo(_this__u8e3s4.s1a(), array);
1057
+ readTo(_this__u8e3s4.t1a(), array);
1058
1058
  return array;
1059
1059
  }
1060
1060
  function readTo(_this__u8e3s4, sink, startIndex, endIndex) {
@@ -1065,7 +1065,7 @@
1065
1065
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
1066
1066
  var offset = startIndex;
1067
1067
  while (offset < endIndex) {
1068
- var bytesRead = _this__u8e3s4.q1b(sink, offset, endIndex);
1068
+ var bytesRead = _this__u8e3s4.r1b(sink, offset, endIndex);
1069
1069
  if (bytesRead === -1) {
1070
1070
  throw EOFException_init_$Create$_0('Source exhausted before reading ' + (endIndex - startIndex | 0) + ' bytes. ' + ('Only ' + bytesRead + ' bytes were read.'));
1071
1071
  }
@@ -1085,33 +1085,33 @@
1085
1085
  return readByteArrayImpl(_this__u8e3s4, byteCount);
1086
1086
  }
1087
1087
  function readString(_this__u8e3s4) {
1088
- _this__u8e3s4.v1a(new Long(-1, 2147483647));
1089
- return commonReadUtf8(_this__u8e3s4.s1a(), _this__u8e3s4.s1a().s());
1088
+ _this__u8e3s4.w1a(new Long(-1, 2147483647));
1089
+ return commonReadUtf8(_this__u8e3s4.t1a(), _this__u8e3s4.t1a().s());
1090
1090
  }
1091
1091
  function readString_0(_this__u8e3s4, byteCount) {
1092
- _this__u8e3s4.u1a(byteCount);
1093
- return commonReadUtf8(_this__u8e3s4.s1a(), byteCount);
1092
+ _this__u8e3s4.v1a(byteCount);
1093
+ return commonReadUtf8(_this__u8e3s4.t1a(), byteCount);
1094
1094
  }
1095
1095
  function commonReadUtf8(_this__u8e3s4, byteCount) {
1096
1096
  if (byteCount.equals(new Long(0, 0)))
1097
1097
  return '';
1098
1098
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
1099
- var curr = _this__u8e3s4.p1a_1;
1099
+ var curr = _this__u8e3s4.q1a_1;
1100
1100
  while (!(curr == null)) {
1101
1101
  // Inline function 'kotlinx.io.commonReadUtf8.<anonymous>' call
1102
1102
  get_SegmentReadContextImpl();
1103
- if (toLong(curr.e1b()).e1(byteCount) >= 0) {
1103
+ if (toLong(curr.f1b()).e1(byteCount) >= 0) {
1104
1104
  var result = '';
1105
1105
  // Inline function 'kotlinx.io.unsafe.withData' call
1106
1106
  // Inline function 'kotlinx.io.commonReadUtf8.<anonymous>.<anonymous>' call
1107
- var data = curr.h1d(true);
1108
- var pos = curr.y1a_1;
1107
+ var data = curr.i1d(true);
1108
+ var pos = curr.z1a_1;
1109
1109
  // Inline function 'kotlin.math.min' call
1110
- var a = curr.z1a_1;
1110
+ var a = curr.a1b_1;
1111
1111
  var b = pos + byteCount.j1() | 0;
1112
1112
  var tmp$ret$0 = Math.min(a, b);
1113
1113
  result = commonToUtf8String(data, pos, tmp$ret$0);
1114
- _this__u8e3s4.p1b(byteCount);
1114
+ _this__u8e3s4.q1b(byteCount);
1115
1115
  return result;
1116
1116
  }
1117
1117
  return commonToUtf8String(readByteArray_0(_this__u8e3s4, byteCount.j1()));
@@ -1129,7 +1129,7 @@
1129
1129
  // Inline function 'kotlinx.io.writeToInternalBuffer' call
1130
1130
  // Inline function 'kotlinx.io.writeString.<anonymous>' call
1131
1131
  // Inline function 'kotlinx.io.commonWriteUtf8' call
1132
- var this_0 = _this__u8e3s4.s1a();
1132
+ var this_0 = _this__u8e3s4.t1a();
1133
1133
  var i = startIndex;
1134
1134
  while (i < endIndex) {
1135
1135
  // Inline function 'kotlin.code' call
@@ -1139,16 +1139,16 @@
1139
1139
  if (c < 128) {
1140
1140
  $l$block_0: {
1141
1141
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1142
- var tail = this_0.x1b(1);
1142
+ var tail = this_0.y1b(1);
1143
1143
  // Inline function 'kotlinx.io.commonWriteUtf8.<anonymous>' call
1144
1144
  var ctx = get_SegmentWriteContextImpl();
1145
1145
  var segmentOffset = -i | 0;
1146
1146
  // Inline function 'kotlin.comparisons.minOf' call
1147
- var b = i + tail.c1c() | 0;
1147
+ var b = i + tail.d1c() | 0;
1148
1148
  var runLimit = Math.min(endIndex, b);
1149
1149
  var _unary__edvuaz = i;
1150
1150
  i = _unary__edvuaz + 1 | 0;
1151
- ctx.q1d(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
1151
+ ctx.r1d(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
1152
1152
  $l$loop: while (i < runLimit) {
1153
1153
  // Inline function 'kotlin.code' call
1154
1154
  var p0_0 = i;
@@ -1158,97 +1158,97 @@
1158
1158
  break $l$loop;
1159
1159
  var _unary__edvuaz_0 = i;
1160
1160
  i = _unary__edvuaz_0 + 1 | 0;
1161
- ctx.q1d(tail, segmentOffset + _unary__edvuaz_0 | 0, toByte(c));
1161
+ ctx.r1d(tail, segmentOffset + _unary__edvuaz_0 | 0, toByte(c));
1162
1162
  }
1163
1163
  var bytesWritten = i + segmentOffset | 0;
1164
1164
  if (bytesWritten === 1) {
1165
- tail.z1a_1 = tail.z1a_1 + bytesWritten | 0;
1165
+ tail.a1b_1 = tail.a1b_1 + bytesWritten | 0;
1166
1166
  var tmp = this_0;
1167
1167
  // Inline function 'kotlin.Long.plus' call
1168
- tmp.r1a_1 = this_0.r1a_1.z2(toLong(bytesWritten));
1168
+ tmp.s1a_1 = this_0.s1a_1.z2(toLong(bytesWritten));
1169
1169
  break $l$block_0;
1170
1170
  }
1171
1171
  // Inline function 'kotlin.check' call
1172
1172
  // Inline function 'kotlin.contracts.contract' call
1173
- if (!(0 <= bytesWritten ? bytesWritten <= tail.c1c() : false)) {
1173
+ if (!(0 <= bytesWritten ? bytesWritten <= tail.d1c() : false)) {
1174
1174
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail.<anonymous>' call
1175
- var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.c1c();
1175
+ var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.d1c();
1176
1176
  throw IllegalStateException_init_$Create$(toString(message));
1177
1177
  }
1178
1178
  if (!(bytesWritten === 0)) {
1179
- tail.z1a_1 = tail.z1a_1 + bytesWritten | 0;
1179
+ tail.a1b_1 = tail.a1b_1 + bytesWritten | 0;
1180
1180
  var tmp_0 = this_0;
1181
1181
  // Inline function 'kotlin.Long.plus' call
1182
- tmp_0.r1a_1 = this_0.r1a_1.z2(toLong(bytesWritten));
1182
+ tmp_0.s1a_1 = this_0.s1a_1.z2(toLong(bytesWritten));
1183
1183
  break $l$block_0;
1184
1184
  }
1185
1185
  if (isEmpty(tail)) {
1186
- this_0.r1c();
1186
+ this_0.s1c();
1187
1187
  }
1188
1188
  }
1189
1189
  } else if (c < 2048) {
1190
1190
  $l$block_2: {
1191
1191
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1192
- var tail_0 = this_0.x1b(2);
1192
+ var tail_0 = this_0.y1b(2);
1193
1193
  // Inline function 'kotlinx.io.commonWriteUtf8.<anonymous>' call
1194
- get_SegmentWriteContextImpl().p1d(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
1194
+ get_SegmentWriteContextImpl().q1d(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
1195
1195
  var bytesWritten_0 = 2;
1196
1196
  if (bytesWritten_0 === 2) {
1197
- tail_0.z1a_1 = tail_0.z1a_1 + bytesWritten_0 | 0;
1197
+ tail_0.a1b_1 = tail_0.a1b_1 + bytesWritten_0 | 0;
1198
1198
  var tmp_1 = this_0;
1199
1199
  // Inline function 'kotlin.Long.plus' call
1200
- tmp_1.r1a_1 = this_0.r1a_1.z2(toLong(bytesWritten_0));
1200
+ tmp_1.s1a_1 = this_0.s1a_1.z2(toLong(bytesWritten_0));
1201
1201
  break $l$block_2;
1202
1202
  }
1203
1203
  // Inline function 'kotlin.check' call
1204
1204
  // Inline function 'kotlin.contracts.contract' call
1205
- if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.c1c() : false)) {
1205
+ if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.d1c() : false)) {
1206
1206
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail.<anonymous>' call
1207
- var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.c1c();
1207
+ var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.d1c();
1208
1208
  throw IllegalStateException_init_$Create$(toString(message_0));
1209
1209
  }
1210
1210
  if (!(bytesWritten_0 === 0)) {
1211
- tail_0.z1a_1 = tail_0.z1a_1 + bytesWritten_0 | 0;
1211
+ tail_0.a1b_1 = tail_0.a1b_1 + bytesWritten_0 | 0;
1212
1212
  var tmp_2 = this_0;
1213
1213
  // Inline function 'kotlin.Long.plus' call
1214
- tmp_2.r1a_1 = this_0.r1a_1.z2(toLong(bytesWritten_0));
1214
+ tmp_2.s1a_1 = this_0.s1a_1.z2(toLong(bytesWritten_0));
1215
1215
  break $l$block_2;
1216
1216
  }
1217
1217
  if (isEmpty(tail_0)) {
1218
- this_0.r1c();
1218
+ this_0.s1c();
1219
1219
  }
1220
1220
  }
1221
1221
  i = i + 1 | 0;
1222
1222
  } else if (c < 55296 || c > 57343) {
1223
1223
  $l$block_4: {
1224
1224
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1225
- var tail_1 = this_0.x1b(3);
1225
+ var tail_1 = this_0.y1b(3);
1226
1226
  // Inline function 'kotlinx.io.commonWriteUtf8.<anonymous>' call
1227
- get_SegmentWriteContextImpl().o1d(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
1227
+ get_SegmentWriteContextImpl().p1d(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
1228
1228
  var bytesWritten_1 = 3;
1229
1229
  if (bytesWritten_1 === 3) {
1230
- tail_1.z1a_1 = tail_1.z1a_1 + bytesWritten_1 | 0;
1230
+ tail_1.a1b_1 = tail_1.a1b_1 + bytesWritten_1 | 0;
1231
1231
  var tmp_3 = this_0;
1232
1232
  // Inline function 'kotlin.Long.plus' call
1233
- tmp_3.r1a_1 = this_0.r1a_1.z2(toLong(bytesWritten_1));
1233
+ tmp_3.s1a_1 = this_0.s1a_1.z2(toLong(bytesWritten_1));
1234
1234
  break $l$block_4;
1235
1235
  }
1236
1236
  // Inline function 'kotlin.check' call
1237
1237
  // Inline function 'kotlin.contracts.contract' call
1238
- if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.c1c() : false)) {
1238
+ if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.d1c() : false)) {
1239
1239
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail.<anonymous>' call
1240
- var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.c1c();
1240
+ var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.d1c();
1241
1241
  throw IllegalStateException_init_$Create$(toString(message_1));
1242
1242
  }
1243
1243
  if (!(bytesWritten_1 === 0)) {
1244
- tail_1.z1a_1 = tail_1.z1a_1 + bytesWritten_1 | 0;
1244
+ tail_1.a1b_1 = tail_1.a1b_1 + bytesWritten_1 | 0;
1245
1245
  var tmp_4 = this_0;
1246
1246
  // Inline function 'kotlin.Long.plus' call
1247
- tmp_4.r1a_1 = this_0.r1a_1.z2(toLong(bytesWritten_1));
1247
+ tmp_4.s1a_1 = this_0.s1a_1.z2(toLong(bytesWritten_1));
1248
1248
  break $l$block_4;
1249
1249
  }
1250
1250
  if (isEmpty(tail_1)) {
1251
- this_0.r1c();
1251
+ this_0.s1c();
1252
1252
  }
1253
1253
  }
1254
1254
  i = i + 1 | 0;
@@ -1264,46 +1264,46 @@
1264
1264
  }
1265
1265
  var low = tmp_5;
1266
1266
  if (c > 56319 || !(56320 <= low ? low <= 57343 : false)) {
1267
- this_0.k1c(63);
1267
+ this_0.l1c(63);
1268
1268
  i = i + 1 | 0;
1269
1269
  } else {
1270
1270
  var codePoint = 65536 + ((c & 1023) << 10 | low & 1023) | 0;
1271
1271
  $l$block_6: {
1272
1272
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1273
- var tail_2 = this_0.x1b(4);
1273
+ var tail_2 = this_0.y1b(4);
1274
1274
  // Inline function 'kotlinx.io.commonWriteUtf8.<anonymous>' call
1275
- get_SegmentWriteContextImpl().n1d(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
1275
+ get_SegmentWriteContextImpl().o1d(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
1276
1276
  var bytesWritten_2 = 4;
1277
1277
  if (bytesWritten_2 === 4) {
1278
- tail_2.z1a_1 = tail_2.z1a_1 + bytesWritten_2 | 0;
1278
+ tail_2.a1b_1 = tail_2.a1b_1 + bytesWritten_2 | 0;
1279
1279
  var tmp_6 = this_0;
1280
1280
  // Inline function 'kotlin.Long.plus' call
1281
- tmp_6.r1a_1 = this_0.r1a_1.z2(toLong(bytesWritten_2));
1281
+ tmp_6.s1a_1 = this_0.s1a_1.z2(toLong(bytesWritten_2));
1282
1282
  break $l$block_6;
1283
1283
  }
1284
1284
  // Inline function 'kotlin.check' call
1285
1285
  // Inline function 'kotlin.contracts.contract' call
1286
- if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.c1c() : false)) {
1286
+ if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.d1c() : false)) {
1287
1287
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail.<anonymous>' call
1288
- var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.c1c();
1288
+ var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.d1c();
1289
1289
  throw IllegalStateException_init_$Create$(toString(message_2));
1290
1290
  }
1291
1291
  if (!(bytesWritten_2 === 0)) {
1292
- tail_2.z1a_1 = tail_2.z1a_1 + bytesWritten_2 | 0;
1292
+ tail_2.a1b_1 = tail_2.a1b_1 + bytesWritten_2 | 0;
1293
1293
  var tmp_7 = this_0;
1294
1294
  // Inline function 'kotlin.Long.plus' call
1295
- tmp_7.r1a_1 = this_0.r1a_1.z2(toLong(bytesWritten_2));
1295
+ tmp_7.s1a_1 = this_0.s1a_1.z2(toLong(bytesWritten_2));
1296
1296
  break $l$block_6;
1297
1297
  }
1298
1298
  if (isEmpty(tail_2)) {
1299
- this_0.r1c();
1299
+ this_0.s1c();
1300
1300
  }
1301
1301
  }
1302
1302
  i = i + 2 | 0;
1303
1303
  }
1304
1304
  }
1305
1305
  }
1306
- _this__u8e3s4.j1b();
1306
+ _this__u8e3s4.k1b();
1307
1307
  }
1308
1308
  function commonToUtf8String(_this__u8e3s4, beginIndex, endIndex) {
1309
1309
  beginIndex = beginIndex === VOID ? 0 : beginIndex;
@@ -1685,27 +1685,27 @@
1685
1685
  }
1686
1686
  function SegmentReadContextImpl$1() {
1687
1687
  }
1688
- protoOf(SegmentReadContextImpl$1).p1c = function (segment, offset) {
1689
- return segment.i1d(offset);
1688
+ protoOf(SegmentReadContextImpl$1).q1c = function (segment, offset) {
1689
+ return segment.j1d(offset);
1690
1690
  };
1691
1691
  function SegmentWriteContextImpl$1() {
1692
1692
  }
1693
- protoOf(SegmentWriteContextImpl$1).q1d = function (segment, offset, value) {
1694
- segment.j1d(offset, value);
1693
+ protoOf(SegmentWriteContextImpl$1).r1d = function (segment, offset, value) {
1694
+ segment.k1d(offset, value);
1695
1695
  };
1696
- protoOf(SegmentWriteContextImpl$1).p1d = function (segment, offset, b0, b1) {
1697
- segment.k1d(offset, b0, b1);
1696
+ protoOf(SegmentWriteContextImpl$1).q1d = function (segment, offset, b0, b1) {
1697
+ segment.l1d(offset, b0, b1);
1698
1698
  };
1699
- protoOf(SegmentWriteContextImpl$1).o1d = function (segment, offset, b0, b1, b2) {
1700
- segment.l1d(offset, b0, b1, b2);
1699
+ protoOf(SegmentWriteContextImpl$1).p1d = function (segment, offset, b0, b1, b2) {
1700
+ segment.m1d(offset, b0, b1, b2);
1701
1701
  };
1702
- protoOf(SegmentWriteContextImpl$1).n1d = function (segment, offset, b0, b1, b2, b3) {
1703
- segment.m1d(offset, b0, b1, b2, b3);
1702
+ protoOf(SegmentWriteContextImpl$1).o1d = function (segment, offset, b0, b1, b2, b3) {
1703
+ segment.n1d(offset, b0, b1, b2, b3);
1704
1704
  };
1705
1705
  function BufferIterationContextImpl$1() {
1706
1706
  }
1707
- protoOf(BufferIterationContextImpl$1).p1c = function (segment, offset) {
1708
- return get_SegmentReadContextImpl().p1c(segment, offset);
1707
+ protoOf(BufferIterationContextImpl$1).q1c = function (segment, offset) {
1708
+ return get_SegmentReadContextImpl().q1c(segment, offset);
1709
1709
  };
1710
1710
  var properties_initialized_UnsafeBufferOperations_kt_2xfgoc;
1711
1711
  function _init_properties_UnsafeBufferOperations_kt__xw75gy() {
@@ -1773,15 +1773,15 @@
1773
1773
  captureStack(this, EOFException);
1774
1774
  }
1775
1775
  function SegmentPool() {
1776
- this.y1b_1 = 0;
1777
1776
  this.z1b_1 = 0;
1777
+ this.a1c_1 = 0;
1778
1778
  }
1779
- protoOf(SegmentPool).a1c = function () {
1780
- return Companion_instance.d1d();
1779
+ protoOf(SegmentPool).b1c = function () {
1780
+ return Companion_instance.e1d();
1781
1781
  };
1782
- protoOf(SegmentPool).q1c = function (segment) {
1782
+ protoOf(SegmentPool).r1c = function (segment) {
1783
1783
  };
1784
- protoOf(SegmentPool).f1d = function () {
1784
+ protoOf(SegmentPool).g1d = function () {
1785
1785
  return AlwaysSharedCopyTracker_getInstance();
1786
1786
  };
1787
1787
  var SegmentPool_instance;
@@ -1789,7 +1789,7 @@
1789
1789
  return SegmentPool_instance;
1790
1790
  }
1791
1791
  //region block: post-declaration
1792
- protoOf(Buffer).e1c = write$default;
1792
+ protoOf(Buffer).f1c = write$default;
1793
1793
  //endregion
1794
1794
  //region block: init
1795
1795
  Companion_instance = new Companion();