导航菜单

页面标题

页面副标题

imToken v3.28.8 - b.java 源代码

正在查看: imToken v3.28.8 应用的 b.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.helpscout.beacon.internal.data.remote;

import com.helpscout.beacon.internal.core.model.ArticleDetailsApi;
import com.helpscout.beacon.internal.core.model.ArticleSearchResponseApi;
import com.helpscout.beacon.internal.domain.model.ArticleFeedbackBodyApi;
import com.helpscout.beacon.internal.domain.model.BeaconConversationsApi;
import com.helpscout.beacon.internal.domain.model.ConversationThreadsApi;
import com.helpscout.beacon.internal.domain.model.CustomerStatus;
import com.helpscout.beacon.internal.domain.model.TokenApi;
import com.helpscout.beacon.model.BeaconUser;
import java.util.List;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.IntrinsicsKt;
import kotlin.coroutines.jvm.internal.ContinuationImpl;
import kotlin.coroutines.jvm.internal.DebugMetadata;
import kotlin.jvm.internal.Intrinsics;
import kotlinx.coroutines.DelayKt;
import okhttp3.ResponseBody;

public final class b implements com.helpscout.beacon.internal.data.remote.a {
    private static final String b = "\n        {\n            \"token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIyNlFwdGZNTVM4dHVrNnVPRTBocnpjZnRoYmNJRWpPODNBdTBnUFp0RzdDbHJJeE41eGFvZjFKdllnMjJSV2tldzRTcE1qSFJRRzkyV0JJQ2xGcEFwS2JSeTYvamsxcUNBMFVOelI5UnU2N2N1Lzk2QThlWllna2xHbTl3VjVHejRUcUFXUFZlWUM5cUdZY3VtNEJuUkZGNnFvQUZHRXlwOUJDMXVjV3FoZHhNT0tEZ3AzS0RKRUkzQXpKUmlreENEdzhQZHZDK0ZyK055UzRhK0VYSVBaM1NtRURtY3BReUY4bjBPRHZ3N1Vhekl5UGdmU2srNVRuSUJPNVFwYUZSOUMwN3JEakFiNmE2VXg5RERPS0tYTXdVSXlLdGhkRXpCUUZicEFiUE1kNVJ3MUhqWmxSc0VFRkx3NXdzckJTMlVaK2pNeWxSSzRGNGVxaEN5UHJRYXI3RzdkYTM0RmREeFdNVkJjQ1gxZ09razNIYm15NUpGR3hmS3h0ZVVndjNYK1NrZ3ZLR1ZFY2pKejJVKzNJdEtwODM4eXpjU09aQUZJQnY0a25jekxOM3JwazlOL0dHMktsTmlWT016RjJod0F0QkRMNndNVEQzcXlvUm9hT3NNeHpJUFlzOGw0MFZTOVp5U29PYzBJVEhzd0F1ZVN2TjFBQVk3NmkyNUd1ckNQZzJINjE1UDJyc2hFT2I0NmphaDdSTWF4eWNldlNmVy9ObHB4VmwyemlReXBWeVdId1hQSXpxdG1NZjl4SUptMkpVVzhJdUZvYUVJVVAyc3RTTEpGUFA5S0hzVGxobWI4dlFCV1FGcU1wcnBPSE5FUytNSUVzNlhHc3U5MHZhamozdU02L3l2dG9sUit1Nkx1LzJraWRQV2VEckR5bDQzMkVWZkVnUkpFNFFweDI0VjFycU44ZWR0YUVKK2hVTXhUMzlQZVkzMERGSU1RdXU0Kytjd3p1eTZuZXl4WGRFdVZWay8wQTBqalBCUW5lVlNnRks6Vm9KbE1RL3Rla0Jna1dOYyIsImlzcyI6ImJlYWNvbi1hcGkiLCJleHAiOjE1NTY3MTgxMDAsImlhdCI6MTU1NjcxNDUwMCwianRpIjoiOWU0MzczNmUtNjliNi00MWNkLWJiYTctN2U2MWUwZDcyMDc2In0.kJ1C4kE9EJfc6NCOIMgOSlkUj1Fn9V9-G5qBT_PA7uw\"\n        }\n        ";
    private static final String c = "\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                    \"showGetInTouch\":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 d = "\n            {\n                \"id\":\"52b467e9e4b0a3b4e5ec644c\",\n                \"name\":\"Manage multiple Docs sites\",\n                \"text\":\"<html><body><p> You might want to create different Docs ss.&nbsp</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 e = "\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 f = "\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 g = "\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 h = "\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 i = "\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 j = "\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 k = "\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 l = "\n            {\n                \"count\" : 75\n            }\n            ";
    private final com.helpscout.beacon.a.a.a a;

    @DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {}, l = {123}, m = "createConversation", n = {}, s = {})
    static final class a extends ContinuationImpl {
        Object a;
        int b;

