






#import "PivotScopeViewController.h"
#import "SinWrappedViewController.h"
#import "DueBlurNetConfig.h"
#import "NSObject+CupModel.h"
#import "UIColor+TenColor.h"
#import "TapToast.h"
#import "AngularMidYardSortingDecrypt.h"

@interface PivotScopeViewController ()

@property (nonatomic, strong) UIImageView *normalImageView;
@property (nonatomic, strong) UIButton *endButton;
@property (nonatomic, strong) UIButton *waxButton;
@property (nonatomic, strong) UIButton *outButton;

@end

@implementation PivotScopeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor boxBadEditAddressesAdvisedCalories:DenyQuarter.nowPinReport.jouleAppear];
    
    
    UIView *eightRawMixerOutlineShelf = [[UIView alloc] init];
    eightRawMixerOutlineShelf.backgroundColor = [UIColor clearColor];
    [self.view addSubview:eightRawMixerOutlineShelf];
    
    
    _normalImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:DenyQuarter.nowPinReport.metabolicHis weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:DenyQuarter.nowPinReport.cyclingEarTagsEquallyTriangleBagAllergy withConfiguration:config];
    _normalImageView.image = headerImage;
    _normalImageView.tintColor = [UIColor boxBadEditAddressesAdvisedCalories:DenyQuarter.nowPinReport.sameAppleColor];
    _normalImageView.contentMode = UIViewContentModeScaleAspectFit;
    [eightRawMixerOutlineShelf addSubview:_normalImageView];
    
    
    UILabel *sunEscapedLabel = [[UILabel alloc] init];
    sunEscapedLabel.text = DenyQuarter.netAcuteLowRow.handlesLibrariesFormattedManagedPresentUnfocused;
    sunEscapedLabel.font = [UIFont boldSystemFontOfSize:DenyQuarter.nowPinReport.launchWidget];
    sunEscapedLabel.textAlignment = NSTextAlignmentLeft;
    sunEscapedLabel.textColor = [UIColor boxBadEditAddressesAdvisedCalories:DenyQuarter.nowPinReport.pitchCatTry];
    [eightRawMixerOutlineShelf addSubview:sunEscapedLabel];
    
    
    [eightRawMixerOutlineShelf mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(DenyQuarter.nowPinReport.caffeineLost);
        make.centerX.equalTo(self.view).offset(-DenyQuarter.nowPinReport.postRadians);
        make.height.mas_equalTo(DenyQuarter.nowPinReport.worldInfoSay);
    }];
    
    
    [_normalImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(eightRawMixerOutlineShelf);
        make.centerY.equalTo(eightRawMixerOutlineShelf);
        make.width.height.mas_equalTo(DenyQuarter.nowPinReport.worldInfoSay);
    }];
    
    [sunEscapedLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_normalImageView.mas_right).offset(DenyQuarter.nowPinReport.dayTransform);
        make.centerY.equalTo(eightRawMixerOutlineShelf);
        make.right.equalTo(eightRawMixerOutlineShelf);
    }];
    
    
    _endButton = [self thickTeethConverterVisitedUnlikelyElementsIcon:DenyQuarter.nowPinReport.muteCreditsRelayPreserveStrategyRecovered
                                                  title:DenyQuarter.netAcuteLowRow.koreanAnyChlorideUploadDisk
                                               subtitle:DueBlurNetConfig.shared.weeklySiteYetLoudOpen.editGuration.drumMen];
    [self.view addSubview:_endButton];
    [_endButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(eightRawMixerOutlineShelf.mas_bottom).offset(DenyQuarter.nowPinReport.caffeineLost);
        make.left.equalTo(self.view).offset(DenyQuarter.nowPinReport.abortWonUsed);
        make.right.equalTo(self.view).offset(-DenyQuarter.nowPinReport.abortWonUsed);
        make.height.mas_equalTo(DenyQuarter.nowPinReport.worldInfoSay);
    }];
    [_endButton addTarget:self action:@selector(mixScanCatSixAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _waxButton = [self thickTeethConverterVisitedUnlikelyElementsIcon:DenyQuarter.nowPinReport.capturesFunDitheredFingerIndentWas
                                                   title:DenyQuarter.netAcuteLowRow.eightFailureEpisodeHighestPrivacy
                                                subtitle:DueBlurNetConfig.shared.weeklySiteYetLoudOpen.editGuration.onlyNone];
    [self.view addSubview:_waxButton];
    [_waxButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_endButton.mas_bottom).offset(DenyQuarter.nowPinReport.bestSolvePan);
        make.left.equalTo(self.view).offset(DenyQuarter.nowPinReport.abortWonUsed);
        make.right.equalTo(self.view).offset(-DenyQuarter.nowPinReport.abortWonUsed);
        make.height.mas_equalTo(DenyQuarter.nowPinReport.worldInfoSay);
    }];
    [_waxButton addTarget:self action:@selector(birthAndMidBagAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _outButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _outButton.backgroundColor = [UIColor boxBadEditAddressesAdvisedCalories:DenyQuarter.nowPinReport.sameAppleColor];
    _outButton.layer.cornerRadius = DenyQuarter.nowPinReport.launchWidget;
    [_outButton setTitle:DenyQuarter.netAcuteLowRow.kelvinSpectralAdjustedBagButterfly forState:UIControlStateNormal];
    [_outButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    _outButton.titleLabel.font = [UIFont systemFontOfSize:DenyQuarter.nowPinReport.caffeineLost weight:UIFontWeightMedium];
    UIImage *useIcon = [UIImage systemImageNamed:DenyQuarter.nowPinReport.priorDownloadPlayCoalescedMakeMismatch];
    [_outButton setImage:useIcon forState:UIControlStateNormal];
    _outButton.imageEdgeInsets = UIEdgeInsetsMake(0, -DenyQuarter.nowPinReport.sigmaUnique, 0, 0);
    _outButton.titleEdgeInsets = UIEdgeInsetsMake(0, DenyQuarter.nowPinReport.sigmaUnique, 0, 0);
    _outButton.tintColor = [UIColor whiteColor];
    [self.view addSubview:_outButton];
    [_outButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_waxButton.mas_bottom).offset(DenyQuarter.nowPinReport.bestSolvePan);
        make.left.equalTo(self.view).offset(DenyQuarter.nowPinReport.abortWonUsed);
        make.right.equalTo(self.view).offset(-DenyQuarter.nowPinReport.abortWonUsed);
        make.height.mas_equalTo(DenyQuarter.nowPinReport.worldInfoSay);
    }];
    [_outButton addTarget:self action:@selector(hitVisitAllowableCookieLegalAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *decipherUnit = [[UILabel alloc] init];
    decipherUnit.text = [NSString stringWithFormat:DenyQuarter.nowPinReport.generateEmbeddingCostTruncatesPendingDust, DueBlurNetConfig.shared.lingerMax.decipherUnit];
    decipherUnit.font = [UIFont systemFontOfSize:DenyQuarter.nowPinReport.paceEyePaper weight:UIFontWeightLight];
    decipherUnit.textAlignment = NSTextAlignmentLeft;
    decipherUnit.textColor = [UIColor boxBadEditAddressesAdvisedCalories:DenyQuarter.nowPinReport.normalRaise];
    [self.view addSubview:decipherUnit];
    [decipherUnit mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-DenyQuarter.nowPinReport.bevelBeacon);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *undoPortView = [UIView new];
    undoPortView.userInteractionEnabled = YES;
    undoPortView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:undoPortView];
    [undoPortView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(DenyQuarter.nowPinReport.leftPinHeavy, DenyQuarter.nowPinReport.leftPinHeavy));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *realmMealNearCookiesReactor = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(seguePreferredDeletionExporterStrategyInfo)];
    realmMealNearCookiesReactor.numberOfTapsRequired = DenyQuarter.nowPinReport.postRadians;
    [undoPortView addGestureRecognizer:realmMealNearCookiesReactor];
    
    
    UIView *criteriaAnimatorModalHailOpt = [UIView new];
    criteriaAnimatorModalHailOpt.userInteractionEnabled = YES;
    criteriaAnimatorModalHailOpt.backgroundColor = UIColor.clearColor;
    [self.view addSubview:criteriaAnimatorModalHailOpt];
    [criteriaAnimatorModalHailOpt mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(DenyQuarter.nowPinReport.leftPinHeavy, DenyQuarter.nowPinReport.leftPinHeavy));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *danishQualityRollExactLiteral = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(senseGroupBlur)];
    danishQualityRollExactLiteral.numberOfTapsRequired = DenyQuarter.nowPinReport.postRadians;
    [criteriaAnimatorModalHailOpt addGestureRecognizer:danishQualityRollExactLiteral];
    
    
}


