!function(t,e){t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";var i=Array.prototype.slice,n=t.console,d=void 0===n?function(){}:function(t){n.error(t)};function o(h,u,l){(l=l||e||t.jQuery)&&(u.prototype.option||(u.prototype.option=function(t){l.isPlainObject(t)&&(this.options=l.extend(!0,this.options,t))}),l.fn[h]=function(t){if("string"!=typeof t)return a=t,this.each(function(t,e){var i=l.data(e,h);i?(i.option(a),i._init()):(i=new u(e,a),l.data(e,h,i))}),this;var n,o,s,r,a,e=i.call(arguments,1);return o=e,r="$()."+h+'("'+(n=t)+'")',(t=this).each(function(t,e){var i=l.data(e,h);i?(e=i[n])&&"_"!=n.charAt(0)?(i=e.apply(i,o),s=void 0===s?i:s):d(r+" is not a valid method"):d(h+" not initialized. Cannot call methods, i.e. "+r)}),void 0!==s?s:t},s(l))}function s(t){!t||t&&t.bridget||(t.bridget=o)}return s(e||t.jQuery),o}),function(t){function e(){}t.EvEmitter=((t=e.prototype).on=function(t,e){if(t&&e){var i=this._events=this._events||{},t=i[t]=i[t]||[];return-1==t.indexOf(e)&&t.push(e),this}},t.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},t.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length){e=t.indexOf(e);return-1!=e&&t.splice(e,1),this}},t.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o