!function(s){s(document).on("metaslider/initialized",function(e,i){if(s(i).closest(".metaslider.ms-theme-cubic").length){var t=s(i),a=s(i).closest(".metaslider.ms-theme-cubic"),d=t.find(".caption");d.length&&a.addClass("ms-has-caption"),a.addClass("ms-loaded")}s(window).trigger("resize")}),s(window).on("load resize",function(e){s(".metaslider").each(function(e){var i=s(this).outerWidth();i<600?s(this).addClass("ms-is-small"):s(this).removeClass("ms-is-small")})})}(jQuery);