imToken v2.14.1版本的 MD5 值为:83050b2c91219b46832c8336279e7878
以下内容为反编译后的 b.java 源代码,内容仅作参考
package k;
import com.google.android.gms.actions.SearchIntents;
import com.helpscout.beacon.internal.core.model.ArticleApi;
import com.helpscout.beacon.internal.core.model.ArticleDetailsApi;
import com.helpscout.beacon.internal.core.model.ArticleSearchResponseApi;
import com.helpscout.beacon.internal.core.model.ArticleSuggestionApi;
import com.helpscout.beacon.internal.core.model.ArticleSuggestionsResponseApi;
import com.helpscout.beacon.internal.core.model.BeaconArticlesSuggestionConverter;
import com.helpscout.beacon.internal.core.model.BeaconConfigApi;
import com.helpscout.beacon.internal.core.model.CustomFieldValue;
import com.helpscout.beacon.internal.domain.model.AgentsApi;
import com.helpscout.beacon.internal.domain.model.ArticleFeedbackBodyApi;
import com.helpscout.beacon.internal.domain.model.BeaconAgent;
import com.helpscout.beacon.internal.domain.model.BeaconConversationsApi;
import com.helpscout.beacon.internal.domain.model.BeaconConversationsCountApi;
import com.helpscout.beacon.internal.domain.model.ConversationApi;
import com.helpscout.beacon.internal.domain.model.ConversationThreadsApi;
import com.helpscout.beacon.internal.domain.model.CustomField;
import com.helpscout.beacon.internal.domain.model.CustomFieldApi;
import com.helpscout.beacon.internal.domain.model.CustomerStatus;
import com.helpscout.beacon.internal.domain.model.TimelineEvent;
import com.helpscout.beacon.internal.domain.model.TokenApi;
import com.helpscout.beacon.model.BeaconUser;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import kotlin.Metadata;
import kotlin.ResultKt;
import kotlin.Unit;
import kotlin.collections.CollectionsKt;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.IntrinsicsKt;
import kotlin.coroutines.jvm.internal.Boxing;
import kotlin.coroutines.jvm.internal.ContinuationImpl;
import kotlin.coroutines.jvm.internal.DebugMetadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlinx.coroutines.DelayKt;
import okhttp3.ResponseBody;
@Metadata(bv = {}, d1 = {"\u0000¨\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010$\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u0001:\u0001\fB\u000f\u0012\u0006\u0010>\u001a\u00020=¢\u0006\u0004\b?\u0010@J\u0013\u0010\u0003\u001a\u00020\u0002H\u0082@ø\u0001\u0000¢\u0006\u0004\b\u0003\u0010\u0004J\u001b\u0010\b\u001a\u00020\u00072\u0006\u0010\u0006\u001a\u00020\u0005H\u0096@ø\u0001\u0000¢\u0006\u0004\b\b\u0010\tJ\u0019\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u000b0\nH\u0096@ø\u0001\u0000¢\u0006\u0004\b\f\u0010\u0004J#\u0010\f\u001a\u00020\u00102\u0006\u0010\r\u001a\u00020\u00052\u0006\u0010\u000f\u001a\u00020\u000eH\u0096@ø\u0001\u0000¢\u0006\u0004\b\f\u0010\u0011J\u001b\u0010\f\u001a\u00020\u00132\u0006\u0010\u0012\u001a\u00020\u0005H\u0096@ø\u0001\u0000¢\u0006\u0004\b\f\u0010\tJ#\u0010\f\u001a\u00020\u00022\u0006\u0010\u0012\u001a\u00020\u00052\u0006\u0010\u0015\u001a\u00020\u0014H\u0096@ø\u0001\u0000¢\u0006\u0004\b\f\u0010\u0016J\u0013\u0010\u0018\u001a\u00020\u0017H\u0096@ø\u0001\u0000¢\u0006\u0004\b\u0018\u0010\u0004J\u0019\u0010\b\u001a\b\u0012\u0004\u0012\u00020\u00190\nH\u0096@ø\u0001\u0000¢\u0006\u0004\b\b\u0010\u0004J\u0019\u0010\u001b\u001a\b\u0012\u0004\u0012\u00020\u001a0\nH\u0096@ø\u0001\u0000¢\u0006\u0004\b\u001b\u0010\u0004J\u0013\u0010\u001c\u001a\u00020\u000eH\u0096@ø\u0001\u0000¢\u0006\u0004\b\u001c\u0010\u0004J\u001b\u0010\f\u001a\u00020\u001d2\u0006\u0010\u000f\u001a\u00020\u000eH\u0096@ø\u0001\u0000¢\u0006\u0004\b\f\u0010\u001eJ\u001b\u0010!\u001a\u00020 2\u0006\u0010\u001f\u001a\u00020\u0005H\u0096@ø\u0001\u0000¢\u0006\u0004\b!\u0010\tJ#\u0010\u001c\u001a\u00020\"2\u0006\u0010\u001f\u001a\u00020\u00052\u0006\u0010\u000f\u001a\u00020\u000eH\u0096@ø\u0001\u0000¢\u0006\u0004\b\u001c\u0010\u0011J#\u0010\f\u001a\u00020\u00022\u0006\u0010#\u001a\u00020\u00052\u0006\u0010$\u001a\u00020\u0005H\u0096@ø\u0001\u0000¢\u0006\u0004\b\f\u0010%J1\u0010\f\u001a\u00020\u00022\u0006\u0010#\u001a\u00020\u00052\u0006\u0010&\u001a\u00020\u00052\f\u0010'\u001a\b\u0012\u0004\u0012\u00020\u00050\nH\u0096@ø\u0001\u0000¢\u0006\u0004\b\f\u0010(JK\u0010\f\u001a\u00020\u00052\u0006\u0010*\u001a\u00020)2\f\u0010,\u001a\b\u0012\u0004\u0012\u00020+0\n2\f\u0010.\u001a\b\u0012\u0004\u0012\u00020-0\n2\u0012\u00100\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u00020\u00050/H\u0096@ø\u0001\u0000¢\u0006\u0004\b\f\u00101J\u001b\u0010\u001c\u001a\u0002022\u0006\u0010\u001f\u001a\u00020\u0005H\u0096@ø\u0001\u0000¢\u0006\u0004\b\u001c\u0010\tJ\u001b\u0010\u0018\u001a\u0002022\u0006\u00103\u001a\u00020\u0005H\u0096@ø\u0001\u0000¢\u0006\u0004\b\u0018\u0010\tJ\u001b\u0010\f\u001a\u0002062\u0006\u00105\u001a\u000204H\u0096@ø\u0001\u0000¢\u0006\u0004\b\f\u00107J\u001b\u0010\f\u001a\u00020\u00052\u0006\u00109\u001a\u000208H\u0096@ø\u0001\u0000¢\u0006\u0004\b\f\u0010:J#\u0010\u001c\u001a\u00020\u00072\u0006\u0010#\u001a\u00020\u00052\u0006\u0010;\u001a\u00020\u0005H\u0096@ø\u0001\u0000¢\u0006\u0004\b\u001c\u0010%J\u001b\u0010\u001b\u001a\u00020\u00052\u0006\u0010<\u001a\u00020\u0005H\u0096@ø\u0001\u0000¢\u0006\u0004\b\u001b\u0010\tJ\u0013\u0010!\u001a\u00020\u0005H\u0096@ø\u0001\u0000¢\u0006\u0004\b!\u0010\u0004\u0082\u0002\u0004\n\u0002\b\u0019¨\u0006A"}, d2 = {"Lk/b;", "Lk/a;", "", "g", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "", "attachmentUrl", "Lokhttp3/ResponseBody;", "e", "(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "", "Lcom/helpscout/beacon/internal/core/model/ArticleApi;", "a", SearchIntents.EXTRA_QUERY, "", "page", "Lcom/helpscout/beacon/internal/core/model/ArticleSearchResponseApi;", "(Ljava/lang/String;ILkotlin/coroutines/Continuation;)Ljava/lang/Object;", "articleId", "Lcom/helpscout/beacon/internal/core/model/ArticleDetailsApi;", "Lcom/helpscout/beacon/internal/domain/model/ArticleFeedbackBodyApi;", "feedback", "(Ljava/lang/String;Lcom/helpscout/beacon/internal/domain/model/ArticleFeedbackBodyApi;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "Lcom/helpscout/beacon/internal/core/model/BeaconConfigApi;", "d", "Lcom/helpscout/beacon/internal/domain/model/BeaconAgent;", "Lcom/helpscout/beacon/internal/domain/model/CustomField;", "c", "b", "Lcom/helpscout/beacon/internal/domain/model/BeaconConversationsApi;", "(ILkotlin/coroutines/Continuation;)Ljava/lang/Object;", "id", "Lcom/helpscout/beacon/internal/domain/model/ConversationApi;", "f", "Lcom/helpscout/beacon/internal/domain/model/ConversationThreadsApi;", "conversationId", "threadId", "(Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "message", "attachments", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "La1/e;", "formFieldValues", "Lcom/helpscout/beacon/internal/core/model/CustomFieldValue;", "customFieldValues", "Lcom/helpscout/beacon/internal/domain/model/TimelineEvent;", "events", "", "sessionAttributes", "(La1/e;Ljava/util/List;Ljava/util/List;Ljava/util/Map;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "", "token", "Lcom/helpscout/beacon/model/BeaconUser;", "beaconUser", "Lcom/helpscout/beacon/internal/domain/model/CustomerStatus;", "(Lcom/helpscout/beacon/model/BeaconUser;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "La1/d;", "attachment", "(La1/d;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "attachmentId", "name", "La/a;", "parser", "<init>", "(La/a;)V", "beacon_release"}, k = 1, mv = {1, 7, 1})
public final class b implements k.a {
public static final a f2215b = new a(null);
private static final String f2216c = "\n {\n \"token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIyNlFwdGZNTVM4dHVrNnVPRTBocnpjZnRoYmNJRWpPODNBdTBnUFp0RzdDbHJJeE41eGFvZjFKdllnMjJSV2tldzRTcE1qSFJRRzkyV0JJQ2xGcEFwS2JSeTYvamsxcUNBMFVOelI5UnU2N2N1Lzk2QThlWllna2xHbTl3VjVHejRUcUFXUFZlWUM5cUdZY3VtNEJuUkZGNnFvQUZHRXlwOUJDMXVjV3FoZHhNT0tEZ3AzS0RKRUkzQXpKUmlreENEdzhQZHZDK0ZyK055UzRhK0VYSVBaM1NtRURtY3BReUY4bjBPRHZ3N1Vhekl5UGdmU2srNVRuSUJPNVFwYUZSOUMwN3JEakFiNmE2VXg5RERPS0tYTXdVSXlLdGhkRXpCUUZicEFiUE1kNVJ3MUhqWmxSc0VFRkx3NXdzckJTMlVaK2pNeWxSSzRGNGVxaEN5UHJRYXI3RzdkYTM0RmREeFdNVkJjQ1gxZ09razNIYm15NUpGR3hmS3h0ZVVndjNYK1NrZ3ZLR1ZFY2pKejJVKzNJdEtwODM4eXpjU09aQUZJQnY0a25jekxOM3JwazlOL0dHMktsTmlWT016RjJod0F0QkRMNndNVEQzcXlvUm9hT3NNeHpJUFlzOGw0MFZTOVp5U29PYzBJVEhzd0F1ZVN2TjFBQVk3NmkyNUd1ckNQZzJINjE1UDJyc2hFT2I0NmphaDdSTWF4eWNldlNmVy9ObHB4VmwyemlReXBWeVdId1hQSXpxdG1NZjl4SUptMkpVVzhJdUZvYUVJVVAyc3RTTEpGUFA5S0hzVGxobWI4dlFCV1FGcU1wcnBPSE5FUytNSUVzNlhHc3U5MHZhamozdU02L3l2dG9sUit1Nkx1LzJraWRQV2VEckR5bDQzMkVWZkVnUkpFNFFweDI0VjFycU44ZWR0YUVKK2hVTXhUMzlQZVkzMERGSU1RdXU0Kytjd3p1eTZuZXl4WGRFdVZWay8wQTBqalBCUW5lVlNnRks6Vm9KbE1RL3Rla0Jna1dOYyIsImlzcyI6ImJlYWNvbi1hcGkiLCJleHAiOjE1NTY3MTgxMDAsImlhdCI6MTU1NjcxNDUwMCwianRpIjoiOWU0MzczNmUtNjliNi00MWNkLWJiYTctN2U2MWUwZDcyMDc2In0.kJ1C4kE9EJfc6NCOIMgOSlkUj1Fn9V9-G5qBT_PA7uw\"\n }\n ";
private static final String f2217d = "\n {\n \"id\": \"beaconId\",\n \"name\":\"Beacon 1\",\n \"display\": {\n \"style\":\"iconAndText\",\n \"text\":\"text label\",\n \"textAlign\":\"left\",\n \"iconImage\":\"beacon\",\n \"color\":\"#32a8d9\",\n \"postiton\":\"right\",\n \"zIndex\":1050,\n \"showPoweredBy\":true\n },\n \"docsEnabled\":true,\n \"messagingEnabled\": true,\n \"messaging\": {\n \"expectedResponseTime\": \"hrs\",\n \"authType\":\"basic\",\n \"chatEnabled\":true,\n \"contactForm\":{\n \"showName\":false,\n \"showSubject\":false,\n \"allowAttachments\":true,\n \"customFieldsEnabled\":true\n }\n },\n \"labels\": {\n \"searchLabel\":\"What can we help you with?\",\n \"noResultsLabel\":\"Our own text for no results\"\n }\n }\n ";
private static final String f2218e = "\n {\n \"id\":\"52b467e9e4b0a3b4e5ec644c\",\n \"name\":\"Manage multiple Docs sites\",\n \"text\":\"<html><body><p> You might want to create different Docs ss. </p></body></html>\",\n \"related\":[\n {\n \"id\":\"524db929e4b0c2199a391f39\",\n \"name\":\"Email commands \",\n \"url\":\"http://docs.helpscout.net/article/43-email-commands\"\n },\n {\n \"id\":\"52b5b007e4b0a3b4e5ec64da\",\n \"name\":\"How mailboxes work in Help Scout\",\n \"url\":\"http://docs.helpscout.net/article/231-mailboxes\"\n }\n ],\n \"url\":\"http://docs.helpscout.net/article/229-multiple-docs-sites\"\n }\n ";
private static final String f2219f = "\n {\"items\":[{\"type\":\"article\",\"suggestion\":{\"id\":\"54f0a3e8e4b086c0c096a1de\",\"name\":\"Mock working with variables\",\"url\":\"http://docs.brightwurks.com/article/468-variables\"}},{\"type\":\"article\",\"suggestion\":{\"id\":\"525552b4e4b0fc33a10a7ca1\",\"name\":\"Forward from Outlook.com and Office365\",\"url\":\"http://docs.brightwurks.com/article/76-office-outlook-forwarding\"}},{\"type\":\"article\",\"suggestion\":{\"id\":\"525216e7e4b00055e61de9d4\",\"name\":\"Enable and respond to email notifications\",\"url\":\"http://docs.brightwurks.com/article/67-email-notifications\"}},{\"type\":\"link\",\"suggestion\":{\"url\":\"http://helpscout.com\",\"text\":\"Help Scout\"}},{\"type\":\"link\",\"suggestion\":{\"url\":\"http://bbc.co.uk\",\"text\":\"BBC News\"}}]}\n ";
private static final String f2220g = "\n {\n \"items\":[\n {\n \"id\":\"524db929e4b0c2199a391f39\",\n \"name\":\"Mock Email commands \",\n \"preview\":\"Email commands allow you to update Help Scout conversations via your email client...\",\n \"url\":\"http://docs.helpscout.net/article/43-email-commands\"\n },\n {\n \"id\":\"52b5b007e4b0a3b4e5ec64da\",\n \"name\":\"Mock How mailboxes work in Help Scout\",\n \"preview\":\"A mailbox in Help Scout is like any other inbox: it holds email. Your support team will work ...\",\n \"url\":\"http://docs.helpscout.net/article/231-mailboxes\"\n }\n ],\n \"paging\" : {\n \"page\" : 1,\n \"pages\" : 4,\n \"pageSize\" : 20,\n \"count\" : 75\n }\n }\n ";
private static final String f2221h = "\n {\n \"items\":[\n {\n \"id\":1234,\n \"threadCount\": 5,\n \"subject\":\"Mock I need help!\",\n \"firstThread\": {\n \"preview\": \"I’d like a refund for this month’s subscription as your service has been consistenly crashing\",\n \"createdAt\": \"2015-06-12T11:39:00Z\",\n \"createdBy\": {\n \"type\": \"customer\",\n \"name\": \"Harry Hoola\",\n \"initials\": \"HH\",\n \"image\": \"https://s3.amazonaws.com/dev.helpscout.net/users/4.541.png\"\n }\n },\n \"lastThread\": {\n \"preview\": \"Mock Sorry About that, it looks like\",\n \"createdAt\": \"2015-06-12T10:35:00Z\",\n \"createdBy\": {\n \"type\": \"user\",\n \"name\": \"Denny Swindle\",\n \"initials\": \"DS\",\n \"image\": \"https://s3.amazonaws.com/dev.helpscout.net/users/4.541.png\"\n }\n },\n \"participants\": [\n {\n \"name\":\"Denny Swindle\",\n \"initials\":\"DS\",\n \"image\":\"https://d33v4339jhl8k0.cloudfront.net/users/120359.49685.png\"\n },\n {\n \"name\":\"Nick Francis\",\n \"initials\":\"NF\",\n \"image\":\"https://d33v4339jhl8k0.cloudfront.net/users/120359.49685.png\"\n }\n ]\n },\n {\n \"id\":1234,\n \"threadCount\": 5,\n \"subject\":\"I need help!\",\n \"firstThread\": {\n \"preview\": \"I need help adding a team member\",\n \"createdAt\": \"2015-06-12T11:39:00Z\",\n \"createdBy\": {\n \"type\": \"customer\",\n \"name\": \"Harry Hoola\",\n \"initials\": \"HH\",\n \"image\": \"https://s3.amazonaws.com/dev.helpscout.net/users/4.541.png\"\n }\n },\n \"lastThread\": {\n \"preview\": \"Sorry About that, it looks like\",\n \"createdAt\": \"2015-06-12T10:35:00Z\",\n \"createdBy\": {\n \"type\": \"user\",\n \"name\": \"Denny Swindle\",\n \"initials\": \"DS\",\n \"image\": \"https://s3.amazonaws.com/dev.helpscout.net/users/4.541.png\"\n }\n },\n \"participants\": [\n {\n \"name\":\"Denny Swindle\",\n \"initials\":\"DS\",\n \"image\":\"https://d33v4339jhl8k0.cloudfront.net/users/120359.49685.png\"\n },\n {\n \"name\":\"Nick Francis\",\n \"initials\":\"NF\",\n \"image\":\"https://d33v4339jhl8k0.cloudfront.net/users/120359.49685.png\"\n }\n ]\n }\n ],\n \"paging\" : {\n \"page\" : 1,\n \"pages\" : 4,\n \"pageSize\" : 20,\n \"count\" : 75\n }\n }\n\n\n ";
private static final String f2222i = "\n {\n \"items\": [{\n \"id\": 1637063678,\n \"createdAt\": \"2018-06-08T09:19:16.000Z\",\n \"body\": \"Best\",\n \"type\": \"message\",\n \"customerViewed\": false,\n \"preview\": \"Best\",\n \"createdBy\": {\n \"type\": \"self\",\n \"name\": \"Scott\",\n \"initials\": \"S\",\n \"image\": \"https://d33v4339jhl8k0.cloudfront.net/customer-avatar/07.png\"\n },\n \"attachments\": []\n }, {\n \"id\": 1637059200,\n \"createdAt\": \"2018-06-08T09:16:11.000Z\",\n \"body\": \"Test\",\n \"type\": \"message\",\n \"customerViewed\": false,\n \"preview\": \"Test\",\n \"createdBy\": {\n \"type\": \"self\",\n \"name\": \"Scott\",\n \"initials\": \"S\",\n \"image\": \"https://d33v4339jhl8k0.cloudfront.net/customer-avatar/07.png\"\n },\n \"attachments\": []\n }, {\n \"id\": 1637034514,\n \"createdAt\": \"2018-06-08T08:59:46.000Z\",\n \"body\": \"This is a ALLL my message\",\n \"type\": \"message\",\n \"customerViewed\": false,\n \"preview\": \"This is a ALLL my message\",\n \"createdBy\": {\n \"type\": \"self\",\n \"name\": \"Scott\",\n \"initials\": \"S\",\n \"image\": \"https://d33v4339jhl8k0.cloudfront.net/customer-avatar/07.png\"\n },\n \"attachments\": []\n }],\n \"paging\": {\n \"page\": 3,\n \"pages\": 4,\n \"pageSize\": 10,\n \"count\": 32\n }\n }\n ";
private static final String f2223j = "\n {\n \"id\":1234,\n \"subject\":\"I need help!\",\n \"participants\": [\n {\n \"name\":\"Denny Swindle\",\n \"initials\":\"DS\",\n \"image\":\"https://d33v4339j4l8k0.cloudfront.net/users/1.1.jpg\"\n },\n {\n \"name\":\"Nick Francis\",\n \"initials\":\"NF\",\n \"image\":\"https://d33v4339j4l8k0.cloudfront.net/users/1.2.jpg\"\n }\n ],\n \"threads\": {\n \"items\":[\n {\n \"id\":1234,\n \"createdAt\": \"2016-09-20T13:25:06Z\",\n \"body\": \"Hello can you help me please ...\",\n \"createdBy\": {\n \"type\": \"user\",\n \"name\": \"Denny Swindle\",\n \"initials\": \"DS\",\n \"image\": \"https://s3.amazonaws.com/dev.helpscout.net/users/4.541.png\"\n },\n \"uploadAttachmentStates\" : [ {\n \"id\" : 1,\n \"createdAt\" : \"2015-06-12T11:39:00Z\",\n \"mimeType\" : \"mime type\",\n \"filename\" : \"file.jpg\"\n }]\n },\n {\n \"id\":1235,\n \"createdAt\": \"2016-09-20T13:25:06Z\",\n \"body\": \"Of course sir, what do you need?\",\n \"createdBy\": {\n \"type\": \"user\",\n \"name\": \"David Gonzalez\",\n \"initials\": \"DG\",\n \"image\": \"https://d33v4339jhl8k0.cloudfront.net/users/120359.49685.png\"\n },\n \"uploadAttachmentStates\" : [ {\n \"id\" : 1,\n \"createdAt\" : \"2015-06-12T11:39:00Z\",\n \"mimeType\" : \"mime type\",\n \"filename\" : \"file.jpg\"\n }]\n }\n ],\n \"paging\" : {\n \"page\" : 1,\n \"pages\" : 4,\n \"pageSize\" : 20,\n \"count\" : 75\n }\n }\n }\n ";
private static final String f2224k = "\n {\n \"items\": [\n {\n \"name\": \"Amanda Fong\",\n \"initials\": \"AF\",\n \"image\": \"https://s3.amazonaws.com/dev.helpscout.net/users/4338.494.jpg\"\n },\n {\n \"name\": \"Bob Stalmach\",\n \"initials\": \"BS\",\n \"image\": \"https://s3.amazonaws.com/dev.helpscout.net/users/4359.536.jpg\"\n },\n {\n \"name\": \"Buddy Tester\",\n \"initials\": \"BT\",\n \"image\": \"https://s3.amazonaws.com/dev.helpscout.net/users/4351.538.jpg\"\n },\n {\n \"name\": \"Carlin Isaacson\",\n \"initials\": \"CI\",\n \"image\": \"https://1.gravatar.com/avatar/8d6754168cf402ac2482448358df257d\"\n },\n {\n \"name\": \"Chris Brookins\",\n \"initials\": \"CB\",\n \"image\": \"https://s3.amazonaws.com/dev.helpscout.net/users/4351.538.jpg\"\n }\n ]\n }\n ";
private static final String f2225l = "\n {\n \"items\": [{\n \"id\":5,\n \"required\":false,\n \"type\":\"singleline\",\n \"name\":\"Trello Card\",\n \"options\":[]\n },\n {\n \"id\":2,\n \"required\":true,\n \"type\":\"dropdown\",\n \"name\":\"Favorite Color\",\n \"options\":[\n {\n \"id\":1,\n \"label\":\"red\"\n },\n {\n \"id\":5,\n \"label\":\"blue\"\n }\n ]\n }\n ]\n }\n ";
private static final String f2226m = "\n {\n \"count\" : 75\n }\n ";
private final a.a f2227a;
@Metadata(bv = {}, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0004"}, d2 = {"Lk/b$a;", "", "<init>", "()V", "beacon_release"}, k = 1, mv = {1, 7, 1})
public static final class a {
private a() {
}
public a(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
}
@Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
@DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {}, l = {123}, m = "createConversation", n = {}, s = {})
public static final class C0110b extends ContinuationImpl {
Object f2228a;
int f2230c;
C0110b(Continuation<? super C0110b> continuation) {
super(continuation);
}
@Override
public final Object invokeSuspend(Object obj) {
this.f2228a = obj;
this.f2230c |= Integer.MIN_VALUE;
return b.this.a(null, null, null, null, this);
}
}
@Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
@DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {}, l = {156}, m = "downloadThreadAttachment", n = {}, s = {})
public static final class c extends ContinuationImpl {
Object f2231a;
int f2233c;
c(Continuation<? super c> continuation) {
super(continuation);
}
@Override
public final Object invokeSuspend(Object obj) {
this.f2231a = obj;
this.f2233c |= Integer.MIN_VALUE;
return b.this.b((String) null, (String) null, this);
}
}
@Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
@DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {73}, m = "getAgents", n = {"this"}, s = {"L$0"})
public static final class d extends ContinuationImpl {
Object f2234a;
Object f2235b;
int f2237d;
d(Continuation<? super d> continuation) {
super(continuation);
}
@Override
public final Object invokeSuspend(Object obj) {
this.f2235b = obj;
this.f2237d |= Integer.MIN_VALUE;
return b.this.e(this);
}
}
@Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
@DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {56}, m = "getArticleById", n = {"this"}, s = {"L$0"})
public static final class e extends ContinuationImpl {
Object f2238a;
Object f2239b;
int f2241d;
e(Continuation<? super e> continuation) {
super(continuation);
}
@Override
public final Object invokeSuspend(Object obj) {
this.f2239b = obj;
this.f2241d |= Integer.MIN_VALUE;
return b.this.a((String) null, this);
}
}
@Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
@DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {68}, m = "getBeaconConfig", n = {"this"}, s = {"L$0"})
public static final class f extends ContinuationImpl {
Object f2242a;
Object f2243b;
int f2245d;
f(Continuation<? super f> continuation) {
super(continuation);
}
@Override
public final Object invokeSuspend(Object obj) {
this.f2243b = obj;
this.f2245d |= Integer.MIN_VALUE;
return b.this.d(this);
}
}
@Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
@DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {93}, m = "getConversation", n = {"this"}, s = {"L$0"})
public static final class g extends ContinuationImpl {
Object f2246a;
Object f2247b;
int f2249d;
g(Continuation<? super g> continuation) {
super(continuation);
}
@Override
public final Object invokeSuspend(Object obj) {
this.f2247b = obj;
this.f2249d |= Integer.MIN_VALUE;
return b.this.f(null, this);
}
}
@Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
@DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {101}, m = "getConversationThreads", n = {"this"}, s = {"L$0"})
public static final class h extends ContinuationImpl {
Object f2250a;
Object f2251b;
int f2253d;
h(Continuation<? super h> continuation) {
super(continuation);
}
@Override
public final Object invokeSuspend(Object obj) {
this.f2251b = obj;
this.f2253d |= Integer.MIN_VALUE;
return b.this.b((String) null, 0, this);
}
}
@Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
@DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {88}, m = "getConversations", n = {"this"}, s = {"L$0"})
public static final class i extends ContinuationImpl {
Object f2254a;
Object f2255b;
int f2257d;
i(Continuation<? super i> continuation) {
super(continuation);
}
@Override
public final Object invokeSuspend(Object obj) {
this.f2255b = obj;
this.f2257d |= Integer.MIN_VALUE;
return b.this.a(0, this);
}
}
@Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
@DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {83}, m = "getConversationsCount", n = {"this"}, s = {"L$0"})
public static final class j extends ContinuationImpl {
Object f2258a;
Object f2259b;
int f2261d;
j(Continuation<? super j> continuation) {
super(continuation);
}
@Override
public final Object invokeSuspend(Object obj) {
this.f2259b = obj;
this.f2261d |= Integer.MIN_VALUE;
return b.this.b(this);
}
}
@Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
@DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {78}, m = "getCustomFields", n = {"this"}, s = {"L$0"})
public static final class k extends ContinuationImpl {
Object f2262a;
Object f2263b;
int f2265d;
k(Continuation<? super k> continuation) {
super(continuation);
}
@Override
public final Object invokeSuspend(Object obj) {
this.f2263b = obj;
this.f2265d |= Integer.MIN_VALUE;
return b.this.c(this);
}
}
@Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
@DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0, 0}, l = {45}, m = "getSuggestions", n = {"suggestions", "converter"}, s = {"L$0", "L$1"})
public static final class l extends ContinuationImpl {
Object f2266a;
Object f2267b;
Object f2268c;
int f2270e;
l(Continuation<? super l> continuation) {
super(continuation);
}
@Override
public final Object invokeSuspend(Object obj) {
this.f2268c = obj;
this.f2270e |= Integer.MIN_VALUE;
return b.this.a(this);
}
}
@Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
@DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {}, l = {138}, m = "identifyCustomer", n = {}, s = {})
public static final class m extends ContinuationImpl {
Object f2271a;
int f2273c;
m(Continuation<? super m> continuation) {
super(continuation);
}
@Override
public final Object invokeSuspend(Object obj) {
this.f2271a = obj;
this.f2273c |= Integer.MIN_VALUE;
return b.this.a((BeaconUser) null, this);
}
}
@Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
@DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {}, l = {133}, m = "registerPushToken", n = {}, s = {})
public static final class n extends ContinuationImpl {
Object f2274a;
int f2276c;
n(Continuation<? super n> continuation) {
super(continuation);
}
@Override
public final Object invokeSuspend(Object obj) {
this.f2274a = obj;
this.f2276c |= Integer.MIN_VALUE;
return b.this.d(null, this);
}
}
@Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
@DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {51}, m = "searchForArticles", n = {"searchItemsApi"}, s = {"L$0"})
public static final class o extends ContinuationImpl {
Object f2277a;
Object f2278b;
int f2280d;
o(Continuation<? super o> continuation) {
super(continuation);
}
@Override
public final Object invokeSuspend(Object obj) {
this.f2278b = obj;
this.f2280d |= Integer.MIN_VALUE;
return b.this.a((String) null, 0, this);
}
}
@Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
@DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {}, l = {128}, m = "subscribeToConversation", n = {}, s = {})
public static final class p extends ContinuationImpl {
Object f2281a;
int f2283c;
p(Continuation<? super p> continuation) {
super(continuation);
}
@Override
public final Object invokeSuspend(Object obj) {
this.f2281a = obj;
this.f2283c |= Integer.MIN_VALUE;
return b.this.b(null, this);
}
}
@Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
@DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {}, l = {143}, m = "uploadAttachment", n = {}, s = {})
public static final class q extends ContinuationImpl {
Object f2284a;
int f2286c;
q(Continuation<? super q> continuation) {
super(continuation);
}
@Override
public final Object invokeSuspend(Object obj) {
this.f2284a = obj;
this.f2286c |= Integer.MIN_VALUE;
return b.this.a((a1.d) null, this);
}
}
public b(a.a parser) {
Intrinsics.checkNotNullParameter(parser, "parser");
this.f2227a = parser;
}
private final Object g(Continuation<? super Unit> continuation) {
Object delay = DelayKt.delay(1500L, continuation);
return delay == IntrinsicsKt.getCOROUTINE_SUSPENDED() ? delay : Unit.INSTANCE;
}
@Override
public Object a(int i2, Continuation<? super BeaconConversationsApi> continuation) {
i iVar;
int i3;
b bVar;
if (continuation instanceof i) {
iVar = (i) continuation;
int i4 = iVar.f2257d;
if ((i4 & Integer.MIN_VALUE) != 0) {
iVar.f2257d = i4 - Integer.MIN_VALUE;
Object obj = iVar.f2255b;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i3 = iVar.f2257d;
if (i3 != 0) {
ResultKt.throwOnFailure(obj);
iVar.f2254a = this;
iVar.f2257d = 1;
if (g(iVar) == coroutine_suspended) {
return coroutine_suspended;
}
bVar = this;
} else if (i3 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
bVar = (b) iVar.f2254a;
ResultKt.throwOnFailure(obj);
}
a.a aVar = bVar.f2227a;
Object a2 = d.c.f1839a.a(BeaconConversationsApi.class).a(f2221h);
Intrinsics.checkNotNull(a2);
return a2;
}
}
iVar = new i(continuation);
Object obj2 = iVar.f2255b;
Object coroutine_suspended2 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i3 = iVar.f2257d;
if (i3 != 0) {
}
a.a aVar2 = bVar.f2227a;
Object a22 = d.c.f1839a.a(BeaconConversationsApi.class).a(f2221h);
Intrinsics.checkNotNull(a22);
return a22;
}
@Override
public Object a(a1.d dVar, Continuation<? super String> continuation) {
q qVar;
int i2;
if (continuation instanceof q) {
qVar = (q) continuation;
int i3 = qVar.f2286c;
if ((i3 & Integer.MIN_VALUE) != 0) {
qVar.f2286c = i3 - Integer.MIN_VALUE;
Object obj = qVar.f2284a;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = qVar.f2286c;
if (i2 != 0) {
ResultKt.throwOnFailure(obj);
qVar.f2286c = 1;
return g(qVar) == coroutine_suspended ? coroutine_suspended : "MOCK_ATTACHMENT_ID";
} else if (i2 == 1) {
ResultKt.throwOnFailure(obj);
return "MOCK_ATTACHMENT_ID";
} else {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
}
}
qVar = new q(continuation);
Object obj2 = qVar.f2284a;
Object coroutine_suspended2 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = qVar.f2286c;
if (i2 != 0) {
}
}
@Override
public Object a(a1.e eVar, List<CustomFieldValue> list, List<? extends TimelineEvent> list2, Map<String, String> map, Continuation<? super String> continuation) {
C0110b c0110b;
int i2;
if (continuation instanceof C0110b) {
c0110b = (C0110b) continuation;
int i3 = c0110b.f2230c;
if ((i3 & Integer.MIN_VALUE) != 0) {
c0110b.f2230c = i3 - Integer.MIN_VALUE;
Object obj = c0110b.f2228a;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = c0110b.f2230c;
if (i2 != 0) {
ResultKt.throwOnFailure(obj);
c0110b.f2230c = 1;
return g(c0110b) == coroutine_suspended ? coroutine_suspended : "MOCK_CONVO_ID";
} else if (i2 == 1) {
ResultKt.throwOnFailure(obj);
return "MOCK_CONVO_ID";
} else {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
}
}
c0110b = new C0110b(continuation);
Object obj2 = c0110b.f2228a;
Object coroutine_suspended2 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = c0110b.f2230c;
if (i2 != 0) {
}
}
@Override
public Object a(BeaconUser beaconUser, Continuation<? super CustomerStatus> continuation) {
m mVar;
int i2;
if (continuation instanceof m) {
mVar = (m) continuation;
int i3 = mVar.f2273c;
if ((i3 & Integer.MIN_VALUE) != 0) {
mVar.f2273c = i3 - Integer.MIN_VALUE;
Object obj = mVar.f2271a;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = mVar.f2273c;
if (i2 != 0) {
ResultKt.throwOnFailure(obj);
mVar.f2273c = 1;
if (g(mVar) == coroutine_suspended) {
return coroutine_suspended;
}
} else if (i2 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
ResultKt.throwOnFailure(obj);
}
return CustomerStatus.UPDATED;
}
}
mVar = new m(continuation);
Object obj2 = mVar.f2271a;
Object coroutine_suspended2 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = mVar.f2273c;
if (i2 != 0) {
}
return CustomerStatus.UPDATED;
}
@Override
public Object a(String str, int i2, Continuation<? super ArticleSearchResponseApi> continuation) {
o oVar;
int i3;
ArticleSearchResponseApi articleSearchResponseApi;
if (continuation instanceof o) {
oVar = (o) continuation;
int i4 = oVar.f2280d;
if ((i4 & Integer.MIN_VALUE) != 0) {
oVar.f2280d = i4 - Integer.MIN_VALUE;
Object obj = oVar.f2278b;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i3 = oVar.f2280d;
if (i3 != 0) {
ResultKt.throwOnFailure(obj);
ArticleSearchResponseApi articleSearchResponseApi2 = (ArticleSearchResponseApi) d.c.f1839a.a(ArticleSearchResponseApi.class).a(f2220g);
oVar.f2277a = articleSearchResponseApi2;
oVar.f2280d = 1;
if (g(oVar) == coroutine_suspended) {
return coroutine_suspended;
}
articleSearchResponseApi = articleSearchResponseApi2;
} else if (i3 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
articleSearchResponseApi = (ArticleSearchResponseApi) oVar.f2277a;
ResultKt.throwOnFailure(obj);
}
Intrinsics.checkNotNull(articleSearchResponseApi);
return articleSearchResponseApi;
}
}
oVar = new o(continuation);
Object obj2 = oVar.f2278b;
Object coroutine_suspended2 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i3 = oVar.f2280d;
if (i3 != 0) {
}
Intrinsics.checkNotNull(articleSearchResponseApi);
return articleSearchResponseApi;
}
@Override
public Object a(String str, ArticleFeedbackBodyApi articleFeedbackBodyApi, Continuation<? super Unit> continuation) {
Object g2 = g(continuation);
return g2 == IntrinsicsKt.getCOROUTINE_SUSPENDED() ? g2 : Unit.INSTANCE;
}
@Override
public Object a(String str, String str2, List<String> list, Continuation<? super Unit> continuation) {
Object g2 = g(continuation);
return g2 == IntrinsicsKt.getCOROUTINE_SUSPENDED() ? g2 : Unit.INSTANCE;
}
@Override
public Object a(String str, String str2, Continuation<? super Unit> continuation) {
Object g2 = g(continuation);
return g2 == IntrinsicsKt.getCOROUTINE_SUSPENDED() ? g2 : Unit.INSTANCE;
}
@Override
public Object a(String str, Continuation<? super ArticleDetailsApi> continuation) {
e eVar;
int i2;
b bVar;
if (continuation instanceof e) {
eVar = (e) continuation;
int i3 = eVar.f2241d;
if ((i3 & Integer.MIN_VALUE) != 0) {
eVar.f2241d = i3 - Integer.MIN_VALUE;
Object obj = eVar.f2239b;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = eVar.f2241d;
if (i2 != 0) {
ResultKt.throwOnFailure(obj);
eVar.f2238a = this;
eVar.f2241d = 1;
if (g(eVar) == coroutine_suspended) {
return coroutine_suspended;
}
bVar = this;
} else if (i2 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
bVar = (b) eVar.f2238a;
ResultKt.throwOnFailure(obj);
}
a.a aVar = bVar.f2227a;
Object a2 = d.c.f1839a.a(ArticleDetailsApi.class).a(f2218e);
Intrinsics.checkNotNull(a2);
return a2;
}
}
eVar = new e(continuation);
Object obj2 = eVar.f2239b;
Object coroutine_suspended2 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = eVar.f2241d;
if (i2 != 0) {
}
a.a aVar2 = bVar.f2227a;
Object a22 = d.c.f1839a.a(ArticleDetailsApi.class).a(f2218e);
Intrinsics.checkNotNull(a22);
return a22;
}
@Override
public Object a(Continuation<? super List<? extends ArticleApi>> continuation) {
l lVar;
int i2;
ArticleSuggestionsResponseApi articleSuggestionsResponseApi;
BeaconArticlesSuggestionConverter beaconArticlesSuggestionConverter;
List<ArticleSuggestionApi> items;
if (continuation instanceof l) {
lVar = (l) continuation;
int i3 = lVar.f2270e;
if ((i3 & Integer.MIN_VALUE) != 0) {
lVar.f2270e = i3 - Integer.MIN_VALUE;
Object obj = lVar.f2268c;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = lVar.f2270e;
if (i2 != 0) {
ResultKt.throwOnFailure(obj);
ArticleSuggestionsResponseApi articleSuggestionsResponseApi2 = (ArticleSuggestionsResponseApi) d.c.f1839a.a(ArticleSuggestionsResponseApi.class).a(f2219f);
BeaconArticlesSuggestionConverter beaconArticlesSuggestionConverter2 = new BeaconArticlesSuggestionConverter();
lVar.f2266a = articleSuggestionsResponseApi2;
lVar.f2267b = beaconArticlesSuggestionConverter2;
lVar.f2270e = 1;
if (g(lVar) == coroutine_suspended) {
return coroutine_suspended;
}
articleSuggestionsResponseApi = articleSuggestionsResponseApi2;
beaconArticlesSuggestionConverter = beaconArticlesSuggestionConverter2;
} else if (i2 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
beaconArticlesSuggestionConverter = (BeaconArticlesSuggestionConverter) lVar.f2267b;
articleSuggestionsResponseApi = (ArticleSuggestionsResponseApi) lVar.f2266a;
ResultKt.throwOnFailure(obj);
}
items = articleSuggestionsResponseApi == null ? articleSuggestionsResponseApi.getItems() : null;
if (items == null) {
items = CollectionsKt.emptyList();
}
ArrayList arrayList = new ArrayList(CollectionsKt.collectionSizeOrDefault(items, 10));
for (ArticleSuggestionApi articleSuggestionApi : items) {
arrayList.add(beaconArticlesSuggestionConverter.map(articleSuggestionApi));
}
return arrayList;
}
}
lVar = new l(continuation);
Object obj2 = lVar.f2268c;
Object coroutine_suspended2 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = lVar.f2270e;
if (i2 != 0) {
}
if (articleSuggestionsResponseApi == null) {
}
if (items == null) {
}
ArrayList arrayList2 = new ArrayList(CollectionsKt.collectionSizeOrDefault(items, 10));
while (r6.hasNext()) {
}
return arrayList2;
}
@Override
public Object b(String str, int i2, Continuation<? super ConversationThreadsApi> continuation) {
h hVar;
int i3;
b bVar;
if (continuation instanceof h) {
hVar = (h) continuation;
int i4 = hVar.f2253d;
if ((i4 & Integer.MIN_VALUE) != 0) {
hVar.f2253d = i4 - Integer.MIN_VALUE;
Object obj = hVar.f2251b;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i3 = hVar.f2253d;
if (i3 != 0) {
ResultKt.throwOnFailure(obj);
hVar.f2250a = this;
hVar.f2253d = 1;
if (g(hVar) == coroutine_suspended) {
return coroutine_suspended;
}
bVar = this;
} else if (i3 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
bVar = (b) hVar.f2250a;
ResultKt.throwOnFailure(obj);
}
a.a aVar = bVar.f2227a;
Object a2 = d.c.f1839a.a(ConversationThreadsApi.class).a(f2222i);
Intrinsics.checkNotNull(a2);
return a2;
}
}
hVar = new h(continuation);
Object obj2 = hVar.f2251b;
Object coroutine_suspended2 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i3 = hVar.f2253d;
if (i3 != 0) {
}
a.a aVar2 = bVar.f2227a;
Object a22 = d.c.f1839a.a(ConversationThreadsApi.class).a(f2222i);
Intrinsics.checkNotNull(a22);
return a22;
}
@Override
public Object b(String str, String str2, Continuation<? super ResponseBody> continuation) {
c cVar;
int i2;
if (continuation instanceof c) {
cVar = (c) continuation;
int i3 = cVar.f2233c;
if ((i3 & Integer.MIN_VALUE) != 0) {
cVar.f2233c = i3 - Integer.MIN_VALUE;
Object obj = cVar.f2231a;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = cVar.f2233c;
if (i2 != 0) {
ResultKt.throwOnFailure(obj);
cVar.f2233c = 1;
if (g(cVar) == coroutine_suspended) {
return coroutine_suspended;
}
} else if (i2 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
ResultKt.throwOnFailure(obj);
}
throw new RuntimeException("MOCK not implemented");
}
}
cVar = new c(continuation);
Object obj2 = cVar.f2231a;
Object coroutine_suspended2 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = cVar.f2233c;
if (i2 != 0) {
}
throw new RuntimeException("MOCK not implemented");
}
@Override
public Object b(String str, Continuation<? super Boolean> continuation) {
p pVar;
int i2;
if (continuation instanceof p) {
pVar = (p) continuation;
int i3 = pVar.f2283c;
if ((i3 & Integer.MIN_VALUE) != 0) {
pVar.f2283c = i3 - Integer.MIN_VALUE;
Object obj = pVar.f2281a;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = pVar.f2283c;
if (i2 != 0) {
ResultKt.throwOnFailure(obj);
pVar.f2283c = 1;
if (g(pVar) == coroutine_suspended) {
return coroutine_suspended;
}
} else if (i2 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
ResultKt.throwOnFailure(obj);
}
return Boxing.boxBoolean(true);
}
}
pVar = new p(continuation);
Object obj2 = pVar.f2281a;
Object coroutine_suspended2 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = pVar.f2283c;
if (i2 != 0) {
}
return Boxing.boxBoolean(true);
}
@Override
public Object b(Continuation<? super Integer> continuation) {
j jVar;
int i2;
b bVar;
if (continuation instanceof j) {
jVar = (j) continuation;
int i3 = jVar.f2261d;
if ((i3 & Integer.MIN_VALUE) != 0) {
jVar.f2261d = i3 - Integer.MIN_VALUE;
Object obj = jVar.f2259b;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = jVar.f2261d;
if (i2 != 0) {
ResultKt.throwOnFailure(obj);
jVar.f2258a = this;
jVar.f2261d = 1;
if (g(jVar) == coroutine_suspended) {
return coroutine_suspended;
}
bVar = this;
} else if (i2 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
bVar = (b) jVar.f2258a;
ResultKt.throwOnFailure(obj);
}
a.a aVar = bVar.f2227a;
Object a2 = d.c.f1839a.a(BeaconConversationsCountApi.class).a(f2226m);
Intrinsics.checkNotNull(a2);
return Boxing.boxInt(((BeaconConversationsCountApi) a2).getCount());
}
}
jVar = new j(continuation);
Object obj2 = jVar.f2259b;
Object coroutine_suspended2 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = jVar.f2261d;
if (i2 != 0) {
}
a.a aVar2 = bVar.f2227a;
Object a22 = d.c.f1839a.a(BeaconConversationsCountApi.class).a(f2226m);
Intrinsics.checkNotNull(a22);
return Boxing.boxInt(((BeaconConversationsCountApi) a22).getCount());
}
@Override
public Object c(String str, Continuation<? super String> continuation) {
String token;
TokenApi tokenApi = (TokenApi) d.c.f1839a.a(TokenApi.class).a(f2216c);
return (tokenApi == null || (token = tokenApi.getToken()) == null) ? "chat_token" : token;
}
@Override
public Object c(Continuation<? super List<CustomField>> continuation) {
k kVar;
int i2;
b bVar;
if (continuation instanceof k) {
kVar = (k) continuation;
int i3 = kVar.f2265d;
if ((i3 & Integer.MIN_VALUE) != 0) {
kVar.f2265d = i3 - Integer.MIN_VALUE;
Object obj = kVar.f2263b;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = kVar.f2265d;
if (i2 != 0) {
ResultKt.throwOnFailure(obj);
kVar.f2262a = this;
kVar.f2265d = 1;
if (g(kVar) == coroutine_suspended) {
return coroutine_suspended;
}
bVar = this;
} else if (i2 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
bVar = (b) kVar.f2262a;
ResultKt.throwOnFailure(obj);
}
a.a aVar = bVar.f2227a;
CustomFieldApi customFieldApi = (CustomFieldApi) d.c.f1839a.a(CustomFieldApi.class).a(f2225l);
List<CustomField> items = customFieldApi == null ? customFieldApi.getItems() : null;
Intrinsics.checkNotNull(items);
return items;
}
}
kVar = new k(continuation);
Object obj2 = kVar.f2263b;
Object coroutine_suspended2 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = kVar.f2265d;
if (i2 != 0) {
}
a.a aVar2 = bVar.f2227a;
CustomFieldApi customFieldApi2 = (CustomFieldApi) d.c.f1839a.a(CustomFieldApi.class).a(f2225l);
if (customFieldApi2 == null) {
}
Intrinsics.checkNotNull(items);
return items;
}
@Override
public Object d(String str, Continuation<? super Boolean> continuation) {
n nVar;
int i2;
if (continuation instanceof n) {
nVar = (n) continuation;
int i3 = nVar.f2276c;
if ((i3 & Integer.MIN_VALUE) != 0) {
nVar.f2276c = i3 - Integer.MIN_VALUE;
Object obj = nVar.f2274a;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = nVar.f2276c;
if (i2 != 0) {
ResultKt.throwOnFailure(obj);
nVar.f2276c = 1;
if (g(nVar) == coroutine_suspended) {
return coroutine_suspended;
}
} else if (i2 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
ResultKt.throwOnFailure(obj);
}
return Boxing.boxBoolean(true);
}
}
nVar = new n(continuation);
Object obj2 = nVar.f2274a;
Object coroutine_suspended2 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = nVar.f2276c;
if (i2 != 0) {
}
return Boxing.boxBoolean(true);
}
@Override
public Object d(Continuation<? super BeaconConfigApi> continuation) {
f fVar;
int i2;
b bVar;
if (continuation instanceof f) {
fVar = (f) continuation;
int i3 = fVar.f2245d;
if ((i3 & Integer.MIN_VALUE) != 0) {
fVar.f2245d = i3 - Integer.MIN_VALUE;
Object obj = fVar.f2243b;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = fVar.f2245d;
if (i2 != 0) {
ResultKt.throwOnFailure(obj);
fVar.f2242a = this;
fVar.f2245d = 1;
if (g(fVar) == coroutine_suspended) {
return coroutine_suspended;
}
bVar = this;
} else if (i2 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
bVar = (b) fVar.f2242a;
ResultKt.throwOnFailure(obj);
}
a.a aVar = bVar.f2227a;
Object a2 = d.c.f1839a.a(BeaconConfigApi.class).a(f2217d);
Intrinsics.checkNotNull(a2);
return a2;
}
}
fVar = new f(continuation);
Object obj2 = fVar.f2243b;
Object coroutine_suspended2 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = fVar.f2245d;
if (i2 != 0) {
}
a.a aVar2 = bVar.f2227a;
Object a22 = d.c.f1839a.a(BeaconConfigApi.class).a(f2217d);
Intrinsics.checkNotNull(a22);
return a22;
}
@Override
public Object e(String str, Continuation<? super ResponseBody> continuation) {
throw new RuntimeException("MOCK not implemented");
}
@Override
public Object e(Continuation<? super List<BeaconAgent>> continuation) {
d dVar;
int i2;
b bVar;
if (continuation instanceof d) {
dVar = (d) continuation;
int i3 = dVar.f2237d;
if ((i3 & Integer.MIN_VALUE) != 0) {
dVar.f2237d = i3 - Integer.MIN_VALUE;
Object obj = dVar.f2235b;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = dVar.f2237d;
if (i2 != 0) {
ResultKt.throwOnFailure(obj);
dVar.f2234a = this;
dVar.f2237d = 1;
if (g(dVar) == coroutine_suspended) {
return coroutine_suspended;
}
bVar = this;
} else if (i2 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
bVar = (b) dVar.f2234a;
ResultKt.throwOnFailure(obj);
}
a.a aVar = bVar.f2227a;
AgentsApi agentsApi = (AgentsApi) d.c.f1839a.a(AgentsApi.class).a(f2224k);
List<BeaconAgent> items = agentsApi == null ? agentsApi.getItems() : null;
Intrinsics.checkNotNull(items);
return items;
}
}
dVar = new d(continuation);
Object obj2 = dVar.f2235b;
Object coroutine_suspended2 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = dVar.f2237d;
if (i2 != 0) {
}
a.a aVar2 = bVar.f2227a;
AgentsApi agentsApi2 = (AgentsApi) d.c.f1839a.a(AgentsApi.class).a(f2224k);
if (agentsApi2 == null) {
}
Intrinsics.checkNotNull(items);
return items;
}
@Override
public Object f(String str, Continuation<? super ConversationApi> continuation) {
g gVar;
int i2;
b bVar;
if (continuation instanceof g) {
gVar = (g) continuation;
int i3 = gVar.f2249d;
if ((i3 & Integer.MIN_VALUE) != 0) {
gVar.f2249d = i3 - Integer.MIN_VALUE;
Object obj = gVar.f2247b;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = gVar.f2249d;
if (i2 != 0) {
ResultKt.throwOnFailure(obj);
gVar.f2246a = this;
gVar.f2249d = 1;
if (g(gVar) == coroutine_suspended) {
return coroutine_suspended;
}
bVar = this;
} else if (i2 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
bVar = (b) gVar.f2246a;
ResultKt.throwOnFailure(obj);
}
a.a aVar = bVar.f2227a;
Object a2 = d.c.f1839a.a(ConversationApi.class).a(f2223j);
Intrinsics.checkNotNull(a2);
return a2;
}
}
gVar = new g(continuation);
Object obj2 = gVar.f2247b;
Object coroutine_suspended2 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
i2 = gVar.f2249d;
if (i2 != 0) {
}
a.a aVar2 = bVar.f2227a;
Object a22 = d.c.f1839a.a(ConversationApi.class).a(f2223j);
Intrinsics.checkNotNull(a22);
return a22;
}
@Override
public Object f(Continuation<? super String> continuation) {
String token;
TokenApi tokenApi = (TokenApi) d.c.f1839a.a(TokenApi.class).a(f2216c);
return (tokenApi == null || (token = tokenApi.getToken()) == null) ? "anonymous_chat_token" : token;
}
}