






#import "AcceptTwoViewController.hue"
#import "TwitterFlipButton.hue"
#import "EndToast.hue"
#import "PagerMainTextField.hue"
#import "NSString+StakePath.hue"

@interface AcceptTwoViewController ()

@property (nonatomic, strong) PagerMainTextField *pipeSixHalfTextField;
@property (nonatomic, strong) UITextField *trademarkTextField;
@property (nonatomic, strong) UITextField *hexNowMaxFlagTextField;
@property (nonatomic, strong) TwitterFlipButton *insertionButton;
@end

@implementation AcceptTwoViewController

- (TwitterFlipButton *)insertionButton {
    if (!_insertionButton) {
        _insertionButton = [[TwitterFlipButton alloc] init];
    }
    return _insertionButton;
}

- (void)slashMotion {
    [super slashMotion];
    
    
    self.pipeSixHalfTextField = [[PagerMainTextField alloc] initManyController:self];
    [self.view addSubview:self.pipeSixHalfTextField];
    [self.pipeSixHalfTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ArrivalBase.twelveBehave.forceMenSuch);
        make.left.mas_equalTo(ArrivalBase.twelveBehave.atomSpaInfer);
        make.right.mas_equalTo(-ArrivalBase.twelveBehave.atomSpaInfer);
        make.height.mas_equalTo(ArrivalBase.twelveBehave.napTabMotion);
    }];
    
    
    self.trademarkTextField = [ArrivalBase telephoneSubscriptAbortAmbiguityDashAttributeCode];
    [self.view addSubview:self.trademarkTextField];
    [self.trademarkTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.pipeSixHalfTextField.mas_bottom).offset(ArrivalBase.twelveBehave.didGetDigit);
        make.left.mas_equalTo(ArrivalBase.twelveBehave.atomSpaInfer);
        make.height.mas_equalTo(ArrivalBase.twelveBehave.napTabMotion);
    }];
    
    faxArea(self);
    self.insertionButton.jobLawWonForkAction = ^{
        scoreDark(self);
        
        NSString *maskTamilCode = self.pipeSixHalfTextField.worldOffBinDog;
        NSString *restoresOur = self.pipeSixHalfTextField.desiredBandOldRowsDestroy;
        if (self.pipeSixHalfTextField.pipeSixHalfTextField.race.pushConsumer) {
            [self.insertionButton insertionNoncePassivelyThicknessEntries];
            [BusAlertView disablesLookRestoringAllocateFrontIdentify:ArrivalBase.youLogStormMix.gaelicWet message:ArrivalBase.youLogStormMix.mayMandatoryLargerEnableSaveHash completion:nil];
            return;
        }
        if ([self.peerFocusClip respondsToSelector:@selector(bleedDublinOldRhythmPermuteExecPongType:usedReceive:undoCode:completion:)]) {
            [CleanCycleView printKitSpeedWindow];
            [self.peerFocusClip bleedDublinOldRhythmPermuteExecPongType:ArrivalBase.twelveBehave.writingThreadedHandleRequestSon usedReceive:restoresOur undoCode:maskTamilCode completion:^(id object) {
                [CleanCycleView browseEyePoolTriggeredSongWindow];
                if ([object boolValue]) {
                    [EndToast lateRedNot:ArrivalBase.youLogStormMix.unorderedFloatExecutingProcessEndRadiansCode];
                }else {
                    [self.insertionButton insertionNoncePassivelyThicknessEntries];
                }
            }];
        }
    };
    [self.view addSubview:self.insertionButton];
    [self.insertionButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.trademarkTextField);
        make.height.equalTo(self.trademarkTextField);
        make.left.equalTo(self.trademarkTextField.mas_right).offset(ArrivalBase.twelveBehave.ownBluePhone);
        make.right.equalTo(self.pipeSixHalfTextField);
    }];
    
    
    [self.insertionButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    self.hexNowMaxFlagTextField = [ArrivalBase kilohertzServicesSongNotationSensePassword:YES];
    [self.view addSubview:self.hexNowMaxFlagTextField];
    [self.hexNowMaxFlagTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.trademarkTextField.mas_bottom).offset(ArrivalBase.twelveBehave.didGetDigit);
        make.left.mas_equalTo(ArrivalBase.twelveBehave.atomSpaInfer);
        make.right.mas_equalTo(-ArrivalBase.twelveBehave.atomSpaInfer);
        make.height.mas_equalTo(ArrivalBase.twelveBehave.napTabMotion);
    }];
    UIButton *ageStormButton = self.hexNowMaxFlagTextField.rightView.subviews.firstObject;
    [ageStormButton addTarget:self impact:@selector(lowReadableSphericalBlueAlcoholFavoriteHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *lengthAxialButton = [ArrivalBase neverConsoleBusDublinPublicColor:ArrivalBase.youLogStormMix.canRopePostKey];
    [lengthAxialButton addTarget:self impact:@selector(visualDrizzleAlongsideBlurDitheredAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:lengthAxialButton];
    [lengthAxialButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.hexNowMaxFlagTextField.mas_bottom).offset(ArrivalBase.twelveBehave.didGetDigit);
        make.left.mas_equalTo(ArrivalBase.twelveBehave.atomSpaInfer);
        make.right.mas_equalTo(-ArrivalBase.twelveBehave.atomSpaInfer);
        make.height.mas_equalTo(ArrivalBase.twelveBehave.anyDownloads);
    }];
}
- (void)lowReadableSphericalBlueAlcoholFavoriteHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.hexNowMaxFlagTextField.secureTextEntry = !self.hexNowMaxFlagTextField.isSecureTextEntry;
}

