package com.strmr.ps.data.local;

import androidx.media3.exoplayer.rtsp.SessionDescription;
import androidx.media3.extractor.text.ttml.TtmlNode;
import androidx.room.RoomDatabase;
import androidx.room.k;
import com.google.android.gms.common.Scopes;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
import com.strmr.ps.data.local.entity.PlaybackProgress;
import defpackage.cr4;
import defpackage.fi7;
import defpackage.je9;
import defpackage.n41;
import defpackage.sp1;
import defpackage.xi9;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;

/* JADX INFO: loaded from: classes3.dex */
class a extends k.b {
    public final /* synthetic */ AppDatabase_Impl b;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public a(AppDatabase_Impl appDatabase_Impl) {
        super(21);
        this.b = appDatabase_Impl;
    }

    @Override // androidx.room.k.b
    public final void a(je9 je9Var) {
        n41.z(je9Var, "CREATE TABLE IF NOT EXISTS `cached_content` (`id` TEXT NOT NULL, `tmdbId` INTEGER NOT NULL, `imdbId` TEXT, `title` TEXT NOT NULL, `overview` TEXT, `posterUrl` TEXT, `backdropUrl` TEXT, `logoUrl` TEXT, `year` TEXT, `rating` REAL, `ratingPercentage` INTEGER, `genres` TEXT, `contentType` TEXT NOT NULL, `category` TEXT NOT NULL, `runtime` TEXT, `cast` TEXT, `certification` TEXT, `imdbRating` TEXT, `rottenTomatoesRating` TEXT, `traktRating` REAL, `position` INTEGER NOT NULL, `cachedAt` INTEGER NOT NULL, PRIMARY KEY(`id`))", "CREATE INDEX IF NOT EXISTS `index_cached_content_category_position` ON `cached_content` (`category`, `position`)", "CREATE INDEX IF NOT EXISTS `index_cached_content_category_cachedAt` ON `cached_content` (`category`, `cachedAt`)", "CREATE TABLE IF NOT EXISTS `trakt_accounts` (`userSlug` TEXT NOT NULL, `userName` TEXT, `accessToken` TEXT NOT NULL, `refreshToken` TEXT, `tokenType` TEXT, `scope` TEXT, `expiresAt` INTEGER NOT NULL, `createdAt` INTEGER NOT NULL, `isActive` INTEGER NOT NULL, `avatarResourceId` INTEGER, `statsMoviesWatched` INTEGER, `statsShowsWatched` INTEGER, `statsMinutesWatched` INTEGER, `lastSyncAt` INTEGER, `lastHistorySync` INTEGER, `lastCollectionSync` INTEGER, `lastWatchlistSync` INTEGER, `lastDroppedSync` INTEGER, `lastActivitiesAt` INTEGER, PRIMARY KEY(`userSlug`))");
        n41.z(je9Var, "CREATE INDEX IF NOT EXISTS `index_trakt_accounts_createdAt` ON `trakt_accounts` (`createdAt`)", "CREATE INDEX IF NOT EXISTS `index_trakt_accounts_isActive` ON `trakt_accounts` (`isActive`)", "CREATE TABLE IF NOT EXISTS `trakt_user_items` (`id` TEXT NOT NULL, `userSlug` TEXT NOT NULL, `listType` TEXT NOT NULL, `itemType` TEXT NOT NULL, `traktId` INTEGER, `tmdbId` INTEGER, `slug` TEXT, `title` TEXT, `year` TEXT, `updatedAt` INTEGER NOT NULL, `listedAt` INTEGER, `collectedAt` INTEGER, `watchedAt` INTEGER, PRIMARY KEY(`id`))", "CREATE INDEX IF NOT EXISTS `index_trakt_user_items_userSlug_listType_tmdbId` ON `trakt_user_items` (`userSlug`, `listType`, `tmdbId`)");
        n41.z(je9Var, "CREATE INDEX IF NOT EXISTS `index_trakt_user_items_tmdbId` ON `trakt_user_items` (`tmdbId`)", "CREATE INDEX IF NOT EXISTS `index_trakt_user_items_userSlug_listType_itemType` ON `trakt_user_items` (`userSlug`, `listType`, `itemType`)", "CREATE INDEX IF NOT EXISTS `index_trakt_user_items_userSlug_listType_listedAt` ON `trakt_user_items` (`userSlug`, `listType`, `listedAt`)", "CREATE INDEX IF NOT EXISTS `index_trakt_user_items_userSlug_listType_updatedAt` ON `trakt_user_items` (`userSlug`, `listType`, `updatedAt`)");
        n41.z(je9Var, "CREATE INDEX IF NOT EXISTS `index_trakt_user_items_userSlug_listType_watchedAt` ON `trakt_user_items` (`userSlug`, `listType`, `watchedAt`)", "CREATE TABLE IF NOT EXISTS `continue_watching` (`cacheId` TEXT NOT NULL, `id` INTEGER NOT NULL, `tmdbId` INTEGER NOT NULL, `imdbId` TEXT, `title` TEXT NOT NULL, `overview` TEXT, `posterUrl` TEXT, `backdropUrl` TEXT, `logoUrl` TEXT, `year` TEXT, `rating` REAL, `ratingPercentage` INTEGER, `genres` TEXT, `type` TEXT NOT NULL, `runtime` TEXT, `cast` TEXT, `certification` TEXT, `imdbRating` TEXT, `rottenTomatoesRating` TEXT, `traktRating` REAL, `watchProgress` REAL, `updatedAt` INTEGER NOT NULL, PRIMARY KEY(`cacheId`))", "CREATE INDEX IF NOT EXISTS `index_continue_watching_tmdbId` ON `continue_watching` (`tmdbId`)", "CREATE INDEX IF NOT EXISTS `index_continue_watching_updatedAt` ON `continue_watching` (`updatedAt`)");
        n41.z(je9Var, "CREATE TABLE IF NOT EXISTS `watch_status` (`key` TEXT NOT NULL, `userSlug` TEXT NOT NULL, `tmdbId` INTEGER NOT NULL, `type` TEXT NOT NULL, `progress` REAL, `updatedAt` INTEGER NOT NULL, `lastWatched` INTEGER, `nextEpisodeTitle` TEXT, `nextEpisodeSeason` INTEGER, `nextEpisodeNumber` INTEGER, `nextEpisodeTmdbId` INTEGER, PRIMARY KEY(`key`))", "CREATE INDEX IF NOT EXISTS `index_watch_status_tmdbId` ON `watch_status` (`tmdbId`)", "CREATE INDEX IF NOT EXISTS `index_watch_status_type` ON `watch_status` (`type`)", "CREATE INDEX IF NOT EXISTS `index_watch_status_updatedAt` ON `watch_status` (`updatedAt`)");
        n41.z(je9Var, "CREATE INDEX IF NOT EXISTS `index_watch_status_userSlug` ON `watch_status` (`userSlug`)", "CREATE INDEX IF NOT EXISTS `index_watch_status_userSlug_tmdbId_type` ON `watch_status` (`userSlug`, `tmdbId`, `type`)", "CREATE TABLE IF NOT EXISTS `media_content` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `tmdbId` INTEGER NOT NULL, `imdbId` TEXT, `title` TEXT NOT NULL, `overview` TEXT, `year` TEXT, `runtime` INTEGER, `certification` TEXT, `contentType` TEXT NOT NULL, `category` TEXT NOT NULL, `position` INTEGER NOT NULL, `genres` TEXT, `cast` TEXT, `cachedAt` INTEGER NOT NULL)", "CREATE INDEX IF NOT EXISTS `index_media_content_category_position` ON `media_content` (`category`, `position`)");
        n41.z(je9Var, "CREATE UNIQUE INDEX IF NOT EXISTS `index_media_content_tmdbId` ON `media_content` (`tmdbId`)", "CREATE INDEX IF NOT EXISTS `index_media_content_cachedAt` ON `media_content` (`cachedAt`)", "CREATE INDEX IF NOT EXISTS `index_media_content_contentType_category` ON `media_content` (`contentType`, `category`)", "CREATE TABLE IF NOT EXISTS `media_images` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `tmdbId` INTEGER NOT NULL, `posterUrl` TEXT, `backdropUrl` TEXT, `logoUrl` TEXT, FOREIGN KEY(`tmdbId`) REFERENCES `media_content`(`tmdbId`) ON UPDATE NO ACTION ON DELETE CASCADE )");
        n41.z(je9Var, "CREATE INDEX IF NOT EXISTS `index_media_images_tmdbId` ON `media_images` (`tmdbId`)", "CREATE TABLE IF NOT EXISTS `media_ratings` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `tmdbId` INTEGER NOT NULL, `tmdbRating` REAL, `imdbRating` REAL, `traktRating` REAL, `rottenTomatoesRating` INTEGER, `updatedAt` INTEGER NOT NULL, FOREIGN KEY(`tmdbId`) REFERENCES `media_content`(`tmdbId`) ON UPDATE NO ACTION ON DELETE CASCADE )", "CREATE INDEX IF NOT EXISTS `index_media_ratings_tmdbId` ON `media_ratings` (`tmdbId`)", "CREATE TABLE IF NOT EXISTS `watch_progress` (`tmdbId` INTEGER NOT NULL, `progress` REAL NOT NULL, `lastWatchedAt` INTEGER NOT NULL, `episodeId` INTEGER, `seasonNumber` INTEGER, `episodeNumber` INTEGER, PRIMARY KEY(`tmdbId`))");
        n41.z(je9Var, "CREATE UNIQUE INDEX IF NOT EXISTS `index_watch_progress_tmdbId` ON `watch_progress` (`tmdbId`)", "CREATE TABLE IF NOT EXISTS `row_config` (`id` TEXT NOT NULL, `profileSlug` TEXT NOT NULL, `screenType` TEXT NOT NULL, `title` TEXT NOT NULL, `rowType` TEXT NOT NULL, `contentType` TEXT, `presentation` TEXT NOT NULL, `dataSourceUrl` TEXT, `defaultPosition` INTEGER NOT NULL, `position` INTEGER NOT NULL, `enabled` INTEGER NOT NULL, `requiresAuth` INTEGER NOT NULL, `pageSize` INTEGER NOT NULL, `isSystemRow` INTEGER NOT NULL, `sortBy` TEXT, `sortHow` TEXT, `titleResKey` TEXT, PRIMARY KEY(`id`))", "CREATE INDEX IF NOT EXISTS `index_row_config_profileSlug_screenType_position` ON `row_config` (`profileSlug`, `screenType`, `position`)", "CREATE INDEX IF NOT EXISTS `index_row_config_screenType_position` ON `row_config` (`screenType`, `position`)");
        n41.z(je9Var, "CREATE TABLE IF NOT EXISTS `sync_metadata` (`key` TEXT NOT NULL, `lastSyncedAt` INTEGER NOT NULL, `traktActivityTimestamp` TEXT, PRIMARY KEY(`key`))", "CREATE TABLE IF NOT EXISTS `media_enrichment` (`tmdbId` INTEGER NOT NULL, `posterUrl` TEXT, `backdropUrl` TEXT, `logoUrl` TEXT, `genres` TEXT, `cast` TEXT, `runtime` TEXT, `certification` TEXT, `lastUpdated` INTEGER NOT NULL, PRIMARY KEY(`tmdbId`))", "CREATE TABLE IF NOT EXISTS `premiumize_accounts` (`providerId` TEXT NOT NULL, `apiKey` TEXT, `accessToken` TEXT, `customerId` TEXT, `username` TEXT, `email` TEXT, `accountStatus` TEXT, `expiresAt` INTEGER, `pointsUsed` REAL, `pointsAvailable` REAL, `spaceLimitBytes` INTEGER, `spaceUsedBytes` INTEGER, `fairUsageLimitBytes` INTEGER, `fairUsageUsedBytes` INTEGER, `lastVerifiedAt` INTEGER NOT NULL, `createdAt` INTEGER NOT NULL, PRIMARY KEY(`providerId`))", "CREATE TABLE IF NOT EXISTS `player_settings` (`id` INTEGER NOT NULL, `skipDurationSeconds` INTEGER NOT NULL, `forwardSeekSeconds` INTEGER NOT NULL, `rewindSeekSeconds` INTEGER NOT NULL, `tvKeySeekSeconds` INTEGER NOT NULL, `tvScrubberSeekSeconds` INTEGER NOT NULL, `defaultSubtitleLanguage` TEXT, `subtitlesEnabledByDefault` INTEGER NOT NULL, `defaultAudioLanguage` TEXT, `subtitleDelayMs` INTEGER NOT NULL, `audioDelayMs` INTEGER NOT NULL, `autoplayNextEpisode` INTEGER NOT NULL, `rememberPosition` INTEGER NOT NULL, `autoplayCountdownSeconds` INTEGER NOT NULL, `decoderMode` TEXT NOT NULL, `tunnelingEnabled` INTEGER NOT NULL, `autoFramerateEnabled` INTEGER NOT NULL, `minBufferMs` INTEGER NOT NULL, `maxBufferMs` INTEGER NOT NULL, `bufferForPlaybackMs` INTEGER NOT NULL, `bufferForPlaybackAfterRebufferMs` INTEGER NOT NULL, `subtitleSize` TEXT NOT NULL, `subtitleColor` TEXT NOT NULL, `subtitlePosition` TEXT NOT NULL, `subtitleSizePercent` INTEGER NOT NULL, `subtitleOffsetPercent` INTEGER NOT NULL, `subtitleFont` TEXT NOT NULL, `subtitleBackgroundColor` TEXT NOT NULL, `subtitleBackgroundOpacity` INTEGER NOT NULL, `proxyEnabled` INTEGER NOT NULL, PRIMARY KEY(`id`))");
        n41.z(je9Var, "CREATE TABLE IF NOT EXISTS `playback_progress` (`id` TEXT NOT NULL, `tmdbId` INTEGER NOT NULL, `type` TEXT NOT NULL, `title` TEXT NOT NULL, `posterUrl` TEXT, `showTitle` TEXT, `season` INTEGER, `episode` INTEGER, `positionMs` INTEGER NOT NULL, `durationMs` INTEGER NOT NULL, `percent` REAL NOT NULL, `lastWatchedAt` INTEGER NOT NULL, `syncedToTrakt` INTEGER NOT NULL, `sourceInfoHash` TEXT, `sourceScraperId` TEXT, `sourceBingeGroup` TEXT, PRIMARY KEY(`id`))", "CREATE INDEX IF NOT EXISTS `index_playback_progress_tmdbId_type` ON `playback_progress` (`tmdbId`, `type`)", "CREATE INDEX IF NOT EXISTS `index_playback_progress_lastWatchedAt` ON `playback_progress` (`lastWatchedAt`)", "CREATE INDEX IF NOT EXISTS `index_playback_progress_syncedToTrakt` ON `playback_progress` (`syncedToTrakt`)");
        n41.z(je9Var, "CREATE TABLE IF NOT EXISTS `realdebrid_accounts` (`providerId` TEXT NOT NULL, `accessToken` TEXT NOT NULL, `refreshToken` TEXT, `clientId` TEXT NOT NULL, `clientSecret` TEXT NOT NULL, `tokenExpiresAt` INTEGER, `userId` INTEGER, `username` TEXT, `email` TEXT, `accountType` TEXT, `premiumDaysRemaining` INTEGER, `expiresAt` INTEGER, `points` INTEGER, `lastVerifiedAt` INTEGER NOT NULL, `createdAt` INTEGER NOT NULL, `isAuthValid` INTEGER NOT NULL, PRIMARY KEY(`providerId`))", "CREATE TABLE IF NOT EXISTS `alldebrid_accounts` (`providerId` TEXT NOT NULL, `apiKey` TEXT NOT NULL, `username` TEXT, `email` TEXT, `isPremium` INTEGER NOT NULL, `isSubscribed` INTEGER, `isTrial` INTEGER, `premiumUntil` INTEGER, `fidelityPoints` INTEGER, `lastVerifiedAt` INTEGER NOT NULL, `createdAt` INTEGER NOT NULL, PRIMARY KEY(`providerId`))", "CREATE TABLE IF NOT EXISTS `torbox_accounts` (`providerId` TEXT NOT NULL, `apiKey` TEXT NOT NULL, `email` TEXT, `plan` INTEGER NOT NULL, `planName` TEXT, `expiresAt` TEXT, `isSubscribed` INTEGER NOT NULL, `totalDownloaded` INTEGER, `userId` INTEGER, `lastVerifiedAt` INTEGER NOT NULL, `createdAt` INTEGER NOT NULL, PRIMARY KEY(`providerId`))", "CREATE TABLE IF NOT EXISTS `sync_checkpoints` (`syncType` TEXT NOT NULL, `currentPage` INTEGER NOT NULL, `isInProgress` INTEGER NOT NULL, `itemsSynced` INTEGER NOT NULL, `totalItems` INTEGER, `startedAt` INTEGER NOT NULL, `lastUpdatedAt` INTEGER NOT NULL, PRIMARY KEY(`syncType`))");
        n41.z(je9Var, "CREATE TABLE IF NOT EXISTS `episode_watch_status` (`showTmdbId` INTEGER NOT NULL, `season` INTEGER NOT NULL, `episode` INTEGER NOT NULL, `traktId` INTEGER, `episodeTmdbId` INTEGER, `watched` INTEGER NOT NULL, `plays` INTEGER NOT NULL, `watchedAt` INTEGER, `title` TEXT, `runtime` INTEGER, `updatedAt` INTEGER NOT NULL, PRIMARY KEY(`showTmdbId`, `season`, `episode`))", "CREATE INDEX IF NOT EXISTS `index_episode_watch_status_showTmdbId` ON `episode_watch_status` (`showTmdbId`)", "CREATE INDEX IF NOT EXISTS `index_episode_watch_status_traktId` ON `episode_watch_status` (`traktId`)", "CREATE INDEX IF NOT EXISTS `index_episode_watch_status_watchedAt` ON `episode_watch_status` (`watchedAt`)");
        n41.z(je9Var, "CREATE INDEX IF NOT EXISTS `index_episode_watch_status_showTmdbId_watched` ON `episode_watch_status` (`showTmdbId`, `watched`)", "CREATE INDEX IF NOT EXISTS `index_episode_watch_status_updatedAt` ON `episode_watch_status` (`updatedAt`)", "CREATE TABLE IF NOT EXISTS `pending_trakt_actions` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `actionType` TEXT NOT NULL, `tmdbId` INTEGER NOT NULL, `contentType` TEXT NOT NULL, `season` INTEGER, `episode` INTEGER, `rating` INTEGER, `retryCount` INTEGER NOT NULL, `lastError` TEXT, `createdAt` INTEGER NOT NULL, `lastAttemptAt` INTEGER)", "CREATE INDEX IF NOT EXISTS `index_pending_trakt_actions_createdAt` ON `pending_trakt_actions` (`createdAt`)");
        n41.z(je9Var, "CREATE INDEX IF NOT EXISTS `index_pending_trakt_actions_actionType` ON `pending_trakt_actions` (`actionType`)", "CREATE TABLE IF NOT EXISTS `installed_addons` (`instanceId` TEXT NOT NULL, `addonId` TEXT NOT NULL, `instanceNumber` INTEGER NOT NULL, `name` TEXT NOT NULL, `version` TEXT, `description` TEXT, `baseUrl` TEXT NOT NULL, `manifestUrl` TEXT NOT NULL, `configuredUrl` TEXT, `isConfigured` INTEGER NOT NULL, `addonType` TEXT NOT NULL, `capabilities` TEXT NOT NULL, `debridSupport` TEXT, `configFields` TEXT, `priority` INTEGER NOT NULL, `enabled` INTEGER NOT NULL, `isCustom` INTEGER NOT NULL, `targetScreen` TEXT NOT NULL, `installedAt` INTEGER NOT NULL, `lastUsedAt` INTEGER, `catalogsJson` TEXT, `resourcesJson` TEXT, `isQuickAdd` INTEGER NOT NULL, `debridInjectionType` TEXT, `debridInjectionConfig` TEXT, `bundleId` TEXT, `bundleUrl` TEXT, `bundleVersion` INTEGER, PRIMARY KEY(`instanceId`))", "CREATE INDEX IF NOT EXISTS `index_installed_addons_enabled_priority` ON `installed_addons` (`enabled`, `priority`)", "CREATE INDEX IF NOT EXISTS `index_installed_addons_addonType` ON `installed_addons` (`addonType`)");
        n41.z(je9Var, "CREATE INDEX IF NOT EXISTS `index_installed_addons_lastUsedAt` ON `installed_addons` (`lastUsedAt`)", "CREATE INDEX IF NOT EXISTS `index_installed_addons_addonId` ON `installed_addons` (`addonId`)", "CREATE TABLE IF NOT EXISTS `addon_configs` (`instanceId` TEXT NOT NULL, `fieldId` TEXT NOT NULL, `value` TEXT NOT NULL, PRIMARY KEY(`instanceId`, `fieldId`), FOREIGN KEY(`instanceId`) REFERENCES `installed_addons`(`instanceId`) ON UPDATE NO ACTION ON DELETE CASCADE )", "CREATE INDEX IF NOT EXISTS `index_addon_configs_instanceId` ON `addon_configs` (`instanceId`)");
        n41.z(je9Var, "CREATE TABLE IF NOT EXISTS `addon_disclaimer_acceptance` (`addonId` TEXT NOT NULL, `acceptedAt` INTEGER NOT NULL, `disclaimerVersion` INTEGER NOT NULL, PRIMARY KEY(`addonId`))", "CREATE TABLE IF NOT EXISTS `user_account` (`googleId` TEXT NOT NULL, `email` TEXT NOT NULL, `displayName` TEXT, `photoUrl` TEXT, `createdAt` INTEGER NOT NULL, `lastLoginAt` INTEGER NOT NULL, `subscriptionTier` TEXT NOT NULL, `subscriptionExpiresAt` INTEGER, `trialStartedAt` INTEGER, `trialExpiresAt` INTEGER, PRIMARY KEY(`googleId`))", "CREATE TABLE IF NOT EXISTS `easydebrid_accounts` (`providerId` TEXT NOT NULL, `apiKey` TEXT NOT NULL, `userId` TEXT, `paidUntil` INTEGER, `lastVerifiedAt` INTEGER NOT NULL, `createdAt` INTEGER NOT NULL, PRIMARY KEY(`providerId`))", "CREATE TABLE IF NOT EXISTS `user_collections` (`id` TEXT NOT NULL, `json` TEXT NOT NULL, PRIMARY KEY(`id`))");
        n41.z(je9Var, "CREATE TABLE IF NOT EXISTS `content_image_overrides` (`key` TEXT NOT NULL, `tmdbId` INTEGER NOT NULL, `imageType` TEXT NOT NULL, `overrideUrl` TEXT NOT NULL, `createdAt` INTEGER NOT NULL, PRIMARY KEY(`key`))", "CREATE INDEX IF NOT EXISTS `index_content_image_overrides_tmdbId_imageType` ON `content_image_overrides` (`tmdbId`, `imageType`)", "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '5d9769c7989ba891bc92c7f052f10177')");
    }

