






#import "SpeechTapViewController.h"
#import "FinalizeOutButton.h"
#import "StartCubicLiftViewController.h"
#import "CutToast.h"
#import "BarLaunchedLabel.h"
#import "DryOutletTextField.h"
#import "NSString+OutBypass.h"

@interface SpeechTapViewController ()

@property (nonatomic, strong) DryOutletTextField *curlBalanceTextField;
@property (nonatomic, strong) UITextField *bondClockTextField;
@property (nonatomic, strong) FinalizeOutButton *nowButtonButton;
@property (nonatomic,strong) BarLaunchedLabel *showYetPhotoLabel;

@end

@implementation SpeechTapViewController

- (FinalizeOutButton *)nowButtonButton {
    if (!_nowButtonButton) {
        _nowButtonButton = [[FinalizeOutButton alloc] init];
    }
    return _nowButtonButton;
}

- (BarLaunchedLabel *)showYetPhotoLabel {
    if (!_showYetPhotoLabel) {
        _showYetPhotoLabel = [BarLaunchedLabel itsLiteralCutLabel:NO];
    }
    return _showYetPhotoLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.curlBalanceTextField = [[DryOutletTextField alloc] initWithController:self];
    [self.view addSubview:self.curlBalanceTextField];
    [self.curlBalanceTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(BinTopLemma.drainCatFair.redLocalized);
        make.left.mas_equalTo(BinTopLemma.drainCatFair.ownPedometer);
        make.right.mas_equalTo(-BinTopLemma.drainCatFair.ownPedometer);
        make.height.mas_equalTo(BinTopLemma.drainCatFair.outerMaximum);
    }];
    
    
    self.bondClockTextField = [BinTopLemma electricTargetWritePreventedTaskColumnCode];
    [self.view addSubview:self.bondClockTextField];
    [self.bondClockTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.curlBalanceTextField.mas_bottom).offset(BinTopLemma.drainCatFair.chestDryLost);
        make.left.mas_equalTo(BinTopLemma.drainCatFair.ownPedometer);
        make.height.mas_equalTo(BinTopLemma.drainCatFair.outerMaximum);
    }];
    
    rawTurn(self);
    self.nowButtonButton.pairNominallyAction = ^{
        exactWarn(self);
        NSString *sayParserCode = self.curlBalanceTextField.foodMaleDublin;
        NSString *clockBridge = self.curlBalanceTextField.fatGigabitsFlashMoodRotor;
        if (self.curlBalanceTextField.curlBalanceTextField.text.faxNoteRetry) {
            [self.nowButtonButton allPublicSeeMinorHead];
            [NowAlertView prominentGoldenProfilesTropicalPivotViolation:BinTopLemma.oldHitDownIron.penHigher message:BinTopLemma.oldHitDownIron.likeSpokenImmediateEstonianCatalanGenerics completion:nil];
            return;
        }
        if ([self.fixLimitCocoa respondsToSelector:@selector(sequencesPopFoggyTwitterTotalEyeHoursType:authorsJust:yearCode:completion:)]) {
            [NextIllKeyView italianFormatWindow];
            [self.fixLimitCocoa sequencesPopFoggyTwitterTotalEyeHoursType:BinTopLemma.drainCatFair.clearInvitePossibleGuideParse authorsJust:clockBridge yearCode:sayParserCode completion:^(id object) {
                [NextIllKeyView legibleSecondaryResponseDelayMediaWindow];
                if ([object boolValue]) {
                    [CutToast browseCrop:BinTopLemma.oldHitDownIron.wasNextDebuggerAmbiguityPeriodSquaredCode];
                }else {
                    [self.nowButtonButton allPublicSeeMinorHead];
                }
            }];
        }
    };
    [self.view addSubview:self.nowButtonButton];
    [self.nowButtonButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.bondClockTextField);
        make.height.equalTo(self.bondClockTextField);
        make.left.equalTo(self.bondClockTextField.mas_right).offset(BinTopLemma.drainCatFair.closeUserNot);
        make.right.equalTo(self.curlBalanceTextField);
    }];
    
    
    [self.nowButtonButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *packCountAxesButton = [BinTopLemma tipSwahiliOutletTailCurrentlyColor:BinTopLemma.oldHitDownIron.playingCanonCroatianRollPreventedPath];
    [packCountAxesButton addTarget:self action:@selector(gradeElevenRestoringSetupHueAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:packCountAxesButton];
    [packCountAxesButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.bondClockTextField.mas_bottom).offset(BinTopLemma.drainCatFair.chestDryLost);
        make.left.mas_equalTo(BinTopLemma.drainCatFair.ownPedometer);
        make.right.mas_equalTo(-BinTopLemma.drainCatFair.ownPedometer);
        make.height.mas_equalTo(BinTopLemma.drainCatFair.clipSeeBegin);
    }];
    
    [self.view addSubview:self.showYetPhotoLabel];
    [self.showYetPhotoLabel setAddressesBlindingOpaqueTheRebuildFeed:^{
        exactWarn(self);
        [self getCentralsPathFatLockDueAction];
    }];
    [self.showYetPhotoLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-BinTopLemma.drainCatFair.pubMayPreset);
        make.left.mas_equalTo(BinTopLemma.drainCatFair.producingEar);
        make.right.mas_equalTo(-BinTopLemma.drainCatFair.producingEar);
    }];
}

- (void)gradeElevenRestoringSetupHueAction:(UIButton *)sender {
    if (self.curlBalanceTextField.curlBalanceTextField.text.faxNoteRetry) {
        [NowAlertView prominentGoldenProfilesTropicalPivotViolation:BinTopLemma.oldHitDownIron.penHigher message:BinTopLemma.oldHitDownIron.likeSpokenImmediateEstonianCatalanGenerics completion:nil];
        return;
    }
    if (self.bondClockTextField.text.faxNoteRetry) {
        [NowAlertView prominentGoldenProfilesTropicalPivotViolation:BinTopLemma.oldHitDownIron.penHigher message:BinTopLemma.oldHitDownIron.butTrainingFooterExclusiveTwitter completion:nil];
        return;
    }
    NSString *sayParserCode = self.curlBalanceTextField.foodMaleDublin;
    NSString *clockBridge = self.curlBalanceTextField.fatGigabitsFlashMoodRotor;
    if ([self.fixLimitCocoa respondsToSelector:@selector(advanceAssumeSingularEllipsisSideAboveFreeInvite:code:yearCode:completion:)]) {
        [NextIllKeyView italianFormatWindow];
        [self.fixLimitCocoa advanceAssumeSingularEllipsisSideAboveFreeInvite:clockBridge code:self.bondClockTextField.text yearCode:sayParserCode completion:^(id object) {
            [NextIllKeyView legibleSecondaryResponseDelayMediaWindow];
        }];
    }
}


- (void)getCentralsPathFatLockDueAction {
    StartCubicLiftViewController *creamySeason = [StartCubicLiftViewController new];
    creamySeason.boldInfoTip = @(YES);
    creamySeason.fixLimitCocoa = self.fixLimitCocoa;
    [creamySeason setOriginalPortPotassiumAuthorTransform:^(BOOL result) {
        self.showYetPhotoLabel.whileRearrange = result;
    }];
    [self.navigationController pushViewController:creamySeason animated:NO];
}

- (void)dealloc {
    [self.nowButtonButton allPublicSeeMinorHead];
}
@end
