package com.qualtrics.digital;

import java.lang.reflect.Type;
import java.util.ArrayList;

/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes3.dex */
public class LogicDeserializer extends a implements com.google.gson.h {
    @Override // com.google.gson.h
    /* renamed from: b, reason: merged with bridge method [inline-methods] */
    public d0 deserialize(com.google.gson.i iVar, Type type, com.google.gson.g gVar) {
        if (iVar.toString().equals("\"\"")) {
            return new d0(null, null);
        }
        try {
            com.google.gson.l g10 = iVar.g();
            com.google.gson.e eVar = new com.google.gson.e();
            eVar.c(f0.class, new LogicSetDeserializer());
            ArrayList arrayList = new ArrayList();
            a(g10, arrayList, eVar, f0.class);
            return new d0(g10.v("Type").l(), arrayList);
        } catch (IllegalStateException unused) {
            return null;
        }
    }
}
