






#import "RetLatvianViewController.h"
#import "SockWasUseViewController.h"
#import "OwnKeysDidConfig.h"
#import "NSObject+DogModel.h"
#import "UIColor+RunColor.h"
#import "SexToast.h"
#import "RemainingHexFathomsLossConverged.h"
#import "UIButton+WebCache.h"

@interface RetLatvianViewController ()

@property (nonatomic, strong) UIImageView *butEggImageView;
@property (nonatomic, strong) UIButton *bedButton;
@property (nonatomic, strong) UIButton *lowButton;
@property (nonatomic, strong) UIButton *funButton;

@end

@implementation RetLatvianViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor millionActiveGainZipBoostReturning:RuleListCut.coloredDraft.frontInvite];
    
    
    UIView *earMalteseCarLocatorAxial = [[UIView alloc] init];
    earMalteseCarLocatorAxial.backgroundColor = [UIColor clearColor];
    [self.view addSubview:earMalteseCarLocatorAxial];
    
    
    _butEggImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:RuleListCut.coloredDraft.capShakeSlow weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:RuleListCut.coloredDraft.fitWaxDebuggingUsesWonUnknownCeltic withConfiguration:config];
    _butEggImageView.image = headerImage;
    _butEggImageView.tintColor = [RuleListCut slopeLockColor];
    _butEggImageView.contentMode = UIViewContentModeScaleAspectFit;
    [earMalteseCarLocatorAxial addSubview:_butEggImageView];
    
    
    UILabel *illMildHueLabel = [[UILabel alloc] init];
    illMildHueLabel.text = RuleListCut.costSonKnowKit.generateDebuggingBackwardsBigConnectedInterval;
    illMildHueLabel.font = [UIFont boldSystemFontOfSize:RuleListCut.coloredDraft.countingRain];
    illMildHueLabel.textAlignment = NSTextAlignmentLeft;
    illMildHueLabel.textColor = [UIColor millionActiveGainZipBoostReturning:RuleListCut.coloredDraft.italicsBurn];
    [earMalteseCarLocatorAxial addSubview:illMildHueLabel];
    
    
    [earMalteseCarLocatorAxial mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(RuleListCut.coloredDraft.funOtherGolf);
        make.centerX.equalTo(self.view).offset(-RuleListCut.coloredDraft.runStoodIll);
        make.height.mas_equalTo(RuleListCut.coloredDraft.foodBreakIts);
    }];
    
    
    [_butEggImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(earMalteseCarLocatorAxial);
        make.centerY.equalTo(earMalteseCarLocatorAxial);
        make.width.height.mas_equalTo(RuleListCut.coloredDraft.foodBreakIts);
    }];
    
    [illMildHueLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_butEggImageView.mas_right).offset(RuleListCut.coloredDraft.redPeriodIll);
        make.centerY.equalTo(earMalteseCarLocatorAxial);
        make.right.equalTo(earMalteseCarLocatorAxial);
    }];
    
    
    _bedButton = [self assemblyHexForwardsMobileHandoffDistantIcon:RuleListCut.coloredDraft.squaresRectifiedPasswordQuarterCubicKin
                                                  title:RuleListCut.costSonKnowKit.leaseDisplayedAssistantPashtoGathering
                                               subtitle:OwnKeysDidConfig.shared.sheParticleEraEitherStreet.locallyChild.unsaved];
    [self.view addSubview:_bedButton];
    [_bedButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(earMalteseCarLocatorAxial.mas_bottom).offset(RuleListCut.coloredDraft.funOtherGolf);
        make.left.equalTo(self.view).offset(RuleListCut.coloredDraft.herLimitSafe);
        make.right.equalTo(self.view).offset(-RuleListCut.coloredDraft.herLimitSafe);
        make.height.mas_equalTo(RuleListCut.coloredDraft.foodBreakIts);
    }];
    [_bedButton addTarget:self action:@selector(documentsRoomAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _lowButton = [self assemblyHexForwardsMobileHandoffDistantIcon:RuleListCut.coloredDraft.encryptPressedMenuRevealedRoomFlat
                                                   title:RuleListCut.costSonKnowKit.conjugatePortalInsulinLogicalHas
                                                subtitle:OwnKeysDidConfig.shared.sheParticleEraEitherStreet.locallyChild.cityTrap];
    [self.view addSubview:_lowButton];
    [_lowButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_bedButton.mas_bottom).offset(RuleListCut.coloredDraft.minderCapAir);
        make.left.equalTo(self.view).offset(RuleListCut.coloredDraft.herLimitSafe);
        make.right.equalTo(self.view).offset(-RuleListCut.coloredDraft.herLimitSafe);
        make.height.mas_equalTo(RuleListCut.coloredDraft.foodBreakIts);
    }];
    [_lowButton addTarget:self action:@selector(radixFunSonNotAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _funButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _funButton.layer.cornerRadius = RuleListCut.coloredDraft.countingRain;
    _funButton.layer.masksToBounds = YES;
    
    NSString *factorImage = [RuleListCut smoothTeacherAnswerToleranceOriginalImage];
    if (factorImage) {
        [_funButton sd_setBackgroundImageWithURL:[NSURL URLWithString:factorImage] forState:UIControlStateNormal];
    } else {
        _funButton.backgroundColor = [UIColor millionActiveGainZipBoostReturning:RuleListCut.coloredDraft.slopeLockColor];
    }
    [_funButton setTitle:RuleListCut.costSonKnowKit.barsMathDuctilityStrategyPriority forState:UIControlStateNormal];
    [_funButton setTitleColor:[RuleListCut fileTextMapColor] forState:UIControlStateNormal];
    _funButton.titleLabel.font = [UIFont systemFontOfSize:RuleListCut.coloredDraft.funOtherGolf weight:UIFontWeightMedium];
    UIImage *dayIcon = [UIImage systemImageNamed:RuleListCut.coloredDraft.blurFloatSoftnessMemberFillerFinder];
    [_funButton setImage:dayIcon forState:UIControlStateNormal];
    _funButton.imageEdgeInsets = UIEdgeInsetsMake(0, -RuleListCut.coloredDraft.asleepScene, 0, 0);
    _funButton.titleEdgeInsets = UIEdgeInsetsMake(0, RuleListCut.coloredDraft.asleepScene, 0, 0);
    _funButton.tintColor = [RuleListCut fileTextMapColor];
    [self.view addSubview:_funButton];
    [_funButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_lowButton.mas_bottom).offset(RuleListCut.coloredDraft.minderCapAir);
        make.left.equalTo(self.view).offset(RuleListCut.coloredDraft.herLimitSafe);
        make.right.equalTo(self.view).offset(-RuleListCut.coloredDraft.herLimitSafe);
        make.height.mas_equalTo(RuleListCut.coloredDraft.foodBreakIts);
    }];
    [_funButton addTarget:self action:@selector(overageSobConverterAcquirePreventAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *yetExecution = [[UILabel alloc] init];
    yetExecution.text = [NSString stringWithFormat:RuleListCut.coloredDraft.motionMinSumListPintSquare, OwnKeysDidConfig.shared.objectDid.yetExecution];
    yetExecution.font = [UIFont systemFontOfSize:RuleListCut.coloredDraft.prominentEye weight:UIFontWeightLight];
    yetExecution.textAlignment = NSTextAlignmentLeft;
    yetExecution.textColor = [UIColor millionActiveGainZipBoostReturning:RuleListCut.coloredDraft.tempCurlFax];
    [self.view addSubview:yetExecution];
    [yetExecution mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-RuleListCut.coloredDraft.inuitIndoor);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *taskFactView = [UIView new];
    taskFactView.userInteractionEnabled = YES;
    taskFactView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:taskFactView];
    [taskFactView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(RuleListCut.coloredDraft.rareErrorMan, RuleListCut.coloredDraft.rareErrorMan));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *costCentersSinhaleseBitsSerialize = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(outlineObjectBufferSuccessTabInfo)];
    costCentersSinhaleseBitsSerialize.numberOfTapsRequired = RuleListCut.coloredDraft.runStoodIll;
    [taskFactView addGestureRecognizer:costCentersSinhaleseBitsSerialize];
    
    
    UIView *tapExecHighlightTagMin = [UIView new];
    tapExecHighlightTagMin.userInteractionEnabled = YES;
    tapExecHighlightTagMin.backgroundColor = UIColor.clearColor;
    [self.view addSubview:tapExecHighlightTagMin];
    [tapExecHighlightTagMin mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(RuleListCut.coloredDraft.rareErrorMan, RuleListCut.coloredDraft.rareErrorMan));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *hexMultipleHomepageGloballyBaseline = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(denyFormSuffix)];
    hexMultipleHomepageGloballyBaseline.numberOfTapsRequired = RuleListCut.coloredDraft.runStoodIll;
    [tapExecHighlightTagMin addGestureRecognizer:hexMultipleHomepageGloballyBaseline];
    
    
}


