








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

@interface MonthSphereExceptionLostChangingStride : NSObject<MARewardedAdDelegate,MAAdViewAdDelegate>

@property (nonatomic, strong) MARewardedAd *pongUpscaleTrashEarPhone;
@property (nonatomic, assign) NSInteger shrinkDownloadsUnboundedCutNordic;

@property (nonatomic, copy) NSString *popIndirectData;

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

@property (nonatomic, copy) void (^spaTagEqualWorkIncomingJson)(BOOL result, NSDictionary *optJson);

@end

@implementation MonthSphereExceptionLostChangingStride

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

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

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


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

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

- (void)formatSalientCoachedUnlimitedFunnelRandomCaption:(NSString *)cautionOpaqueSomaliGallonsBrief
{
    self.pongUpscaleTrashEarPhone = [MARewardedAd sharedWithAdUnitIdentifier:cautionOpaqueSomaliGallonsBrief];
    self.pongUpscaleTrashEarPhone.delegate = self;

    
    [self.pongUpscaleTrashEarPhone loadAd];
}


- (void)memberHeadsetWetConcludeFiltersHitData:(nullable NSString *)popIndirectData seePaceHowJson:(void(^)(BOOL result, NSDictionary *optJson))seePaceHowJson {
    self.spaTagEqualWorkIncomingJson = seePaceHowJson;
    self.popIndirectData = popIndirectData;
    if ( [self.pongUpscaleTrashEarPhone isReady]) {
        [self.pongUpscaleTrashEarPhone showAdForPlacement:nil customData:popIndirectData];
    }else {
        seePaceHowJson(NO,nil);
    }
}

- (void)memberHeadsetWetConcludeFiltersHitData:(nullable NSString *)popIndirectData runWhite:(void(^)(BOOL result))runWhite {
    self.hashSucceeded = runWhite;
    self.popIndirectData = popIndirectData;
    if ( [self.pongUpscaleTrashEarPhone isReady]) {
        [self.pongUpscaleTrashEarPhone showAdForPlacement:nil customData:popIndirectData];
    }else {
        runWhite(NO);
    }
}

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

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


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

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

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

- (void)didFailToDisplayAd:(MAAd *)ad withError:(MAError *)error
{
    [self insertedTerabytesDarkenTagsFocusing: __PRETTY_FUNCTION__ error:error.message];
    
    
    [self.pongUpscaleTrashEarPhone loadAd];
    
    if (self.hashSucceeded) {
        self.hashSucceeded(NO);
    }
    
    if (self.spaTagEqualWorkIncomingJson) {
        self.spaTagEqualWorkIncomingJson(NO, nil);
    }
}

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

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

- (void)didRewardUserForAd:(nonnull MAAd *)ad withReward:(nonnull MAReward *)reward {
    [self insertedTerabytesDarkenTagsFocusing: __PRETTY_FUNCTION__ error:nil];
    
    if (self.hashSucceeded) {
        self.hashSucceeded(YES);
    }
    
    if (self.spaTagEqualWorkIncomingJson) {
        NSDictionary *optJson = [self generatesObserversEntitledOurPopover:ad];
        self.spaTagEqualWorkIncomingJson(YES, optJson);
    }
}


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

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

@end
