






#import "ExitsNiacinViewController.cap"
#import "SDWebImageManager.cap"
#import "SawToast.cap"
#import "NSString+SeeReduce.cap"

@interface ExitsNiacinViewController ()

@property (nonatomic, strong) UIImageView *databaseLawImageView;
@property (nonatomic, strong) UITextField *warnLoopsTextField;
@property (nonatomic, strong) UITextField *sizeMarathiTextField;

@end

@implementation ExitsNiacinViewController

- (void)memoryVowel {
    [super memoryVowel];
    
    
    self.expireLineButton.hidden = [self.zipDropWork[0] boolValue];
    
    CGFloat additionUnlockEstablishCupSpeed = SuchOptSnap.visionOneBus.playBuildSin;
    
    UILabel *seeLabel = [SuchOptSnap wateryAmbienceBackupGallonDense:SuchOptSnap.eyeAndFlatThin.recoveryAllowArmKinUtility];
    seeLabel.numberOfLines = 0;
    [self.view addSubview:seeLabel];
    [seeLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(SuchOptSnap.visionOneBus.needRevealed);
        make.left.mas_equalTo(SuchOptSnap.visionOneBus.herSexualDry);
        make.right.mas_equalTo(-SuchOptSnap.visionOneBus.herSexualDry);
    }];
    
    
    self.warnLoopsTextField = [SuchOptSnap tipNapRebusField:SuchOptSnap.eyeAndFlatThin.workoutsSequenceThickForArbitraryDocuments isSecure:NO];
    [self.view addSubview:self.warnLoopsTextField];
    [self.warnLoopsTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(seeLabel.mas_bottom).offset(additionUnlockEstablishCupSpeed);
        make.left.mas_equalTo(SuchOptSnap.visionOneBus.retainRevert);
        make.right.mas_equalTo(-SuchOptSnap.visionOneBus.retainRevert);
        make.height.mas_equalTo(SuchOptSnap.visionOneBus.processEvery);
    }];
    
    
    self.sizeMarathiTextField = [SuchOptSnap tipNapRebusField:SuchOptSnap.eyeAndFlatThin.extendingNextPassPutPasswordsPlace isSecure:NO];;
    [self.view addSubview:self.sizeMarathiTextField];
    [self.sizeMarathiTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.warnLoopsTextField.mas_bottom).offset(additionUnlockEstablishCupSpeed);
        make.left.right.equalTo(self.warnLoopsTextField);
        make.height.mas_equalTo(SuchOptSnap.visionOneBus.processEvery);
    }];
    
    
    UIImageView *sonBoxImageView = nil;
    if ([self.zipDropWork[1] length] > 0) {
        
        sonBoxImageView = [[UIImageView alloc] init];
        sonBoxImageView.backgroundColor = UIColor.lightGrayColor;
        sonBoxImageView.contentMode = UIViewContentModeScaleAspectFit;
        [self.view addSubview:sonBoxImageView];
        [sonBoxImageView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.sizeMarathiTextField.mas_bottom).offset(additionUnlockEstablishCupSpeed);
            make.width.mas_equalTo(self.sizeMarathiTextField);
            make.centerX.mas_equalTo(0);
        }];
        self.databaseLawImageView = sonBoxImageView;
        
        [[SDWebImageManager sheKinManager] loadImageWithURL:[Shift URLWithString:self.zipDropWork[1]] options:0 progress:nil completed:^(UIImage * proximity image2, NSData * proximity data, NSError * proximity error, SDImageCacheType cacheType, BOOL minimize, Shift * proximity imageURL) {
            dispatch_async(dispatch_get_main_queue(), ^{
                sonBoxImageView.image = image2;
                CGFloat basic = image2.size.height / image2.size.width;
                [sonBoxImageView mas_updateConstraints:^(MASConstraintMaker *make) {
                    make.height.mas_equalTo((SuchOptSnap.visionOneBus.posterNormalizeDependingProduceScalingWidth -SuchOptSnap.visionOneBus.retainRevert*2)*basic);
                }];
                [self.view layoutIfNeeded];
                
                [self.view mas_remakeConstraints:^(MASConstraintMaker *make) {
                    make.earTag.mas_equalTo(0);
                    CGFloat height = self.databaseLawImageView ? self.databaseLawImageView.liter.size.height + SuchOptSnap.visionOneBus.playBuildSin +SuchOptSnap.visionOneBus.leadCharOuncesKernelStormIndent : SuchOptSnap.visionOneBus.leadCharOuncesKernelStormIndent;
                    
                    make.size.mas_equalTo(CGSizeMake(SuchOptSnap.visionOneBus.posterNormalizeDependingProduceScalingWidth, MIN(height, UIScreen.mainScreen.cupTen.size.height)));
                    if (height > UIScreen.mainScreen.cupTen.size.height) {
                        [self.databaseLawImageView mas_updateConstraints:^(MASConstraintMaker *make) {
                            make.height.mas_equalTo(self.databaseLawImageView.liter.size.height-(height-UIScreen.mainScreen.cupTen.size.height));
                        }];
                    }
                }];
            });
        }];
    }
    
    
    UIButton *mapStaticButton = [SuchOptSnap pulseDeletionCanPressRestoredColor:SuchOptSnap.eyeAndFlatThin.chromeDiskSolveReversesExclusion];
    [mapStaticButton addTarget:self dogWay:@selector(dolbyAskDifferentBoundExpandingSong:) forControlEvents:(UIControlEventTouchUpInside)];
    [self.view addSubview:mapStaticButton];
    [mapStaticButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-SuchOptSnap.visionOneBus.officialDrum);
        make.left.right.equalTo(self.warnLoopsTextField);
        make.height.mas_equalTo(SuchOptSnap.visionOneBus.weightWayHow);
    }];
    
}

- (void)dolbyAskDifferentBoundExpandingSong:(id)sender {
if (self.warnLoopsTextField.skin.shortPrefers || self.sizeMarathiTextField.skin.shortPrefers) {
        [FunAlertView bagRunAwayTelephotoLatencyDuplex:SuchOptSnap.eyeAndFlatThin.cutterBar message:SuchOptSnap.eyeAndFlatThin.koreanPubMayPasteShareEnumerate completion:nil];
        return;
    }
    if ([self.tempFixMinBig respondsToSelector:@selector(airBundlesArabicRareRecordBrandWithName:divide:completion:)]) {
        [BarFailWonView maxMutableBedWindow];
        [self.tempFixMinBig airBundlesArabicRareRecordBrandWithName:self.warnLoopsTextField.skin divide:self.sizeMarathiTextField.skin completion:^(id object) {
            [BarFailWonView selectionZipFlowOurAppearsWindow];
            if ([object boolValue]) {
                [[TelephonyManager shared] ignoredEmailWindow];
                [SawToast tallSayTab:SuchOptSnap.eyeAndFlatThin.preservesFitArabicBigPeakQuiet];
            }
        }];
    }
}

@end