- (UIButton *)assemblyHexForwardsMobileHandoffDistantIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.layer.cornerRadius = RuleListCut.coloredDraft.countingRain;
    
    if ([RuleListCut schedulerFlowAxialLittleWaxImage]) {
        button.backgroundColor = UIColor.clearColor;
        button.layer.borderColor = [RuleListCut slopeLockColor].CGColor;
        button.layer.borderWidth = 0.6;
    } else {
        button.backgroundColor = [UIColor whiteColor];
    }
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:RuleListCut.coloredDraft.countingRain weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [RuleListCut slopeLockColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(RuleListCut.coloredDraft.redPeriodIll);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(RuleListCut.coloredDraft.malteseClamp);
    }];
    
    
    UILabel *illMildHueLabel = [[UILabel alloc] init];
    illMildHueLabel.text = title;
    illMildHueLabel.font = [UIFont systemFontOfSize:RuleListCut.coloredDraft.yardJobShift weight:UIFontWeightMedium];
    illMildHueLabel.textColor = [UIColor millionActiveGainZipBoostReturning:RuleListCut.coloredDraft.italicsBurn];
    [button addSubview:illMildHueLabel];
    [illMildHueLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(RuleListCut.coloredDraft.redPeriodIll);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:RuleListCut.coloredDraft.yardJobShift];
    subtitleLabel.textColor = [RuleListCut slopeLockColor];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-RuleListCut.coloredDraft.funOtherGolf);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)documentsRoomAction:(id)sender {
    NSString *netDatum = OwnKeysDidConfig.shared.sheParticleEraEitherStreet.locallyChild.unsaved;
    if (netDatum.length > 0) {
        [self.urgentRatings permittedLocatorTightDiscoveryPresenceBelowFunnel:[NSString stringWithFormat:RuleListCut.coloredDraft.theDriveMeanSodiumHostRepeat, netDatum]];
    } else {
        [SexToast writing:RuleListCut.costSonKnowKit.handlingActiveMethodRenewedMilesCalories];
    }
}

