@solibo/home-api 1.1.0 → 1.1.1

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.
@@ -21,7 +21,7 @@
21
21
  }(function (_, kotlin_kotlin, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
22
22
  'use strict';
23
23
  //region block: imports
24
- var Exception = kotlin_kotlin.$_$.nf;
24
+ var Exception = kotlin_kotlin.$_$.of;
25
25
  var VOID = kotlin_kotlin.$_$.b;
26
26
  var Exception_init_$Init$ = kotlin_kotlin.$_$.j1;
27
27
  var captureStack = kotlin_kotlin.$_$.fa;
@@ -39,7 +39,7 @@
39
39
  var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
40
40
  var hashCode = kotlin_kotlin.$_$.wa;
41
41
  var CoroutineImpl = kotlin_kotlin.$_$.g9;
42
- var THROW_CCE = kotlin_kotlin.$_$.uf;
42
+ var THROW_CCE = kotlin_kotlin.$_$.vf;
43
43
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.p8;
44
44
  var initMetadataForLambda = kotlin_kotlin.$_$.cb;
45
45
  var initMetadataForCoroutine = kotlin_kotlin.$_$.za;
@@ -60,10 +60,10 @@
60
60
  configuration = tmp;
61
61
  var tmp_0;
62
62
  if ($super === VOID) {
63
- this.l39(contentType, converter, configuration);
63
+ this.t3a(contentType, converter, configuration);
64
64
  tmp_0 = Unit_instance;
65
65
  } else {
66
- tmp_0 = $super.l39.call(this, contentType, converter, configuration);
66
+ tmp_0 = $super.t3a.call(this, contentType, converter, configuration);
67
67
  }
68
68
  return tmp_0;
69
69
  }
@@ -87,12 +87,12 @@
87
87
  }
88
88
  function deserialize(_this__u8e3s4, body, typeInfo, charset, $completion) {
89
89
  var tmp = new $deserializeCOROUTINE$(_this__u8e3s4, body, typeInfo, charset, $completion);
90
- tmp.i8_1 = Unit_instance;
91
- tmp.j8_1 = null;
92
- return tmp.o8();
90
+ tmp.l8_1 = Unit_instance;
91
+ tmp.m8_1 = null;
92
+ return tmp.r8();
93
93
  }
94
94
  function suitableCharset(_this__u8e3s4, defaultCharset) {
95
- defaultCharset = defaultCharset === VOID ? Charsets_getInstance().o1p_1 : defaultCharset;
95
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().w1q_1 : defaultCharset;
96
96
  var tmp0_elvis_lhs = suitableCharsetOrNull(_this__u8e3s4, defaultCharset);
97
97
  return tmp0_elvis_lhs == null ? defaultCharset : tmp0_elvis_lhs;
98
98
  }
@@ -102,10 +102,10 @@
102
102
  function Configuration() {
103
103
  }
104
104
  function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
105
- defaultCharset = defaultCharset === VOID ? Charsets_getInstance().o1p_1 : defaultCharset;
106
- var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.x2b('Accept-Charset')).t();
105
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().w1q_1 : defaultCharset;
106
+ var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.f2d('Accept-Charset')).t();
107
107
  while (_iterator__ex2g4s.u()) {
108
- var charset = _iterator__ex2g4s.v().oe();
108
+ var charset = _iterator__ex2g4s.v().se();
109
109
  if (charset === '*')
110
110
  return defaultCharset;
111
111
  else if (isSupported(Charsets_getInstance(), charset))
@@ -114,13 +114,13 @@
114
114
  return null;
115
115
  }
116
116
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
117
- this.n39_1 = function_0;
117
+ this.v3a_1 = function_0;
118
118
  }
119
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).v19 = function (value, $completion) {
120
- return this.n39_1(value, $completion);
119
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d1b = function (value, $completion) {
120
+ return this.v3a_1(value, $completion);
121
121
  };
122
122
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).g3 = function () {
123
- return this.n39_1;
123
+ return this.v3a_1;
124
124
  };
125
125
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
126
126
  var tmp;
@@ -141,34 +141,34 @@
141
141
  return hashCode(this.g3());
142
142
  };
143
143
  function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
144
- this.w39_1 = $$this$unsafeFlow;
145
- this.x39_1 = $charset;
146
- this.y39_1 = $typeInfo;
147
- this.z39_1 = $body;
144
+ this.e3b_1 = $$this$unsafeFlow;
145
+ this.f3b_1 = $charset;
146
+ this.g3b_1 = $typeInfo;
147
+ this.h3b_1 = $body;
148
148
  CoroutineImpl.call(this, resultContinuation);
