








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

@interface MaximumProjectsInitiatedSupplyItalianAppears : NSObject<MARewardedAdDelegate,MAAdViewAdDelegate>

@property (nonatomic, strong) MARewardedAd *coverProtectedHeadphoneItemClusters;
@property (nonatomic, assign) NSInteger busSyntaxQueueBecomeExternal;

@property (nonatomic, copy) NSString *sevenAttachData;

@property (nonatomic, copy) void (^sleetInsetRaw)(BOOL result);

@property (nonatomic, copy) void (^allImpliedFeaturedLevelLastJson)(BOOL result, NSDictionary *hasJson);

@end

@implementation MaximumProjectsInitiatedSupplyItalianAppears

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

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

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


- (void)notDefinesScalarIcelandicLigatureSquareKey:(NSString *)xxpk_maxkey indoorLongTheInheritedAnchors:(NSString *)indoorLongTheInheritedAnchors wakeSlideFallbackPhonogramDry:(NSArray *)wakeSlideFallbackPhonogramDry {
    
    
    
    Class fix = NSClassFromString(@"FBAdSettings");
    if (fix) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wundeclared-selector"
        [fix performSelector:@selector(setDataProcessingOptions:) withObject:@[]];
        [fix performSelector:@selector(setAdvertiserTrackingEnabled:) withObject:@(YES)];
#pragma clang diagnostic pop
    }
    
    

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

- (void)clockPlayableAssertionFillerPeakMicroDivide:(NSString *)indoorLongTheInheritedAnchors
{
    self.coverProtectedHeadphoneItemClusters = [MARewardedAd sharedWithAdUnitIdentifier:indoorLongTheInheritedAnchors];
    self.coverProtectedHeadphoneItemClusters.delegate = self;

    
    [self.coverProtectedHeadphoneItemClusters loadAd];
}


- (void)dispenseCancelledFlashTipCollationReceiveData:(nullable NSString *)sevenAttachData faxLogVeryJson:(void(^)(BOOL result, NSDictionary *hasJson))faxLogVeryJson {
    self.allImpliedFeaturedLevelLastJson = faxLogVeryJson;
    self.sevenAttachData = sevenAttachData;
    if ( [self.coverProtectedHeadphoneItemClusters isReady]) {
        [self.coverProtectedHeadphoneItemClusters showAdForPlacement:nil customData:sevenAttachData];
    }else {
        faxLogVeryJson(NO,nil);
    }
}

- (void)dispenseCancelledFlashTipCollationReceiveData:(nullable NSString *)sevenAttachData everySon:(void(^)(BOOL result))everySon {
    self.sleetInsetRaw = everySon;
    self.sevenAttachData = sevenAttachData;
    if ( [self.coverProtectedHeadphoneItemClusters isReady]) {
        [self.coverProtectedHeadphoneItemClusters showAdForPlacement:nil customData:sevenAttachData];
    }else {
        everySon(NO);
    }
}

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

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


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

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

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

- (void)didFailToDisplayAd:(MAAd *)ad withError:(MAError *)error
{
    [self strictHitFillerCalorieDiastolic: __PRETTY_FUNCTION__ error:error.message];
    
    
    [self.coverProtectedHeadphoneItemClusters loadAd];
    
    if (self.sleetInsetRaw) {
        self.sleetInsetRaw(NO);
    }
    
    if (self.allImpliedFeaturedLevelLastJson) {
        self.allImpliedFeaturedLevelLastJson(NO, nil);
    }
}

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

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

- (void)didRewardUserForAd:(nonnull MAAd *)ad withReward:(nonnull MAReward *)reward {
    [self strictHitFillerCalorieDiastolic: __PRETTY_FUNCTION__ error:nil];
    
    if (self.sleetInsetRaw) {
        self.sleetInsetRaw(YES);
    }
    
    if (self.allImpliedFeaturedLevelLastJson) {
        NSDictionary *hasJson = [self renewalPenIrishSinRemainder:ad];
        self.allImpliedFeaturedLevelLastJson(YES, hasJson);
    }
}


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

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

@end
