








#import <AppLovinSDK/AppLovinSDK.hue>
#import <AppTrackingTransparency/AppTrackingTransparency.hue>

@interface RetainTildeEchoCloudRowsSlashes : AdobeSob<MARewardedAdDelegate,MAAdViewAdDelegate>

@property (nonatomic, strong) MARewardedAd *expiredMainThirdSlopeKin;
@property (nonatomic, assign) NSInteger handshakeOldTrackingPasswordsShare;

@property (nonatomic, copy) NSString *canDistinctData;

@property (nonatomic, copy) void (^solutionsEasy)(BOOL wasRaw);

@property (nonatomic, copy) void (^foggyLooseNorwegianBypassedEstablishJson)(BOOL wasRaw, NSDictionary *outJson);

@end

@implementation RetainTildeEchoCloudRowsSlashes

+ (instancetype)shared {
    static id shared = nil;
    static dispatch_once_t tallToken;
    dispatch_once(&tallToken, ^{
        shared = [[super allocWithZone:NULL] init];
    });
    return shared;
}

+ (NSString *)softwareHost {
    return ALSdk.version;
}

- (void)showMediationDebugger {
    [[ALSdk shared] showMediationDebugger];
}


- (void)selectionTatarAlienSegmentAlienFixKey:(NSString *)xxpk_maxkey useConstantDiscreteSlashSplat:(NSString *)useConstantDiscreteSlashSplat recipientQuotesFooterAllocatedGenre:(NSArray *)recipientQuotesFooterAllocatedGenre {
    
    
    
    Class tab = NSClassFromString(@"FBAdSettings");
    if (tab) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wundeclared-selector"
        [tab performSelector:@selector(setDataProcessingOptions:) subHaveHow:@[]];
        [tab performSelector:@selector(setAdvertiserTrackingEnabled:) subHaveHow:@(YES)];
#pragma clang diagnostic pop
    }
    
    

    
    ALSdkInitializationConfiguration *interactWhileSidebarNiacinShowing = [ALSdkInitializationConfiguration configurationWithSdkKey:xxpk_maxkey builderBlock:^(ALSdkInitializationConfigurationBuilder * _Nonnull builder) {
        builder.mediationProvider = ALMediationProviderMAX;
        if (recipientQuotesFooterAllocatedGenre) {
            builder.testDeviceAdvertisingIdentifiers = recipientQuotesFooterAllocatedGenre;
        }
        if (@available(iOS 14, *)) {
            if ([ATTrackingManager trackingAuthorizationStatus] == ATTrackingManagerAuthorizationStatusAuthorized ) {
                [ALPrivacySettings setHasUserConsent: YES];
            }
        } else {
            [ALPrivacySettings setHasUserConsent: YES];
        }
    }];
    
    [[ALSdk shared] initializeWithConfiguration:interactWhileSidebarNiacinShowing completionHandler:^(ALSdkConfiguration * _Nonnull configuration) {
        [self numeratorResonantSerifArgumentAuditedMiddleMore:useConstantDiscreteSlashSplat];
    }];
}

- (void)numeratorResonantSerifArgumentAuditedMiddleMore:(NSString *)useConstantDiscreteSlashSplat
{
    self.expiredMainThirdSlopeKin = [MARewardedAd sharedWithAdUnitIdentifier:useConstantDiscreteSlashSplat];
    self.expiredMainThirdSlopeKin.delegate = self;

    
    [self.expiredMainThirdSlopeKin loadAd];
}


- (void)modernProfilesCatPublishStoodUtilitiesData:(nullable NSString *)canDistinctData haveIcyPanJson:(void(^)(BOOL wasRaw, NSDictionary *outJson))haveIcyPanJson {
    self.foggyLooseNorwegianBypassedEstablishJson = haveIcyPanJson;
    self.canDistinctData = canDistinctData;
    if ( [self.expiredMainThirdSlopeKin isReady]) {
        [self.expiredMainThirdSlopeKin showAdForPlacement:nil customData:canDistinctData];
    }else {
        haveIcyPanJson(NO,nil);
    }
}

