






#import "WhoBigCommandViewController.h"
#import "GraySeedTapButton.h"
#import "CatToast.h"
#import "FoggyDenyTextField.h"
#import "NSString+Redirects.h"
@import WebKit;

@interface WhoBigCommandViewController ()

@property (nonatomic, strong) FoggyDenyTextField *gravityMoleTextField;
@property (nonatomic, strong) UITextField *realmAwayTextField;
@property (nonatomic, strong) GraySeedTapButton *rareAcuteButton;

@end

@implementation WhoBigCommandViewController


- (GraySeedTapButton *)rareAcuteButton {
    if (!_rareAcuteButton) {
        _rareAcuteButton = [[GraySeedTapButton alloc] init];
    }
    return _rareAcuteButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.anyDisplayButton.hidden = [self.barsOptSpan[0] boolValue];
    
    UILabel *bitLabel = [DistantEach hisCancelledAnchorsSpineBehave:DistantEach.earMayTopModel.peakViabilityFinderSayMalformedPashto];
    bitLabel.numberOfLines = 0;
    [self.view addSubview:bitLabel];
    [bitLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(DistantEach.whoFrenchMin.pipeFlexible);
        make.left.mas_equalTo(DistantEach.whoFrenchMin.pipeFlexible);
        make.right.mas_equalTo(-DistantEach.whoFrenchMin.pipeFlexible);
    }];
    
    
    self.gravityMoleTextField = [[FoggyDenyTextField alloc] initWithController:self];
    [self.view addSubview:self.gravityMoleTextField];
    [self.gravityMoleTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(bitLabel.mas_bottom).offset(DistantEach.whoFrenchMin.napDatumUsed);
        make.left.mas_equalTo(DistantEach.whoFrenchMin.topFatChrome);
        make.right.mas_equalTo(-DistantEach.whoFrenchMin.topFatChrome);
        make.height.mas_equalTo(DistantEach.whoFrenchMin.peopleHealth);
    }];
    
    
    self.realmAwayTextField = [DistantEach powerCellphoneSuspendedStartStandardDraftCode];
    [self.view addSubview:self.realmAwayTextField];
    [self.realmAwayTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.gravityMoleTextField.mas_bottom).offset(DistantEach.whoFrenchMin.azimuthStake);
        make.left.mas_equalTo(DistantEach.whoFrenchMin.topFatChrome);
        make.height.mas_equalTo(DistantEach.whoFrenchMin.peopleHealth);
    }];
    
    ourCost(self);
    self.rareAcuteButton.kitAnyBlueTryAction = ^{
        deviceBed(self);
        NSString *draftMainCode = self.gravityMoleTextField.offCycleHitAir;
        NSString *archivedWho = self.gravityMoleTextField.filterRightDecigramsPublishRight;
        if (self.gravityMoleTextField.gravityMoleTextField.text.penBiotinIts) {
            [self.rareAcuteButton romanianCursorLivePoolLuminance];
            [IcyAlertView quotationCollectedPubPopSupportsMouse:DistantEach.earMayTopModel.focusHail message:DistantEach.earMayTopModel.insertionBookBinHostSunAudiences completion:nil];
            return;
        }
        if ([self.passiveAuthor respondsToSelector:@selector(modifiersForbiddenEarlyDecreaseLetterBitsExpandedType:unifyNapTap:tagsCode:completion:)]) {
            [MapLicenseView gallonTeacherWindow];
            [self.passiveAuthor modifiersForbiddenEarlyDecreaseLetterBitsExpandedType:DistantEach.whoFrenchMin.rawHasRainPint unifyNapTap:archivedWho tagsCode:draftMainCode completion:^(id object) {
                [MapLicenseView dismissRetTypeUnlimitedBodyWindow];
                if ([object boolValue]) {
                    [CatToast tryRetCall:DistantEach.earMayTopModel.embeddedOrganizeNodeButterflyColleagueSlantCode];
                }else {
                    [self.rareAcuteButton romanianCursorLivePoolLuminance];
                }
            }];
        }
    };
    [self.view addSubview:self.rareAcuteButton];
    [self.rareAcuteButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.realmAwayTextField);
        make.height.equalTo(self.realmAwayTextField);
        make.right.equalTo(self.gravityMoleTextField);
        
        make.width.mas_equalTo(self.rareAcuteButton.titleLabel.intrinsicContentSize.width + DistantEach.whoFrenchMin.pipeFlexible);
    }];
    
    [self.realmAwayTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.rareAcuteButton.mas_left).offset(-DistantEach.whoFrenchMin.loopsTypeRet);
    }];
    
    
    UIButton *planarFitButton = [DistantEach pongLocalExpiresEndBitColor:DistantEach.earMayTopModel.learnPictureCacheCosmicStill];
    [planarFitButton addTarget:self action:@selector(conductorMailOddConflictLegacyAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:planarFitButton];
    [planarFitButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.realmAwayTextField.mas_bottom).offset(DistantEach.whoFrenchMin.azimuthStake);
        make.left.mas_equalTo(DistantEach.whoFrenchMin.topFatChrome);
        make.right.mas_equalTo(-DistantEach.whoFrenchMin.topFatChrome);
        make.height.mas_equalTo(DistantEach.whoFrenchMin.torchTheSolo);
    }];
}

- (void)conductorMailOddConflictLegacyAction:(id)sender {
    if (self.gravityMoleTextField.gravityMoleTextField.text.penBiotinIts) {
        [IcyAlertView quotationCollectedPubPopSupportsMouse:DistantEach.earMayTopModel.focusHail message:DistantEach.earMayTopModel.insertionBookBinHostSunAudiences completion:nil];
        return;
    }
    if (self.realmAwayTextField.text.penBiotinIts) {
        [IcyAlertView quotationCollectedPubPopSupportsMouse:DistantEach.earMayTopModel.focusHail message:DistantEach.earMayTopModel.planeFootersScalarShotSeparator completion:nil];
        return;
    }
    NSString *draftMainCode = self.gravityMoleTextField.offCycleHitAir;
    NSString *archivedWho = self.gravityMoleTextField.filterRightDecigramsPublishRight;
    if ([self.passiveAuthor respondsToSelector:@selector(impactParticleCurlResumeCapActiveParallel:code:tagsCode:completion:)]) {
        [MapLicenseView gallonTeacherWindow];
        [self.passiveAuthor impactParticleCurlResumeCapActiveParallel:archivedWho code:self.realmAwayTextField.text tagsCode:draftMainCode completion:^(id object) {
            [MapLicenseView dismissRetTypeUnlimitedBodyWindow];
            if ([object boolValue]) {
                [[MatrixFixManager shared] sawHasKeyQuoteMillRequestedViewController:self.navigationController];
                [CatToast tryRetCall:DistantEach.earMayTopModel.linkUpdateObsoleteOddDryBlur];
                if ([self.barsOptSpan[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *busAdvisory = (WKWebView *)self.barsOptSpan[1];
                    [busAdvisory reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.rareAcuteButton romanianCursorLivePoolLuminance];
}

@end
