






#import "OverEqualViewController.h"
#import "TurnRedLeftButton.h"
#import "CatToast.h"
#import "GenderTapTextField.h"
#import "NSString+PintDatum.h"

@interface OverEqualViewController ()

@property (nonatomic, strong) GenderTapTextField *quoteOutBadTextField;
@property (nonatomic, strong) UITextField *flashLoopTextField;
@property (nonatomic, strong) UITextField *blinkLookLinkTextField;
@property (nonatomic, strong) TurnRedLeftButton *poloLayerButton;
@end

@implementation OverEqualViewController

- (TurnRedLeftButton *)poloLayerButton {
    if (!_poloLayerButton) {
        _poloLayerButton = [[TurnRedLeftButton alloc] init];
    }
    return _poloLayerButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.quoteOutBadTextField = [[GenderTapTextField alloc] initWithController:self];
    [self.view addSubview:self.quoteOutBadTextField];
    [self.quoteOutBadTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(SkinEchoMen.pauseKirghiz.overallShelf);
        make.left.mas_equalTo(SkinEchoMen.pauseKirghiz.mightSeeLook);
        make.right.mas_equalTo(-SkinEchoMen.pauseKirghiz.mightSeeLook);
        make.height.mas_equalTo(SkinEchoMen.pauseKirghiz.zipPageQuiet);
    }];
    
    
    self.flashLoopTextField = [SkinEchoMen nameSiteAngleDiscountsHelpAttachedCode];
    [self.view addSubview:self.flashLoopTextField];
    [self.flashLoopTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.quoteOutBadTextField.mas_bottom).offset(SkinEchoMen.pauseKirghiz.thickArtery);
        make.left.mas_equalTo(SkinEchoMen.pauseKirghiz.mightSeeLook);
        make.height.mas_equalTo(SkinEchoMen.pauseKirghiz.zipPageQuiet);
    }];
    
    turnOne(self);
    self.poloLayerButton.spaEarKinQuitAction = ^{
        answerSaw(self);
        
        NSString *hexAuthorCode = self.quoteOutBadTextField.likeJoinTapCut;
        NSString *fullSignBed = self.quoteOutBadTextField.millionSafeLessOpaqueLocale;
        if (self.quoteOutBadTextField.quoteOutBadTextField.text.decibelPitch) {
            [self.poloLayerButton dashMenuNoteEraserUnique];
            [FunAlertView thirdExecFunnelNapFrenchPeriodic:SkinEchoMen.cubePrimeToken.initiated message:SkinEchoMen.cubePrimeToken.translateRotateFaxReturningCaseNext completion:nil];
            return;
        }
        if ([self.constantBirth respondsToSelector:@selector(lostYoungestFlowDeliveredCenterPotentialRatioType:arePlaceTip:poolCode:completion:)]) {
            [ContainWinView ourLawRemovesWindow];
            [self.constantBirth lostYoungestFlowDeliveredCenterPotentialRatioType:SkinEchoMen.pauseKirghiz.teamIntentTaggingChannelNepali arePlaceTip:fullSignBed poolCode:hexAuthorCode completion:^(id object) {
                [ContainWinView adverbCostClampingFooterLawWindow];
                if ([object boolValue]) {
                    [CatToast beaconFace:SkinEchoMen.cubePrimeToken.newsstandFixRoundPipeCutRemembersCode];
                }else {
                    [self.poloLayerButton dashMenuNoteEraserUnique];
                }
            }];
        }
    };
    [self.view addSubview:self.poloLayerButton];
    [self.poloLayerButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.flashLoopTextField);
        make.height.equalTo(self.flashLoopTextField);
        make.right.equalTo(self.quoteOutBadTextField);
        
        make.width.mas_equalTo(self.poloLayerButton.titleLabel.intrinsicContentSize.width + SkinEchoMen.pauseKirghiz.songReplySpa);
    }];
    
    [self.flashLoopTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.poloLayerButton.mas_left).offset(-SkinEchoMen.pauseKirghiz.slovakFunDog);
    }];
    
    
    self.blinkLookLinkTextField = [SkinEchoMen overwriteGenreExporterDeprecatePoliciesPassword:YES];
    [self.view addSubview:self.blinkLookLinkTextField];
    [self.blinkLookLinkTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.flashLoopTextField.mas_bottom).offset(SkinEchoMen.pauseKirghiz.thickArtery);
        make.left.mas_equalTo(SkinEchoMen.pauseKirghiz.mightSeeLook);
        make.right.mas_equalTo(-SkinEchoMen.pauseKirghiz.mightSeeLook);
        make.height.mas_equalTo(SkinEchoMen.pauseKirghiz.zipPageQuiet);
    }];
    UIButton *ropeSentButton = self.blinkLookLinkTextField.rightView.subviews.firstObject;
    [ropeSentButton addTarget:self action:@selector(hyphenLovePossibleMagicAxesRearrangeHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *butEnterKeyButton = [SkinEchoMen anchorsBaselineManNextMediumColor:SkinEchoMen.cubePrimeToken.seedPointerKey];
    [butEnterKeyButton addTarget:self action:@selector(courseBannerTapBufferBinAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:butEnterKeyButton];
    [butEnterKeyButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.blinkLookLinkTextField.mas_bottom).offset(SkinEchoMen.pauseKirghiz.thickArtery);
        make.left.mas_equalTo(SkinEchoMen.pauseKirghiz.mightSeeLook);
        make.right.mas_equalTo(-SkinEchoMen.pauseKirghiz.mightSeeLook);
        make.height.mas_equalTo(SkinEchoMen.pauseKirghiz.selfBlendCap);
    }];
}
- (void)hyphenLovePossibleMagicAxesRearrangeHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.blinkLookLinkTextField.secureTextEntry = !self.blinkLookLinkTextField.isSecureTextEntry;
}

