正在查看: Moneyman v2.316.0.0 应用的 ExponeaConfiguration.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Moneyman v2.316.0.0 应用的 ExponeaConfiguration.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.exponea.sdk.models;
import B.AbstractC0151g;
import Eh.A;
import Eh.r;
import Eh.y;
import Wf.K;
import Z.l;
import com.exponea.sdk.exceptions.InvalidConfigurationException;
import com.exponea.sdk.models.Constants;
import com.exponea.sdk.services.inappcontentblock.ContentBlockCarouselViewController;
import com.freshchat.consumer.sdk.beans.config.DefaultUserEventsConfig;
import dg.a;
import e.AbstractC1144b;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import kotlin.Metadata;
import kotlin.collections.EmptyList;
import kotlin.jvm.internal.d;
import kotlin.jvm.internal.i;
import qg.c;
@Metadata(d1 = {"\u0000X\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010$\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0006\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\by\b\u0086\b\u0018\u0000 \u009f\u00012\u00020\u0001:\u0006\u009f\u0001 \u0001¡\u0001B½\u0002\u0012\b\b\u0002\u0010\u0003\u001a\u00020\u0002\u0012\u001a\b\u0002\u0010\b\u001a\u0014\u0012\u0004\u0012\u00020\u0005\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00070\u00060\u0004\u0012\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u0002\u0012\b\b\u0002\u0010\n\u001a\u00020\u0002\u0012\b\b\u0002\u0010\f\u001a\u00020\u000b\u0012\b\b\u0002\u0010\u000e\u001a\u00020\r\u0012\b\b\u0002\u0010\u0010\u001a\u00020\u000f\u0012\b\b\u0002\u0010\u0011\u001a\u00020\u000f\u0012\b\b\u0002\u0010\u0013\u001a\u00020\u0012\u0012\b\b\u0002\u0010\u0014\u001a\u00020\u0012\u0012\b\b\u0002\u0010\u0015\u001a\u00020\u0012\u0012\n\b\u0002\u0010\u0016\u001a\u0004\u0018\u00010\r\u0012\n\b\u0002\u0010\u0017\u001a\u0004\u0018\u00010\r\u0012\b\b\u0002\u0010\u0018\u001a\u00020\u0002\u0012\b\b\u0002\u0010\u0019\u001a\u00020\u0002\u0012\b\b\u0002\u0010\u001a\u001a\u00020\u0002\u0012\b\b\u0002\u0010\u001b\u001a\u00020\r\u0012$\b\u0002\u0010\u001e\u001a\u001e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00010\u001cj\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0001`\u001d\u0012\b\b\u0002\u0010 \u001a\u00020\u001f\u0012\b\b\u0002\u0010!\u001a\u00020\u0012\u0012\b\b\u0002\u0010\"\u001a\u00020\u0012\u0012\u000e\b\u0002\u0010#\u001a\b\u0012\u0004\u0012\u00020\u00020\u0006\u0012\n\b\u0002\u0010$\u001a\u0004\u0018\u00010\r\u0012\b\b\u0002\u0010%\u001a\u00020\u0012\u0012\b\b\u0002\u0010&\u001a\u00020\u0012¢\u0006\u0004\b'\u0010(J\r\u0010*\u001a\u00020)¢\u0006\u0004\b*\u0010+J\u0010\u0010,\u001a\u00020\u0002HÆ\u0003¢\u0006\u0004\b,\u0010-J\"\u0010.\u001a\u0014\u0012\u0004\u0012\u00020\u0005\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00070\u00060\u0004HÆ\u0003¢\u0006\u0004\b.\u0010/J\u0012\u00100\u001a\u0004\u0018\u00010\u0002HÆ\u0003¢\u0006\u0004\b0\u0010-J\u0010\u00101\u001a\u00020\u0002HÆ\u0003¢\u0006\u0004\b1\u0010-J\u0010\u00102\u001a\u00020\u000bHÆ\u0003¢\u0006\u0004\b2\u00103J\u0010\u00104\u001a\u00020\rHÆ\u0003¢\u0006\u0004\b4\u00105J\u0010\u00106\u001a\u00020\u000fHÆ\u0003¢\u0006\u0004\b6\u00107J\u0010\u00108\u001a\u00020\u000fHÆ\u0003¢\u0006\u0004\b8\u00107J\u0010\u00109\u001a\u00020\u0012HÆ\u0003¢\u0006\u0004\b9\u0010:J\u0010\u0010;\u001a\u00020\u0012HÆ\u0003¢\u0006\u0004\b;\u0010:J\u0010\u0010<\u001a\u00020\u0012HÆ\u0003¢\u0006\u0004\b<\u0010:J\u0012\u0010=\u001a\u0004\u0018\u00010\rHÆ\u0003¢\u0006\u0004\b=\u0010>J\u0012\u0010?\u001a\u0004\u0018\u00010\rHÆ\u0003¢\u0006\u0004\b?\u0010>J\u0010\u0010@\u001a\u00020\u0002HÆ\u0003¢\u0006\u0004\b@\u0010-J\u0010\u0010A\u001a\u00020\u0002HÆ\u0003¢\u0006\u0004\bA\u0010-J\u0010\u0010B\u001a\u00020\u0002HÆ\u0003¢\u0006\u0004\bB\u0010-J\u0010\u0010C\u001a\u00020\rHÆ\u0003¢\u0006\u0004\bC\u00105J,\u0010D\u001a\u001e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00010\u001cj\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0001`\u001dHÆ\u0003¢\u0006\u0004\bD\u0010EJ\u0010\u0010F\u001a\u00020\u001fHÆ\u0003¢\u0006\u0004\bF\u0010GJ\u0010\u0010H\u001a\u00020\u0012HÆ\u0003¢\u0006\u0004\bH\u0010:J\u0010\u0010I\u001a\u00020\u0012HÆ\u0003¢\u0006\u0004\bI\u0010:J\u0016\u0010J\u001a\b\u0012\u0004\u0012\u00020\u00020\u0006HÆ\u0003¢\u0006\u0004\bJ\u0010KJ\u0012\u0010L\u001a\u0004\u0018\u00010\rHÆ\u0003¢\u0006\u0004\bL\u0010>J\u0010\u0010M\u001a\u00020\u0012HÆ\u0003¢\u0006\u0004\bM\u0010:J\u0010\u0010N\u001a\u00020\u0012HÆ\u0003¢\u0006\u0004\bN\u0010:JÆ\u0002\u0010O\u001a\u00020\u00002\b\b\u0002\u0010\u0003\u001a\u00020\u00022\u001a\b\u0002\u0010\b\u001a\u0014\u0012\u0004\u0012\u00020\u0005\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00070\u00060\u00042\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u00022\b\b\u0002\u0010\n\u001a\u00020\u00022\b\b\u0002\u0010\f\u001a\u00020\u000b2\b\b\u0002\u0010\u000e\u001a\u00020\r2\b\b\u0002\u0010\u0010\u001a\u00020\u000f2\b\b\u0002\u0010\u0011\u001a\u00020\u000f2\b\b\u0002\u0010\u0013\u001a\u00020\u00122\b\b\u0002\u0010\u0014\u001a\u00020\u00122\b\b\u0002\u0010\u0015\u001a\u00020\u00122\n\b\u0002\u0010\u0016\u001a\u0004\u0018\u00010\r2\n\b\u0002\u0010\u0017\u001a\u0004\u0018\u00010\r2\b\b\u0002\u0010\u0018\u001a\u00020\u00022\b\b\u0002\u0010\u0019\u001a\u00020\u00022\b\b\u0002\u0010\u001a\u001a\u00020\u00022\b\b\u0002\u0010\u001b\u001a\u00020\r2$\b\u0002\u0010\u001e\u001a\u001e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00010\u001cj\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0001`\u001d2\b\b\u0002\u0010 \u001a\u00020\u001f2\b\b\u0002\u0010!\u001a\u00020\u00122\b\b\u0002\u0010\"\u001a\u00020\u00122\u000e\b\u0002\u0010#\u001a\b\u0012\u0004\u0012\u00020\u00020\u00062\n\b\u0002\u0010$\u001a\u0004\u0018\u00010\r2\b\b\u0002\u0010%\u001a\u00020\u00122\b\b\u0002\u0010&\u001a\u00020\u0012HÆ\u0001¢\u0006\u0004\bO\u0010PJ\u0010\u0010Q\u001a\u00020\u0002HÖ\u0001¢\u0006\u0004\bQ\u0010-J\u0010\u0010R\u001a\u00020\rHÖ\u0001¢\u0006\u0004\bR\u00105J\u001a\u0010T\u001a\u00020\u00122\b\u0010S\u001a\u0004\u0018\u00010\u0001HÖ\u0003¢\u0006\u0004\bT\u0010UJ\u0017\u0010V\u001a\u00020)2\u0006\u0010\u0003\u001a\u00020\u0002H\u0002¢\u0006\u0004\bV\u0010WJ\u0019\u0010Y\u001a\u00020)2\b\u0010X\u001a\u0004\u0018\u00010\u0002H\u0002¢\u0006\u0004\bY\u0010WR\"\u0010\u0003\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0003\u0010Z\u001a\u0004\b[\u0010-\"\u0004\b\\\u0010WR4\u0010\b\u001a\u0014\u0012\u0004\u0012\u00020\u0005\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00070\u00060\u00048\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\b\u0010]\u001a\u0004\b^\u0010/\"\u0004\b_\u0010`R$\u0010\t\u001a\u0004\u0018\u00010\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\t\u0010Z\u001a\u0004\ba\u0010-\"\u0004\bb\u0010WR\"\u0010\n\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\n\u0010Z\u001a\u0004\bc\u0010-\"\u0004\bd\u0010WR\"\u0010\f\u001a\u00020\u000b8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\f\u0010e\u001a\u0004\bf\u00103\"\u0004\bg\u0010hR\"\u0010\u000e\u001a\u00020\r8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u000e\u0010i\u001a\u0004\bj\u00105\"\u0004\bk\u0010lR\"\u0010\u0010\u001a\u00020\u000f8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0010\u0010m\u001a\u0004\bn\u00107\"\u0004\bo\u0010pR\"\u0010\u0011\u001a\u00020\u000f8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0011\u0010m\u001a\u0004\bq\u00107\"\u0004\br\u0010pR\"\u0010\u0013\u001a\u00020\u00128\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0013\u0010s\u001a\u0004\bt\u0010:\"\u0004\bu\u0010vR\"\u0010\u0014\u001a\u00020\u00128\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0014\u0010s\u001a\u0004\bw\u0010:\"\u0004\bx\u0010vR\"\u0010\u0015\u001a\u00020\u00128\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0015\u0010s\u001a\u0004\by\u0010:\"\u0004\bz\u0010vR$\u0010\u0016\u001a\u0004\u0018\u00010\r8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0016\u0010{\u001a\u0004\b|\u0010>\"\u0004\b}\u0010~R%\u0010\u0017\u001a\u0004\u0018\u00010\r8\u0006@\u0006X\u0086\u000e¢\u0006\u0013\n\u0004\b\u0017\u0010{\u001a\u0004\b\u007f\u0010>\"\u0005\b\u0080\u0001\u0010~R$\u0010\u0018\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0014\n\u0004\b\u0018\u0010Z\u001a\u0005\b\u0081\u0001\u0010-\"\u0005\b\u0082\u0001\u0010WR$\u0010\u0019\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0014\n\u0004\b\u0019\u0010Z\u001a\u0005\b\u0083\u0001\u0010-\"\u0005\b\u0084\u0001\u0010WR$\u0010\u001a\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0014\n\u0004\b\u001a\u0010Z\u001a\u0005\b\u0085\u0001\u0010-\"\u0005\b\u0086\u0001\u0010WR$\u0010\u001b\u001a\u00020\r8\u0006@\u0006X\u0086\u000e¢\u0006\u0014\n\u0004\b\u001b\u0010i\u001a\u0005\b\u0087\u0001\u00105\"\u0005\b\u0088\u0001\u0010lRB\u0010\u001e\u001a\u001e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00010\u001cj\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0001`\u001d8\u0006@\u0006X\u0086\u000e¢\u0006\u0016\n\u0005\b\u001e\u0010\u0089\u0001\u001a\u0005\b\u008a\u0001\u0010E\"\u0006\b\u008b\u0001\u0010\u008c\u0001R&\u0010 \u001a\u00020\u001f8\u0006@\u0006X\u0086\u000e¢\u0006\u0016\n\u0005\b \u0010\u008d\u0001\u001a\u0005\b\u008e\u0001\u0010G\"\u0006\b\u008f\u0001\u0010\u0090\u0001R$\u0010!\u001a\u00020\u00128\u0006@\u0006X\u0086\u000e¢\u0006\u0014\n\u0004\b!\u0010s\u001a\u0005\b\u0091\u0001\u0010:\"\u0005\b\u0092\u0001\u0010vR$\u0010\"\u001a\u00020\u00128\u0006@\u0006X\u0086\u000e¢\u0006\u0014\n\u0004\b\"\u0010s\u001a\u0005\b\u0093\u0001\u0010:\"\u0005\b\u0094\u0001\u0010vR,\u0010#\u001a\b\u0012\u0004\u0012\u00020\u00020\u00068\u0006@\u0006X\u0086\u000e¢\u0006\u0016\n\u0005\b#\u0010\u0095\u0001\u001a\u0005\b\u0096\u0001\u0010K\"\u0006\b\u0097\u0001\u0010\u0098\u0001R&\u0010$\u001a\u0004\u0018\u00010\r8\u0006@\u0006X\u0086\u000e¢\u0006\u0014\n\u0004\b$\u0010{\u001a\u0005\b\u0099\u0001\u0010>\"\u0005\b\u009a\u0001\u0010~R$\u0010%\u001a\u00020\u00128\u0006@\u0006X\u0086\u000e¢\u0006\u0014\n\u0004\b%\u0010s\u001a\u0005\b\u009b\u0001\u0010:\"\u0005\b\u009c\u0001\u0010vR$\u0010&\u001a\u00020\u00128\u0006@\u0006X\u0086\u000e¢\u0006\u0014\n\u0004\b&\u0010s\u001a\u0005\b\u009d\u0001\u0010:\"\u0005\b\u009e\u0001\u0010v¨\u0006¢\u0001"}, d2 = {"Lcom/exponea/sdk/models/ExponeaConfiguration;", ContentBlockCarouselViewController.EMPTY_PLACEHOLDER_ID, ContentBlockCarouselViewController.EMPTY_PLACEHOLDER_ID, "projectToken", ContentBlockCarouselViewController.EMPTY_PLACEHOLDER_ID, "Lcom/exponea/sdk/models/EventType;", ContentBlockCarouselViewController.EMPTY_PLACEHOLDER_ID, "Lcom/exponea/sdk/models/ExponeaProject;", "projectRouteMap", "authorization", "baseURL", "Lcom/exponea/sdk/models/ExponeaConfiguration$HttpLoggingLevel;", "httpLoggingLevel", ContentBlockCarouselViewController.EMPTY_PLACEHOLDER_ID, "maxTries", ContentBlockCarouselViewController.EMPTY_PLACEHOLDER_ID, "sessionTimeout", "campaignTTL", ContentBlockCarouselViewController.EMPTY_PLACEHOLDER_ID, "automaticSessionTracking", "automaticPushNotification", "requirePushAuthorization", "pushIcon", "pushAccentColor", "pushChannelName", "pushChannelDescription", "pushChannelId", "pushNotificationImportance", "Ljava/util/HashMap;", "Lkotlin/collections/HashMap;", "defaultProperties", "Lcom/exponea/sdk/models/ExponeaConfiguration$TokenFrequency;", "tokenTrackFrequency", "allowDefaultCustomerProperties", "advancedAuthEnabled", "inAppContentBlockPlaceholdersAutoLoad", "appInboxDetailImageInset", "allowWebViewCookies", "manualSessionAutoClose", "<init>", "(Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Lcom/exponea/sdk/models/ExponeaConfiguration$HttpLoggingLevel;IDDZZZLjava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/util/HashMap;Lcom/exponea/sdk/models/ExponeaConfiguration$TokenFrequency;ZZLjava/util/List;Ljava/lang/Integer;ZZ)V", "LVf/A;", "validate", "()V", "component1", "()Ljava/lang/String;", "component2", "()Ljava/util/Map;", "component3", "component4", "component5", "()Lcom/exponea/sdk/models/ExponeaConfiguration$HttpLoggingLevel;", "component6", "()I", "component7", "()D", "component8", "component9", "()Z", "component10", "component11", "component12", "()Ljava/lang/Integer;", "component13", "component14", "component15", "component16", "component17", "component18", "()Ljava/util/HashMap;", "component19", "()Lcom/exponea/sdk/models/ExponeaConfiguration$TokenFrequency;", "component20", "component21", "component22", "()Ljava/util/List;", "component23", "component24", "component25", "copy", "(Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Lcom/exponea/sdk/models/ExponeaConfiguration$HttpLoggingLevel;IDDZZZLjava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/util/HashMap;Lcom/exponea/sdk/models/ExponeaConfiguration$TokenFrequency;ZZLjava/util/List;Ljava/lang/Integer;ZZ)Lcom/exponea/sdk/models/ExponeaConfiguration;", "toString", "hashCode", "other", "equals", "(Ljava/lang/Object;)Z", "validateProjectToken", "(Ljava/lang/String;)V", "authToken", "validateBasicAuthValue", "Ljava/lang/String;", "getProjectToken", "setProjectToken", "Ljava/util/Map;", "getProjectRouteMap", "setProjectRouteMap", "(Ljava/util/Map;)V", "getAuthorization", "setAuthorization", "getBaseURL", "setBaseURL", "Lcom/exponea/sdk/models/ExponeaConfiguration$HttpLoggingLevel;", "getHttpLoggingLevel", "setHttpLoggingLevel", "(Lcom/exponea/sdk/models/ExponeaConfiguration$HttpLoggingLevel;)V", "I", "getMaxTries", "setMaxTries", "(I)V", "D", "getSessionTimeout", "setSessionTimeout", "(D)V", "getCampaignTTL", "setCampaignTTL", "Z", "getAutomaticSessionTracking", "setAutomaticSessionTracking", "(Z)V", "getAutomaticPushNotification", "setAutomaticPushNotification", "getRequirePushAuthorization", "setRequirePushAuthorization", "Ljava/lang/Integer;", "getPushIcon", "setPushIcon", "(Ljava/lang/Integer;)V", "getPushAccentColor", "setPushAccentColor", "getPushChannelName", "setPushChannelName", "getPushChannelDescription", "setPushChannelDescription", "getPushChannelId", "setPushChannelId", "getPushNotificationImportance", "setPushNotificationImportance", "Ljava/util/HashMap;", "getDefaultProperties", "setDefaultProperties", "(Ljava/util/HashMap;)V", "Lcom/exponea/sdk/models/ExponeaConfiguration$TokenFrequency;", "getTokenTrackFrequency", "setTokenTrackFrequency", "(Lcom/exponea/sdk/models/ExponeaConfiguration$TokenFrequency;)V", "getAllowDefaultCustomerProperties", "setAllowDefaultCustomerProperties", "getAdvancedAuthEnabled", "setAdvancedAuthEnabled", "Ljava/util/List;", "getInAppContentBlockPlaceholdersAutoLoad", "setInAppContentBlockPlaceholdersAutoLoad", "(Ljava/util/List;)V", "getAppInboxDetailImageInset", "setAppInboxDetailImageInset", "getAllowWebViewCookies", "setAllowWebViewCookies", "getManualSessionAutoClose", "setManualSessionAutoClose", "Companion", "HttpLoggingLevel", "TokenFrequency", "sdk_release"}, k = 1, mv = {1, 9, 0}, xi = 48)
public final class ExponeaConfiguration {
private boolean advancedAuthEnabled;
private boolean allowDefaultCustomerProperties;
private boolean allowWebViewCookies;
private Integer appInboxDetailImageInset;
private String authorization;
private boolean automaticPushNotification;
private boolean automaticSessionTracking;
private String baseURL;
private double campaignTTL;
private HashMap<String, Object> defaultProperties;
private HttpLoggingLevel httpLoggingLevel;
private List<String> inAppContentBlockPlaceholdersAutoLoad;
private boolean manualSessionAutoClose;
private int maxTries;
private Map<EventType, ? extends List<ExponeaProject>> projectRouteMap;
private String projectToken;
private Integer pushAccentColor;
private String pushChannelDescription;
private String pushChannelId;
private String pushChannelName;
private Integer pushIcon;
private int pushNotificationImportance;
private boolean requirePushAuthorization;
private double sessionTimeout;
private TokenFrequency tokenTrackFrequency;
public static final Companion INSTANCE = new Companion(null);
private static final String TOKEN_AUTH_PREFIX = "Token ";
private static final String BASIC_AUTH_PREFIX = "Basic ";
private static final String BEARER_AUTH_PREFIX = "Bearer ";
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0007\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0014\u0010\u0003\u001a\u00020\u0004X\u0086D¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0007\u001a\u00020\u0004X\u0086D¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0006R\u0014\u0010\t\u001a\u00020\u0004X\u0086D¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u0006¨\u0006\u000b"}, d2 = {"Lcom/exponea/sdk/models/ExponeaConfiguration$Companion;", ContentBlockCarouselViewController.EMPTY_PLACEHOLDER_ID, "()V", "BASIC_AUTH_PREFIX", ContentBlockCarouselViewController.EMPTY_PLACEHOLDER_ID, "getBASIC_AUTH_PREFIX", "()Ljava/lang/String;", "BEARER_AUTH_PREFIX", "getBEARER_AUTH_PREFIX", "TOKEN_AUTH_PREFIX", "getTOKEN_AUTH_PREFIX", "sdk_release"}, k = 1, mv = {1, 9, 0}, xi = 48)
public static final class Companion {
public Companion(d dVar) {
this();
}
public final String getBASIC_AUTH_PREFIX() {
return ExponeaConfiguration.BASIC_AUTH_PREFIX;
}
public final String getBEARER_AUTH_PREFIX() {
return ExponeaConfiguration.BEARER_AUTH_PREFIX;
}
public final String getTOKEN_AUTH_PREFIX() {
return ExponeaConfiguration.TOKEN_AUTH_PREFIX;
}
private Companion() {
}
}
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0006\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005j\u0002\b\u0006¨\u0006\u0007"}, d2 = {"Lcom/exponea/sdk/models/ExponeaConfiguration$HttpLoggingLevel;", ContentBlockCarouselViewController.EMPTY_PLACEHOLDER_ID, "(Ljava/lang/String;I)V", "NONE", "BASIC", "HEADERS", "BODY", "sdk_release"}, k = 1, mv = {1, 9, 0}, xi = 48)
public static final class HttpLoggingLevel {
private static final a $ENTRIES;
private static final HttpLoggingLevel[] $VALUES;
public static final HttpLoggingLevel NONE = new HttpLoggingLevel("NONE", 0);
public static final HttpLoggingLevel BASIC = new HttpLoggingLevel("BASIC", 1);
public static final HttpLoggingLevel HEADERS = new HttpLoggingLevel("HEADERS", 2);
public static final HttpLoggingLevel BODY = new HttpLoggingLevel("BODY", 3);
private static final HttpLoggingLevel[] $values() {
return new HttpLoggingLevel[]{NONE, BASIC, HEADERS, BODY};
}
static {
HttpLoggingLevel[] $values = $values();
$VALUES = $values;
$ENTRIES = kotlin.enums.a.a($values);
}
private HttpLoggingLevel(String str, int i5) {
}
public static a getEntries() {
return $ENTRIES;
}
public static HttpLoggingLevel valueOf(String str) {
return (HttpLoggingLevel) Enum.valueOf(HttpLoggingLevel.class, str);
}
public static HttpLoggingLevel[] values() {
return (HttpLoggingLevel[]) $VALUES.clone();
}
}
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0005\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005¨\u0006\u0006"}, d2 = {"Lcom/exponea/sdk/models/ExponeaConfiguration$TokenFrequency;", ContentBlockCarouselViewController.EMPTY_PLACEHOLDER_ID, "(Ljava/lang/String;I)V", "ON_TOKEN_CHANGE", "EVERY_LAUNCH", "DAILY", "sdk_release"}, k = 1, mv = {1, 9, 0}, xi = 48)
public static final class TokenFrequency {
private static final a $ENTRIES;
private static final TokenFrequency[] $VALUES;
public static final TokenFrequency ON_TOKEN_CHANGE = new TokenFrequency("ON_TOKEN_CHANGE", 0);
public static final TokenFrequency EVERY_LAUNCH = new TokenFrequency("EVERY_LAUNCH", 1);
public static final TokenFrequency DAILY = new TokenFrequency("DAILY", 2);
private static final TokenFrequency[] $values() {
return new TokenFrequency[]{ON_TOKEN_CHANGE, EVERY_LAUNCH, DAILY};
}
static {
TokenFrequency[] $values = $values();
$VALUES = $values;
$ENTRIES = kotlin.enums.a.a($values);
}
private TokenFrequency(String str, int i5) {
}
public static a getEntries() {
return $ENTRIES;
}
public static TokenFrequency valueOf(String str) {
return (TokenFrequency) Enum.valueOf(TokenFrequency.class, str);
}
public static TokenFrequency[] values() {
return (TokenFrequency[]) $VALUES.clone();
}
}
public ExponeaConfiguration() {
this(null, null, null, null, null, 0, 0.0d, 0.0d, false, false, false, null, null, null, null, null, 0, null, null, false, false, null, null, false, false, 33554431, null);
}
public static ExponeaConfiguration copy$default(ExponeaConfiguration exponeaConfiguration, String str, Map map, String str2, String str3, HttpLoggingLevel httpLoggingLevel, int i5, double d7, double d8, boolean z7, boolean z8, boolean z9, Integer num, Integer num2, String str4, String str5, String str6, int i7, HashMap hashMap, TokenFrequency tokenFrequency, boolean z10, boolean z11, List list, Integer num3, boolean z12, boolean z13, int i8, Object obj) {
boolean z14;
boolean z15;
String str7 = (i8 & 1) != 0 ? exponeaConfiguration.projectToken : str;
Map map2 = (i8 & 2) != 0 ? exponeaConfiguration.projectRouteMap : map;
String str8 = (i8 & 4) != 0 ? exponeaConfiguration.authorization : str2;
String str9 = (i8 & 8) != 0 ? exponeaConfiguration.baseURL : str3;
HttpLoggingLevel httpLoggingLevel2 = (i8 & 16) != 0 ? exponeaConfiguration.httpLoggingLevel : httpLoggingLevel;
int i9 = (i8 & 32) != 0 ? exponeaConfiguration.maxTries : i5;
double d9 = (i8 & 64) != 0 ? exponeaConfiguration.sessionTimeout : d7;
double d10 = (i8 & 128) != 0 ? exponeaConfiguration.campaignTTL : d8;
boolean z16 = (i8 & DefaultUserEventsConfig.MAX_CHARACTERS_PER_EVENT_PROPERTY_VALUE) != 0 ? exponeaConfiguration.automaticSessionTracking : z7;
boolean z17 = (i8 & 512) != 0 ? exponeaConfiguration.automaticPushNotification : z8;
boolean z18 = (i8 & 1024) != 0 ? exponeaConfiguration.requirePushAuthorization : z9;
Integer num4 = (i8 & 2048) != 0 ? exponeaConfiguration.pushIcon : num;
String str10 = str7;
Integer num5 = (i8 & 4096) != 0 ? exponeaConfiguration.pushAccentColor : num2;
String str11 = (i8 & 8192) != 0 ? exponeaConfiguration.pushChannelName : str4;
String str12 = (i8 & 16384) != 0 ? exponeaConfiguration.pushChannelDescription : str5;
String str13 = (i8 & 32768) != 0 ? exponeaConfiguration.pushChannelId : str6;
int i10 = (i8 & 65536) != 0 ? exponeaConfiguration.pushNotificationImportance : i7;
HashMap hashMap2 = (i8 & 131072) != 0 ? exponeaConfiguration.defaultProperties : hashMap;
TokenFrequency tokenFrequency2 = (i8 & 262144) != 0 ? exponeaConfiguration.tokenTrackFrequency : tokenFrequency;
boolean z19 = (i8 & 524288) != 0 ? exponeaConfiguration.allowDefaultCustomerProperties : z10;
boolean z20 = (i8 & 1048576) != 0 ? exponeaConfiguration.advancedAuthEnabled : z11;
List list2 = (i8 & 2097152) != 0 ? exponeaConfiguration.inAppContentBlockPlaceholdersAutoLoad : list;
Integer num6 = (i8 & 4194304) != 0 ? exponeaConfiguration.appInboxDetailImageInset : num3;
boolean z21 = (i8 & 8388608) != 0 ? exponeaConfiguration.allowWebViewCookies : z12;
if ((i8 & 16777216) != 0) {
z15 = z21;
z14 = exponeaConfiguration.manualSessionAutoClose;
} else {
z14 = z13;
z15 = z21;
}
return exponeaConfiguration.copy(str10, map2, str8, str9, httpLoggingLevel2, i9, d9, d10, z16, z17, z18, num4, num5, str11, str12, str13, i10, hashMap2, tokenFrequency2, z19, z20, list2, num6, z15, z14);
}
private final void validateBasicAuthValue(String authToken) {
if (authToken != null && y.v(authToken, BASIC_AUTH_PREFIX, false)) {
throw new InvalidConfigurationException("Basic authentication is not supported by mobile SDK for security reasons.\nUse Token authentication instead.\nFor more details see https://documentation.bloomreach.com/engagement/reference/technical-information#public-api-access");
}
if (authToken != null && !y.v(authToken, TOKEN_AUTH_PREFIX, false)) {
throw new InvalidConfigurationException("Use 'Token <access token>' as authorization for SDK.\nFor more details see https://documentation.bloomreach.com/engagement/reference/technical-information#public-api-access");
}
}
private final void validateProjectToken(String projectToken) {
if (A.F(projectToken)) {
throw new InvalidConfigurationException("Project token provided is not valid. Project token cannot be empty string.");
}
ArrayList c02 = K.c0(K.b0(K.Z(new c('a', 'z'), new c('A', 'Z')), new c('0', '9')), '-');
for (int i5 = 0; i5 < projectToken.length(); i5++) {
if (!c02.contains(Character.valueOf(projectToken.charAt(i5)))) {
throw new InvalidConfigurationException("Project token provided is not valid. Only alphanumeric symbols and dashes are allowed in project token.");
}
}
}
public final String getProjectToken() {
return this.projectToken;
}
public final boolean getAutomaticPushNotification() {
return this.automaticPushNotification;
}
public final boolean getRequirePushAuthorization() {
return this.requirePushAuthorization;
}
public final Integer getPushIcon() {
return this.pushIcon;
}
public final Integer getPushAccentColor() {
return this.pushAccentColor;
}
public final String getPushChannelName() {
return this.pushChannelName;
}
public final String getPushChannelDescription() {
return this.pushChannelDescription;
}
public final String getPushChannelId() {
return this.pushChannelId;
}
public final int getPushNotificationImportance() {
return this.pushNotificationImportance;
}
public final HashMap<String, Object> component18() {
return this.defaultProperties;
}
public final TokenFrequency getTokenTrackFrequency() {
return this.tokenTrackFrequency;
}
public final Map<EventType, List<ExponeaProject>> component2() {
return this.projectRouteMap;
}
public final boolean getAllowDefaultCustomerProperties() {
return this.allowDefaultCustomerProperties;
}
public final boolean getAdvancedAuthEnabled() {
return this.advancedAuthEnabled;
}
public final List<String> component22() {
return this.inAppContentBlockPlaceholdersAutoLoad;
}
public final Integer getAppInboxDetailImageInset() {
return this.appInboxDetailImageInset;
}
public final boolean getAllowWebViewCookies() {
return this.allowWebViewCookies;
}
public final boolean getManualSessionAutoClose() {
return this.manualSessionAutoClose;
}
public final String getAuthorization() {
return this.authorization;
}
public final String getBaseURL() {
return this.baseURL;
}
public final HttpLoggingLevel getHttpLoggingLevel() {
return this.httpLoggingLevel;
}
public final int getMaxTries() {
return this.maxTries;
}
public final double getSessionTimeout() {
return this.sessionTimeout;
}
public final double getCampaignTTL() {
return this.campaignTTL;
}
public final boolean getAutomaticSessionTracking() {
return this.automaticSessionTracking;
}
public final ExponeaConfiguration copy(String projectToken, Map<EventType, ? extends List<ExponeaProject>> projectRouteMap, String authorization, String baseURL, HttpLoggingLevel httpLoggingLevel, int maxTries, double sessionTimeout, double campaignTTL, boolean automaticSessionTracking, boolean automaticPushNotification, boolean requirePushAuthorization, Integer pushIcon, Integer pushAccentColor, String pushChannelName, String pushChannelDescription, String pushChannelId, int pushNotificationImportance, HashMap<String, Object> defaultProperties, TokenFrequency tokenTrackFrequency, boolean allowDefaultCustomerProperties, boolean advancedAuthEnabled, List<String> inAppContentBlockPlaceholdersAutoLoad, Integer appInboxDetailImageInset, boolean allowWebViewCookies, boolean manualSessionAutoClose) {
i.g(projectToken, "projectToken");
i.g(projectRouteMap, "projectRouteMap");
i.g(baseURL, "baseURL");
i.g(httpLoggingLevel, "httpLoggingLevel");
i.g(pushChannelName, "pushChannelName");
i.g(pushChannelDescription, "pushChannelDescription");
i.g(pushChannelId, "pushChannelId");
i.g(defaultProperties, "defaultProperties");
i.g(tokenTrackFrequency, "tokenTrackFrequency");
i.g(inAppContentBlockPlaceholdersAutoLoad, "inAppContentBlockPlaceholdersAutoLoad");
return new ExponeaConfiguration(projectToken, projectRouteMap, authorization, baseURL, httpLoggingLevel, maxTries, sessionTimeout, campaignTTL, automaticSessionTracking, automaticPushNotification, requirePushAuthorization, pushIcon, pushAccentColor, pushChannelName, pushChannelDescription, pushChannelId, pushNotificationImportance, defaultProperties, tokenTrackFrequency, allowDefaultCustomerProperties, advancedAuthEnabled, inAppContentBlockPlaceholdersAutoLoad, appInboxDetailImageInset, allowWebViewCookies, manualSessionAutoClose);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof ExponeaConfiguration)) {
return false;
}
ExponeaConfiguration exponeaConfiguration = (ExponeaConfiguration) other;
return i.b(this.projectToken, exponeaConfiguration.projectToken) && i.b(this.projectRouteMap, exponeaConfiguration.projectRouteMap) && i.b(this.authorization, exponeaConfiguration.authorization) && i.b(this.baseURL, exponeaConfiguration.baseURL) && this.httpLoggingLevel == exponeaConfiguration.httpLoggingLevel && this.maxTries == exponeaConfiguration.maxTries && Double.compare(this.sessionTimeout, exponeaConfiguration.sessionTimeout) == 0 && Double.compare(this.campaignTTL, exponeaConfiguration.campaignTTL) == 0 && this.automaticSessionTracking == exponeaConfiguration.automaticSessionTracking && this.automaticPushNotification == exponeaConfiguration.automaticPushNotification && this.requirePushAuthorization == exponeaConfiguration.requirePushAuthorization && i.b(this.pushIcon, exponeaConfiguration.pushIcon) && i.b(this.pushAccentColor, exponeaConfiguration.pushAccentColor) && i.b(this.pushChannelName, exponeaConfiguration.pushChannelName) && i.b(this.pushChannelDescription, exponeaConfiguration.pushChannelDescription) && i.b(this.pushChannelId, exponeaConfiguration.pushChannelId) && this.pushNotificationImportance == exponeaConfiguration.pushNotificationImportance && i.b(this.defaultProperties, exponeaConfiguration.defaultProperties) && this.tokenTrackFrequency == exponeaConfiguration.tokenTrackFrequency && this.allowDefaultCustomerProperties == exponeaConfiguration.allowDefaultCustomerProperties && this.advancedAuthEnabled == exponeaConfiguration.advancedAuthEnabled && i.b(this.inAppContentBlockPlaceholdersAutoLoad, exponeaConfiguration.inAppContentBlockPlaceholdersAutoLoad) && i.b(this.appInboxDetailImageInset, exponeaConfiguration.appInboxDetailImageInset) && this.allowWebViewCookies == exponeaConfiguration.allowWebViewCookies && this.manualSessionAutoClose == exponeaConfiguration.manualSessionAutoClose;
}
public final boolean getAdvancedAuthEnabled() {
return this.advancedAuthEnabled;
}
public final boolean getAllowDefaultCustomerProperties() {
return this.allowDefaultCustomerProperties;
}
public final boolean getAllowWebViewCookies() {
return this.allowWebViewCookies;
}
public final Integer getAppInboxDetailImageInset() {
return this.appInboxDetailImageInset;
}
public final String getAuthorization() {
return this.authorization;
}
public final boolean getAutomaticPushNotification() {
return this.automaticPushNotification;
}
public final boolean getAutomaticSessionTracking() {
return this.automaticSessionTracking;
}
public final String getBaseURL() {
return this.baseURL;
}
public final double getCampaignTTL() {
return this.campaignTTL;
}
public final HashMap<String, Object> getDefaultProperties() {
return this.defaultProperties;
}
public final HttpLoggingLevel getHttpLoggingLevel() {
return this.httpLoggingLevel;
}
public final List<String> getInAppContentBlockPlaceholdersAutoLoad() {
return this.inAppContentBlockPlaceholdersAutoLoad;
}
public final boolean getManualSessionAutoClose() {
return this.manualSessionAutoClose;
}
public final int getMaxTries() {
return this.maxTries;
}
public final Map<EventType, List<ExponeaProject>> getProjectRouteMap() {
return this.projectRouteMap;
}
public final String getProjectToken() {
return this.projectToken;
}
public final Integer getPushAccentColor() {
return this.pushAccentColor;
}
public final String getPushChannelDescription() {
return this.pushChannelDescription;
}
public final String getPushChannelId() {
return this.pushChannelId;
}
public final String getPushChannelName() {
return this.pushChannelName;
}
public final Integer getPushIcon() {
return this.pushIcon;
}
public final int getPushNotificationImportance() {
return this.pushNotificationImportance;
}
public final boolean getRequirePushAuthorization() {
return this.requirePushAuthorization;
}
public final double getSessionTimeout() {
return this.sessionTimeout;
}
public final TokenFrequency getTokenTrackFrequency() {
return this.tokenTrackFrequency;
}
public int hashCode() {
int d7 = AbstractC1144b.d(this.projectRouteMap, this.projectToken.hashCode() * 31, 31);
String str = this.authorization;
int a8 = AbstractC0151g.a(this.campaignTTL, AbstractC0151g.a(this.sessionTimeout, l.a(this.maxTries, (this.httpLoggingLevel.hashCode() + AbstractC1144b.c((d7 + (str == null ? 0 : str.hashCode())) * 31, 31, this.baseURL)) * 31, 31), 31), 31);
boolean z7 = this.automaticSessionTracking;
int i5 = z7;
if (z7 != 0) {
i5 = 1;
}
int i7 = (a8 + i5) * 31;
boolean z8 = this.automaticPushNotification;
int i8 = z8;
if (z8 != 0) {
i8 = 1;
}
int i9 = (i7 + i8) * 31;
boolean z9 = this.requirePushAuthorization;
int i10 = z9;
if (z9 != 0) {
i10 = 1;
}
int i11 = (i9 + i10) * 31;
Integer num = this.pushIcon;
int hashCode = (i11 + (num == null ? 0 : num.hashCode())) * 31;
Integer num2 = this.pushAccentColor;
int hashCode2 = (this.tokenTrackFrequency.hashCode() + ((this.defaultProperties.hashCode() + l.a(this.pushNotificationImportance, AbstractC1144b.c(AbstractC1144b.c(AbstractC1144b.c((hashCode + (num2 == null ? 0 : num2.hashCode())) * 31, 31, this.pushChannelName), 31, this.pushChannelDescription), 31, this.pushChannelId), 31)) * 31)) * 31;
boolean z10 = this.allowDefaultCustomerProperties;
int i12 = z10;
if (z10 != 0) {
i12 = 1;
}
int i13 = (hashCode2 + i12) * 31;
boolean z11 = this.advancedAuthEnabled;
int i14 = z11;
if (z11 != 0) {
i14 = 1;
}
int c7 = AbstractC0151g.c(this.inAppContentBlockPlaceholdersAutoLoad, (i13 + i14) * 31, 31);
Integer num3 = this.appInboxDetailImageInset;
int hashCode3 = (c7 + (num3 != null ? num3.hashCode() : 0)) * 31;
boolean z12 = this.allowWebViewCookies;
int i15 = z12;
if (z12 != 0) {
i15 = 1;
}
int i16 = (hashCode3 + i15) * 31;
boolean z13 = this.manualSessionAutoClose;
return i16 + (z13 ? 1 : z13 ? 1 : 0);
}
public final void setAdvancedAuthEnabled(boolean z7) {
this.advancedAuthEnabled = z7;
}
public final void setAllowDefaultCustomerProperties(boolean z7) {
this.allowDefaultCustomerProperties = z7;
}
public final void setAllowWebViewCookies(boolean z7) {
this.allowWebViewCookies = z7;
}
public final void setAppInboxDetailImageInset(Integer num) {
this.appInboxDetailImageInset = num;
}
public final void setAuthorization(String str) {
this.authorization = str;
}
public final void setAutomaticPushNotification(boolean z7) {
this.automaticPushNotification = z7;
}
public final void setAutomaticSessionTracking(boolean z7) {
this.automaticSessionTracking = z7;
}
public final void setBaseURL(String str) {
i.g(str, "<set-?>");
this.baseURL = str;
}
public final void setCampaignTTL(double d7) {
this.campaignTTL = d7;
}
public final void setDefaultProperties(HashMap<String, Object> hashMap) {
i.g(hashMap, "<set-?>");
this.defaultProperties = hashMap;
}
public final void setHttpLoggingLevel(HttpLoggingLevel httpLoggingLevel) {
i.g(httpLoggingLevel, "<set-?>");
this.httpLoggingLevel = httpLoggingLevel;
}
public final void setInAppContentBlockPlaceholdersAutoLoad(List<String> list) {
i.g(list, "<set-?>");
this.inAppContentBlockPlaceholdersAutoLoad = list;
}
public final void setManualSessionAutoClose(boolean z7) {
this.manualSessionAutoClose = z7;
}
public final void setMaxTries(int i5) {
this.maxTries = i5;
}
public final void setProjectRouteMap(Map<EventType, ? extends List<ExponeaProject>> map) {
i.g(map, "<set-?>");
this.projectRouteMap = map;
}
public final void setProjectToken(String str) {
i.g(str, "<set-?>");
this.projectToken = str;
}
public final void setPushAccentColor(Integer num) {
this.pushAccentColor = num;
}
public final void setPushChannelDescription(String str) {
i.g(str, "<set-?>");
this.pushChannelDescription = str;
}
public final void setPushChannelId(String str) {
i.g(str, "<set-?>");
this.pushChannelId = str;
}
public final void setPushChannelName(String str) {
i.g(str, "<set-?>");
this.pushChannelName = str;
}
public final void setPushIcon(Integer num) {
this.pushIcon = num;
}
public final void setPushNotificationImportance(int i5) {
this.pushNotificationImportance = i5;
}
public final void setRequirePushAuthorization(boolean z7) {
this.requirePushAuthorization = z7;
}
public final void setSessionTimeout(double d7) {
this.sessionTimeout = d7;
}
public final void setTokenTrackFrequency(TokenFrequency tokenFrequency) {
i.g(tokenFrequency, "<set-?>");
this.tokenTrackFrequency = tokenFrequency;
}
public String toString() {
String str = this.projectToken;
Map<EventType, ? extends List<ExponeaProject>> map = this.projectRouteMap;
String str2 = this.authorization;
String str3 = this.baseURL;
HttpLoggingLevel httpLoggingLevel = this.httpLoggingLevel;
int i5 = this.maxTries;
double d7 = this.sessionTimeout;
double d8 = this.campaignTTL;
boolean z7 = this.automaticSessionTracking;
boolean z8 = this.automaticPushNotification;
boolean z9 = this.requirePushAuthorization;
Integer num = this.pushIcon;
Integer num2 = this.pushAccentColor;
String str4 = this.pushChannelName;
String str5 = this.pushChannelDescription;
String str6 = this.pushChannelId;
int i7 = this.pushNotificationImportance;
HashMap<String, Object> hashMap = this.defaultProperties;
TokenFrequency tokenFrequency = this.tokenTrackFrequency;
boolean z10 = this.allowDefaultCustomerProperties;
boolean z11 = this.advancedAuthEnabled;
List<String> list = this.inAppContentBlockPlaceholdersAutoLoad;
Integer num3 = this.appInboxDetailImageInset;
boolean z12 = this.allowWebViewCookies;
boolean z13 = this.manualSessionAutoClose;
StringBuilder sb = new StringBuilder("ExponeaConfiguration(projectToken=");
sb.append(str);
sb.append(", projectRouteMap=");
sb.append(map);
sb.append(", authorization=");
l.y(sb, str2, ", baseURL=", str3, ", httpLoggingLevel=");
sb.append(httpLoggingLevel);
sb.append(", maxTries=");
sb.append(i5);
sb.append(", sessionTimeout=");
sb.append(d7);
sb.append(", campaignTTL=");
sb.append(d8);
sb.append(", automaticSessionTracking=");
sb.append(z7);
sb.append(", automaticPushNotification=");
sb.append(z8);
sb.append(", requirePushAuthorization=");
sb.append(z9);
sb.append(", pushIcon=");
sb.append(num);
sb.append(", pushAccentColor=");
sb.append(num2);
sb.append(", pushChannelName=");
sb.append(str4);
sb.append(", pushChannelDescription=");
l.y(sb, str5, ", pushChannelId=", str6, ", pushNotificationImportance=");
sb.append(i7);
sb.append(", defaultProperties=");
sb.append(hashMap);
sb.append(", tokenTrackFrequency=");
sb.append(tokenFrequency);
sb.append(", allowDefaultCustomerProperties=");
sb.append(z10);
sb.append(", advancedAuthEnabled=");
sb.append(z11);
sb.append(", inAppContentBlockPlaceholdersAutoLoad=");
sb.append(list);
sb.append(", appInboxDetailImageInset=");
sb.append(num3);
sb.append(", allowWebViewCookies=");
sb.append(z12);
sb.append(", manualSessionAutoClose=");
return l.q(")", sb, z13);
}
public final void validate() {
validateProjectToken(this.projectToken);
for (Map.Entry<EventType, ? extends List<ExponeaProject>> entry : this.projectRouteMap.entrySet()) {
EventType key = entry.getKey();
Iterator<T> it = entry.getValue().iterator();
while (it.hasNext()) {
try {
validateProjectToken(((ExponeaProject) it.next()).getProjectToken());
} catch (Exception e4) {
throw new InvalidConfigurationException(r.b("\n Project mapping for event type " + key + " is not valid. " + e4.getLocalizedMessage() + "\n "));
}
}
}
validateBasicAuthValue(this.authorization);
}
public ExponeaConfiguration(String str, Map<EventType, ? extends List<ExponeaProject>> map, String str2, String str3, HttpLoggingLevel httpLoggingLevel, int i5, double d7, double d8, boolean z7, boolean z8, boolean z9, Integer num, Integer num2, String str4, String str5, String str6, int i7, HashMap<String, Object> hashMap, TokenFrequency tokenFrequency, boolean z10, boolean z11, List<String> list, Integer num3, boolean z12, boolean z13) {
i.g(str, "projectToken");
i.g(map, "projectRouteMap");
i.g(str3, "baseURL");
i.g(httpLoggingLevel, "httpLoggingLevel");
i.g(str4, "pushChannelName");
i.g(str5, "pushChannelDescription");
i.g(str6, "pushChannelId");
i.g(hashMap, "defaultProperties");
i.g(tokenFrequency, "tokenTrackFrequency");
i.g(list, "inAppContentBlockPlaceholdersAutoLoad");
this.projectToken = str;
this.projectRouteMap = map;
this.authorization = str2;
this.baseURL = str3;
this.httpLoggingLevel = httpLoggingLevel;
this.maxTries = i5;
this.sessionTimeout = d7;
this.campaignTTL = d8;
this.automaticSessionTracking = z7;
this.automaticPushNotification = z8;
this.requirePushAuthorization = z9;
this.pushIcon = num;
this.pushAccentColor = num2;
this.pushChannelName = str4;
this.pushChannelDescription = str5;
this.pushChannelId = str6;
this.pushNotificationImportance = i7;
this.defaultProperties = hashMap;
this.tokenTrackFrequency = tokenFrequency;
this.allowDefaultCustomerProperties = z10;
this.advancedAuthEnabled = z11;
this.inAppContentBlockPlaceholdersAutoLoad = list;
this.appInboxDetailImageInset = num3;
this.allowWebViewCookies = z12;
this.manualSessionAutoClose = z13;
}
public ExponeaConfiguration(String str, Map map, String str2, String str3, HttpLoggingLevel httpLoggingLevel, int i5, double d7, double d8, boolean z7, boolean z8, boolean z9, Integer num, Integer num2, String str4, String str5, String str6, int i7, HashMap hashMap, TokenFrequency tokenFrequency, boolean z10, boolean z11, List list, Integer num3, boolean z12, boolean z13, int i8, d dVar) {
this((i8 & 1) != 0 ? ContentBlockCarouselViewController.EMPTY_PLACEHOLDER_ID : str, (i8 & 2) != 0 ? kotlin.collections.a.d() : map, (i8 & 4) != 0 ? null : str2, (i8 & 8) != 0 ? Constants.Repository.INSTANCE.getBaseURL() : str3, (i8 & 16) != 0 ? HttpLoggingLevel.BODY : httpLoggingLevel, (i8 & 32) != 0 ? 10 : i5, (i8 & 64) != 0 ? 60.0d : d7, (i8 & 128) != 0 ? 10.0d : d8, (i8 & DefaultUserEventsConfig.MAX_CHARACTERS_PER_EVENT_PROPERTY_VALUE) != 0 ? true : z7, (i8 & 512) != 0 ? true : z8, (i8 & 1024) != 0 ? false : z9, (i8 & 2048) != 0 ? null : num, (i8 & 4096) != 0 ? null : num2, (i8 & 8192) != 0 ? "Exponea" : str4, (i8 & 16384) != 0 ? "Notifications" : str5, (i8 & 32768) != 0 ? "0" : str6, (i8 & 65536) != 0 ? 3 : i7, (i8 & 131072) != 0 ? new HashMap() : hashMap, (i8 & 262144) != 0 ? TokenFrequency.ON_TOKEN_CHANGE : tokenFrequency, (i8 & 524288) != 0 ? true : z10, (i8 & 1048576) != 0 ? false : z11, (i8 & 2097152) != 0 ? EmptyList.a : list, (i8 & 4194304) != 0 ? null : num3, (i8 & 8388608) == 0 ? z12 : false, (i8 & 16777216) != 0 ? true : z13);
}
}