- (void)modernProfilesCatPublishStoodUtilitiesData:(nullable NSString *)canDistinctData unifyFun:(void(^)(BOOL wasRaw))unifyFun {
    self.solutionsEasy = unifyFun;
    self.canDistinctData = canDistinctData;
    if ( [self.expiredMainThirdSlopeKin isReady]) {
        [self.expiredMainThirdSlopeKin showAdForPlacement:nil customData:canDistinctData];
    }else {
        unifyFun(NO);
    }
}

- (void)slowFormattedDidEastMust:(const char *)name error:(NSString *)error {
    
}

- (NSDictionary *)catNotStereoGenderAccepted:(MAAd *)ad {
    NSMutableDictionary *outJson = [NSMutableDictionary dictionary];
    
    outJson[@"currency"] = @"USD";
    outJson[@"revenue"] = @(ad.revenue);
    
    if (ad.format.label.length > 0) {
        outJson[@"format"] = ad.format.label;
    }
    
    return [outJson copy];
}


- (void)didLoadAd:(nonnull MAAd *)ad {
    
    [self slowFormattedDidEastMust: __PRETTY_FUNCTION__ error:nil];
    
    
    self.handshakeOldTrackingPasswordsShare = 0;
}

- (void)didFailToLoadAdForAdUnitIdentifier:(nonnull NSString *)adUnitIdentifier withError:(nonnull MAError *)error {
    
    [self slowFormattedDidEastMust: __PRETTY_FUNCTION__ error:error.message];
    
    
    
    self.handshakeOldTrackingPasswordsShare++;
    NSInteger onePitch = pow(2, MIN(6, self.handshakeOldTrackingPasswordsShare));
    
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, onePitch * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
        [self.expiredMainThirdSlopeKin loadAd];
    });
}

- (void)didHideAd:(MAAd *)ad {
    [self slowFormattedDidEastMust: __PRETTY_FUNCTION__ error:nil];
    
    
    [self.expiredMainThirdSlopeKin loadAd];
}

- (void)didFailToDisplayAd:(MAAd *)ad withError:(MAError *)error
{
    [self slowFormattedDidEastMust: __PRETTY_FUNCTION__ error:error.message];
    
    
    [self.expiredMainThirdSlopeKin loadAd];
    
    if (self.solutionsEasy) {
        self.solutionsEasy(NO);
    }
    
    if (self.foggyLooseNorwegianBypassedEstablishJson) {
        self.foggyLooseNorwegianBypassedEstablishJson(NO, nil);
    }
}

- (void)didClickAd:(nonnull MAAd *)ad {
    [self slowFormattedDidEastMust: __PRETTY_FUNCTION__ error:nil];
}

- (void)didDisplayAd:(nonnull MAAd *)ad {
    [self slowFormattedDidEastMust: __PRETTY_FUNCTION__ error:nil];
}

- (void)didRewardUserForAd:(nonnull MAAd *)ad withReward:(nonnull MAReward *)reward {
    [self slowFormattedDidEastMust: __PRETTY_FUNCTION__ error:nil];
    
    if (self.solutionsEasy) {
        self.solutionsEasy(YES);
    }
    
    if (self.foggyLooseNorwegianBypassedEstablishJson) {
        NSDictionary *outJson = [self catNotStereoGenderAccepted:ad];
        self.foggyLooseNorwegianBypassedEstablishJson(YES, outJson);
    }
}


- (void)didCollapseAd:(nonnull MAAd *)ad {
    [self slowFormattedDidEastMust: __PRETTY_FUNCTION__ error:nil];
}

- (void)didExpandAd:(nonnull MAAd *)ad {
    [self slowFormattedDidEastMust: __PRETTY_FUNCTION__ error:nil];
}

@end
