






#import "FeatLowerViewController.h"
#import "RearDidRowsButton.h"
#import "RetToast.h"
#import "SelectBoxTextField.h"
#import "NSString+Enclosing.h"

@interface FeatLowerViewController ()

@property (nonatomic, strong) SelectBoxTextField *illThousandTextField;
@property (nonatomic, strong) UITextField *bitmapMinTextField;
@property (nonatomic, strong) UITextField *dragEachReplyTextField;
@property (nonatomic, strong) RearDidRowsButton *nowAffineButton;
@end

@implementation FeatLowerViewController

- (RearDidRowsButton *)nowAffineButton {
    if (!_nowAffineButton) {
        _nowAffineButton = [[RearDidRowsButton alloc] init];
    }
    return _nowAffineButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.illThousandTextField = [[SelectBoxTextField alloc] initWithController:self];
    [self.view addSubview:self.illThousandTextField];
    [self.illThousandTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(WetDoneFill.artSensitive.northOptTree);
        make.left.mas_equalTo(WetDoneFill.artSensitive.flipWhoCocoa);
        make.right.mas_equalTo(-WetDoneFill.artSensitive.flipWhoCocoa);
        make.height.mas_equalTo(WetDoneFill.artSensitive.canPrintable);
    }];
    
    
    self.bitmapMinTextField = [WetDoneFill selectorsStrokingAnimatorOwnEnhancedPeakCode];
    [self.view addSubview:self.bitmapMinTextField];
    [self.bitmapMinTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.illThousandTextField.mas_bottom).offset(WetDoneFill.artSensitive.nativeFetch);
        make.left.mas_equalTo(WetDoneFill.artSensitive.flipWhoCocoa);
        make.height.mas_equalTo(WetDoneFill.artSensitive.canPrintable);
    }];
    
    bankArm(self);
    self.nowAffineButton.dogKeyBitsSeeAction = ^{
        feetExist(self);
        
        NSString *siteGreenCode = self.illThousandTextField.onceArmourIron;
        NSString *stylizeBody = self.illThousandTextField.bleedDueForThermalDisable;
        if (self.illThousandTextField.illThousandTextField.text.tipSlabLater) {
            [self.nowAffineButton maxLanguagePoolElementWorkspace];
            [MidAlertView contactCenteredRenewingBeginRingCover:WetDoneFill.wideHostLooper.variables message:WetDoneFill.wideHostLooper.roleChallengeReadableSpaEntryMid completion:nil];
            return;
        }
        if ([self.notHerFoldOld respondsToSelector:@selector(certFourSolveCropSlashRadioNotifyType:tagTwistRow:pullCode:completion:)]) {
            [WristInferView willNapAndTheWindow];
            [self.notHerFoldOld certFourSolveCropSlashRadioNotifyType:WetDoneFill.artSensitive.pubBadIcyManRepair tagTwistRow:stylizeBody pullCode:siteGreenCode completion:^(id object) {
                [WristInferView abortMenuImageQuantizeHoursWindow];
                if ([object boolValue]) {
                    [RetToast leastStrip:WetDoneFill.wideHostLooper.handballCalciumFunctionProminentInsertionTranslateCode];
                }else {
                    [self.nowAffineButton maxLanguagePoolElementWorkspace];
                }
            }];
        }
    };
    [self.view addSubview:self.nowAffineButton];
    [self.nowAffineButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.bitmapMinTextField);
        make.height.equalTo(self.bitmapMinTextField);
        make.left.equalTo(self.bitmapMinTextField.mas_right).offset(WetDoneFill.artSensitive.dueLawInside);
        make.right.equalTo(self.illThousandTextField);
    }];
    
    
    [self.nowAffineButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    self.dragEachReplyTextField = [WetDoneFill renderFunkUnloadWarnCadencePassword:YES];
    [self.view addSubview:self.dragEachReplyTextField];
    [self.dragEachReplyTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.bitmapMinTextField.mas_bottom).offset(WetDoneFill.artSensitive.nativeFetch);
        make.left.mas_equalTo(WetDoneFill.artSensitive.flipWhoCocoa);
        make.right.mas_equalTo(-WetDoneFill.artSensitive.flipWhoCocoa);
        make.height.mas_equalTo(WetDoneFill.artSensitive.canPrintable);
    }];
    UIButton *toolCardButton = self.dragEachReplyTextField.rightView.subviews.firstObject;
    [toolCardButton addTarget:self action:@selector(wrongFeaturesModifierHintTimeSkinHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *tagSonBrushButton = [WetDoneFill takeBendReachableResultsDatumColor:WetDoneFill.wideHostLooper.bitFlexibleKey];
    [tagSonBrushButton addTarget:self action:@selector(stepsonStormIdentityNearbyBlackAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:tagSonBrushButton];
    [tagSonBrushButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.dragEachReplyTextField.mas_bottom).offset(WetDoneFill.artSensitive.nativeFetch);
        make.left.mas_equalTo(WetDoneFill.artSensitive.flipWhoCocoa);
        make.right.mas_equalTo(-WetDoneFill.artSensitive.flipWhoCocoa);
        make.height.mas_equalTo(WetDoneFill.artSensitive.hailCapacity);
    }];
}
- (void)wrongFeaturesModifierHintTimeSkinHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.dragEachReplyTextField.secureTextEntry = !self.dragEachReplyTextField.isSecureTextEntry;
}

- (void)stepsonStormIdentityNearbyBlackAction:(id)sender {
    if (self.illThousandTextField.illThousandTextField.text.tipSlabLater) {
        [MidAlertView contactCenteredRenewingBeginRingCover:WetDoneFill.wideHostLooper.variables message:WetDoneFill.wideHostLooper.roleChallengeReadableSpaEntryMid completion:nil];
        return;
    }
    if (self.bitmapMinTextField.text.tipSlabLater) {
        [MidAlertView contactCenteredRenewingBeginRingCover:WetDoneFill.wideHostLooper.variables message:WetDoneFill.wideHostLooper.seasonFaceBothEyeConsumes completion:nil];
        return;
    }
    if (self.dragEachReplyTextField.text.length < WetDoneFill.artSensitive.boldNineNot) {
        [MidAlertView contactCenteredRenewingBeginRingCover:WetDoneFill.wideHostLooper.variables message:WetDoneFill.wideHostLooper.declineTrackingLookKeyUnifyIncrement completion:nil];
        return;
    }
    NSString *siteGreenCode = self.illThousandTextField.onceArmourIron;
    NSString *stylizeBody = self.illThousandTextField.bleedDueForThermalDisable;
    if ([self.notHerFoldOld respondsToSelector:@selector(activityMightSelectedSubSolidPositionsConnected:code:pullCode:tagKey:completion:)]) {
        [WristInferView willNapAndTheWindow];
        [self.notHerFoldOld activityMightSelectedSubSolidPositionsConnected:stylizeBody code:self.bitmapMinTextField.text pullCode:siteGreenCode tagKey:self.dragEachReplyTextField.text completion:^(id object) {
            [WristInferView abortMenuImageQuantizeHoursWindow];
            [RetToast leastStrip:WetDoneFill.wideHostLooper.encryptCascadeTranslateDownBook];
            if (object) {
                [self.guideBadSinDelegate intervalsFourteenButPastArtWithName:object rateTensionPassword:self.dragEachReplyTextField.text];
                [self browseConfigureRecognizeRecorderLinerAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.nowAffineButton maxLanguagePoolElementWorkspace];
}
@end
