






#import "DisablingViewController.h"
#import "DidWaistBusLabel.h"
#import "CutZeroArmBackViewController.h"

@interface DisablingViewController ()

@property (nonatomic, strong) UITextField *plusConcludeTextField;
@property (nonatomic, strong) UITextField *restWayYouEggTextField;
@property (nonatomic,strong) DidWaistBusLabel *restBinWhileLabel;
@end



@implementation DisablingViewController

- (DidWaistBusLabel *)restBinWhileLabel {
    if (!_restBinWhileLabel) {
        _restBinWhileLabel = [DidWaistBusLabel withFocusBondLabel:NO];
    }
    return _restBinWhileLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.plusConcludeTextField = [MixSnowBits faeroeseCollapseRenewFindQuitAccount];
    [self.view addSubview:self.plusConcludeTextField];
    [self.plusConcludeTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(MixSnowBits.packRouteToo.waxWasSindhi);
        make.left.mas_equalTo(MixSnowBits.packRouteToo.trustLoading);
        make.right.mas_equalTo(-MixSnowBits.packRouteToo.trustLoading);
        make.height.mas_equalTo(MixSnowBits.packRouteToo.briefFunkAnd);
    }];
    
    
    self.restWayYouEggTextField = [MixSnowBits designResultingScanSwahiliExecutePassword:NO];
    [self.view addSubview:self.restWayYouEggTextField];
    [self.restWayYouEggTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.plusConcludeTextField.mas_bottom).offset(MixSnowBits.packRouteToo.ironTertiary);
        make.left.right.equalTo(self.plusConcludeTextField);
        make.height.mas_equalTo(MixSnowBits.packRouteToo.briefFunkAnd);
    }];
    UIButton *rightButton = self.restWayYouEggTextField.rightView.subviews.firstObject;
    [rightButton addTarget:self action:@selector(runMalformedThreadedShrinkWriteEditorialHandler:) forControlEvents:(UIControlEventTouchUpInside)];

    
    UIButton *coachedVolumeButton = [MixSnowBits paymentsOriginDashArteryMetricsColor:MixSnowBits.theBinAlignWax.featLearnFlag];
    [coachedVolumeButton addTarget:self action:@selector(oldOutsideScrollsSoftSlightElevenAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:coachedVolumeButton];
    [coachedVolumeButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.restWayYouEggTextField.mas_bottom).offset(MixSnowBits.packRouteToo.ironTertiary);
        make.left.right.equalTo(self.restWayYouEggTextField);
        make.height.mas_equalTo(MixSnowBits.packRouteToo.failMonthDry);
    }];
    
    [self.view addSubview:self.restBinWhileLabel];
    verySum(self);
    [self.restBinWhileLabel setExhaustedLaterAccordingButterflyVisionShear:^{
        debugging(self);
        [self reactorTipFunnelCinematicModifiersEllipsisAction];
    }];
    [self.restBinWhileLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-MixSnowBits.packRouteToo.pubAskPeople);
        make.left.mas_equalTo(MixSnowBits.packRouteToo.tagsAndBegan);
        make.right.mas_equalTo(-MixSnowBits.packRouteToo.tagsAndBegan);
    }];
}

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

- (void)oldOutsideScrollsSoftSlightElevenAction:(UIButton *)sender {
    if (self.plusConcludeTextField.text.length < MixSnowBits.packRouteToo.atomicMount) {
        [DryAlertView tabWayFarsiFilteringProtocolsFloor:MixSnowBits.theBinAlignWax.sumHandle message:MixSnowBits.theBinAlignWax.eggArbitraryHerLaunchDesignerDetermine completion:nil];
        return;
    }
    if (self.restWayYouEggTextField.text.length < MixSnowBits.packRouteToo.atomicMount) {
        [DryAlertView tabWayFarsiFilteringProtocolsFloor:MixSnowBits.theBinAlignWax.sumHandle message:MixSnowBits.theBinAlignWax.voiceOffCountSilentUnsafeReference completion:nil];
        return;
    }
    if ([self.sunYouSelfCut respondsToSelector:@selector(cellFarthestTraveledVarianceTrademarkPublicAppliesName:capKey:completion:)]) {
        [LoseBufferView cardAgentSockWindow];
        [self.sunYouSelfCut cellFarthestTraveledVarianceTrademarkPublicAppliesName:self.plusConcludeTextField.text capKey:self.restWayYouEggTextField.text completion:^(id object) {
            [LoseBufferView beenHelpersSayFalloffMalformedWindow];
        }];
    }
}


- (void)reactorTipFunnelCinematicModifiersEllipsisAction {
    CutZeroArmBackViewController *stopRotorFax = [CutZeroArmBackViewController new];
    stopRotorFax.thatMainFor = @(YES);
    stopRotorFax.sunYouSelfCut = self.sunYouSelfCut;
    [stopRotorFax setTheNanogramsProceedTransferRecycle:^(BOOL result) {
        self.restBinWhileLabel.forbiddenLocal = result;
    }];
    [self.navigationController pushViewController:stopRotorFax animated:NO];
}

@end
