






#import "EitherTapViewController.h"
#import "SideForMailButton.h"
#import "BigToast.h"
#import "RevertCupTextField.h"
#import "NSString+TalkBound.h"

@interface EitherTapViewController ()

@property (nonatomic, strong) RevertCupTextField *exceededWhoTextField;
@property (nonatomic, strong) UITextField *eyeAuthorTextField;
@property (nonatomic, strong) UITextField *proposalInnerTextField;
@property (nonatomic, strong) SideForMailButton *automaticButton;
@end

@implementation EitherTapViewController

- (SideForMailButton *)automaticButton {
    if (!_automaticButton) {
        _automaticButton = [[SideForMailButton alloc] init];
    }
    return _automaticButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.exceededWhoTextField = [[RevertCupTextField alloc] initWithController:self];
    [self.view addSubview:self.exceededWhoTextField];
    [self.exceededWhoTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(WinNeedHang.chargePenSin.accountsBack);
        make.left.mas_equalTo(WinNeedHang.chargePenSin.pullShutdown);
        make.right.mas_equalTo(-WinNeedHang.chargePenSin.pullShutdown);
        make.height.mas_equalTo(WinNeedHang.chargePenSin.splatSkipped);
    }];
    
    
    self.eyeAuthorTextField = [WinNeedHang rawCommentExecuteYouLexiconSilentCode];
    [self.view addSubview:self.eyeAuthorTextField];
    [self.eyeAuthorTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.exceededWhoTextField.mas_bottom).offset(WinNeedHang.chargePenSin.useMayPrime);
        make.left.mas_equalTo(WinNeedHang.chargePenSin.pullShutdown);
        make.height.mas_equalTo(WinNeedHang.chargePenSin.splatSkipped);
    }];
    
    expires(self);
    self.automaticButton.waxSawCookiesAction = ^{
        milePrior(self);
        
        NSString *passivelyCode = self.exceededWhoTextField.spaBoxGenreHex;
        NSString *askInfoSign = self.exceededWhoTextField.hungarianDaysButShowingMedium;
        if (self.exceededWhoTextField.exceededWhoTextField.text.consumesCase) {
            [self.automaticButton utilitiesButCadenceWonRelevance];
            [KeyAlertView hallPreparedWaxSucceedCocoaDomains:WinNeedHang.mapSonInputIll.danishYet message:WinNeedHang.mapSonInputIll.gatheringCapsNumeralBuddyFeetArgument completion:nil];
            return;
        }
        if ([self.unitRatioPlug respondsToSelector:@selector(sevenProteinDesktopDetectorPieceDidSettlingType:bigMostUsed:mildCode:completion:)]) {
            [BeaconsEggView fixNonceTowerWindow];
            [self.unitRatioPlug sevenProteinDesktopDetectorPieceDidSettlingType:WinNeedHang.chargePenSin.profileHandlerCatalanSlowInner bigMostUsed:askInfoSign mildCode:passivelyCode completion:^(id object) {
                [BeaconsEggView menPostRelationsClipDisallowWindow];
                if ([object boolValue]) {
                    [BigToast farRespond:WinNeedHang.mapSonInputIll.ellipsisAmericanNearHitExponentsDescribeCode];
                }else {
                    [self.automaticButton utilitiesButCadenceWonRelevance];
                }
            }];
        }
    };
    [self.view addSubview:self.automaticButton];
    [self.automaticButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.eyeAuthorTextField);
        make.height.equalTo(self.eyeAuthorTextField);
        make.left.equalTo(self.eyeAuthorTextField.mas_right).offset(WinNeedHang.chargePenSin.littleTabAre);
        make.right.equalTo(self.exceededWhoTextField);
    }];
    
    
    [self.automaticButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    self.proposalInnerTextField = [WinNeedHang goalArrivalControlFilenameNewsstandPassword:YES];
    [self.view addSubview:self.proposalInnerTextField];
    [self.proposalInnerTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.eyeAuthorTextField.mas_bottom).offset(WinNeedHang.chargePenSin.useMayPrime);
        make.left.mas_equalTo(WinNeedHang.chargePenSin.pullShutdown);
        make.right.mas_equalTo(-WinNeedHang.chargePenSin.pullShutdown);
        make.height.mas_equalTo(WinNeedHang.chargePenSin.splatSkipped);
    }];
    UIButton *youStakeButton = self.proposalInnerTextField.rightView.subviews.firstObject;
    [youStakeButton addTarget:self action:@selector(observersAdditionYesterdayAffineStringBoundHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *kernelsWithButton = [WinNeedHang slidingUrgencyLocalizesLandmarkInventoryColor:WinNeedHang.mapSonInputIll.unitBadRingKey];
    [kernelsWithButton addTarget:self action:@selector(tempScrolledPenSafariScaleAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:kernelsWithButton];
    [kernelsWithButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.proposalInnerTextField.mas_bottom).offset(WinNeedHang.chargePenSin.useMayPrime);
        make.left.mas_equalTo(WinNeedHang.chargePenSin.pullShutdown);
        make.right.mas_equalTo(-WinNeedHang.chargePenSin.pullShutdown);
        make.height.mas_equalTo(WinNeedHang.chargePenSin.arrangerHead);
    }];
}
- (void)observersAdditionYesterdayAffineStringBoundHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.proposalInnerTextField.secureTextEntry = !self.proposalInnerTextField.isSecureTextEntry;
}

- (void)tempScrolledPenSafariScaleAction:(id)sender {
    if (self.exceededWhoTextField.exceededWhoTextField.text.consumesCase) {
        [KeyAlertView hallPreparedWaxSucceedCocoaDomains:WinNeedHang.mapSonInputIll.danishYet message:WinNeedHang.mapSonInputIll.gatheringCapsNumeralBuddyFeetArgument completion:nil];
        return;
    }
    if (self.eyeAuthorTextField.text.consumesCase) {
        [KeyAlertView hallPreparedWaxSucceedCocoaDomains:WinNeedHang.mapSonInputIll.danishYet message:WinNeedHang.mapSonInputIll.prefixesStiffnessSpecifierPathTelephoto completion:nil];
        return;
    }
    if (self.proposalInnerTextField.text.length < WinNeedHang.chargePenSin.bigHueLight) {
        [KeyAlertView hallPreparedWaxSucceedCocoaDomains:WinNeedHang.mapSonInputIll.danishYet message:WinNeedHang.mapSonInputIll.asleepShrinkTimeRevisionsAmbiguousAccount completion:nil];
        return;
    }
    NSString *passivelyCode = self.exceededWhoTextField.spaBoxGenreHex;
    NSString *askInfoSign = self.exceededWhoTextField.hungarianDaysButShowingMedium;
    if ([self.unitRatioPlug respondsToSelector:@selector(coastMasterSolveSpringFisheyeOnlyDaughter:code:mildCode:hitKey:completion:)]) {
        [BeaconsEggView fixNonceTowerWindow];
        [self.unitRatioPlug coastMasterSolveSpringFisheyeOnlyDaughter:askInfoSign code:self.eyeAuthorTextField.text mildCode:passivelyCode hitKey:self.proposalInnerTextField.text completion:^(id object) {
            [BeaconsEggView menPostRelationsClipDisallowWindow];
            [BigToast farRespond:WinNeedHang.mapSonInputIll.addSmoothPlayAnimationListeners];
            if (object) {
                [self.adobeEnableDelegate runArgumentsHeadlineFlipBusyWithName:object backupInputPassword:self.proposalInnerTextField.text];
                [self neutralBayerChromiumHomepageDisplayAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.automaticButton utilitiesButCadenceWonRelevance];
}
@end
