






#import "WideProvisionViewController.h"
#import "FarCupGreenButton.h"
#import "SawToast.h"
#import "NeedGuideTextField.h"
#import "NSString+Precision.h"
@import WebKit;

@interface WideProvisionViewController ()

@property (nonatomic, strong) NeedGuideTextField *swappedTiedTextField;
@property (nonatomic, strong) UITextField *coverPathTextField;
@property (nonatomic, strong) FarCupGreenButton *prominentButton;

@end

@implementation WideProvisionViewController


- (FarCupGreenButton *)prominentButton {
    if (!_prominentButton) {
        _prominentButton = [[FarCupGreenButton alloc] init];
    }
    return _prominentButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.warpFitWonButton.hidden = [self.retBlurTime[0] boolValue];
    
    UILabel *areLabel = [SobIllWelsh referenceMajorRaceAngularBegan:SobIllWelsh.notHeapPeerRed.eastProvinceLatvianDependingSamplingCreator];
    areLabel.numberOfLines = 0;
    [self.view addSubview:areLabel];
    [areLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(SobIllWelsh.followBigKit.trackAreRedo);
        make.left.mas_equalTo(SobIllWelsh.followBigKit.trackAreRedo);
        make.right.mas_equalTo(-SobIllWelsh.followBigKit.trackAreRedo);
    }];
    
    
    self.swappedTiedTextField = [[NeedGuideTextField alloc] initWithController:self];
    [self.view addSubview:self.swappedTiedTextField];
    [self.swappedTiedTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(areLabel.mas_bottom).offset(SobIllWelsh.followBigKit.canSlovakAge);
        make.left.mas_equalTo(SobIllWelsh.followBigKit.busStepAsset);
        make.right.mas_equalTo(-SobIllWelsh.followBigKit.busStepAsset);
        make.height.mas_equalTo(SobIllWelsh.followBigKit.elderRowsEar);
    }];
    
    
    self.coverPathTextField = [SobIllWelsh chapterLaunchedSuddenSymbolShotItalicsCode];
    [self.view addSubview:self.coverPathTextField];
    [self.coverPathTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.swappedTiedTextField.mas_bottom).offset(SobIllWelsh.followBigKit.topFirstShot);
        make.left.mas_equalTo(SobIllWelsh.followBigKit.busStepAsset);
        make.height.mas_equalTo(SobIllWelsh.followBigKit.elderRowsEar);
    }];
    
    descent(self);
    self.prominentButton.adoptWasMixerAction = ^{
        unbounded(self);
        NSString *locationsCode = self.swappedTiedTextField.mindKnowTryFix;
        NSString *oddDisorder = self.swappedTiedTextField.hiddenTabSegmentedUnlikelyPrior;
        if (self.swappedTiedTextField.swappedTiedTextField.text.darkerTagger) {
            [self.prominentButton herPinBeganMolePlace];
            [BitAlertView combinedSymbolsConjugateOptReuseFarthest:SobIllWelsh.notHeapPeerRed.badObject message:SobIllWelsh.notHeapPeerRed.exceptionLowAnimatingTerabytesPulseResting completion:nil];
            return;
        }
        if ([self.alienHoldEdit respondsToSelector:@selector(eggPetiteSecurelyGenericsBedStrokeScheduledType:lacrosseYou:moleCode:completion:)]) {
            [AskWillCatView ratioLawWorldWindow];
            [self.alienHoldEdit eggPetiteSecurelyGenericsBedStrokeScheduledType:SobIllWelsh.followBigKit.runBigThinTrad lacrosseYou:oddDisorder moleCode:locationsCode completion:^(id object) {
                [AskWillCatView strongestSeparatorAddPasswordsSpouseWindow];
                if ([object boolValue]) {
                    [SawToast bitStylize:SobIllWelsh.notHeapPeerRed.wrapPrologLevelWonWeightsStriationCode];
                }else {
                    [self.prominentButton herPinBeganMolePlace];
                }
            }];
        }
    };
    [self.view addSubview:self.prominentButton];
    [self.prominentButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.coverPathTextField);
        make.height.equalTo(self.coverPathTextField);
        make.left.equalTo(self.coverPathTextField.mas_right).offset(SobIllWelsh.followBigKit.herPreserved);
        make.right.equalTo(self.swappedTiedTextField);
    }];
    
    
    [self.prominentButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *selectSubButton = [SobIllWelsh allExistExecutionCreditsJumpColor:SobIllWelsh.notHeapPeerRed.headerExhaustedShadowLatvianHour];
    [selectSubButton addTarget:self action:@selector(storageTeethLappishPasswordsSizeAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:selectSubButton];
    [selectSubButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.coverPathTextField.mas_bottom).offset(SobIllWelsh.followBigKit.topFirstShot);
        make.left.mas_equalTo(SobIllWelsh.followBigKit.busStepAsset);
        make.right.mas_equalTo(-SobIllWelsh.followBigKit.busStepAsset);
        make.height.mas_equalTo(SobIllWelsh.followBigKit.floatWaxPlus);
    }];
}

- (void)storageTeethLappishPasswordsSizeAction:(id)sender {
    if (self.swappedTiedTextField.swappedTiedTextField.text.darkerTagger) {
        [BitAlertView combinedSymbolsConjugateOptReuseFarthest:SobIllWelsh.notHeapPeerRed.badObject message:SobIllWelsh.notHeapPeerRed.exceptionLowAnimatingTerabytesPulseResting completion:nil];
        return;
    }
    if (self.coverPathTextField.text.darkerTagger) {
        [BitAlertView combinedSymbolsConjugateOptReuseFarthest:SobIllWelsh.notHeapPeerRed.badObject message:SobIllWelsh.notHeapPeerRed.wordReportsCollisionCloudMarkup completion:nil];
        return;
    }
    NSString *locationsCode = self.swappedTiedTextField.mindKnowTryFix;
    NSString *oddDisorder = self.swappedTiedTextField.hiddenTabSegmentedUnlikelyPrior;
    if ([self.alienHoldEdit respondsToSelector:@selector(dryMathOtherTransferWaitingPutImperial:code:moleCode:completion:)]) {
        [AskWillCatView ratioLawWorldWindow];
        [self.alienHoldEdit dryMathOtherTransferWaitingPutImperial:oddDisorder code:self.coverPathTextField.text moleCode:locationsCode completion:^(id object) {
            [AskWillCatView strongestSeparatorAddPasswordsSpouseWindow];
            if ([object boolValue]) {
                [[SleepPairManager shared] cinematicLaunchedParameterInfinityIssueOtherViewController:self.navigationController];
                [SawToast bitStylize:SobIllWelsh.notHeapPeerRed.thicknessMailMongolianLossyAnonymousDefines];
                if ([self.retBlurTime[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *thickBanner = (WKWebView *)self.retBlurTime[1];
                    [thickBanner reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.prominentButton herPinBeganMolePlace];
}

@end
