






#import "ButFigureViewController.h"
#import "BaseFlippedLabel.h"
#import "PathSourceLoadViewController.h"

@interface ButFigureViewController ()

@property (nonatomic, strong) UITextField *eightTurnMayTextField;
@property (nonatomic, strong) UITextField *pubPlanBoxHasTextField;
@property (nonatomic,strong) BaseFlippedLabel *twoRetryFaceLabel;
@end



@implementation ButFigureViewController

- (BaseFlippedLabel *)twoRetryFaceLabel {
    if (!_twoRetryFaceLabel) {
        _twoRetryFaceLabel = [BaseFlippedLabel upperKeyExistLabel:NO];
    }
    return _twoRetryFaceLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.eightTurnMayTextField = [PinMovement vitalOneFourteenRenewSnowAccount];
    [self.view addSubview:self.eightTurnMayTextField];
    [self.eightTurnMayTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(PinMovement.cupFormatSun.availLogoMin);
        make.left.mas_equalTo(PinMovement.cupFormatSun.mandatoryTen);
        make.right.mas_equalTo(-PinMovement.cupFormatSun.mandatoryTen);
        make.height.mas_equalTo(PinMovement.cupFormatSun.ratioBengali);
    }];
    
    
    self.pubPlanBoxHasTextField = [PinMovement rawColumnsRedirectsEstablishCrossPassword:NO];
    [self.view addSubview:self.pubPlanBoxHasTextField];
    [self.pubPlanBoxHasTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.eightTurnMayTextField.mas_bottom).offset(PinMovement.cupFormatSun.bigDefineAre);
        make.left.right.equalTo(self.eightTurnMayTextField);
        make.height.mas_equalTo(PinMovement.cupFormatSun.ratioBengali);
    }];
    UIButton *rightButton = self.pubPlanBoxHasTextField.rightView.subviews.firstObject;
    [rightButton addTarget:self action:@selector(growSkipWeightRopeEighteenAgeHandler:) forControlEvents:(UIControlEventTouchUpInside)];

    
    UIButton *popFlatOddCatButton = [PinMovement narrativeForbidAlignedAcuteGrayColor:PinMovement.otherPhasePlug.fitIgnoredDue];
    [popFlatOddCatButton addTarget:self action:@selector(deltaSummaryRedHalftoneLightDetectionAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:popFlatOddCatButton];
    [popFlatOddCatButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.pubPlanBoxHasTextField.mas_bottom).offset(PinMovement.cupFormatSun.bigDefineAre);
        make.left.right.equalTo(self.pubPlanBoxHasTextField);
        make.height.mas_equalTo(PinMovement.cupFormatSun.bigSongPhoto);
    }];
    
    [self.view addSubview:self.twoRetryFaceLabel];
    fetched(self);
    [self.twoRetryFaceLabel setEncryptBrownArtsTatarInsertionBalance:^{
        stereoSay(self);
        [self adaptorManySheetCarPotassiumPinchAction];
    }];
    [self.twoRetryFaceLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-PinMovement.cupFormatSun.aboutNetwork);
        make.left.mas_equalTo(PinMovement.cupFormatSun.menUniversal);
        make.right.mas_equalTo(-PinMovement.cupFormatSun.menUniversal);
    }];
}

- (void)growSkipWeightRopeEighteenAgeHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.pubPlanBoxHasTextField.secureTextEntry = !self.pubPlanBoxHasTextField.isSecureTextEntry;
}

- (void)deltaSummaryRedHalftoneLightDetectionAction:(UIButton *)sender {
    if (self.eightTurnMayTextField.text.length < PinMovement.cupFormatSun.moireSixWay) {
        [CarAlertView referencePopPassivelyScannerOfferComposite:PinMovement.otherPhasePlug.hoursBlob message:PinMovement.otherPhasePlug.structureUpdatesTailStormAlphaSex completion:nil];
        return;
    }
    if (self.pubPlanBoxHasTextField.text.length < PinMovement.cupFormatSun.moireSixWay) {
        [CarAlertView referencePopPassivelyScannerOfferComposite:PinMovement.otherPhasePlug.hoursBlob message:PinMovement.otherPhasePlug.sinhaleseReadNanogramsOnceLimitAny completion:nil];
        return;
    }
    if ([self.flagTrapMixer respondsToSelector:@selector(topAirTightContactsScriptExtensionIntroName:tapKey:completion:)]) {
        [ClickInnerView waxBlackTwistWindow];
        [self.flagTrapMixer topAirTightContactsScriptExtensionIntroName:self.eightTurnMayTextField.text tapKey:self.pubPlanBoxHasTextField.text completion:^(id object) {
            [ClickInnerView wakeOrnamentRespectsConsumedRemovalWindow];
        }];
    }
}


- (void)adaptorManySheetCarPotassiumPinchAction {
    PathSourceLoadViewController *showParallel = [PathSourceLoadViewController new];
    showParallel.modalKeyDid = @(YES);
    showParallel.flagTrapMixer = self.flagTrapMixer;
    [showParallel setTatarSmoothingTomorrowComparedListener:^(BOOL result) {
        self.twoRetryFaceLabel.pasteImportant = result;
    }];
    [self.navigationController pushViewController:showParallel animated:NO];
}

@end
