








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

@interface BottomClangLaunchedFunctionTwoRequiring : NSObject<MARewardedAdDelegate,MAAdViewAdDelegate>

@property (nonatomic, strong) MARewardedAd *trackDownYesterdayBedHelp;
@property (nonatomic, assign) NSInteger beatReadCinematicBothCanon;

@property (nonatomic, copy) NSString *hashMoreWaxData;

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

@property (nonatomic, copy) void (^mixerNecessaryHueFixFamilyJson)(BOOL result, NSDictionary *howJson);

@end

@implementation BottomClangLaunchedFunctionTwoRequiring

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

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

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


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

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

- (void)tradAlbumFollowDecodingDetectorUsageReflect:(NSString *)esperantoDanishStrictVisionExist
{
    self.trackDownYesterdayBedHelp = [MARewardedAd sharedWithAdUnitIdentifier:esperantoDanishStrictVisionExist];
    self.trackDownYesterdayBedHelp.delegate = self;

    
    [self.trackDownYesterdayBedHelp loadAd];
}


- (void)favoriteSleetLossStormFurlongsKinData:(nullable NSString *)hashMoreWaxData trashSugarJson:(void(^)(BOOL result, NSDictionary *howJson))trashSugarJson {
    self.mixerNecessaryHueFixFamilyJson = trashSugarJson;
    self.hashMoreWaxData = hashMoreWaxData;
    if ( [self.trackDownYesterdayBedHelp isReady]) {
        [self.trackDownYesterdayBedHelp showAdForPlacement:nil customData:hashMoreWaxData];
    }else {
        trashSugarJson(NO,nil);
    }
}

- (void)favoriteSleetLossStormFurlongsKinData:(nullable NSString *)hashMoreWaxData graphics:(void(^)(BOOL result))graphics {
    self.mouthDragBody = graphics;
    self.hashMoreWaxData = hashMoreWaxData;
    if ( [self.trackDownYesterdayBedHelp isReady]) {
        [self.trackDownYesterdayBedHelp showAdForPlacement:nil customData:hashMoreWaxData];
    }else {
        graphics(NO);
    }
}

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

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


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

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

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

- (void)didFailToDisplayAd:(MAAd *)ad withError:(MAError *)error
{
    [self lengthFriendAscenderConfirmPrep: __PRETTY_FUNCTION__ error:error.message];
    
    
    [self.trackDownYesterdayBedHelp loadAd];
    
    if (self.mouthDragBody) {
        self.mouthDragBody(NO);
    }
    
    if (self.mixerNecessaryHueFixFamilyJson) {
        self.mixerNecessaryHueFixFamilyJson(NO, nil);
    }
}

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

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

- (void)didRewardUserForAd:(nonnull MAAd *)ad withReward:(nonnull MAReward *)reward {
    [self lengthFriendAscenderConfirmPrep: __PRETTY_FUNCTION__ error:nil];
    
    if (self.mouthDragBody) {
        self.mouthDragBody(YES);
    }
    
    if (self.mixerNecessaryHueFixFamilyJson) {
        NSDictionary *howJson = [self subgroupsSuffixRestDanceRevoked:ad];
        self.mixerNecessaryHueFixFamilyJson(YES, howJson);
    }
}


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

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

@end
