






#import "SpaAscentViewController.h"
#import "PinClampingButton.h"
#import "DisparityEventViewController.h"
#import "SinToast.h"
#import "CapsGoalGetLabel.h"
#import "BlurRoundTextField.h"
#import "NSString+TwoPhotos.h"

@interface SpaAscentViewController ()

@property (nonatomic, strong) BlurRoundTextField *adapterDustTextField;
@property (nonatomic, strong) UITextField *zoneLossyTextField;
@property (nonatomic, strong) PinClampingButton *safariHueButton;
@property (nonatomic,strong) CapsGoalGetLabel *hisRareAboutLabel;

@end

@implementation SpaAscentViewController

- (PinClampingButton *)safariHueButton {
    if (!_safariHueButton) {
        _safariHueButton = [[PinClampingButton alloc] init];
    }
    return _safariHueButton;
}

- (CapsGoalGetLabel *)hisRareAboutLabel {
    if (!_hisRareAboutLabel) {
        _hisRareAboutLabel = [CapsGoalGetLabel resourceBrandLabel:NO];
    }
    return _hisRareAboutLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.adapterDustTextField = [[BlurRoundTextField alloc] initWithController:self];
    [self.view addSubview:self.adapterDustTextField];
    [self.adapterDustTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(PintResting.findClickCat.treeKinAcute);
        make.left.mas_equalTo(PintResting.findClickCat.redSeasonFax);
        make.right.mas_equalTo(-PintResting.findClickCat.redSeasonFax);
        make.height.mas_equalTo(PintResting.findClickCat.capHybridAre);
    }];
    
    
    self.zoneLossyTextField = [PintResting pitchBackNepaliBirthBuildSiteCode];
    [self.view addSubview:self.zoneLossyTextField];
    [self.zoneLossyTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.adapterDustTextField.mas_bottom).offset(PintResting.findClickCat.weekBlendTap);
        make.left.mas_equalTo(PintResting.findClickCat.redSeasonFax);
        make.height.mas_equalTo(PintResting.findClickCat.capHybridAre);
    }];
    
    eggWeek(self);
    self.safariHueButton.saltNormalizeAction = ^{
        queryBlue(self);
        NSString *neverTiedCode = self.adapterDustTextField.smileLocations;
        NSString *traitAllHas = self.adapterDustTextField.altimeterOurNoteProducerLeaky;
        if (self.adapterDustTextField.adapterDustTextField.text.mayItsPartly) {
            [self.safariHueButton yellowCinematicRectangleSymbolicStore];
            [UseAlertView succeededTopPoolClipDanceQuerying:PintResting.exposeLeapAuto.pathWrong message:PintResting.exposeLeapAuto.magicEscapeAccordingOldEraserMap completion:nil];
            return;
        }
        if ([self.costWasArtMid respondsToSelector:@selector(slightDependingUploadingRevertingFutureCoastPenType:itsTorchAir:tallCode:completion:)]) {
            [EmptyBatchView earBagCapUsesWindow];
            [self.costWasArtMid slightDependingUploadingRevertingFutureCoastPenType:PintResting.findClickCat.jobUtilityLegalRemembersFlemish itsTorchAir:traitAllHas tallCode:neverTiedCode completion:^(id object) {
                [EmptyBatchView birthdayCertSegmentedHeadVortexWindow];
                if ([object boolValue]) {
                    [SinToast sawTagWarp:PintResting.exposeLeapAuto.succeedAdditiveInvisibleLambdaPedometerSodiumCode];
                }else {
                    [self.safariHueButton yellowCinematicRectangleSymbolicStore];
                }
            }];
        }
    };
    [self.view addSubview:self.safariHueButton];
    [self.safariHueButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.zoneLossyTextField);
        make.height.equalTo(self.zoneLossyTextField);
        make.right.equalTo(self.adapterDustTextField);
        
        make.width.mas_equalTo(self.safariHueButton.titleLabel.intrinsicContentSize.width + PintResting.findClickCat.advanceValue);
    }];
    
    [self.zoneLossyTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.safariHueButton.mas_left).offset(-PintResting.findClickCat.askSegmented);
    }];
    
    
    UIButton *issueEligibleButton = [PintResting serbianManInvokeSnapshotTwelveColor:PintResting.exposeLeapAuto.cloudTranslateSunConstantIncrementNegotiate];
    [issueEligibleButton addTarget:self action:@selector(lengthMidGreekOceanEndAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:issueEligibleButton];
    [issueEligibleButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.zoneLossyTextField.mas_bottom).offset(PintResting.findClickCat.weekBlendTap);
        make.left.mas_equalTo(PintResting.findClickCat.redSeasonFax);
        make.right.mas_equalTo(-PintResting.findClickCat.redSeasonFax);
        make.height.mas_equalTo(PintResting.findClickCat.artThousands);
    }];
    
    [self.view addSubview:self.hisRareAboutLabel];
    [self.hisRareAboutLabel setBevelOptimizeCutGuaraniSinSpa:^{
        queryBlue(self);
        [self tagIntegrateAlcoholDuplexVectorCriticalAction];
    }];
    [self.hisRareAboutLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-PintResting.findClickCat.wateryReview);
        make.left.mas_equalTo(PintResting.findClickCat.tomorrowCase);
        make.right.mas_equalTo(-PintResting.findClickCat.tomorrowCase);
    }];
}

- (void)lengthMidGreekOceanEndAction:(UIButton *)sender {
    if (self.adapterDustTextField.adapterDustTextField.text.mayItsPartly) {
        [UseAlertView succeededTopPoolClipDanceQuerying:PintResting.exposeLeapAuto.pathWrong message:PintResting.exposeLeapAuto.magicEscapeAccordingOldEraserMap completion:nil];
        return;
    }
    if (self.zoneLossyTextField.text.mayItsPartly) {
        [UseAlertView succeededTopPoolClipDanceQuerying:PintResting.exposeLeapAuto.pathWrong message:PintResting.exposeLeapAuto.buddhistUpdatingProvisionImmediateInset completion:nil];
        return;
    }
    NSString *neverTiedCode = self.adapterDustTextField.smileLocations;
    NSString *traitAllHas = self.adapterDustTextField.altimeterOurNoteProducerLeaky;
    if ([self.costWasArtMid respondsToSelector:@selector(endpointsCommitMasteringSearchLearnMiterOccurWho:code:tallCode:completion:)]) {
        [EmptyBatchView earBagCapUsesWindow];
        [self.costWasArtMid endpointsCommitMasteringSearchLearnMiterOccurWho:traitAllHas code:self.zoneLossyTextField.text tallCode:neverTiedCode completion:^(id object) {
            [EmptyBatchView birthdayCertSegmentedHeadVortexWindow];
        }];
    }
}


- (void)tagIntegrateAlcoholDuplexVectorCriticalAction {
    DisparityEventViewController *sayDisplayed = [DisparityEventViewController new];
    sayDisplayed.grandsonPop = @(YES);
    sayDisplayed.costWasArtMid = self.costWasArtMid;
    [sayDisplayed setInteriorKurdishRevertSelectInside:^(BOOL result) {
        self.hisRareAboutLabel.portMaskIgnore = result;
    }];
    [self.navigationController pushViewController:sayDisplayed animated:NO];
}

- (void)dealloc {
    [self.safariHueButton yellowCinematicRectangleSymbolicStore];
}
@end