- (UIButton *)thickTeethConverterVisitedUnlikelyElementsIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.backgroundColor = [UIColor whiteColor];
    button.layer.cornerRadius = DenyQuarter.nowPinReport.launchWidget;
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:DenyQuarter.nowPinReport.launchWidget weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [UIColor boxBadEditAddressesAdvisedCalories:DenyQuarter.nowPinReport.sameAppleColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(DenyQuarter.nowPinReport.dayTransform);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(DenyQuarter.nowPinReport.legacyPinAnd);
    }];
    
    
    UILabel *sunEscapedLabel = [[UILabel alloc] init];
    sunEscapedLabel.text = title;
    sunEscapedLabel.font = [UIFont systemFontOfSize:DenyQuarter.nowPinReport.collapseTaps weight:UIFontWeightMedium];
    sunEscapedLabel.textColor = [UIColor boxBadEditAddressesAdvisedCalories:DenyQuarter.nowPinReport.pitchCatTry];
    [button addSubview:sunEscapedLabel];
    [sunEscapedLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(DenyQuarter.nowPinReport.dayTransform);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:DenyQuarter.nowPinReport.collapseTaps];
    subtitleLabel.textColor = [UIColor boxBadEditAddressesAdvisedCalories:DenyQuarter.nowPinReport.normalRaise];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-DenyQuarter.nowPinReport.caffeineLost);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)mixScanCatSixAction:(id)sender {
    NSString *dueCount = DueBlurNetConfig.shared.weeklySiteYetLoudOpen.editGuration.drumMen;
    if (dueCount.length > 0) {
        [self.cardPutBarSay promotionFirstGenreMicroCoverageDownloadsCandidate:[NSString stringWithFormat:DenyQuarter.nowPinReport.reportsDiscardsHandshakeDeepBarFlexible, dueCount]];
    } else {
        [TapToast headAny:DenyQuarter.netAcuteLowRow.obsoleteKilogramsButMoodRegionsBoth];
    }
}

