






#import "WireTorchFaceViewController.h"
#import "PageZipStayButton.h"
#import "MaxToast.h"
#import "LateEnterTextField.h"
#import "NSString+PublicDry.h"
@import WebKit;

@interface WireTorchFaceViewController ()

@property (nonatomic, strong) LateEnterTextField *rowBagSliceTextField;
@property (nonatomic, strong) UITextField *mightHomeTextField;
@property (nonatomic, strong) PageZipStayButton *violationButton;

@end

@implementation WireTorchFaceViewController


- (PageZipStayButton *)violationButton {
    if (!_violationButton) {
        _violationButton = [[PageZipStayButton alloc] init];
    }
    return _violationButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.reportsHasButton.hidden = [self.yetLearnTab[0] boolValue];
    
    UILabel *bagLabel = [CupDenyLeap temporalDownloadAdjustSiblingsStyle:CupDenyLeap.cutReuseIcyOur.outletReservedDividerLostRotorGrouped];
    bagLabel.numberOfLines = 0;
    [self.view addSubview:bagLabel];
    [bagLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(CupDenyLeap.rarePutOther.producesGasp);
        make.left.mas_equalTo(CupDenyLeap.rarePutOther.producesGasp);
        make.right.mas_equalTo(-CupDenyLeap.rarePutOther.producesGasp);
    }];
    
    
    self.rowBagSliceTextField = [[LateEnterTextField alloc] initWithController:self];
    [self.view addSubview:self.rowBagSliceTextField];
    [self.rowBagSliceTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(bagLabel.mas_bottom).offset(CupDenyLeap.rarePutOther.senseDescent);
        make.left.mas_equalTo(CupDenyLeap.rarePutOther.preservedWas);
        make.right.mas_equalTo(-CupDenyLeap.rarePutOther.preservedWas);
        make.height.mas_equalTo(CupDenyLeap.rarePutOther.dragErrorBag);
    }];
    
    
    self.mightHomeTextField = [CupDenyLeap yetSixteenLifetimeSymbolBurnLighterCode];
    [self.view addSubview:self.mightHomeTextField];
    [self.mightHomeTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.rowBagSliceTextField.mas_bottom).offset(CupDenyLeap.rarePutOther.negativePeer);
        make.left.mas_equalTo(CupDenyLeap.rarePutOther.preservedWas);
        make.height.mas_equalTo(CupDenyLeap.rarePutOther.dragErrorBag);
    }];
    
    justWay(self);
    self.violationButton.dependingFeedAction = ^{
        uploadCan(self);
        NSString *anyBasqueCode = self.rowBagSliceTextField.growBlobEndOff;
        NSString *fitDecayToo = self.rowBagSliceTextField.flemishLeftOverwriteWeightsPrime;
        if (self.rowBagSliceTextField.rowBagSliceTextField.text.mediaOurLong) {
            [self.violationButton sheetShiftGroupingClosestRead];
            [DogAlertView issuerIdenticalClangPeriodicPartiallySegue:CupDenyLeap.cutReuseIcyOur.chatLevel message:CupDenyLeap.cutReuseIcyOur.jobCheckCupBleedLikeChoose completion:nil];
            return;
        }
        if ([self.mixCatVisible respondsToSelector:@selector(cubicSecondaryAlbumTeacherMapSolveHowType:takeFullWon:axesCode:completion:)]) {
            [RedScriptsView draftMaleToolWindow];
            [self.mixCatVisible cubicSecondaryAlbumTeacherMapSolveHowType:CupDenyLeap.rarePutOther.drumBlendPivot takeFullWon:fitDecayToo axesCode:anyBasqueCode completion:^(id object) {
                [RedScriptsView restTexturedHelpStorylineLanguagesWindow];
                if ([object boolValue]) {
                    [MaxToast devicesPan:CupDenyLeap.cutReuseIcyOur.hitBlueFrequencyArtHeadBufferingCode];
                }else {
                    [self.violationButton sheetShiftGroupingClosestRead];
                }
            }];
        }
    };
    [self.view addSubview:self.violationButton];
    [self.violationButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.mightHomeTextField);
        make.height.equalTo(self.mightHomeTextField);
        make.right.equalTo(self.rowBagSliceTextField);
        
        make.width.mas_equalTo(self.violationButton.titleLabel.intrinsicContentSize.width + CupDenyLeap.rarePutOther.producesGasp);
    }];
    
    [self.mightHomeTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.violationButton.mas_left).offset(-CupDenyLeap.rarePutOther.builderLiner);
    }];
    
    
    UIButton *willCheckButton = [CupDenyLeap endSourceApplierAchievedLigatureColor:CupDenyLeap.cutReuseIcyOur.unchangedDesignerAreBadgeArtwork];
    [willCheckButton addTarget:self action:@selector(maxCenteredLenientPrintRegionAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:willCheckButton];
    [willCheckButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.mightHomeTextField.mas_bottom).offset(CupDenyLeap.rarePutOther.negativePeer);
        make.left.mas_equalTo(CupDenyLeap.rarePutOther.preservedWas);
        make.right.mas_equalTo(-CupDenyLeap.rarePutOther.preservedWas);
        make.height.mas_equalTo(CupDenyLeap.rarePutOther.canSideRaise);
    }];
}

- (void)maxCenteredLenientPrintRegionAction:(id)sender {
    if (self.rowBagSliceTextField.rowBagSliceTextField.text.mediaOurLong) {
        [DogAlertView issuerIdenticalClangPeriodicPartiallySegue:CupDenyLeap.cutReuseIcyOur.chatLevel message:CupDenyLeap.cutReuseIcyOur.jobCheckCupBleedLikeChoose completion:nil];
        return;
    }
    if (self.mightHomeTextField.text.mediaOurLong) {
        [DogAlertView issuerIdenticalClangPeriodicPartiallySegue:CupDenyLeap.cutReuseIcyOur.chatLevel message:CupDenyLeap.cutReuseIcyOur.bitRedirectSomaliFitnessPower completion:nil];
        return;
    }
    NSString *anyBasqueCode = self.rowBagSliceTextField.growBlobEndOff;
    NSString *fitDecayToo = self.rowBagSliceTextField.flemishLeftOverwriteWeightsPrime;
    if ([self.mixCatVisible respondsToSelector:@selector(bridgingEnumerateSliderMountedLeakyHalfLease:code:axesCode:completion:)]) {
        [RedScriptsView draftMaleToolWindow];
        [self.mixCatVisible bridgingEnumerateSliderMountedLeakyHalfLease:fitDecayToo code:self.mightHomeTextField.text axesCode:anyBasqueCode completion:^(id object) {
            [RedScriptsView restTexturedHelpStorylineLanguagesWindow];
            if ([object boolValue]) {
                [[CutStringManager shared] initiatedOldTradBagSnapshotMostlyViewController:self.navigationController];
                [MaxToast devicesPan:CupDenyLeap.cutReuseIcyOur.verticalIntentsTallLearnExchangesSee];
                if ([self.yetLearnTab[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *usePersonal = (WKWebView *)self.yetLearnTab[1];
                    [usePersonal reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.violationButton sheetShiftGroupingClosestRead];
}

@end
