






#import "ShakeMathDropViewController.h"
#import "CheckHisRetButton.h"
#import "ArtToast.h"
#import "DetachPenTextField.h"
#import "NSString+Structure.h"
@import WebKit;

@interface ShakeMathDropViewController ()

@property (nonatomic, strong) DetachPenTextField *stillSixCutTextField;
@property (nonatomic, strong) UITextField *recordMapTextField;
@property (nonatomic, strong) CheckHisRetButton *poloAbortButton;

@end

@implementation ShakeMathDropViewController


- (CheckHisRetButton *)poloAbortButton {
    if (!_poloAbortButton) {
        _poloAbortButton = [[CheckHisRetButton alloc] init];
    }
    return _poloAbortButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.pinBinTaskButton.hidden = [self.roundTooMap[0] boolValue];
    
    UILabel *ageLabel = [EventPinWho optionBusConcertFatalPlayable:EventPinWho.prologCollapse.labelExclusiveVerifyChannelDecipherMessage];
    ageLabel.numberOfLines = 0;
    [self.view addSubview:ageLabel];
    [ageLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(EventPinWho.animatingYet.andSuggested);
        make.left.mas_equalTo(EventPinWho.animatingYet.andSuggested);
        make.right.mas_equalTo(-EventPinWho.animatingYet.andSuggested);
    }];
    
    
    self.stillSixCutTextField = [[DetachPenTextField alloc] initWithController:self];
    [self.view addSubview:self.stillSixCutTextField];
    [self.stillSixCutTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ageLabel.mas_bottom).offset(EventPinWho.animatingYet.linkageAdobe);
        make.left.mas_equalTo(EventPinWho.animatingYet.failSpineBar);
        make.right.mas_equalTo(-EventPinWho.animatingYet.failSpineBar);
        make.height.mas_equalTo(EventPinWho.animatingYet.microCropSaw);
    }];
    
    
    self.recordMapTextField = [EventPinWho abortedNotifiedRowTwentyBezelBasicCode];
    [self.view addSubview:self.recordMapTextField];
    [self.recordMapTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.stillSixCutTextField.mas_bottom).offset(EventPinWho.animatingYet.customToggle);
        make.left.mas_equalTo(EventPinWho.animatingYet.failSpineBar);
        make.height.mas_equalTo(EventPinWho.animatingYet.microCropSaw);
    }];
    
    extents(self);
    self.poloAbortButton.lowFunFoldCupAction = ^{
        beforeAge(self);
        NSString *ovulationCode = self.stillSixCutTextField.sixPoolFilmAsk;
        NSString *humidityWho = self.stillSixCutTextField.commentsTextualLatencyFractionAddresses;
        if (self.stillSixCutTextField.stillSixCutTextField.text.sendClearWet) {
            [self.poloAbortButton unloadClickDriveRejectGlyph];
            [HowAlertView flightCentersNauticalCyclingSentSegment:EventPinWho.prologCollapse.sonPrefix message:EventPinWho.prologCollapse.tradBlockerSheUseFilenameNordic completion:nil];
            return;
        }
        if ([self.modifiersOpen respondsToSelector:@selector(mapKeysLogMagentaTableLeadAppearingType:sinCubeMill:softCode:completion:)]) {
            [SenseClockView tryInnerClickWindow];
            [self.modifiersOpen mapKeysLogMagentaTableLeadAppearingType:EventPinWho.animatingYet.blueOverFinder sinCubeMill:humidityWho softCode:ovulationCode completion:^(id object) {
                [SenseClockView currencyLookTrackSurrogateSilencedWindow];
                if ([object boolValue]) {
                    [ArtToast beforeBend:EventPinWho.prologCollapse.malayalamJustPermittedAscentUnableManCode];
                }else {
                    [self.poloAbortButton unloadClickDriveRejectGlyph];
                }
            }];
        }
    };
    [self.view addSubview:self.poloAbortButton];
    [self.poloAbortButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.recordMapTextField);
        make.height.equalTo(self.recordMapTextField);
        make.left.equalTo(self.recordMapTextField.mas_right).offset(EventPinWho.animatingYet.failAreQuick);
        make.right.equalTo(self.stillSixCutTextField);
    }];
    
    
    [self.poloAbortButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *modelHalfButton = [EventPinWho fitnessLeakyRealKazakhPermanentColor:EventPinWho.prologCollapse.freeBoostToleranceLinkSymptom];
    [modelHalfButton addTarget:self action:@selector(armCricketSuspendedResolvingDarwinAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:modelHalfButton];
    [modelHalfButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.recordMapTextField.mas_bottom).offset(EventPinWho.animatingYet.customToggle);
        make.left.mas_equalTo(EventPinWho.animatingYet.failSpineBar);
        make.right.mas_equalTo(-EventPinWho.animatingYet.failSpineBar);
        make.height.mas_equalTo(EventPinWho.animatingYet.upperOutMale);
    }];
}

- (void)armCricketSuspendedResolvingDarwinAction:(id)sender {
    if (self.stillSixCutTextField.stillSixCutTextField.text.sendClearWet) {
        [HowAlertView flightCentersNauticalCyclingSentSegment:EventPinWho.prologCollapse.sonPrefix message:EventPinWho.prologCollapse.tradBlockerSheUseFilenameNordic completion:nil];
        return;
    }
    if (self.recordMapTextField.text.sendClearWet) {
        [HowAlertView flightCentersNauticalCyclingSentSegment:EventPinWho.prologCollapse.sonPrefix message:EventPinWho.prologCollapse.irregularBestBringRedefinedChar completion:nil];
        return;
    }
    NSString *ovulationCode = self.stillSixCutTextField.sixPoolFilmAsk;
    NSString *humidityWho = self.stillSixCutTextField.commentsTextualLatencyFractionAddresses;
    if ([self.modifiersOpen respondsToSelector:@selector(forRealChangingModifyPreventBarSin:code:softCode:completion:)]) {
        [SenseClockView tryInnerClickWindow];
        [self.modifiersOpen forRealChangingModifyPreventBarSin:humidityWho code:self.recordMapTextField.text softCode:ovulationCode completion:^(id object) {
            [SenseClockView currencyLookTrackSurrogateSilencedWindow];
            if ([object boolValue]) {
                [[ParentKitManager shared] pressedCutRestoresSideDecreaseChangeViewController:self.navigationController];
                [ArtToast beforeBend:EventPinWho.prologCollapse.rotateReachedChapterStaticSobFinalize];
                if ([self.roundTooMap[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *cleanSchool = (WKWebView *)self.roundTooMap[1];
                    [cleanSchool reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.poloAbortButton unloadClickDriveRejectGlyph];
}

@end
