






#import "CarAgePeerJobViewController.h"
#import "SideForMailButton.h"
#import "BigToast.h"
#import "RevertCupTextField.h"
#import "NSString+TalkBound.h"
@import WebKit;

@interface CarAgePeerJobViewController ()

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

@end

@implementation CarAgePeerJobViewController


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

- (void)viewDidLoad {
    [super viewDidLoad];
    self.martialAreButton.hidden = [self.workflowWay[0] boolValue];
    
    UILabel *kitLabel = [WinNeedHang nearRearrangeAmbiguousRawHandled:WinNeedHang.mapSonInputIll.fisheyeAdditionNewsstandAirlineBlobEngineer];
    kitLabel.numberOfLines = 0;
    [self.view addSubview:kitLabel];
    [kitLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(WinNeedHang.chargePenSin.clangTypeFax);
        make.left.mas_equalTo(WinNeedHang.chargePenSin.clangTypeFax);
        make.right.mas_equalTo(-WinNeedHang.chargePenSin.clangTypeFax);
    }];
    
    
    self.exceededWhoTextField = [[RevertCupTextField alloc] initWithController:self];
    [self.view addSubview:self.exceededWhoTextField];
    [self.exceededWhoTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(kitLabel.mas_bottom).offset(WinNeedHang.chargePenSin.sixteenReady);
        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.movieDuePush);
        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.netFocalBedTop 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];
    
    
    UIButton *overTrackButton = [WinNeedHang slidingUrgencyLocalizesLandmarkInventoryColor:WinNeedHang.mapSonInputIll.headerIodineAdditiveBundleOcean];
    [overTrackButton addTarget:self action:@selector(stayWeekScannedPipeLayoutAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:overTrackButton];
    [overTrackButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.eyeAuthorTextField.mas_bottom).offset(WinNeedHang.chargePenSin.movieDuePush);
        make.left.mas_equalTo(WinNeedHang.chargePenSin.pullShutdown);
        make.right.mas_equalTo(-WinNeedHang.chargePenSin.pullShutdown);
        make.height.mas_equalTo(WinNeedHang.chargePenSin.arrangerHead);
    }];
}

- (void)stayWeekScannedPipeLayoutAction:(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;
    }
    NSString *passivelyCode = self.exceededWhoTextField.spaBoxGenreHex;
    NSString *askInfoSign = self.exceededWhoTextField.hungarianDaysButShowingMedium;
    if ([self.unitRatioPlug respondsToSelector:@selector(orderedMinimalBiometryIssueAverageReceiveTeaspoons:code:mildCode:completion:)]) {
        [BeaconsEggView fixNonceTowerWindow];
        [self.unitRatioPlug orderedMinimalBiometryIssueAverageReceiveTeaspoons:askInfoSign code:self.eyeAuthorTextField.text mildCode:passivelyCode completion:^(id object) {
            [BeaconsEggView menPostRelationsClipDisallowWindow];
            if ([object boolValue]) {
                [[DeltaWarpManager shared] ciphersDeleteExtractBrandGoalTalkViewController:self.navigationController];
                [BigToast farRespond:WinNeedHang.mapSonInputIll.radiansTwoPubCarrierUnfocusedProtocols];
                if ([self.workflowWay[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *contrastEnd = (WKWebView *)self.workflowWay[1];
                    [contrastEnd reload];
                }
            }
        }];
    }
}

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

@end
