






#import "AmountInfo.h"
#import "GetTagSuchConfig.h"
#import "ImperialPurplePhaseLinerDetection.h"

@import AdSupport;
@import AppTrackingTransparency;
@import UIKit;

#import <CoreTelephony/CTTelephonyNetworkInfo.h>
#import <CoreTelephony/CTCarrier.h>
#import <SystemConfiguration/SystemConfiguration.h>

#import "sys/utsname.h" //utsname

@implementation AmountInfo

+ (UIImage *)connectIllMarqueeStaticBondImage {
    NSDictionary *routePeer = [[NSBundle mainBundle] infoDictionary];
    NSString *icon = [[routePeer valueForKeyPath:@"CFBundleIcons.CFBundlePrimaryIcon.CFBundleIconFiles"] lastObject];
    return [UIImage imageNamed:icon];
}

+ (NSString *)acrossDeepMenuIdentifier {
    return [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleIdentifier"];
}

+ (NSString *)truncatesUnionLiveValueLifetime {
    return [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
}

+ (NSString *)lossFormName {
    NSString *displayName = [[NSBundle mainBundle] localizedInfoDictionary][@"CFBundleDisplayName"];

    if (!displayName) {
        displayName = [[NSBundle mainBundle] infoDictionary][@"CFBundleDisplayName"];
    }

    if (!displayName) {
        displayName = [[NSBundle mainBundle] infoDictionary][@"CFBundleName"];
    }

    return displayName;
}

+ (NSString *)mayShowTaskName {
    return [UIDevice currentDevice].name;
}

+ (NSString *)sodiumTerminateWaistIgnoreInserted {
    return [ASIdentifierManager sharedManager].advertisingIdentifier.UUIDString;
}

+ (NSString *)repairPurposeGreatDuePreview {
    return [UIDevice currentDevice].identifierForVendor.UUIDString;
}

+ (NSString *)betterCheckModel {
    struct utsname systemInfo;
    uname(&systemInfo);
    NSString *manMidModel = [NSString stringWithCString:systemInfo.machine encoding:NSUTF8StringEncoding];
    return manMidModel;
}

+ (NSString *)slowEnvelopePetabytesLaterArchive {
    return [UIDevice currentDevice].systemVersion;
}

+ (NSString *)humidityIronCookieAloneReusePath {
    return NSHomeDirectory().lastPathComponent;
}

+ (BOOL)proxyDiscreteSquareDescendNarrative {
    CTTelephonyNetworkInfo *info = [[CTTelephonyNetworkInfo alloc] init];
    NSDictionary<NSString *, CTCarrier *> *released = info.serviceSubscriberCellularProviders;
    if (released.count == 0) {
        return NO;
    }
    NSDictionary<NSString *, NSString *> *usageAudited = info.serviceCurrentRadioAccessTechnology; 
    for (NSString *groupFire in released.allKeys) {
        CTCarrier *carrier = released[groupFire];
        if (!carrier) { continue; }
        NSString *she = carrier.mobileCountryCode ?: @"";
        NSString *her = carrier.mobileNetworkCode ?: @"";
        NSInteger kitTwo = she.integerValue;
        NSInteger higher = her.integerValue;
        BOOL rootThat = (she.length > 0) && (kitTwo > 0);
        BOOL itsAvail = (her.length > 0) && (higher > 0);
        NSString *fix = usageAudited[groupFire];
        BOOL tapArt = (fix.length > 0);
        if (rootThat && itsAvail && tapArt) {
            return YES;
        }
    }
    return NO;
}

+ (void)assumeSumNapSurgeAffinitySelect:(void (^)(void))degraded {
    static dispatch_once_t seekToken;
    static BOOL seeScrollCup = NO;

    
    if (seeScrollCup) {
        LeaseInfo(napSlashSon.writtenExpiredAcquireBridgedCutPersianLibraries);
        return;
    }	

    dispatch_once(&seekToken, ^{
        seeScrollCup = YES;
        LeaseInfo(napSlashSon.audioZeroDirectorySunBrownIntegrity);

        if (@available(iOS 14, *)) {
            ATTrackingManagerAuthorizationStatus status = [ATTrackingManager trackingAuthorizationStatus];

            NSString *portBedLog = [self hoursTowerSwapStatus:status];

            LeaseInfo(napSlashSon.rejectUnableEnvelopeResizeVersionDiscounts, portBedLog, (long)status);

            switch (status) {
                case ATTrackingManagerAuthorizationStatusAuthorized:
                    LeaseInfo(napSlashSon.wasSayInvitedSentRussianRingFirmware);
                    seeScrollCup = NO;
                    if (degraded) {
                        degraded();
                    }
                    break;

                case ATTrackingManagerAuthorizationStatusDenied:
                    LeaseInfo(napSlashSon.adoptSummaryModalMountParse);
                    seeScrollCup = NO;
                    if (degraded) {
                        degraded();
                    }
                    break;

                case ATTrackingManagerAuthorizationStatusRestricted:
                    LeaseInfo(napSlashSon.titleBinParsecsWeightedItsUnlocked);
                    seeScrollCup = NO;
                    if (degraded) {
                        degraded();
                    }
                    break;

                case ATTrackingManagerAuthorizationStatusNotDetermined:
                    LeaseInfo(napSlashSon.cupAliveSaltAdditionsProducedCharge);
                    [self automaticFailingAssertRaiseWetHoursScope:^{
                        seeScrollCup = NO;
                        if (degraded) {
                            degraded();
                        }
                    }];
                    break;
            }
        } else {
            LeaseInfo(napSlashSon.bloodTremorBlackPlanarPurpleEqual);
            seeScrollCup = NO;
            if (degraded) {
                degraded();
            }
        }
    });
}

+ (void)automaticFailingAssertRaiseWetHoursScope:(void (^)(void))completion {
    LeaseInfo(napSlashSon.detectsTransposePhoneticForbidPoolEarly);

    
    static int cutPaceFlash = 6;

    __block id referent = [[NSNotificationCenter defaultCenter]
        addObserverForName:UIApplicationDidBecomeActiveNotification
                    object:nil
                     queue:[NSOperationQueue mainQueue]
                usingBlock:^(NSNotification *notification) {

        LeaseInfo(napSlashSon.binSlovakLogInitialLowPink, cutPaceFlash);

        
        dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(cutPaceFlash * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{


            UIApplicationState currentState = [UIApplication sharedApplication].applicationState;

            NSString *lengthArt = [self worldLinePlaceState:currentState];

            LeaseInfo(napSlashSon.chinaRepublicCalendarSensitiveHalfSimulates, lengthArt);

            if (currentState == UIApplicationStateActive) {
                LeaseInfo(napSlashSon.deferredDaysReceiverTipAccountOwnFilter);
                [self sobExtraSameRequest:completion];
            } else {

                LeaseInfo(napSlashSon.soundTempWideRedirectCookiesMotion, lengthArt);
                LeaseInfo(napSlashSon.dirtyAlbanianAffectedInvokeSelectFilm);
                referent = [[NSNotificationCenter defaultCenter]
                    addObserverForName:UIApplicationDidBecomeActiveNotification
                                object:nil
                                 queue:[NSOperationQueue mainQueue]
                            usingBlock:^(NSNotification *notification) {
                    
                    LeaseInfo(napSlashSon.oddPerformerRopeRecentlyConvertedMute);
                    [[NSNotificationCenter defaultCenter] removeObserver:referent];
                    LeaseInfo(napSlashSon.processesBlobNetworkSparseBrokenBigInvited);
                    [self sobExtraSameRequest:completion];
                }];
            }

        });

        LeaseInfo(napSlashSon.wrongAdvertiseFaxFairMonthBaltic);
        
        [[NSNotificationCenter defaultCenter] removeObserver:referent];
    }];
}

+ (void)sobExtraSameRequest:(void (^)(void))completion {
    if (@available(iOS 14, *)) {
        LeaseInfo(napSlashSon.badUpperDidArtOldestRenewing);

        [ATTrackingManager requestTrackingAuthorizationWithCompletionHandler:^(ATTrackingManagerAuthorizationStatus status) {
            ATTrackingManagerAuthorizationStatus ropeMenStatus = [ATTrackingManager trackingAuthorizationStatus];

            NSString *eventExpandedExporterPreservesProviders = [self hoursTowerSwapStatus:status];
            NSString *waterCutoffRespondsBusIgnoring = [self hoursTowerSwapStatus:ropeMenStatus];

            LeaseInfo(napSlashSon.rankedKurdishShakeRecentlyOceanRemove);
            LeaseInfo(napSlashSon.movieStoreTamilTeluguExtendCountry, eventExpandedExporterPreservesProviders, (long)status);
            LeaseInfo(napSlashSon.arterySequencerBufferingDelayUnpluggedThemePartner, waterCutoffRespondsBusIgnoring, (long)ropeMenStatus);

            
            
            
            
            BOOL canDescender = (ropeMenStatus == ATTrackingManagerAuthorizationStatusAuthorized) ||
                               (status == ATTrackingManagerAuthorizationStatusAuthorized);

            if (canDescender) {
                LeaseInfo(napSlashSon.pressureVirtualDegradedLinkCompositeYiddishFile);
                if (completion) {
                    completion();
                }
            } else if (ropeMenStatus == ATTrackingManagerAuthorizationStatusNotDetermined) {
                LeaseInfo(napSlashSon.digestReduceFairRedoneDaysLocalizesPool);
                [self beganMoireExecutingPeakFailCyclingPressure:completion hundredBundles:0];
            } else {
                LeaseInfo(napSlashSon.didSlovakBypassedTatarReuseBadgeLatency);
                if (completion) {
                    completion();
                }
            }
        }];
    }
}


+ (NSString *)hoursTowerSwapStatus:(ATTrackingManagerAuthorizationStatus)status  API_AVAILABLE(ios(14)){
    if (@available(iOS 14, *)) {
        switch (status) {
            case ATTrackingManagerAuthorizationStatusNotDetermined:
                return napSlashSon.clampedTrimmingImmediateWeightedRestoringSexChamber;
            case ATTrackingManagerAuthorizationStatusRestricted:
                return napSlashSon.mouthSmallerOxygenGradeTerabytesDegrees;
            case ATTrackingManagerAuthorizationStatusDenied:
                return napSlashSon.teamResonantFlushAudioBoxTruncates;
            case ATTrackingManagerAuthorizationStatusAuthorized:
                return napSlashSon.tryBothCommonDidSiteWax;
            default:
                return [NSString stringWithFormat:napSlashSon.socketStereoDrivenCompactCroatianTranslate, (long)status];
        }
    }
    return napSlashSon.samplingMixReceiverDeletionQuotesDefineBox;
}

+ (NSString *)worldLinePlaceState:(UIApplicationState)state {
    switch (state) {
        case UIApplicationStateActive:
            return napSlashSon.protocolCupFeetLessGesturesImpact;
        case UIApplicationStateInactive:
            return napSlashSon.parallelAnchorTurnExtensionManagerPhysical;
        case UIApplicationStateBackground:
            return napSlashSon.lostHelpReceiverProblemBasqueExec;
        default:
            return [NSString stringWithFormat:napSlashSon.orangeFrontSerializeFindEnteredThermal, (long)state];
    }
}


+ (void)beganMoireExecutingPeakFailCyclingPressure:(void (^)(void))degraded hundredBundles:(NSInteger)hundredBundles {
    NSInteger queryCount = 10;

    if (@available(iOS 14, *)) {
        ATTrackingManagerAuthorizationStatus ropeMenStatus = [ATTrackingManager trackingAuthorizationStatus];

        NSString *portBedLog = [self hoursTowerSwapStatus:ropeMenStatus];

        LeaseInfo(napSlashSon.portionProvidersArchivedAssertionSockDegree,
              (long)(hundredBundles + 1), (long)queryCount, portBedLog);

        
        if (ropeMenStatus == ATTrackingManagerAuthorizationStatusNotDetermined && hundredBundles < queryCount) {
            LeaseInfo(napSlashSon.telephonyAbsoluteArbitraryDashVeryOperator, (long)(hundredBundles + 2));

            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.0f * NSEC_PER_SEC)),
                          dispatch_get_main_queue(), ^{
                [self beganMoireExecutingPeakFailCyclingPressure:degraded hundredBundles:hundredBundles + 1];
            });
            return;
        } else {
            
            
            if (hundredBundles >= queryCount) {
                LeaseInfo(napSlashSon.privilegeItsBeenHexLibrarySupported, (long)queryCount);
                LeaseInfo(napSlashSon.schoolDecisionOnlyTimeFarthestSend, portBedLog);
            } else {
                LeaseInfo(napSlashSon.optSeeWonBusSeeSinhalese, portBedLog);

                if (ropeMenStatus == ATTrackingManagerAuthorizationStatusAuthorized) {
                    LeaseInfo(napSlashSon.dismissedRestClangQuoteMethodSwimming);
                } else if (ropeMenStatus == ATTrackingManagerAuthorizationStatusDenied) {
                    LeaseInfo(napSlashSon.calorieNowShadowAlignedCookiesScore);
                } else if (ropeMenStatus == ATTrackingManagerAuthorizationStatusRestricted) {
                    LeaseInfo(napSlashSon.immediateKeepGainOfferLinkageGeneral);
                }
            }

            LeaseInfo(napSlashSon.identicalReasonPhysicalCleanAddLoop);
            if (degraded) {
                degraded();
            }
        }
    } else {
        LeaseInfo(napSlashSon.chatterAllocatedDecimalTamilMountEqualQuote);
        if (degraded) {
            degraded();
        }
    }
}
@end
