






#import "RouterInfo.h"
#import "IllNumbersConfig.h"
#import "ReportTransformStepFragmentSin.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 RouterInfo

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

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

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

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

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

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

    return displayName;
}

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

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

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

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

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

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

+ (BOOL)jouleHisTwoDesignerDown {
    CTTelephonyNetworkInfo *info = [[CTTelephonyNetworkInfo alloc] init];
    NSDictionary<NSString *, CTCarrier *> *twoBezel = info.serviceSubscriberCellularProviders;
    if (twoBezel.count == 0) {
        return NO;
    }
    NSDictionary<NSString *, NSString *> *nothingShare = info.serviceCurrentRadioAccessTechnology; 
    for (NSString *dashAllow in twoBezel.allKeys) {
        CTCarrier *carrier = twoBezel[dashAllow];
        if (!carrier) { continue; }
        NSString *ret = carrier.mobileCountryCode ?: @"";
        NSString *say = carrier.mobileNetworkCode ?: @"";
        NSInteger vortex = ret.integerValue;
        NSInteger carBut = say.integerValue;
        BOOL drawRole = (ret.length > 0) && (vortex > 0);
        BOOL useSeven = (say.length > 0) && (carBut > 0);
        NSString *bag = nothingShare[dashAllow];
        BOOL farSon = (bag.length > 0);
        if (drawRole && useSeven && farSon) {
            return YES;
        }
    }
    return NO;
}

+ (void)pitchThreadsWithinPedometerFeedParticle:(void (^)(void))lazyTime {
    static dispatch_once_t toolToken;
    static BOOL twistReplace = NO;

    
    if (twistReplace) {
        ModelInfo(notWireSign.exerciseBlackHoldBitHeapPointerPlace);
        return;
    }	

    dispatch_once(&toolToken, ^{
        twistReplace = YES;
        ModelInfo(notWireSign.striationStackedMagnesiumClickDetachingMath);

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

            NSString *nothingPut = [self exactDustAbortStatus:status];

            ModelInfo(notWireSign.positiveRowSymmetricFurlongsTryNear, nothingPut, (long)status);

            switch (status) {
                case ATTrackingManagerAuthorizationStatusAuthorized:
                    ModelInfo(notWireSign.unlockGravityEarlyKinRecordedRecordPower);
                    twistReplace = NO;
                    if (lazyTime) {
                        lazyTime();
                    }
                    break;

                case ATTrackingManagerAuthorizationStatusDenied:
                    ModelInfo(notWireSign.bikeEarTagalogBedMantissa);
                    twistReplace = NO;
                    if (lazyTime) {
                        lazyTime();
                    }
                    break;

                case ATTrackingManagerAuthorizationStatusRestricted:
                    ModelInfo(notWireSign.butConcludeAppliesTabOwnershipFood);
                    twistReplace = NO;
                    if (lazyTime) {
                        lazyTime();
                    }
                    break;

                case ATTrackingManagerAuthorizationStatusNotDetermined:
                    ModelInfo(notWireSign.encodeVitalityWhiteRadiansMetricGregorian);
                    [self howSlashesZipSolidUnsavedProposedHectares:^{
                        twistReplace = NO;
                        if (lazyTime) {
                            lazyTime();
                        }
                    }];
                    break;
            }
        } else {
            ModelInfo(notWireSign.spanishHumanMusicParseGivenFoot);
            twistReplace = NO;
            if (lazyTime) {
                lazyTime();
            }
        }
    });
}

+ (void)howSlashesZipSolidUnsavedProposedHectares:(void (^)(void))completion {
    ModelInfo(notWireSign.sampleKilobytesSamplingUniqueMindPiece);

    
    static int orderGravity = 6;

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

        ModelInfo(notWireSign.transformSecureAmharicExecTriggerTree, orderGravity);

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


            UIApplicationState currentState = [UIApplication sharedApplication].applicationState;

            NSString *orangeFix = [self latencyMeasureState:currentState];

            ModelInfo(notWireSign.chromaGaspDisposeAppleInfoObserving, orangeFix);

            if (currentState == UIApplicationStateActive) {
                ModelInfo(notWireSign.filterFusionUighurAdvisoryRemainderPrimeDue);
                [self systolicFaceRequest:completion];
            } else {

                ModelInfo(notWireSign.bundleDigitAskSuperiorsHisOrganize, orangeFix);
                ModelInfo(notWireSign.warnDrainFlippedSwipeExponentsUniversal);
                fillFunk = [[NSNotificationCenter defaultCenter]
                    addObserverForName:UIApplicationDidBecomeActiveNotification
                                object:nil
                                 queue:[NSOperationQueue mainQueue]
                            usingBlock:^(NSNotification *notification) {
                    
                    ModelInfo(notWireSign.pictureClimbedShakeTheSharpnessCost);
                    [[NSNotificationCenter defaultCenter] removeObserver:fillFunk];
                    ModelInfo(notWireSign.evictSwapExecutingSonSawInnerAcross);
                    [self systolicFaceRequest:completion];
                }];
            }

        });

        ModelInfo(notWireSign.canHelloSubtitlesOddReceivesProfile);
        
        [[NSNotificationCenter defaultCenter] removeObserver:fillFunk];
    }];
}

