






#import "FunnelSunViewController.h"
#import "YouSlowFileLabel.h"
#import "OptVeryDrawEndViewController.h"

@interface FunnelSunViewController ()

@property (nonatomic, strong) UITextField *bufferedLockTextField;
@property (nonatomic, strong) UITextField *boldWorkspaceTextField;
@property (nonatomic,strong) YouSlowFileLabel *widthCreditsLabel;
@end



@implementation FunnelSunViewController

- (YouSlowFileLabel *)widthCreditsLabel {
    if (!_widthCreditsLabel) {
        _widthCreditsLabel = [YouSlowFileLabel rateNetHerOutLabel:NO];
    }
    return _widthCreditsLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.bufferedLockTextField = [BigAddition focusedOutParserInsulinCellphoneAccount];
    [self.view addSubview:self.bufferedLockTextField];
    [self.bufferedLockTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(BigAddition.noiseFactMen.drawJapanese);
        make.left.mas_equalTo(BigAddition.noiseFactMen.anonymousAll);
        make.right.mas_equalTo(-BigAddition.noiseFactMen.anonymousAll);
        make.height.mas_equalTo(BigAddition.noiseFactMen.fourSugarSob);
    }];
    
    
    self.boldWorkspaceTextField = [BigAddition languagesOneInferiorsExponentsTorchPassword:NO];
    [self.view addSubview:self.boldWorkspaceTextField];
    [self.boldWorkspaceTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.bufferedLockTextField.mas_bottom).offset(BigAddition.noiseFactMen.pubMetalFade);
        make.left.right.equalTo(self.bufferedLockTextField);
        make.height.mas_equalTo(BigAddition.noiseFactMen.fourSugarSob);
    }];
    UIButton *rightButton = self.boldWorkspaceTextField.rightView.subviews.firstObject;
    [rightButton addTarget:self action:@selector(abovePingChannelsCupSpeedBodyHandler:) forControlEvents:(UIControlEventTouchUpInside)];

    
    UIButton *sitePresenterButton = [BigAddition jabberMenLowWhoCleanupColor:BigAddition.lateTapLineAll.sayEraSinBack];
    [sitePresenterButton addTarget:self action:@selector(decigramsLearnAudiogramModifierSumPrivilegeAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:sitePresenterButton];
    [sitePresenterButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.boldWorkspaceTextField.mas_bottom).offset(BigAddition.noiseFactMen.pubMetalFade);
        make.left.right.equalTo(self.boldWorkspaceTextField);
        make.height.mas_equalTo(BigAddition.noiseFactMen.visitedSugar);
    }];
    
    [self.view addSubview:self.widthCreditsLabel];
    mustYet(self);
    [self.widthCreditsLabel setExceededNominallyTwentySegueBinEqually:^{
        birthPipe(self);
        [self hourOperatingPriceVisitorLinearSayAction];
    }];
    [self.widthCreditsLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-BigAddition.noiseFactMen.disorderNear);
        make.left.mas_equalTo(BigAddition.noiseFactMen.subReadyNear);
        make.right.mas_equalTo(-BigAddition.noiseFactMen.subReadyNear);
    }];
}

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

- (void)decigramsLearnAudiogramModifierSumPrivilegeAction:(UIButton *)sender {
    if (self.bufferedLockTextField.text.length < BigAddition.noiseFactMen.failEndChar) {
        [PopAlertView headlineRedirectPlusDietaryCursorsCorner:BigAddition.lateTapLineAll.needMixer message:BigAddition.lateTapLineAll.copyrightCiphersUnlimitedNauticalCenterPen completion:nil];
        return;
    }
    if (self.boldWorkspaceTextField.text.length < BigAddition.noiseFactMen.failEndChar) {
        [PopAlertView headlineRedirectPlusDietaryCursorsCorner:BigAddition.lateTapLineAll.needMixer message:BigAddition.lateTapLineAll.restoresCorruptGainAdapterPutPop completion:nil];
        return;
    }
    if ([self.pitchRecorder respondsToSelector:@selector(skinOwnIntervalCollapseDescribeDecodingVisionName:manKey:completion:)]) {
        [AllSunLoopView yetBusNowForkWindow];
        [self.pitchRecorder skinOwnIntervalCollapseDescribeDecodingVisionName:self.bufferedLockTextField.text manKey:self.boldWorkspaceTextField.text completion:^(id object) {
            [AllSunLoopView largeCanReportsNetworkNeutralWindow];
        }];
    }
}


- (void)hourOperatingPriceVisitorLinearSayAction {
    OptVeryDrawEndViewController *whoLearnLoud = [OptVeryDrawEndViewController new];
    whoLearnLoud.primaryMile = @(YES);
    whoLearnLoud.pitchRecorder = self.pitchRecorder;
    [whoLearnLoud setNotifyingDeletionTremorOptDividing:^(BOOL result) {
        self.widthCreditsLabel.thumbGradeWrap = result;
    }];
    [self.navigationController pushViewController:whoLearnLoud animated:NO];
}

@end
