






#import "OptPassiveTooViewController.h"
#import "WaxAnyMinorButton.h"
#import "LawToast.h"
#import "MenChromaTextField.h"
#import "NSString+LessSeven.h"
@import WebKit;

@interface OptPassiveTooViewController ()

@property (nonatomic, strong) MenChromaTextField *hostParsingTextField;
@property (nonatomic, strong) UITextField *ligaturesTextField;
@property (nonatomic, strong) WaxAnyMinorButton *refreshedButton;

@end

@implementation OptPassiveTooViewController


- (WaxAnyMinorButton *)refreshedButton {
    if (!_refreshedButton) {
        _refreshedButton = [[WaxAnyMinorButton alloc] init];
    }
    return _refreshedButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.fairTargetButton.hidden = [self.lawBoldSeed[0] boolValue];
    
    UILabel *sumLabel = [AreStateWon visitorRhythmFitnessBitmapTint:AreStateWon.miterTabBitKin.drainWaterRightSamplesSupplyPipe];
    sumLabel.numberOfLines = 0;
    [self.view addSubview:sumLabel];
    [sumLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(AreStateWon.twoHoverHard.slightEraMax);
        make.left.mas_equalTo(AreStateWon.twoHoverHard.slightEraMax);
        make.right.mas_equalTo(-AreStateWon.twoHoverHard.slightEraMax);
    }];
    
    
    self.hostParsingTextField = [[MenChromaTextField alloc] initWithController:self];
    [self.view addSubview:self.hostParsingTextField];
    [self.hostParsingTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(sumLabel.mas_bottom).offset(AreStateWon.twoHoverHard.ironFocusAdd);
        make.left.mas_equalTo(AreStateWon.twoHoverHard.cameraWaxOwn);
        make.right.mas_equalTo(-AreStateWon.twoHoverHard.cameraWaxOwn);
        make.height.mas_equalTo(AreStateWon.twoHoverHard.tipTipNormal);
    }];
    
    
    self.ligaturesTextField = [AreStateWon logoManFocusedAgeWaxStyleCode];
    [self.view addSubview:self.ligaturesTextField];
    [self.ligaturesTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.hostParsingTextField.mas_bottom).offset(AreStateWon.twoHoverHard.fiveRotorThe);
        make.left.mas_equalTo(AreStateWon.twoHoverHard.cameraWaxOwn);
        make.height.mas_equalTo(AreStateWon.twoHoverHard.tipTipNormal);
    }];
    
    nothing(self);
    self.refreshedButton.busAgePeerYouAction = ^{
        niacinSpa(self);
        NSString *affiliateCode = self.hostParsingTextField.endHighNameSun;
        NSString *dayEraLayer = self.hostParsingTextField.capRemovalUtteranceLongHormone;
        if (self.hostParsingTextField.hostParsingTextField.text.composerNext) {
            [self.refreshedButton enclosingUsabilityDownloadUploadTelugu];
            [ItsAlertView messageSheetDownhillBalanceImpactMan:AreStateWon.miterTabBitKin.mostPlain message:AreStateWon.miterTabBitKin.anyAzimuthBrowseReduceSpaCurrency completion:nil];
            return;
        }
        if ([self.tabOldStopped respondsToSelector:@selector(hebrewTapFiltersLateRawUniformMailType:runBodyMild:bestCode:completion:)]) {
            [BitAgeSafeView earWonWeekOurWindow];
            [self.tabOldStopped hebrewTapFiltersLateRawUniformMailType:AreStateWon.twoHoverHard.axesRhythmHard runBodyMild:dayEraLayer bestCode:affiliateCode completion:^(id object) {
                [BitAgeSafeView estimateDirectlyHelloForFlexibleWindow];
                if ([object boolValue]) {
                    [LawToast ourCityDry:AreStateWon.miterTabBitKin.bankersInvalidCursiveLostArtsSecondsCode];
                }else {
                    [self.refreshedButton enclosingUsabilityDownloadUploadTelugu];
                }
            }];
        }
    };
    [self.view addSubview:self.refreshedButton];
    [self.refreshedButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.ligaturesTextField);
        make.height.equalTo(self.ligaturesTextField);
        make.left.equalTo(self.ligaturesTextField.mas_right).offset(AreStateWon.twoHoverHard.knowShapeSay);
        make.right.equalTo(self.hostParsingTextField);
    }];
    
    
    [self.refreshedButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *shapeSendButton = [AreStateWon safePromisedRequiringAdjustsIrishColor:AreStateWon.miterTabBitKin.soundDeriveIntrinsicBlusterySlice];
    [shapeSendButton addTarget:self action:@selector(weekMeasureSizeLettishDashAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:shapeSendButton];
    [shapeSendButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.ligaturesTextField.mas_bottom).offset(AreStateWon.twoHoverHard.fiveRotorThe);
        make.left.mas_equalTo(AreStateWon.twoHoverHard.cameraWaxOwn);
        make.right.mas_equalTo(-AreStateWon.twoHoverHard.cameraWaxOwn);
        make.height.mas_equalTo(AreStateWon.twoHoverHard.sonGenderSin);
    }];
}

- (void)weekMeasureSizeLettishDashAction:(id)sender {
    if (self.hostParsingTextField.hostParsingTextField.text.composerNext) {
        [ItsAlertView messageSheetDownhillBalanceImpactMan:AreStateWon.miterTabBitKin.mostPlain message:AreStateWon.miterTabBitKin.anyAzimuthBrowseReduceSpaCurrency completion:nil];
        return;
    }
    if (self.ligaturesTextField.text.composerNext) {
        [ItsAlertView messageSheetDownhillBalanceImpactMan:AreStateWon.miterTabBitKin.mostPlain message:AreStateWon.miterTabBitKin.yearJabberGainEncipherWax completion:nil];
        return;
    }
    NSString *affiliateCode = self.hostParsingTextField.endHighNameSun;
    NSString *dayEraLayer = self.hostParsingTextField.capRemovalUtteranceLongHormone;
    if ([self.tabOldStopped respondsToSelector:@selector(ropeHindiModalOurBrotherPassUse:code:bestCode:completion:)]) {
        [BitAgeSafeView earWonWeekOurWindow];
        [self.tabOldStopped ropeHindiModalOurBrotherPassUse:dayEraLayer code:self.ligaturesTextField.text bestCode:affiliateCode completion:^(id object) {
            [BitAgeSafeView estimateDirectlyHelloForFlexibleWindow];
            if ([object boolValue]) {
                [[LocationsManager shared] recorderShowingForbidRowDescendReferenceViewController:self.navigationController];
                [LawToast ourCityDry:AreStateWon.miterTabBitKin.sodiumWonLeaveOnceCutPalette];
                if ([self.lawBoldSeed[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *putComposer = (WKWebView *)self.lawBoldSeed[1];
                    [putComposer reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.refreshedButton enclosingUsabilityDownloadUploadTelugu];
}

@end
