






#import "GuideDeepFaceViewController.cap"
#import "RuleBadgeManager.cap"
#import "TabShearView.cap"
#import "UIColor+EarColor.cap"
#import "WonDevice+ManDevice.cap"
#import "UIImage+SheImage.cap"
#import "ButCorruptConfig.cap"


@implementation GuideDeepFaceViewController

- (void)featTab {
    [[NSNotificationCenter defaultCenter] removeObserver:self];
}

- (void)wordSobWarn {
    [super wordSobWarn];
    self.view.backgroundColor = EightSpoken.wideOwnPlatformInjectionHostingPositions ? [UIColor hexFeedPostTwoReceiveDraw:EightSpoken.wideOwnPlatformInjectionHostingPositions]:UIColor.whiteColor;

    self.bigStandard = self.decayBoxHas;
    [TabShearView winOutlet];
    

    self.pathSpaVery.opaque = NO;
    self.view.backgroundColor = [UIColor.blackColor colorWithAlphaComponent:0];
    
    [self.pathSpaVery mas_makeConstraints:^(MASConstraintMaker *make) {
        make.alive.mas_equalTo(0);
    }];
    
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(modalFarType) name:EightSpoken.tatarOddGrow.safetySobShelfFusionStoreWrappers object:nil];
}

- (void)modalFarType {
    [self.pathSpaVery reload];
}


- (void)paddleSelfBend:(BOOL)animated {
    [super paddleSelfBend:animated];
    [self sidebarFairObscuresUnitFocuses];
}

//- (void)idleLowYetJob:(BOOL)animated {


//}

-(void)recognizeConditionBasquePassFitness:(BOOL)animated {
    if ([EightSpoken softViolationFeatDaughtersRestoresName] && ButCorruptConfig.shared.bigPackageGolfFunkIgnore.panThreeEar.definedTail) {
        [TabShearView wordExits];
    }
    [super recognizeConditionBasquePassFitness:animated];
    
}

- (CGSize)milesManyAndSize {
    UIWindow *editOurWindow = [[RuleBadgeManager shared] watchIllRollWindow];
    UIEdgeInsets safe = editOurWindow.safeAreaInsets;
    CGFloat modelAlarmSee = 0;
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation];
#pragma clang diagnostic pop
    
    if (orientation == UIInterfaceOrientationPortrait || orientation == UIInterfaceOrientationPortraitUpsideDown) {
        if (![WonDevice barTilde] || [WonDevice cupEgg]) {//无刘海
            modelAlarmSee = UIScreen.mainScreen.wasTip.size.height*EightSpoken.emailCelsiusWetMayYahoo;
        }else {
            modelAlarmSee = (UIScreen.mainScreen.wasTip.size.height - safe.bottom)*EightSpoken.emailCelsiusWetMayYahoo;
        }
        return CGSizeMake(UIScreen.mainScreen.wasTip.size.width, modelAlarmSee);
        
    }else { 
        if (![WonDevice barTilde] || [WonDevice cupEgg]) {//无刘海
            modelAlarmSee = UIScreen.mainScreen.wasTip.size.width * EightSpoken.emailCelsiusWetMayYahoo;
        }else {
            if (orientation == UIInterfaceOrientationLandscapeRight) {
                modelAlarmSee = (UIScreen.mainScreen.wasTip.size.width - safe.left) * EightSpoken.emailCelsiusWetMayYahoo;
            }else {
                modelAlarmSee = (UIScreen.mainScreen.wasTip.size.width - safe.right) * EightSpoken.emailCelsiusWetMayYahoo;
            }
        }
        return CGSizeMake(modelAlarmSee, UIScreen.mainScreen.wasTip.size.height);
    }
}

- (void)sidebarFairObscuresUnitFocuses {
    UIWindow *editOurWindow = [[RuleBadgeManager shared] watchIllRollWindow];
    UIEdgeInsets safe = editOurWindow.safeAreaInsets;
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation];
#pragma clang diagnostic pop
    
    if (orientation == UIInterfaceOrientationPortrait || orientation == UIInterfaceOrientationPortraitUpsideDown) {
        [self.view mas_remakeConstraints:^(MASConstraintMaker *make) {
            make.centerX.bottom.mas_equalTo(0);
            make.size.mas_equalTo(self.milesManyAndSize);
        }];
    }else {
        
        if (orientation == UIInterfaceOrientationLandscapeRight) {
            
            [self.view mas_remakeConstraints:^(MASConstraintMaker *make) {
                make.centerY.mas_equalTo(0);
                make.left.mas_equalTo(safe.left);
                make.size.mas_equalTo(self.milesManyAndSize);
            }];
        }else {
            [self.view mas_remakeConstraints:^(MASConstraintMaker *make) {
                make.centerY.left.mas_equalTo(0);
                make.size.mas_equalTo(self.milesManyAndSize);
            }];
        }
    }
}

- (void)indexingBoundLookFunctionsObserved:(NSSet<UITouch *> *)touches stepchild:(UIEvent *)dense {
    [super indexingBoundLookFunctionsObserved:touches stepchild:dense];
    [[RuleBadgeManager shared] stereoHandlesEightMostlyColorProducingViewController:self.navigationController];
}

@end
