






#import "MainPosterViewController.h"
#import "AtomPashtoViewController.h"
#import "ArmourHeapConfig.h"
#import "NSObject+MayModel.h"
#import "UIColor+HisColor.h"
#import "LawToast.h"
#import "AlcoholAccordingDropAndMen.h"

@interface MainPosterViewController ()

@property (nonatomic, strong) UIImageView *busFixImageView;
@property (nonatomic, strong) UIButton *boxButton;
@property (nonatomic, strong) UIButton *ageButton;
@property (nonatomic, strong) UIButton *howButton;

@end

@implementation MainPosterViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor grantingHomeLowClickedDogCellphone:AreStateWon.twoHoverHard.mapReserved];
    
    
    UIView *syntaxAdoptInsideKernelsKnow = [[UIView alloc] init];
    syntaxAdoptInsideKernelsKnow.backgroundColor = [UIColor clearColor];
    [self.view addSubview:syntaxAdoptInsideKernelsKnow];
    
    
    _busFixImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:AreStateWon.twoHoverHard.slightEraMax weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:AreStateWon.twoHoverHard.twistPriorReplyEmbeddedPortionSpeakingWire withConfiguration:config];
    _busFixImageView.image = headerImage;
    _busFixImageView.tintColor = [UIColor grantingHomeLowClickedDogCellphone:AreStateWon.twoHoverHard.spanFloatColor];
    _busFixImageView.contentMode = UIViewContentModeScaleAspectFit;
    [syntaxAdoptInsideKernelsKnow addSubview:_busFixImageView];
    
    
    UILabel *ageFinnishLabel = [[UILabel alloc] init];
    ageFinnishLabel.text = AreStateWon.miterTabBitKin.lineOverallExceptionDoubleDetectorBleed;
    ageFinnishLabel.font = [UIFont boldSystemFontOfSize:AreStateWon.twoHoverHard.tagBothRoute];
    ageFinnishLabel.textAlignment = NSTextAlignmentLeft;
    ageFinnishLabel.textColor = [UIColor grantingHomeLowClickedDogCellphone:AreStateWon.twoHoverHard.bagShakeWas];
    [syntaxAdoptInsideKernelsKnow addSubview:ageFinnishLabel];
    
    
    [syntaxAdoptInsideKernelsKnow mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(AreStateWon.twoHoverHard.dublinCarBut);
        make.centerX.equalTo(self.view).offset(-AreStateWon.twoHoverHard.netFoodShot);
        make.height.mas_equalTo(AreStateWon.twoHoverHard.urgentDetail);
    }];
    
    
    [_busFixImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(syntaxAdoptInsideKernelsKnow);
        make.centerY.equalTo(syntaxAdoptInsideKernelsKnow);
        make.width.height.mas_equalTo(AreStateWon.twoHoverHard.urgentDetail);
    }];
    
    [ageFinnishLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_busFixImageView.mas_right).offset(AreStateWon.twoHoverHard.knowShapeSay);
        make.centerY.equalTo(syntaxAdoptInsideKernelsKnow);
        make.right.equalTo(syntaxAdoptInsideKernelsKnow);
    }];
    
    
    _boxButton = [self detachReturnAllClockwiseAddressExpandingIcon:AreStateWon.twoHoverHard.alivePreparedRotatingOccurDivideVersions
                                                  title:AreStateWon.miterTabBitKin.anchoredFixingTenQueueBit
                                               subtitle:ArmourHeapConfig.shared.hueBypassedBoldfaceTradEmpty.clientForBag.maleDid];
    [self.view addSubview:_boxButton];
    [_boxButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(syntaxAdoptInsideKernelsKnow.mas_bottom).offset(AreStateWon.twoHoverHard.dublinCarBut);
        make.left.equalTo(self.view).offset(AreStateWon.twoHoverHard.cameraWaxOwn);
        make.right.equalTo(self.view).offset(-AreStateWon.twoHoverHard.cameraWaxOwn);
        make.height.mas_equalTo(AreStateWon.twoHoverHard.urgentDetail);
    }];
    [_boxButton addTarget:self action:@selector(zoneConvergedAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _ageButton = [self detachReturnAllClockwiseAddressExpandingIcon:AreStateWon.twoHoverHard.volumeProductsSoftnessDogFocusingEnd
                                                   title:AreStateWon.miterTabBitKin.touchAreKashmiriEstimatedEighteen
                                                subtitle:ArmourHeapConfig.shared.hueBypassedBoldfaceTradEmpty.clientForBag.pieceOpt];
    [self.view addSubview:_ageButton];
    [_ageButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_boxButton.mas_bottom).offset(AreStateWon.twoHoverHard.fiveRotorThe);
        make.left.equalTo(self.view).offset(AreStateWon.twoHoverHard.cameraWaxOwn);
        make.right.equalTo(self.view).offset(-AreStateWon.twoHoverHard.cameraWaxOwn);
        make.height.mas_equalTo(AreStateWon.twoHoverHard.urgentDetail);
    }];
    [_ageButton addTarget:self action:@selector(futureMileHighAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _howButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _howButton.backgroundColor = [UIColor grantingHomeLowClickedDogCellphone:AreStateWon.twoHoverHard.spanFloatColor];
    _howButton.layer.cornerRadius = AreStateWon.twoHoverHard.tagBothRoute;
    [_howButton setTitle:AreStateWon.miterTabBitKin.alcoholOrganizeLongitudeThumbProxy forState:UIControlStateNormal];
    [_howButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    _howButton.titleLabel.font = [UIFont systemFontOfSize:AreStateWon.twoHoverHard.dublinCarBut weight:UIFontWeightMedium];
    UIImage *howIcon = [UIImage systemImageNamed:AreStateWon.twoHoverHard.scalarVisitorDustGetBarTagger];
    [_howButton setImage:howIcon forState:UIControlStateNormal];
    _howButton.imageEdgeInsets = UIEdgeInsetsMake(0, -AreStateWon.twoHoverHard.agePoloBoth, 0, 0);
    _howButton.titleEdgeInsets = UIEdgeInsetsMake(0, AreStateWon.twoHoverHard.agePoloBoth, 0, 0);
    _howButton.tintColor = [UIColor whiteColor];
    [self.view addSubview:_howButton];
    [_howButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_ageButton.mas_bottom).offset(AreStateWon.twoHoverHard.fiveRotorThe);
        make.left.equalTo(self.view).offset(AreStateWon.twoHoverHard.cameraWaxOwn);
        make.right.equalTo(self.view).offset(-AreStateWon.twoHoverHard.cameraWaxOwn);
        make.height.mas_equalTo(AreStateWon.twoHoverHard.urgentDetail);
    }];
    [_howButton addTarget:self action:@selector(bankAndSelectorRedSeparatedAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *netAllPashto = [[UILabel alloc] init];
    netAllPashto.text = [NSString stringWithFormat:AreStateWon.twoHoverHard.audioSpokenArtistWideSlovakKnow, ArmourHeapConfig.shared.interrupt.netAllPashto];
    netAllPashto.font = [UIFont systemFontOfSize:AreStateWon.twoHoverHard.ironFocusAdd weight:UIFontWeightLight];
    netAllPashto.textAlignment = NSTextAlignmentLeft;
    netAllPashto.textColor = [UIColor grantingHomeLowClickedDogCellphone:AreStateWon.twoHoverHard.penDrainArm];
    [self.view addSubview:netAllPashto];
    [netAllPashto mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-AreStateWon.twoHoverHard.peakPushSaw);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *modalEndView = [UIView new];
    modalEndView.userInteractionEnabled = YES;
    modalEndView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:modalEndView];
    [modalEndView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(AreStateWon.twoHoverHard.sonGenderSin, AreStateWon.twoHoverHard.sonGenderSin));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *restoresUseAxialMapBurn = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(icyTapDirectDecodingRopeInfo)];
    restoresUseAxialMapBurn.numberOfTapsRequired = AreStateWon.twoHoverHard.netFoodShot;
    [modalEndView addGestureRecognizer:restoresUseAxialMapBurn];
    
    
    UIView *truncatedBeaconsRestFireStroked = [UIView new];
    truncatedBeaconsRestFireStroked.userInteractionEnabled = YES;
    truncatedBeaconsRestFireStroked.backgroundColor = UIColor.clearColor;
    [self.view addSubview:truncatedBeaconsRestFireStroked];
    [truncatedBeaconsRestFireStroked mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(AreStateWon.twoHoverHard.sonGenderSin, AreStateWon.twoHoverHard.sonGenderSin));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *presentMenLastEngineerPolo = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(fetchRectified)];
    presentMenLastEngineerPolo.numberOfTapsRequired = AreStateWon.twoHoverHard.netFoodShot;
    [truncatedBeaconsRestFireStroked addGestureRecognizer:presentMenLastEngineerPolo];
    
    
}


