






#import "AgeAllCurlViewController.h"
#import "MapDecryptViewController.h"
#import "OnePopSongConfig.h"
#import "NSObject+OwnModel.h"
#import "UIColor+DryColor.h"
#import "BusToast.h"
#import "ClosePostalMayRecoveredUpdates.h"

@interface AgeAllCurlViewController ()

@property (nonatomic, strong) UIImageView *ageTwoImageView;
@property (nonatomic, strong) UIButton *mapButton;
@property (nonatomic, strong) UIButton *hisButton;
@property (nonatomic, strong) UIButton *sinButton;

@end

@implementation AgeAllCurlViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor earStartDiscardsPairDirtyGlyph:PinMovement.cupFormatSun.plugMindRed];
    
    
    UIView *moduleHandRedoneItalicsDecide = [[UIView alloc] init];
    moduleHandRedoneItalicsDecide.backgroundColor = [UIColor clearColor];
    [self.view addSubview:moduleHandRedoneItalicsDecide];
    
    
    _ageTwoImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:PinMovement.cupFormatSun.squashCanIts weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:PinMovement.cupFormatSun.outletScopeLaunchRetrieveUnderSamplingRed withConfiguration:config];
    _ageTwoImageView.image = headerImage;
    _ageTwoImageView.tintColor = [UIColor earStartDiscardsPairDirtyGlyph:PinMovement.cupFormatSun.unorderedColor];
    _ageTwoImageView.contentMode = UIViewContentModeScaleAspectFit;
    [moduleHandRedoneItalicsDecide addSubview:_ageTwoImageView];
    
    
    UILabel *toolMaxDryLabel = [[UILabel alloc] init];
    toolMaxDryLabel.text = PinMovement.otherPhasePlug.injectionFatGradientHomeUnlikelySphere;
    toolMaxDryLabel.font = [UIFont boldSystemFontOfSize:PinMovement.cupFormatSun.aboutNetwork];
    toolMaxDryLabel.textAlignment = NSTextAlignmentLeft;
    toolMaxDryLabel.textColor = [UIColor earStartDiscardsPairDirtyGlyph:PinMovement.cupFormatSun.doubleArray];
    [moduleHandRedoneItalicsDecide addSubview:toolMaxDryLabel];
    
    
    [moduleHandRedoneItalicsDecide mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(PinMovement.cupFormatSun.seeFadePaper);
        make.centerX.equalTo(self.view).offset(-PinMovement.cupFormatSun.burstDetail);
        make.height.mas_equalTo(PinMovement.cupFormatSun.popoverVisit);
    }];
    
    
    [_ageTwoImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(moduleHandRedoneItalicsDecide);
        make.centerY.equalTo(moduleHandRedoneItalicsDecide);
        make.width.height.mas_equalTo(PinMovement.cupFormatSun.popoverVisit);
    }];
    
    [toolMaxDryLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_ageTwoImageView.mas_right).offset(PinMovement.cupFormatSun.leaseZoneOld);
        make.centerY.equalTo(moduleHandRedoneItalicsDecide);
        make.right.equalTo(moduleHandRedoneItalicsDecide);
    }];
    
    
    _mapButton = [self preventedCenterManHundredParseHailIcon:PinMovement.cupFormatSun.cloudyEyeShakeHoldStayReady
                                                  title:PinMovement.otherPhasePlug.advisoryCircularProducerOperandFoot
                                               subtitle:OnePopSongConfig.shared.resultLaunchedLateRomanianState.levelCatalan.dueRead];
    [self.view addSubview:_mapButton];
    [_mapButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(moduleHandRedoneItalicsDecide.mas_bottom).offset(PinMovement.cupFormatSun.seeFadePaper);
        make.left.equalTo(self.view).offset(PinMovement.cupFormatSun.mandatoryTen);
        make.right.equalTo(self.view).offset(-PinMovement.cupFormatSun.mandatoryTen);
        make.height.mas_equalTo(PinMovement.cupFormatSun.popoverVisit);
    }];
    [_mapButton addTarget:self action:@selector(agentAdvancedAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _hisButton = [self preventedCenterManHundredParseHailIcon:PinMovement.cupFormatSun.pictureAlcoholContainerTallSerialDaughters
                                                   title:PinMovement.otherPhasePlug.unifiedEnterSunExpectsWindow
                                                subtitle:OnePopSongConfig.shared.resultLaunchedLateRomanianState.levelCatalan.hertzCut];
    [self.view addSubview:_hisButton];
    [_hisButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_mapButton.mas_bottom).offset(PinMovement.cupFormatSun.consumedBank);
        make.left.equalTo(self.view).offset(PinMovement.cupFormatSun.mandatoryTen);
        make.right.equalTo(self.view).offset(-PinMovement.cupFormatSun.mandatoryTen);
        make.height.mas_equalTo(PinMovement.cupFormatSun.popoverVisit);
    }];
    [_hisButton addTarget:self action:@selector(askButAwaySnapAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _sinButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _sinButton.backgroundColor = [UIColor earStartDiscardsPairDirtyGlyph:PinMovement.cupFormatSun.unorderedColor];
    _sinButton.layer.cornerRadius = PinMovement.cupFormatSun.aboutNetwork;
    [_sinButton setTitle:PinMovement.otherPhasePlug.heapQuantityChildStandardLog forState:UIControlStateNormal];
    [_sinButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    _sinButton.titleLabel.font = [UIFont systemFontOfSize:PinMovement.cupFormatSun.seeFadePaper weight:UIFontWeightMedium];
    UIImage *rowIcon = [UIImage systemImageNamed:PinMovement.cupFormatSun.howThirteenReactorHomeDurationHost];
    [_sinButton setImage:rowIcon forState:UIControlStateNormal];
    _sinButton.imageEdgeInsets = UIEdgeInsetsMake(0, -PinMovement.cupFormatSun.foundTipCar, 0, 0);
    _sinButton.titleEdgeInsets = UIEdgeInsetsMake(0, PinMovement.cupFormatSun.foundTipCar, 0, 0);
    _sinButton.tintColor = [UIColor whiteColor];
    [self.view addSubview:_sinButton];
    [_sinButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_hisButton.mas_bottom).offset(PinMovement.cupFormatSun.consumedBank);
        make.left.equalTo(self.view).offset(PinMovement.cupFormatSun.mandatoryTen);
        make.right.equalTo(self.view).offset(-PinMovement.cupFormatSun.mandatoryTen);
        make.height.mas_equalTo(PinMovement.cupFormatSun.popoverVisit);
    }];
    [_sinButton addTarget:self action:@selector(spaHowBoxReceiptNonceAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *itsSobDegree = [[UILabel alloc] init];
    itsSobDegree.text = [NSString stringWithFormat:PinMovement.cupFormatSun.recentlyRawStayAffectedMinorLike, OnePopSongConfig.shared.stalePlug.itsSobDegree];
    itsSobDegree.font = [UIFont systemFontOfSize:PinMovement.cupFormatSun.bigDefineAre weight:UIFontWeightLight];
    itsSobDegree.textAlignment = NSTextAlignmentLeft;
    itsSobDegree.textColor = [UIColor earStartDiscardsPairDirtyGlyph:PinMovement.cupFormatSun.busOpenUndo];
    [self.view addSubview:itsSobDegree];
    [itsSobDegree mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-PinMovement.cupFormatSun.moireSixWay);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *bookFeatView = [UIView new];
    bookFeatView.userInteractionEnabled = YES;
    bookFeatView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:bookFeatView];
    [bookFeatView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(PinMovement.cupFormatSun.bigSongPhoto, PinMovement.cupFormatSun.bigSongPhoto));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *winIndicatorGlobalVerboseThermal = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(dryLockingAuditEnhanceContactsInfo)];
    winIndicatorGlobalVerboseThermal.numberOfTapsRequired = PinMovement.cupFormatSun.burstDetail;
    [bookFeatView addGestureRecognizer:winIndicatorGlobalVerboseThermal];
    
    
    UIView *clockOurExpiresReportsReorder = [UIView new];
    clockOurExpiresReportsReorder.userInteractionEnabled = YES;
    clockOurExpiresReportsReorder.backgroundColor = UIColor.clearColor;
    [self.view addSubview:clockOurExpiresReportsReorder];
    [clockOurExpiresReportsReorder mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(PinMovement.cupFormatSun.bigSongPhoto, PinMovement.cupFormatSun.bigSongPhoto));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *promisedLifetimeCenterRightPing = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(reminderPartly)];
    promisedLifetimeCenterRightPing.numberOfTapsRequired = PinMovement.cupFormatSun.burstDetail;
    [clockOurExpiresReportsReorder addGestureRecognizer:promisedLifetimeCenterRightPing];
    
    
}


- (UIButton *)preventedCenterManHundredParseHailIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.backgroundColor = [UIColor whiteColor];
    button.layer.cornerRadius = PinMovement.cupFormatSun.aboutNetwork;
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:PinMovement.cupFormatSun.aboutNetwork weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [UIColor earStartDiscardsPairDirtyGlyph:PinMovement.cupFormatSun.unorderedColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(PinMovement.cupFormatSun.leaseZoneOld);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(PinMovement.cupFormatSun.menUniversal);
    }];
    
    
    UILabel *toolMaxDryLabel = [[UILabel alloc] init];
    toolMaxDryLabel.text = title;
    toolMaxDryLabel.font = [UIFont systemFontOfSize:PinMovement.cupFormatSun.postalGerman weight:UIFontWeightMedium];
    toolMaxDryLabel.textColor = [UIColor earStartDiscardsPairDirtyGlyph:PinMovement.cupFormatSun.doubleArray];
    [button addSubview:toolMaxDryLabel];
    [toolMaxDryLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(PinMovement.cupFormatSun.leaseZoneOld);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:PinMovement.cupFormatSun.postalGerman];
    subtitleLabel.textColor = [UIColor earStartDiscardsPairDirtyGlyph:PinMovement.cupFormatSun.busOpenUndo];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-PinMovement.cupFormatSun.seeFadePaper);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)agentAdvancedAction:(id)sender {
    NSString *eachTaps = OnePopSongConfig.shared.resultLaunchedLateRomanianState.levelCatalan.dueRead;
    if (eachTaps.length > 0) {
        [self.flagTrapMixer touchesActivityInvokeStriationFactorSamplerSlab:[NSString stringWithFormat:PinMovement.cupFormatSun.spaceIdenticalProvinceChapterClientsVoice, eachTaps]];
    } else {
        [BusToast bestRed:PinMovement.otherPhasePlug.loopsDisplaysHisMomentaryWaySpherical];
    }
}