+ (void)systolicFaceRequest:(void (^)(void))completion {
    if (@available(iOS 14, *)) {
        ModelInfo(notWireSign.nineUkrainianAnswerHandlesOutMin);

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

            NSString *axesTempIndexedRecordJob = [self exactDustAbortStatus:status];
            NSString *moleLawCollisionCollectorCap = [self exactDustAbortStatus:menLikeStatus];

            ModelInfo(notWireSign.burstEstonianBinFingerWeeklyReceived);
            ModelInfo(notWireSign.commandCycleBehaveMaxIncludesEntitled, axesTempIndexedRecordJob, (long)status);
            ModelInfo(notWireSign.wayNoneSuspendedListenRestorePatientTeaspoons, moleLawCollisionCollectorCap, (long)menLikeStatus);

            
            
            
            
            BOOL forbiddenOpt = (menLikeStatus == ATTrackingManagerAuthorizationStatusAuthorized) ||
                               (status == ATTrackingManagerAuthorizationStatusAuthorized);

            if (forbiddenOpt) {
                ModelInfo(notWireSign.canInnerCleanBestStayWonPrint);
                if (completion) {
                    completion();
                }
            } else if (menLikeStatus == ATTrackingManagerAuthorizationStatusNotDetermined) {
                ModelInfo(notWireSign.dynamicCalorieEquallyBadLastSpanPerson);
                [self condensedNotifyPhaseFlightsShearStrictInuit:completion iterationWrite:0];
            } else {
                ModelInfo(notWireSign.everyPacePublicNoteReleaseBinMatch);
                if (completion) {
                    completion();
                }
            }
        }];
    }
}


+ (NSString *)exactDustAbortStatus:(ATTrackingManagerAuthorizationStatus)status  API_AVAILABLE(ios(14)){
    if (@available(iOS 14, *)) {
        switch (status) {
            case ATTrackingManagerAuthorizationStatusNotDetermined:
                return notWireSign.foundPreserveHallMarkDemandFactNine;
            case ATTrackingManagerAuthorizationStatusRestricted:
                return notWireSign.schemeVolumeStylusLibraryForeverTabular;
            case ATTrackingManagerAuthorizationStatusDenied:
                return notWireSign.earlyBackwardsWrappersPredictedTooAnchors;
            case ATTrackingManagerAuthorizationStatusAuthorized:
                return notWireSign.aspectFirstStorageBigDrizzlePrevents;
            default:
                return [NSString stringWithFormat:notWireSign.anyBlinkAdoptEntitiesDirtySlice, (long)status];
        }
    }
    return notWireSign.mayMillUseOutputsMagnesiumEarlyPiece;
}

+ (NSString *)latencyMeasureState:(UIApplicationState)state {
    switch (state) {
        case UIApplicationStateActive:
            return notWireSign.precisionZeroProtocolsUploadRepairHighlight;
        case UIApplicationStateInactive:
            return notWireSign.ephemeralWritingLookLoseChatterSubfamily;
        case UIApplicationStateBackground:
            return notWireSign.debuggingLocatorFilteringPotassiumScanSilenced;
        default:
            return [NSString stringWithFormat:notWireSign.mainUppercaseSpeedExistentOwnMove, (long)state];
    }
}


+ (void)condensedNotifyPhaseFlightsShearStrictInuit:(void (^)(void))lazyTime iterationWrite:(NSInteger)iterationWrite {
    NSInteger priceCount = 10;

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

        NSString *nothingPut = [self exactDustAbortStatus:menLikeStatus];

        ModelInfo(notWireSign.fastestPersianPosterDomainsOutsideOrnaments,
              (long)(iterationWrite + 1), (long)priceCount, nothingPut);

        
        if (menLikeStatus == ATTrackingManagerAuthorizationStatusNotDetermined && iterationWrite < priceCount) {
            ModelInfo(notWireSign.dustSpecifierInsertedContainerWeekdayAlien, (long)(iterationWrite + 2));

            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.0f * NSEC_PER_SEC)),
                          dispatch_get_main_queue(), ^{
                [self condensedNotifyPhaseFlightsShearStrictInuit:lazyTime iterationWrite:iterationWrite + 1];
            });
            return;
        } else {
            
            
            if (iterationWrite >= priceCount) {
                ModelInfo(notWireSign.prefixesPubHoldShotHailHover, (long)priceCount);
                ModelInfo(notWireSign.setupFloatPitchEasyCutterAlways, nothingPut);
            } else {
                ModelInfo(notWireSign.slovenianBevelRedMathWayPull, nothingPut);

                if (menLikeStatus == ATTrackingManagerAuthorizationStatusAuthorized) {
                    ModelInfo(notWireSign.eachRestoreQuietWorkoutsGrayHandler);
                } else if (menLikeStatus == ATTrackingManagerAuthorizationStatusDenied) {
                    ModelInfo(notWireSign.tooSonInnerPlanarMinimumRollback);
                } else if (menLikeStatus == ATTrackingManagerAuthorizationStatusRestricted) {
                    ModelInfo(notWireSign.fiveSpeakNeverPairSyntaxPlate);
                }
            }

            ModelInfo(notWireSign.firmwarePicturesAmbienceTamilAssameseOldest);
            if (lazyTime) {
                lazyTime();
            }
        }
    } else {
        ModelInfo(notWireSign.busIllCanLaunchSubWeekdayRearrange);
        if (lazyTime) {
            lazyTime();
        }
    }
}
@end
