






#import "OnlyPutWetKitViewController.h"
#import "TabForFrameButton.h"
#import "BusToast.h"
#import "KnowEmailTextField.h"
#import "NSString+BoostTone.h"
@import WebKit;

@interface OnlyPutWetKitViewController ()

@property (nonatomic, strong) KnowEmailTextField *flippedRainTextField;
@property (nonatomic, strong) UITextField *bufferingTextField;
@property (nonatomic, strong) TabForFrameButton *anchoringButton;

@end

@implementation OnlyPutWetKitViewController


- (TabForFrameButton *)anchoringButton {
    if (!_anchoringButton) {
        _anchoringButton = [[TabForFrameButton alloc] init];
    }
    return _anchoringButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.loudLegacyButton.hidden = [self.shelfWhoBus[0] boolValue];
    
    UILabel *tipLabel = [SumWorkTrad handoffThickDistantMediaExclusive:SumWorkTrad.arrayLawAllTop.cautionAdaptiveThousandSentencesPortraitMembers];
    tipLabel.numberOfLines = 0;
    [self.view addSubview:tipLabel];
    [tipLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(SumWorkTrad.fastAgeWidth.lookupUnsafe);
        make.left.mas_equalTo(SumWorkTrad.fastAgeWidth.lookupUnsafe);
        make.right.mas_equalTo(-SumWorkTrad.fastAgeWidth.lookupUnsafe);
    }];
    
    
    self.flippedRainTextField = [[KnowEmailTextField alloc] initWithController:self];
    [self.view addSubview:self.flippedRainTextField];
    [self.flippedRainTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(tipLabel.mas_bottom).offset(SumWorkTrad.fastAgeWidth.cityBrushTry);
        make.left.mas_equalTo(SumWorkTrad.fastAgeWidth.mixSwipeArea);
        make.right.mas_equalTo(-SumWorkTrad.fastAgeWidth.mixSwipeArea);
        make.height.mas_equalTo(SumWorkTrad.fastAgeWidth.lookDidUnion);
    }];
    
    
    self.bufferingTextField = [SumWorkTrad displayedMinimumVolumesMidCleanExpansionCode];
    [self.view addSubview:self.bufferingTextField];
    [self.bufferingTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.flippedRainTextField.mas_bottom).offset(SumWorkTrad.fastAgeWidth.quantityLeft);
        make.left.mas_equalTo(SumWorkTrad.fastAgeWidth.mixSwipeArea);
        make.height.mas_equalTo(SumWorkTrad.fastAgeWidth.lookDidUnion);
    }];
    
    newtons(self);
    self.anchoringButton.lazyKinBarAgeAction = ^{
        illExtras(self);
        NSString *hurricaneCode = self.flippedRainTextField.minWireEastUse;
        NSString *windowBevel = self.flippedRainTextField.dropHeavyCupRepeatsUrgent;
        if (self.flippedRainTextField.flippedRainTextField.text.seeBecomeThe) {
            [self.anchoringButton goalGrandauntArtTelephotoKirghiz];
            [PanAlertView mobileDiscardMouthPriceDescendDistance:SumWorkTrad.arrayLawAllTop.infoEmpty message:SumWorkTrad.arrayLawAllTop.observedTransferSurgePurpleDisplayedPortion completion:nil];
            return;
        }
        if ([self.molarEvictMap respondsToSelector:@selector(lightenRootFixAreaPinUtteranceYouType:busFrontFix:feedCode:completion:)]) {
            [TurkmenOddView carUnifiedFaxWindow];
            [self.molarEvictMap lightenRootFixAreaPinUtteranceYouType:SumWorkTrad.fastAgeWidth.execPairBagTen busFrontFix:windowBevel feedCode:hurricaneCode completion:^(id object) {
                [TurkmenOddView zipTagsChamberDateDetailWindow];
                if ([object boolValue]) {
                    [BusToast linkLowTip:SumWorkTrad.arrayLawAllTop.eraQuerySetupTintSpaConnectedCode];
                }else {
                    [self.anchoringButton goalGrandauntArtTelephotoKirghiz];
                }
            }];
        }
    };
    [self.view addSubview:self.anchoringButton];
    [self.anchoringButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.bufferingTextField);
        make.height.equalTo(self.bufferingTextField);
        make.left.equalTo(self.bufferingTextField.mas_right).offset(SumWorkTrad.fastAgeWidth.databasesBus);
        make.right.equalTo(self.flippedRainTextField);
    }];
    
    
    [self.anchoringButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *speedTailButton = [SumWorkTrad mandatoryTakeNonceSearchUniqueColor:SumWorkTrad.arrayLawAllTop.armpitTriggeredTalkArePartially];
    [speedTailButton addTarget:self action:@selector(rainAmpereListenIntegerHomeAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:speedTailButton];
    [speedTailButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.bufferingTextField.mas_bottom).offset(SumWorkTrad.fastAgeWidth.quantityLeft);
        make.left.mas_equalTo(SumWorkTrad.fastAgeWidth.mixSwipeArea);
        make.right.mas_equalTo(-SumWorkTrad.fastAgeWidth.mixSwipeArea);
        make.height.mas_equalTo(SumWorkTrad.fastAgeWidth.clientBitHit);
    }];
}

- (void)rainAmpereListenIntegerHomeAction:(id)sender {
    if (self.flippedRainTextField.flippedRainTextField.text.seeBecomeThe) {
        [PanAlertView mobileDiscardMouthPriceDescendDistance:SumWorkTrad.arrayLawAllTop.infoEmpty message:SumWorkTrad.arrayLawAllTop.observedTransferSurgePurpleDisplayedPortion completion:nil];
        return;
    }
    if (self.bufferingTextField.text.seeBecomeThe) {
        [PanAlertView mobileDiscardMouthPriceDescendDistance:SumWorkTrad.arrayLawAllTop.infoEmpty message:SumWorkTrad.arrayLawAllTop.coverageDroppedShortcutsOldestStopped completion:nil];
        return;
    }
    NSString *hurricaneCode = self.flippedRainTextField.minWireEastUse;
    NSString *windowBevel = self.flippedRainTextField.dropHeavyCupRepeatsUrgent;
    if ([self.molarEvictMap respondsToSelector:@selector(acquireVolatileInsertionAxesProblemEpisodeIll:code:feedCode:completion:)]) {
        [TurkmenOddView carUnifiedFaxWindow];
        [self.molarEvictMap acquireVolatileInsertionAxesProblemEpisodeIll:windowBevel code:self.bufferingTextField.text feedCode:hurricaneCode completion:^(id object) {
            [TurkmenOddView zipTagsChamberDateDetailWindow];
            if ([object boolValue]) {
                [[WrestlingManager shared] overhangHardSentGracefulKazakhTeacherViewController:self.navigationController];
                [BusToast linkLowTip:SumWorkTrad.arrayLawAllTop.ropeLoadRegularFloatIssuerTrust];
                if ([self.shelfWhoBus[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *turnZoneEra = (WKWebView *)self.shelfWhoBus[1];
                    [turnZoneEra reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.anchoringButton goalGrandauntArtTelephotoKirghiz];
}

@end
