






#import "DrumVoiceViewController.h"
#import "AdoptRedRedButton.h"
#import "PaceFadeSpringViewController.h"
#import "JobToast.h"
#import "GainLostFarLabel.h"
#import "SonFriendTextField.h"
#import "NSString+Magnesium.h"

@interface DrumVoiceViewController ()

@property (nonatomic, strong) SonFriendTextField *tabDryDeltaTextField;
@property (nonatomic, strong) UITextField *toggleAskTextField;
@property (nonatomic, strong) AdoptRedRedButton *fileParseButton;
@property (nonatomic,strong) GainLostFarLabel *artHeavyLostLabel;

@end

@implementation DrumVoiceViewController

- (AdoptRedRedButton *)fileParseButton {
    if (!_fileParseButton) {
        _fileParseButton = [[AdoptRedRedButton alloc] init];
    }
    return _fileParseButton;
}

- (GainLostFarLabel *)artHeavyLostLabel {
    if (!_artHeavyLostLabel) {
        _artHeavyLostLabel = [GainLostFarLabel logoRedoAlertLabel:NO];
    }
    return _artHeavyLostLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.tabDryDeltaTextField = [[SonFriendTextField alloc] initWithController:self];
    [self.view addSubview:self.tabDryDeltaTextField];
    [self.tabDryDeltaTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(RowGivenOut.mathProxyKin.saySnowRound);
        make.left.mas_equalTo(RowGivenOut.mathProxyKin.clipPivotAll);
        make.right.mas_equalTo(-RowGivenOut.mathProxyKin.clipPivotAll);
        make.height.mas_equalTo(RowGivenOut.mathProxyKin.spaGaspScore);
    }];
    
    
    self.toggleAskTextField = [RowGivenOut siblingsPublisherMetricToneGenderCreatorCode];
    [self.view addSubview:self.toggleAskTextField];
    [self.toggleAskTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.tabDryDeltaTextField.mas_bottom).offset(RowGivenOut.mathProxyKin.eyeOneSingle);
        make.left.mas_equalTo(RowGivenOut.mathProxyKin.clipPivotAll);
        make.height.mas_equalTo(RowGivenOut.mathProxyKin.spaGaspScore);
    }];
    
    moveDay(self);
    self.fileParseButton.bitTextJobHexAction = ^{
        tapsAlong(self);
        NSString *funNotifyCode = self.tabDryDeltaTextField.moveAllHitMild;
        NSString *touchesMake = self.tabDryDeltaTextField.cyclingBridgeFixingActivatedSuffix;
        if (self.tabDryDeltaTextField.tabDryDeltaTextField.text.hindiDecimal) {
            [self.fileParseButton skippedLaterExposuresLifetimeNever];
            [AreAlertView internalTemporalAlignZipLayeringNatural:RowGivenOut.nineHisSoloTen.mediumOld message:RowGivenOut.nineHisSoloTen.headerNetPlayScrollThickRectified completion:nil];
            return;
        }
        if ([self.splatBrowsing respondsToSelector:@selector(onlineEveryEstimatedLinearlyProvidersChoosePerformsType:soundSearch:pickCode:completion:)]) {
            [OutWetFactView faxCarAgeMillWindow];
            [self.splatBrowsing onlineEveryEstimatedLinearlyProvidersChoosePerformsType:RowGivenOut.mathProxyKin.smallerPriorCourseFatalSpatial soundSearch:touchesMake pickCode:funNotifyCode completion:^(id object) {
                [OutWetFactView digestCanWrappedAcutePanoramaWindow];
                if ([object boolValue]) {
                    [JobToast wayMaxEdga:RowGivenOut.nineHisSoloTen.gradeIncreasePolarPositionPerfusionTremorCode];
                }else {
                    [self.fileParseButton skippedLaterExposuresLifetimeNever];
                }
            }];
        }
    };
    [self.view addSubview:self.fileParseButton];
    [self.fileParseButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.toggleAskTextField);
        make.height.equalTo(self.toggleAskTextField);
        make.right.equalTo(self.tabDryDeltaTextField);
        
        make.width.mas_equalTo(self.fileParseButton.titleLabel.intrinsicContentSize.width + RowGivenOut.mathProxyKin.anyHalfMagic);
    }];
    
    [self.toggleAskTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.fileParseButton.mas_left).offset(-RowGivenOut.mathProxyKin.climbingMode);
    }];
    
    
    UIButton *mustStatementButton = [RowGivenOut moreCutoffGuestSecondRedefinedColor:RowGivenOut.nineHisSoloTen.formattedExceptionTipBundleBusyDisplay];
    [mustStatementButton addTarget:self action:@selector(bandwidthStaleFeatLocatorPutAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:mustStatementButton];
    [mustStatementButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.toggleAskTextField.mas_bottom).offset(RowGivenOut.mathProxyKin.eyeOneSingle);
        make.left.mas_equalTo(RowGivenOut.mathProxyKin.clipPivotAll);
        make.right.mas_equalTo(-RowGivenOut.mathProxyKin.clipPivotAll);
        make.height.mas_equalTo(RowGivenOut.mathProxyKin.rotateEarUse);
    }];
    
    [self.view addSubview:self.artHeavyLostLabel];
    [self.artHeavyLostLabel setAndDrizzleHighSpacingFinishingDivider:^{
        tapsAlong(self);
        [self entitledActionRainIslamicFitAnimatedAction];
    }];
    [self.artHeavyLostLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-RowGivenOut.mathProxyKin.learnMidFind);
        make.left.mas_equalTo(RowGivenOut.mathProxyKin.delayBinDash);
        make.right.mas_equalTo(-RowGivenOut.mathProxyKin.delayBinDash);
    }];
}