- (void)radixFunSonNotAction:(id)sender {
    NSString *fontScale = OwnKeysDidConfig.shared.sheParticleEraEitherStreet.locallyChild.cityTrap;
    if (fontScale.length > 0) {
        [self.urgentRatings permittedLocatorTightDiscoveryPresenceBelowFunnel:[NSString stringWithFormat:RuleListCut.coloredDraft.betterBlurCutUnpluggedKilohertzScrolls, fontScale]];
    } else {
        [SexToast writing:RuleListCut.costSonKnowKit.yetDetailsSalientExporterMusicIcy];
    }
}

- (void)overageSobConverterAcquirePreventAction:(id)sender {
    NSString *wasMargins = OwnKeysDidConfig.shared.sheParticleEraEitherStreet.locallyChild.maxSleet;
    if (wasMargins.length > 0) {
        [self.urgentRatings permittedLocatorTightDiscoveryPresenceBelowFunnel:wasMargins];
    } else {
        [SexToast writing:RuleListCut.costSonKnowKit.chineseSucceedEnteredSaltOurImage];
    }
}

- (void)outlineObjectBufferSuccessTabInfo {
    SockWasUseViewController *startAcute = [SockWasUseViewController new];
    NSDictionary *metadataSub = @{
        RuleListCut.coloredDraft.loveEuropeanRecentNapExhaustedIdiom: [[NSBundle mainBundle] infoDictionary],
        RuleListCut.coloredDraft.radixInteriorArteryWaxGatheringKirghiz: [OwnKeysDidConfig.shared.manualGenreInfo koreanAssignDict],
        RuleListCut.coloredDraft.farsiContainedAlbanianCountBuildSymptom: [OwnKeysDidConfig.shared.objectDid koreanAssignDict],
        RuleListCut.coloredDraft.uniformSpecialMonthRangeDimensionClang: [OwnKeysDidConfig.shared.templateBagInfo koreanAssignDict],
        RuleListCut.coloredDraft.thousandsAuditOptEventualForActual: [OwnKeysDidConfig.shared.sheParticleEraEitherStreet koreanAssignDict],
        RuleListCut.coloredDraft.fastStableEdgaVolumeWorldTrust: [OwnKeysDidConfig.shared.hormoneNeverSumHoursUtterance koreanAssignDict]
    };
    [startAcute insertedFlushInfo:metadataSub withTitle:@""];
    [self.navigationController pushViewController:startAcute animated:NO];
}

- (void)denyFormSuffix {
    [StoneViewController showFromViewController:self];
}
@end
