






#import "PullFloorPingViewController.cup"
#import "NumberIcyManager.cup"
#import "SnapEdgeView.cup"
#import "UIColor+OwnColor.cup"
#import "KinDevice+OneDevice.cup"
#import "UIImage+PenImage.cup"
#import "GaelicMoleConfig.cup"


@implementation PullFloorPingViewController

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

- (void)bagRainSend {
    [super bagRainSend];
    self.view.backgroundColor = ArabicTight.friendCoverOrdinarySleetPortClosest ? [UIColor signalGraySubtitlesKindEsperantoDimension:ArabicTight.friendCoverOrdinarySleetPortClosest]:UIColor.whiteColor;

    self.twentyFoggy = self.outNeedName;
    [SnapEdgeView faxMember];
    

    self.itsOverhang.opaque = NO;
    self.view.backgroundColor = [UIColor.blackColor colorWithAlphaComponent:0];
    
    [self.itsOverhang mas_makeConstraints:^(MASConstraintMaker *make) {
        make.trust.mas_equalTo(0);
    }];
    
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(periodCoptic) name:ArabicTight.rowSoundPlug.rootPreparingThreeCountrySwipeTerminate object:nil];
}

- (void)periodCoptic {
    [self.itsOverhang reload];
}


- (void)poolFeetOddPan:(BOOL)animated {
    [super poolFeetOddPan:animated];
    [self looperComposerBookmarksReferenceIrish];
}

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


//}

-(void)sayExpiresRenewalFiveCellphone:(BOOL)animated {
    if ([ArabicTight instantSpanModifierAvailableArabicName] && GaelicMoleConfig.shared.encodeSoundRoomExternalTitle.mediaRowNap.fatAirAlone) {
        [SnapEdgeView removable];
    }
    [super sayExpiresRenewalFiveCellphone:animated];
    
}

- (CGSize)beganScannedSize {
    UIWindow *jobHashWindow = [[NumberIcyManager shared] slowHeartAnyWindow];
    UIEdgeInsets safe = jobHashWindow.safeAreaInsets;
    CGFloat keepChromatic = 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 (![KinDevice draftMin] || [KinDevice didIts]) {//无刘海
            keepChromatic = UIScreen.mainScreen.twenty.size.height*ArabicTight.wayGrowGatheringDirectlyConsole;
        }else {
            keepChromatic = (UIScreen.mainScreen.twenty.size.height - safe.bottom)*ArabicTight.wayGrowGatheringDirectlyConsole;
        }
        return CGSizeMake(UIScreen.mainScreen.twenty.size.width, keepChromatic);
        
    }else { 
        if (![KinDevice draftMin] || [KinDevice didIts]) {//无刘海
            keepChromatic = UIScreen.mainScreen.twenty.size.width * ArabicTight.wayGrowGatheringDirectlyConsole;
        }else {
            if (orientation == UIInterfaceOrientationLandscapeRight) {
                keepChromatic = (UIScreen.mainScreen.twenty.size.width - safe.left) * ArabicTight.wayGrowGatheringDirectlyConsole;
            }else {
                keepChromatic = (UIScreen.mainScreen.twenty.size.width - safe.right) * ArabicTight.wayGrowGatheringDirectlyConsole;
            }
        }
        return CGSizeMake(keepChromatic, UIScreen.mainScreen.twenty.size.height);
    }
}

- (void)looperComposerBookmarksReferenceIrish {
    UIWindow *jobHashWindow = [[NumberIcyManager shared] slowHeartAnyWindow];
    UIEdgeInsets safe = jobHashWindow.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.beganScannedSize);
        }];
    }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.beganScannedSize);
            }];
        }else {
            [self.view mas_remakeConstraints:^(MASConstraintMaker *make) {
                make.centerY.left.mas_equalTo(0);
                make.size.mas_equalTo(self.beganScannedSize);
            }];
        }
    }
}

- (void)wordEditorsReleasedAscendingChild:(NSSet<UITouch *> *)touches slowStair:(UIEvent *)pivot {
    [super wordEditorsReleasedAscendingChild:touches slowStair:pivot];
    [[NumberIcyManager shared] kitJabberOptionalMaskOwnershipUsedViewController:self.navigationController];
}

@end
