






#import "IcyWordDidMaxViewController.h"
#import "DescentRainButton.h"
#import "AndToast.h"
#import "InlandTheTextField.h"
#import "NSString+Receiving.h"
@import WebKit;

@interface IcyWordDidMaxViewController ()

@property (nonatomic, strong) InlandTheTextField *winHuePlainTextField;
@property (nonatomic, strong) UITextField *execTrustTextField;
@property (nonatomic, strong) DescentRainButton *cathedralButton;

@end

@implementation IcyWordDidMaxViewController


- (DescentRainButton *)cathedralButton {
    if (!_cathedralButton) {
        _cathedralButton = [[DescentRainButton alloc] init];
    }
    return _cathedralButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.visualPintButton.hidden = [self.mostTipRest[0] boolValue];
    
    UILabel *herLabel = [LambdaPatch segmentsPubChannelsBusImage:LambdaPatch.returnThatMode.momentBikeLambdaKilohertzTabExtending];
    herLabel.numberOfLines = 0;
    [self.view addSubview:herLabel];
    [herLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(LambdaPatch.faxChildBend.formScoreKey);
        make.left.mas_equalTo(LambdaPatch.faxChildBend.formScoreKey);
        make.right.mas_equalTo(-LambdaPatch.faxChildBend.formScoreKey);
    }];
    
    
    self.winHuePlainTextField = [[InlandTheTextField alloc] initWithController:self];
    [self.view addSubview:self.winHuePlainTextField];
    [self.winHuePlainTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(herLabel.mas_bottom).offset(LambdaPatch.faxChildBend.maxCropRetry);
        make.left.mas_equalTo(LambdaPatch.faxChildBend.mixFatExtent);
        make.right.mas_equalTo(-LambdaPatch.faxChildBend.mixFatExtent);
        make.height.mas_equalTo(LambdaPatch.faxChildBend.armPrintable);
    }];
    
    
    self.execTrustTextField = [LambdaPatch seeHandleTripleWalkingBecomePhonogramCode];
    [self.view addSubview:self.execTrustTextField];
    [self.execTrustTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.winHuePlainTextField.mas_bottom).offset(LambdaPatch.faxChildBend.carAscentCar);
        make.left.mas_equalTo(LambdaPatch.faxChildBend.mixFatExtent);
        make.height.mas_equalTo(LambdaPatch.faxChildBend.armPrintable);
    }];
    
    seekJob(self);
    self.cathedralButton.jobTagBookEggAction = ^{
        tiedMouse(self);
        NSString *publicAgeCode = self.winHuePlainTextField.noiseTailToday;
        NSString *tagBeganSun = self.winHuePlainTextField.declinedNumberMillTalkRet;
        if (self.winHuePlainTextField.winHuePlainTextField.text.whoPopManual) {
            [self.cathedralButton cancelledBleedTitleFocusingExclusive];
            [GetAlertView collapsesButterflyCapturesKernelsPairInvite:LambdaPatch.returnThatMode.alertUsed message:LambdaPatch.returnThatMode.unlockedIndentSmallElderExclusiveUkrainian completion:nil];
            return;
        }
        if ([self.loudPipeEmail respondsToSelector:@selector(scannedInvisibleRedRecordingBufferedOriginsRefusedType:lessFarHall:loveCode:completion:)]) {
            [HalfTapOddView kinAdobeEntryWindow];
            [self.loudPipeEmail scannedInvisibleRedRecordingBufferedOriginsRefusedType:LambdaPatch.faxChildBend.darkCloudyHelp lessFarHall:tagBeganSun loveCode:publicAgeCode completion:^(id object) {
                [HalfTapOddView badTremorTabChangingFailureWindow];
                if ([object boolValue]) {
                    [AndToast poloTarget:LambdaPatch.returnThatMode.midMinGaelicFetchedCompoundCarbonCode];
                }else {
                    [self.cathedralButton cancelledBleedTitleFocusingExclusive];
                }
            }];
        }
    };
    [self.view addSubview:self.cathedralButton];
    [self.cathedralButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.execTrustTextField);
        make.height.equalTo(self.execTrustTextField);
        make.right.equalTo(self.winHuePlainTextField);
        
        make.width.mas_equalTo(self.cathedralButton.titleLabel.intrinsicContentSize.width + LambdaPatch.faxChildBend.formScoreKey);
    }];
    
    [self.execTrustTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.cathedralButton.mas_left).offset(-LambdaPatch.faxChildBend.netDigestAre);
    }];
    
    
    UIButton *focalRollButton = [LambdaPatch keyOwnVowelFatFootColor:LambdaPatch.returnThatMode.hasBurstAnimatedReachableSignal];
    [focalRollButton addTarget:self action:@selector(appleScatteredAirborneReceiverSymbolsAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:focalRollButton];
    [focalRollButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.execTrustTextField.mas_bottom).offset(LambdaPatch.faxChildBend.carAscentCar);
        make.left.mas_equalTo(LambdaPatch.faxChildBend.mixFatExtent);
        make.right.mas_equalTo(-LambdaPatch.faxChildBend.mixFatExtent);
        make.height.mas_equalTo(LambdaPatch.faxChildBend.extendsDelay);
    }];
}

- (void)appleScatteredAirborneReceiverSymbolsAction:(id)sender {
    if (self.winHuePlainTextField.winHuePlainTextField.text.whoPopManual) {
        [GetAlertView collapsesButterflyCapturesKernelsPairInvite:LambdaPatch.returnThatMode.alertUsed message:LambdaPatch.returnThatMode.unlockedIndentSmallElderExclusiveUkrainian completion:nil];
        return;
    }
    if (self.execTrustTextField.text.whoPopManual) {
        [GetAlertView collapsesButterflyCapturesKernelsPairInvite:LambdaPatch.returnThatMode.alertUsed message:LambdaPatch.returnThatMode.resizeSlashesCornersUpscaleLocations completion:nil];
        return;
    }
    NSString *publicAgeCode = self.winHuePlainTextField.noiseTailToday;
    NSString *tagBeganSun = self.winHuePlainTextField.declinedNumberMillTalkRet;
    if ([self.loudPipeEmail respondsToSelector:@selector(socialPostalThickGigabytesMetabolicKeyPlug:code:loveCode:completion:)]) {
        [HalfTapOddView kinAdobeEntryWindow];
        [self.loudPipeEmail socialPostalThickGigabytesMetabolicKeyPlug:tagBeganSun code:self.execTrustTextField.text loveCode:publicAgeCode completion:^(id object) {
            [HalfTapOddView badTremorTabChangingFailureWindow];
            if ([object boolValue]) {
                [[FiberRaceManager shared] acquireRegularBarsRecordingNominallyAnimateViewController:self.navigationController];
                [AndToast poloTarget:LambdaPatch.returnThatMode.additionTaggingArtsSaveTurkmenWrite];
                if ([self.mostTipRest[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *bitRawForce = (WKWebView *)self.mostTipRest[1];
                    [bitRawForce reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.cathedralButton cancelledBleedTitleFocusingExclusive];
}

@end
