






#import "KilohertzViewController.h"
#import "YetBusAuditButton.h"
#import "HowToast.h"
#import "StoodMoveTextField.h"
#import "NSString+LeapLearn.h"

@interface KilohertzViewController ()

@property (nonatomic, strong) StoodMoveTextField *secretStormTextField;
@property (nonatomic, strong) UITextField *grandauntTextField;
@property (nonatomic, strong) UITextField *eastBasicLostTextField;
@property (nonatomic, strong) YetBusAuditButton *aboutFullButton;
@end

@implementation KilohertzViewController

- (YetBusAuditButton *)aboutFullButton {
    if (!_aboutFullButton) {
        _aboutFullButton = [[YetBusAuditButton alloc] init];
    }
    return _aboutFullButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.secretStormTextField = [[StoodMoveTextField alloc] initWithController:self];
    [self.view addSubview:self.secretStormTextField];
    [self.secretStormTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ExtentEuler.maleSubtitle.givenJobCrop);
        make.left.mas_equalTo(ExtentEuler.maleSubtitle.sharingLater);
        make.right.mas_equalTo(-ExtentEuler.maleSubtitle.sharingLater);
        make.height.mas_equalTo(ExtentEuler.maleSubtitle.noteFloorTap);
    }];
    
    
    self.grandauntTextField = [ExtentEuler windowAutoCapturesFunDiscoverStickyCode];
    [self.view addSubview:self.grandauntTextField];
    [self.grandauntTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.secretStormTextField.mas_bottom).offset(ExtentEuler.maleSubtitle.binVideoWet);
        make.left.mas_equalTo(ExtentEuler.maleSubtitle.sharingLater);
        make.height.mas_equalTo(ExtentEuler.maleSubtitle.noteFloorTap);
    }];
    
    maleDog(self);
    self.aboutFullButton.badgeMaxSigmaAction = ^{
        stakeQuit(self);
        
        NSString *standEdgaCode = self.secretStormTextField.solidAnySawSon;
        NSString *soloHeadIts = self.secretStormTextField.globalAsteriskFaeroesePictureDivide;
        if (self.secretStormTextField.secretStormTextField.text.vectorSupply) {
            [self.aboutFullButton interlaceScreenOverFourSpouses];
            [BoxAlertView blueIrishSemaphoreSuccessEstablishHas:ExtentEuler.cutMaxEntryAny.redCommit message:ExtentEuler.cutMaxEntryAny.italianOtherThirdBookmarksUnderlineCelsius completion:nil];
            return;
        }
        if ([self.bagBookHitSee respondsToSelector:@selector(receiverClockPreventHeaderKeyExpectedIssuerType:leapMinimum:roleCode:completion:)]) {
            [UnsavedCarView belowPowerTenWindow];
            [self.bagBookHitSee receiverClockPreventHeaderKeyExpectedIssuerType:ExtentEuler.maleSubtitle.rectangleDeveloperIntegrityMealAppear leapMinimum:soloHeadIts roleCode:standEdgaCode completion:^(id object) {
                [UnsavedCarView templateTwoFallbackUsageKinWindow];
                if ([object boolValue]) {
                    [HowToast itemMember:ExtentEuler.cutMaxEntryAny.lessComposedSceneEnvelopeCampaignGeneralCode];
                }else {
                    [self.aboutFullButton interlaceScreenOverFourSpouses];
                }
            }];
        }
    };
    [self.view addSubview:self.aboutFullButton];
    [self.aboutFullButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.grandauntTextField);
        make.height.equalTo(self.grandauntTextField);
        make.left.equalTo(self.grandauntTextField.mas_right).offset(ExtentEuler.maleSubtitle.sixColumnRed);
        make.right.equalTo(self.secretStormTextField);
    }];
    
    
    [self.aboutFullButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    self.eastBasicLostTextField = [ExtentEuler pickMonotonicHyphensNorthHandledPassword:YES];
    [self.view addSubview:self.eastBasicLostTextField];
    [self.eastBasicLostTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.grandauntTextField.mas_bottom).offset(ExtentEuler.maleSubtitle.binVideoWet);
        make.left.mas_equalTo(ExtentEuler.maleSubtitle.sharingLater);
        make.right.mas_equalTo(-ExtentEuler.maleSubtitle.sharingLater);
        make.height.mas_equalTo(ExtentEuler.maleSubtitle.noteFloorTap);
    }];
    UIButton *knowFeedButton = self.eastBasicLostTextField.rightView.subviews.firstObject;
    [knowFeedButton addTarget:self action:@selector(kilogramsBinHelpPrivilegeFeedAnimateHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *gaspDismissButton = [ExtentEuler slovakSalientKeyArbiterSixColor:ExtentEuler.cutMaxEntryAny.fetchYetEarKey];
    [gaspDismissButton addTarget:self action:@selector(waySecretTaggingManNetAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:gaspDismissButton];
    [gaspDismissButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.eastBasicLostTextField.mas_bottom).offset(ExtentEuler.maleSubtitle.binVideoWet);
        make.left.mas_equalTo(ExtentEuler.maleSubtitle.sharingLater);
        make.right.mas_equalTo(-ExtentEuler.maleSubtitle.sharingLater);
        make.height.mas_equalTo(ExtentEuler.maleSubtitle.waitMagnetic);
    }];
}
- (void)kilogramsBinHelpPrivilegeFeedAnimateHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.eastBasicLostTextField.secureTextEntry = !self.eastBasicLostTextField.isSecureTextEntry;
}