- (void)bandwidthStaleFeatLocatorPutAction:(UIButton *)sender {
    if (self.tabDryDeltaTextField.tabDryDeltaTextField.text.hindiDecimal) {
        [AreAlertView internalTemporalAlignZipLayeringNatural:RowGivenOut.nineHisSoloTen.mediumOld message:RowGivenOut.nineHisSoloTen.headerNetPlayScrollThickRectified completion:nil];
        return;
    }
    if (self.toggleAskTextField.text.hindiDecimal) {
        [AreAlertView internalTemporalAlignZipLayeringNatural:RowGivenOut.nineHisSoloTen.mediumOld message:RowGivenOut.nineHisSoloTen.binaryIrishInfiniteContainedRedone completion:nil];
        return;
    }
    NSString *funNotifyCode = self.tabDryDeltaTextField.moveAllHitMild;
    NSString *touchesMake = self.tabDryDeltaTextField.cyclingBridgeFixingActivatedSuffix;
    if ([self.splatBrowsing respondsToSelector:@selector(reminderChannelsFarFlashBasqueProvinceAddressDriven:code:pickCode:completion:)]) {
        [OutWetFactView faxCarAgeMillWindow];
        [self.splatBrowsing reminderChannelsFarFlashBasqueProvinceAddressDriven:touchesMake code:self.toggleAskTextField.text pickCode:funNotifyCode completion:^(id object) {
            [OutWetFactView digestCanWrappedAcutePanoramaWindow];
        }];
    }
}


- (void)entitledActionRainIslamicFitAnimatedAction {
    PaceFadeSpringViewController *kitDecrement = [PaceFadeSpringViewController new];
    kitDecrement.schoolUnify = @(YES);
    kitDecrement.splatBrowsing = self.splatBrowsing;
    [kitDecrement setRenameExclusiveProtocolsSpeakersBevel:^(BOOL result) {
        self.artHeavyLostLabel.normalPickSeed = result;
    }];
    [self.navigationController pushViewController:kitDecrement animated:NO];
}

- (void)dealloc {
    [self.fileParseButton skippedLaterExposuresLifetimeNever];
}
@end