    @Override // androidx.room.k.b
    public final void b(je9 je9Var) {
        n41.z(je9Var, "DROP TABLE IF EXISTS `cached_content`", "DROP TABLE IF EXISTS `trakt_accounts`", "DROP TABLE IF EXISTS `trakt_user_items`", "DROP TABLE IF EXISTS `continue_watching`");
        n41.z(je9Var, "DROP TABLE IF EXISTS `watch_status`", "DROP TABLE IF EXISTS `media_content`", "DROP TABLE IF EXISTS `media_images`", "DROP TABLE IF EXISTS `media_ratings`");
        n41.z(je9Var, "DROP TABLE IF EXISTS `watch_progress`", "DROP TABLE IF EXISTS `row_config`", "DROP TABLE IF EXISTS `sync_metadata`", "DROP TABLE IF EXISTS `media_enrichment`");
        n41.z(je9Var, "DROP TABLE IF EXISTS `premiumize_accounts`", "DROP TABLE IF EXISTS `player_settings`", "DROP TABLE IF EXISTS `playback_progress`", "DROP TABLE IF EXISTS `realdebrid_accounts`");
        n41.z(je9Var, "DROP TABLE IF EXISTS `alldebrid_accounts`", "DROP TABLE IF EXISTS `torbox_accounts`", "DROP TABLE IF EXISTS `sync_checkpoints`", "DROP TABLE IF EXISTS `episode_watch_status`");
        n41.z(je9Var, "DROP TABLE IF EXISTS `pending_trakt_actions`", "DROP TABLE IF EXISTS `installed_addons`", "DROP TABLE IF EXISTS `addon_configs`", "DROP TABLE IF EXISTS `addon_disclaimer_acceptance`");
        n41.z(je9Var, "DROP TABLE IF EXISTS `user_account`", "DROP TABLE IF EXISTS `easydebrid_accounts`", "DROP TABLE IF EXISTS `user_collections`", "DROP TABLE IF EXISTS `content_image_overrides`");
        List list = ((RoomDatabase) this.b).mCallbacks;
        if (list != null) {
            Iterator it = list.iterator();
            while (it.hasNext()) {
                ((RoomDatabase.b) it.next()).getClass();
            }
        }
    }

