






#import "WelshFiveViewController.h"
#import "LazyItsRuleButton.h"
#import "WasToast.h"
#import "RawBecomeTextField.h"
#import "NSString+ReloadPan.h"

@interface WelshFiveViewController ()

@property (nonatomic, strong) RawBecomeTextField *companyListTextField;
@property (nonatomic, strong) UITextField *forbiddenTextField;
@property (nonatomic, strong) UITextField *decigramsHandTextField;
@property (nonatomic, strong) LazyItsRuleButton *formFocalButton;
@end

@implementation WelshFiveViewController

- (LazyItsRuleButton *)formFocalButton {
    if (!_formFocalButton) {
        _formFocalButton = [[LazyItsRuleButton alloc] init];
    }
    return _formFocalButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.companyListTextField = [[RawBecomeTextField alloc] initWithController:self];
    [self.view addSubview:self.companyListTextField];
    [self.companyListTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(BurstPetite.virtualSheet.millibarsGet);
        make.left.mas_equalTo(BurstPetite.virtualSheet.onceStripMay);
        make.right.mas_equalTo(-BurstPetite.virtualSheet.onceStripMay);
        make.height.mas_equalTo(BurstPetite.virtualSheet.nineCreation);
    }];
    
    
    self.forbiddenTextField = [BurstPetite manganeseRectifiedMenuMildChangingIndicesCode];
    [self.view addSubview:self.forbiddenTextField];
    [self.forbiddenTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.companyListTextField.mas_bottom).offset(BurstPetite.virtualSheet.partGeneral);
        make.left.mas_equalTo(BurstPetite.virtualSheet.onceStripMay);
        make.height.mas_equalTo(BurstPetite.virtualSheet.nineCreation);
    }];
    
    moveAll(self);
    self.formFocalButton.illOverallRunAction = ^{
        eachDutch(self);
        
        NSString *linkStairCode = self.companyListTextField.axesUnlockFull;
        NSString *tailMapWeek = self.companyListTextField.usabilityLeftArmBedPeer;
        if (self.companyListTextField.companyListTextField.text.napTapExpect) {
            [self.formFocalButton countingRareThreeBitsRejection];
            [CarAlertView irregularCounterBarrierHoldHelperEgg:BurstPetite.setupScheduled.decompose message:BurstPetite.setupScheduled.zoneSpecifiedModuleFloatingNoiseWrappers completion:nil];
            return;
        }
        if ([self.discountExact respondsToSelector:@selector(addSkinStepsonOrangeTabFrictionDryType:mixResetSin:toolCode:completion:)]) {
            [OnceMidSeeView cupWetYetFontWindow];
            [self.discountExact addSkinStepsonOrangeTabFrictionDryType:BurstPetite.virtualSheet.seventeenAddressesSortIndexedSee mixResetSin:tailMapWeek toolCode:linkStairCode completion:^(id object) {
                [OnceMidSeeView destroyHigherSlopeRemainderTapWindow];
                if ([object boolValue]) {
                    [WasToast marginsTip:BurstPetite.setupScheduled.hectaresSexEditorSlideFlatOpticalCode];
                }else {
                    [self.formFocalButton countingRareThreeBitsRejection];
                }
            }];
        }
    };
    [self.view addSubview:self.formFocalButton];
    [self.formFocalButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.forbiddenTextField);
        make.height.equalTo(self.forbiddenTextField);
        make.right.equalTo(self.companyListTextField);
        
        make.width.mas_equalTo(self.formFocalButton.titleLabel.intrinsicContentSize.width + BurstPetite.virtualSheet.croppingMute);
    }];
    
    [self.forbiddenTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.formFocalButton.mas_left).offset(-BurstPetite.virtualSheet.canTerabytes);
    }];
    
    
    self.decigramsHandTextField = [BurstPetite weekdayPaymentsReleaseSortThirteenPassword:YES];
    [self.view addSubview:self.decigramsHandTextField];
    [self.decigramsHandTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.forbiddenTextField.mas_bottom).offset(BurstPetite.virtualSheet.partGeneral);
        make.left.mas_equalTo(BurstPetite.virtualSheet.onceStripMay);
        make.right.mas_equalTo(-BurstPetite.virtualSheet.onceStripMay);
        make.height.mas_equalTo(BurstPetite.virtualSheet.nineCreation);
    }];
    UIButton *waitFullButton = self.decigramsHandTextField.rightView.subviews.firstObject;
    [waitFullButton addTarget:self action:@selector(warnArtRotateInterestOffEndHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *ironNeedBarButton = [BurstPetite paragraphPicturePositionHisSumColor:BurstPetite.setupScheduled.humanJobSawKey];
    [ironNeedBarButton addTarget:self action:@selector(redirectMilesTryMediumDrumAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:ironNeedBarButton];
    [ironNeedBarButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.decigramsHandTextField.mas_bottom).offset(BurstPetite.virtualSheet.partGeneral);
        make.left.mas_equalTo(BurstPetite.virtualSheet.onceStripMay);
        make.right.mas_equalTo(-BurstPetite.virtualSheet.onceStripMay);
        make.height.mas_equalTo(BurstPetite.virtualSheet.enclosingToo);
    }];
}
- (void)warnArtRotateInterestOffEndHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.decigramsHandTextField.secureTextEntry = !self.decigramsHandTextField.isSecureTextEntry;
}

- (void)redirectMilesTryMediumDrumAction:(id)sender {
    if (self.companyListTextField.companyListTextField.text.napTapExpect) {
        [CarAlertView irregularCounterBarrierHoldHelperEgg:BurstPetite.setupScheduled.decompose message:BurstPetite.setupScheduled.zoneSpecifiedModuleFloatingNoiseWrappers completion:nil];
        return;
    }
    if (self.forbiddenTextField.text.napTapExpect) {
        [CarAlertView irregularCounterBarrierHoldHelperEgg:BurstPetite.setupScheduled.decompose message:BurstPetite.setupScheduled.withAcrossResizeArtArm completion:nil];
        return;
    }
    if (self.decigramsHandTextField.text.length < BurstPetite.virtualSheet.infoMidWord) {
        [CarAlertView irregularCounterBarrierHoldHelperEgg:BurstPetite.setupScheduled.decompose message:BurstPetite.setupScheduled.groupingInlandForeverDissolveAdjustFlag completion:nil];
        return;
    }
    NSString *linkStairCode = self.companyListTextField.axesUnlockFull;
    NSString *tailMapWeek = self.companyListTextField.usabilityLeftArmBedPeer;
    if ([self.discountExact respondsToSelector:@selector(bufferedQuietRecipientPublicStaleMagnitudeDesign:code:toolCode:cupKey:completion:)]) {
        [OnceMidSeeView cupWetYetFontWindow];
        [self.discountExact bufferedQuietRecipientPublicStaleMagnitudeDesign:tailMapWeek code:self.forbiddenTextField.text toolCode:linkStairCode cupKey:self.decigramsHandTextField.text completion:^(id object) {
            [OnceMidSeeView destroyHigherSlopeRemainderTapWindow];
            [WasToast marginsTip:BurstPetite.setupScheduled.wayDanishTapExtendSlab];
            if (object) {
                [self.extraEitherDelegate redirectRenamingCropInferiorsRectumWithName:object easyBlurRetPassword:self.decigramsHandTextField.text];
                [self recipientEyeSilencedEnumerateThinAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.formFocalButton countingRareThreeBitsRejection];
}
@end