        a(Continuation continuation) {
            super(continuation);
        }

        public final Object invokeSuspend(Object obj) {
            this.a = obj;
            this.b |= Integer.MIN_VALUE;
            return b.this.a(null, null, null, null, this);
        }
    }

    @DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {}, l = {156}, m = "downloadThreadAttachment", n = {}, s = {})
    static final class C0052b extends ContinuationImpl {
        Object a;
        int b;

        C0052b(Continuation continuation) {
            super(continuation);
        }

        public final Object invokeSuspend(Object obj) {
            this.a = obj;
            this.b |= Integer.MIN_VALUE;
            return b.this.b((String) null, (String) null, (Continuation<? super ResponseBody>) this);
        }
    }

    @DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {73}, m = "getAgents", n = {"this"}, s = {"L$0"})
    static final class c extends ContinuationImpl {
        Object a;
        int b;
        Object d;

        c(Continuation continuation) {
            super(continuation);
        }

        public final Object invokeSuspend(Object obj) {
            this.a = obj;
            this.b |= Integer.MIN_VALUE;
            return b.this.e(this);
        }
    }

    @DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {56}, m = "getArticleById", n = {"this"}, s = {"L$0"})
    static final class d extends ContinuationImpl {
        Object a;
        int b;
        Object d;

        d(Continuation continuation) {
            super(continuation);
        }

        public final Object invokeSuspend(Object obj) {
            this.a = obj;
            this.b |= Integer.MIN_VALUE;
            return b.this.a((String) null, (Continuation<? super ArticleDetailsApi>) this);
        }
    }

    @DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {68}, m = "getBeaconConfig", n = {"this"}, s = {"L$0"})
    static final class e extends ContinuationImpl {
        Object a;
        int b;
        Object d;

        e(Continuation continuation) {
            super(continuation);
        }

        public final Object invokeSuspend(Object obj) {
            this.a = obj;
            this.b |= Integer.MIN_VALUE;
            return b.this.d(this);
        }
    }

    @DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {93}, m = "getConversation", n = {"this"}, s = {"L$0"})
    static final class f extends ContinuationImpl {
        Object a;
        int b;
        Object d;

        f(Continuation continuation) {
            super(continuation);
        }

        public final Object invokeSuspend(Object obj) {
            this.a = obj;
            this.b |= Integer.MIN_VALUE;
            return b.this.f(null, this);
        }
    }

    @DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {101}, m = "getConversationThreads", n = {"this"}, s = {"L$0"})
    static final class g extends ContinuationImpl {
        Object a;
        int b;
        Object d;

        g(Continuation continuation) {
            super(continuation);
        }

        public final Object invokeSuspend(Object obj) {
            this.a = obj;
            this.b |= Integer.MIN_VALUE;
            return b.this.b((String) null, 0, (Continuation<? super ConversationThreadsApi>) this);
        }
    }

    @DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {88}, m = "getConversations", n = {"this"}, s = {"L$0"})
    static final class h extends ContinuationImpl {
        Object a;
        int b;
        Object d;

        h(Continuation continuation) {
            super(continuation);
        }

        public final Object invokeSuspend(Object obj) {
            this.a = obj;
            this.b |= Integer.MIN_VALUE;
            return b.this.a(0, (Continuation<? super BeaconConversationsApi>) this);
        }
    }

    @DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {83}, m = "getConversationsCount", n = {"this"}, s = {"L$0"})
    static final class i extends ContinuationImpl {
        Object a;
        int b;
        Object d;

        i(Continuation continuation) {
            super(continuation);
        }

        public final Object invokeSuspend(Object obj) {
            this.a = obj;
            this.b |= Integer.MIN_VALUE;
            return b.this.b(this);
        }
    }

    @DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {78}, m = "getCustomFields", n = {"this"}, s = {"L$0"})
    static final class j extends ContinuationImpl {
        Object a;
        int b;
        Object d;

        j(Continuation continuation) {
            super(continuation);
        }

        public final Object invokeSuspend(Object obj) {
            this.a = obj;
            this.b |= Integer.MIN_VALUE;
            return b.this.c(this);
        }
    }

    @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"})
    static final class k extends ContinuationImpl {
        Object a;
        int b;
        Object d;
        Object e;

        k(Continuation continuation) {
            super(continuation);
        }

        public final Object invokeSuspend(Object obj) {
            this.a = obj;
            this.b |= Integer.MIN_VALUE;
            return b.this.a(this);
        }
    }

    @DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {}, l = {138}, m = "identifyCustomer", n = {}, s = {})
    static final class l extends ContinuationImpl {
        Object a;
        int b;

        l(Continuation continuation) {
            super(continuation);
        }

        public final Object invokeSuspend(Object obj) {
            this.a = obj;
            this.b |= Integer.MIN_VALUE;
            return b.this.a((BeaconUser) null, (Continuation<? super CustomerStatus>) this);
        }
    }

    @DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {}, l = {133}, m = "registerPushToken", n = {}, s = {})
    static final class m extends ContinuationImpl {
        Object a;
        int b;

        m(Continuation continuation) {
            super(continuation);
        }

        public final Object invokeSuspend(Object obj) {
            this.a = obj;
            this.b |= Integer.MIN_VALUE;
            return b.this.d(null, this);
        }
    }

    @DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {0}, l = {51}, m = "searchForArticles", n = {"searchItemsApi"}, s = {"L$0"})
    static final class n extends ContinuationImpl {
        Object a;
        int b;
        Object d;

        n(Continuation continuation) {
            super(continuation);
        }

        public final Object invokeSuspend(Object obj) {
            this.a = obj;
            this.b |= Integer.MIN_VALUE;
            return b.this.a((String) null, 0, (Continuation<? super ArticleSearchResponseApi>) this);
        }
    }

    @DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {}, l = {128}, m = "subscribeToConversation", n = {}, s = {})
    static final class o extends ContinuationImpl {
        Object a;
        int b;

        o(Continuation continuation) {
            super(continuation);
        }

        public final Object invokeSuspend(Object obj) {
            this.a = obj;
            this.b |= Integer.MIN_VALUE;
            return b.this.b(null, this);
        }
    }

    @DebugMetadata(c = "com.helpscout.beacon.internal.data.remote.MockBeaconApiClient", f = "MockBeaconApiClient.kt", i = {}, l = {143}, m = "uploadAttachment", n = {}, s = {})
    static final class p extends ContinuationImpl {
        Object a;
        int b;

        p(Continuation continuation) {
            super(continuation);
        }

        public final Object invokeSuspend(Object obj) {
            this.a = obj;
            this.b |= Integer.MIN_VALUE;
            return b.this.a((com.helpscout.beacon.a.d.e.a.d) null, (Continuation<? super String>) this);
        }
    }

    public b(com.helpscout.beacon.a.a.a aVar) {
        Intrinsics.checkNotNullParameter(aVar, "parser");
        this.a = aVar;
    }

    @Override
    public java.lang.Object a(int r4, kotlin.coroutines.Continuation<? super com.helpscout.beacon.internal.domain.model.BeaconConversationsApi> r5) {
        throw new UnsupportedOperationException("Method not decompiled: com.helpscout.beacon.internal.data.remote.b.a(int, kotlin.coroutines.Continuation):java.lang.Object");
    }

    @Override
    public java.lang.Object a(com.helpscout.beacon.a.d.e.a.d r4, kotlin.coroutines.Continuation<? super java.lang.String> r5) {
        throw new UnsupportedOperationException("Method not decompiled: com.helpscout.beacon.internal.data.remote.b.a(com.helpscout.beacon.a.d.e.a.d, kotlin.coroutines.Continuation):java.lang.Object");
    }

    @Override
    public java.lang.Object a(com.helpscout.beacon.a.d.e.a.e r1, java.util.List<com.helpscout.beacon.internal.core.model.CustomFieldValue> r2, java.util.List<? extends com.helpscout.beacon.internal.domain.model.TimelineEvent> r3, java.util.Map<java.lang.String, java.lang.String> r4, kotlin.coroutines.Continuation<? super java.lang.String> r5) {
        throw new UnsupportedOperationException("Method not decompiled: com.helpscout.beacon.internal.data.remote.b.a(com.helpscout.beacon.a.d.e.a.e, java.util.List, java.util.List, java.util.Map, kotlin.coroutines.Continuation):java.lang.Object");
    }

    @Override
    public java.lang.Object a(com.helpscout.beacon.model.BeaconUser r4, kotlin.coroutines.Continuation<? super com.helpscout.beacon.internal.domain.model.CustomerStatus> r5) {
        throw new UnsupportedOperationException("Method not decompiled: com.helpscout.beacon.internal.data.remote.b.a(com.helpscout.beacon.model.BeaconUser, kotlin.coroutines.Continuation):java.lang.Object");
    }

    @Override
    public java.lang.Object a(java.lang.String r4, int r5, kotlin.coroutines.Continuation<? super com.helpscout.beacon.internal.core.model.ArticleSearchResponseApi> r6) {
        throw new UnsupportedOperationException("Method not decompiled: com.helpscout.beacon.internal.data.remote.b.a(java.lang.String, int, kotlin.coroutines.Continuation):java.lang.Object");
    }

    @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 java.lang.Object a(java.lang.String r4, kotlin.coroutines.Continuation<? super com.helpscout.beacon.internal.core.model.ArticleDetailsApi> r5) {
        throw new UnsupportedOperationException("Method not decompiled: com.helpscout.beacon.internal.data.remote.b.a(java.lang.String, kotlin.coroutines.Continuation):java.lang.Object");
    }

    @Override
    public java.lang.Object a(kotlin.coroutines.Continuation<? super java.util.List<? extends com.helpscout.beacon.internal.core.model.ArticleApi>> r6) {
        throw new UnsupportedOperationException("Method not decompiled: com.helpscout.beacon.internal.data.remote.b.a(kotlin.coroutines.Continuation):java.lang.Object");
    }

    @Override
    public java.lang.Object b(java.lang.String r3, int r4, kotlin.coroutines.Continuation<? super com.helpscout.beacon.internal.domain.model.ConversationThreadsApi> r5) {
        throw new UnsupportedOperationException("Method not decompiled: com.helpscout.beacon.internal.data.remote.b.b(java.lang.String, int, kotlin.coroutines.Continuation):java.lang.Object");
    }

    @Override
    public java.lang.Object b(java.lang.String r3, java.lang.String r4, kotlin.coroutines.Continuation<? super okhttp3.ResponseBody> r5) {
        throw new UnsupportedOperationException("Method not decompiled: com.helpscout.beacon.internal.data.remote.b.b(java.lang.String, java.lang.String, kotlin.coroutines.Continuation):java.lang.Object");
    }

    @Override
    public java.lang.Object b(java.lang.String r4, kotlin.coroutines.Continuation<? super java.lang.Boolean> r5) {
        throw new UnsupportedOperationException("Method not decompiled: com.helpscout.beacon.internal.data.remote.b.b(java.lang.String, kotlin.coroutines.Continuation):java.lang.Object");
    }

    @Override
    public java.lang.Object b(kotlin.coroutines.Continuation<? super java.lang.Integer> r5) {
        throw new UnsupportedOperationException("Method not decompiled: com.helpscout.beacon.internal.data.remote.b.b(kotlin.coroutines.Continuation):java.lang.Object");
    }

    @Override
    public Object c(String str, Continuation<? super String> continuation) {
        String token;
        TokenApi tokenApi = (TokenApi) com.helpscout.beacon.a.a.c.c.c.a(TokenApi.class).a(b);
        return (tokenApi == null || (token = tokenApi.getToken()) == null) ? "chat_token" : token;
    }

    @Override
    public java.lang.Object c(kotlin.coroutines.Continuation<? super java.util.List<com.helpscout.beacon.internal.domain.model.CustomField>> r5) {
        throw new UnsupportedOperationException("Method not decompiled: com.helpscout.beacon.internal.data.remote.b.c(kotlin.coroutines.Continuation):java.lang.Object");
    }

    @Override
    public java.lang.Object d(java.lang.String r4, kotlin.coroutines.Continuation<? super java.lang.Boolean> r5) {
        throw new UnsupportedOperationException("Method not decompiled: com.helpscout.beacon.internal.data.remote.b.d(java.lang.String, kotlin.coroutines.Continuation):java.lang.Object");
    }

    @Override
    public java.lang.Object d(kotlin.coroutines.Continuation<? super com.helpscout.beacon.internal.core.model.BeaconConfigApi> r5) {
        throw new UnsupportedOperationException("Method not decompiled: com.helpscout.beacon.internal.data.remote.b.d(kotlin.coroutines.Continuation):java.lang.Object");
    }

    @Override
    public Object e(String str, Continuation<? super ResponseBody> continuation) {
        throw new RuntimeException("MOCK not implemented");
    }

    @Override
    public java.lang.Object e(kotlin.coroutines.Continuation<? super java.util.List<com.helpscout.beacon.internal.domain.model.BeaconAgent>> r5) {
        throw new UnsupportedOperationException("Method not decompiled: com.helpscout.beacon.internal.data.remote.b.e(kotlin.coroutines.Continuation):java.lang.Object");
    }

    @Override
    public java.lang.Object f(java.lang.String r4, kotlin.coroutines.Continuation<? super com.helpscout.beacon.internal.domain.model.ConversationApi> r5) {
        throw new UnsupportedOperationException("Method not decompiled: com.helpscout.beacon.internal.data.remote.b.f(java.lang.String, kotlin.coroutines.Continuation):java.lang.Object");
    }

    @Override
    public Object f(Continuation<? super String> continuation) {
        String token;
        TokenApi tokenApi = (TokenApi) com.helpscout.beacon.a.a.c.c.c.a(TokenApi.class).a(b);
        return (tokenApi == null || (token = tokenApi.getToken()) == null) ? "anonymous_chat_token" : token;
    }

    final Object g(Continuation<? super Unit> continuation) {
        Object delay = DelayKt.delay(1500L, continuation);
        return delay == IntrinsicsKt.getCOROUTINE_SUSPENDED() ? delay : Unit.INSTANCE;
    }
}