- (UIButton *)detachReturnAllClockwiseAddressExpandingIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.backgroundColor = [UIColor whiteColor];
    button.layer.cornerRadius = AreStateWon.twoHoverHard.tagBothRoute;
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:AreStateWon.twoHoverHard.tagBothRoute weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [UIColor grantingHomeLowClickedDogCellphone:AreStateWon.twoHoverHard.spanFloatColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(AreStateWon.twoHoverHard.knowShapeSay);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(AreStateWon.twoHoverHard.sixSocketBus);
    }];
    
    
    UILabel *ageFinnishLabel = [[UILabel alloc] init];
    ageFinnishLabel.text = title;
    ageFinnishLabel.font = [UIFont systemFontOfSize:AreStateWon.twoHoverHard.collapsesSpa weight:UIFontWeightMedium];
    ageFinnishLabel.textColor = [UIColor grantingHomeLowClickedDogCellphone:AreStateWon.twoHoverHard.bagShakeWas];
    [button addSubview:ageFinnishLabel];
    [ageFinnishLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(AreStateWon.twoHoverHard.knowShapeSay);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:AreStateWon.twoHoverHard.collapsesSpa];
    subtitleLabel.textColor = [UIColor grantingHomeLowClickedDogCellphone:AreStateWon.twoHoverHard.penDrainArm];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-AreStateWon.twoHoverHard.dublinCarBut);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)zoneConvergedAction:(id)sender {
    NSString *foggyMid = ArmourHeapConfig.shared.hueBypassedBoldfaceTradEmpty.clientForBag.maleDid;
    if (foggyMid.length > 0) {
        [self.tabOldStopped failingVoiceTenBadgePongExpensiveAvail:[NSString stringWithFormat:AreStateWon.twoHoverHard.appleInfoLiftSixteenExpectsShe, foggyMid]];
    } else {
        [LawToast putTask:AreStateWon.miterTabBitKin.settingCapsDisplaysPhysicalAreVisual];
    }
}

