






#import "SigmaPoloItemViewController.h"
#import "CertEggEachButton.h"
#import "KitToast.h"
#import "BeatCaretTextField.h"
#import "NSString+EvictFile.h"
@import WebKit;

@interface SigmaPoloItemViewController ()

@property (nonatomic, strong) BeatCaretTextField *charHisHangTextField;
@property (nonatomic, strong) UITextField *theRepairTextField;
@property (nonatomic, strong) CertEggEachButton *tenShrinkButton;

@end

@implementation SigmaPoloItemViewController


- (CertEggEachButton *)tenShrinkButton {
    if (!_tenShrinkButton) {
        _tenShrinkButton = [[CertEggEachButton alloc] init];
    }
    return _tenShrinkButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.acrossStopButton.hidden = [self.runServices[0] boolValue];
    
    UILabel *sonLabel = [OutTapPlain chromePanFloatingDisorderFold:OutTapPlain.loudMeterMount.flemishSolidEnablingPascalSlopeTeam];
    sonLabel.numberOfLines = 0;
    [self.view addSubview:sonLabel];
    [sonLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(OutTapPlain.parentMixMay.sandboxTamil);
        make.left.mas_equalTo(OutTapPlain.parentMixMay.sandboxTamil);
        make.right.mas_equalTo(-OutTapPlain.parentMixMay.sandboxTamil);
    }];
    
    
    self.charHisHangTextField = [[BeatCaretTextField alloc] initWithController:self];
    [self.view addSubview:self.charHisHangTextField];
    [self.charHisHangTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(sonLabel.mas_bottom).offset(OutTapPlain.parentMixMay.hasWasHigher);
        make.left.mas_equalTo(OutTapPlain.parentMixMay.takeWhiteArm);
        make.right.mas_equalTo(-OutTapPlain.parentMixMay.takeWhiteArm);
        make.height.mas_equalTo(OutTapPlain.parentMixMay.thirteenHigh);
    }];
    
    
    self.theRepairTextField = [OutTapPlain oldSmoothInstantEncodingCreateIcyCode];
    [self.view addSubview:self.theRepairTextField];
    [self.theRepairTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.charHisHangTextField.mas_bottom).offset(OutTapPlain.parentMixMay.hisHeavyFair);
        make.left.mas_equalTo(OutTapPlain.parentMixMay.takeWhiteArm);
        make.height.mas_equalTo(OutTapPlain.parentMixMay.thirteenHigh);
    }];
    
    spaBike(self);
    self.tenShrinkButton.truncatedLastAction = ^{
        parserWin(self);
        NSString *tildeChatCode = self.charHisHangTextField.recentUsedLine;
        NSString *startupHelp = self.charHisHangTextField.globalPhoneUnsignedPassSide;
        if (self.charHisHangTextField.charHisHangTextField.text.twoWonBypass) {
            [self.tenShrinkButton lazyGigabytesBirthdayLargestSlash];
            [SixAlertView eventPutJapaneseMoodEraAlarm:OutTapPlain.loudMeterMount.scrolling message:OutTapPlain.loudMeterMount.axialShelfUniqueHeadsetContainedThree completion:nil];
            return;
        }
        if ([self.imageChatFilm respondsToSelector:@selector(generatorAboutCoalescedNodeMoireArmourMapType:sexEntities:failCode:completion:)]) {
            [ManButThinView instantSubmitWindow];
            [self.imageChatFilm generatorAboutCoalescedNodeMoireArmourMapType:OutTapPlain.parentMixMay.pushDashLocale sexEntities:startupHelp failCode:tildeChatCode completion:^(id object) {
                [ManButThinView discardedEsperantoExternalAnimationPluralWindow];
                if ([object boolValue]) {
                    [KitToast sexFaxHeap:OutTapPlain.loudMeterMount.textButFocusingMaxRouteNowCode];
                }else {
                    [self.tenShrinkButton lazyGigabytesBirthdayLargestSlash];
                }
            }];
        }
    };
    [self.view addSubview:self.tenShrinkButton];
    [self.tenShrinkButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.theRepairTextField);
        make.height.equalTo(self.theRepairTextField);
        make.right.equalTo(self.charHisHangTextField);
        
        make.width.mas_equalTo(self.tenShrinkButton.titleLabel.intrinsicContentSize.width + OutTapPlain.parentMixMay.sandboxTamil);
    }];
    
    [self.theRepairTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.tenShrinkButton.mas_left).offset(-OutTapPlain.parentMixMay.gaussianOver);
    }];
    
    
    UIButton *dictationButton = [OutTapPlain busIndoorTableDrizzleAwayColor:OutTapPlain.loudMeterMount.chamberProvidesWorkNoteAtom];
    [dictationButton addTarget:self action:@selector(wideBankOverlayScanningFrenchAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:dictationButton];
    [dictationButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.theRepairTextField.mas_bottom).offset(OutTapPlain.parentMixMay.hisHeavyFair);
        make.left.mas_equalTo(OutTapPlain.parentMixMay.takeWhiteArm);
        make.right.mas_equalTo(-OutTapPlain.parentMixMay.takeWhiteArm);
        make.height.mas_equalTo(OutTapPlain.parentMixMay.tooTabMetric);
    }];
}

- (void)wideBankOverlayScanningFrenchAction:(id)sender {
    if (self.charHisHangTextField.charHisHangTextField.text.twoWonBypass) {
        [SixAlertView eventPutJapaneseMoodEraAlarm:OutTapPlain.loudMeterMount.scrolling message:OutTapPlain.loudMeterMount.axialShelfUniqueHeadsetContainedThree completion:nil];
        return;
    }
    if (self.theRepairTextField.text.twoWonBypass) {
        [SixAlertView eventPutJapaneseMoodEraAlarm:OutTapPlain.loudMeterMount.scrolling message:OutTapPlain.loudMeterMount.compoundBecomeViabilityAutomaticPrice completion:nil];
        return;
    }
    NSString *tildeChatCode = self.charHisHangTextField.recentUsedLine;
    NSString *startupHelp = self.charHisHangTextField.globalPhoneUnsignedPassSide;
    if ([self.imageChatFilm respondsToSelector:@selector(discardPopWhiteSendRootEndpointCrop:code:failCode:completion:)]) {
        [ManButThinView instantSubmitWindow];
        [self.imageChatFilm discardPopWhiteSendRootEndpointCrop:startupHelp code:self.theRepairTextField.text failCode:tildeChatCode completion:^(id object) {
            [ManButThinView discardedEsperantoExternalAnimationPluralWindow];
            if ([object boolValue]) {
                [[AwayGlyphManager shared] kazakhReceiverCoverageBandwidthPeakConstantViewController:self.navigationController];
                [KitToast sexFaxHeap:OutTapPlain.loudMeterMount.bitmapPanelMapSpineLeftDays];
                if ([self.runServices[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *realNextEar = (WKWebView *)self.runServices[1];
                    [realNextEar reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.tenShrinkButton lazyGigabytesBirthdayLargestSlash];
}

@end
