1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746
|
package com.tencent.qq.ntkernel.robot;
import androidx.compose.runtime.internal.StabilityInferred; import cn4.s; import com.tencent.kuikly.core.module.Module; import dn4.b; import en4.c; import en4.d; import en4.f; import fn4.e; import java.util.ArrayList; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import jm4.a; import kotlin.ULong; import kotlin.Unit; import kotlin.collections.CollectionsKt; import kotlin.jvm.functions.Function1; import kotlin.jvm.internal.ArrayIteratorKt; import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.jvm.internal.Intrinsics; import kotlin.text.StringsKt; import kotlin.text.UStringsKt; import org.jetbrains.annotations.NotNull;
@StabilityInferred(parameters = 0) public final class IKernelRobotService extends Module {
@NotNull public static final Companion d = new Companion((DefaultConstructorMarker) null);
@NotNull private final Map<ae, Function1<Object, Unit>> c = new LinkedHashMap();
public final void A(@NotNull e eVar, @NotNull aa aaVar) { String str; ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); arrayList2.add("groupCode"); long a = eVar.a(); if (a == 0) { str = "0"; } else if (a > 0) { str = Long.toString(a, 10); } else { char[] cArr = new char[64]; long j = (a >>> 1) / 5; long j2 = 10; int i = 63; cArr[63] = Character.forDigit((int) (a - (j * j2)), 10); while (j > 0) { i--; cArr[i] = Character.forDigit((int) (j % j2), 10); j /= j2; } str = new String(cArr, i, 64 - i); } arrayList2.add(str); Object[] array = arrayList2.toArray(new Object[0]); Intrinsics.checkNotNull(array, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); arrayList.add(Integer.valueOf(array.length)); CollectionsKt.addAll(arrayList, array); arrayList.add(String.valueOf(aaVar.hashCode())); getGroupRobotListForInvite.kernelCallback.1 r1 = new getGroupRobotListForInvite.kernelCallback.1(aaVar); Object[] array2 = arrayList.toArray(new Object[0]); Intrinsics.checkNotNull(array2, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); l(true, "getGroupRobotListForInvite", array2, r1); }
public final void B(@NotNull j jVar, @NotNull ac acVar) { ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); arrayList2.add("botUin"); arrayList2.add(String.valueOf(jVar.a())); arrayList2.add("position"); arrayList2.add(Integer.valueOf(jVar.b())); Object[] array = arrayList2.toArray(new Object[0]); Intrinsics.checkNotNull(array, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); arrayList.add(Integer.valueOf(array.length)); CollectionsKt.addAll(arrayList, array); arrayList.add(String.valueOf(acVar.hashCode())); getRedDot.kernelCallback.1 r1 = new getRedDot.kernelCallback.1(acVar); Object[] array2 = arrayList.toArray(new Object[0]); Intrinsics.checkNotNull(array2, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); l(true, "getRedDot", array2, r1); }
public final void C(long j) { String str; ArrayList arrayList = new ArrayList(); if (j == 0) { str = "0"; } else if (j > 0) { str = Long.toString(j, 10); } else { char[] cArr = new char[64]; long j2 = (j >>> 1) / 5; long j3 = 10; int i = 63; cArr[63] = Character.forDigit((int) (j - (j2 * j3)), 10); while (j2 > 0) { i--; cArr[i] = Character.forDigit((int) (j2 % j3), 10); j2 /= j3; } str = new String(cArr, i, 64 - i); } arrayList.add(str); Object[] array = arrayList.toArray(new Object[0]); Intrinsics.checkNotNull(array, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); k("removeKernelRobotListener", array, (Function1) null); ((LinkedHashMap) this.c).clear(); }
public final void D(@NotNull s sVar, @NotNull a aVar) { ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); arrayList2.add("modelId"); arrayList2.add(sVar.b()); arrayList2.add("uid"); arrayList2.add(sVar.c()); arrayList2.add("buttonIds"); arrayList2.add(Integer.valueOf(sVar.a().size())); arrayList2.addAll(sVar.a()); arrayList2.add("unSelectedbtnIds"); arrayList2.add(Integer.valueOf(sVar.d().size())); arrayList2.addAll(sVar.d()); Object[] array = arrayList2.toArray(new Object[0]); Intrinsics.checkNotNull(array, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); arrayList.add(Integer.valueOf(array.length)); CollectionsKt.addAll(arrayList, array); arrayList.add(String.valueOf(aVar.hashCode())); saveSelectedAIModelOrOptIds.kernelCallback.1 r1 = new saveSelectedAIModelOrOptIds.kernelCallback.1(aVar); Object[] array2 = arrayList.toArray(new Object[0]); Intrinsics.checkNotNull(array2, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); l(true, "saveSelectedAIModelOrOptIds", array2, r1); }
public final void E(@NotNull bm bmVar, @NotNull v vVar) { String str; String str2; String str3; String str4; ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); arrayList2.add("botAppId"); long b = bmVar.b(); String str5 = "0"; if (b == 0) { str2 = "0"; str = str2; } else if (b > 0) { str2 = Long.toString(b, 10); str = "0"; } else { char[] cArr = new char[64]; long j = (b >>> 1) / 5; long j2 = 10; cArr[63] = Character.forDigit((int) (b - (j * j2)), 10); int i = 63; while (j > 0) { i--; cArr[i] = Character.forDigit((int) (j % j2), 10); j /= j2; str5 = str5; } str = str5; str2 = new String(cArr, i, 64 - i); } arrayList2.add(str2); arrayList2.add("botUin"); long d2 = bmVar.d(); if (d2 == 0) { str3 = str; } else if (d2 > 0) { str3 = Long.toString(d2, 10); } else { char[] cArr2 = new char[64]; long j3 = (d2 >>> 1) / 5; long j4 = 10; cArr2[63] = Character.forDigit((int) (d2 - (j3 * j4)), 10); int i2 = 63; while (j3 > 0) { i2--; cArr2[i2] = Character.forDigit((int) (j3 % j4), 10); j3 /= j4; } str3 = new String(cArr2, i2, 64 - i2); } arrayList2.add(str3); arrayList2.add("callbackData"); arrayList2.add(bmVar.g()); arrayList2.add("c2cUin"); long e = bmVar.e(); if (e == 0) { str4 = str; } else if (e > 0) { str4 = Long.toString(e, 10); } else { char[] cArr3 = new char[64]; long j5 = (e >>> 1) / 5; long j6 = 10; int i3 = 63; cArr3[63] = Character.forDigit((int) (e - (j5 * j6)), 10); while (j5 > 0) { i3--; cArr3[i3] = Character.forDigit((int) (j5 % j6), 10); j5 /= j6; } str4 = new String(cArr3, i3, 64 - i3); } arrayList2.add(str4); arrayList2.add("chatType"); arrayList2.add(Long.toString(bmVar.h() & 4294967295L, 10)); arrayList2.add("botUid"); arrayList2.add(bmVar.c()); arrayList2.add("action"); arrayList2.add(Integer.valueOf(bmVar.a())); arrayList2.add("callBackType"); arrayList2.add(Integer.valueOf(bmVar.f())); Object[] array = arrayList2.toArray(new Object[0]); Intrinsics.checkNotNull(array, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); arrayList.add(Integer.valueOf(array.length)); CollectionsKt.addAll(arrayList, array); arrayList.add(String.valueOf(vVar.hashCode())); selectAIModel.kernelCallback.1 r1 = new selectAIModel.kernelCallback.1(vVar); Object[] array2 = arrayList.toArray(new Object[0]); Intrinsics.checkNotNull(array2, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); l(true, "selectAIModel", array2, r1); }
@NotNull public String h() { return "KTIKernelRobotService"; }
public final void q(@NotNull en4.a aVar, @NotNull y yVar) { String str; String str2; String str3; ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); arrayList2.add("groupCode"); long c = aVar.c(); if (c == 0) { str2 = "0"; str = str2; } else if (c > 0) { str2 = Long.toString(c, 10); str = "0"; } else { char[] cArr = new char[64]; str = "0"; long j = (c >>> 1) / 5; long j2 = 10; cArr[63] = Character.forDigit((int) (c - (j * j2)), 10); int i = 63; while (j > 0) { i--; cArr[i] = Character.forDigit((int) (j % j2), 10); j /= j2; } str2 = new String(cArr, i, 64 - i); } arrayList2.add(str2); arrayList2.add("botUid"); arrayList2.add(aVar.a()); arrayList2.add("botUin"); long b = aVar.b(); if (b == 0) { str3 = str; } else if (b > 0) { str3 = Long.toString(b, 10); } else { char[] cArr2 = new char[64]; long j3 = (b >>> 1) / 5; long j4 = 10; cArr2[63] = Character.forDigit((int) (b - (j3 * j4)), 10); int i2 = 63; for (long j5 = 0; j3 > j5; j5 = 0) { i2--; cArr2[i2] = Character.forDigit((int) (j3 % j4), 10); j3 /= j4; } str3 = new String(cArr2, i2, 64 - i2); } arrayList2.add(str3); arrayList2.add("param"); arrayList2.add(aVar.e()); arrayList2.add("scene"); arrayList2.add(Integer.valueOf(aVar.f())); arrayList2.add("useLocalTmpCacheFirst"); arrayList2.add(Integer.valueOf(aVar.g() ? 1 : 0)); arrayList2.add("needAddToLocalTmpCache"); arrayList2.add(Integer.valueOf(aVar.d() ? 1 : 0)); Object[] array = arrayList2.toArray(new Object[0]); Intrinsics.checkNotNull(array, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); arrayList.add(Integer.valueOf(array.length)); CollectionsKt.addAll(arrayList, array); arrayList.add(String.valueOf(yVar.hashCode())); GetGroupRobotAuthListDetail.kernelCallback.1 r1 = new GetGroupRobotAuthListDetail.kernelCallback.1(yVar); Object[] array2 = arrayList.toArray(new Object[0]); Intrinsics.checkNotNull(array2, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); l(true, "GetGroupRobotAuthListDetail", array2, r1); }
public final void r(@NotNull km4.a aVar, @NotNull ad adVar) { String str; String str2; long j; String str3; ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); arrayList2.add("groupCode"); long b = aVar.b(); long j2 = 0; int i = 64; if (b == 0) { str2 = "0"; str = str2; } else if (b > 0) { str2 = Long.toString(b, 10); str = "0"; } else { char[] cArr = new char[64]; str = "0"; long j3 = (b >>> 1) / 5; long j4 = 10; cArr[63] = Character.forDigit((int) (b - (j3 * j4)), 10); int i2 = 63; while (j3 > 0) { i2--; cArr[i2] = Character.forDigit((int) (j3 % j4), 10); j3 /= j4; } str2 = new String(cArr, i2, 64 - i2); } arrayList2.add(str2); arrayList2.add("botUins"); arrayList2.add(Integer.valueOf(aVar.a().size())); List a = aVar.a(); ArrayList arrayList3 = new ArrayList(CollectionsKt.collectionSizeOrDefault(a, 10)); Iterator it = a.iterator(); while (it.hasNext()) { long j5 = ((ULong) it.next()).unbox-impl(); if (j5 == j2) { str3 = str; } else if (j5 > j2) { str3 = Long.toString(j5, 10); } else { char[] cArr2 = new char[i]; long j6 = (j5 >>> 1) / 5; long j7 = 10; cArr2[63] = Character.forDigit((int) (j5 - (j6 * j7)), 10); int i3 = 63; j = 0; while (j6 > 0) { i3--; cArr2[i3] = Character.forDigit((int) (j6 % j7), 10); j6 /= j7; } str3 = new String(cArr2, i3, 64 - i3); arrayList3.add(str3); j2 = j; i = 64; } j = j2; arrayList3.add(str3); j2 = j; i = 64; } arrayList2.addAll(arrayList3); arrayList2.add("mainSrcId"); arrayList2.add(Long.toString(aVar.c() & 4294967295L, 10)); arrayList2.add("subSrcId"); arrayList2.add(Long.toString(aVar.d() & 4294967295L, 10)); Object[] array = arrayList2.toArray(new Object[0]); Intrinsics.checkNotNull(array, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); arrayList.add(Integer.valueOf(array.length)); CollectionsKt.addAll(arrayList, array); arrayList.add(String.valueOf(adVar.hashCode())); InviteRobotToGroup.kernelCallback.1 r1 = new InviteRobotToGroup.kernelCallback.1(adVar); Object[] array2 = arrayList.toArray(new Object[0]); Intrinsics.checkNotNull(array2, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); l(true, "InviteRobotToGroup", array2, r1); }
public final void s(@NotNull f fVar, @NotNull af afVar) { String str; String str2; String str3; ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); arrayList2.add("groupCode"); long c = fVar.c(); if (c == 0) { str2 = "0"; str = str2; } else if (c > 0) { str2 = Long.toString(c, 10); str = "0"; } else { char[] cArr = new char[64]; str = "0"; long j = (c >>> 1) / 5; long j2 = 10; cArr[63] = Character.forDigit((int) (c - (j * j2)), 10); int i = 63; while (j > 0) { i--; cArr[i] = Character.forDigit((int) (j % j2), 10); j /= j2; } str2 = new String(cArr, i, 64 - i); } arrayList2.add(str2); arrayList2.add("botUid"); arrayList2.add(fVar.a()); arrayList2.add("botUin"); long b = fVar.b(); if (b == 0) { str3 = str; } else if (b > 0) { str3 = Long.toString(b, 10); } else { char[] cArr2 = new char[64]; long j3 = (b >>> 1) / 5; long j4 = 10; cArr2[63] = Character.forDigit((int) (b - (j3 * j4)), 10); int i2 = 63; for (long j5 = 0; j3 > j5; j5 = 0) { i2--; cArr2[i2] = Character.forDigit((int) (j3 % j4), 10); j3 /= j4; } str3 = new String(cArr2, i2, 64 - i2); } arrayList2.add(str3); arrayList2.add("items"); arrayList2.add(Integer.valueOf(fVar.d().size())); for (c cVar : fVar.d()) { ArrayList arrayList3 = new ArrayList(); arrayList3.add("id"); arrayList3.add(cVar.c()); arrayList3.add("title"); arrayList3.add(cVar.e()); arrayList3.add("desc"); arrayList3.add(cVar.b()); arrayList3.add("valueType"); arrayList3.add(Integer.valueOf(cVar.f())); arrayList3.add("boolSwitch"); arrayList3.add(Integer.valueOf(cVar.a() ? 1 : 0)); arrayList3.add("options"); arrayList3.add(Integer.valueOf(cVar.d().size())); for (d dVar : cVar.d()) { ArrayList arrayList4 = new ArrayList(); arrayList4.add("id"); arrayList4.add(dVar.a()); arrayList4.add("name"); arrayList4.add(dVar.b()); arrayList4.add("value"); arrayList4.add(Long.toString(dVar.d() & 4294967295L, 10)); arrayList4.add("selectList"); arrayList4.add(Integer.valueOf(dVar.c().size())); for (en4.e eVar : dVar.c()) { ArrayList arrayList5 = new ArrayList(); arrayList5.add("name"); arrayList5.add(eVar.b()); arrayList5.add("showName"); arrayList5.add(eVar.c()); arrayList5.add("value"); ArrayList arrayList6 = arrayList3; arrayList5.add(Long.toString(eVar.d() & 4294967295L, 10)); arrayList5.add("disable"); arrayList5.add(Integer.valueOf(eVar.a() ? 1 : 0)); Object[] array = arrayList5.toArray(new Object[0]); Intrinsics.checkNotNull(array, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); arrayList4.add(Integer.valueOf(array.length)); CollectionsKt.addAll(arrayList4, array); arrayList3 = arrayList6; } ArrayList arrayList7 = arrayList3; Object[] array2 = arrayList4.toArray(new Object[0]); Intrinsics.checkNotNull(array2, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); arrayList7.add(Integer.valueOf(array2.length)); CollectionsKt.addAll(arrayList7, array2); arrayList3 = arrayList7; } Object[] array3 = arrayList3.toArray(new Object[0]); Intrinsics.checkNotNull(array3, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); arrayList2.add(Integer.valueOf(array3.length)); CollectionsKt.addAll(arrayList2, array3); } arrayList2.add("source"); arrayList2.add(fVar.e()); Object[] array4 = arrayList2.toArray(new Object[0]); Intrinsics.checkNotNull(array4, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); arrayList.add(Integer.valueOf(array4.length)); CollectionsKt.addAll(arrayList, array4); arrayList.add(String.valueOf(afVar.hashCode())); SetGroupRobotAuth.kernelCallback.1 r1 = new SetGroupRobotAuth.kernelCallback.1(afVar); Object[] array5 = arrayList.toArray(new Object[0]); Intrinsics.checkNotNull(array5, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); l(true, "SetGroupRobotAuth", array5, r1); }
public final void t(@NotNull aw awVar, @NotNull u uVar) { String str; ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); arrayList2.add("robotUin"); long b = awVar.b(); if (b == 0) { str = "0"; } else if (b > 0) { str = Long.toString(b, 10); } else { char[] cArr = new char[64]; long j = (b >>> 1) / 5; long j2 = 10; int i = 63; cArr[63] = Character.forDigit((int) (b - (j * j2)), 10); while (j > 0) { i--; cArr[i] = Character.forDigit((int) (j % j2), 10); j /= j2; } str = new String(cArr, i, 64 - i); } arrayList2.add(str); arrayList2.add("robotUid"); arrayList2.add(awVar.a()); Object[] array = arrayList2.toArray(new Object[0]); Intrinsics.checkNotNull(array, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); arrayList.add(Integer.valueOf(array.length)); CollectionsKt.addAll(arrayList, array); arrayList.add(String.valueOf(uVar.hashCode())); addFriend.kernelCallback.1 r1 = new addFriend.kernelCallback.1(uVar); Object[] array2 = arrayList.toArray(new Object[0]); Intrinsics.checkNotNull(array2, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); l(true, "addFriend", array2, r1); }
public final long u(@NotNull ae aeVar) { ArrayList arrayList = new ArrayList(); arrayList.add(String.valueOf(aeVar.hashCode())); Function1<Object, Unit> function1 = new addKernelRobotListener.kernelRobotListener.1<>(aeVar); Object[] array = arrayList.toArray(new Object[0]); Intrinsics.checkNotNull(array, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); Object l = l(true, "addKernelRobotListener", array, function1); this.c.put(aeVar, function1); Intrinsics.checkNotNull(l, "null cannot be cast to non-null type kotlin.String"); String str = (String) l; if (str.length() == 0) { return 0L; } return StringsKt.startsWith$default(str, "-", false, 2, (Object) null) ? ULong.constructor-impl(Long.parseLong(str)) : UStringsKt.toULong(str); }
public final void v(@NotNull i iVar, @NotNull w wVar) { ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); arrayList2.add("botUin"); arrayList2.add(String.valueOf(iVar.a())); arrayList2.add("position"); arrayList2.add(Integer.valueOf(iVar.c())); arrayList2.add("sessionId"); arrayList2.add(iVar.d()); arrayList2.add("msgId"); if (iVar.b() != null) { ak b = iVar.b(); Intrinsics.checkNotNull(b); ArrayList arrayList3 = new ArrayList(); arrayList3.add("ntSeq"); arrayList3.add(String.valueOf(b.b())); arrayList3.add("msgRand"); arrayList3.add(String.valueOf(b.a())); arrayList3.add("srcTime"); arrayList3.add(String.valueOf(b.c())); Object[] array = arrayList3.toArray(new Object[0]); Intrinsics.checkNotNull(array, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); arrayList2.add(Integer.valueOf(array.length)); CollectionsKt.addAll(arrayList2, array); } else { arrayList2.add(new byte[0]); } Object[] array2 = arrayList2.toArray(new Object[0]); Intrinsics.checkNotNull(array2, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); arrayList.add(Integer.valueOf(array2.length)); CollectionsKt.addAll(arrayList, array2); arrayList.add(String.valueOf(wVar.hashCode())); delRedDot.kernelCallback.1 r8 = new delRedDot.kernelCallback.1(wVar); Object[] array3 = arrayList.toArray(new Object[0]); Intrinsics.checkNotNull(array3, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); l(true, "delRedDot", array3, r8); }
public final void w(@NotNull n nVar, @NotNull ab abVar) { String str; String str2; String str3; ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); arrayList2.add("robotUin"); long f = nVar.f(); if (f == 0) { str2 = "0"; str = str2; } else if (f > 0) { str2 = Long.toString(f, 10); str = "0"; } else { char[] cArr = new char[64]; str = "0"; long j = (f >>> 1) / 5; long j2 = 10; cArr[63] = Character.forDigit((int) (f - (j * j2)), 10); int i = 63; while (j > 0) { i--; cArr[i] = Character.forDigit((int) (j % j2), 10); j /= j2; } str2 = new String(cArr, i, 64 - i); } arrayList2.add(str2); arrayList2.add("groupId"); long c = nVar.c(); if (c == 0) { str3 = str; } else if (c > 0) { str3 = Long.toString(c, 10); } else { char[] cArr2 = new char[64]; long j3 = (c >>> 1) / 5; long j4 = 10; cArr2[63] = Character.forDigit((int) (c - (j3 * j4)), 10); int i2 = 63; for (long j5 = 0; j3 > j5; j5 = 0) { i2--; cArr2[i2] = Character.forDigit((int) (j3 % j4), 10); j3 /= j4; } str3 = new String(cArr2, i2, 64 - i2); } arrayList2.add(str3); arrayList2.add("bkn"); arrayList2.add(nVar.a()); arrayList2.add("robotBizType"); arrayList2.add(Long.toString(nVar.d() & 4294967295L, 10)); arrayList2.add("robotUid"); arrayList2.add(nVar.e()); arrayList2.add("fetchType"); arrayList2.add(Integer.valueOf(nVar.b())); Object[] array = arrayList2.toArray(new Object[0]); Intrinsics.checkNotNull(array, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); arrayList.add(Integer.valueOf(array.length)); CollectionsKt.addAll(arrayList, array); arrayList.add(String.valueOf(abVar.hashCode())); fetchGroupRobotProfileWithReq.kernelCallback.1 r1 = new fetchGroupRobotProfileWithReq.kernelCallback.1(abVar); Object[] array2 = arrayList.toArray(new Object[0]); Intrinsics.checkNotNull(array2, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); l(true, "fetchGroupRobotProfileWithReq", array2, r1); }
@NotNull public final List<b> x() { Object[] array = new ArrayList().toArray(new Object[0]); Intrinsics.checkNotNull(array, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); Object l = l(true, "getAllRobotFriendsFromCache", array, (Function1) null); Object[] objArr = l instanceof Object[] ? (Object[]) l : null; if (objArr != null) { if (!(objArr.length == 0)) { Iterator it = ArrayIteratorKt.iterator(objArr); it.next(); Object next = it.next(); int intValue = next == null ? 0 : next instanceof Integer ? ((Number) next).intValue() : ((Number) next).intValue(); ArrayList arrayList = new ArrayList(); for (int i = 0; i < intValue; i++) { Object next2 = it.next(); int intValue2 = next2 == null ? 0 : next2 instanceof Integer ? ((Number) next2).intValue() : ((Number) next2).intValue(); Object[] objArr2 = new Object[intValue2]; for (int i2 = 0; i2 < intValue2; i2++) { objArr2[i2] = it.next(); } arrayList.add(dn4.c.a(objArr2)); } return arrayList; } } return CollectionsKt.emptyList(); }
public final void y(@NotNull fn4.c cVar, @NotNull x xVar) { String str; ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); arrayList2.add("robotUin"); long a = cVar.a(); if (a == 0) { str = "0"; } else if (a > 0) { str = Long.toString(a, 10); } else { char[] cArr = new char[64]; long j = (a >>> 1) / 5; long j2 = 10; int i = 63; cArr[63] = Character.forDigit((int) (a - (j * j2)), 10); while (j > 0) { i--; cArr[i] = Character.forDigit((int) (j % j2), 10); j /= j2; } str = new String(cArr, i, 64 - i); } arrayList2.add(str); Object[] array = arrayList2.toArray(new Object[0]); Intrinsics.checkNotNull(array, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); arrayList.add(Integer.valueOf(array.length)); CollectionsKt.addAll(arrayList, array); arrayList.add(String.valueOf(xVar.hashCode())); getGroupListForGroupRobot.kernelCallback.1 r1 = new getGroupListForGroupRobot.kernelCallback.1(xVar); Object[] array2 = arrayList.toArray(new Object[0]); Intrinsics.checkNotNull(array2, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); l(true, "getGroupListForGroupRobot", array2, r1); }
public final void z(@NotNull fn4.a aVar, @NotNull z zVar) { ArrayList arrayList = new ArrayList(); Object[] array = new ArrayList().toArray(new Object[0]); Intrinsics.checkNotNull(array, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); arrayList.add(Integer.valueOf(array.length)); CollectionsKt.addAll(arrayList, array); arrayList.add(String.valueOf(zVar.hashCode())); getGroupRobotListForCreate.kernelCallback.1 r0 = new getGroupRobotListForCreate.kernelCallback.1(zVar); Object[] array2 = arrayList.toArray(new Object[0]); Intrinsics.checkNotNull(array2, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"); l(true, "getGroupRobotListForCreate", array2, r0); } }
|