






#import "FiveFlowAuditViewController.h"
#import "FollowEntryButton.h"
#import "KinToast.h"
#import "ObservingTextField.h"
#import "NSString+EasyStorm.h"
@import WebKit;

@interface FiveFlowAuditViewController ()

@property (nonatomic, strong) ObservingTextField *stayRootYouTextField;
@property (nonatomic, strong) UITextField *preservedTextField;
@property (nonatomic, strong) FollowEntryButton *weekGreenButton;

@end

@implementation FiveFlowAuditViewController


- (FollowEntryButton *)weekGreenButton {
    if (!_weekGreenButton) {
        _weekGreenButton = [[FollowEntryButton alloc] init];
    }
    return _weekGreenButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.blobLogKinButton.hidden = [self.sexDeclined[0] boolValue];
    
    UILabel *eyeLabel = [FixMaterial waistMarkTurnEventElder:FixMaterial.dryMicroCapTag.sonPoloNewsstandSeekingTerahertzReceipt];
    eyeLabel.numberOfLines = 0;
    [self.view addSubview:eyeLabel];
    [eyeLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(FixMaterial.capsLoopsAge.sayDomainCup);
        make.left.mas_equalTo(FixMaterial.capsLoopsAge.sayDomainCup);
        make.right.mas_equalTo(-FixMaterial.capsLoopsAge.sayDomainCup);
    }];
    
    
    self.stayRootYouTextField = [[ObservingTextField alloc] initWithController:self];
    [self.view addSubview:self.stayRootYouTextField];
    [self.stayRootYouTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(eyeLabel.mas_bottom).offset(FixMaterial.capsLoopsAge.builtChinese);
        make.left.mas_equalTo(FixMaterial.capsLoopsAge.niacinDegree);
        make.right.mas_equalTo(-FixMaterial.capsLoopsAge.niacinDegree);
        make.height.mas_equalTo(FixMaterial.capsLoopsAge.rearrangeSin);
    }];
    
    
    self.preservedTextField = [FixMaterial eventualShowCursorDanishCorruptDistanceCode];
    [self.view addSubview:self.preservedTextField];
    [self.preservedTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.stayRootYouTextField.mas_bottom).offset(FixMaterial.capsLoopsAge.helperCanBut);
        make.left.mas_equalTo(FixMaterial.capsLoopsAge.niacinDegree);
        make.height.mas_equalTo(FixMaterial.capsLoopsAge.rearrangeSin);
    }];
    
    sheLess(self);
    self.weekGreenButton.sawPoloAreArtAction = ^{
        condensed(self);
        NSString *signalingCode = self.stayRootYouTextField.sockKeysHisEra;
        NSString *hormoneSent = self.stayRootYouTextField.slantUnitRecordTildeSetting;
        if (self.stayRootYouTextField.stayRootYouTextField.text.thumbPending) {
            [self.weekGreenButton coloredMouseAchievedClickedButterfly];
            [BinAlertView bigUnboundedMaintainUnpluggedTargetGrouped:FixMaterial.dryMicroCapTag.pairCross message:FixMaterial.dryMicroCapTag.receivesSheCameraExtendingInteractMixer completion:nil];
            return;
        }
        if ([self.falloffBorder respondsToSelector:@selector(trimmingOptTeaspoonsDynamicArmBundlesImmutableType:relayCatAdd:drumCode:completion:)]) {
            [FlattenPopView tapTheOldFadeWindow];
            [self.falloffBorder trimmingOptTeaspoonsDynamicArmBundlesImmutableType:FixMaterial.capsLoopsAge.listPowerSpine relayCatAdd:hormoneSent drumCode:signalingCode completion:^(id object) {
                [FlattenPopView extendGlucoseCatMinorZoomWindow];
                if ([object boolValue]) {
                    [KinToast ageRootIll:FixMaterial.dryMicroCapTag.englishIdenticalBufferFathomsMovieSmoothedCode];
                }else {
                    [self.weekGreenButton coloredMouseAchievedClickedButterfly];
                }
            }];
        }
    };
    [self.view addSubview:self.weekGreenButton];
    [self.weekGreenButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.preservedTextField);
        make.height.equalTo(self.preservedTextField);
        make.left.equalTo(self.preservedTextField.mas_right).offset(FixMaterial.capsLoopsAge.expiredBuilt);
        make.right.equalTo(self.stayRootYouTextField);
    }];
    
    
    [self.weekGreenButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *textTwistButton = [FixMaterial rangeSeeHectaresImproperLowercaseColor:FixMaterial.dryMicroCapTag.driveIncrementCompletedCommentLibraries];
    [textTwistButton addTarget:self action:@selector(stairItsTheStartingIntentsAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:textTwistButton];
    [textTwistButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.preservedTextField.mas_bottom).offset(FixMaterial.capsLoopsAge.helperCanBut);
        make.left.mas_equalTo(FixMaterial.capsLoopsAge.niacinDegree);
        make.right.mas_equalTo(-FixMaterial.capsLoopsAge.niacinDegree);
        make.height.mas_equalTo(FixMaterial.capsLoopsAge.maxCurlGuest);
    }];
}

- (void)stairItsTheStartingIntentsAction:(id)sender {
    if (self.stayRootYouTextField.stayRootYouTextField.text.thumbPending) {
        [BinAlertView bigUnboundedMaintainUnpluggedTargetGrouped:FixMaterial.dryMicroCapTag.pairCross message:FixMaterial.dryMicroCapTag.receivesSheCameraExtendingInteractMixer completion:nil];
        return;
    }
    if (self.preservedTextField.text.thumbPending) {
        [BinAlertView bigUnboundedMaintainUnpluggedTargetGrouped:FixMaterial.dryMicroCapTag.pairCross message:FixMaterial.dryMicroCapTag.hasKnowDestroyVeryStarted completion:nil];
        return;
    }
    NSString *signalingCode = self.stayRootYouTextField.sockKeysHisEra;
    NSString *hormoneSent = self.stayRootYouTextField.slantUnitRecordTildeSetting;
    if ([self.falloffBorder respondsToSelector:@selector(manyCapturingScannerIdentitySeventeenUppercaseCommitted:code:drumCode:completion:)]) {
        [FlattenPopView tapTheOldFadeWindow];
        [self.falloffBorder manyCapturingScannerIdentitySeventeenUppercaseCommitted:hormoneSent code:self.preservedTextField.text drumCode:signalingCode completion:^(id object) {
            [FlattenPopView extendGlucoseCatMinorZoomWindow];
            if ([object boolValue]) {
                [[NextBeganManager shared] goalBreakingOddSubtractUnderlineSawViewController:self.navigationController];
                [KinToast ageRootIll:FixMaterial.dryMicroCapTag.stakeDeletionPolishRollbackProvidedPretty];
                if ([self.sexDeclined[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *fatalMidAge = (WKWebView *)self.sexDeclined[1];
                    [fatalMidAge reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.weekGreenButton coloredMouseAchievedClickedButterfly];
}

@end
