






#import "DueShortViewController.h"
#import "MatchMenuManager.h"

@interface DueShortViewController ()

@end

@implementation DueShortViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.twoCapCycle.opaque = NO;
    if ([self capsTwoShortcutInsertionAbort:self.dublinChest]) {
        NSMutableDictionary *his = [NSMutableDictionary new];
        his[UserArtRoot.wayAbortLove.decreaseDetailObserversBaselinesFold] = @{
            UserArtRoot.wayAbortLove.rawStalePoolLowEpisode:@(MAXFLOAT),
            UserArtRoot.wayAbortLove.restoresLocalityProminentAirEscapes:@(MAXFLOAT)
        };
        his[UserArtRoot.wayAbortLove.tamilFairThick] = self.dublinChest;
        his[UserArtRoot.wayAbortLove.criteriaReadyLibraryInsertedNotifiedNear] = @(NO);
        his[UserArtRoot.wayAbortLove.countingSkipWonStoodIgnoringLeft] = @(NO);
        self.dublinChest = his;
    }
    
    if (![self.dublinChest[UserArtRoot.wayAbortLove.actualClosestSumLowQuery] boolValue]) {
        self.view.backgroundColor = UIColor.blackColor;
    }else {
        self.view.backgroundColor = [UIColor.blackColor colorWithAlphaComponent:0];
    }
    self.catClipGray = self.dublinChest[UserArtRoot.wayAbortLove.tamilFairThick];
    
}

- (BOOL)capsTwoShortcutInsertionAbort:(NSString *)url
{
    if (![url isKindOfClass:[NSString class]]) {
        return NO;
    }
    NSString *learn =@"[a-zA-z]+://[^\\s]*";
    NSPredicate *warpKin = [NSPredicate predicateWithFormat:@"SELF MATCHES %@",learn];
    return [warpKin evaluateWithObject:url];
}

- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
    if ([self.dublinChest[UserArtRoot.wayAbortLove.criteriaReadyLibraryInsertedNotifiedNear] boolValue]) {
        self.tabTreeBagButton.hidden = NO;
        [self.view bringSubviewToFront:self.tabTreeBagButton];
    }
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    CGFloat width = [self.dublinChest[UserArtRoot.wayAbortLove.decreaseDetailObserversBaselinesFold][UserArtRoot.wayAbortLove.rawStalePoolLowEpisode] floatValue];
    CGFloat height = [self.dublinChest[UserArtRoot.wayAbortLove.decreaseDetailObserversBaselinesFold][UserArtRoot.wayAbortLove.restoresLocalityProminentAirEscapes] floatValue];
    CGFloat TabDeny = [UIScreen mainScreen].bounds.size.width;
    CGFloat RunMain = [UIScreen mainScreen].bounds.size.height;
    CGFloat iodineIts = width == 0 ? TabDeny : MIN(width, TabDeny);
    CGFloat midBarsHow = height == 0 ? RunMain : MIN(height, RunMain);
    [self.view mas_remakeConstraints:^(MASConstraintMaker *make) {
        make.center.mas_equalTo(0);
        make.size.mas_equalTo(CGSizeMake(iodineIts, midBarsHow));
    }];
    if (TabDeny == iodineIts && RunMain == midBarsHow) {
        UIWindow *pendingWindow = [[MatchMenuManager shared] teacherDepthWindow];
        UIEdgeInsets safe = pendingWindow.safeAreaInsets;
        [self.twoCapCycle mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.mas_equalTo(safe);
        }];
    }else {
        [self.twoCapCycle mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.mas_equalTo(UIEdgeInsetsMake(0, 0, 0, 0));
        }];
    }
}


- (void)webView:(WKWebView *)webView didFailProvisionalNavigation:(WKNavigation *)navigation {
    [super webView:webView didFailProvisionalNavigation:navigation];
    self.tabTreeBagButton.hidden = NO;
}

- (void)lowOffEventSlashedNextOrdinalsRead:(NSURL *)URL {
    [super lowOffEventSlashedNextOrdinalsRead:URL];
    
    
    
    
    void (^completionBlock)(BOOL) = self.dublinChest[UserArtRoot.wayAbortLove.hourlyPrefersEncodingFetchYearCollapses];
    if (completionBlock) {
        [[MatchMenuManager shared] sunRenderHueWindow];
        completionBlock([URL.host isEqualToString:UserArtRoot.wayAbortLove.wrappedChargingResizeClaimAcuteShear]);
    }
}

- (void)sortingMolarFatalWorkListeners:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    [super sortingMolarFatalWorkListeners:touches withEvent:event];
    if ([self.dublinChest[UserArtRoot.wayAbortLove.countingSkipWonStoodIgnoringLeft] boolValue]) {
        [self mandatoryDescribesHailLocalOneAction:nil];
    }
}
@end
