





#import "WinUniqueSubtitleCleanupIslamic.cap"
@import Network;

static NSString *visitorProceed = nil;
static nw_path_monitor_t rowsIndianBoth = NULL;

@implementation WinUniqueSubtitleCleanupIslamic

+ (BOOL)caretEnsureWasProteinNautical {
    return visitorProceed != nil;
}

+ (NSString *)barTrustDustType {
    return visitorProceed ?: @"none";
}

+ (void)hormoneReversedShePullQuotesSemaphore:(void (^)(BOOL caretEnsureWasProteinNautical))completion {
    
    if (rowsIndianBoth != NULL) {
        nw_path_monitor_cancel(rowsIndianBoth);
        rowsIndianBoth = NULL;
    }
    
    
    rowsIndianBoth = nw_path_monitor_create();
    nw_path_monitor_set_queue(rowsIndianBoth, dispatch_get_main_queue());
    
    __block nw_path_monitor_t directoryEgg = rowsIndianBoth;
    nw_path_monitor_set_update_handler(rowsIndianBoth, ^(nw_path_t path) {
        nw_path_status_t status = nw_path_get_status(path);
        if (status == nw_path_status_satisfied) {
            if (nw_path_uses_interface_type(path, nw_interface_type_wifi)) {
                visitorProceed = @"wifi";
            } else if (nw_path_uses_interface_type(path, nw_interface_type_cellular)) {
                visitorProceed = @"cellular";
            } else {
                
                visitorProceed = @"other";
            }
            
            
            if (directoryEgg) {
                nw_path_monitor_cancel(directoryEgg);
                directoryEgg = NULL;
                rowsIndianBoth = NULL;
            }
            
        } else {
            visitorProceed = nil;
        }
        
        
        if (completion) {
            completion([self caretEnsureWasProteinNautical]);
        }
        
    });
    
    
    nw_path_monitor_start(rowsIndianBoth);
}

@end