149
149
  }
150
- protoOf(deserialize$o$collect$slambda).c3a = function (value, $completion) {
151
- var tmp = this.d3a(value, $completion);
152
- tmp.i8_1 = Unit_instance;
153
- tmp.j8_1 = null;
154
- return tmp.o8();
150
+ protoOf(deserialize$o$collect$slambda).k3b = function (value, $completion) {
151
+ var tmp = this.l3b(value, $completion);
152
+ tmp.l8_1 = Unit_instance;
153
+ tmp.m8_1 = null;
154
+ return tmp.r8();
155
155
  };
156
- protoOf(deserialize$o$collect$slambda).a9 = function (p1, $completion) {
157
- return this.c3a((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
156
+ protoOf(deserialize$o$collect$slambda).d9 = function (p1, $completion) {
157
+ return this.k3b((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
158
158
  };
159
- protoOf(deserialize$o$collect$slambda).o8 = function () {
160
- var suspendResult = this.i8_1;
159
+ protoOf(deserialize$o$collect$slambda).r8 = function () {
160
+ var suspendResult = this.l8_1;
161
161
  $sm: do
162
162
  try {
163
- var tmp = this.g8_1;
163
+ var tmp = this.j8_1;
164
164
  switch (tmp) {
165
165
  case 0:
166
- this.h8_1 = 3;
167
- var tmp0 = this.w39_1;
168
- var tmp2 = this.a3a_1;
169
- this.b3a_1 = tmp0;
170
- this.g8_1 = 1;
171
- suspendResult = tmp2.e3a(this.x39_1, this.y39_1, this.z39_1, this);
166
+ this.k8_1 = 3;
167
+ var tmp0 = this.e3b_1;
168
+ var tmp2 = this.i3b_1;
169
+ this.j3b_1 = tmp0;
170
+ this.j8_1 = 1;
171
+ suspendResult = tmp2.m3b(this.f3b_1, this.g3b_1, this.h3b_1, this);
172
172
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
173
173
  return suspendResult;
174
174
  }
@@ -176,8 +176,8 @@
176
176
  continue $sm;
177
177
  case 1:
178
178
  var ARGUMENT = suspendResult;
179
- this.g8_1 = 2;
180
- suspendResult = this.b3a_1.v19(ARGUMENT, this);
179
+ this.j8_1 = 2;
180
+ suspendResult = this.j3b_1.d1b(ARGUMENT, this);
181
181
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
182
182
  return suspendResult;
183
183
  }
@@ -186,49 +186,49 @@
186
186
  case 2:
187
187
  return Unit_instance;
188
188
  case 3:
189
- throw this.j8_1;
189
+ throw this.m8_1;
190
190
  }
191
191
  } catch ($p) {
192
192
  var e = $p;
193
- if (this.h8_1 === 3) {
193
+ if (this.k8_1 === 3) {
194
194
  throw e;
195
195
  } else {
196
- this.g8_1 = this.h8_1;
197
- this.j8_1 = e;
196
+ this.j8_1 = this.k8_1;
197
+ this.m8_1 = e;
198
198
  }
199
199
  }
200
200
  while (true);
201
201
  };
202
- protoOf(deserialize$o$collect$slambda).d3a = function (value, completion) {
203
- var i = new deserialize$o$collect$slambda(this.w39_1, this.x39_1, this.y39_1, this.z39_1, completion);
204
- i.a3a_1 = value;
202
+ protoOf(deserialize$o$collect$slambda).l3b = function (value, completion) {
203
+ var i = new deserialize$o$collect$slambda(this.e3b_1, this.f3b_1, this.g3b_1, this.h3b_1, completion);
204
+ i.i3b_1 = value;
205
205
  return i;
206
206
  };
207
207
  function deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
208
208
  var i = new deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation);
209
209
  var l = function (value, $completion) {
210
- return i.c3a(value, $completion);
210
+ return i.k3b(value, $completion);
211
211
  };
212
212
  l.$arity = 1;
213
213
  return l;
214
214
  }
215
215
  function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
216
216
  CoroutineImpl.call(this, resultContinuation);
217
- this.n3a_1 = _this__u8e3s4;
218
- this.o3a_1 = collector;
217
+ this.v3b_1 = _this__u8e3s4;
218
+ this.w3b_1 = collector;
219
219
  }
220
- protoOf($collectCOROUTINE$).o8 = function () {
221
- var suspendResult = this.i8_1;
220
+ protoOf($collectCOROUTINE$).r8 = function () {
221
+ var suspendResult = this.l8_1;
222
222
  $sm: do
223
223
  try {
224
- var tmp = this.g8_1;
224
+ var tmp = this.j8_1;
225
225
  switch (tmp) {
226
226
  case 0:
227
- this.h8_1 = 2;
228
- var $this$unsafeFlow = this.o3a_1;
229
- this.g8_1 = 1;
230
- var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.n3a_1.q3a_1, this.n3a_1.r3a_1, this.n3a_1.s3a_1, null);
231
- suspendResult = this.n3a_1.p3a_1.x19(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
227
+ this.k8_1 = 2;
228
+ var $this$unsafeFlow = this.w3b_1;
229
+ this.j8_1 = 1;
230
+ var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.v3b_1.y3b_1, this.v3b_1.z3b_1, this.v3b_1.a3c_1, null);
231
+ suspendResult = this.v3b_1.x3b_1.f1b(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
232
232
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
233
233
  return suspendResult;
234
234
  }
@@ -237,57 +237,57 @@
237
237
  case 1:
238
238
  return Unit_instance;
239
239
  case 2:
240
- throw this.j8_1;
240
+ throw this.m8_1;
241
241
  }
242
242
  } catch ($p) {
243
243
  var e = $p;
244
- if (this.h8_1 === 2) {
244
+ if (this.k8_1 === 2) {
245
245
  throw e;
246
246
  } else {
247
- this.g8_1 = this.h8_1;
248
- this.j8_1 = e;
247
+ this.j8_1 = this.k8_1;
248
+ this.m8_1 = e;
249
249
  }
250
250
  }
251
251
  while (true);
252
252
  };
253
253
  function deserialize$$inlined$map$1($this, $charset, $typeInfo, $body) {
254
- this.p3a_1 = $this;
255
- this.q3a_1 = $charset;
256
- this.r3a_1 = $typeInfo;
257
- this.s3a_1 = $body;
254
+ this.x3b_1 = $this;
255
+ this.y3b_1 = $charset;
256
+ this.z3b_1 = $typeInfo;
257
+ this.a3c_1 = $body;
258
258
  }
259
- protoOf(deserialize$$inlined$map$1).w19 = function (collector, $completion) {
259
+ protoOf(deserialize$$inlined$map$1).e1b = function (collector, $completion) {
260
260
  var tmp = new $collectCOROUTINE$(this, collector, $completion);
261
- tmp.i8_1 = Unit_instance;
262
- tmp.j8_1 = null;
263
- return tmp.o8();
261
+ tmp.l8_1 = Unit_instance;
262
+ tmp.m8_1 = null;
263
+ return tmp.r8();
264
264
  };
265
- protoOf(deserialize$$inlined$map$1).x19 = function (collector, $completion) {
266
- return this.w19(collector, $completion);
265
+ protoOf(deserialize$$inlined$map$1).f1b = function (collector, $completion) {
266
+ return this.e1b(collector, $completion);
267
267
  };
268
268
  function deserialize$slambda($body, resultContinuation) {
269
- this.b3b_1 = $body;
269
+ this.j3c_1 = $body;
270
270
  CoroutineImpl.call(this, resultContinuation);
271
271
  }
272
- protoOf(deserialize$slambda).d3b = function (it, $completion) {
273
- var tmp = this.d3a(it, $completion);
274
- tmp.i8_1 = Unit_instance;
275
- tmp.j8_1 = null;
276
- return tmp.o8();
272
+ protoOf(deserialize$slambda).l3c = function (it, $completion) {
273
+ var tmp = this.l3b(it, $completion);
274
+ tmp.l8_1 = Unit_instance;
275
+ tmp.m8_1 = null;
276
+ return tmp.r8();
277
277
  };
278
- protoOf(deserialize$slambda).a9 = function (p1, $completion) {
279
- return this.d3b((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
278
+ protoOf(deserialize$slambda).d9 = function (p1, $completion) {
279
+ return this.l3c((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
280
280
  };
281
- protoOf(deserialize$slambda).o8 = function () {
282
- var suspendResult = this.i8_1;
281
+ protoOf(deserialize$slambda).r8 = function () {
282
+ var suspendResult = this.l8_1;
283
283
  $sm: do
284
284
  try {
285
- var tmp = this.g8_1;
285
+ var tmp = this.j8_1;
286
286
  if (tmp === 0) {
287
- this.h8_1 = 1;
288
- return !(this.c3b_1 == null) || this.b3b_1.r1f();
287
+ this.k8_1 = 1;
288
+ return !(this.k3c_1 == null) || this.j3c_1.z1g();
289
289
  } else if (tmp === 1) {
290
- throw this.j8_1;
290
+ throw this.m8_1;
291
291
  }
292
292
  } catch ($p) {
293
293
  var e = $p;
@@ -295,38 +295,38 @@
295
295
  }
296
296
  while (true);
297
297
  };
298
- protoOf(deserialize$slambda).d3a = function (it, completion) {
299
- var i = new deserialize$slambda(this.b3b_1, completion);
300
- i.c3b_1 = it;
298
+ protoOf(deserialize$slambda).l3b = function (it, completion) {
299
+ var i = new deserialize$slambda(this.j3c_1, completion);
300
+ i.k3c_1 = it;
301
301
  return i;
302
302
  };
303
303
  function deserialize$slambda_0($body, resultContinuation) {
304
304
  var i = new deserialize$slambda($body, resultContinuation);
305
305
  var l = function (it, $completion) {
306
- return i.d3b(it, $completion);
306
+ return i.l3c(it, $completion);
307
307
  };
308
308
  l.$arity = 1;
309
309
  return l;
310
310
  }
311
311
  function $deserializeCOROUTINE$(_this__u8e3s4, body, typeInfo, charset, resultContinuation) {
312
312
  CoroutineImpl.call(this, resultContinuation);
313
- this.h39_1 = _this__u8e3s4;
314
- this.i39_1 = body;
315
- this.j39_1 = typeInfo;
316
- this.k39_1 = charset;
313
+ this.p3a_1 = _this__u8e3s4;
314
+ this.q3a_1 = body;
315
+ this.r3a_1 = typeInfo;
316
+ this.s3a_1 = charset;
317
317
  }
318
- protoOf($deserializeCOROUTINE$).o8 = function () {
319
- var suspendResult = this.i8_1;
318
+ protoOf($deserializeCOROUTINE$).r8 = function () {
319
+ var suspendResult = this.l8_1;
320
320
  $sm: do
321
321
  try {
322
- var tmp = this.g8_1;
322
+ var tmp = this.j8_1;
323
323
  switch (tmp) {
324
324
  case 0:
325
- this.h8_1 = 2;
326
- this.g8_1 = 1;
327
- var this_0 = asFlow(this.h39_1);
328
- var tmp_0 = new deserialize$$inlined$map$1(this_0, this.k39_1, this.j39_1, this.i39_1);
329
- suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.i39_1, null), this);
325
+ this.k8_1 = 2;
326
+ this.j8_1 = 1;
327
+ var this_0 = asFlow(this.p3a_1);
328
+ var tmp_0 = new deserialize$$inlined$map$1(this_0, this.s3a_1, this.r3a_1, this.q3a_1);
329
+ suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.q3a_1, null), this);
330
330
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
331
331
  return suspendResult;
332
332
  }
@@ -338,29 +338,29 @@
338
338
  if (!(result == null)) {
339
339
  tmp_1 = result;
340
340
  } else {
341
- if (!this.i39_1.r1f()) {
342
- tmp_1 = this.i39_1;
341
+ if (!this.q3a_1.z1g()) {
342
+ tmp_1 = this.q3a_1;
343
343
  } else {
344
- var tmp0_safe_receiver = this.j39_1.d2h_1;
344
+ var tmp0_safe_receiver = this.r3a_1.l2i_1;
345
345
  if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l()) === true) {
346
346
  tmp_1 = NullBody_instance;
347
347
  } else {
348
- throw new ContentConvertException('No suitable converter found for ' + this.j39_1.toString());
348
+ throw new ContentConvertException('No suitable converter found for ' + this.r3a_1.toString());
349
349
  }
350
350
  }
351
351
  }
352
352
 
353
353
  return tmp_1;
354
354
  case 2:
355
- throw this.j8_1;
355
+ throw this.m8_1;
356
356
  }
357
357
  } catch ($p) {
358
358
  var e = $p;
359
- if (this.h8_1 === 2) {
359
+ if (this.k8_1 === 2) {
360
360
  throw e;
361
361
  } else {
362
- this.g8_1 = this.h8_1;
363
- this.j8_1 = e;
362
+ this.j8_1 = this.k8_1;
363
+ this.m8_1 = e;
364
364
  }
365
365
  }
366
366
  while (true);