a$b.smali
.class public final Lxg/a$b;
.super Ljava/lang/Object;
.source "ChatUtils.kt"
# interfaces
.implements Leb/a$b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lxg/a;->a(Ljava/util/Map;Ljava/lang/String;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000#\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0018\u0002\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J$\u0010\u0002\u001a\u00020\u00032\u0008\u0010\u0004\u001a\u0004\u0018\u00010\u00052\u0006\u0010\u0006\u001a\u00020\u00072\u0008\u0010\u0008\u001a\u0004\u0018\u00010\tH\u0016\u00a8\u0006\n"
}
d2 = {
"com/shopee/foody/driver/im/utils/ChatUtils$gotoPhoneDialPage$popInfo$1",
"Lcom/shopee/android/popmanager/IPop$OnClickListener;",
"onClick",
"",
"pop",
"Lcom/shopee/android/popmanager/IPop;",
"which",
"",
"data",
"Lcom/google/gson/JsonObject;",
"driver_indonesiaRelease"
}
k = 0x1
mv = {
0x1,
0x1,
0x10
}
.end annotation
# instance fields
.field public final synthetic a:Lcom/shopee/foody/driver/popmanager/popactivity/popview/actionsheet/ActionSheetItem;
.field public final synthetic b:Ljava/util/Map;
.field public final synthetic c:Ljava/lang/String;
.field public final synthetic d:Lcom/shopee/foody/driver/popmanager/popactivity/popview/actionsheet/ActionSheetItem;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Lcom/shopee/foody/driver/popmanager/popactivity/popview/actionsheet/ActionSheetItem;Ljava/util/Map;Ljava/lang/String;Lcom/shopee/foody/driver/popmanager/popactivity/popview/actionsheet/ActionSheetItem;)V
.registers 5
iput-object p1, p0, Lxg/a$b;->a:Lcom/shopee/foody/driver/popmanager/popactivity/popview/actionsheet/ActionSheetItem;
iput-object p2, p0, Lxg/a$b;->b:Ljava/util/Map;
iput-object p3, p0, Lxg/a$b;->c:Ljava/lang/String;
iput-object p4, p0, Lxg/a$b;->d:Lcom/shopee/foody/driver/popmanager/popactivity/popview/actionsheet/ActionSheetItem;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Leb/a;ILp5/l;)V
.registers 5
sget-object p1, Lcom/shopee/android/base/common/gson/Gsons;->b:Lcom/shopee/android/base/common/gson/Gsons;
invoke-virtual {p1}, Lcom/shopee/android/base/common/gson/Gsons;->a()Lcom/google/gson/Gson;
move-result-object p1
new-instance p2, Lxg/a$b$a;
invoke-direct {p2}, Lxg/a$b$a;-><init>()V
invoke-virtual {p2}, Lv5/a;->getType()Ljava/lang/reflect/Type;
move-result-object p2
const-string v0, "object : TypeToken<T>() {}.type"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p1, p3, p2}, Le9/a;->a(Lcom/google/gson/Gson;Lp5/i;Ljava/lang/reflect/Type;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/shopee/foody/driver/popmanager/popactivity/popview/actionsheet/ActionSheetItem;
if-eqz p1, :cond_6f
invoke-virtual {p1}, Lcom/shopee/foody/driver/popmanager/popactivity/popview/actionsheet/ActionSheetItem;->getItemId()I
move-result p1
iget-object p2, p0, Lxg/a$b;->a:Lcom/shopee/foody/driver/popmanager/popactivity/popview/actionsheet/ActionSheetItem;
if-eqz p2, :cond_48
invoke-virtual {p2}, Lcom/shopee/foody/driver/popmanager/popactivity/popview/actionsheet/ActionSheetItem;->getItemId()I
move-result p2
if-ne p1, p2, :cond_48
iget-object p1, p0, Lxg/a$b;->b:Ljava/util/Map;
const/4 p2, 0x0
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
invoke-interface {p1, p2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/String;
if-eqz p1, :cond_3e
sget-object p2, Lxg/a;->a:Lxg/a;
invoke-static {p2, p1}, Lxg/a;->a(Lxg/a;Ljava/lang/String;)V
:cond_3e
sget-object p1, Lxg/a$a;->a:Lxg/a$a;
iget-object p2, p0, Lxg/a$b;->c:Ljava/lang/String;
const-string p3, "restaurant"
invoke-virtual {p1, p2, p3}, Lxg/a$a;->a(Ljava/lang/String;Ljava/lang/String;)V
goto :goto_6f
:cond_48
iget-object p2, p0, Lxg/a$b;->d:Lcom/shopee/foody/driver/popmanager/popactivity/popview/actionsheet/ActionSheetItem;
if-eqz p2, :cond_6f
invoke-virtual {p2}, Lcom/shopee/foody/driver/popmanager/popactivity/popview/actionsheet/ActionSheetItem;->getItemId()I
move-result p2
if-ne p1, p2, :cond_6f
iget-object p1, p0, Lxg/a$b;->b:Ljava/util/Map;
const/4 p2, 0x1
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
invoke-interface {p1, p2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/String;
if-eqz p1, :cond_66
sget-object p2, Lxg/a;->a:Lxg/a;
invoke-static {p2, p1}, Lxg/a;->a(Lxg/a;Ljava/lang/String;)V
:cond_66
sget-object p1, Lxg/a$a;->a:Lxg/a$a;
iget-object p2, p0, Lxg/a$b;->c:Ljava/lang/String;
const-string p3, "customer"
invoke-virtual {p1, p2, p3}, Lxg/a$a;->a(Ljava/lang/String;Ljava/lang/String;)V
:cond_6f
:goto_6f
return-void
.end method