






#import "LostEastRightViewController.h"
#import "DelayedHoldButton.h"
#import "FunToast.h"
#import "SayToggleTextField.h"
#import "NSString+HangExtra.h"
@import WebKit;

@interface LostEastRightViewController ()

@property (nonatomic, strong) SayToggleTextField *arrayLingerTextField;
@property (nonatomic, strong) UITextField *motionEarTextField;
@property (nonatomic, strong) DelayedHoldButton *logoAcuteButton;

@end

@implementation LostEastRightViewController


- (DelayedHoldButton *)logoAcuteButton {
    if (!_logoAcuteButton) {
        _logoAcuteButton = [[DelayedHoldButton alloc] init];
    }
    return _logoAcuteButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.hairRetainButton.hidden = [self.cupEyeUnder[0] boolValue];
    
    UILabel *hitLabel = [ReadWaxDash cardioidStableSpouseOffSummary:ReadWaxDash.spaLiveIronTry.frenchAuthorSupplyAccuracyFailStrict];
    hitLabel.numberOfLines = 0;
    [self.view addSubview:hitLabel];
    [hitLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ReadWaxDash.strideFooter.birthCarrier);
        make.left.mas_equalTo(ReadWaxDash.strideFooter.birthCarrier);
        make.right.mas_equalTo(-ReadWaxDash.strideFooter.birthCarrier);
    }];
    
    
    self.arrayLingerTextField = [[SayToggleTextField alloc] initWithController:self];
    [self.view addSubview:self.arrayLingerTextField];
    [self.arrayLingerTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(hitLabel.mas_bottom).offset(ReadWaxDash.strideFooter.renderedLook);
        make.left.mas_equalTo(ReadWaxDash.strideFooter.canUsesLeast);
        make.right.mas_equalTo(-ReadWaxDash.strideFooter.canUsesLeast);
        make.height.mas_equalTo(ReadWaxDash.strideFooter.armenianPair);
    }];
    
    
    self.motionEarTextField = [ReadWaxDash insertionMaterialLessMildWarpLiveCode];
    [self.view addSubview:self.motionEarTextField];
    [self.motionEarTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.arrayLingerTextField.mas_bottom).offset(ReadWaxDash.strideFooter.brushSeedSin);
        make.left.mas_equalTo(ReadWaxDash.strideFooter.canUsesLeast);
        make.height.mas_equalTo(ReadWaxDash.strideFooter.armenianPair);
    }];
    
    seeUsed(self);
    self.logoAcuteButton.funLawBurmeseAction = ^{
        scalarNow(self);
        NSString *headGreenCode = self.arrayLingerTextField.mileBinRareDue;
        NSString *slabFunNear = self.arrayLingerTextField.outContactsFocusClinicalPrimaries;
        if (self.arrayLingerTextField.arrayLingerTextField.text.anchorsBatch) {
            [self.logoAcuteButton redoneHighlightDeepVariationCondition];
            [TenAlertView unlockLocalizedExistingStructureManagedTab:ReadWaxDash.spaLiveIronTry.alongMill message:ReadWaxDash.spaLiveIronTry.integrityRemainingVisitKeepElevationMix completion:nil];
            return;
        }
        if ([self.noiseAllowNap respondsToSelector:@selector(systemKilobytesBorderedStatementReturnBorderedClientsType:thumbLaunch:dropCode:completion:)]) {
            [TenJobJoinView nonceEmptyWinWindow];
            [self.noiseAllowNap systemKilobytesBorderedStatementReturnBorderedClientsType:ReadWaxDash.strideFooter.heartManArtPin thumbLaunch:slabFunNear dropCode:headGreenCode completion:^(id object) {
                [TenJobJoinView lemmaHigherNapPressBitWindow];
                if ([object boolValue]) {
                    [FunToast dashDanish:ReadWaxDash.spaLiveIronTry.kinDoneMeasuredMinimalDayExportCode];
                }else {
                    [self.logoAcuteButton redoneHighlightDeepVariationCondition];
                }
            }];
        }
    };
    [self.view addSubview:self.logoAcuteButton];
    [self.logoAcuteButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.motionEarTextField);
        make.height.equalTo(self.motionEarTextField);
        make.right.equalTo(self.arrayLingerTextField);
        
        make.width.mas_equalTo(self.logoAcuteButton.titleLabel.intrinsicContentSize.width + ReadWaxDash.strideFooter.birthCarrier);
    }];
    
    [self.motionEarTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.logoAcuteButton.mas_left).offset(-ReadWaxDash.strideFooter.slovenianCan);
    }];
    
    
    UIButton *deltaNoneButton = [ReadWaxDash ownNumbersFocusedWaistHebrewColor:ReadWaxDash.spaLiveIronTry.addAuxiliaryOrdinaryThreadedLigature];
    [deltaNoneButton addTarget:self action:@selector(monthImageChlorideHexPotentialAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:deltaNoneButton];
    [deltaNoneButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.motionEarTextField.mas_bottom).offset(ReadWaxDash.strideFooter.brushSeedSin);
        make.left.mas_equalTo(ReadWaxDash.strideFooter.canUsesLeast);
        make.right.mas_equalTo(-ReadWaxDash.strideFooter.canUsesLeast);
        make.height.mas_equalTo(ReadWaxDash.strideFooter.noneTertiary);
    }];
}

- (void)monthImageChlorideHexPotentialAction:(id)sender {
    if (self.arrayLingerTextField.arrayLingerTextField.text.anchorsBatch) {
        [TenAlertView unlockLocalizedExistingStructureManagedTab:ReadWaxDash.spaLiveIronTry.alongMill message:ReadWaxDash.spaLiveIronTry.integrityRemainingVisitKeepElevationMix completion:nil];
        return;
    }
    if (self.motionEarTextField.text.anchorsBatch) {
        [TenAlertView unlockLocalizedExistingStructureManagedTab:ReadWaxDash.spaLiveIronTry.alongMill message:ReadWaxDash.spaLiveIronTry.mandatoryEnhanceCathedralWhiteCadence completion:nil];
        return;
    }
    NSString *headGreenCode = self.arrayLingerTextField.mileBinRareDue;
    NSString *slabFunNear = self.arrayLingerTextField.outContactsFocusClinicalPrimaries;
    if ([self.noiseAllowNap respondsToSelector:@selector(trackingDraftUnitPaymentsLargeContrastHue:code:dropCode:completion:)]) {
        [TenJobJoinView nonceEmptyWinWindow];
        [self.noiseAllowNap trackingDraftUnitPaymentsLargeContrastHue:slabFunNear code:self.motionEarTextField.text dropCode:headGreenCode completion:^(id object) {
            [TenJobJoinView lemmaHigherNapPressBitWindow];
            if ([object boolValue]) {
                [[StandCapsManager shared] fitIllSobProducesEscapedPowerViewController:self.navigationController];
                [FunToast dashDanish:ReadWaxDash.spaLiveIronTry.strokingRequestedLocalesStaticMealAfter];
                if ([self.cupEyeUnder[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *hexPenThumb = (WKWebView *)self.cupEyeUnder[1];
                    [hexPenThumb reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.logoAcuteButton redoneHighlightDeepVariationCondition];
}

@end
