(function(a){"function"===typeof define&&define.amd?define(["jquery","./effect"],a):a(jQuery)})(function(a){return a.effects.effect.highlight=function(c,g){var b=a(this),d=["backgroundImage","backgroundColor","opacity"],e=a.effects.setMode(b,c.mode||"show"),f={backgroundColor:b.css("backgroundColor")};"hide"===e&&(f.opacity=0);a.effects.save(b,d);b.show().css({backgroundImage:"none",backgroundColor:c.color||"#ffff99"}).animate(f,{queue:!1,duration:c.duration,easing:c.easing,complete:function(){"hide"===
e&&b.hide();a.effects.restore(b,d);g()}})}});