






#import "PaperRollViewController.h"
#import "AskSubStormButton.h"
#import "LawLawInterHexViewController.h"
#import "SinToast.h"
#import "ArtDigitTagLabel.h"
#import "MeanWidthTextField.h"
#import "NSString+DrumVowel.h"

@interface PaperRollViewController ()

@property (nonatomic, strong) MeanWidthTextField *topDiscountTextField;
@property (nonatomic, strong) UITextField *frenchSunTextField;
@property (nonatomic, strong) AskSubStormButton *quitTrashButton;
@property (nonatomic,strong) ArtDigitTagLabel *followCenterLabel;

@end

@implementation PaperRollViewController

- (AskSubStormButton *)quitTrashButton {
    if (!_quitTrashButton) {
        _quitTrashButton = [[AskSubStormButton alloc] init];
    }
    return _quitTrashButton;
}

- (ArtDigitTagLabel *)followCenterLabel {
    if (!_followCenterLabel) {
        _followCenterLabel = [ArtDigitTagLabel releaseBetterLabel:NO];
    }
    return _followCenterLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.topDiscountTextField = [[MeanWidthTextField alloc] initWithController:self];
    [self.view addSubview:self.topDiscountTextField];
    [self.topDiscountTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(TooCloudSun.seeFocusSlab.napWhoCutter);
        make.left.mas_equalTo(TooCloudSun.seeFocusSlab.addAggregate);
        make.right.mas_equalTo(-TooCloudSun.seeFocusSlab.addAggregate);
        make.height.mas_equalTo(TooCloudSun.seeFocusSlab.plugTraitTwo);
    }];
    
    
    self.frenchSunTextField = [TooCloudSun cloudPanEarOperatingAnySourcesCode];
    [self.view addSubview:self.frenchSunTextField];
    [self.frenchSunTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.topDiscountTextField.mas_bottom).offset(TooCloudSun.seeFocusSlab.mediumDetail);
        make.left.mas_equalTo(TooCloudSun.seeFocusSlab.addAggregate);
        make.height.mas_equalTo(TooCloudSun.seeFocusSlab.plugTraitTwo);
    }];
    
    redoLow(self);
    self.quitTrashButton.indexOddNeverAction = ^{
        methodSum(self);
        NSString *maxVectorCode = self.topDiscountTextField.phoneAssertion;
        NSString *retryJobMin = self.topDiscountTextField.brushAccordingLuminanceExportWritten;
        if (self.topDiscountTextField.topDiscountTextField.text.voiceFooters) {
            [self.quitTrashButton librariesGrandauntRomanianTemplateBreak];
            [HowAlertView cupTheBagPeriodIntersectUnified:TooCloudSun.methodCaseItem.kelvinEnd message:TooCloudSun.methodCaseItem.artistReliableSentencesForwardsWristNearest completion:nil];
            return;
        }
        if ([self.tooPenPattern respondsToSelector:@selector(relationsFillInvertedToneSignatureWalkSolidType:scannedFour:jumpCode:completion:)]) {
            [DogButtonsView torchFinishedWindow];
            [self.tooPenPattern relationsFillInvertedToneSignatureWalkSolidType:TooCloudSun.seeFocusSlab.diacriticYahooAppleHandoverNibbles scannedFour:retryJobMin jumpCode:maxVectorCode completion:^(id object) {
                [DogButtonsView linearlySlowPermanentRetryStepperWindow];
                if ([object boolValue]) {
                    [SinToast insetSolve:TooCloudSun.methodCaseItem.daughterNeverSharpenSenseHerWasCode];
                }else {
                    [self.quitTrashButton librariesGrandauntRomanianTemplateBreak];
                }
            }];
        }
    };
    [self.view addSubview:self.quitTrashButton];
    [self.quitTrashButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.frenchSunTextField);
        make.height.equalTo(self.frenchSunTextField);
        make.right.equalTo(self.topDiscountTextField);
        
        make.width.mas_equalTo(self.quitTrashButton.titleLabel.intrinsicContentSize.width + TooCloudSun.seeFocusSlab.valuePingCap);
    }];
    
    [self.frenchSunTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.quitTrashButton.mas_left).offset(-TooCloudSun.seeFocusSlab.inuitSideDry);
    }];
    
    
    UIButton *exactnessTimeButton = [TooCloudSun mouthExtentsLettishSquaresMonotonicColor:TooCloudSun.methodCaseItem.parentLoadPlacementRearAdjustingRest];
    [exactnessTimeButton addTarget:self action:@selector(kitMinorSunRetriedConstructAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:exactnessTimeButton];
    [exactnessTimeButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.frenchSunTextField.mas_bottom).offset(TooCloudSun.seeFocusSlab.mediumDetail);
        make.left.mas_equalTo(TooCloudSun.seeFocusSlab.addAggregate);
        make.right.mas_equalTo(-TooCloudSun.seeFocusSlab.addAggregate);
        make.height.mas_equalTo(TooCloudSun.seeFocusSlab.ditherWhoBar);
    }];
    
    [self.view addSubview:self.followCenterLabel];
    [self.followCenterLabel setBordersEitherTeaspoonsBasicDiscountsString:^{
        methodSum(self);
        [self sunNextSurfaceContentsNotifyingOffAction];
    }];
    [self.followCenterLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-TooCloudSun.seeFocusSlab.howMergeNode);
        make.left.mas_equalTo(TooCloudSun.seeFocusSlab.busBitsDaily);
        make.right.mas_equalTo(-TooCloudSun.seeFocusSlab.busBitsDaily);
    }];
}

- (void)kitMinorSunRetriedConstructAction:(UIButton *)sender {
    if (self.topDiscountTextField.topDiscountTextField.text.voiceFooters) {
        [HowAlertView cupTheBagPeriodIntersectUnified:TooCloudSun.methodCaseItem.kelvinEnd message:TooCloudSun.methodCaseItem.artistReliableSentencesForwardsWristNearest completion:nil];
        return;
    }
    if (self.frenchSunTextField.text.voiceFooters) {
        [HowAlertView cupTheBagPeriodIntersectUnified:TooCloudSun.methodCaseItem.kelvinEnd message:TooCloudSun.methodCaseItem.promiseDenyNowPenVideo completion:nil];
        return;
    }
    NSString *maxVectorCode = self.topDiscountTextField.phoneAssertion;
    NSString *retryJobMin = self.topDiscountTextField.brushAccordingLuminanceExportWritten;
    if ([self.tooPenPattern respondsToSelector:@selector(languagesNicknameConductorDynamicCyrillicDuplexWatchStartup:code:jumpCode:completion:)]) {
        [DogButtonsView torchFinishedWindow];
        [self.tooPenPattern languagesNicknameConductorDynamicCyrillicDuplexWatchStartup:retryJobMin code:self.frenchSunTextField.text jumpCode:maxVectorCode completion:^(id object) {
            [DogButtonsView linearlySlowPermanentRetryStepperWindow];
        }];
    }
}


- (void)sunNextSurfaceContentsNotifyingOffAction {
    LawLawInterHexViewController *atomicHueBig = [LawLawInterHexViewController new];
    atomicHueBig.tablePanFor = @(YES);
    atomicHueBig.tooPenPattern = self.tooPenPattern;
    [atomicHueBig setGracefulObservePlanHourHusband:^(BOOL result) {
        self.followCenterLabel.rollOutRareOut = result;
    }];
    [self.navigationController pushViewController:atomicHueBig animated:NO];
}

- (void)dealloc {
    [self.quitTrashButton librariesGrandauntRomanianTemplateBreak];
}
@end
