!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(v){var a=function(){function t(){var u=this,d=function(t){return v.isNumeric(t)&&(t=Math.floor(t)),v('option[value="'+t+'"]',u.$elem)},l=function(t){var e=u.$elem.data("barrating");return void 0!==t?e[t]:e},g=function(t,e){null!==e&&"object"==typeof e?u.$elem.data("barrating",e):u.$elem.data("barrating")[t]=e},e=function(){var t,e,n=(e=u.options.initialRating)?d(e):v("option:selected",u.$elem),a=!(t=u.$elem.find('option[value="'+u.options.emptyValue+'"]')).length&&u.options.allowEmpty?(t=v("