- (void)waySecretTaggingManNetAction:(id)sender {
    if (self.secretStormTextField.secretStormTextField.text.vectorSupply) {
        [BoxAlertView blueIrishSemaphoreSuccessEstablishHas:ExtentEuler.cutMaxEntryAny.redCommit message:ExtentEuler.cutMaxEntryAny.italianOtherThirdBookmarksUnderlineCelsius completion:nil];
        return;
    }
    if (self.grandauntTextField.text.vectorSupply) {
        [BoxAlertView blueIrishSemaphoreSuccessEstablishHas:ExtentEuler.cutMaxEntryAny.redCommit message:ExtentEuler.cutMaxEntryAny.componentHelperOtherPluralRelated completion:nil];
        return;
    }
    if (self.eastBasicLostTextField.text.length < ExtentEuler.maleSubtitle.moreKnowOwn) {
        [BoxAlertView blueIrishSemaphoreSuccessEstablishHas:ExtentEuler.cutMaxEntryAny.redCommit message:ExtentEuler.cutMaxEntryAny.cropSucceedResultingEyeBigLong completion:nil];
        return;
    }
    NSString *standEdgaCode = self.secretStormTextField.solidAnySawSon;
    NSString *soloHeadIts = self.secretStormTextField.globalAsteriskFaeroesePictureDivide;
    if ([self.bagBookHitSee respondsToSelector:@selector(masteringLetterCousinEscapedOverageSleepPint:code:roleCode:seeKey:completion:)]) {
        [UnsavedCarView belowPowerTenWindow];
        [self.bagBookHitSee masteringLetterCousinEscapedOverageSleepPint:soloHeadIts code:self.grandauntTextField.text roleCode:standEdgaCode seeKey:self.eastBasicLostTextField.text completion:^(id object) {
            [UnsavedCarView templateTwoFallbackUsageKinWindow];
            [HowToast itemMember:ExtentEuler.cutMaxEntryAny.tokenMinimumExerciseBeatCookie];
            if (object) {
                [self.useHumanHisDelegate telephoneNextBarSaturateBezelWithName:object pairDividerPassword:self.eastBasicLostTextField.text];
                [self ownBoxEarHandoffMotionAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.aboutFullButton interlaceScreenOverFourSpouses];
}
@end
