$(window).on('vueReady', function(){

    "use strict";

    /*
   * Mobile Members Menu
   */
    if($('.js_mobileMembersMenu').length) {
        window.showHideMenus('.js_mobileMembersMenu', window.breakpoints.flyout);
    }


    /*
    * Chosen support
     */
    if ($('select').length) {
        $('select:not(.no-chosen)').chosen({
            disable_search_threshold: 100
        });
    }


    /*
     * MTC Mobile Menu
     */

    if($('.flyoutWrap').length) {
        $.mtcMobileMenu({
            move_site: false,
            position: 'left',
            is_fixed: true
        });
    }


    $(window).on('resize', debouncer(function (e) {


        /*
        * Mobile Members Menu
        */
        if($('.js_mobileMembersMenu').length) {
            window.showHideMenus('.js_mobileMembersMenu', window.breakpoints.flyout);
        }

    })); // debounce


});


