






#import "DefinesEarViewController.h"
#import "MalformedViewController.h"
#import "UnpluggedViewController.h"

@interface DefinesEarViewController ()<DetermineDelegate>

@property (nonatomic, strong) UITextField *selectorSentTextField;
@property (nonatomic, strong) UITextField *reductionGoalTextField;
@end

@implementation DefinesEarViewController


- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.selectorSentTextField = [BinFaxEight taskBehaviorsSkippedWarnWakeAccount];
    [self.view addSubview:self.selectorSentTextField];
    [self.selectorSentTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(BinFaxEight.icyAboutDrum.wrongOurWeek);
        make.left.mas_equalTo(BinFaxEight.icyAboutDrum.substringSaw);
        make.right.mas_equalTo(-BinFaxEight.icyAboutDrum.substringSaw);
        make.height.mas_equalTo(BinFaxEight.icyAboutDrum.containerHas);
    }];
    
    
    self.reductionGoalTextField = [BinFaxEight finalizeConflictsRequestUppercaseMeterPassword:NO];
    [self.view addSubview:self.reductionGoalTextField];
    [self.reductionGoalTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.selectorSentTextField.mas_bottom).offset(BinFaxEight.icyAboutDrum.masterMinCap);
        make.left.right.equalTo(self.selectorSentTextField);
        make.height.mas_equalTo(BinFaxEight.icyAboutDrum.containerHas);
    }];
    UIButton *fatTrap = self.reductionGoalTextField.rightView.subviews.firstObject;
    [fatTrap addTarget:self action:@selector(boxIdiomExposeMomentLeadSpaHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *button = [BinFaxEight ratingsIndigoNumeratorRenameBrokenColor:BinFaxEight.signRoomModify.getBagHover];
    [button addTarget:self action:@selector(completedAbortSeasonOutletRollbackArrangerNorwegianAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:button];
    [button mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.reductionGoalTextField.mas_bottom).offset(BinFaxEight.icyAboutDrum.masterMinCap);
        make.left.right.equalTo(self.reductionGoalTextField);
        make.height.mas_equalTo(BinFaxEight.icyAboutDrum.barsMightBig);
    }];
    
    
    if (![BinFaxEight linearlyRollHisProposedEqual]) {
        UIButton *allFade = [BinFaxEight ratingsIndigoNumeratorRenameBrokenColor:[NSString stringWithFormat:@" %@ ",BinFaxEight.signRoomModify.sendNapBusMid]];
        [allFade addTarget:self action:@selector(anchoringEarDrawingFeedDetailAction:) forControlEvents:UIControlEventTouchUpInside];
        [self.view addSubview:allFade];
        [allFade mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(button);
            make.top.equalTo(button.mas_bottom).offset(BinFaxEight.icyAboutDrum.ownEmbedding);
            make.height.mas_equalTo(BinFaxEight.icyAboutDrum.zipKeepTwist);
            
            make.width.mas_equalTo(allFade.titleLabel.intrinsicContentSize.width + BinFaxEight.icyAboutDrum.croppingHand);
        }];
    }
    
    
    UIButton *cutRing = [BinFaxEight slowRectumOddScrollingMaker:BinFaxEight.signRoomModify.unlockedSayKey];
    [cutRing addTarget:self action:@selector(operatorPulseRevertingSlowDictationAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:cutRing];
    [cutRing mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button);
        make.top.equalTo(button.mas_bottom).offset(BinFaxEight.icyAboutDrum.ownEmbedding);
        make.height.mas_equalTo(BinFaxEight.icyAboutDrum.zipKeepTwist);
    }];
}

- (void)boxIdiomExposeMomentLeadSpaHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.reductionGoalTextField.secureTextEntry = !self.reductionGoalTextField.isSecureTextEntry;
}

- (void)completedAbortSeasonOutletRollbackArrangerNorwegianAction:(UIButton *)sender {
    if (self.selectorSentTextField.text.length < BinFaxEight.icyAboutDrum.phaseAirPop) {
        [WonAlertView terminalRetryCopperBookmarksRemainingIdle:BinFaxEight.signRoomModify.capAppend message:BinFaxEight.signRoomModify.remainderStringVisionClockwiseTenHomepage completion:nil];
        return;
    }
    if (self.reductionGoalTextField.text.length < BinFaxEight.icyAboutDrum.phaseAirPop) {
        [WonAlertView terminalRetryCopperBookmarksRemainingIdle:BinFaxEight.signRoomModify.capAppend message:BinFaxEight.signRoomModify.slashIncrementHitThreadViewLate completion:nil];
        return;
    }
    if ([self.draftPieceAre respondsToSelector:@selector(sectionsMegahertzSideInteriorItalicsRootAbsoluteName:badKey:completion:)]) {
        [DoneBasqueView makeNeedBreakWindow];
        [self.draftPieceAre sectionsMegahertzSideInteriorItalicsRootAbsoluteName:self.selectorSentTextField.text badKey:self.reductionGoalTextField.text completion:^(id object) {
            [DoneBasqueView literSpanSamplerMeasuredPackWindow];
        }];
    }
}

- (void)anchoringEarDrawingFeedDetailAction:(UIButton *)sender {
    MalformedViewController *saltDog = [MalformedViewController new];
    saltDog.draftPieceAre = self.draftPieceAre;
    [self.navigationController pushViewController:saltDog animated:NO];
}

- (void)operatorPulseRevertingSlowDictationAction:(UIButton *)sender {
    UnpluggedViewController *saltDog = [UnpluggedViewController new];
    saltDog.draftPieceAre = self.draftPieceAre;
    saltDog.loopDisposeDelegate = self;
    [self.navigationController pushViewController:saltDog animated:NO];
    
}

- (void)dayEndpointsRestExchangesBreakWithName:(NSString *)xxpk_forgetName editRatingsPassword:(NSString *)editRatingsPassword {
    self.selectorSentTextField.text = xxpk_forgetName;
    self.reductionGoalTextField.text = editRatingsPassword;
    UIButton *fatTrap = self.reductionGoalTextField.rightView.subviews.firstObject;
    fatTrap.selected = YES;
    self.reductionGoalTextField.secureTextEntry = NO;
}

@end
