






#import "CoulombsExactViewController.h"
#import "IdiomAtomicButton.h"
#import "WetToast.h"
#import "CapHeaderTextField.h"
#import "NSString+Aggregate.h"
@import WebKit;

@interface CoulombsExactViewController ()

@property (nonatomic, strong) CapHeaderTextField *segueMidFitTextField;
@property (nonatomic, strong) UITextField *burnFarsiTextField;
@property (nonatomic, strong) IdiomAtomicButton *lawAmountButton;

@end

@implementation CoulombsExactViewController


- (IdiomAtomicButton *)lawAmountButton {
    if (!_lawAmountButton) {
        _lawAmountButton = [[IdiomAtomicButton alloc] init];
    }
    return _lawAmountButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.adjustSuchButton.hidden = [self.tryGreekEnd[0] boolValue];
    
    UILabel *redLabel = [PrintFarFor complexSolutionsDaysSuchKazakh:PrintFarFor.tempSockJobHas.sayDidTomorrowHockeyBorderedInside];
    redLabel.numberOfLines = 0;
    [self.view addSubview:redLabel];
    [redLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(PrintFarFor.guideMaySelf.staleOddJoin);
        make.left.mas_equalTo(PrintFarFor.guideMaySelf.staleOddJoin);
        make.right.mas_equalTo(-PrintFarFor.guideMaySelf.staleOddJoin);
    }];
    
    
    self.segueMidFitTextField = [[CapHeaderTextField alloc] initWithController:self];
    [self.view addSubview:self.segueMidFitTextField];
    [self.segueMidFitTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(redLabel.mas_bottom).offset(PrintFarFor.guideMaySelf.storeMutable);
        make.left.mas_equalTo(PrintFarFor.guideMaySelf.bagShotEqual);
        make.right.mas_equalTo(-PrintFarFor.guideMaySelf.bagShotEqual);
        make.height.mas_equalTo(PrintFarFor.guideMaySelf.bikeSurgeBin);
    }];
    
    
    self.burnFarsiTextField = [PrintFarFor checkBadgeTradSlovakTripleTaskCode];
    [self.view addSubview:self.burnFarsiTextField];
    [self.burnFarsiTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.segueMidFitTextField.mas_bottom).offset(PrintFarFor.guideMaySelf.binSentPress);
        make.left.mas_equalTo(PrintFarFor.guideMaySelf.bagShotEqual);
        make.height.mas_equalTo(PrintFarFor.guideMaySelf.bikeSurgeBin);
    }];
    
    theBand(self);
    self.lawAmountButton.transposeDarkAction = ^{
        illReturn(self);
        NSString *menArtistCode = self.segueMidFitTextField.rearIronAscent;
        NSString *fontWalking = self.segueMidFitTextField.cutLeadTraitRemovalPlanar;
        if (self.segueMidFitTextField.segueMidFitTextField.text.bodyAfterBox) {
            [self.lawAmountButton ignoresBlobTriggersRingUpdate];
            [NetAlertView ubiquityMildMileIntentMoreHello:PrintFarFor.tempSockJobHas.tallRelay message:PrintFarFor.tempSockJobHas.waxNotLatePaceHockeyFat completion:nil];
            return;
        }
        if ([self.postLoveRight respondsToSelector:@selector(carbonSegmentsProfilePortraitPositionsHasExtentsType:checkedWarp:turnCode:completion:)]) {
            [FireResizeView brushLabelCutWindow];
            [self.postLoveRight carbonSegmentsProfilePortraitPositionsHasExtentsType:PrintFarFor.guideMaySelf.ropeTwentyGram checkedWarp:fontWalking turnCode:menArtistCode completion:^(id object) {
                [FireResizeView milesLastGigahertzExpandingCosmicWindow];
                if ([object boolValue]) {
                    [WetToast treeResult:PrintFarFor.tempSockJobHas.fitExistentPenVerticalNetscapeSwashesCode];
                }else {
                    [self.lawAmountButton ignoresBlobTriggersRingUpdate];
                }
            }];
        }
    };
    [self.view addSubview:self.lawAmountButton];
    [self.lawAmountButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.burnFarsiTextField);
        make.height.equalTo(self.burnFarsiTextField);
        make.right.equalTo(self.segueMidFitTextField);
        
        make.width.mas_equalTo(self.lawAmountButton.titleLabel.intrinsicContentSize.width + PrintFarFor.guideMaySelf.staleOddJoin);
    }];
    
    [self.burnFarsiTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.lawAmountButton.mas_left).offset(-PrintFarFor.guideMaySelf.chatQuantize);
    }];
    
    
    UIButton *compositeButton = [PrintFarFor entityBlurDogBestDisablesColor:PrintFarFor.tempSockJobHas.rotorDispatchAzimuthHexIll];
    [compositeButton addTarget:self action:@selector(encipherCompileHandDescendedPrefersAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:compositeButton];
    [compositeButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.burnFarsiTextField.mas_bottom).offset(PrintFarFor.guideMaySelf.binSentPress);
        make.left.mas_equalTo(PrintFarFor.guideMaySelf.bagShotEqual);
        make.right.mas_equalTo(-PrintFarFor.guideMaySelf.bagShotEqual);
        make.height.mas_equalTo(PrintFarFor.guideMaySelf.thickChapter);
    }];
}

- (void)encipherCompileHandDescendedPrefersAction:(id)sender {
    if (self.segueMidFitTextField.segueMidFitTextField.text.bodyAfterBox) {
        [NetAlertView ubiquityMildMileIntentMoreHello:PrintFarFor.tempSockJobHas.tallRelay message:PrintFarFor.tempSockJobHas.waxNotLatePaceHockeyFat completion:nil];
        return;
    }
    if (self.burnFarsiTextField.text.bodyAfterBox) {
        [NetAlertView ubiquityMildMileIntentMoreHello:PrintFarFor.tempSockJobHas.tallRelay message:PrintFarFor.tempSockJobHas.enableDisablingBeaconsVideoLaw completion:nil];
        return;
    }
    NSString *menArtistCode = self.segueMidFitTextField.rearIronAscent;
    NSString *fontWalking = self.segueMidFitTextField.cutLeadTraitRemovalPlanar;
    if ([self.postLoveRight respondsToSelector:@selector(smallResumeOrderLaunchingLighterDirectionSoloist:code:turnCode:completion:)]) {
        [FireResizeView brushLabelCutWindow];
        [self.postLoveRight smallResumeOrderLaunchingLighterDirectionSoloist:fontWalking code:self.burnFarsiTextField.text turnCode:menArtistCode completion:^(id object) {
            [FireResizeView milesLastGigahertzExpandingCosmicWindow];
            if ([object boolValue]) {
                [[WeekStripManager shared] spanOwnDayNumeratorDroppedUpsideViewController:self.navigationController];
                [WetToast treeResult:PrintFarFor.tempSockJobHas.swipeArtOverallEscapingPermittedRank];
                if ([self.tryGreekEnd[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *reliableBed = (WKWebView *)self.tryGreekEnd[1];
                    [reliableBed reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.lawAmountButton ignoresBlobTriggersRingUpdate];
}

@end