- (void)birthAndMidBagAction:(id)sender {
    NSString *logDriven = DueBlurNetConfig.shared.weeklySiteYetLoudOpen.editGuration.onlyNone;
    if (logDriven.length > 0) {
        [self.cardPutBarSay promotionFirstGenreMicroCoverageDownloadsCandidate:[NSString stringWithFormat:DenyQuarter.nowPinReport.bodyEntitiesMattingTapsHealthSmaller, logDriven]];
    } else {
        [TapToast headAny:DenyQuarter.netAcuteLowRow.stopSamplesMediaNameTemplateCatalog];
    }
}

- (void)hitVisitAllowableCookieLegalAction:(id)sender {
    NSString *rebuildSob = DueBlurNetConfig.shared.weeklySiteYetLoudOpen.editGuration.popShift;
    if (rebuildSob.length > 0) {
        [self.cardPutBarSay promotionFirstGenreMicroCoverageDownloadsCandidate:rebuildSob];
    } else {
        [TapToast headAny:DenyQuarter.netAcuteLowRow.equalProvidingSkinFollowReorderMagnesium];
    }
}

- (void)seguePreferredDeletionExporterStrategyInfo {
    SinWrappedViewController *getOverdue = [SinWrappedViewController new];
    NSDictionary *waitingBlur = @{
        DenyQuarter.nowPinReport.interServiceModerateSpaceReasonHow: [[NSBundle mainBundle] infoDictionary],
        DenyQuarter.nowPinReport.satisfiedOriginTextureTooMouthAssert: [DueBlurNetConfig.shared.bondYetLastInfo cycleButPackDict],
        DenyQuarter.nowPinReport.unwindNecessaryRouteNumeralGivenRotor: [DueBlurNetConfig.shared.lingerMax cycleButPackDict],
        DenyQuarter.nowPinReport.displaysBoxThumbLowSpeedCosmic: [DueBlurNetConfig.shared.tenCertMaleInfo cycleButPackDict],
        DenyQuarter.nowPinReport.lowLeastAdjustsProduceHundredsEscaped: [DueBlurNetConfig.shared.weeklySiteYetLoudOpen cycleButPackDict],
        DenyQuarter.nowPinReport.markBirthBedSharpnessLexicalThin: [DueBlurNetConfig.shared.originNeedNapMeanPop cycleButPackDict]
    };
    [getOverdue armBadLowToolInfo:waitingBlur withTitle:@""];
    [self.navigationController pushViewController:getOverdue animated:NO];
}

- (void)senseGroupBlur {
    [MiterViewController didPhotoViewController:self];
}
@end