    @Override // androidx.room.k.b
    public final void c(je9 je9Var) {
        List list = ((RoomDatabase) this.b).mCallbacks;
        if (list != null) {
            Iterator it = list.iterator();
            while (it.hasNext()) {
                ((RoomDatabase.b) it.next()).getClass();
                cr4.g(je9Var, "db");
            }
        }
    }

    @Override // androidx.room.k.b
    public final void d(je9 je9Var) {
        AppDatabase_Impl appDatabase_Impl = this.b;
        ((RoomDatabase) appDatabase_Impl).mDatabase = je9Var;
        je9Var.execSQL("PRAGMA foreign_keys = ON");
        appDatabase_Impl.internalInitInvalidationTracker(je9Var);
        List list = ((RoomDatabase) appDatabase_Impl).mCallbacks;
        if (list != null) {
            Iterator it = list.iterator();
            while (it.hasNext()) {
                ((RoomDatabase.b) it.next()).a(je9Var);
            }
        }
    }

    @Override // androidx.room.k.b
    public final void e(je9 je9Var) {
    }

    @Override // androidx.room.k.b
    public final void f(je9 je9Var) throws IOException {
        sp1.a(je9Var);
    }

    @Override // androidx.room.k.b
    public final k.c g(je9 je9Var) throws IOException {
        HashMap map = new HashMap(22);
        map.put(TtmlNode.ATTR_ID, new xi9.a(1, TtmlNode.ATTR_ID, "TEXT", null, true, 1));
        map.put("tmdbId", new xi9.a(0, "tmdbId", "INTEGER", null, true, 1));
        map.put("imdbId", new xi9.a(0, "imdbId", "TEXT", null, false, 1));
        map.put("title", new xi9.a(0, "title", "TEXT", null, true, 1));
        map.put("overview", new xi9.a(0, "overview", "TEXT", null, false, 1));
        map.put("posterUrl", new xi9.a(0, "posterUrl", "TEXT", null, false, 1));
        map.put("backdropUrl", new xi9.a(0, "backdropUrl", "TEXT", null, false, 1));
        map.put("logoUrl", new xi9.a(0, "logoUrl", "TEXT", null, false, 1));
        map.put("year", new xi9.a(0, "year", "TEXT", null, false, 1));
        map.put("rating", new xi9.a(0, "rating", "REAL", null, false, 1));
        map.put("ratingPercentage", new xi9.a(0, "ratingPercentage", "INTEGER", null, false, 1));
        map.put("genres", new xi9.a(0, "genres", "TEXT", null, false, 1));
        map.put("contentType", new xi9.a(0, "contentType", "TEXT", null, true, 1));
        map.put("category", new xi9.a(0, "category", "TEXT", null, true, 1));
        map.put("runtime", new xi9.a(0, "runtime", "TEXT", null, false, 1));
        map.put("cast", new xi9.a(0, "cast", "TEXT", null, false, 1));
        map.put("certification", new xi9.a(0, "certification", "TEXT", null, false, 1));
        map.put("imdbRating", new xi9.a(0, "imdbRating", "TEXT", null, false, 1));
        map.put("rottenTomatoesRating", new xi9.a(0, "rottenTomatoesRating", "TEXT", null, false, 1));
        map.put("traktRating", new xi9.a(0, "traktRating", "REAL", null, false, 1));
        map.put("position", new xi9.a(0, "position", "INTEGER", null, true, 1));
        HashSet hashSetN = fi7.n(map, "cachedAt", new xi9.a(0, "cachedAt", "INTEGER", null, true, 1), 0);
        HashSet hashSet = new HashSet(2);
        hashSet.add(new xi9.f("index_cached_content_category_position", false, Arrays.asList("category", "position"), Arrays.asList("ASC", "ASC")));
        hashSet.add(new xi9.f("index_cached_content_category_cachedAt", false, Arrays.asList("category", "cachedAt"), Arrays.asList("ASC", "ASC")));
        xi9 xi9Var = new xi9("cached_content", map, hashSetN, hashSet);
        xi9 xi9VarA = xi9.a(je9Var, "cached_content");
        if (!xi9Var.equals(xi9VarA)) {
            return new k.c(false, fi7.g("cached_content(com.strmr.ps.data.local.entity.CachedContent).\n Expected:\n", xi9Var, "\n Found:\n", xi9VarA));
        }
        HashMap map2 = new HashMap(19);
        map2.put("userSlug", new xi9.a(1, "userSlug", "TEXT", null, true, 1));
        map2.put("userName", new xi9.a(0, "userName", "TEXT", null, false, 1));
        map2.put("accessToken", new xi9.a(0, "accessToken", "TEXT", null, true, 1));
        map2.put("refreshToken", new xi9.a(0, "refreshToken", "TEXT", null, false, 1));
        map2.put("tokenType", new xi9.a(0, "tokenType", "TEXT", null, false, 1));
        map2.put("scope", new xi9.a(0, "scope", "TEXT", null, false, 1));
        map2.put("expiresAt", new xi9.a(0, "expiresAt", "INTEGER", null, true, 1));
        map2.put("createdAt", new xi9.a(0, "createdAt", "INTEGER", null, true, 1));
        map2.put("isActive", new xi9.a(0, "isActive", "INTEGER", null, true, 1));
        map2.put("avatarResourceId", new xi9.a(0, "avatarResourceId", "INTEGER", null, false, 1));
        map2.put("statsMoviesWatched", new xi9.a(0, "statsMoviesWatched", "INTEGER", null, false, 1));
        map2.put("statsShowsWatched", new xi9.a(0, "statsShowsWatched", "INTEGER", null, false, 1));
        map2.put("statsMinutesWatched", new xi9.a(0, "statsMinutesWatched", "INTEGER", null, false, 1));
        map2.put("lastSyncAt", new xi9.a(0, "lastSyncAt", "INTEGER", null, false, 1));
        map2.put("lastHistorySync", new xi9.a(0, "lastHistorySync", "INTEGER", null, false, 1));
        map2.put("lastCollectionSync", new xi9.a(0, "lastCollectionSync", "INTEGER", null, false, 1));
        map2.put("lastWatchlistSync", new xi9.a(0, "lastWatchlistSync", "INTEGER", null, false, 1));
        map2.put("lastDroppedSync", new xi9.a(0, "lastDroppedSync", "INTEGER", null, false, 1));
        HashSet hashSetN2 = fi7.n(map2, "lastActivitiesAt", new xi9.a(0, "lastActivitiesAt", "INTEGER", null, false, 1), 0);
        HashSet hashSet2 = new HashSet(2);
        hashSet2.add(new xi9.f("index_trakt_accounts_createdAt", false, Arrays.asList("createdAt"), Arrays.asList("ASC")));
        hashSet2.add(new xi9.f("index_trakt_accounts_isActive", false, Arrays.asList("isActive"), Arrays.asList("ASC")));
        xi9 xi9Var2 = new xi9("trakt_accounts", map2, hashSetN2, hashSet2);
        xi9 xi9VarA2 = xi9.a(je9Var, "trakt_accounts");
        if (!xi9Var2.equals(xi9VarA2)) {
            return new k.c(false, fi7.g("trakt_accounts(com.strmr.ps.data.local.entity.TraktAccount).\n Expected:\n", xi9Var2, "\n Found:\n", xi9VarA2));
        }
        HashMap map3 = new HashMap(13);
        map3.put(TtmlNode.ATTR_ID, new xi9.a(1, TtmlNode.ATTR_ID, "TEXT", null, true, 1));
        map3.put("userSlug", new xi9.a(0, "userSlug", "TEXT", null, true, 1));
        map3.put("listType", new xi9.a(0, "listType", "TEXT", null, true, 1));
        map3.put("itemType", new xi9.a(0, "itemType", "TEXT", null, true, 1));
        map3.put("traktId", new xi9.a(0, "traktId", "INTEGER", null, false, 1));
        map3.put("tmdbId", new xi9.a(0, "tmdbId", "INTEGER", null, false, 1));
        map3.put("slug", new xi9.a(0, "slug", "TEXT", null, false, 1));
        map3.put("title", new xi9.a(0, "title", "TEXT", null, false, 1));
        map3.put("year", new xi9.a(0, "year", "TEXT", null, false, 1));
        map3.put("updatedAt", new xi9.a(0, "updatedAt", "INTEGER", null, true, 1));
        map3.put("listedAt", new xi9.a(0, "listedAt", "INTEGER", null, false, 1));
        map3.put("collectedAt", new xi9.a(0, "collectedAt", "INTEGER", null, false, 1));
        HashSet hashSetN3 = fi7.n(map3, "watchedAt", new xi9.a(0, "watchedAt", "INTEGER", null, false, 1), 0);
        HashSet hashSet3 = new HashSet(6);
        hashSet3.add(new xi9.f("index_trakt_user_items_userSlug_listType_tmdbId", false, Arrays.asList("userSlug", "listType", "tmdbId"), Arrays.asList("ASC", "ASC", "ASC")));
        hashSet3.add(new xi9.f("index_trakt_user_items_tmdbId", false, Arrays.asList("tmdbId"), Arrays.asList("ASC")));
        hashSet3.add(new xi9.f("index_trakt_user_items_userSlug_listType_itemType", false, Arrays.asList("userSlug", "listType", "itemType"), Arrays.asList("ASC", "ASC", "ASC")));
        hashSet3.add(new xi9.f("index_trakt_user_items_userSlug_listType_listedAt", false, Arrays.asList("userSlug", "listType", "listedAt"), Arrays.asList("ASC", "ASC", "ASC")));
        hashSet3.add(new xi9.f("index_trakt_user_items_userSlug_listType_updatedAt", false, Arrays.asList("userSlug", "listType", "updatedAt"), Arrays.asList("ASC", "ASC", "ASC")));
        hashSet3.add(new xi9.f("index_trakt_user_items_userSlug_listType_watchedAt", false, Arrays.asList("userSlug", "listType", "watchedAt"), Arrays.asList("ASC", "ASC", "ASC")));
        xi9 xi9Var3 = new xi9("trakt_user_items", map3, hashSetN3, hashSet3);
        xi9 xi9VarA3 = xi9.a(je9Var, "trakt_user_items");
        if (!xi9Var3.equals(xi9VarA3)) {
            return new k.c(false, fi7.g("trakt_user_items(com.strmr.ps.data.local.entity.TraktUserItem).\n Expected:\n", xi9Var3, "\n Found:\n", xi9VarA3));
        }
        HashMap map4 = new HashMap(22);
        map4.put("cacheId", new xi9.a(1, "cacheId", "TEXT", null, true, 1));
        map4.put(TtmlNode.ATTR_ID, new xi9.a(0, TtmlNode.ATTR_ID, "INTEGER", null, true, 1));
        map4.put("tmdbId", new xi9.a(0, "tmdbId", "INTEGER", null, true, 1));
        map4.put("imdbId", new xi9.a(0, "imdbId", "TEXT", null, false, 1));
        map4.put("title", new xi9.a(0, "title", "TEXT", null, true, 1));
        map4.put("overview", new xi9.a(0, "overview", "TEXT", null, false, 1));
        map4.put("posterUrl", new xi9.a(0, "posterUrl", "TEXT", null, false, 1));
        map4.put("backdropUrl", new xi9.a(0, "backdropUrl", "TEXT", null, false, 1));
        map4.put("logoUrl", new xi9.a(0, "logoUrl", "TEXT", null, false, 1));
        map4.put("year", new xi9.a(0, "year", "TEXT", null, false, 1));
        map4.put("rating", new xi9.a(0, "rating", "REAL", null, false, 1));
        map4.put("ratingPercentage", new xi9.a(0, "ratingPercentage", "INTEGER", null, false, 1));
        map4.put("genres", new xi9.a(0, "genres", "TEXT", null, false, 1));
        map4.put(SessionDescription.ATTR_TYPE, new xi9.a(0, SessionDescription.ATTR_TYPE, "TEXT", null, true, 1));
        map4.put("runtime", new xi9.a(0, "runtime", "TEXT", null, false, 1));
        map4.put("cast", new xi9.a(0, "cast", "TEXT", null, false, 1));
        map4.put("certification", new xi9.a(0, "certification", "TEXT", null, false, 1));
        map4.put("imdbRating", new xi9.a(0, "imdbRating", "TEXT", null, false, 1));
        map4.put("rottenTomatoesRating", new xi9.a(0, "rottenTomatoesRating", "TEXT", null, false, 1));
        map4.put("traktRating", new xi9.a(0, "traktRating", "REAL", null, false, 1));
        map4.put("watchProgress", new xi9.a(0, "watchProgress", "REAL", null, false, 1));
        HashSet hashSetN4 = fi7.n(map4, "updatedAt", new xi9.a(0, "updatedAt", "INTEGER", null, true, 1), 0);
        HashSet hashSet4 = new HashSet(2);
        hashSet4.add(new xi9.f("index_continue_watching_tmdbId", false, Arrays.asList("tmdbId"), Arrays.asList("ASC")));
        hashSet4.add(new xi9.f("index_continue_watching_updatedAt", false, Arrays.asList("updatedAt"), Arrays.asList("ASC")));
        xi9 xi9Var4 = new xi9("continue_watching", map4, hashSetN4, hashSet4);
        xi9 xi9VarA4 = xi9.a(je9Var, "continue_watching");
        if (!xi9Var4.equals(xi9VarA4)) {
            return new k.c(false, fi7.g("continue_watching(com.strmr.ps.data.local.entity.ContinueWatchingEntity).\n Expected:\n", xi9Var4, "\n Found:\n", xi9VarA4));
        }
        HashMap map5 = new HashMap(11);
        map5.put("key", new xi9.a(1, "key", "TEXT", null, true, 1));
        map5.put("userSlug", new xi9.a(0, "userSlug", "TEXT", null, true, 1));
        map5.put("tmdbId", new xi9.a(0, "tmdbId", "INTEGER", null, true, 1));
        map5.put(SessionDescription.ATTR_TYPE, new xi9.a(0, SessionDescription.ATTR_TYPE, "TEXT", null, true, 1));
        map5.put("progress", new xi9.a(0, "progress", "REAL", null, false, 1));
        map5.put("updatedAt", new xi9.a(0, "updatedAt", "INTEGER", null, true, 1));
        map5.put("lastWatched", new xi9.a(0, "lastWatched", "INTEGER", null, false, 1));
        map5.put("nextEpisodeTitle", new xi9.a(0, "nextEpisodeTitle", "TEXT", null, false, 1));
        map5.put("nextEpisodeSeason", new xi9.a(0, "nextEpisodeSeason", "INTEGER", null, false, 1));
        map5.put("nextEpisodeNumber", new xi9.a(0, "nextEpisodeNumber", "INTEGER", null, false, 1));
        HashSet hashSetN5 = fi7.n(map5, "nextEpisodeTmdbId", new xi9.a(0, "nextEpisodeTmdbId", "INTEGER", null, false, 1), 0);
        HashSet hashSet5 = new HashSet(5);
        hashSet5.add(new xi9.f("index_watch_status_tmdbId", false, Arrays.asList("tmdbId"), Arrays.asList("ASC")));
        hashSet5.add(new xi9.f("index_watch_status_type", false, Arrays.asList(SessionDescription.ATTR_TYPE), Arrays.asList("ASC")));
        hashSet5.add(new xi9.f("index_watch_status_updatedAt", false, Arrays.asList("updatedAt"), Arrays.asList("ASC")));
        hashSet5.add(new xi9.f("index_watch_status_userSlug", false, Arrays.asList("userSlug"), Arrays.asList("ASC")));
        hashSet5.add(new xi9.f("index_watch_status_userSlug_tmdbId_type", false, Arrays.asList("userSlug", "tmdbId", SessionDescription.ATTR_TYPE), Arrays.asList("ASC", "ASC", "ASC")));
        xi9 xi9Var5 = new xi9("watch_status", map5, hashSetN5, hashSet5);
        xi9 xi9VarA5 = xi9.a(je9Var, "watch_status");
        if (!xi9Var5.equals(xi9VarA5)) {
            return new k.c(false, fi7.g("watch_status(com.strmr.ps.data.local.entity.WatchStatusEntity).\n Expected:\n", xi9Var5, "\n Found:\n", xi9VarA5));
        }
        HashMap map6 = new HashMap(14);
        map6.put(TtmlNode.ATTR_ID, new xi9.a(1, TtmlNode.ATTR_ID, "INTEGER", null, true, 1));
        map6.put("tmdbId", new xi9.a(0, "tmdbId", "INTEGER", null, true, 1));
        map6.put("imdbId", new xi9.a(0, "imdbId", "TEXT", null, false, 1));
        map6.put("title", new xi9.a(0, "title", "TEXT", null, true, 1));
        map6.put("overview", new xi9.a(0, "overview", "TEXT", null, false, 1));
        map6.put("year", new xi9.a(0, "year", "TEXT", null, false, 1));
        map6.put("runtime", new xi9.a(0, "runtime", "INTEGER", null, false, 1));
        map6.put("certification", new xi9.a(0, "certification", "TEXT", null, false, 1));
        map6.put("contentType", new xi9.a(0, "contentType", "TEXT", null, true, 1));
        map6.put("category", new xi9.a(0, "category", "TEXT", null, true, 1));
        map6.put("position", new xi9.a(0, "position", "INTEGER", null, true, 1));
        map6.put("genres", new xi9.a(0, "genres", "TEXT", null, false, 1));
        map6.put("cast", new xi9.a(0, "cast", "TEXT", null, false, 1));
        HashSet hashSetN6 = fi7.n(map6, "cachedAt", new xi9.a(0, "cachedAt", "INTEGER", null, true, 1), 0);
        HashSet hashSet6 = new HashSet(4);
        hashSet6.add(new xi9.f("index_media_content_category_position", false, Arrays.asList("category", "position"), Arrays.asList("ASC", "ASC")));
        hashSet6.add(new xi9.f("index_media_content_tmdbId", true, Arrays.asList("tmdbId"), Arrays.asList("ASC")));
        hashSet6.add(new xi9.f("index_media_content_cachedAt", false, Arrays.asList("cachedAt"), Arrays.asList("ASC")));
        hashSet6.add(new xi9.f("index_media_content_contentType_category", false, Arrays.asList("contentType", "category"), Arrays.asList("ASC", "ASC")));
        xi9 xi9Var6 = new xi9("media_content", map6, hashSetN6, hashSet6);
        xi9 xi9VarA6 = xi9.a(je9Var, "media_content");
        if (!xi9Var6.equals(xi9VarA6)) {
            return new k.c(false, fi7.g("media_content(com.strmr.ps.data.local.MediaContentEntity).\n Expected:\n", xi9Var6, "\n Found:\n", xi9VarA6));
        }
        HashMap map7 = new HashMap(5);
        map7.put(TtmlNode.ATTR_ID, new xi9.a(1, TtmlNode.ATTR_ID, "INTEGER", null, true, 1));
        map7.put("tmdbId", new xi9.a(0, "tmdbId", "INTEGER", null, true, 1));
        map7.put("posterUrl", new xi9.a(0, "posterUrl", "TEXT", null, false, 1));
        map7.put("backdropUrl", new xi9.a(0, "backdropUrl", "TEXT", null, false, 1));
        HashSet hashSetN7 = fi7.n(map7, "logoUrl", new xi9.a(0, "logoUrl", "TEXT", null, false, 1), 1);
        hashSetN7.add(new xi9.d("media_content", "CASCADE", "NO ACTION", Arrays.asList("tmdbId"), Arrays.asList("tmdbId")));
        HashSet hashSet7 = new HashSet(1);
        hashSet7.add(new xi9.f("index_media_images_tmdbId", false, Arrays.asList("tmdbId"), Arrays.asList("ASC")));
        xi9 xi9Var7 = new xi9("media_images", map7, hashSetN7, hashSet7);
        xi9 xi9VarA7 = xi9.a(je9Var, "media_images");
        if (!xi9Var7.equals(xi9VarA7)) {
            return new k.c(false, fi7.g("media_images(com.strmr.ps.data.local.MediaImageEntity).\n Expected:\n", xi9Var7, "\n Found:\n", xi9VarA7));
        }
        HashMap map8 = new HashMap(7);
        map8.put(TtmlNode.ATTR_ID, new xi9.a(1, TtmlNode.ATTR_ID, "INTEGER", null, true, 1));
        map8.put("tmdbId", new xi9.a(0, "tmdbId", "INTEGER", null, true, 1));
        map8.put("tmdbRating", new xi9.a(0, "tmdbRating", "REAL", null, false, 1));
        map8.put("imdbRating", new xi9.a(0, "imdbRating", "REAL", null, false, 1));
        map8.put("traktRating", new xi9.a(0, "traktRating", "REAL", null, false, 1));
        map8.put("rottenTomatoesRating", new xi9.a(0, "rottenTomatoesRating", "INTEGER", null, false, 1));
        HashSet hashSetN8 = fi7.n(map8, "updatedAt", new xi9.a(0, "updatedAt", "INTEGER", null, true, 1), 1);
        hashSetN8.add(new xi9.d("media_content", "CASCADE", "NO ACTION", Arrays.asList("tmdbId"), Arrays.asList("tmdbId")));
        HashSet hashSet8 = new HashSet(1);
        hashSet8.add(new xi9.f("index_media_ratings_tmdbId", false, Arrays.asList("tmdbId"), Arrays.asList("ASC")));
        xi9 xi9Var8 = new xi9("media_ratings", map8, hashSetN8, hashSet8);
        xi9 xi9VarA8 = xi9.a(je9Var, "media_ratings");
        if (!xi9Var8.equals(xi9VarA8)) {
            return new k.c(false, fi7.g("media_ratings(com.strmr.ps.data.local.MediaRatingEntity).\n Expected:\n", xi9Var8, "\n Found:\n", xi9VarA8));
        }
        HashMap map9 = new HashMap(6);
        map9.put("tmdbId", new xi9.a(1, "tmdbId", "INTEGER", null, true, 1));
        map9.put("progress", new xi9.a(0, "progress", "REAL", null, true, 1));
        map9.put("lastWatchedAt", new xi9.a(0, "lastWatchedAt", "INTEGER", null, true, 1));
        map9.put("episodeId", new xi9.a(0, "episodeId", "INTEGER", null, false, 1));
        map9.put("seasonNumber", new xi9.a(0, "seasonNumber", "INTEGER", null, false, 1));
        HashSet hashSetN9 = fi7.n(map9, "episodeNumber", new xi9.a(0, "episodeNumber", "INTEGER", null, false, 1), 0);
        HashSet hashSet9 = new HashSet(1);
        hashSet9.add(new xi9.f("index_watch_progress_tmdbId", true, Arrays.asList("tmdbId"), Arrays.asList("ASC")));
        xi9 xi9Var9 = new xi9("watch_progress", map9, hashSetN9, hashSet9);
        xi9 xi9VarA9 = xi9.a(je9Var, "watch_progress");
        if (!xi9Var9.equals(xi9VarA9)) {
            return new k.c(false, fi7.g("watch_progress(com.strmr.ps.data.local.WatchProgressEntity).\n Expected:\n", xi9Var9, "\n Found:\n", xi9VarA9));
        }
        HashMap map10 = new HashMap(17);
        map10.put(TtmlNode.ATTR_ID, new xi9.a(1, TtmlNode.ATTR_ID, "TEXT", null, true, 1));
        map10.put("profileSlug", new xi9.a(0, "profileSlug", "TEXT", null, true, 1));
        map10.put("screenType", new xi9.a(0, "screenType", "TEXT", null, true, 1));
        map10.put("title", new xi9.a(0, "title", "TEXT", null, true, 1));
        map10.put("rowType", new xi9.a(0, "rowType", "TEXT", null, true, 1));
        map10.put("contentType", new xi9.a(0, "contentType", "TEXT", null, false, 1));
        map10.put("presentation", new xi9.a(0, "presentation", "TEXT", null, true, 1));
        map10.put("dataSourceUrl", new xi9.a(0, "dataSourceUrl", "TEXT", null, false, 1));
        map10.put("defaultPosition", new xi9.a(0, "defaultPosition", "INTEGER", null, true, 1));
        map10.put("position", new xi9.a(0, "position", "INTEGER", null, true, 1));
        map10.put("enabled", new xi9.a(0, "enabled", "INTEGER", null, true, 1));
        map10.put("requiresAuth", new xi9.a(0, "requiresAuth", "INTEGER", null, true, 1));
        map10.put("pageSize", new xi9.a(0, "pageSize", "INTEGER", null, true, 1));
        map10.put("isSystemRow", new xi9.a(0, "isSystemRow", "INTEGER", null, true, 1));
        map10.put("sortBy", new xi9.a(0, "sortBy", "TEXT", null, false, 1));
        map10.put("sortHow", new xi9.a(0, "sortHow", "TEXT", null, false, 1));
        HashSet hashSetN10 = fi7.n(map10, "titleResKey", new xi9.a(0, "titleResKey", "TEXT", null, false, 1), 0);
        HashSet hashSet10 = new HashSet(2);
        hashSet10.add(new xi9.f("index_row_config_profileSlug_screenType_position", false, Arrays.asList("profileSlug", "screenType", "position"), Arrays.asList("ASC", "ASC", "ASC")));
        hashSet10.add(new xi9.f("index_row_config_screenType_position", false, Arrays.asList("screenType", "position"), Arrays.asList("ASC", "ASC")));
        xi9 xi9Var10 = new xi9("row_config", map10, hashSetN10, hashSet10);
        xi9 xi9VarA10 = xi9.a(je9Var, "row_config");
        if (!xi9Var10.equals(xi9VarA10)) {
            return new k.c(false, fi7.g("row_config(com.strmr.ps.data.local.entity.RowConfigEntity).\n Expected:\n", xi9Var10, "\n Found:\n", xi9VarA10));
        }
        HashMap map11 = new HashMap(3);
        map11.put("key", new xi9.a(1, "key", "TEXT", null, true, 1));
        map11.put("lastSyncedAt", new xi9.a(0, "lastSyncedAt", "INTEGER", null, true, 1));
        xi9 xi9Var11 = new xi9("sync_metadata", map11, fi7.n(map11, "traktActivityTimestamp", new xi9.a(0, "traktActivityTimestamp", "TEXT", null, false, 1), 0), new HashSet(0));
        xi9 xi9VarA11 = xi9.a(je9Var, "sync_metadata");
        if (!xi9Var11.equals(xi9VarA11)) {
            return new k.c(false, fi7.g("sync_metadata(com.strmr.ps.data.local.entity.SyncMetadataEntity).\n Expected:\n", xi9Var11, "\n Found:\n", xi9VarA11));
        }
        HashMap map12 = new HashMap(9);
        map12.put("tmdbId", new xi9.a(1, "tmdbId", "INTEGER", null, true, 1));
        map12.put("posterUrl", new xi9.a(0, "posterUrl", "TEXT", null, false, 1));
        map12.put("backdropUrl", new xi9.a(0, "backdropUrl", "TEXT", null, false, 1));
        map12.put("logoUrl", new xi9.a(0, "logoUrl", "TEXT", null, false, 1));
        map12.put("genres", new xi9.a(0, "genres", "TEXT", null, false, 1));
        map12.put("cast", new xi9.a(0, "cast", "TEXT", null, false, 1));
        map12.put("runtime", new xi9.a(0, "runtime", "TEXT", null, false, 1));
        map12.put("certification", new xi9.a(0, "certification", "TEXT", null, false, 1));
        xi9 xi9Var12 = new xi9("media_enrichment", map12, fi7.n(map12, "lastUpdated", new xi9.a(0, "lastUpdated", "INTEGER", null, true, 1), 0), new HashSet(0));
        xi9 xi9VarA12 = xi9.a(je9Var, "media_enrichment");
        if (!xi9Var12.equals(xi9VarA12)) {
            return new k.c(false, fi7.g("media_enrichment(com.strmr.ps.data.local.entity.MediaEnrichmentEntity).\n Expected:\n", xi9Var12, "\n Found:\n", xi9VarA12));
        }
        HashMap map13 = new HashMap(16);
        map13.put("providerId", new xi9.a(1, "providerId", "TEXT", null, true, 1));
        map13.put("apiKey", new xi9.a(0, "apiKey", "TEXT", null, false, 1));
        map13.put("accessToken", new xi9.a(0, "accessToken", "TEXT", null, false, 1));
        map13.put("customerId", new xi9.a(0, "customerId", "TEXT", null, false, 1));
        map13.put("username", new xi9.a(0, "username", "TEXT", null, false, 1));
        map13.put(Scopes.EMAIL, new xi9.a(0, Scopes.EMAIL, "TEXT", null, false, 1));
        map13.put("accountStatus", new xi9.a(0, "accountStatus", "TEXT", null, false, 1));
        map13.put("expiresAt", new xi9.a(0, "expiresAt", "INTEGER", null, false, 1));
        map13.put("pointsUsed", new xi9.a(0, "pointsUsed", "REAL", null, false, 1));
        map13.put("pointsAvailable", new xi9.a(0, "pointsAvailable", "REAL", null, false, 1));
        map13.put("spaceLimitBytes", new xi9.a(0, "spaceLimitBytes", "INTEGER", null, false, 1));
        map13.put("spaceUsedBytes", new xi9.a(0, "spaceUsedBytes", "INTEGER", null, false, 1));
        map13.put("fairUsageLimitBytes", new xi9.a(0, "fairUsageLimitBytes", "INTEGER", null, false, 1));
        map13.put("fairUsageUsedBytes", new xi9.a(0, "fairUsageUsedBytes", "INTEGER", null, false, 1));
        map13.put("lastVerifiedAt", new xi9.a(0, "lastVerifiedAt", "INTEGER", null, true, 1));
        xi9 xi9Var13 = new xi9("premiumize_accounts", map13, fi7.n(map13, "createdAt", new xi9.a(0, "createdAt", "INTEGER", null, true, 1), 0), new HashSet(0));
        xi9 xi9VarA13 = xi9.a(je9Var, "premiumize_accounts");
        if (!xi9Var13.equals(xi9VarA13)) {
            return new k.c(false, fi7.g("premiumize_accounts(com.strmr.ps.data.local.entity.PremiumizeAccount).\n Expected:\n", xi9Var13, "\n Found:\n", xi9VarA13));
        }
        HashMap map14 = new HashMap(30);
        map14.put(TtmlNode.ATTR_ID, new xi9.a(1, TtmlNode.ATTR_ID, "INTEGER", null, true, 1));
        map14.put("skipDurationSeconds", new xi9.a(0, "skipDurationSeconds", "INTEGER", null, true, 1));
        map14.put("forwardSeekSeconds", new xi9.a(0, "forwardSeekSeconds", "INTEGER", null, true, 1));
        map14.put("rewindSeekSeconds", new xi9.a(0, "rewindSeekSeconds", "INTEGER", null, true, 1));
        map14.put("tvKeySeekSeconds", new xi9.a(0, "tvKeySeekSeconds", "INTEGER", null, true, 1));
        map14.put("tvScrubberSeekSeconds", new xi9.a(0, "tvScrubberSeekSeconds", "INTEGER", null, true, 1));
        map14.put("defaultSubtitleLanguage", new xi9.a(0, "defaultSubtitleLanguage", "TEXT", null, false, 1));
        map14.put("subtitlesEnabledByDefault", new xi9.a(0, "subtitlesEnabledByDefault", "INTEGER", null, true, 1));
        map14.put("defaultAudioLanguage", new xi9.a(0, "defaultAudioLanguage", "TEXT", null, false, 1));
        map14.put("subtitleDelayMs", new xi9.a(0, "subtitleDelayMs", "INTEGER", null, true, 1));
        map14.put("audioDelayMs", new xi9.a(0, "audioDelayMs", "INTEGER", null, true, 1));
        map14.put("autoplayNextEpisode", new xi9.a(0, "autoplayNextEpisode", "INTEGER", null, true, 1));
        map14.put("rememberPosition", new xi9.a(0, "rememberPosition", "INTEGER", null, true, 1));
        map14.put("autoplayCountdownSeconds", new xi9.a(0, "autoplayCountdownSeconds", "INTEGER", null, true, 1));
        map14.put("decoderMode", new xi9.a(0, "decoderMode", "TEXT", null, true, 1));
        map14.put("tunnelingEnabled", new xi9.a(0, "tunnelingEnabled", "INTEGER", null, true, 1));
        map14.put("autoFramerateEnabled", new xi9.a(0, "autoFramerateEnabled", "INTEGER", null, true, 1));
        map14.put("minBufferMs", new xi9.a(0, "minBufferMs", "INTEGER", null, true, 1));
        map14.put("maxBufferMs", new xi9.a(0, "maxBufferMs", "INTEGER", null, true, 1));
        map14.put("bufferForPlaybackMs", new xi9.a(0, "bufferForPlaybackMs", "INTEGER", null, true, 1));
        map14.put("bufferForPlaybackAfterRebufferMs", new xi9.a(0, "bufferForPlaybackAfterRebufferMs", "INTEGER", null, true, 1));
        map14.put("subtitleSize", new xi9.a(0, "subtitleSize", "TEXT", null, true, 1));
        map14.put("subtitleColor", new xi9.a(0, "subtitleColor", "TEXT", null, true, 1));
        map14.put("subtitlePosition", new xi9.a(0, "subtitlePosition", "TEXT", null, true, 1));
        map14.put("subtitleSizePercent", new xi9.a(0, "subtitleSizePercent", "INTEGER", null, true, 1));
        map14.put("subtitleOffsetPercent", new xi9.a(0, "subtitleOffsetPercent", "INTEGER", null, true, 1));
        map14.put("subtitleFont", new xi9.a(0, "subtitleFont", "TEXT", null, true, 1));
        map14.put("subtitleBackgroundColor", new xi9.a(0, "subtitleBackgroundColor", "TEXT", null, true, 1));
        map14.put("subtitleBackgroundOpacity", new xi9.a(0, "subtitleBackgroundOpacity", "INTEGER", null, true, 1));
        xi9 xi9Var14 = new xi9("player_settings", map14, fi7.n(map14, "proxyEnabled", new xi9.a(0, "proxyEnabled", "INTEGER", null, true, 1), 0), new HashSet(0));
        xi9 xi9VarA14 = xi9.a(je9Var, "player_settings");
        if (!xi9Var14.equals(xi9VarA14)) {
            return new k.c(false, fi7.g("player_settings(com.strmr.ps.data.local.entity.PlayerSettings).\n Expected:\n", xi9Var14, "\n Found:\n", xi9VarA14));
        }
        HashMap map15 = new HashMap(16);
        map15.put(TtmlNode.ATTR_ID, new xi9.a(1, TtmlNode.ATTR_ID, "TEXT", null, true, 1));
        map15.put("tmdbId", new xi9.a(0, "tmdbId", "INTEGER", null, true, 1));
        map15.put(SessionDescription.ATTR_TYPE, new xi9.a(0, SessionDescription.ATTR_TYPE, "TEXT", null, true, 1));
        map15.put("title", new xi9.a(0, "title", "TEXT", null, true, 1));
        map15.put("posterUrl", new xi9.a(0, "posterUrl", "TEXT", null, false, 1));
        map15.put("showTitle", new xi9.a(0, "showTitle", "TEXT", null, false, 1));
        map15.put("season", new xi9.a(0, "season", "INTEGER", null, false, 1));
        map15.put(PlaybackProgress.TYPE_EPISODE, new xi9.a(0, PlaybackProgress.TYPE_EPISODE, "INTEGER", null, false, 1));
        map15.put("positionMs", new xi9.a(0, "positionMs", "INTEGER", null, true, 1));
        map15.put("durationMs", new xi9.a(0, "durationMs", "INTEGER", null, true, 1));
        map15.put("percent", new xi9.a(0, "percent", "REAL", null, true, 1));
        map15.put("lastWatchedAt", new xi9.a(0, "lastWatchedAt", "INTEGER", null, true, 1));
        map15.put("syncedToTrakt", new xi9.a(0, "syncedToTrakt", "INTEGER", null, true, 1));
        map15.put("sourceInfoHash", new xi9.a(0, "sourceInfoHash", "TEXT", null, false, 1));
        map15.put("sourceScraperId", new xi9.a(0, "sourceScraperId", "TEXT", null, false, 1));
        HashSet hashSetN11 = fi7.n(map15, "sourceBingeGroup", new xi9.a(0, "sourceBingeGroup", "TEXT", null, false, 1), 0);
        HashSet hashSet11 = new HashSet(3);
        hashSet11.add(new xi9.f("index_playback_progress_tmdbId_type", false, Arrays.asList("tmdbId", SessionDescription.ATTR_TYPE), Arrays.asList("ASC", "ASC")));
        hashSet11.add(new xi9.f("index_playback_progress_lastWatchedAt", false, Arrays.asList("lastWatchedAt"), Arrays.asList("ASC")));
        hashSet11.add(new xi9.f("index_playback_progress_syncedToTrakt", false, Arrays.asList("syncedToTrakt"), Arrays.asList("ASC")));
        xi9 xi9Var15 = new xi9("playback_progress", map15, hashSetN11, hashSet11);
        xi9 xi9VarA15 = xi9.a(je9Var, "playback_progress");
        if (!xi9Var15.equals(xi9VarA15)) {
            return new k.c(false, fi7.g("playback_progress(com.strmr.ps.data.local.entity.PlaybackProgress).\n Expected:\n", xi9Var15, "\n Found:\n", xi9VarA15));
        }
        HashMap map16 = new HashMap(16);
        map16.put("providerId", new xi9.a(1, "providerId", "TEXT", null, true, 1));
        map16.put("accessToken", new xi9.a(0, "accessToken", "TEXT", null, true, 1));
        map16.put("refreshToken", new xi9.a(0, "refreshToken", "TEXT", null, false, 1));
        map16.put("clientId", new xi9.a(0, "clientId", "TEXT", null, true, 1));
        map16.put("clientSecret", new xi9.a(0, "clientSecret", "TEXT", null, true, 1));
        map16.put("tokenExpiresAt", new xi9.a(0, "tokenExpiresAt", "INTEGER", null, false, 1));
        map16.put("userId", new xi9.a(0, "userId", "INTEGER", null, false, 1));
        map16.put("username", new xi9.a(0, "username", "TEXT", null, false, 1));
        map16.put(Scopes.EMAIL, new xi9.a(0, Scopes.EMAIL, "TEXT", null, false, 1));
        map16.put("accountType", new xi9.a(0, "accountType", "TEXT", null, false, 1));
        map16.put("premiumDaysRemaining", new xi9.a(0, "premiumDaysRemaining", "INTEGER", null, false, 1));
        map16.put("expiresAt", new xi9.a(0, "expiresAt", "INTEGER", null, false, 1));
        map16.put("points", new xi9.a(0, "points", "INTEGER", null, false, 1));
        map16.put("lastVerifiedAt", new xi9.a(0, "lastVerifiedAt", "INTEGER", null, true, 1));
        map16.put("createdAt", new xi9.a(0, "createdAt", "INTEGER", null, true, 1));
        xi9 xi9Var16 = new xi9("realdebrid_accounts", map16, fi7.n(map16, "isAuthValid", new xi9.a(0, "isAuthValid", "INTEGER", null, true, 1), 0), new HashSet(0));
        xi9 xi9VarA16 = xi9.a(je9Var, "realdebrid_accounts");
        if (!xi9Var16.equals(xi9VarA16)) {
            return new k.c(false, fi7.g("realdebrid_accounts(com.strmr.ps.data.local.entity.RealDebridAccount).\n Expected:\n", xi9Var16, "\n Found:\n", xi9VarA16));
        }
        HashMap map17 = new HashMap(11);
        map17.put("providerId", new xi9.a(1, "providerId", "TEXT", null, true, 1));
        map17.put("apiKey", new xi9.a(0, "apiKey", "TEXT", null, true, 1));
        map17.put("username", new xi9.a(0, "username", "TEXT", null, false, 1));
        map17.put(Scopes.EMAIL, new xi9.a(0, Scopes.EMAIL, "TEXT", null, false, 1));
        map17.put("isPremium", new xi9.a(0, "isPremium", "INTEGER", null, true, 1));
        map17.put("isSubscribed", new xi9.a(0, "isSubscribed", "INTEGER", null, false, 1));
        map17.put("isTrial", new xi9.a(0, "isTrial", "INTEGER", null, false, 1));
        map17.put("premiumUntil", new xi9.a(0, "premiumUntil", "INTEGER", null, false, 1));
        map17.put("fidelityPoints", new xi9.a(0, "fidelityPoints", "INTEGER", null, false, 1));
        map17.put("lastVerifiedAt", new xi9.a(0, "lastVerifiedAt", "INTEGER", null, true, 1));
        xi9 xi9Var17 = new xi9("alldebrid_accounts", map17, fi7.n(map17, "createdAt", new xi9.a(0, "createdAt", "INTEGER", null, true, 1), 0), new HashSet(0));
        xi9 xi9VarA17 = xi9.a(je9Var, "alldebrid_accounts");
        if (!xi9Var17.equals(xi9VarA17)) {
            return new k.c(false, fi7.g("alldebrid_accounts(com.strmr.ps.data.local.entity.AllDebridAccount).\n Expected:\n", xi9Var17, "\n Found:\n", xi9VarA17));
        }
        HashMap map18 = new HashMap(11);
        map18.put("providerId", new xi9.a(1, "providerId", "TEXT", null, true, 1));
        map18.put("apiKey", new xi9.a(0, "apiKey", "TEXT", null, true, 1));
        map18.put(Scopes.EMAIL, new xi9.a(0, Scopes.EMAIL, "TEXT", null, false, 1));
        map18.put("plan", new xi9.a(0, "plan", "INTEGER", null, true, 1));
        map18.put("planName", new xi9.a(0, "planName", "TEXT", null, false, 1));
        map18.put("expiresAt", new xi9.a(0, "expiresAt", "TEXT", null, false, 1));
        map18.put("isSubscribed", new xi9.a(0, "isSubscribed", "INTEGER", null, true, 1));
        map18.put("totalDownloaded", new xi9.a(0, "totalDownloaded", "INTEGER", null, false, 1));
        map18.put("userId", new xi9.a(0, "userId", "INTEGER", null, false, 1));
        map18.put("lastVerifiedAt", new xi9.a(0, "lastVerifiedAt", "INTEGER", null, true, 1));
        xi9 xi9Var18 = new xi9("torbox_accounts", map18, fi7.n(map18, "createdAt", new xi9.a(0, "createdAt", "INTEGER", null, true, 1), 0), new HashSet(0));
        xi9 xi9VarA18 = xi9.a(je9Var, "torbox_accounts");
        if (!xi9Var18.equals(xi9VarA18)) {
            return new k.c(false, fi7.g("torbox_accounts(com.strmr.ps.data.local.entity.TorBoxAccount).\n Expected:\n", xi9Var18, "\n Found:\n", xi9VarA18));
        }
        HashMap map19 = new HashMap(7);
        map19.put("syncType", new xi9.a(1, "syncType", "TEXT", null, true, 1));
        map19.put("currentPage", new xi9.a(0, "currentPage", "INTEGER", null, true, 1));
        map19.put("isInProgress", new xi9.a(0, "isInProgress", "INTEGER", null, true, 1));
        map19.put("itemsSynced", new xi9.a(0, "itemsSynced", "INTEGER", null, true, 1));
        map19.put("totalItems", new xi9.a(0, "totalItems", "INTEGER", null, false, 1));
        map19.put("startedAt", new xi9.a(0, "startedAt", "INTEGER", null, true, 1));
        xi9 xi9Var19 = new xi9("sync_checkpoints", map19, fi7.n(map19, "lastUpdatedAt", new xi9.a(0, "lastUpdatedAt", "INTEGER", null, true, 1), 0), new HashSet(0));
        xi9 xi9VarA19 = xi9.a(je9Var, "sync_checkpoints");
        if (!xi9Var19.equals(xi9VarA19)) {
            return new k.c(false, fi7.g("sync_checkpoints(com.strmr.ps.data.local.entity.SyncCheckpoint).\n Expected:\n", xi9Var19, "\n Found:\n", xi9VarA19));
        }
        HashMap map20 = new HashMap(11);
        map20.put("showTmdbId", new xi9.a(1, "showTmdbId", "INTEGER", null, true, 1));
        map20.put("season", new xi9.a(2, "season", "INTEGER", null, true, 1));
        map20.put(PlaybackProgress.TYPE_EPISODE, new xi9.a(3, PlaybackProgress.TYPE_EPISODE, "INTEGER", null, true, 1));
        map20.put("traktId", new xi9.a(0, "traktId", "INTEGER", null, false, 1));
        map20.put("episodeTmdbId", new xi9.a(0, "episodeTmdbId", "INTEGER", null, false, 1));
        map20.put("watched", new xi9.a(0, "watched", "INTEGER", null, true, 1));
        map20.put("plays", new xi9.a(0, "plays", "INTEGER", null, true, 1));
        map20.put("watchedAt", new xi9.a(0, "watchedAt", "INTEGER", null, false, 1));
        map20.put("title", new xi9.a(0, "title", "TEXT", null, false, 1));
        map20.put("runtime", new xi9.a(0, "runtime", "INTEGER", null, false, 1));
        HashSet hashSetN12 = fi7.n(map20, "updatedAt", new xi9.a(0, "updatedAt", "INTEGER", null, true, 1), 0);
        HashSet hashSet12 = new HashSet(5);
        hashSet12.add(new xi9.f("index_episode_watch_status_showTmdbId", false, Arrays.asList("showTmdbId"), Arrays.asList("ASC")));
        hashSet12.add(new xi9.f("index_episode_watch_status_traktId", false, Arrays.asList("traktId"), Arrays.asList("ASC")));
        hashSet12.add(new xi9.f("index_episode_watch_status_watchedAt", false, Arrays.asList("watchedAt"), Arrays.asList("ASC")));
        hashSet12.add(new xi9.f("index_episode_watch_status_showTmdbId_watched", false, Arrays.asList("showTmdbId", "watched"), Arrays.asList("ASC", "ASC")));
        hashSet12.add(new xi9.f("index_episode_watch_status_updatedAt", false, Arrays.asList("updatedAt"), Arrays.asList("ASC")));
        xi9 xi9Var20 = new xi9("episode_watch_status", map20, hashSetN12, hashSet12);
        xi9 xi9VarA20 = xi9.a(je9Var, "episode_watch_status");
        if (!xi9Var20.equals(xi9VarA20)) {
            return new k.c(false, fi7.g("episode_watch_status(com.strmr.ps.data.local.entity.EpisodeWatchStatus).\n Expected:\n", xi9Var20, "\n Found:\n", xi9VarA20));
        }
        HashMap map21 = new HashMap(11);
        map21.put(TtmlNode.ATTR_ID, new xi9.a(1, TtmlNode.ATTR_ID, "INTEGER", null, true, 1));
        map21.put("actionType", new xi9.a(0, "actionType", "TEXT", null, true, 1));
        map21.put("tmdbId", new xi9.a(0, "tmdbId", "INTEGER", null, true, 1));
        map21.put("contentType", new xi9.a(0, "contentType", "TEXT", null, true, 1));
        map21.put("season", new xi9.a(0, "season", "INTEGER", null, false, 1));
        map21.put(PlaybackProgress.TYPE_EPISODE, new xi9.a(0, PlaybackProgress.TYPE_EPISODE, "INTEGER", null, false, 1));
        map21.put("rating", new xi9.a(0, "rating", "INTEGER", null, false, 1));
        map21.put("retryCount", new xi9.a(0, "retryCount", "INTEGER", null, true, 1));
        map21.put("lastError", new xi9.a(0, "lastError", "TEXT", null, false, 1));
        map21.put("createdAt", new xi9.a(0, "createdAt", "INTEGER", null, true, 1));
        HashSet hashSetN13 = fi7.n(map21, "lastAttemptAt", new xi9.a(0, "lastAttemptAt", "INTEGER", null, false, 1), 0);
        HashSet hashSet13 = new HashSet(2);
        hashSet13.add(new xi9.f("index_pending_trakt_actions_createdAt", false, Arrays.asList("createdAt"), Arrays.asList("ASC")));
        hashSet13.add(new xi9.f("index_pending_trakt_actions_actionType", false, Arrays.asList("actionType"), Arrays.asList("ASC")));
        xi9 xi9Var21 = new xi9("pending_trakt_actions", map21, hashSetN13, hashSet13);
        xi9 xi9VarA21 = xi9.a(je9Var, "pending_trakt_actions");
        if (!xi9Var21.equals(xi9VarA21)) {
            return new k.c(false, fi7.g("pending_trakt_actions(com.strmr.ps.data.local.entity.PendingTraktAction).\n Expected:\n", xi9Var21, "\n Found:\n", xi9VarA21));
        }
        HashMap map22 = new HashMap(28);
        map22.put("instanceId", new xi9.a(1, "instanceId", "TEXT", null, true, 1));
        map22.put("addonId", new xi9.a(0, "addonId", "TEXT", null, true, 1));
        map22.put("instanceNumber", new xi9.a(0, "instanceNumber", "INTEGER", null, true, 1));
        map22.put(AppMeasurementSdk.ConditionalUserProperty.NAME, new xi9.a(0, AppMeasurementSdk.ConditionalUserProperty.NAME, "TEXT", null, true, 1));
        map22.put("version", new xi9.a(0, "version", "TEXT", null, false, 1));
        map22.put("description", new xi9.a(0, "description", "TEXT", null, false, 1));
        map22.put("baseUrl", new xi9.a(0, "baseUrl", "TEXT", null, true, 1));
        map22.put("manifestUrl", new xi9.a(0, "manifestUrl", "TEXT", null, true, 1));
        map22.put("configuredUrl", new xi9.a(0, "configuredUrl", "TEXT", null, false, 1));
        map22.put("isConfigured", new xi9.a(0, "isConfigured", "INTEGER", null, true, 1));
        map22.put("addonType", new xi9.a(0, "addonType", "TEXT", null, true, 1));
        map22.put("capabilities", new xi9.a(0, "capabilities", "TEXT", null, true, 1));
        map22.put("debridSupport", new xi9.a(0, "debridSupport", "TEXT", null, false, 1));
        map22.put("configFields", new xi9.a(0, "configFields", "TEXT", null, false, 1));
        map22.put("priority", new xi9.a(0, "priority", "INTEGER", null, true, 1));
        map22.put("enabled", new xi9.a(0, "enabled", "INTEGER", null, true, 1));
        map22.put("isCustom", new xi9.a(0, "isCustom", "INTEGER", null, true, 1));
        map22.put("targetScreen", new xi9.a(0, "targetScreen", "TEXT", null, true, 1));
        map22.put("installedAt", new xi9.a(0, "installedAt", "INTEGER", null, true, 1));
        map22.put("lastUsedAt", new xi9.a(0, "lastUsedAt", "INTEGER", null, false, 1));
        map22.put("catalogsJson", new xi9.a(0, "catalogsJson", "TEXT", null, false, 1));
        map22.put("resourcesJson", new xi9.a(0, "resourcesJson", "TEXT", null, false, 1));
        map22.put("isQuickAdd", new xi9.a(0, "isQuickAdd", "INTEGER", null, true, 1));
        map22.put("debridInjectionType", new xi9.a(0, "debridInjectionType", "TEXT", null, false, 1));
        map22.put("debridInjectionConfig", new xi9.a(0, "debridInjectionConfig", "TEXT", null, false, 1));
        map22.put("bundleId", new xi9.a(0, "bundleId", "TEXT", null, false, 1));
        map22.put("bundleUrl", new xi9.a(0, "bundleUrl", "TEXT", null, false, 1));
        HashSet hashSetN14 = fi7.n(map22, "bundleVersion", new xi9.a(0, "bundleVersion", "INTEGER", null, false, 1), 0);
        HashSet hashSet14 = new HashSet(4);
        hashSet14.add(new xi9.f("index_installed_addons_enabled_priority", false, Arrays.asList("enabled", "priority"), Arrays.asList("ASC", "ASC")));
        hashSet14.add(new xi9.f("index_installed_addons_addonType", false, Arrays.asList("addonType"), Arrays.asList("ASC")));
        hashSet14.add(new xi9.f("index_installed_addons_lastUsedAt", false, Arrays.asList("lastUsedAt"), Arrays.asList("ASC")));
        hashSet14.add(new xi9.f("index_installed_addons_addonId", false, Arrays.asList("addonId"), Arrays.asList("ASC")));
        xi9 xi9Var22 = new xi9("installed_addons", map22, hashSetN14, hashSet14);
        xi9 xi9VarA22 = xi9.a(je9Var, "installed_addons");
        if (!xi9Var22.equals(xi9VarA22)) {
            return new k.c(false, fi7.g("installed_addons(com.strmr.ps.data.local.entity.InstalledAddonEntity).\n Expected:\n", xi9Var22, "\n Found:\n", xi9VarA22));
        }
        HashMap map23 = new HashMap(3);
        map23.put("instanceId", new xi9.a(1, "instanceId", "TEXT", null, true, 1));
        map23.put("fieldId", new xi9.a(2, "fieldId", "TEXT", null, true, 1));
        HashSet hashSetN15 = fi7.n(map23, AppMeasurementSdk.ConditionalUserProperty.VALUE, new xi9.a(0, AppMeasurementSdk.ConditionalUserProperty.VALUE, "TEXT", null, true, 1), 1);
        hashSetN15.add(new xi9.d("installed_addons", "CASCADE", "NO ACTION", Arrays.asList("instanceId"), Arrays.asList("instanceId")));
        HashSet hashSet15 = new HashSet(1);
        hashSet15.add(new xi9.f("index_addon_configs_instanceId", false, Arrays.asList("instanceId"), Arrays.asList("ASC")));
        xi9 xi9Var23 = new xi9("addon_configs", map23, hashSetN15, hashSet15);
        xi9 xi9VarA23 = xi9.a(je9Var, "addon_configs");
        if (!xi9Var23.equals(xi9VarA23)) {
            return new k.c(false, fi7.g("addon_configs(com.strmr.ps.data.local.entity.AddonConfigEntity).\n Expected:\n", xi9Var23, "\n Found:\n", xi9VarA23));
        }
        HashMap map24 = new HashMap(3);
        map24.put("addonId", new xi9.a(1, "addonId", "TEXT", null, true, 1));
        map24.put("acceptedAt", new xi9.a(0, "acceptedAt", "INTEGER", null, true, 1));
        xi9 xi9Var24 = new xi9("addon_disclaimer_acceptance", map24, fi7.n(map24, "disclaimerVersion", new xi9.a(0, "disclaimerVersion", "INTEGER", null, true, 1), 0), new HashSet(0));
        xi9 xi9VarA24 = xi9.a(je9Var, "addon_disclaimer_acceptance");
        if (!xi9Var24.equals(xi9VarA24)) {
            return new k.c(false, fi7.g("addon_disclaimer_acceptance(com.strmr.ps.data.local.entity.AddonDisclaimerAcceptance).\n Expected:\n", xi9Var24, "\n Found:\n", xi9VarA24));
        }
        HashMap map25 = new HashMap(10);
        map25.put("googleId", new xi9.a(1, "googleId", "TEXT", null, true, 1));
        map25.put(Scopes.EMAIL, new xi9.a(0, Scopes.EMAIL, "TEXT", null, true, 1));
        map25.put("displayName", new xi9.a(0, "displayName", "TEXT", null, false, 1));
        map25.put("photoUrl", new xi9.a(0, "photoUrl", "TEXT", null, false, 1));
        map25.put("createdAt", new xi9.a(0, "createdAt", "INTEGER", null, true, 1));
        map25.put("lastLoginAt", new xi9.a(0, "lastLoginAt", "INTEGER", null, true, 1));
        map25.put("subscriptionTier", new xi9.a(0, "subscriptionTier", "TEXT", null, true, 1));
        map25.put("subscriptionExpiresAt", new xi9.a(0, "subscriptionExpiresAt", "INTEGER", null, false, 1));
        map25.put("trialStartedAt", new xi9.a(0, "trialStartedAt", "INTEGER", null, false, 1));
        xi9 xi9Var25 = new xi9("user_account", map25, fi7.n(map25, "trialExpiresAt", new xi9.a(0, "trialExpiresAt", "INTEGER", null, false, 1), 0), new HashSet(0));
        xi9 xi9VarA25 = xi9.a(je9Var, "user_account");
        if (!xi9Var25.equals(xi9VarA25)) {
            return new k.c(false, fi7.g("user_account(com.strmr.ps.data.local.entity.UserAccountEntity).\n Expected:\n", xi9Var25, "\n Found:\n", xi9VarA25));
        }
        HashMap map26 = new HashMap(6);
        map26.put("providerId", new xi9.a(1, "providerId", "TEXT", null, true, 1));
        map26.put("apiKey", new xi9.a(0, "apiKey", "TEXT", null, true, 1));
        map26.put("userId", new xi9.a(0, "userId", "TEXT", null, false, 1));
        map26.put("paidUntil", new xi9.a(0, "paidUntil", "INTEGER", null, false, 1));
        map26.put("lastVerifiedAt", new xi9.a(0, "lastVerifiedAt", "INTEGER", null, true, 1));
        xi9 xi9Var26 = new xi9("easydebrid_accounts", map26, fi7.n(map26, "createdAt", new xi9.a(0, "createdAt", "INTEGER", null, true, 1), 0), new HashSet(0));
        xi9 xi9VarA26 = xi9.a(je9Var, "easydebrid_accounts");
        if (!xi9Var26.equals(xi9VarA26)) {
            return new k.c(false, fi7.g("easydebrid_accounts(com.strmr.ps.data.local.entity.EasyDebridAccount).\n Expected:\n", xi9Var26, "\n Found:\n", xi9VarA26));
        }
        HashMap map27 = new HashMap(2);
        map27.put(TtmlNode.ATTR_ID, new xi9.a(1, TtmlNode.ATTR_ID, "TEXT", null, true, 1));
        xi9 xi9Var27 = new xi9("user_collections", map27, fi7.n(map27, "json", new xi9.a(0, "json", "TEXT", null, true, 1), 0), new HashSet(0));
        xi9 xi9VarA27 = xi9.a(je9Var, "user_collections");
        if (!xi9Var27.equals(xi9VarA27)) {
            return new k.c(false, fi7.g("user_collections(com.strmr.ps.data.local.entity.UserCollectionEntity).\n Expected:\n", xi9Var27, "\n Found:\n", xi9VarA27));
        }
        HashMap map28 = new HashMap(5);
        map28.put("key", new xi9.a(1, "key", "TEXT", null, true, 1));
        map28.put("tmdbId", new xi9.a(0, "tmdbId", "INTEGER", null, true, 1));
        map28.put("imageType", new xi9.a(0, "imageType", "TEXT", null, true, 1));
        map28.put("overrideUrl", new xi9.a(0, "overrideUrl", "TEXT", null, true, 1));
        HashSet hashSetN16 = fi7.n(map28, "createdAt", new xi9.a(0, "createdAt", "INTEGER", null, true, 1), 0);
        HashSet hashSet16 = new HashSet(1);
        hashSet16.add(new xi9.f("index_content_image_overrides_tmdbId_imageType", false, Arrays.asList("tmdbId", "imageType"), Arrays.asList("ASC", "ASC")));
        xi9 xi9Var28 = new xi9("content_image_overrides", map28, hashSetN16, hashSet16);
        xi9 xi9VarA28 = xi9.a(je9Var, "content_image_overrides");
        return !xi9Var28.equals(xi9VarA28) ? new k.c(false, fi7.g("content_image_overrides(com.strmr.ps.data.local.entity.ContentImageOverrideEntity).\n Expected:\n", xi9Var28, "\n Found:\n", xi9VarA28)) : new k.c(true, null);
    }
}
