text: /*!
   * jQuery UI Widget 1.10.4
   * http://jqueryui.com
   *
   * Copyright 2014 jQuery Foundation and other contributors
   * Released under the MIT license.
   * http://jquery.org/license
   *
   * http://api.jqueryui.com/jQuery.widget/
   */
  (function($,u){var a=0,s=Array.prototype.slice,_=$.cleanData;$.cleanData=function(b){for(var i=0,c;(c=b[i])!=null;i++){try{$(c).triggerHandler("remove");}catch(e){}}_(b);};$.widget=function(n,b,p){var f,e,c,d,g={},h=n.split(".")[0];n=n.split(".")[1];f=h+"-"+n;if(!p){p=b;b=$.Widget;}$.expr.pseudos[f.toLowerCase()]=function(i){return!!$.data(i,f);};$[h]=$[h]||{};e=$[h][n];c=$[h][n]=function(o,i){if(!this._createWidget){return new c(o,i);}if(arguments.length){this._createWidget(o,i);}};$.extend(c,e,{version:p.version,_proto:$.extend({},p),_childConstructors:[]});d=new b();d.options=$.widget.extend({},d.options);$.each(p,function(i,v){if(typeof v!=="function"){g[i]=v;return;}g[i]=(function(){var j=function(){return b.prototype[i].apply(this,arguments);},k=function(l){return b.prototype[i].apply(this,l);};return function(){var l=this._super,m=this._superApply,r;this._super=j;this._superApply=k;r=v.apply(this,arguments);this._super=l;this._superApply=m;return r;};})();});c.prototype=$.widget.extend(d,{widgetEventPrefix:e?(d.widgetEventPrefix||n):n},g,{constructor:c,namespace:h,widgetName:n,widgetFullName:f});if(e){$.each(e._childConstructors,function(i,j){var k=j.prototype;$.widget(k.namespace+"."+k.widgetName,c,j._proto);});delete e._childConstructors;}else{b._childConstructors.push(c);}$.widget.bridge(n,c);};$.widget.extend=function(t){var i=s.call(arguments,1),b=0,c=i.length,k,v;for(;b<c;b++){for(k in i[b]){v=i[b][k];if(i[b].hasOwnProperty(k)&&v!==u){if($.isPlainObject(v)){t[k]=$.isPlainObject(t[k])?$.widget.extend({},t[k],v):$.widget.extend({},v);}else{t[k]=v;}}}}return t;};$.widget.bridge=function(n,o){var f=o.prototype.widgetFullName||n;$.fn[n]=function(b){var i=typeof b==="string",c=s.call(arguments,1),r=this;b=!i&&c.length?$.widget.extend.apply(null,[b].concat(c)):b;if(i){this.each(function(){var m,d=$.data(this,f);if(!d){return $.error("cannot call methods on "+n+" prior to initialization; "+"attempted to call method '"+b+"'");}if(typeof d[b]!=="function"||b.charAt(0)==="_"){return $.error("no such method '"+b+"' for "+n+" widget instance");}m=d[b].apply(d,c);if(m!==d&&m!==u){r=m&&m.jquery?r.pushStack(m.get()):m;return false;}});}else{this.each(function(){var d=$.data(this,f);if(d){d.option(b||{})._init();}else{$.data(this,f,new o(b,this));}});}return r;};};$.Widget=function(){};$.Widget._childConstructors=[];$.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:false,create:null},_createWidget:function(o,e){e=$(e||this.defaultElement||this)[0];this.element=$(e);this.uuid=a++;this.eventNamespace="."+this.widgetName+this.uuid;this.options=$.widget.extend({},this.options,this._getCreateOptions(),o);this.bindings=$();this.hoverable=$();this.focusable=$();if(e!==this){$.data(e,this.widgetFullName,this);this._on(true,this.element,{remove:function(b){if(b.target===e){this.destroy();}}});this.document=$(e.style?e.ownerDocument:e.document||e);this.window=$(this.document[0].defaultView||this.document[0].parentWindow);}this._create();this._trigger("create",null,this._getCreateEventData());this._init();},_getCreateOptions:$.noop,_getCreateEventData:$.noop,_create:$.noop,_init:$.noop,destroy:function(){this._destroy();this.element.off(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData($.camelCase(this.widgetFullName));this.widget().off(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled");this.bindings.off(this.eventNamespace);this.hoverable.removeClass("ui-state-hover");this.focusable.removeClass("ui-state-focus");},_destroy:$.noop,widget:function(){return this.element;},option:function(k,v){var o=k,p,c,i;if(arguments.length===0){return $.widget.extend({},this.options);}if(typeof k==="string"){o={};p=k.split(".");k=p.shift();if(p.length){c=o[k]=$.widget.extend({},this.options[k]);for(i=0;i<p.length-1;i++){c[p[i]]=c[p[i]]||{};c=c[p[i]];}k=p.pop();if(arguments.length===1){return c[k]===u?null:c[k];}c[k]=v;}else{if(arguments.length===1){return this.options[k]===u?null:this.options[k];}o[k]=v;}}this._setOptions(o);return this;},_setOptions:function(o){var k;for(k in o){this._setOption(k,o[k]);}return this;},_setOption:function(k,v){this.options[k]=v;if(k==="disabled"){this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!v).attr("aria-disabled",v);this.hoverable.removeClass("ui-state-hover");this.focusable.removeClass("ui-state-focus");}return this;},enable:function(){return this._setOption("disabled",false);},disable:function(){return this._setOption("disabled",true);},_on:function(b,e,h){var d,i=this;if(typeof b!=="boolean"){h=e;e=b;b=false;}if(!h){h=e;e=this.element;d=this.widget();}else{e=d=$(e);this.bindings=this.bindings.add(e);}$.each(h,function(c,f){function g(){if(!b&&(i.options.disabled===true||$(this).hasClass("ui-state-disabled"))){return;}return(typeof f==="string"?i[f]:f).apply(i,arguments);}if(typeof f!=="string"){g.guid=f.guid=f.guid||g.guid||$.guid++;}var m=c.match(/^(\w+)\s*(.*)$/),j=m[1]+i.eventNamespace,k=m[2];if(k){d.delegate(k,j,g);}else{e.on(j,g);}});},_off:function(e,b){b=(b||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;e.off(b).undelegate(b);},_delay:function(h,d){function b(){return(typeof h==="string"?i[h]:h).apply(i,arguments);}var i=this;return setTimeout(b,d||0);},_hoverable:function(e){this.hoverable=this.hoverable.add(e);this._on(e,{mouseenter:function(b){$(b.currentTarget).addClass("ui-state-hover");},mouseleave:function(b){$(b.currentTarget).removeClass("ui-state-hover");}});},_focusable:function(e){this.focusable=this.focusable.add(e);this._on(e,{focusin:function(b){$(b.currentTarget).addClass("ui-state-focus");},focusout:function(b){$(b.currentTarget).removeClass("ui-state-focus");}});},_trigger:function(t,e,d){var p,o,c=this.options[t];d=d||{};e=$.Event(e);e.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase();e.target=this.element[0];o=e.originalEvent;if(o){for(p in o){if(!(p in e)){e[p]=o[p];}}}this.element.trigger(e,d);return!(typeof c==="function"&&c.apply(this.element[0],[e].concat(d))===false||e.isDefaultPrevented());}};$.each({show:"fadeIn",hide:"fadeOut"},function(m,d){$.Widget.prototype["_"+m]=function(e,o,c){if(typeof o==="string"){o={effect:o};}var h,b=!o?m:o===true||typeof o==="number"?d:o.effect||d;o=o||{};if(typeof o==="number"){o={duration:o};}h=!$.isEmptyObject(o);o.complete=c;if(o.delay){e.delay(o.delay);}if(h&&$.effects&&$.effects.effect[b]){e[m](o);}else if(b!==m&&e[b]){e[b](o.duration,o.easing,c);}else{e.queue(function(n){$(this)[m]();if(c){c.call(e[0]);}n();});}};});})(jQuery);
  