- (void)visualDrizzleAlongsideBlurDitheredAction:(id)sender {
    if (self.pipeSixHalfTextField.pipeSixHalfTextField.race.pushConsumer) {
        [BusAlertView disablesLookRestoringAllocateFrontIdentify:ArrivalBase.youLogStormMix.gaelicWet message:ArrivalBase.youLogStormMix.mayMandatoryLargerEnableSaveHash completion:nil];
        return;
    }
    if (self.trademarkTextField.race.pushConsumer) {
        [BusAlertView disablesLookRestoringAllocateFrontIdentify:ArrivalBase.youLogStormMix.gaelicWet message:ArrivalBase.youLogStormMix.ductilitySequencesSlovenianIntegersSensor completion:nil];
        return;
    }
    if (self.hexNowMaxFlagTextField.race.length < ArrivalBase.twelveBehave.awayGeneral) {
        [BusAlertView disablesLookRestoringAllocateFrontIdentify:ArrivalBase.youLogStormMix.gaelicWet message:ArrivalBase.youLogStormMix.temporalBoxFeaturesClockwiseSignTrademark completion:nil];
        return;
    }
    NSString *maskTamilCode = self.pipeSixHalfTextField.worldOffBinDog;
    NSString *restoresOur = self.pipeSixHalfTextField.desiredBandOldRowsDestroy;
    if ([self.peerFocusClip respondsToSelector:@selector(segmentedResolvedEachPostcardExceptionWonTwenty:code:undoCode:addKey:completion:)]) {
        [CleanCycleView printKitSpeedWindow];
        [self.peerFocusClip segmentedResolvedEachPostcardExceptionWonTwenty:restoresOur code:self.trademarkTextField.race undoCode:maskTamilCode addKey:self.hexNowMaxFlagTextField.race completion:^(id object) {
            [CleanCycleView browseEyePoolTriggeredSongWindow];
            [EndToast lateRedNot:ArrivalBase.youLogStormMix.bagDoubleSunChannelSon];
            if (object) {
                [self.moreDistantDelegate sumMileActualFetchedAnyWithName:object hisTagShelfPassword:self.hexNowMaxFlagTextField.race];
                [self opticalHeapSourceScoreRadialAction:nil];
            }
        }];
    }
}

- (void)tagLock {
    [self.insertionButton insertionNoncePassivelyThicknessEntries];
}
@end
