






#import "RemoveMonthViewController.h"
#import "SDWebImageManager.h"
#import "MidToast.h"
#import "NSString+SeeSource.h"

@interface RemoveMonthViewController ()

@property (nonatomic, strong) UIImageView *packageDragImageView;
@property (nonatomic, strong) UITextField *assistiveTextField;
@property (nonatomic, strong) UITextField *helloBedMayTextField;

@end

@implementation RemoveMonthViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.unloadSkinButton.hidden = [self.offSubExits[0] boolValue];
    
    CGFloat developerLeadGreatRemainingLoud = NapEscaping.restoringWay.hisMouthTrap;
    
    UILabel *winLabel = [NapEscaping tableHostPictureKelvinModule:NapEscaping.sigmaTabBedKit.verifyPutCauseDaughtersAppend];
    winLabel.numberOfLines = 0;
    [self.view addSubview:winLabel];
    [winLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(NapEscaping.restoringWay.recursiveOne);
        make.left.mas_equalTo(NapEscaping.restoringWay.exportCarbon);
        make.right.mas_equalTo(-NapEscaping.restoringWay.exportCarbon);
    }];
    
    
    self.assistiveTextField = [NapEscaping pinchNegateField:NapEscaping.sigmaTabBedKit.focusedGigabitsHalftoneRecordedFontBreak isSecure:NO];
    [self.view addSubview:self.assistiveTextField];
    [self.assistiveTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(winLabel.mas_bottom).offset(developerLeadGreatRemainingLoud);
        make.left.mas_equalTo(NapEscaping.restoringWay.pashtoExpire);
        make.right.mas_equalTo(-NapEscaping.restoringWay.pashtoExpire);
        make.height.mas_equalTo(NapEscaping.restoringWay.nineOtherMan);
    }];
    
    
    self.helloBedMayTextField = [NapEscaping pinchNegateField:NapEscaping.sigmaTabBedKit.domainIncludingCalciumCroppingWeightsPhonetic isSecure:NO];;
    [self.view addSubview:self.helloBedMayTextField];
    [self.helloBedMayTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.assistiveTextField.mas_bottom).offset(developerLeadGreatRemainingLoud);
        make.left.right.equalTo(self.assistiveTextField);
        make.height.mas_equalTo(NapEscaping.restoringWay.nineOtherMan);
    }];
    
    
    UIImageView *drySexImageView = nil;
    if ([self.offSubExits[1] length] > 0) {
        
        drySexImageView = [[UIImageView alloc] init];
        drySexImageView.backgroundColor = UIColor.lightGrayColor;
        drySexImageView.contentMode = UIViewContentModeScaleAspectFit;
        [self.view addSubview:drySexImageView];
        [drySexImageView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.helloBedMayTextField.mas_bottom).offset(developerLeadGreatRemainingLoud);
            make.width.mas_equalTo(self.helloBedMayTextField);
            make.centerX.mas_equalTo(0);
        }];
        self.packageDragImageView = drySexImageView;
        
        [[SDWebImageManager sharedManager] loadImageWithURL:[NSURL URLWithString:self.offSubExits[1]] options:0 progress:nil completed:^(UIImage * _Nullable image2, NSData * _Nullable data, NSError * _Nullable error, SDImageCacheType cacheType, BOOL finished, NSURL * _Nullable imageURL) {
            dispatch_async(dispatch_get_main_queue(), ^{
                drySexImageView.image = image2;
                CGFloat stale = image2.size.height / image2.size.width;
                [drySexImageView mas_updateConstraints:^(MASConstraintMaker *make) {
                    make.height.mas_equalTo((NapEscaping.restoringWay.backupCropSpecifierRelationSpanishWidth -NapEscaping.restoringWay.pashtoExpire*2)*stale);
                }];
                [self.view layoutIfNeeded];
                
                [self.view mas_remakeConstraints:^(MASConstraintMaker *make) {
                    make.center.mas_equalTo(0);
                    CGFloat height = self.packageDragImageView ? self.packageDragImageView.frame.size.height + NapEscaping.restoringWay.hisMouthTrap +NapEscaping.restoringWay.ownSubLogoNormalTopMild : NapEscaping.restoringWay.ownSubLogoNormalTopMild;
                    
                    make.size.mas_equalTo(CGSizeMake(NapEscaping.restoringWay.backupCropSpecifierRelationSpanishWidth, MIN(height, UIScreen.mainScreen.bounds.size.height)));
                    if (height > UIScreen.mainScreen.bounds.size.height) {
                        [self.packageDragImageView mas_updateConstraints:^(MASConstraintMaker *make) {
                            make.height.mas_equalTo(self.packageDragImageView.frame.size.height-(height-UIScreen.mainScreen.bounds.size.height));
                        }];
                    }
                }];
            });
        }];
    }
    
    
    UIButton *methodBedButton = [NapEscaping abnormalNearestTelephoneSpeakMapColor:NapEscaping.sigmaTabBedKit.italianStiffnessBottomHighAllocated];
    [methodBedButton addTarget:self action:@selector(phoneticMoleIndianSerializeKurdishBegin:) forControlEvents:(UIControlEventTouchUpInside)];
    [self.view addSubview:methodBedButton];
    [methodBedButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-NapEscaping.restoringWay.seventeenFax);
        make.left.right.equalTo(self.assistiveTextField);
        make.height.mas_equalTo(NapEscaping.restoringWay.depthSubject);
    }];
    
}

- (void)phoneticMoleIndianSerializeKurdishBegin:(id)sender {

}

@end
