").append(jQuery.parseHTML(responseText)).find(selector):responseText)})).complete(callback&&function(jqXHR,status){self.each(callback,response||[jqXHR.responseText,status,jqXHR])}),this},jQuery.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(i,type){jQuery.fn[type]=function(fn){return this.on(type,fn)}})),jQuery.expr.filters.animated=function(elem){return jQuery.grep(jQuery.timers,(function(fn){return elem===fn.elem})).length};var docElem=window.document.documentElement;function getWindow(elem){return jQuery.isWindow(elem)?elem:9===elem.nodeType&&(elem.defaultView||elem.parentWindow)}jQuery.offset={setOffset:function(elem,options,i){var curPosition,curLeft,curCSSTop,curTop,curOffset,curCSSLeft,position=jQuery.css(elem,"position"),curElem=jQuery(elem),props={};"static"===position&&(elem.style.position="relative"),curOffset=curElem.offset(),curCSSTop=jQuery.css(elem,"top"),curCSSLeft=jQuery.css(elem,"left"),("absolute"===position||"fixed"===position)&&jQuery.inArray("auto",[curCSSTop,curCSSLeft])>-1?(curTop=(curPosition=curElem.position()).top,curLeft=curPosition.left):(curTop=parseFloat(curCSSTop)||0,curLeft=parseFloat(curCSSLeft)||0),jQuery.isFunction(options)&&(options=options.call(elem,i,curOffset)),null!=options.top&&(props.top=options.top-curOffset.top+curTop),null!=options.left&&(props.left=options.left-curOffset.left+curLeft),"using"in options?options.using.call(elem,props):curElem.css(props)}},jQuery.fn.extend({offset:function(options){if(arguments.length)return void 0===options?this:this.each((function(i){jQuery.offset.setOffset(this,options,i)}));var docElem,win,box={top:0,left:0},elem=this[0],doc=elem&&elem.ownerDocument;return doc?(docElem=doc.documentElement,jQuery.contains(docElem,elem)?(void 0!==elem.getBoundingClientRect&&(box=elem.getBoundingClientRect()),win=getWindow(doc),{top:box.top+(win.pageYOffset||docElem.scrollTop)-(docElem.clientTop||0),left:box.left+(win.pageXOffset||docElem.scrollLeft)-(docElem.clientLeft||0)}):box):void 0},position:function(){if(this[0]){var offsetParent,offset,parentOffset={top:0,left:0},elem=this[0];return"fixed"===jQuery.css(elem,"position")?offset=elem.getBoundingClientRect():(offsetParent=this.offsetParent(),offset=this.offset(),jQuery.nodeName(offsetParent[0],"html")||(parentOffset=offsetParent.offset()),parentOffset.top+=jQuery.css(offsetParent[0],"borderTopWidth",!0),parentOffset.left+=jQuery.css(offsetParent[0],"borderLeftWidth",!0)),{top:offset.top-parentOffset.top-jQuery.css(elem,"marginTop",!0),left:offset.left-parentOffset.left-jQuery.css(elem,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var offsetParent=this.offsetParent||docElem;offsetParent&&!jQuery.nodeName(offsetParent,"html")&&"static"===jQuery.css(offsetParent,"position");)offsetParent=offsetParent.offsetParent;return offsetParent||docElem}))}}),jQuery.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(method,prop){var top=/Y/.test(prop);jQuery.fn[method]=function(val){return access(this,(function(elem,method,val){var win=getWindow(elem);if(void 0===val)return win?prop in win?win[prop]:win.document.documentElement[method]:elem[method];win?win.scrollTo(top?jQuery(win).scrollLeft():val,top?val:jQuery(win).scrollTop()):elem[method]=val}),method,val,arguments.length,null)}})),jQuery.each(["top","left"],(function(i,prop){jQuery.cssHooks[prop]=addGetHookIf(support.pixelPosition,(function(elem,computed){if(computed)return computed=curCSS(elem,prop),rnumnonpx.test(computed)?jQuery(elem).position()[prop]+"px":computed}))})),jQuery.each({Height:"height",Width:"width"},(function(name,type){jQuery.each({padding:"inner"+name,content:type,"":"outer"+name},(function(defaultExtra,funcName){jQuery.fn[funcName]=function(margin,value){var chainable=arguments.length&&(defaultExtra||"boolean"!=typeof margin),extra=defaultExtra||(!0===margin||!0===value?"margin":"border");return access(this,(function(elem,type,value){var doc;return jQuery.isWindow(elem)?elem.document.documentElement["client"+name]:9===elem.nodeType?(doc=elem.documentElement,Math.max(elem.body["scroll"+name],doc["scroll"+name],elem.body["offset"+name],doc["offset"+name],doc["client"+name])):void 0===value?jQuery.css(elem,type,extra):jQuery.style(elem,type,value,extra)}),type,chainable?margin:void 0,chainable,null)}}))})),jQuery.fn.size=function(){return this.length},jQuery.fn.andSelf=jQuery.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],(function(){return jQuery}));var _jQuery=window.jQuery,_$=window.$;return jQuery.noConflict=function(deep){return window.$===jQuery&&(window.$=_$),deep&&window.jQuery===jQuery&&(window.jQuery=_jQuery),jQuery},void 0===noGlobal&&(window.jQuery=window.$=jQuery),jQuery})),
/*! RateIt | v1.0.25 / 10/20/2016
https://github.com/gjunge/rateit.js | Twitter: @gjunge
*/
function($){function touchHandler(event){var first=event.originalEvent.changedTouches[0],type="";switch(event.type){case"touchmove":type="mousemove";break;case"touchend":type="mouseup";break;default:return}var simulatedEvent=document.createEvent("MouseEvent");simulatedEvent.initMouseEvent(type,!0,!0,window,1,first.screenX,first.screenY,first.clientX,first.clientY,!1,!1,!1,!1,0,null),first.target.dispatchEvent(simulatedEvent),event.preventDefault()}$.rateit={aria:{resetLabel:"reset rating",ratingLabel:"rating"}},$.fn.rateit=function(p1,p2){var index=1,options={},mode="init",capitaliseFirstLetter=function(string){return string.charAt(0).toUpperCase()+string.substr(1)};if(0===this.length)return this;var tp1=$.type(p1);if("object"==tp1||null==p1)options=$.extend({},$.fn.rateit.defaults,p1);else{if("string"==tp1&&"reset"!==p1&&void 0===p2)return this.data("rateit"+capitaliseFirstLetter(p1));"string"==tp1&&(mode="setvalue")}return this.each((function(){var item=$(this),itemdata=function(key,value){if(null!=value){var ariakey="aria-value"+("value"==key?"now":key),range=item.find(".rateit-range");null!=range.attr(ariakey)&&range.attr(ariakey,value)}return arguments[0]="rateit"+capitaliseFirstLetter(key),item.data.apply(item,arguments)};if("reset"==p1){var setup=itemdata("init");for(var prop in setup)item.data(prop,setup[prop]);if(itemdata("backingfld"))"SELECT"==(fld=$(itemdata("backingfld")))[0].nodeName&&"index"===fld[0].getAttribute("data-rateit-valuesrc")?fld.prop("selectedIndex",itemdata("value")):fld.val(itemdata("value")),fld.trigger("change"),fld[0].min&&(fld[0].min=itemdata("min")),fld[0].max&&(fld[0].max=itemdata("max")),fld[0].step&&(fld[0].step=itemdata("step"));item.trigger("reset")}item.hasClass("rateit")||item.addClass("rateit");var ltr="rtl"!=item.css("direction");if("setvalue"==mode){if(!itemdata("init"))throw"Can't set value before init";if("readonly"!=p1||1!=p2||itemdata("readonly")||(item.find(".rateit-range").unbind(),itemdata("wired",!1)),"value"==p1&&(p2=null==p2?itemdata("min"):Math.max(itemdata("min"),Math.min(itemdata("max"),p2))),itemdata("backingfld"))"SELECT"==(fld=$(itemdata("backingfld")))[0].nodeName&&"index"===fld[0].getAttribute("data-rateit-valuesrc")?"value"==p1&&fld.prop("selectedIndex",p2):"value"==p1&&fld.val(p2),"min"==p1&&fld[0].min&&(fld[0].min=p2),"max"==p1&&fld[0].max&&(fld[0].max=p2),"step"==p1&&fld[0].step&&(fld[0].step=p2);itemdata(p1,p2)}if(!itemdata("init")){var fld;if(itemdata("min",isNaN(itemdata("min"))?options.min:itemdata("min")),itemdata("max",isNaN(itemdata("max"))?options.max:itemdata("max")),itemdata("step",itemdata("step")||options.step),itemdata("readonly",void 0!==itemdata("readonly")?itemdata("readonly"):options.readonly),itemdata("resetable",void 0!==itemdata("resetable")?itemdata("resetable"):options.resetable),itemdata("backingfld",itemdata("backingfld")||options.backingfld),itemdata("starwidth",itemdata("starwidth")||options.starwidth),itemdata("starheight",itemdata("starheight")||options.starheight),itemdata("value",Math.max(itemdata("min"),Math.min(itemdata("max"),isNaN(itemdata("value"))?isNaN(options.value)?options.min:options.value:itemdata("value")))),itemdata("ispreset",void 0!==itemdata("ispreset")?itemdata("ispreset"):options.ispreset),itemdata("backingfld"))if(((fld=$(itemdata("backingfld")).hide()).attr("disabled")||fld.attr("readonly"))&&itemdata("readonly",!0),"INPUT"==fld[0].nodeName&&("range"!=fld[0].type&&"text"!=fld[0].type||(itemdata("min",parseInt(fld.attr("min"))||itemdata("min")),itemdata("max",parseInt(fld.attr("max"))||itemdata("max")),itemdata("step",parseInt(fld.attr("step"))||itemdata("step")))),"SELECT"==fld[0].nodeName&&fld[0].options.length>1){"index"===fld[0].getAttribute("data-rateit-valuesrc")?(itemdata("min",isNaN(itemdata("min"))?Number(fld[0].options[0].index):itemdata("min")),itemdata("max",Number(fld[0].options[fld[0].length-1].index)),itemdata("step",Number(fld[0].options[1].index)-Number(fld[0].options[0].index))):(itemdata("min",isNaN(itemdata("min"))?Number(fld[0].options[0].value):itemdata("min")),itemdata("max",Number(fld[0].options[fld[0].length-1].value)),itemdata("step",Number(fld[0].options[1].value)-Number(fld[0].options[0].value)));var selectedOption=fld.find("option[selected]");1==selectedOption.length&&("index"===fld[0].getAttribute("data-rateit-valuesrc")?itemdata("value",selectedOption[0].index):itemdata("value",selectedOption.val()))}else itemdata("value",fld.val());var element="DIV"==item[0].nodeName?"div":"span";index++;var html='
<{{element}} id="rateit-range-{{index}}" class="rateit-range" tabindex="0" role="slider" aria-label="'+$.rateit.aria.ratingLabel+'" aria-owns="rateit-reset-{{index}}" aria-valuemin="'+itemdata("min")+'" aria-valuemax="'+itemdata("max")+'" aria-valuenow="'+itemdata("value")+'"><{{element}} class="rateit-selected" style="height:'+itemdata("starheight")+'px"><{{element}} class="rateit-hover" style="height:'+itemdata("starheight")+'px">';item.append(html.replace(/{{index}}/gi,index).replace(/{{element}}/gi,element)),ltr||(item.find(".rateit-reset").css("float","right"),item.find(".rateit-selected").addClass("rateit-selected-rtl"),item.find(".rateit-hover").addClass("rateit-hover-rtl")),itemdata("init",JSON.parse(JSON.stringify(item.data())))}item.find(".rateit-selected, .rateit-hover").height(itemdata("starheight"));var range=item.find(".rateit-range");range.width(itemdata("starwidth")*(itemdata("max")-itemdata("min"))).height(itemdata("starheight"));var presetclass="rateit-preset"+(ltr?"":"-rtl");if(itemdata("ispreset")?item.find(".rateit-selected").addClass(presetclass):item.find(".rateit-selected").removeClass(presetclass),null!=itemdata("value")){var score=(itemdata("value")-itemdata("min"))*itemdata("starwidth");item.find(".rateit-selected").width(score)}var resetbtn=item.find(".rateit-reset");!0!==resetbtn.data("wired")&&resetbtn.bind("click",(function(e){e.preventDefault(),resetbtn.blur();var event=$.Event("beforereset");if(item.trigger(event),event.isDefaultPrevented())return!1;item.rateit("value",null),item.trigger("reset")})).data("wired",!0);var calcRawScore=function(element,event){var offsetx=(event.changedTouches?event.changedTouches[0].pageX:event.pageX)-$(element).offset().left;return ltr||(offsetx=range.width()-offsetx),offsetx>range.width()&&(offsetx=range.width()),offsetx<0&&(offsetx=0),score=Math.ceil(offsetx/itemdata("starwidth")*(1/itemdata("step")))},setSelection=function(value){var event=$.Event("beforerated");return item.trigger(event,[value]),!event.isDefaultPrevented()&&(itemdata("value",value),itemdata("backingfld")&&("SELECT"==fld[0].nodeName&&"index"===fld[0].getAttribute("data-rateit-valuesrc")?$(itemdata("backingfld")).prop("selectedIndex",value).trigger("change"):$(itemdata("backingfld")).val(value).trigger("change")),itemdata("ispreset")&&(range.find(".rateit-selected").removeClass(presetclass),itemdata("ispreset",!1)),range.find(".rateit-hover").hide(),range.find(".rateit-selected").width(value*itemdata("starwidth")-itemdata("min")*itemdata("starwidth")).show(),item.trigger("hover",[null]).trigger("over",[null]).trigger("rated",[value]),!0)};itemdata("readonly")?resetbtn.hide():(itemdata("resetable")||resetbtn.hide(),itemdata("wired")||(range.bind("touchmove touchend",touchHandler),range.mousemove((function(e){!function(score){var w=score*itemdata("starwidth")*itemdata("step"),h=range.find(".rateit-hover");if(h.data("width")!=w){range.find(".rateit-selected").hide(),h.width(w).show().data("width",w);var data=[score*itemdata("step")+itemdata("min")];item.trigger("hover",data).trigger("over",data)}}(calcRawScore(this,e))})),range.mouseleave((function(e){range.find(".rateit-hover").hide().width(0).data("width",""),item.trigger("hover",[null]).trigger("over",[null]),range.find(".rateit-selected").show()})),range.mouseup((function(e){var value=calcRawScore(this,e)*itemdata("step")+itemdata("min");setSelection(value),range.blur()})),range.keyup((function(e){38!=e.which&&e.which!=(ltr?39:37)||setSelection(Math.min(itemdata("value")+itemdata("step"),itemdata("max"))),40!=e.which&&e.which!=(ltr?37:39)||setSelection(Math.max(itemdata("value")-itemdata("step"),itemdata("min")))})),itemdata("wired",!0)),itemdata("resetable")&&resetbtn.show()),range.attr("aria-readonly",itemdata("readonly"))}))},$.fn.rateit.defaults={min:0,max:5,step:.5,starwidth:16,starheight:16,readonly:!1,resetable:!0,ispreset:!1},$((function(){$("div.rateit, span.rateit").rateit()}))}(jQuery),function($,window,document){var defaults={animation:"fade",arrow:!0,arrowColor:"",autoClose:!0,content:null,contentAsHTML:!1,contentCloning:!0,debug:!0,delay:200,minWidth:0,maxWidth:null,functionInit:function(origin,content){},functionBefore:function(origin,continueTooltip){continueTooltip()},functionReady:function(origin,tooltip){},functionAfter:function(origin){},icon:"(?)",iconCloning:!0,iconDesktop:!1,iconTouch:!1,iconTheme:"tooltipster-icon",interactive:!1,interactiveTolerance:350,multiple:!1,offsetX:0,offsetY:0,onlyOne:!1,position:"top",positionTracker:!1,speed:350,timer:0,theme:"tooltipster-default",touchDevices:!0,trigger:"hover",updateAnimation:!0};function Plugin(element,options){this.bodyOverflowX,this.callbacks={hide:[],show:[]},this.checkInterval=null,this.Content,this.$el=$(element),this.$elProxy,this.elProxyPosition,this.enabled=!0,this.options=$.extend({},defaults,options),this.mouseIsOverProxy=!1,this.namespace="tooltipster-"+Math.round(1e5*Math.random()),this.Status="hidden",this.timerHide=null,this.timerShow=null,this.$tooltip,this.options.iconTheme=this.options.iconTheme.replace(".",""),this.options.theme=this.options.theme.replace(".",""),this._init()}function areEqual(a,b){var same=!0;return $.each(a,(function(i,el){if(void 0===b[i]||a[i]!==b[i])return same=!1,!1})),same}Plugin.prototype={_init:function(){var self=this;if(document.querySelector){if(null!==self.options.content)self._content_set(self.options.content);else{var t=self.$el.attr("title");void 0===t&&(t=null),self._content_set(t)}var c=self.options.functionInit.call(self.$el,self.$el,self.Content);void 0!==c&&self._content_set(c),self.$el.removeAttr("title").addClass("tooltipstered"),!deviceHasTouchCapability&&self.options.iconDesktop||deviceHasTouchCapability&&self.options.iconTouch?("string"==typeof self.options.icon?(self.$elProxy=$('
'),self.$elProxy.text(self.options.icon)):self.options.iconCloning?self.$elProxy=self.options.icon.clone(!0):self.$elProxy=self.options.icon,self.$elProxy.insertAfter(self.$el)):self.$elProxy=self.$el,"hover"==self.options.trigger?(self.$elProxy.on("mouseenter."+self.namespace,(function(){deviceIsPureTouch()&&!self.options.touchDevices||(self.mouseIsOverProxy=!0,self._show())})).on("mouseleave."+self.namespace,(function(){deviceIsPureTouch()&&!self.options.touchDevices||(self.mouseIsOverProxy=!1)})),deviceHasTouchCapability&&self.options.touchDevices&&self.$elProxy.on("touchstart."+self.namespace,(function(){self._showNow()}))):"click"==self.options.trigger&&self.$elProxy.on("click."+self.namespace,(function(){deviceIsPureTouch()&&!self.options.touchDevices||self._show()}))}},_show:function(){var self=this;"shown"!=self.Status&&"appearing"!=self.Status&&(self.options.delay?self.timerShow=setTimeout((function(){("click"==self.options.trigger||"hover"==self.options.trigger&&self.mouseIsOverProxy)&&self._showNow()}),self.options.delay):self._showNow())},_showNow:function(callback){var self=this;self.options.functionBefore.call(self.$el,self.$el,(function(){if(self.enabled&&null!==self.Content){callback&&self.callbacks.show.push(callback),self.callbacks.hide=[],clearTimeout(self.timerShow),self.timerShow=null,clearTimeout(self.timerHide),self.timerHide=null,self.options.onlyOne&&$(".tooltipstered").not(self.$el).each((function(i,el){var $el=$(el),nss=$el.data("tooltipster-ns");$.each(nss,(function(i,ns){var instance=$el.data(ns),s=instance.status(),ac=instance.option("autoClose");"hidden"!==s&&"disappearing"!==s&&ac&&instance.hide()}))}));var finish=function(){self.Status="shown",$.each(self.callbacks.show,(function(i,c){c.call(self.$el)})),self.callbacks.show=[]};if("hidden"!==self.Status){var extraTime=0;"disappearing"===self.Status?(self.Status="appearing",supportsTransitions()?(self.$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-"+self.options.animation+"-show"),self.options.speed>0&&self.$tooltip.delay(self.options.speed),self.$tooltip.queue(finish)):self.$tooltip.stop().fadeIn(finish)):"shown"===self.Status&&finish()}else{self.Status="appearing";extraTime=self.options.speed;self.bodyOverflowX=$("body").css("overflow-x"),$("body").css("overflow-x","hidden");var animation="tooltipster-"+self.options.animation,animationSpeed="-webkit-transition-duration: "+self.options.speed+"ms; -webkit-animation-duration: "+self.options.speed+"ms; -moz-transition-duration: "+self.options.speed+"ms; -moz-animation-duration: "+self.options.speed+"ms; -o-transition-duration: "+self.options.speed+"ms; -o-animation-duration: "+self.options.speed+"ms; -ms-transition-duration: "+self.options.speed+"ms; -ms-animation-duration: "+self.options.speed+"ms; transition-duration: "+self.options.speed+"ms; animation-duration: "+self.options.speed+"ms;",minWidth=self.options.minWidth?"min-width:"+Math.round(self.options.minWidth)+"px;":"",maxWidth=self.options.maxWidth?"max-width:"+Math.round(self.options.maxWidth)+"px;":"",pointerEvents=self.options.interactive?"pointer-events: auto;":"";if(self.$tooltip=$('
'),supportsTransitions()&&self.$tooltip.addClass(animation),self._content_insert(),self.$tooltip.appendTo("body"),self.reposition(),self.options.functionReady.call(self.$el,self.$el,self.$tooltip),supportsTransitions()?(self.$tooltip.addClass(animation+"-show"),self.options.speed>0&&self.$tooltip.delay(self.options.speed),self.$tooltip.queue(finish)):self.$tooltip.css("display","none").fadeIn(self.options.speed,finish),self._interval_set(),$(window).on("scroll."+self.namespace+" resize."+self.namespace,(function(){self.reposition()})),self.options.autoClose)if($("body").off("."+self.namespace),"hover"==self.options.trigger)if(deviceHasTouchCapability&&setTimeout((function(){$("body").on("touchstart."+self.namespace,(function(){self.hide()}))}),0),self.options.interactive){deviceHasTouchCapability&&self.$tooltip.on("touchstart."+self.namespace,(function(event){event.stopPropagation()}));var tolerance=null;self.$elProxy.add(self.$tooltip).on("mouseleave."+self.namespace+"-autoClose",(function(){clearTimeout(tolerance),tolerance=setTimeout((function(){self.hide()}),self.options.interactiveTolerance)})).on("mouseenter."+self.namespace+"-autoClose",(function(){clearTimeout(tolerance)}))}else self.$elProxy.on("mouseleave."+self.namespace+"-autoClose",(function(){self.hide()}));else"click"==self.options.trigger&&(setTimeout((function(){$("body").on("click."+self.namespace+" touchstart."+self.namespace,(function(){self.hide()}))}),0),self.options.interactive&&self.$tooltip.on("click."+self.namespace+" touchstart."+self.namespace,(function(event){event.stopPropagation()})))}self.options.timer>0&&(self.timerHide=setTimeout((function(){self.timerHide=null,self.hide()}),self.options.timer+extraTime))}}))},_interval_set:function(){var self=this;self.checkInterval=setInterval((function(){if(0===$("body").find(self.$el).length||0===$("body").find(self.$elProxy).length||"hidden"==self.Status||0===$("body").find(self.$tooltip).length)"shown"!=self.Status&&"appearing"!=self.Status||self.hide(),self._interval_cancel();else if(self.options.positionTracker){var p=self._repositionInfo(self.$elProxy),identical=!1;areEqual(p.dimension,self.elProxyPosition.dimension)&&("fixed"===self.$elProxy.css("position")?areEqual(p.position,self.elProxyPosition.position)&&(identical=!0):areEqual(p.offset,self.elProxyPosition.offset)&&(identical=!0)),identical||self.reposition()}}),200)},_interval_cancel:function(){clearInterval(this.checkInterval),this.checkInterval=null},_content_set:function(content){"object"==typeof content&&null!==content&&this.options.contentCloning&&(content=content.clone(!0)),this.Content=content},_content_insert:function(){var $d=this.$tooltip.find(".tooltipster-content");"string"!=typeof this.Content||this.options.contentAsHTML?$d.empty().append(this.Content):$d.text(this.Content)},_update:function(content){var self=this;self._content_set(content),null!==self.Content?"hidden"!==self.Status&&(self._content_insert(),self.reposition(),self.options.updateAnimation&&(supportsTransitions()?(self.$tooltip.css({width:"","-webkit-transition":"all "+self.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-moz-transition":"all "+self.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-o-transition":"all "+self.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-ms-transition":"all "+self.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms",transition:"all "+self.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms"}).addClass("tooltipster-content-changing"),setTimeout((function(){"hidden"!=self.Status&&(self.$tooltip.removeClass("tooltipster-content-changing"),setTimeout((function(){"hidden"!==self.Status&&self.$tooltip.css({"-webkit-transition":self.options.speed+"ms","-moz-transition":self.options.speed+"ms","-o-transition":self.options.speed+"ms","-ms-transition":self.options.speed+"ms",transition:self.options.speed+"ms"})}),self.options.speed))}),self.options.speed)):self.$tooltip.fadeTo(self.options.speed,.5,(function(){"hidden"!=self.Status&&self.$tooltip.fadeTo(self.options.speed,1)})))):self.hide()},_repositionInfo:function($el){return{dimension:{height:$el.outerHeight(!1),width:$el.outerWidth(!1)},offset:$el.offset(),position:{left:parseInt($el.css("left")),top:parseInt($el.css("top"))}}},hide:function(callback){var self=this;callback&&self.callbacks.hide.push(callback),self.callbacks.show=[],clearTimeout(self.timerShow),self.timerShow=null,clearTimeout(self.timerHide),self.timerHide=null;var finishCallbacks=function(){$.each(self.callbacks.hide,(function(i,c){c.call(self.$el)})),self.callbacks.hide=[]};if("shown"==self.Status||"appearing"==self.Status){self.Status="disappearing";var finish=function(){self.Status="hidden","object"==typeof self.Content&&null!==self.Content&&self.Content.detach(),self.$tooltip.remove(),self.$tooltip=null,$(window).off("."+self.namespace),$("body").off("."+self.namespace).css("overflow-x",self.bodyOverflowX),$("body").off("."+self.namespace),self.$elProxy.off("."+self.namespace+"-autoClose"),self.options.functionAfter.call(self.$el,self.$el),finishCallbacks()};supportsTransitions()?(self.$tooltip.clearQueue().removeClass("tooltipster-"+self.options.animation+"-show").addClass("tooltipster-dying"),self.options.speed>0&&self.$tooltip.delay(self.options.speed),self.$tooltip.queue(finish)):self.$tooltip.stop().fadeOut(self.options.speed,finish)}else"hidden"==self.Status&&finishCallbacks();return self},show:function(callback){return this._showNow(callback),this},update:function(c){return this.content(c)},content:function(c){return void 0===c?this.Content:(this._update(c),this)},reposition:function(){if(0!==$("body").find(this.$tooltip).length){this.$tooltip.css("width",""),this.elProxyPosition=this._repositionInfo(this.$elProxy);var arrowReposition=null,windowWidth=$(window).width(),proxy=this.elProxyPosition,tooltipWidth=this.$tooltip.outerWidth(!1),tooltipHeight=(this.$tooltip.innerWidth(),this.$tooltip.outerHeight(!1));if(this.$elProxy.is("area")){var areaShape=this.$elProxy.attr("shape"),mapName=this.$elProxy.parent().attr("name"),map=$('img[usemap="#'+mapName+'"]'),mapOffsetLeft=map.offset().left,mapOffsetTop=map.offset().top,areaMeasurements=void 0!==this.$elProxy.attr("coords")?this.$elProxy.attr("coords").split(","):void 0;if("circle"==areaShape){var areaLeft=parseInt(areaMeasurements[0]),areaTop=parseInt(areaMeasurements[1]),areaWidth=parseInt(areaMeasurements[2]);proxy.dimension.height=2*areaWidth,proxy.dimension.width=2*areaWidth,proxy.offset.top=mapOffsetTop+areaTop-areaWidth,proxy.offset.left=mapOffsetLeft+areaLeft-areaWidth}else if("rect"==areaShape){areaLeft=parseInt(areaMeasurements[0]),areaTop=parseInt(areaMeasurements[1]);var areaRight=parseInt(areaMeasurements[2]),areaBottom=parseInt(areaMeasurements[3]);proxy.dimension.height=areaBottom-areaTop,proxy.dimension.width=areaRight-areaLeft,proxy.offset.top=mapOffsetTop+areaTop,proxy.offset.left=mapOffsetLeft+areaLeft}else if("poly"==areaShape){for(var areaSmallestX=0,areaSmallestY=0,areaGreatestX=0,areaGreatestY=0,arrayAlternate="even",i=0;i
areaGreatestX&&(areaGreatestX=areaNumber,0===i&&(areaSmallestX=areaGreatestX)),areaNumberareaGreatestY&&(areaGreatestY=areaNumber,1==i&&(areaSmallestY=areaGreatestY)),areaNumberwindowWidth&&(arrowReposition=myLeft-(windowWidth+windowLeft-tooltipWidth),myLeft=windowWidth+windowLeft-tooltipWidth)}function dontGoOffScreenY(switchTo,switchFrom){proxy.offset.top-$(window).scrollTop()-tooltipHeight-offsetY-12<0&&switchFrom.indexOf("top")>-1&&(practicalPosition=switchTo),proxy.offset.top+proxy.dimension.height+tooltipHeight+12+offsetY>$(window).scrollTop()+$(window).height()&&switchFrom.indexOf("bottom")>-1&&(practicalPosition=switchTo,myTop=proxy.offset.top-tooltipHeight-offsetY-12)}if("top"==practicalPosition){var leftDifference=proxy.offset.left+tooltipWidth-(proxy.offset.left+proxy.dimension.width);myLeft=proxy.offset.left+offsetX-leftDifference/2,myTop=proxy.offset.top-tooltipHeight-offsetY-12,dontGoOffScreenX(),dontGoOffScreenY("bottom","top")}if("top-left"==practicalPosition&&(myLeft=proxy.offset.left+offsetX,myTop=proxy.offset.top-tooltipHeight-offsetY-12,dontGoOffScreenX(),dontGoOffScreenY("bottom-left","top-left")),"top-right"==practicalPosition&&(myLeft=proxy.offset.left+proxy.dimension.width+offsetX-tooltipWidth,myTop=proxy.offset.top-tooltipHeight-offsetY-12,dontGoOffScreenX(),dontGoOffScreenY("bottom-right","top-right")),"bottom"==practicalPosition){leftDifference=proxy.offset.left+tooltipWidth-(proxy.offset.left+proxy.dimension.width);myLeft=proxy.offset.left-leftDifference/2+offsetX,myTop=proxy.offset.top+proxy.dimension.height+offsetY+12,dontGoOffScreenX(),dontGoOffScreenY("top","bottom")}if("bottom-left"==practicalPosition&&(myLeft=proxy.offset.left+offsetX,myTop=proxy.offset.top+proxy.dimension.height+offsetY+12,dontGoOffScreenX(),dontGoOffScreenY("top-left","bottom-left")),"bottom-right"==practicalPosition&&(myLeft=proxy.offset.left+proxy.dimension.width+offsetX-tooltipWidth,myTop=proxy.offset.top+proxy.dimension.height+offsetY+12,dontGoOffScreenX(),dontGoOffScreenY("top-right","bottom-right")),"left"==practicalPosition){myLeft=proxy.offset.left-offsetX-tooltipWidth-12,myLeftMirror=proxy.offset.left+offsetX+proxy.dimension.width+12;var topDifference=proxy.offset.top+tooltipHeight-(proxy.offset.top+proxy.dimension.height);if(myTop=proxy.offset.top-topDifference/2-offsetY,myLeft<0&&myLeftMirror+tooltipWidth>windowWidth){var borderWidth=2*parseFloat(this.$tooltip.css("border-width")),newWidth=tooltipWidth+myLeft-borderWidth;this.$tooltip.css("width",newWidth+"px"),tooltipHeight=this.$tooltip.outerHeight(!1),myLeft=proxy.offset.left-offsetX-newWidth-12-borderWidth,topDifference=proxy.offset.top+tooltipHeight-(proxy.offset.top+proxy.dimension.height),myTop=proxy.offset.top-topDifference/2-offsetY}else myLeft<0&&(myLeft=proxy.offset.left+offsetX+proxy.dimension.width+12,arrowReposition="left")}if("right"==practicalPosition){myLeft=proxy.offset.left+offsetX+proxy.dimension.width+12,myLeftMirror=proxy.offset.left-offsetX-tooltipWidth-12;topDifference=proxy.offset.top+tooltipHeight-(proxy.offset.top+proxy.dimension.height);if(myTop=proxy.offset.top-topDifference/2-offsetY,myLeft+tooltipWidth>windowWidth&&myLeftMirror<0){borderWidth=2*parseFloat(this.$tooltip.css("border-width")),newWidth=windowWidth-myLeft-borderWidth;this.$tooltip.css("width",newWidth+"px"),tooltipHeight=this.$tooltip.outerHeight(!1),topDifference=proxy.offset.top+tooltipHeight-(proxy.offset.top+proxy.dimension.height),myTop=proxy.offset.top-topDifference/2-offsetY}else myLeft+tooltipWidth>windowWidth&&(myLeft=proxy.offset.left-offsetX-tooltipWidth-12,arrowReposition="right")}if(this.options.arrow){var arrowClass="tooltipster-arrow-"+practicalPosition;if(this.options.arrowColor.length<1)var arrowColor=this.$tooltip.css("background-color");else arrowColor=this.options.arrowColor;if(arrowReposition?"left"==arrowReposition?(arrowClass="tooltipster-arrow-right",arrowReposition=""):"right"==arrowReposition?(arrowClass="tooltipster-arrow-left",arrowReposition=""):arrowReposition="left:"+Math.round(arrowReposition)+"px;":arrowReposition="","top"==practicalPosition||"top-left"==practicalPosition||"top-right"==practicalPosition)var tooltipBorderWidth=parseFloat(this.$tooltip.css("border-bottom-width")),tooltipBorderColor=this.$tooltip.css("border-bottom-color");else if("bottom"==practicalPosition||"bottom-left"==practicalPosition||"bottom-right"==practicalPosition)tooltipBorderWidth=parseFloat(this.$tooltip.css("border-top-width")),tooltipBorderColor=this.$tooltip.css("border-top-color");else if("left"==practicalPosition)tooltipBorderWidth=parseFloat(this.$tooltip.css("border-right-width")),tooltipBorderColor=this.$tooltip.css("border-right-color");else if("right"==practicalPosition)tooltipBorderWidth=parseFloat(this.$tooltip.css("border-left-width")),tooltipBorderColor=this.$tooltip.css("border-left-color");else tooltipBorderWidth=parseFloat(this.$tooltip.css("border-bottom-width")),tooltipBorderColor=this.$tooltip.css("border-bottom-color");tooltipBorderWidth>1&&tooltipBorderWidth++;var arrowBorder="";if(0!==tooltipBorderWidth){var arrowBorderSize="",arrowBorderColor="border-color: "+tooltipBorderColor+";";-1!==arrowClass.indexOf("bottom")?arrowBorderSize="margin-top: -"+Math.round(tooltipBorderWidth)+"px;":-1!==arrowClass.indexOf("top")?arrowBorderSize="margin-bottom: -"+Math.round(tooltipBorderWidth)+"px;":-1!==arrowClass.indexOf("left")?arrowBorderSize="margin-right: -"+Math.round(tooltipBorderWidth)+"px;":-1!==arrowClass.indexOf("right")&&(arrowBorderSize="margin-left: -"+Math.round(tooltipBorderWidth)+"px;"),arrowBorder=''}this.$tooltip.find(".tooltipster-arrow").remove();var arrowConstruct=''+arrowBorder+'
';this.$tooltip.append(arrowConstruct)}this.$tooltip.css({top:Math.round(myTop)+"px",left:Math.round(myLeft)+"px"})}return this},enable:function(){return this.enabled=!0,this},disable:function(){return this.hide(),this.enabled=!1,this},destroy:function(){var self=this;self.hide(),self.$el[0]!==self.$elProxy[0]&&self.$elProxy.remove(),self.$el.removeData(self.namespace).off("."+self.namespace);var ns=self.$el.data("tooltipster-ns");if(1===ns.length){var stringifiedContent="string"==typeof self.Content?self.Content:$("").append(self.Content).html();self.$el.removeClass("tooltipstered").attr("title",stringifiedContent).removeData(self.namespace).removeData("tooltipster-ns").off("."+self.namespace)}else ns=$.grep(ns,(function(el,i){return el!==self.namespace})),self.$el.data("tooltipster-ns",ns);return self},elementIcon:function(){return this.$el[0]!==this.$elProxy[0]?this.$elProxy[0]:void 0},elementTooltip:function(){return this.$tooltip?this.$tooltip[0]:void 0},option:function(o,val){return void 0===val?this.options[o]:(this.options[o]=val,this)},status:function(){return this.Status}},$.fn.tooltipster=function(){var args=arguments;if(0===this.length){if("string"==typeof args[0]){var methodIsStatic=!0;if("setDefaults"===args[0])$.extend(defaults,args[1]);else methodIsStatic=!1;return!!methodIsStatic||this}return this}if("string"==typeof args[0]){var v="#*$~&";return this.each((function(){var ns=$(this).data("tooltipster-ns"),self=ns?$(this).data(ns[0]):null;if(!self)throw new Error("You called Tooltipster's \""+args[0]+'" method on an uninitialized element');if("function"!=typeof self[args[0]])throw new Error('Unknown method .tooltipster("'+args[0]+'")');var resp=self[args[0]](args[1],args[2]);if(resp!==self)return v=resp,!1})),"#*$~&"!==v?v:this}var instances=[],multipleIsSet=args[0]&&void 0!==args[0].multiple,multiple=multipleIsSet&&args[0].multiple||!multipleIsSet&&defaults.multiple,debugIsSet=args[0]&&void 0!==args[0].debug,debug=debugIsSet&&args[0].debug||!debugIsSet&&defaults.debug;return this.each((function(){var go=!1,ns=$(this).data("tooltipster-ns"),instance=null;ns?multiple?go=!0:debug&&console.log('Tooltipster: one or more tooltips are already attached to this element: ignoring. Use the "multiple" option to attach more tooltips.'):go=!0,go&&(instance=new Plugin(this,args[0]),ns||(ns=[]),ns.push(instance.namespace),$(this).data("tooltipster-ns",ns),$(this).data(instance.namespace,instance)),instances.push(instance)})),multiple?instances:this};var deviceHasTouchCapability=!!("ontouchstart"in window),deviceHasMouse=!1;function deviceIsPureTouch(){return!deviceHasMouse&&deviceHasTouchCapability}function supportsTransitions(){var s=(document.body||document.documentElement).style,p="transition";if("string"==typeof s[p])return!0;v=["Moz","Webkit","Khtml","O","ms"],p=p.charAt(0).toUpperCase()+p.substr(1);for(var i=0;i9&&(digit-=9),sum+=digit;return sum%10==0},hasTextSelected=function($target){var _ref;return null!=$target.prop("selectionStart")&&$target.prop("selectionStart")!==$target.prop("selectionEnd")||!(null==("undefined"!=typeof document&&null!==document&&null!=(_ref=document.selection)?_ref.createRange:void 0)||!document.selection.createRange().text)},safeVal=function(value,$target){var currPair,cursor,digit,last,prevPair;try{cursor=$target.prop("selectionStart")}catch(_error){_error,cursor=null}if(last=$target.val(),$target.val(value),null!==cursor&&$target.is(":focus"))return cursor===last.length&&(cursor=value.length),last!==value&&(prevPair=last.slice(cursor-1,+cursor+1||9e9),currPair=value.slice(cursor-1,+cursor+1||9e9),digit=value[cursor],/\d/.test(digit)&&prevPair===digit+" "&&currPair===" "+digit&&(cursor+=1)),$target.prop("selectionStart",cursor),$target.prop("selectionEnd",cursor)},replaceFullWidthChars=function(str){var chars,chr,idx,value,_i,_len;for(null==str&&(str=""),"0123456789","0123456789",value="",_i=0,_len=(chars=str.split("")).length;_i<_len;_i++)chr=chars[_i],(idx="0123456789".indexOf(chr))>-1&&(chr="0123456789"[idx]),value+=chr;return value},reFormatNumeric=function(e){var $target;return $target=$(e.currentTarget),setTimeout((function(){var value;return value=$target.val(),value=(value=replaceFullWidthChars(value)).replace(/\D/g,""),safeVal(value,$target)}))},reFormatCardNumber=function(e){var $target;return $target=$(e.currentTarget),setTimeout((function(){var value;return value=$target.val(),value=replaceFullWidthChars(value),value=$.payment.formatCardNumber(value),safeVal(value,$target)}))},formatCardNumber=function(e){var $target,card,digit,length,re,upperLength,value;if(digit=String.fromCharCode(e.which),/^\d+$/.test(digit)&&($target=$(e.currentTarget),value=$target.val(),card=cardFromNumber(value+digit),length=(value.replace(/\D/g,"")+digit).length,upperLength=16,card&&(upperLength=card.length[card.length.length-1]),!(length>=upperLength||null!=$target.prop("selectionStart")&&$target.prop("selectionStart")!==value.length)))return(re=card&&"amex"===card.type?/^(\d{4}|\d{4}\s\d{6})$/:/(?:^|\s)(\d{4})$/).test(value)?(e.preventDefault(),setTimeout((function(){return $target.val(value+" "+digit)}))):re.test(value+digit)?(e.preventDefault(),setTimeout((function(){return $target.val(value+digit+" ")}))):void 0},formatBackCardNumber=function(e){var $target,value;if($target=$(e.currentTarget),value=$target.val(),8===e.which&&(null==$target.prop("selectionStart")||$target.prop("selectionStart")===value.length))return/\d\s$/.test(value)?(e.preventDefault(),setTimeout((function(){return $target.val(value.replace(/\d\s$/,""))}))):/\s\d?$/.test(value)?(e.preventDefault(),setTimeout((function(){return $target.val(value.replace(/\d$/,""))}))):void 0},reFormatExpiry=function(e){var $target;return $target=$(e.currentTarget),setTimeout((function(){var value;return value=$target.val(),value=replaceFullWidthChars(value),value=$.payment.formatExpiry(value),safeVal(value,$target)}))},formatExpiry=function(e){var $target,digit,val;if(digit=String.fromCharCode(e.which),/^\d+$/.test(digit))return $target=$(e.currentTarget),val=$target.val()+digit,/^\d$/.test(val)&&"0"!==val&&"1"!==val?(e.preventDefault(),setTimeout((function(){return $target.val("0"+val+" / ")}))):/^\d\d$/.test(val)?(e.preventDefault(),setTimeout((function(){var m1,m2;return m1=parseInt(val[0],10),(m2=parseInt(val[1],10))>2&&0!==m1?$target.val("0"+m1+" / "+m2):$target.val(val+" / ")}))):void 0},formatForwardExpiry=function(e){var $target,digit,val;if(digit=String.fromCharCode(e.which),/^\d+$/.test(digit))return val=($target=$(e.currentTarget)).val(),/^\d\d$/.test(val)?$target.val(val+" / "):void 0},formatForwardSlashAndSpace=function(e){var $target,val,which;if("/"===(which=String.fromCharCode(e.which))||" "===which)return val=($target=$(e.currentTarget)).val(),/^\d$/.test(val)&&"0"!==val?$target.val("0"+val+" / "):void 0},formatBackExpiry=function(e){var $target,value;if($target=$(e.currentTarget),value=$target.val(),8===e.which&&(null==$target.prop("selectionStart")||$target.prop("selectionStart")===value.length))return/\d\s\/\s$/.test(value)?(e.preventDefault(),setTimeout((function(){return $target.val(value.replace(/\d\s\/\s$/,""))}))):void 0},reFormatCVC=function(e){var $target;return $target=$(e.currentTarget),setTimeout((function(){var value;return value=$target.val(),value=(value=replaceFullWidthChars(value)).replace(/\D/g,"").slice(0,4),safeVal(value,$target)}))},restrictNumeric=function(e){var input;return!(!e.metaKey&&!e.ctrlKey)||32!==e.which&&(0===e.which||(e.which<33||(input=String.fromCharCode(e.which),!!/[\d\s]/.test(input))))},restrictCardNumber=function(e){var $target,card,digit,value;if($target=$(e.currentTarget),digit=String.fromCharCode(e.which),/^\d+$/.test(digit)&&!hasTextSelected($target))return value=($target.val()+digit).replace(/\D/g,""),(card=cardFromNumber(value))?value.length<=card.length[card.length.length-1]:value.length<=16},restrictExpiry=function(e){var $target,digit;if($target=$(e.currentTarget),digit=String.fromCharCode(e.which),/^\d+$/.test(digit)&&!hasTextSelected($target))return!(($target.val()+digit).replace(/\D/g,"").length>6)&&void 0},restrictCVC=function(e){var $target,digit;if($target=$(e.currentTarget),digit=String.fromCharCode(e.which),/^\d+$/.test(digit)&&!hasTextSelected($target))return($target.val()+digit).length<=4},setCardType=function(e){var $target,allTypes,card,cardType,val;if(val=($target=$(e.currentTarget)).val(),cardType=$.payment.cardType(val)||"unknown",!$target.hasClass(cardType))return allTypes=function(){var _i,_len,_results;for(_results=[],_i=0,_len=cards.length;_i<_len;_i++)card=cards[_i],_results.push(card.type);return _results}(),$target.removeClass("unknown"),$target.removeClass(allTypes.join(" ")),$target.addClass(cardType),$target.toggleClass("identified","unknown"!==cardType),$target.trigger("payment.cardType",cardType)},$.payment.fn.formatCardCVC=function(){return this.on("keypress",restrictNumeric),this.on("keypress",restrictCVC),this.on("paste",reFormatCVC),this.on("change",reFormatCVC),this.on("input",reFormatCVC),this},$.payment.fn.formatCardExpiry=function(){return this.on("keypress",restrictNumeric),this.on("keypress",restrictExpiry),this.on("keypress",formatExpiry),this.on("keypress",formatForwardSlashAndSpace),this.on("keypress",formatForwardExpiry),this.on("keydown",formatBackExpiry),this.on("change",reFormatExpiry),this.on("input",reFormatExpiry),this},$.payment.fn.formatCardNumber=function(){return this.on("keypress",restrictNumeric),this.on("keypress",restrictCardNumber),this.on("keypress",formatCardNumber),this.on("keydown",formatBackCardNumber),this.on("keyup",setCardType),this.on("paste",reFormatCardNumber),this.on("change",reFormatCardNumber),this.on("input",reFormatCardNumber),this.on("input",setCardType),this},$.payment.fn.restrictNumeric=function(){return this.on("keypress",restrictNumeric),this.on("paste",reFormatNumeric),this.on("change",reFormatNumeric),this.on("input",reFormatNumeric),this},$.payment.fn.cardExpiryVal=function(){return $.payment.cardExpiryVal($(this).val())},$.payment.cardExpiryVal=function(value){var month,year,_ref;return month=(_ref=value.split(/[\s\/]+/,2))[0],2===(null!=(year=_ref[1])?year.length:void 0)&&/^\d+$/.test(year)&&(year=(new Date).getFullYear().toString().slice(0,2)+year),{month:month=parseInt(month,10),year:year=parseInt(year,10)}},$.payment.validateCardNumber=function(num){var card,_ref;return num=(num+"").replace(/\s+|-/g,""),!!/^\d+$/.test(num)&&(!!(card=cardFromNumber(num))&&(_ref=num.length,__indexOf.call(card.length,_ref)>=0&&(!1===card.luhn||luhnCheck(num))))},$.payment.validateCardExpiry=function(month,year){var currentTime,expiry,_ref;return"object"==typeof month&&"month"in month&&(month=(_ref=month).month,year=_ref.year),!(!month||!year)&&(month=$.trim(month),year=$.trim(year),!!/^\d+$/.test(month)&&(!!/^\d+$/.test(year)&&(1<=month&&month<=12&&(2===year.length&&(year=year<70?"20"+year:"19"+year),4===year.length&&(expiry=new Date(year,month),currentTime=new Date,expiry.setMonth(expiry.getMonth()-1),expiry.setMonth(expiry.getMonth()+1,1),expiry>currentTime)))))},$.payment.validateCardCVC=function(cvc,type){var card,_ref;return cvc=$.trim(cvc),!!/^\d+$/.test(cvc)&&(null!=(card=cardFromType(type))?(_ref=cvc.length,__indexOf.call(card.cvcLength,_ref)>=0):cvc.length>=3&&cvc.length<=4)},$.payment.cardType=function(num){var _ref;return num&&(null!=(_ref=cardFromNumber(num))?_ref.type:void 0)||null},$.payment.formatCardNumber=function(num){var card,groups,upperLength,_ref;return num=num.replace(/\D/g,""),(card=cardFromNumber(num))?(upperLength=card.length[card.length.length-1],num=num.slice(0,upperLength),card.format.global?null!=(_ref=num.match(card.format))?_ref.join(" "):void 0:null!=(groups=card.format.exec(num))?(groups.shift(),(groups=$.grep(groups,(function(n){return n}))).join(" ")):void 0):num},$.payment.formatExpiry=function(expiry){var mon,parts,sep,year;return(parts=expiry.match(/^\D*(\d{1,2})(\D+)?(\d{1,4})?/))?(mon=parts[1]||"",sep=parts[2]||"",(year=parts[3]||"").length>0?sep=" / ":" /"===sep?(mon=mon.substring(0,1),sep=""):2===mon.length||sep.length>0?sep=" / ":1===mon.length&&"0"!==mon&&"1"!==mon&&(mon="0"+mon,sep=" / "),mon+sep+year):""}}.call(this),function(n){function v(b,f){var c,a=this,e=window.navigator,g=e.userAgent.toLowerCase();a.uid=n.rsModules.uid++,a.ns=".rs"+a.uid;var q,d=document.createElement("div").style,h=["webkit","Moz","ms","O"],k="",l=0;for(c=0;ca.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[])[1]||"",version:a[2]||"0"}}(g),h={},c.browser&&(h[c.browser]=!0,h.version=c.version),h.chrome&&(h.webkit=!0),a._a=h,a.isAndroid=-1a.numSlides-1&&(a.st.startSlideId=a.numSlides-1):a.st.startSlideId=0,a._o=a.staticSlideId=a.currSlideId=a._u=a.st.startSlideId,a.currSlide=a.slides[a.currSlideId],a._v=0,a.pointerMultitouch=!1,a.slider.addClass((a._h?"rsHor":"rsVer")+(a._l?"":" rsFade")),d='',a.slidesSpacing=a.st.slidesSpacing,a._w=(a._h?a.slider.width():a.slider.height())+a.st.slidesSpacing,a._x=Boolean(0
=a.numSlides&&(a._z=!1),a._a1=a._z&&a._l?2===a.numSlides?1:2:0,a._b1=6>a.numSlides?a.numSlides:6,a._c1=0,a._d1=0,a.slidesJQ=[];for(c=0;c'));a._e1=d=n(d+"
");var p,m=a.ns;k=function(b,c,d,e,f){a._j1=b+c+m,a._k1=b+d+m,a._l1=b+e+m,f&&(a._m1=b+f+m)};c=e.pointerEnabled,a.pointerEnabled=c||e.msPointerEnabled,a.pointerEnabled?(a.hasTouch=!1,a._n1=.2,a.pointerMultitouch=Boolean(1