








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

@interface NotLookupEscapedMinSemicolonRestart : NSObject<MARewardedAdDelegate,MAAdViewAdDelegate>

@property (nonatomic, strong) MARewardedAd *eyeOnceVitalAdjustEarlier;
@property (nonatomic, assign) NSInteger alarmDarkBadgeAdobeSlight;

@property (nonatomic, copy) NSString *behaveArrowData;

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

@property (nonatomic, copy) void (^maxYesterdayKeepPromotionKeyboardJson)(BOOL result, NSDictionary *cutJson);

@end

@implementation NotLookupEscapedMinSemicolonRestart

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

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

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


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

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

- (void)farAlarmCompositePerformerPeerHistoryContains:(NSString *)hashEndsShowersAboutSee
{
    self.eyeOnceVitalAdjustEarlier = [MARewardedAd sharedWithAdUnitIdentifier:hashEndsShowersAboutSee];
    self.eyeOnceVitalAdjustEarlier.delegate = self;

    
    [self.eyeOnceVitalAdjustEarlier loadAd];
}


- (void)providesForBurnExpensiveMixProposalData:(nullable NSString *)behaveArrowData nowExecuteJson:(void(^)(BOOL result, NSDictionary *cutJson))nowExecuteJson {
    self.maxYesterdayKeepPromotionKeyboardJson = nowExecuteJson;
    self.behaveArrowData = behaveArrowData;
    if ( [self.eyeOnceVitalAdjustEarlier isReady]) {
        [self.eyeOnceVitalAdjustEarlier showAdForPlacement:nil customData:behaveArrowData];
    }else {
        nowExecuteJson(NO,nil);
    }
}

- (void)providesForBurnExpensiveMixProposalData:(nullable NSString *)behaveArrowData workReal:(void(^)(BOOL result))workReal {
    self.nameMenRawTap = workReal;
    self.behaveArrowData = behaveArrowData;
    if ( [self.eyeOnceVitalAdjustEarlier isReady]) {
        [self.eyeOnceVitalAdjustEarlier showAdForPlacement:nil customData:behaveArrowData];
    }else {
        workReal(NO);
    }
}

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

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


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

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

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

- (void)didFailToDisplayAd:(MAAd *)ad withError:(MAError *)error
{
    [self narrativeKernelServiceEstimatePrior: __PRETTY_FUNCTION__ error:error.message];
    
    
    [self.eyeOnceVitalAdjustEarlier loadAd];
    
    if (self.nameMenRawTap) {
        self.nameMenRawTap(NO);
    }
    
    if (self.maxYesterdayKeepPromotionKeyboardJson) {
        self.maxYesterdayKeepPromotionKeyboardJson(NO, nil);
    }
}

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

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

- (void)didRewardUserForAd:(nonnull MAAd *)ad withReward:(nonnull MAReward *)reward {
    [self narrativeKernelServiceEstimatePrior: __PRETTY_FUNCTION__ error:nil];
    
    if (self.nameMenRawTap) {
        self.nameMenRawTap(YES);
    }
    
    if (self.maxYesterdayKeepPromotionKeyboardJson) {
        NSDictionary *cutJson = [self wrappedShapePrintedHallConnected:ad];
        self.maxYesterdayKeepPromotionKeyboardJson(YES, cutJson);
    }
}


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

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

@end
