






#import "NowMinHyphensViewController.h"
#import "OutlinePipeButton.h"
#import "KeyToast.h"
#import "WithDrainTextField.h"
#import "NSString+Strongest.h"
@import WebKit;

@interface NowMinHyphensViewController ()

@property (nonatomic, strong) WithDrainTextField *muteInstantTextField;
@property (nonatomic, strong) UITextField *folderAnyTextField;
@property (nonatomic, strong) OutlinePipeButton *easyPhotoButton;

@end

@implementation NowMinHyphensViewController


- (OutlinePipeButton *)easyPhotoButton {
    if (!_easyPhotoButton) {
        _easyPhotoButton = [[OutlinePipeButton alloc] init];
    }
    return _easyPhotoButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.libraryFarButton.hidden = [self.upscaleDays[0] boolValue];
    
    UILabel *topLabel = [ClaimMaxBig joinFlushBlusterySpotlightSuspended:ClaimMaxBig.allFeedEarGolf.coercionSonOffModalDarkUniform];
    topLabel.numberOfLines = 0;
    [self.view addSubview:topLabel];
    [topLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ClaimMaxBig.applierPatch.wonSourceSay);
        make.left.mas_equalTo(ClaimMaxBig.applierPatch.wonSourceSay);
        make.right.mas_equalTo(-ClaimMaxBig.applierPatch.wonSourceSay);
    }];
    
    
    self.muteInstantTextField = [[WithDrainTextField alloc] initWithController:self];
    [self.view addSubview:self.muteInstantTextField];
    [self.muteInstantTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(topLabel.mas_bottom).offset(ClaimMaxBig.applierPatch.tipValueFree);
        make.left.mas_equalTo(ClaimMaxBig.applierPatch.plugRunClaim);
        make.right.mas_equalTo(-ClaimMaxBig.applierPatch.plugRunClaim);
        make.height.mas_equalTo(ClaimMaxBig.applierPatch.immediateYou);
    }];
    
    
    self.folderAnyTextField = [ClaimMaxBig updatesArtworkHeaderExecuteTabEmailCode];
    [self.view addSubview:self.folderAnyTextField];
    [self.folderAnyTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.muteInstantTextField.mas_bottom).offset(ClaimMaxBig.applierPatch.alpineBedFix);
        make.left.mas_equalTo(ClaimMaxBig.applierPatch.plugRunClaim);
        make.height.mas_equalTo(ClaimMaxBig.applierPatch.immediateYou);
    }];
    
    feature(self);
    self.easyPhotoButton.blockerEffortAction = ^{
        rowAttach(self);
        NSString *bestEjectCode = self.muteInstantTextField.bagBackTabTrad;
        NSString *sonChildSun = self.muteInstantTextField.constantSegueFinishedDiskBig;
        if (self.muteInstantTextField.muteInstantTextField.text.hexStandBand) {
            [self.easyPhotoButton clustersReceivedDrainShelfIdentical];
            [TwoAlertView oldDomainsDesignerSeeThreeAccurate:ClaimMaxBig.allFeedEarGolf.incorrect message:ClaimMaxBig.allFeedEarGolf.extentUnionUploadingShotKernelsInitial completion:nil];
            return;
        }
        if ([self.foreverStrong respondsToSelector:@selector(sessionsPortraitsClangStairWaistBankNeverType:tallZipMole:markCode:completion:)]) {
            [TopAgeDrumView zipHelpersPubWindow];
            [self.foreverStrong sessionsPortraitsClangStairWaistBankNeverType:ClaimMaxBig.applierPatch.packStackFiber tallZipMole:sonChildSun markCode:bestEjectCode completion:^(id object) {
                [TopAgeDrumView punjabiTargetParsingWakeTelephotoWindow];
                if ([object boolValue]) {
                    [KeyToast andArePace:ClaimMaxBig.allFeedEarGolf.respondsEventualSelectedCreditsTabTeluguCode];
                }else {
                    [self.easyPhotoButton clustersReceivedDrainShelfIdentical];
                }
            }];
        }
    };
    [self.view addSubview:self.easyPhotoButton];
    [self.easyPhotoButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.folderAnyTextField);
        make.height.equalTo(self.folderAnyTextField);
        make.left.equalTo(self.folderAnyTextField.mas_right).offset(ClaimMaxBig.applierPatch.turnHeadline);
        make.right.equalTo(self.muteInstantTextField);
    }];
    
    
    [self.easyPhotoButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *bedCameraButton = [ClaimMaxBig reportingOptionalNonceEquallyBreakingColor:ClaimMaxBig.allFeedEarGolf.modernTalkInteractAlignmentNow];
    [bedCameraButton addTarget:self action:@selector(tremorCentralWrapperSkippedPashtoAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:bedCameraButton];
    [bedCameraButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.folderAnyTextField.mas_bottom).offset(ClaimMaxBig.applierPatch.alpineBedFix);
        make.left.mas_equalTo(ClaimMaxBig.applierPatch.plugRunClaim);
        make.right.mas_equalTo(-ClaimMaxBig.applierPatch.plugRunClaim);
        make.height.mas_equalTo(ClaimMaxBig.applierPatch.cloudPutSign);
    }];
}

- (void)tremorCentralWrapperSkippedPashtoAction:(id)sender {
    if (self.muteInstantTextField.muteInstantTextField.text.hexStandBand) {
        [TwoAlertView oldDomainsDesignerSeeThreeAccurate:ClaimMaxBig.allFeedEarGolf.incorrect message:ClaimMaxBig.allFeedEarGolf.extentUnionUploadingShotKernelsInitial completion:nil];
        return;
    }
    if (self.folderAnyTextField.text.hexStandBand) {
        [TwoAlertView oldDomainsDesignerSeeThreeAccurate:ClaimMaxBig.allFeedEarGolf.incorrect message:ClaimMaxBig.allFeedEarGolf.discoveryDisplayedBiometryIgnoringProcesses completion:nil];
        return;
    }
    NSString *bestEjectCode = self.muteInstantTextField.bagBackTabTrad;
    NSString *sonChildSun = self.muteInstantTextField.constantSegueFinishedDiskBig;
    if ([self.foreverStrong respondsToSelector:@selector(vitalitySidebarWayAppendingFemaleArmUbiquity:code:markCode:completion:)]) {
        [TopAgeDrumView zipHelpersPubWindow];
        [self.foreverStrong vitalitySidebarWayAppendingFemaleArmUbiquity:sonChildSun code:self.folderAnyTextField.text markCode:bestEjectCode completion:^(id object) {
            [TopAgeDrumView punjabiTargetParsingWakeTelephotoWindow];
            if ([object boolValue]) {
                [[ZoneAngleManager shared] remotelyAskPeakOrganizeSortWonViewController:self.navigationController];
                [KeyToast andArePace:ClaimMaxBig.allFeedEarGolf.anchoringBusRecordInlandEstimatedProminent];
                if ([self.upscaleDays[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *storeSinTab = (WKWebView *)self.upscaleDays[1];
                    [storeSinTab reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.easyPhotoButton clustersReceivedDrainShelfIdentical];
}

@end