- (void)futureMileHighAction:(id)sender {
    NSString *tenExpire = ArmourHeapConfig.shared.hueBypassedBoldfaceTradEmpty.clientForBag.pieceOpt;
    if (tenExpire.length > 0) {
        [self.tabOldStopped failingVoiceTenBadgePongExpensiveAvail:[NSString stringWithFormat:AreStateWon.twoHoverHard.seleniumSummaryTintStripSubgroupPolicy, tenExpire]];
    } else {
        [LawToast putTask:AreStateWon.miterTabBitKin.assetSpaWasBirthOverwriteCollapsed];
    }
}

- (void)bankAndSelectorRedSeparatedAction:(id)sender {
    NSString *weekendBus = ArmourHeapConfig.shared.hueBypassedBoldfaceTradEmpty.clientForBag.fileDash;
    if (weekendBus.length > 0) {
        [self.tabOldStopped failingVoiceTenBadgePongExpensiveAvail:weekendBus];
    } else {
        [LawToast putTask:AreStateWon.miterTabBitKin.pressureInitiatedTurkmenGrandauntBehaveFormat];
    }
}

- (void)icyTapDirectDecodingRopeInfo {
    AtomPashtoViewController *cousinWord = [AtomPashtoViewController new];
    NSDictionary *rawCaretYet = @{
        AreStateWon.twoHoverHard.keepDiscountLeastFaceSawLogo: [[NSBundle mainBundle] infoDictionary],
        AreStateWon.twoHoverHard.penReturnsButterflyBaseballChinaRelease: [ArmourHeapConfig.shared.iconPeerWinInfo offCapsAngleDict],
        AreStateWon.twoHoverHard.ascentRectangleAllocatedReasonMindHis: [ArmourHeapConfig.shared.interrupt offCapsAngleDict],
        AreStateWon.twoHoverHard.qualifiedClockwisePenLooseSaturateProviders: [ArmourHeapConfig.shared.parseFarGetInfo offCapsAngleDict],
        AreStateWon.twoHoverHard.successThumbnailSixMiterQuitIncluding: [ArmourHeapConfig.shared.hueBypassedBoldfaceTradEmpty offCapsAngleDict],
        AreStateWon.twoHoverHard.snowIndirectSymptomToggleAddOuter: [ArmourHeapConfig.shared.sayTraveledNapEncodedArchery offCapsAngleDict]
    };
    [cousinWord wakeAreCatEarInfo:rawCaretYet withTitle:@""];
    [self.navigationController pushViewController:cousinWord animated:NO];
}

- (void)fetchRectified {
    [AlbumViewController bookmarkViewController:self];
}
@end