- (void)courseBannerTapBufferBinAction:(id)sender {
    if (self.quoteOutBadTextField.quoteOutBadTextField.text.decibelPitch) {
        [FunAlertView thirdExecFunnelNapFrenchPeriodic:SkinEchoMen.cubePrimeToken.initiated message:SkinEchoMen.cubePrimeToken.translateRotateFaxReturningCaseNext completion:nil];
        return;
    }
    if (self.flashLoopTextField.text.decibelPitch) {
        [FunAlertView thirdExecFunnelNapFrenchPeriodic:SkinEchoMen.cubePrimeToken.initiated message:SkinEchoMen.cubePrimeToken.friendsEnsureObjectStickyBarrier completion:nil];
        return;
    }
    if (self.blinkLookLinkTextField.text.length < SkinEchoMen.pauseKirghiz.mapFoggyIts) {
        [FunAlertView thirdExecFunnelNapFrenchPeriodic:SkinEchoMen.cubePrimeToken.initiated message:SkinEchoMen.cubePrimeToken.droppedRouteOffPartialYetLow completion:nil];
        return;
    }
    NSString *hexAuthorCode = self.quoteOutBadTextField.likeJoinTapCut;
    NSString *fullSignBed = self.quoteOutBadTextField.millionSafeLessOpaqueLocale;
    if ([self.constantBirth respondsToSelector:@selector(clampBypassedPlayScrolledMoreRowBlood:code:poolCode:didKey:completion:)]) {
        [ContainWinView ourLawRemovesWindow];
        [self.constantBirth clampBypassedPlayScrolledMoreRowBlood:fullSignBed code:self.flashLoopTextField.text poolCode:hexAuthorCode didKey:self.blinkLookLinkTextField.text completion:^(id object) {
            [ContainWinView adverbCostClampingFooterLawWindow];
            [CatToast beaconFace:SkinEchoMen.cubePrimeToken.setupSubstringMisplacedPerformsAnd];
            if (object) {
                [self.easyPermuteDelegate objectFitCatKurdishIntrinsicWithName:object ownRingMildPassword:self.blinkLookLinkTextField.text];
                [self assistantBlindingScanFirmwareSingularAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.poloLayerButton dashMenuNoteEraserUnique];
}
@end
