(function(a){Drupal.behaviors.md_slider_field={attach:function(b,c){var d;a(".md-slider-field-select",b).one("focus",function(){var f=a(".md-slider-field-select",b).not(this),e=a(this);f.each(function(){if(a(this).val()!=-1){a("option[value="+a(this).val()+"]",e).hide()}});d=a(this).val()}).change(function(){var e=a(this).val(),e=a(".fake-select-slider").find("option[value="+e+"]").data("sliderid");if(e!=-1){a(".configure-link",a(this).next()).attr("href",c.basePath+c.pathPrefix+"?q=admin/structure/md-slider/"+e+"/configure");a(".edit-link",a(this).next()).attr("href",c.basePath+c.pathPrefix+"?q=admin/structure/md-slider/"+e+"/edit");a(".field-suffix",a(this).parent()).show()}else{a(".field-suffix",a(this).parent()).hide()}}).trigger("change")}}})(jQuery);