- (void)askButAwaySnapAction:(id)sender {
    NSString *intersect = OnePopSongConfig.shared.resultLaunchedLateRomanianState.levelCatalan.hertzCut;
    if (intersect.length > 0) {
        [self.flagTrapMixer touchesActivityInvokeStriationFactorSamplerSlab:[NSString stringWithFormat:PinMovement.cupFormatSun.mongolianEyeTurkmenSuperiorsResponsesMiddle, intersect]];
    } else {
        [BusToast bestRed:PinMovement.otherPhasePlug.indexesProjectsThiaminIdiomDraftRussian];
    }
}

- (void)spaHowBoxReceiptNonceAction:(id)sender {
    NSString *alienSpeed = OnePopSongConfig.shared.resultLaunchedLateRomanianState.levelCatalan.caretSob;
    if (alienSpeed.length > 0) {
        [self.flagTrapMixer touchesActivityInvokeStriationFactorSamplerSlab:alienSpeed];
    } else {
        [BusToast bestRed:PinMovement.otherPhasePlug.rootWinSolidEndTargetGaelic];
    }
}

- (void)dryLockingAuditEnhanceContactsInfo {
    MapDecryptViewController *undoKinEnd = [MapDecryptViewController new];
    NSDictionary *dustDidEasy = @{
        PinMovement.cupFormatSun.permanentWritingSchemesRenewalVisitTextured: [[NSBundle mainBundle] infoDictionary],
        PinMovement.cupFormatSun.wrapReflectUnlockedSynthesisEngravedCancelled: [OnePopSongConfig.shared.tabHostAtomInfo touchesCoverDict],
        PinMovement.cupFormatSun.clampedSunTeethInvalidPairThumbnail: [OnePopSongConfig.shared.stalePlug touchesCoverDict],
        PinMovement.cupFormatSun.assertNetCreatedImmutableSmartNiacin: [OnePopSongConfig.shared.ciphersWillInfo touchesCoverDict],
        PinMovement.cupFormatSun.immediateAccountExceededExpertPushTab: [OnePopSongConfig.shared.resultLaunchedLateRomanianState touchesCoverDict],
        PinMovement.cupFormatSun.youngestFiberOrdinalsMusicWeeklyScope: [OnePopSongConfig.shared.usabilityBagSemanticsReasonPart touchesCoverDict]
    };
    [undoKinEnd secondPronounInfo:dustDidEasy withTitle:@""];
    [self.navigationController pushViewController:undoKinEnd animated:NO];
}

- (void)reminderPartly {
    [PriceViewController printDayViewController:self];
}
@end
