text: (function(e){"use strict";e(window.jQuery,window,document)})(function(e,t,n,r){"use strict";e.widget("selectBox.selectBoxIt",{VERSION:"2.4.0",options:{showEffect:"none",showEffectOptions:{},showEffectSpeed:"medium",hideEffect:"none",hideEffectOptions:{},hideEffectSpeed:"medium",showFirstOption:!0,defaultText:"",defaultIcon:"",downArrowIcon:"",theme:"bootstrap",keydownOpen:!0,isMobile:function(){var e=navigator.userAgent||navigator.vendor||t.opera;return/iPhone|iPod|iPad|Android|BlackBerry|Opera Mini|IEMobile/.test(e)},nostyle:!1,"native":!1},_create:function(){var t=this;return t.originalElem=t.element[0],t.selectBox=t.element,t.selectItems=t.element.find("option"),t.firstSelectItem=t.element.find("option").slice(0,1),t.currentFocus=0,t.blur=!0,t.documentHeight=e(n).height(),t.textArray=[],t.currentIndex=0,t.flipped=!1,t.disabledClasses=function(){return t.options.theme==="bootstrap"?"disabled":t.options.theme==="jqueryui"?"ui-state-disabled":t.options.theme==="jquerymobile"?"ui-disabled":"selectboxit-disabled"}(),t._createDiv()._createUnorderedList()._replaceSelectBox()._eventHandlers(),t.originalElem.disabled&&t.disable&&t.disable(),t._ariaAccessibility&&t._ariaAccessibility(),t.options.theme==="bootstrap"?t._twitterbootstrap():this.options.theme==="jqueryui"?t._jqueryui():this.options.theme==="jquerymobile"?t._jquerymobile():t._addClasses(),t._mobile&&t._mobile(),t.options["native"]&&this._applyNativeSelect(),t.selectBox.trigger("create"),t},_createDiv:function(){var t=this;return t.divText=e("<span/>",{id:(t.originalElem.id||"")&&t.originalElem.id+"SelectBoxItText","class":"selectboxit-text",unselectable:"on",text:t.firstSelectItem.text()}).attr("data-val",t.originalElem.value),t.divImage=e("<i/>",{id:(t.originalElem.id||"")&&t.originalElem.id+"SelectBoxItDefaultIcon","class":"selectboxit-default-icon",unselectable:"on"}),t.div=e("<span/>",{id:(t.originalElem.id||"")&&t.originalElem.id+"SelectBoxIt","class":"selectboxit "+(t.selectBox.attr("class")||""),style:t.selectBox.attr("style"),name:t.originalElem.name,tabindex:t.selectBox.attr("tabindex")||"0",unselectable:"on"}).append(t.divImage).append(t.divText),t.divContainer=e("<span/>",{id:(t.originalElem.id||"")&&t.originalElem.id+"SelectBoxItContainer","class":"selectboxit-container"}).append(t.div),t},_createUnorderedList:function(){var t=this,n,r,i,s,o,u,a,f="",l=e("<ul/>",{id:(t.originalElem.id||"")&&t.originalElem.id+"SelectBoxItOptions","class":"selectboxit-options",tabindex:-1});return t.options.showFirstOption||(t.selectItems=t.selectBox.find("option").slice(1)),t.selectItems.each(function(l){r="",i="",n=e(this).prop("disabled"),s=e(this).data("icon")||"",o=e(this).data("iconurl")||"",u=o?"selectboxit-option-icon-url":"",a=o?"style=\"background-image:url('"+o+"');\"":"",e(this).parent().is("optgroup")&&(r="selectboxit-optgroup-option",e(this).index()===0&&(i='<div class="selectboxit-optgroup-header" data-disabled="true">'+e(this).parent().first().attr("label")+"</div>")),f+=i+'<li id="'+l+'" data-val="'+t.htmlEscape(this.value)+'" data-disabled="'+n+'" class="'+r+" selectboxit-option"+(e(this).attr("class")||"")+'" style="'+(e(this).attr("style")||"")+'"><a class="selectboxit-option-anchor"><i class="selectboxit-option-icon '+s+" "+u+'"'+a+"></i>"+t.htmlEscape(e(this).text())+"</a></li>",t.textArray[l]=e(this).text(),this.selected&&(t.divText.text(e(this).text()),t.currentFocus=l)}),t.options.defaultText&&t.divText.text(t.options.defaultText),t.selectBox.data("text")&&(t.divText.text(t.selectBox.data("text")),t.options.defaultText=t.selectBox.data("text")),l.append(f),t.list=l,t.divContainer.append(t.list),t.listItems=t.list.find("li"),t.listItems.first().addClass("selectboxit-option-first"),t.listItems.last().addClass("selectboxit-option-last"),t.list.find("li[data-disabled='true']").not(".optgroupHeader").addClass(t.disabledClasses),t.currentFocus===0&&!t.options.showFirstOption&&t.listItems.eq(0).hasClass(t.disabledClasses)&&(t.currentFocus=+t.listItems.not(".ui-state-disabled").first().attr("id")),t.divImage.addClass(t.selectBox.data("icon")||t.options.defaultIcon||t.listItems.eq(t.currentFocus).find("i").attr("class")),t.divImage.attr("style",t.listItems.eq(t.currentFocus).find("i").attr("style")),t},_replaceSelectBox:function(){var t=this;t.selectBox.css("display","none").after(t.divContainer);var n=t.div.height();return t.downArrow=e("<i/>",{id:(t.originalElem.id||"")&&t.originalElem.id+"SelectBoxItArrow","class":"selectboxit-arrow",unselectable:"on"}),t.downArrowContainer=e("<span/>",{id:(t.originalElem.id||"")&&t.originalElem.id+"SelectBoxItArrowContainer","class":"selectboxit-arrow-container",unselectable:"on"}).append(t.downArrow),t.div.append(this.options.nostyle?t.downArrow:t.downArrowContainer),t.options.nostyle||(t.downArrowContainer.css({height:n+"px"}),t.divText.css({"line-height":t.div.css("height"),"max-width":t.div.outerWidth()-(t.downArrowContainer.outerWidth()+t.divImage.outerWidth())}),t.divImage.css({"margin-top":n/4})),t},_scrollToView:function(e){var t=this,n=t.list.scrollTop(),r=t.listItems.eq(t.currentFocus).height(),i=t.listItems.eq(t.currentFocus).position().top,s=t.list.height();return e==="search"?s-i<r?t.list.scrollTop(n+(i-(s-r))):i<-1&&t.list.scrollTop(i-r):e==="up"?i<-1&&t.list.scrollTop(n-Math.abs(t.listItems.eq(t.currentFocus).position().top)):e==="down"&&s-i<r&&t.list.scrollTop(n+(Math.abs(t.listItems.eq(t.currentFocus).position().top)-s+r)),t},_callbackSupport:function(t){var n=this;return e.isFunction(t)&&t.call(n,n.div),n},open:function(e){var t=this;t._dynamicPositioning&&t._dynamicPositioning();if(!this.list.is(":visible")){t.selectBox.trigger("open");switch(t.options.showEffect){case"none":t.list.show(),t._scrollToView("search");break;case"show":t.list.show(t.options.showEffectSpeed,function(){t._scrollToView("search")});break;case"slideDown":t.list.slideDown(t.options.showEffectSpeed,function(){t._scrollToView("search")});break;case"fadeIn":t.list.fadeIn(t.options.showEffectSpeed),t._scrollToView("search");break;default:t.list.show(t.options.showEffect,t.options.showEffectOptions,t.options.showEffectSpeed,function(){t._scrollToView("search")})}}return t._callbackSupport(e),t},close:function(e){var t=this;if(t.list.is(":visible")){t.selectBox.trigger("close");switch(t.options.hideEffect){case"none":t.list.hide(),t._scrollToView("search");break;case"hide":t.list.hide(t.options.hideEffectSpeed);break;case"slideUp":t.list.slideUp(t.options.hideEffectSpeed);break;case"fadeOut":t.list.fadeOut(t.options.hideEffectSpeed);break;default:t.list.hide(t.options.hideEffect,t.options.hideEffectOptions,t.options.hideEffectSpeed,function(){t._scrollToView("search")})}}return t._callbackSupport(e),t},_eventHandlers:function(){var t=this,n=38,r=40,i=13,s=8,o=9,u=32,a=27;return this.div.bind({"click.selectBoxIt":function(){t.div.focus(),t.originalElem.disabled||(t.selectBox.trigger("click"),t.list.is(":visible")?t.close():t.open())},"mousedown.selectBoxIt":function(){e(this).data("mdown",!0)},"blur.selectBoxIt":function(){t.blur&&(t.selectBox.trigger("blur").trigger("focusout"),t.list.is(":visible")&&t.close())},"focus.selectBoxIt":function(){var n=e(this).data("mdown");e(this).removeData("mdown"),n||setTimeout(function(){t.selectBox.trigger("tab-focus")},0),t.list.is(":visible")||t.selectBox.trigger("focus").trigger("focusin")},"keydown.selectBoxIt":function(e){var u=e.keyCode;switch(u){case r:e.preventDefault(),t.moveDown&&(t.options.keydownOpen?t.list.is(":visible")?t.moveDown():t.open():t.moveDown()),t.options.keydownOpen&&t.open();break;case n:e.preventDefault(),t.moveUp&&(t.options.keydownOpen?t.list.is(":visible")?t.moveUp():t.open():t.moveUp()),t.options.keydownOpen&&t.open();break;case i:e.preventDefault(),t.list.is(":visible")&&t.close(),t._checkDefaultText(),t.selectBox.trigger("enter");break;case o:t.selectBox.trigger("tab-blur");break;case s:e.preventDefault(),t.selectBox.trigger("backspace");break;case a:t.close();break;default:}},"keypress.selectBoxIt":function(e){var n=e.charCode||e.keyCode,r=String.fromCharCode(n);n===u&&e.preventDefault(),t.search&&t.search(r,!0,"")},"mouseenter.selectBoxIt":function(){t.selectBox.trigger("mouseenter")},"mouseleave.selectBoxIt":function(){t.selectBox.trigger("mouseleave")}}),t.list.bind({"mouseover.selectBoxIt":function(){t.blur=!1},"mouseout.selectBoxIt":function(){t.blur=!0},"focusin.selectBoxIt":function(){t.div.focus()}}).delegate("li","click.selectBoxIt",function(){if(e(this).attr("data-disabled")==="false"){t.selectBox.val(e(this).attr("data-val")),t.currentFocus=+this.id,t.close(),t.originalElem.value!==t.divText.attr("data-val")&&t.selectBox.trigger("change",!0),t._checkDefaultText();var n=t.options.showFirstOption?t.currentFocus:t.currentFocus-1>=0?t.currentFocus:0;t.selectBox.trigger("option-click",{elem:t.selectBox.eq(n)})}}).delegate("li","focus.selectBoxIt",function(){e(this).attr("data-disabled")==="false"&&(t.originalElem.value=e(this).attr("data-val"),t.originalElem.value!==t.divText.attr("data-val")&&t.selectBox.trigger("change",!0))}),t.selectBox.bind({"change.selectBoxIt, internal-change.selectBoxIt":function(e,n){if(!n){var r=t.list.find('li[data-val="'+t.originalElem.value+'"]');r.length&&(t.listItems.eq(t.currentFocus).removeClass(t.focusClass),t.currentFocus=+r.attr("id"))}t.divText.text(t.listItems.eq(t.currentFocus).find("a").text()).attr("data-val",t.originalElem.value),t.listItems.eq(t.currentFocus).find("i").attr("class")&&(t.divImage.attr("class",t.listItems.eq(t.currentFocus).find("i").attr("class")).addClass("selectboxit-default-icon"),t.divImage.attr("style",t.listItems.eq(t.currentFocus).find("i").attr("style"))),t.selectBox.trigger("changed")},"disable.selectBoxIt":function(){t.div.addClass(t.disabledClasses)},"enable.selectBoxIt":function(){t.div.removeClass(t.disabledClasses)}}),t},_addClasses:function(t){var n=this,r=t.focusClasses||"selectboxit-focus",i=t.hoverClasses||"selectboxit-hover",s=t.buttonClasses||"selectboxit-btn",o=t.listClasses||"selectboxit-dropdown";return n.focusClass=r,n.downArrow.addClass(n.selectBox.data("downarrow")||n.options.downArrowIcon||t.arrowClasses),n.divContainer.addClass(t.containerClasses),n.div.addClass(s),n.list.addClass(o),n.listItems.bind({"focus.selectBoxIt":function(){e(this).addClass(r)},"blur.selectBoxIt":function(){e(this).removeClass(r)}}),n.selectBox.bind({"open.selectBoxIt":function(){n.div.removeClass(i).add(n.listItems.eq(n.currentFocus)).addClass(r)},"blur.selectBoxIt":function(){n.div.removeClass(r)},"mouseenter.selectBoxIt":function(){n.div.addClass(i)},"mouseleave.selectBoxIt":function(){n.div.removeClass(i)}}),n.listItems.bind({"mouseenter.selectBoxIt":function(){e(this).attr("data-disabled")==="false"&&(n.listItems.not(e(this)).removeClass(r),e(this).addClass(i))},"mouseleave.selectBoxIt":function(){e(this).removeClass(i)}}),e(".selectboxit-option-icon").not(".selectboxit-default-icon").css("margin-top",n.downArrowContainer.height()/4),n},_jqueryui:function(){var e=this;return e._addClasses({focusClasses:"ui-state-focus",hoverClasses:"ui-state-hover",arrowClasses:"ui-icon ui-icon-triangle-1-s",buttonClasses:"ui-widget ui-state-default",listClasses:"ui-widget ui-widget-content",containerClasses:""}),e},_twitterbootstrap:function(){var e=this;return e._addClasses({focusClasses:"active",hoverClasses:"",arrowClasses:"caret",buttonClasses:"btn",listClasses:"dropdown-menu",containerClasses:""}),e},_jquerymobile:function(){var e=this,t=e.selectBox.attr("data-theme")||"c";return e._addClasses({focusClasses:"ui-btn-active-"+t+" ui-btn-down-"+t,hoverClasses:"ui-btn-hover-"+t,arrowClasses:"ui-icon ui-icon-arrow-d ui-icon-shadow",buttonClasses:"ui-btn ui-btn-icon-right ui-btn-corner-all ui-shadow ui-btn-up-"+t,listClasses:"ui-btn ui-btn-icon-right ui-btn-corner-all ui-shadow ui-btn-up-"+t,containerClasses:""}),e},destroy:function(t){var n=this;return n._destroySelectBoxIt(),e.Widget.prototype.destroy.call(n),n._callbackSupport(t),n},_destroySelectBoxIt:function(){var e=this;return e.div.unbind(".selectBoxIt").undelegate(".selectBoxIt"),e.divContainer.remove(),e.selectBox.trigger("destroy").show(),e},refresh:function(e){var t=this;return t._destroySelectBoxIt()._create()._callbackSupport(e),t.selectBox.trigger("refresh"),t},_applyNativeSelect:function(){var e=this,t;e.divContainer.css({position:"static"}),e.selectBox.css({display:"block",width:e.div.outerWidth(),height:e.div.outerHeight(),opacity:"0",position:"absolute",top:e.div.offset().top,bottom:e.div.offset().bottom,left:e.div.offset().left,right:e.div.offset().right,cursor:"pointer","z-index":"999999"}).bind({changed:function(){t=e.selectBox.find("option").filter(":selected"),e.divText.text(t.text()),e.list.find('li[data-val="'+t.val()+'"]').find("i").attr("class")&&e.divImage.attr("class",e.list.find('li[data-val="'+t.val()+'"]').find("i").attr("class")).addClass("selectboxit-default-icon")}})},htmlEscape:function(e){return String(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},_checkDefaultText:function(){var e=this;e.options.defaultText&&e.divText.text()===e.options.defaultText&&e.divText.text(e.listItems.eq(e.currentFocus).text()).trigger("internal-change",!0)}})});
  $(function(){$.selectBox.selectBoxIt.prototype._ariaAccessibility=function(){var e=this;return e.div.attr({role:"combobox","aria-autocomplete":"list","aria-expanded":"false","aria-owns":e.list.attr("id"),"aria-activedescendant":e.listItems.eq(e.currentFocus).attr("id"),"aria-label":$("label[for='"+e.originalElem.id+"']").text()||"","aria-live":"assertive"}).bind({"disable.selectBoxIt":function(){e.div.attr("aria-disabled","true")},"enable.selectBoxIt":function(){e.div.attr("aria-disabled","false")}}),e.list.attr({role:"listbox","aria-hidden":"true"}),e.listItems.attr({role:"option"}),e.selectBox.bind({"change.selectBoxIt":function(){e.divText.attr("aria-label",e.originalElem.value)},"open.selectBoxIt":function(){e.list.attr("aria-hidden","false"),e.div.attr("aria-expanded","true")},"close.selectBoxIt":function(){e.list.attr("aria-hidden","true"),e.div.attr("aria-expanded","false")}}),e}});
  $(function(){$.selectBox.selectBoxIt.prototype.disable=function(e){var t=this;return t.options.disabled||(t.close(),t.selectBox.trigger("disable").attr("disabled","disabled"),t.div.removeAttr("tabindex").addClass("selectboxit-disabled"),$.Widget.prototype.disable.call(t)),t._callbackSupport(e),t},$.selectBox.selectBoxIt.prototype.disableOption=function(e,t){var n=this,r,i=0,s,o;return typeof e=="number"&&(n.close(),r=n.selectBox.find("option").eq(e),i=n.options.showFirstOption?e:e-1>=0?e:0,n.selectBox.trigger("disable-option",r),r.attr("disabled","disabled"),n.listItems.eq(e).attr("data-disabled","true").addClass(n.disabledClasses),n.currentFocus===e&&(s=n.listItems.eq(n.currentFocus).nextAll("li").not("[data-disabled='true']").first().length,o=n.listItems.eq(n.currentFocus).prevAll("li").not("[data-disabled='true']").first().length,s?n.moveDown():o?n.moveUp():n.disable())),n._callbackSupport(t),n},$.selectBox.selectBoxIt.prototype._isDisabled=function(e){var t=this;return t.originalElem.disabled&&t.disable(),t}});
  $(function(){$.selectBox.selectBoxIt.prototype._dynamicPositioning=function(){var e=this,t=e.div.offset().top,n=e.list.data("max-height")||e.list.outerHeight(),r=e.div.outerHeight(),i=$(window).height(),s=$(window).scrollTop(),o=t+r+n<=i+s,u=!o;e.list.data("max-height")||e.list.data("max-height",e.list.outerHeight()),e.selectBox.css("display","none");if(!u)e.list.css("max-height",e.list.data("max-height")),e.list.css("top","auto");else if(e.div.offset().top-s>=n)e.list.css("max-height",e.list.data("max-height")),e.list.css("top",e.div.position().top-e.list.outerHeight());else{var a=Math.abs(t+r+n-(i+s)),f=Math.abs(e.div.offset().top-s-n);a<f?(e.list.css("max-height",e.list.data("max-height")-a-r/2),e.list.css("top","auto")):(e.list.css("max-height",e.list.data("max-height")-f-r/2),e.list.css("top",e.div.position().top-e.list.outerHeight()))}return e}});
  $(function(){$.selectBox.selectBoxIt.prototype.enable=function(e){var t=this;return t.options.disabled&&(t.selectBox.trigger("enable").removeAttr("disabled"),t.div.attr("tabindex",0).removeClass(t.disabledClasses),$.Widget.prototype.enable.call(t),t._callbackSupport(e)),t},$.selectBox.selectBoxIt.prototype.enableOption=function(e,t){var n=this,r,i=0,s,o;return typeof e=="number"&&(r=n.selectBox.find("option").eq(e),i=n.options.showFirstOption?e:e-1>=0?e:0,n.selectBox.trigger("enable-option",r),r.removeAttr("disabled"),n.listItems.eq(e).attr("data-disabled","false").removeClass(n.disabledClasses)),n._callbackSupport(t),n}});
  $(function(){$.selectBox.selectBoxIt.prototype.moveDown=function(e){var t=this;t.currentFocus+=1;var n=t.listItems.eq(t.currentFocus).attr("data-disabled")==="true"?!0:!1,r=t.listItems.eq(t.currentFocus).nextAll("li").not("[data-disabled='true']").first().length;if(t.currentFocus===t.listItems.length)t.currentFocus-=1;else{if(n&&r){t.listItems.eq(t.currentFocus-1).blur(),t.moveDown();return}if(n&&!r)t.currentFocus-=1;else{t.listItems.eq(t.currentFocus-1).blur().end().eq(t.currentFocus).focus(),t._scrollToView("down");var i=t.options.showFirstOption?t.currentFocus:t.currentFocus-1>=0?t.currentFocus:0;t.selectBox.trigger("moveDown",{elem:t.selectBox.eq(i)})}}return t._callbackSupport(e),t},$.selectBox.selectBoxIt.prototype.moveUp=function(e){var t=this;t.currentFocus-=1;var n=t.listItems.eq(t.currentFocus).attr("data-disabled")==="true"?!0:!1,r=t.listItems.eq(t.currentFocus).prevAll("li").not("[data-disabled='true']").first().length;if(t.currentFocus===-1)t.currentFocus+=1;else{if(n&&r){t.listItems.eq(t.currentFocus+1).blur(),t.moveUp();return}if(n&&!r)t.currentFocus+=1;else{t.listItems.eq(this.currentFocus+1).blur().end().eq(t.currentFocus).focus(),t._scrollToView("up");var i=t.options.showFirstOption?t.currentFocus:t.currentFocus-1>=0?t.currentFocus:0;t.selectBox.trigger("moveUp",{elem:t.selectBox.eq(i)})}}return t._callbackSupport(e),t}});
  $(function(){$.selectBox.selectBoxIt.prototype._setCurrentSearchOption=function(e){var t=this;if((e!==0||!!t.options.showFirstOption)&&t.listItems.eq(e).data("disabled")!==!0){t.divText.text(t.textArray[e]),t.listItems.eq(t.currentFocus).blur(),t.currentIndex=e,t.currentFocus=e,t.listItems.eq(t.currentFocus).focus(),t._scrollToView("search");var n=t.options.showFirstOption?t.currentFocus:t.currentFocus-1>=0?t.currentFocus:0;t.selectBox.trigger("search",{elem:t.selectBox.eq(n)})}return t},$.selectBox.selectBoxIt.prototype._searchAlgorithm=function(e,t){var n=this,r=!1,i,s,o;for(i=e,o=n.textArray.length;i<o;i+=1){for(s=0;s<o;s+=1)n.textArray[s].search(t)!==-1&&(r=!0,s=o);r||(n.currentText=n.currentText.charAt(n.currentText.length-1).replace(/[|()\[{.+*?$\\]/g,"\\$0"),t=new RegExp(n.currentText,"gi"));if(n.currentText.length<3){t=new RegExp(n.currentText.charAt(0),"gi");if(n.textArray[i].charAt(0).search(t)!==-1)return n._setCurrentSearchOption(i),n.currentIndex+=1,!1}else if(n.textArray[i].search(t)!==-1)return n._setCurrentSearchOption(i),!1;if(n.textArray[i].toLowerCase()===n.currentText.toLowerCase())return n._setCurrentSearchOption(i),n.currentText="",!1}return!0},$.selectBox.selectBoxIt.prototype.search=function(e,t,n){var r=this;t?r.currentText+=e.replace(/[|()\[{.+*?$\\]/g,"\\$0"):r.currentText=e.replace(/[|()\[{.+*?$\\]/g,"\\$0");var i=new RegExp(r.currentText,"gi"),s=r._searchAlgorithm(r.currentIndex,i);return s&&r._searchAlgorithm(0,i),r._callbackSupport(n),r}});
  $(function(){$.selectBox.selectBoxIt.prototype._mobile=function(e){return this.options.isMobile()&&this._applyNativeSelect(),this}});
  $(function(){$.selectBox.selectBoxIt.prototype.selectOption=function(e,t){var n=this;return typeof e=="number"?n.selectBox.val(n.selectBox.find("option").eq(e).val()).change():typeof e=="string"&&n.selectBox.val(e).change(),n._callbackSupport(t),n}});
  $(function(){$.selectBox.selectBoxIt.prototype.setOption=function(e,t,n){var r=this;return e==="showFirstOption"&&!t?r.listItems.eq(0).hide():e==="showFirstOption"&&t?r.listItems.eq(0).show():e==="defaultIcon"&&t?r.divImage.attr("class",t+" selectboxit-arrow"):e==="downArrowIcon"&&t?r.downArrow.attr("class",t+" selectboxit-arrow"):e==="defaultText"&&r.divText.text(t),$.Widget.prototype._setOption.apply(r,arguments),r._callbackSupport(n),r}});
  $(function(){$.selectBox.selectBoxIt.prototype.setOptions=function(e,t){var n=this;return $.Widget.prototype._setOptions.apply(n,arguments),n.options.showFirstOption?n.listItems.eq(0).show():n.listItems.eq(0).hide(),n.options.defaultIcon&&n.divImage.attr("class",n.options.defaultIcon+" selectboxit-arrow"),n.options.downArrowIcon&&n.downArrow.attr("class",n.options.downArrowIcon+" selectboxit-arrow"),n.options.defaultText&&n.divText.text(n.options.defaultText),n._callbackSupport(t),n}});
  $(function(){$.selectBox.selectBoxIt.prototype.wait=function(e,t){var n=this,r=this.returnTimeout(e);return r.then(function(){n._callbackSupport(t)}),n},$.selectBox.selectBoxIt.prototype.returnTimeout=function(e){return $.Deferred(function(t){setTimeout(t.resolve,e)})}});