1var app={init:function(){this.cacheDom(),this.activateDesktop(),this.tpl_removeSidebar(),this.tpl_removeShareBtn(),this.tpl_removeTopSpacing(),this.tpl_removeTopSide(),this.tpl_fullWidthContent(),this.formValidation(),this.formRadioLbl(),this.formInlineLbl(),this.formActivateElements(),this.formPopulateCountry(),this.formOnChangeCountry(),this.formOnPhoneNumberChange(),this.videoResponsive(),this.bigText(),this.closeAlert(),this.prospectiveStudentsPolicy(),this.imageAttribute(),this.imageCover(),this.imageResize(),this.ifBrowser_Safari(),this.callMeNow()},cacheDom:function(){this.DEBUG_MODE=!1,this.spacing=20,this.xsDeviceDetect=480,this.smDeviceDetect=767,this.mdDeviceDetect=979,this.lgDeviceDetect=980,this.xlDeviceDetect=1200,this.countryToStateUrl="/templates/nyip_default/scripts/json/country-state.json",this.zipToStateCity="/templates/nyip_default/scripts/json/zip.json",this.$body=$("body"),this.$preHeader=$(".preheader"),this.$headerWrap=$(".header-wrap"),this.$header=$(".header"),this.$mainMenu=this.$header.find(".main-menu-wrap"),this.$smdMenu=this.$header.find(".smd-menu-wrap"),this.$smdMenuHandle=this.$header.find(".smd-menu-handle"),this.$breadcrumb=$(".breadcrumb"),this.$sectionMainContent=$(".main-content"),this.$sectionContent=$(".section-content"),this.$sectionMenuWrap=$(".section-menu-wrap"),this.$sectionMenu=this.$sectionMenuWrap.find(".section-menu"),this.$sectionParentTitle=this.$sectionMenuWrap.find("parent-title a"),this.$sectionPageTitle=this.$sectionMainContent.find(".page-title"),this.$footer=$(".footer"),this.$backToTop=$(".back-to-top"),this.$sectionMainContent_OLD=$("#main-content"),this.$sectionContent_OLD=$("#primary-col"),this.$sectionMenuWrap_OLD=$("#secondary-nav"),this.removeSidebarTPL=$(".remove-sidebar"),this.removeTopSpacingTPL=$(".remove-top-spacing"),this.removeShareBtnTPL=$(".remove-share-btn"),this.removeTopSide=$(".remove-top-side"),this.fullWidthContentTPL=$(".full-width-body-content"),this.$formValidationElement=$(".validate"),this.$form=$("form"),this.$radioLbl=$(".radiolbl"),this.$radio=$(".radio"),this.$formInlineLbl=$("form.inlinelbl"),this.$formCountry=this.$form.find("#country"),this.$formState=this.$form.find("#state"),this.$formZip=this.$form.find("#zip"),this.$formPhone=this.$form.find("#phone"),this.formResetZipVal="00000",this.formClassValidateRequired="validate[required]",this.formClassSuccess="success",this.formClassError="error",this.formUSMilitary='<optgroup label="Military"><option value="AA">Armed Forces Americas(AA)</option><option value="AE">Armed Forces(AE)</option><option value="AP">Armed Forces Pacific(AP)</option></optgroup>"',this.$videoResponsive=$(".video-wrapper"),this.$bigText=$(".bigtxt"),this.$closeAlert=$(".close"),this.$prospectiveStudentsEmailPolicy=$(".p-email-policy"),this.$prospectiveStudentsEmailPolicyBtn=$(".p-email-policy-link"),this.frameMB=$(".frame"),this.inlineMB=$(".inline"),this.inline50MB=$(".inline50"),this.imgWithCopyright=$("img.copyright"),this.imgCover=$("img.cover"),this.imgResize=$("img.resize")},debugModeStatus:function(){0==this.DEBUG_MODE&&((console=console||{}).log=function(){})},render:function(){console.log(this.getWindowWidth()),console.log(this.getWindowHeight())},activateDesktop:function(){(that=this).getWindowWidth()<that.smDeviceDetect||(that.imageCover(),that.imageResize())},sanitize_RemoveHTMLTags:function(t){return(t=t).replace(/(<([^>]+)>)/gi,"")},sanitize_RemoveMultipleSpaces:function(t){return(t=t).replace(/\s\s+/g," ")},sanitize_RemoveWhiteSpaces:function(t){return(t=t).replace(/ +/g," ")},sanitize_PhoneNumber:function(t){return(t=t).replace(/\D/g,"")},checkIfStringStartsWith:function(t,e){return!!t.match(e)},getIndexOf:function(t,e){return t.indexOf(e)},getStringLength:function(t){return t.length},getWindowWidth:function(){return $(window).width()},getWindowHeight:function(){return $(window).height()},getProtocol:function(){return $(location).attr("protocol")},getHostName:function(){return $(location).attr("hostname")},getPathName:function(){return $(location).attr("pathname")},getHref:function(){return $(location).attr("href")},isMobile:function(){return!!(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/iPhone|iPad|iPod/i)||navigator.userAgent.match(/Opera Mini/i)||navigator.userAgent.match(/IEMobile/i))},mobileDetect_isAndroid:function(){return!!navigator.userAgent.match(/Android/i)},mobileDetect_isBlackBerry:function(){return!!navigator.userAgent.match(/BlackBerry/i)},mobileDetect_isiDevice:function(){return!!navigator.userAgent.match(/iPhone|iPad|iPod/i)},mobileDetect_isOpera:function(){return!!navigator.userAgent.match(/Opera Mini/i)},mobileDetect_isIEMobile:function(){return!!navigator.userAgent.match(/IEMobile/i)},browserDetect_isOpera:function(){return 1==(!!window.opr&&!!opr.addons||!!window.opera||0<=navigator.userAgent.indexOf(" OPR/"))},browserDetect_isFirefox:function(){return 1==("undefined"!=typeof InstallTrigger)},browserDetect_isSafari:function(){return-1!=navigator.userAgent.indexOf("Safari")&&-1==navigator.userAgent.indexOf("Chrome")},browserDetect_isIE:function(){return 1==!!document.documentMode},browserDetect_isEdge:function(){return 1==(!isIE&&!!window.StyleMedia)},browserDetect_isChrome:function(){return 1==(!!window.chrome&&!!window.chrome.webstore)},browserDetect_isBlink:function(){return 1==((isChrome||isOpera)&&!!window.CSS)},tpl_removeSidebar:function(t){1!=t&&(t=!1),!(that=this).checkElementExists(that.removeSidebarTPL)&&1!=t||(that.$sectionContent.removeClass("col-md-9").addClass("col-md-12").css("border","none"),that.$sectionMenuWrap.remove(),that.$sectionContent_OLD.removeClass("span9").addClass("span12").css("border","none"),that.$sectionMenuWrap_OLD.remove())},tpl_removeShareBtn:function(t){1!=t&&(t=!1),!(that=this).checkElementExists(that.removeShareBtnTPL)&&1!=t||that.$sectionMainContent.find(".share").hide()},tpl_removeTopSpacing:function(t){1!=t&&(t=!1),!(that=this).checkElementExists(that.removeTopSpacingTPL)&&1!=t||(that.$breadcrumb.remove(),(that.checkElementExists(that.$sectionContent)?that.$sectionContent:that.$sectionMainContent).find(".page-title-wrap").html('<h1 class="page-title">'+that.$sectionPageTitle.html()+"</h1>\x3c!-- /page-title --\x3e"),that.$sectionPageTitle.remove(),that.getWindowWidth()>that.smDeviceDetect&&that.removeTopSpacingTPL.css("padding-bottom","40px"))},tpl_removeTopSide:function(){(that=this).checkElementExists(that.removeTopSide)&&(that.tpl_removeSidebar(!0),that.tpl_removeShareBtn(!0),that.tpl_removeTopSpacing(!0),that.$sectionContent.css("padding-top","0"),that.$sectionMainContent.css("padding-top","0"))},tpl_fullWidthContent:function(){(that=this).checkElementExists(that.fullWidthContentTPL
1)&&(that.$sectionMainContent.addClass("fwbc").css("max-width","100%"),that.$sectionMainContent_OLD.addClass("fwbc").css("max-width","100%"))},checkElementExists:function(t){return!!t.length},scrollToElement:function(t,e){$("html, body").stop().animate({scrollTop:$("#"+t).offset().top-(that.$preHeader.height()+that.$header.height()+e)},800)},ifBrowser_Safari:function(){(that=this).browserDetect_isSafari&&that.$body.addClass("safari")},formValidation:function(){(that=this).checkElementExists(that.$formValidationElement)&&that.$formValidationElement.validationEngine({scroll:!0})},formRadioLbl:function(){(that=this).checkElementExists(that.$radioLbl)&&that.$form.on("submit",function(t){that.$radioLbl.css("color","#333"),$(".radio.error").parent().find(".radiolbl").css("color","#B94A48")})},formInlineLbl:function(){(that=this).checkElementExists(that.$formInlineLbl)&&that.$formInlineLbl.find("label").hide()},formActivateElements:function(){(that=this).$form.hasClass("flag-show")&&that.$body.addClass("nonus"),that.$form.hasClass("flag-show-uk")&&that.$body.addClass("flag-show-uk"),that.$form.hasClass("hide-phone")&&that.$body.addClass("hide-phone")},formOnChangeCountry:function(){(that=this).checkElementExists(that.$form)&&!that.$form.hasClass("wppi-form")&&app.$formCountry.on("change",function(){var t=app.$form.find("#country"),e=$("option:selected",t).index(),i=$("option:selected",t).attr("data-canonical"),n=$("option:selected",t).attr("data-dropdown");t.find("option").filter(":selected").val();app.formPopulateState(t,"",e,n,i),that.formUpdatePhoneNumberToUK()})},formZipCodeNat:function(t,e){(that=this).$body.on("change",that.$formCountry,function(){var t=that.$form.find("#country :selected").val(),e=(that.$form.find("#state :selected").val(),that.$form.find("#zip").val());"United States"==t||"Canada"==t?(" "!=e&&""!=e&&e!=that.formResetZipVal||(that.$formZip.val("").addClass(that.formClassValidateRequired).removeClass(that.formClassSuccess),that.$formState.addClass(that.formClassValidateRequired).removeClass(that.formClassSuccess)),selectedState==$("#"+word+"state option:eq(1)").val()&&$("#"+word+"state option:eq(0)").attr("selected","selected")):""!=t&&(that.$formZip.val(that.formResetZipVal).removeClass(that.formClassValidateRequired).removeClass(that.formClassError),that.$formZip.next(".formError").remove(),that.$formState.find("option:eq(1)").attr("selected","selected"),that.$formState.removeClass(that.formClassValidateRequired).removeClass(that.formClassError),that.$formState.next(".formError").remove())})},formZipCodeInt:function(t,e){(that=this).$formZip.val(that.formResetZipVal).removeClass(that.formClassValidateRequired).removeClass(that.formClassError),that.$formZip.next(".formError").remove(),that.$formState.find("option:eq(1)").attr("selected","selected"),that.$formState.removeClass(that.formClassValidateRequired).removeClass(that.formClassError),that.$formState.next(".formError").remove()},formPopulateCountry:function(){var t;(that=this).$form.hasClass("zip2state")&&(($this=that.$form).$formCountry=$this.find("#country"),$this.$formState=$this.find("#state"),$this.$formZip=$this.find("#zip"),t=$this.$formState.attr("tabindex"),that.checkElementExists($this.$formCountry)&&($this.$formCountry.find("option").remove().end().append('<option value="" selected="selected">Country *</option>'),$this.$formState.find("option").remove().end().append('<option value="" selected="selected">State *</option>'),$this.$formState.after('<input type="text" name="state_text" tabIndex="'+t+'" id="state_text" placeholder="State/Province/Region" class="state_text" data-state="">'),$this.find("#state_text").hide(),$.getJSON(that.countryToStateUrl,function(t){$.each(t.countries,function(t,e){$this.$formCountry.append('<option value="'+e.canonical+'" data-dropdown="'+e.dropdown+'" data-canonical="'+e.canonical+'">'+e.name+"</option>")});t=t.countries[0];$.each(t.states,function(t,e){$this.$formState.append('<option value="'+e.value+'">'+e.name+"</option>"),"WY"==e.value&&$this.$formState.append(that.formUSMilitary)})}).done(function(){$this.$formCountry.val("United States").attr("selected","selected"),$this.hasClass("country-select-ca")&&($this.$formCountry.val("Canada").attr("selected","selected").trigger("change"),$this.$formZip.attr("placeholder","Postal Code *")),$this.hasClass("country-select-uk")&&($this.$formCountry.val("United Kingdom").attr("selected","selected").trigger("change"),$this.$formZip.attr("placeholder","Post Code *"))})))}
1,formPopulateState:function(t,e,i,n,a){(that=this).$formState.addClass("state");t.closest("form");var s=e+"state",o="."+e+"state",t="#"+e+"zip",r=i-1,l=0,d="State",e="Zip",e="United States"==a?(d="State","Zip"):(d="Province","Postal Code");"true"==n?($(t).addClass(that.formClassValidateRequired).attr("placeholder",e+" *").removeClass("not-required"),$(t).parent().find(".formError").remove(),$.getJSON(that.countryToStateUrl,function(t){t=t.countries[r];$(o).html("").append('<option value="" selected="selected">'+d+" *</option>"),$.each(t.states,function(t,e){$(o).append('<option value="'+e.value+'">'+e.name+"</option>"),"WY"==e.value&&$(o).append(that.formUSMilitary),l++})}).done(function(){l<=2?$(o).attr("name",s+"_select").attr("id",s+"_select").hide().parent().find("."+s+"_text").val($("option:eq(1)",o).val()).show().prop("disabled",!0).attr("name",s).attr("id",s):$(o).attr("name",s).attr("id",s).show().parent().find("."+s+"_text").val($("option:eq(1)",o).val()).hide().prop("disabled",!1).attr("name",s+"_text").attr("id",s+"_text"),$(o).parent().find(".formError").remove()})):($(o).attr("name",s+"_select").attr("id",s+"_select").hide().parent().find("."+s+"_text").show().prop("disabled",!1).attr("name",s).attr("id",s).val("").addClass("not-required"),$(o).parent().find(".formError").remove(),$(t).removeClass(that.formClassValidateRequired).removeClass("error").attr("placeholder","Zip/Postal Code").addClass("not-required"),$(t).parent().find(".formError").remove())},formOnPhoneNumberChange:function(){that=this,$("#phone").on("blur",function(){that.formUpdatePhoneNumberToUK()})},formPhoneAddCountryCodeUK:function(t){return"44"+t},formPhoneAddExitCode:function(t){return"011"+t},formUpdatePhoneNumberToUK:function(t){var e,i,n,a,s;that=this,""!=(t=$("#phone")).val()&&that.$form.hasClass("phone-uk")&&"United Kingdom"==that.$formCountry.val()&&(e=t.val(),e=that.sanitize_PhoneNumber(e),strLen=e.length,i=e.slice(0,1),n=e.slice(0,2),a=e.slice(0,3),s=e.slice(0,5),strFirstSix=e.slice(0,6),"0"==i&&"01144"!=s&&(e=e.slice(1,strLen)),"440"==a?(strLen=e.length,e=e.slice(3,strLen),e=that.formPhoneAddCountryCodeUK(e),e=that.formPhoneAddExitCode(e)):"44"==n?e=that.formPhoneAddExitCode(e):"11"==n?e="0"+e:"011440"==strFirstSix?(strLen=e.length,e=e.slice(6,strLen),e=that.formPhoneAddCountryCodeUK(e),e=that.formPhoneAddExitCode(e)):"01144"!=s&&(e=that.formPhoneAddCountryCodeUK(e),e=that.formPhoneAddExitCode(e)),t.val(e))},videoResponsive:function(){(that=this).checkElementExists(that.$videoResponsive)&&that.$videoResponsive.fitVids()},bigText:function(){(that=this).checkElementExists(that.$bigText)&&that.$bigText.bigtext()},closeAlert:function(){(that=this).checkElementExists(that.$closeAlert)&&$(this).parent(".alert").slideUp()},prospectiveStudentsPolicy:function(){(that=this).checkElementExists(that.$prospectiveStudentsEmailPolicy)&&(that.$prospectiveStudentsEmailPolicy.hide(),that.$prospectiveStudentsEmailPolicyBtn.on("click",function(){app.$prospectiveStudentsEmailPolicy.slideToggle()}))},activateModalBox:function(){(that=this).modalBoxFrame(),that.modalBoxInline(),that.modalBoxInline50()},modalBoxFrame:function(){(that=this).checkElementExists(that.frameMB)&&that.frameMB.colorbox({iframe:!0,width:"80%",height:"80%"})},modalBoxInline:function(){(that=this).checkElementExists(that.inlineMB)&&that.inlineMB.colorbox({iframe:!0,width:"80%",maxWidth:"600"})},modalBoxInline50:function(){(that=this).checkElementExists(that.inline50MB)&&that.inline50MB.colorbox({iframe:!0,width:"40%"})},imageAttribute:function(){(that=this).checkElementExists(that.imgWithCopyright)&&that.imgWithCopyright.each(function(){$(this).attr("src");var t=$(this).attr("alt"),e=$(this).attr("title"),i=$(this).attr("longdesc"),n=$(this).attr("style"),t=void 0===t?"":'<div class="alt">'+t+"</div>",e=void 0===e?"":'<div class="title">'+e+"</div>",i=void 0===i?"":'<div class="longdesc">'+i+"</div>";$(this).wrap('<div class="editor-img" style="'+n+'"></div>'),$(this).attr("style",""),$(this).hasClass("left")?$(this).removeClass("left").parent().addClass("left"):$(this).hasClass("right")&&$(this).removeClass("right").parent().addClass("right"),$(this).after('<div class="image-info">'+t+e+i+"</div>\x3c!--/imageInfo--\x3e")})},imageCover:function(){(that=this).checkElementExists(that.imgCover)&&that.imgCover.each(function(){$(this).attr("src",$(this).attr("src").replace(/-st.jpg/g,"-hr.jpg"))})},imageResize:function(){(that=this).checkElementExists(that.imgResize)&&that.imgResize.each(function(){that.getWindowWidth()<that.mdDeviceDetect&&that.getWindowWidth()>that.smDeviceDetect?($(this).attr("src",$(this).attr("src").replace(/-sm.jpg/g,"-md.jpg")),$(this).attr("src",$(this).attr("src").replace(/-lg.jpg/g,"-md.jpg"))):that.getWindowWidth()>=that.lgDeviceDetect&&($(this).attr("src",$(this).attr("src").replace(/-sm.jpg/g,"-lg.jpg")),$(this).attr("src",$(this).attr("src").replace(/-md.jpg/g,"-lg.jpg")))})},callMeNow:function(){that=this;var i=$(".call-me-slider"),t=i.find("#call-me"),n=i.find(".call-me"),a=i.find(".call-me-btn"),s=$("#lights-out");({is_out:!1,is_loaded:!1,width:0,init:function(){var t,e;0!==n.length&&(t=this,a.on("click",function(){return t.is_out?(t.fadeOut(),t.close(),t.is_out=!1):(t.is_loaded||(t.loadForm(),t.is_loaded=!0),t.fadeIn(),t.open(),t.is_out=!0),!1}),s.on("click",function(){t.is_out&&(t.fadeOut(),t.close(),t.is_out=!1)}),e=i.position(),this.width=-e.left)},open:function(){var t=this;i.animate({left:"+="+t.width},458,function(){t.is_out=!0})},close:function(){var t=this;i.animate({left:"-="+t.width},458,function(){t.is_out=!1})},fadeIn:function(){s.height($("html").height()),s.css("display","block"),s.animate({opacity:".75"},500,function(){})},fadeOut:function(){s.animate({opacity:"0"},500,function(){s.css("display","none")})},loadForm:function(){t.attr("src","/call-me-now")}}).init()}},paginator=($(document).ready(function(t){app.init(),app.activateModalBox()}),$(window).on("load",function(){paginator.init()}),$(window).resize(function(){}),{init:function(){this.cacheDom(),this.startApp(),this.clickPageLink(),this.clickPreviousLink(),this.clickNextLink()}
1,cacheDom:function(){this.paginatorClassName=".paginator",this.itemsClassName=".items",this.pageNavigationClassName=".page-navigation",this.$paginator=$(this.paginatorClassName),this.$items=$(this.itemsClassName),this.itemStartCount=0,this.itemShowCount=5,this.paginationStartTag='<ul class="pagination"><li class="previous"><a href="#">«</a></li>',this.paginationEndTag='<li class="next"><a href="#">»</a></li></ul>'},startApp:function(){var i=this;app.checkElementExists(this.$paginator)&&this.$items.each(function(){var t=$(this),e=t.children().length;for(pageCount=Math.ceil(e/i.itemShowCount),pageNavTag=i.paginationStartTag,currentPageLink=i.itemStartCount;pageCount>currentPageLink;)pageNavTag+='<li class="page" data-page='+currentPageLink+'><a href="#">'+(currentPageLink+1)+"</a></li>",currentPageLink++;pageNavTag+=i.paginationEndTag,t.children().fadeOut(),t.children().slice(0,i.itemShowCount).fadeIn(),$('<input type="hidden" class="page-current" value="'+i.itemStartCount+'">').insertBefore(t),$('<input type="hidden" class="item-show-count" value="'+i.itemShowCount+'">').insertBefore(t),$('<div class="page-navigation">'+pageNavTag+"</div>").insertAfter(t),$(".page-navigation ul li:nth-child(2)").addClass("active")})},clickPageLink:function(){var i=this;$(".pagination li.page").on("click",i.$items,function(t){t.preventDefault();var t=$(this),e=t.parent().parents(i.paginatorClassName);e.find(i.itemsClassName);$pageNavigation=e.find(i.pageNavigationClassName),i.goToPage(t.attr("data-page"),e)})},clickPreviousLink:function(){var e=this;$(".pagination li.previous").on("click",e.$items,function(t){t.preventDefault();t=$(this).parent().parents(e.paginatorClassName);t.find(e.itemsClassName);$pageNavigation=t.find(e.pageNavigationClassName),newPage=parseInt($(".page-current").val(),t)-1,1==$(".active",$pageNavigation).prev(".page").length&&e.goToPage(newPage,t)})},clickNextLink:function(){var e=this;$(".pagination li.next").on("click",e.$items,function(t){t.preventDefault();t=$(this).parent().parents(e.paginatorClassName);t.find(e.itemsClassName);$pageNavigation=t.find(e.pageNavigationClassName),newPage=parseInt($(".page-current").val(),t)+1,1==$(".active",$pageNavigation).next(".page").length&&e.goToPage(newPage,t)})},goToPage:function(t,e){var i=parseInt($(".item-show-count").val());startFrom=t*i,endOn=startFrom+i,$items=e.find(this.itemsClassName),$pageNavigation=e.find(this.pageNavigationClassName),$items.children().css("display","none").slice(startFrom,endOn).css("display","block"),$(".page[data-page ="+t+"]",$pageNavigation).addClass("active").siblings(".active").removeClass("active"),$(".page-current",e).val(t),1==app.isMobile()&&app.scrollToElement("paginator",0)}});if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(){"use strict";var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||3<t[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(n){"use strict";n.fn.emulateTransitionEnd=function(t){var e=!1,i=this;n(this).one("bsTransitionEnd",function(){e=!0});return setTimeout(function(){e||n(i).trigger(n.support.transition.end)},t),this},n(function(){n.support.transition=function(){var t,e=document.createElement("bootstrap"),i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in i)if(void 0!==e.style[t])return{end:i[t]};return!1}(),n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(s){"use strict";function o(t){s(t).on("click",e,this.close)}var e='[data-dismiss="alert"]',t=(o.VERSION="3.3.7",o.TRANSITION_DURATION=150,o.prototype.close=function(t){function e(){a.detach().trigger("closed.bs.alert").remove()}var i=s(this),n=i.attr("data-target"),a=(n||(n=(n=i.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),s("#"===n?[]:n));t&&t.preventDefault(),(a=a.length?a:i.closest(".alert")).trigger(t=s.Event("close.bs.alert")),t.isDefaultPrevented()||(a.removeClass("in"),s.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",e).emulateTransitionEnd(o.TRANSITION_DURATION):e())},s.fn.alert);s.fn.alert=function(i){return this.each(function(){var t=s(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new o(this)),"string"==typeof i&&e[i].call(t)})},s.fn.alert.Constructor=o,s.fn.alert.noConflict=function(){return s.fn.alert=t,this},s(document).on("click.bs.alert.data-api",e,o.prototype.close)}(jQuery),function(s){"use strict";function i(i){return this.each(function(){var t=s(this),e=t.data("bs.button");e||t.data("bs.button",e=new n(this,"object"==typeof i&&i)),"toggle"==i?e.toggle(
1):i&&e.setState(i)})}function n(t,e){this.$element=s(t),this.options=s.extend({},n.DEFAULTS,e),this.isLoading=!1}n.VERSION="3.3.7",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(t){var e="disabled",i=this.$element,n=i.is("input")?"val":"html",a=i.data();t+="Text",null==a.resetText&&i.data("resetText",i[n]()),setTimeout(s.proxy(function(){i[n]((null==a[t]?this.options:a)[t]),"loadingText"==t?(this.isLoading=!0,i.addClass(e).attr(e,e).prop(e,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(e).removeAttr(e).prop(e,!1))},this),0)},n.prototype.toggle=function(){var t,e=!0,i=this.$element.closest('[data-toggle="buttons"]');i.length?("radio"==(t=this.$element.find("input")).prop("type")?(t.prop("checked")&&(e=!1),i.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==t.prop("type")&&(t.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),t.prop("checked",this.$element.hasClass("active")),e&&t.trigger("change")):(this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active"))};var t=s.fn.button;s.fn.button=i,s.fn.button.Constructor=n,s.fn.button.noConflict=function(){return s.fn.button=t,this},s(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=s(t.target).closest(".btn");i.call(e,"toggle"),s(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),(e.is("input,button")?e:e.find("input:visible,button:visible").first()).trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){s(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),function(d){"use strict";function a(a){return this.each(function(){var t=d(this),e=t.data("bs.carousel"),i=d.extend({},c.DEFAULTS,t.data(),"object"==typeof a&&a),n="string"==typeof a?a:i.slide;e||t.data("bs.carousel",e=new c(this,i)),"number"==typeof a?e.to(a):n?e[n]():i.interval&&e.pause().cycle()})}function c(t,e){this.$element=d(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",d.proxy(this.keydown,this)),"hover"!=this.options.pause||"ontouchstart"in document.documentElement||this.$element.on("mouseenter.bs.carousel",d.proxy(this.pause,this)).on("mouseleave.bs.carousel",d.proxy(this.cycle,this))}function t(t){var e,i=d(this),n=d(i.attr("data-target")||(n=i.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""));n.hasClass("carousel")&&(e=d.extend({},n.data(),i.data()),(i=i.attr("data-slide-to"))&&(e.interval=!1),a.call(n,e),i&&n.data("bs.carousel").to(i),t.preventDefault())}c.VERSION="3.3.7",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},c.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(d.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},c.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;e=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(e)},c.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(i<t?"next":"prev",this.$items.eq(t))},c.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&d.support.transition&&(this.$element.trigger(d.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){if(!this.sliding)return this.slide("next")},c.prototype.prev=function(){if(!this.sliding)return this.slide("prev")}
1,c.prototype.slide=function(t,e){var i=this.$element.find(".item.active"),n=e||this.getItemForDirection(t,i),e=this.interval,a="next"==t?"left":"right",s=this;if(n.hasClass("active"))return this.sliding=!1;var o,r=n[0],l=d.Event("slide.bs.carousel",{relatedTarget:r,direction:a});return this.$element.trigger(l),l.isDefaultPrevented()?void 0:(this.sliding=!0,e&&this.pause(),this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),(l=d(this.$indicators.children()[this.getItemIndex(n)]))&&l.addClass("active")),o=d.Event("slid.bs.carousel",{relatedTarget:r,direction:a}),d.support.transition&&this.$element.hasClass("slide")?(n.addClass(t),n[0].offsetWidth,i.addClass(a),n.addClass(a),i.one("bsTransitionEnd",function(){n.removeClass([t,a].join(" ")).addClass("active"),i.removeClass(["active",a].join(" ")),s.sliding=!1,setTimeout(function(){s.$element.trigger(o)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(i.removeClass("active"),n.addClass("active"),this.sliding=!1,this.$element.trigger(o)),e&&this.cycle(),this)};var e=d.fn.carousel;d.fn.carousel=a,d.fn.carousel.Constructor=c,d.fn.carousel.noConflict=function(){return d.fn.carousel=e,this};d(document).on("click.bs.carousel.data-api","[data-slide]",t).on("click.bs.carousel.data-api","[data-slide-to]",t),d(window).on("load",function(){d('[data-ride="carousel"]').each(function(){var t=d(this);a.call(t,t.data())})})}(jQuery),function(a){"use strict";function i(t){t=t.attr("data-target")||(t=t.attr("href"))&&t.replace(/.*(?=#[^\s]+$)/,"");return a(t)}function s(n){return this.each(function(){var t=a(this),e=t.data("bs.collapse"),i=a.extend({},o.DEFAULTS,t.data(),"object"==typeof n&&n);!e&&i.toggle&&/show|hide/.test(n)&&(i.toggle=!1),e||t.data("bs.collapse",e=new o(this,i)),"string"==typeof n&&e[n]()})}function o(t,e){this.$element=a(t),this.options=a.extend({},o.DEFAULTS,e),this.$trigger=a('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()}o.VERSION="3.3.7",o.TRANSITION_DURATION=350,o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(t&&t.length&&((n=t.data("bs.collapse"))&&n.transitioning))){var e=a.Event("show.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){t&&t.length&&(s.call(t,"hide"),n||t.data("bs.collapse",null));var i=this.dimension(),e=(this.$element.removeClass("collapse").addClass("collapsing")[i](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1,function(){this.$element.removeClass("collapsing").addClass("collapse in")[i](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")});if(!a.support.transition)return e.call(this);var n=a.camelCase(["scroll",i].join("-"));this.$element.one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(o.TRANSITION_DURATION)[i](this.$element[0][n])}}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t,e=a.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented())return e=this.dimension(),this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1,t=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")},a.support.transition?void this.$element[e](0).one("bsTransitionEnd",a.proxy(t,this)).emulateTransitionEnd(o.TRANSITION_DURATION):t.call(this)}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},o.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(t,e){e=a(e);this.addAriaAndCollapsedClass(i(e),e)},this)).end()},o.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var t=a.fn.collapse;a.fn.collapse=s,a.fn.collapse.Constructor=o,a.fn.collapse.noConflict=function(){return a.fn.collapse=t,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var e=a(this),t=(e.attr("data-target")||t.preventDefault(),i(e)),e=t.data("bs.collapse")?"toggle":e.data();s.call(t,e)})}(jQuery),function(a){"use strict";function s(t){var e=t.attr("data-target"),e=(e=e?e:(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""))&&a(e);return e&&e.length?e:t.parent()}function o(n){n&&3===n.which||(a(".dropdown-backdrop").remove(),a(r).each(function(){var t=a(this),e=s(t),i={relatedTarget:this};!e.hasClass("open")||n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&a.contains(e[0],n.target)||(e.trigger(n=a.Event("hide.bs.dropdown",i)),n.isDefaultPrevented()||(t.attr("aria-expanded","fal
1se"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",i))))}))}function n(t){a(t).on("click.bs.dropdown",this.toggle)}var r='[data-toggle="dropdown"]',t=(n.VERSION="3.3.7",n.prototype.toggle=function(t){var e=a(this);if(!e.is(".disabled, :disabled")){var i=s(e),n=i.hasClass("open");if(o(),!n){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",o);n={relatedTarget:this};if(i.trigger(t=a.Event("show.bs.dropdown",n)),t.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),i.toggleClass("open").trigger(a.Event("shown.bs.dropdown",n))}return!1}},n.prototype.keydown=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var e=a(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var i=s(e),n=i.hasClass("open");if(!n&&27!=t.which||n&&27==t.which)return 27==t.which&&i.find(r).trigger("focus"),e.trigger("click");n=i.find(".dropdown-menu li:not(.disabled):visible a");n.length&&(e=n.index(t.target),38==t.which&&0<e&&e--,40==t.which&&e<n.length-1&&e++,n.eq(e=~e?e:0).trigger("focus"))}}},a.fn.dropdown);a.fn.dropdown=function(i){return this.each(function(){var t=a(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new n(this)),"string"==typeof i&&e[i].call(t)})},a.fn.dropdown.Constructor=n,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=t,this},a(document).on("click.bs.dropdown.data-api",o).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",r,n.prototype.toggle).on("keydown.bs.dropdown.data-api",r,n.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",n.prototype.keydown)}(jQuery),function(s){"use strict";function a(n,a){return this.each(function(){var t=s(this),e=t.data("bs.modal"),i=s.extend({},o.DEFAULTS,t.data(),"object"==typeof n&&n);e||t.data("bs.modal",e=new o(this,i)),"string"==typeof n?e[n](a):i.show&&e.show(a)})}function o(t,e){this.options=e,this.$body=s(document.body),this.$element=s(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").on("load",this.options.remote,s.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))}o.VERSION="3.3.7",o.TRANSITION_DURATION=300,o.BACKDROP_TRANSITION_DURATION=150,o.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},o.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},o.prototype.show=function(i){var n=this,t=s.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(t),this.isShown||t.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',s.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){n.$element.one("mouseup.dismiss.bs.modal",function(t){s(t.target).is(n.$element)&&(n.ignoreBackdropClick=!0)})}),this.backdrop(function(){var t=s.support.transition&&n.$element.hasClass("fade"),e=(n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.adjustDialog(),t&&n.$element[0].offsetWidth,n.$element.addClass("in"),n.enforceFocus(),s.Event("shown.bs.modal",{relatedTarget:i}));t?n.$dialog.one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(e)}).emulateTransitionEnd(o.TRANSITION_DURATION):n.$element.trigger("focus").trigger(e)}))},o.prototype.hide=function(t){t&&t.preventDefault(),t=s.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),s(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),s.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",s.proxy(this.hideModal,this)).emulateTransitionEnd(o.TRANSITION_DURATION):this.hideModal())},o.prototype.enforceFocus=function(){s(document).off("focusin.bs.modal").on("focusin.bs.modal",s.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},o.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("key
1down.dismiss.bs.modal",s.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},o.prototype.resize=function(){this.isShown?s(window).on("resize.bs.modal",s.proxy(this.handleUpdate,this)):s(window).off("resize.bs.modal")},o.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},o.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},o.prototype.backdrop=function(t){var e,i=this,n=this.$element.hasClass("fade")?"fade":"";this.isShown&&this.options.backdrop?(e=s.support.transition&&n,this.$backdrop=s(document.createElement("div")).addClass("modal-backdrop "+n).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",s.proxy(function(t){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),e&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),t&&(e?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(o.BACKDROP_TRANSITION_DURATION):t())):!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),n=function(){i.removeBackdrop(),t&&t()},s.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(o.BACKDROP_TRANSITION_DURATION):n()):t&&t()},o.prototype.handleUpdate=function(){this.adjustDialog()},o.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},o.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},o.prototype.checkScrollbar=function(){var t,e=window.innerWidth;e||(e=(t=document.documentElement.getBoundingClientRect()).right-Math.abs(t.left)),this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},o.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},o.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},o.prototype.measureScrollbar=function(){var t=document.createElement("div"),e=(t.className="modal-scrollbar-measure",this.$body.append(t),t.offsetWidth-t.clientWidth);return this.$body[0].removeChild(t),e};var t=s.fn.modal;s.fn.modal=a,s.fn.modal.Constructor=o,s.fn.modal.noConflict=function(){return s.fn.modal=t,this},s(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e=s(this),i=e.attr("href"),n=s(e.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),i=n.data("bs.modal")?"toggle":s.extend({remote:!/#/.test(i)&&i},n.data(),e.data());e.is("a")&&t.preventDefault(),n.one("show.bs.modal",function(t){t.isDefaultPrevented()||n.one("hidden.bs.modal",function(){e.is(":visible")&&e.trigger("focus")})}),a.call(n,i,this)})}(jQuery),function(l){"use strict";function d(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)}d.VERSION="3.3.7",d.TRANSITION_DURATION=150,d.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},d.prototype.init=function(t,e,i){if(this.enabled=!0,this.type=t,this.$element=l(e),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&l(l.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),a=n.length;a--;){var s,o=n[a];"click"==o?this.$element.on("click."+this.type,this.options.selector,l.proxy(this.toggle,this)):"manual"!=o&&(s="hover"==o?"mouseleave":"focusout",this.$element.on(("hover"==o?"mouseenter":"focusin")+"."+this.type,this.options.selector,l.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,l.proxy(this.leave,this)))}this.options.selector?this._options=l.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},d.prototype.getDefaults=function(){return d.DEFAULTS},d.prototype.getOptions=function(t){return(t=l.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},d.prototype.getDelegateOptions=function(){var i={},n=this.getDefaults();return this._options&&l.each(this._options,function(t,e){n[t]!=e&&(i[t]=e)}),i},d.prototype.enter=function(t){var e=t instanceof this.constructor?t:l(t.currentTarget).data("bs."+this.type);return e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),l(t.currentTarget).data("bs."+this.type,e)),t instanceof l.Event&&(e.inState["focusin"==t.type?"focu
1s":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState?void(e.hoverState="in"):(clearTimeout(e.timeout),e.hoverState="in",e.options.delay&&e.options.delay.show?void(e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)):e.show())},d.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},d.prototype.leave=function(t){var e=t instanceof this.constructor?t:l(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),l(t.currentTarget).data("bs."+this.type,e)),t instanceof l.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),!e.isInStateTrue())return clearTimeout(e.timeout),e.hoverState="out",e.options.delay&&e.options.delay.hide?void(e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)):e.hide()},d.prototype.show=function(){var e,t,i,n,a,s,o,r=l.Event("show.bs."+this.type);this.hasContent()&&this.enabled&&(this.$element.trigger(r),a=l.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),!r.isDefaultPrevented()&&a&&(r=(e=this).tip(),a=this.getUID(this.type),this.setContent(),r.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&r.addClass("fade"),a="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,(o=(t=/\s?auto?\s?/i).test(a))&&(a=a.replace(t,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type),t=this.getPosition(),i=r[0].offsetWidth,n=r[0].offsetHeight,o&&(o=a,s=this.getPosition(this.$viewport),a="bottom"==a&&t.bottom+n>s.bottom?"top":"top"==a&&t.top-n<s.top?"bottom":"right"==a&&t.right+i>s.width?"left":"left"==a&&t.left-i<s.left?"right":a,r.removeClass(o).addClass(a)),s=this.getCalculatedOffset(a,t,i,n),this.applyPlacement(s,a),o=function(){var t=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==t&&e.leave(e)},l.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",o).emulateTransitionEnd(d.TRANSITION_DURATION):o()))},d.prototype.applyPlacement=function(t,e){var i=this.tip(),n=i[0].offsetWidth,a=i[0].offsetHeight,s=parseInt(i.css("margin-top"),10),o=parseInt(i.css("margin-left"),10),s=(isNaN(s)&&(s=0),isNaN(o)&&(o=0),t.top+=s,t.left+=o,l.offset.setOffset(i[0],l.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),i.addClass("in"),i[0].offsetWidth),o=i[0].offsetHeight,r=("top"==e&&o!=a&&(t.top=t.top+a-o),this.getViewportAdjustedDelta(e,t,s,o)),e=(r.left?t.left+=r.left:t.top+=r.top,/top|bottom/.test(e)),n=e?2*r.left-n+s:2*r.top-a+o,s=e?"offsetWidth":"offsetHeight";i.offset(t),this.replaceArrow(n,i[0][s],e)},d.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},d.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},d.prototype.hide=function(t){function e(){"in"!=i.hoverState&&n.detach(),i.$element&&i.$element.removeAttr("aria-describedby").trigger("hidden.bs."+i.type),t&&t()}var i=this,n=l(this.$tip),a=l.Event("hide.bs."+this.type);if(this.$element.trigger(a),!a.isDefaultPrevented())return n.removeClass("in"),l.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",e).emulateTransitionEnd(d.TRANSITION_DURATION):e(),this.hoverState=null,this},d.prototype.fixTitle=function(){var t=this.$element;!t.attr("title")&&"string"==typeof t.attr("data-original-title")||t.attr("data-original-title",t.attr("title")||"").attr("title","")},d.prototype.hasContent=function(){return this.getTitle()},d.prototype.getPosition=function(t){var e=(t=t||this.$element)[0],i="BODY"==e.tagName,n=e.getBoundingClientRect(),e=(null==n.width&&(n=l.extend({},n,{width:n.right-n.left,height:n.bottom-n.top})),window.SVGElement&&e instanceof window.SVGElement),e=i?{top:0,left:0}:e?null:t.offset(),t={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},i=i?{width:l(window).width(),height:l(window).height()}:null;return l.extend({},n,t,i,e)}
vendor: 7,156 bytes, line 1
1,d.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},d.prototype.getViewportAdjustedDelta=function(t,e,i,n){var a={top:0,left:0};if(!this.$viewport)return a;var s=this.options.viewport&&this.options.viewport.padding||0,o=this.getPosition(this.$viewport);return/right|left/.test(t)?(t=e.top-s-o.scroll,n=e.top+s-o.scroll+n,t<o.top?a.top=o.top-t:n>o.top+o.height&&(a.top=o.top+o.height-n)):(t=e.left-s,n=e.left+s+i,t<o.left?a.left=o.left-t:n>o.right&&(a.left=o.left+o.width-n)),a},d.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},d.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},d.prototype.tip=function(){if(this.$tip||(this.$tip=l(this.options.template),1==this.$tip.length))return this.$tip;throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!")},d.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},d.prototype.enable=function(){this.enabled=!0},d.prototype.disable=function(){this.enabled=!1},d.prototype.toggleEnabled=function(){this.enabled=!this.enabled},d.prototype.toggle=function(t){var e=this;t&&!(e=l(t.currentTarget).data("bs."+this.type))&&(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),l(t.currentTarget).data("bs."+this.type,e)),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},d.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})};var t=l.fn.tooltip;l.fn.tooltip=function(n){return this.each(function(){var t=l(this),e=t.data("bs.tooltip"),i="object"==typeof n&&n;!e&&/destroy|hide/.test(n)||(e||t.data("bs.tooltip",e=new d(this,i)),"string"==typeof n&&e[n]())})},l.fn.tooltip.Constructor=d,l.fn.tooltip.noConflict=function(){return l.fn.tooltip=t,this}}(jQuery),function(a){"use strict";function s(t,e){this.init("popover",t,e)}if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");s.VERSION="3.3.7",s.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),((s.prototype=a.extend({},a.fn.tooltip.Constructor.prototype)).constructor=s).prototype.getDefaults=function(){return s.DEFAULTS},s.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},s.prototype.hasContent=function(){return this.getTitle()||this.getContent()},s.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},s.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var t=a.fn.popover;a.fn.popover=function(n){return this.each(function(){var t=a(this),e=t.data("bs.popover"),i="object"==typeof n&&n;!e&&/destroy|hide/.test(n)||(e||t.data("bs.popover",e=new s(this,i)),"string"==typeof n&&e[n]())})},a.fn.popover.Constructor=s,a.fn.popover.noConflict=function(){return a.fn.popover=t,this}}(jQuery),function(a){"use strict";function n(t,e){this.$body=a(document.body),this.$scrollElement=a(a(t).is(document.body)?window:t),this.options=a.extend({},n.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function e(i){return this.each(function(){var t=a(this),e=t.data("bs.scrollspy");e||t.data("bs.scrollspy",e=new n(this,"object"==typeof i&&i)),"string"==typeof i&&e[i]()})}n.VERSION="3.3.7",n.DEFAULTS={offset:10},n.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},n.prototype.refresh=function(){var t=this,i="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(i="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=a(this),t=t.data("target")||t.attr("href"),e=/^#./.test(t)&&a(t);return e&&e.length&&e.is(":visible")?[[e[i]().top+n,t]]:null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},n.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),a=this.offsets,s=this.targets,o=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),n<=e)return o!=(t=s[s.length-1])&&this.activate(t);if(o&&e<a[0])return this.activeTarget=null,this.clear();for(t=a.length;t--;)o!=s[t]&&e>=a[t]&&(void 0===a[t+1]||e<a[t+1])&&this.activate(s[t])},n.prototype.activate=function(t){this.activeTarget=t,this.clear();t=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',t=a(t).parents("li").addClass("active");(t=t.parent(".dropdown-menu").length?t.closest("li.dropdown").addClass("active"):t).trigger("activate.bs.scrollspy")},n.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var t=a.fn.scrollspy;a.fn.scrollspy=e,a.fn.scrollspy.Constructor=n,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=t,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var t=a(this);e.call(t,t.data())})})}(jQuery),function(o){"use strict";function e(i){return this.each(function(){var t=o(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new r(this)),"string"==typeof i&&e[i]()})}function r(t){this.element=o(t)}function t(t){t.preventDefault(),e.call(o(this),"show")}r.VERSION="3.3.7",r.TRANSITION_DURATION=150,r.prototype.show=function(){var t,e,i,n=this.element,a=n.closest("ul:not(.dropdown-menu)"),s=n.data("target");s||(s=(s=n.attr("href"))&&s.replace(/.*(?=#[^\s]*$)/,"")),n.parent("li").hasClass("active")||(t=a.find(".active:last a"),e=o.Event("hide.bs.tab",{relatedTarget:n[0]}),i=o.Event("show.bs.tab",{relatedTarget:t[0]}),t.trigger(e),n.trigger(i),i.isDefaultPrevented()||e.isDefaultPrevented()||(i=o(s),this.activate(n.closest("li"),a),this.activate(i,i.parent(),function(){t.trigger({type:"hidden.bs.tab",relatedTarget:n[0]}),n.trigger({type:"shown.bs.tab",relatedTarget:t[0]})})))}
1,r.prototype.activate=function(t,e,i){function n(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}var a=e.find("> .active"),s=i&&o.support.transition&&(a.length&&a.hasClass("fade")||!!e.find("> .fade").length);a.length&&s?a.one("bsTransitionEnd",n).emulateTransitionEnd(r.TRANSITION_DURATION):n(),a.removeClass("in")};var i=o.fn.tab;o.fn.tab=e,o.fn.tab.Constructor=r,o.fn.tab.noConflict=function(){return o.fn.tab=i,this};o(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',t).on("click.bs.tab.data-api",'[data-toggle="pill"]',t)}(jQuery),function(o){"use strict";function i(i){return this.each(function(){var t=o(this),e=t.data("bs.affix");e||t.data("bs.affix",e=new r(this,"object"==typeof i&&i)),"string"==typeof i&&e[i]()})}function r(t,e){this.options=o.extend({},r.DEFAULTS,e),this.$target=o(this.options.target).on("scroll.bs.affix.data-api",o.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",o.proxy(this.checkPositionWithEventLoop,this)),this.$element=o(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()}r.VERSION="3.3.7",r.RESET="affix affix-top affix-bottom",r.DEFAULTS={offset:0,target:window},r.prototype.getState=function(t,e,i,n){var a=this.$target.scrollTop(),s=this.$element.offset(),o=this.$target.height();if(null!=i&&"top"==this.affixed)return a<i&&"top";if("bottom"==this.affixed)return null!=i?!(a+this.unpin<=s.top)&&"bottom":!(a+o<=t-n)&&"bottom";var r=null==this.affixed,s=r?a:s.top;return null!=i&&a<=i?"top":null!=n&&t-n<=s+(r?o:e)&&"bottom"},r.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(r.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},r.prototype.checkPositionWithEventLoop=function(){setTimeout(o.proxy(this.checkPosition,this),1)},r.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),e=this.options.offset,i=e.top,n=e.bottom,a=Math.max(o(document).height(),o(document.body).height()),e=("object"!=typeof e&&(n=i=e),"function"==typeof i&&(i=e.top(this.$element)),"function"==typeof n&&(n=e.bottom(this.$element)),this.get
1State(a,t,i,n));if(this.affixed!=e){null!=this.unpin&&this.$element.css("top","");var i="affix"+(e?"-"+e:""),s=o.Event(i+".bs.affix");if(this.$element.trigger(s),s.isDefaultPrevented())return;this.affixed=e,this.unpin="bottom"==e?this.getPinnedOffset():null,this.$element.removeClass(r.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==e&&this.$element.offset({top:a-t-n})}};var t=o.fn.affix;o.fn.affix=i,o.fn.affix.Constructor=r,o.fn.affix.noConflict=function(){return o.fn.affix=t,this},o(window).on("load",function(){o('[data-spy="affix"]').each(function(){var t=o(this),e=t.data();e.offset=e.offset||{},null!=e.offsetBottom&&(e.offset.bottom=e.offsetBottom),null!=e.offsetTop&&(e.offset.top=e.offsetTop),i.call(t,e)})})}(jQuery),function(t){t.fn.validationEngineLanguage=function(){},t.validationEngineLanguage={newLang:function(){t.validationEngineLanguage.allRules={required:{regex:"none",alertText:"* This field is required",alertTextCheckboxMultiple:"* Please select an option",alertTextCheckboxe:"* This checkbox is required",alertTextDateRange:"* Both date range fields are required"},requiredInFunction:{func:function(t,e,i,n){return"test"==t.val()},alertText:"* Field must equal test"},dateRange:{regex:"none",alertText:"* Invalid ",alertText2:"Date Range"},dateTimeRange:{regex:"none",alertText:"* Invalid ",alertText2:"Date Time Range"},minSize:{regex:"none",alertText:"* Minimum ",alertText2:" characters required"},maxSize:{regex:"none",alertText:"* Maximum ",alertText2:" characters allowed"},groupRequired:{regex:"none",alertText:"* You must fill one of the following fields"},min:{regex:"none",alertText:"* Minimum value is "},max:{regex:"none",alertText:"* Maximum value is "},past:{regex:"none",alertText:"* Date prior to "},future:{regex:"none",alertText:"* Date past "},maxCheckbox:{regex:"none",alertText:"* Maximum ",alertText2:" options allowed"},minCheckbox:{regex:"none",alertText:"* Please select ",alertText2:" options"},equals:{regex:"none",alertText:"* Fields do not match"},creditCard:{regex:"none",alertText:"* Invalid credit card number"},phone:{regex:/^([\+][0-9]{1,3}[\ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9\ \.\-\/]{3,20})((x|ext|extension)[\ ]?[0-9]{1,4})?$/,alertText:"* Invalid phone number"},email:{regex:/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,alertText:"* Invalid email address"},integer:{regex:/^[\-\+]?\d+$/,alertText:"* Not a valid integer"},number:{regex:/^[\-\+]?((([0-9]{1,3})([,][0-9]{3})*)|([0-9]+))?([\.]([0-9]+))?$/,alertText:"* Invalid floating decimal number"},date:{func:function(t){t=new RegExp(/^(\d{4})[\/\-\.](0?[1-9]|1[012])[\/\-\.](0?[1-9]|[12][0-9]|3[01])$/).exec(t.val());if(null==t)return!1;var e=t[1],i=+t[2],t=+t[3],n=new Date(e,i-1,t);return n.getFullYear()==e&&n.getMonth()==i-1&&n.getDate()==t},alertText:"* Invalid date, must be in YYYY-MM-DD format"},ipv4:{regex:/^((([01]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))[.]){3}(([0-1]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))$/,alertText:"* Invalid IP address"},url:{regex:/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,alertText:"* Invalid URL"},onlyNumberSp:{regex:/^[0-9\ ]+$/,alertText:"* Numbers only"},onlyLetterSp:{regex:/^[a-zA-Z\ \']+$/,alertText:"* Letters only"},onlyLetterNumber:{regex:/^[0-9a-zA-Z]+$/,alertText:"* No special characters allowed"},ajaxUserCall:{url:"ajaxValidateFieldUser",extraData:"name=eric",alertText:"* This user is already taken",alertTextLoad:"* Validating, please wait"},ajaxUserCallPhp:{url:"phpajax/ajaxValidateFieldUser.php",extraData:"name=eric",alertTextOk:"* This username is available",alertText:"* This user is already taken",alertTextLoad:"* Validating, please wait"},ajaxNameCall:{url:"ajaxValidateFieldName",alertText:"* This name is already taken",alertTextOk:"* This name is available",alertTextLoad:"* Validating, please wait"},ajaxNameCallPhp:{url:"phpajax/ajaxValidateFieldName.php",alertText:"* This name is already taken",alertTextLoad:"* Validating, please wait"},validate2fields:{alertText:"* Please input HELLO"},dateFormat:{regex:/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$|^(?:(?:(?
1:0?[13578]|1[02])(\/|-)31)|(?:(?:0?[1,3-9]|1[0-2])(\/|-)(?:29|30)))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^(?:(?:0?[1-9]|1[0-2])(\/|-)(?:0?[1-9]|1\d|2[0-8]))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^(0?2(\/|-)29)(\/|-)(?:(?:0[48]00|[13579][26]00|[2468][048]00)|(?:\d\d)?(?:0[48]|[2468][048]|[13579][26]))$/,alertText:"* Invalid Date"},dateTimeFormat:{regex:/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])\s+(1[012]|0?[1-9]){1}:(0?[1-5]|[0-6][0-9]){1}:(0?[0-6]|[0-6][0-9]){1}\s+(am|pm|AM|PM){1}$|^(?:(?:(?:0?[13578]|1[02])(\/|-)31)|(?:(?:0?[1,3-9]|1[0-2])(\/|-)(?:29|30)))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^((1[012]|0?[1-9]){1}\/(0?[1-9]|[12][0-9]|3[01]){1}\/\d{2,4}\s+(1[012]|0?[1-9]){1}:(0?[1-5]|[0-6][0-9]){1}:(0?[0-6]|[0-6][0-9]){1}\s+(am|pm|AM|PM){1})$/,alertText:"* Invalid Date or Date Format",alertText2:"Expected Format: ",alertText3:"mm/dd/yyyy hh:mm:ss AM|PM or ",alertText4:"yyyy-mm-dd hh:mm:ss AM|PM"}}}},t.validationEngineLanguage.newLang()}(jQuery),function(w){"use strict";var b={init:function(t){return this.data("jqv")&&null!=this.data("jqv")||(t=b._saveOptions(this,t),w(document).on("click",".formError",function(){w(this).fadeOut(150,function(){w(this).parent(".formErrorOuter").remove(),w(this).remove()})})),this},attach:function(t){var e=this,t=t?b._saveOptions(e,t):e.data("jqv");return t.validateAttribute=e.find("[data-validation-engine*=validate]").length?"data-validation-engine":"class",t.binded&&(e.on(t.validationEventTrigger,"["+t.validateAttribute+"*=validate]:not([type=checkbox]):not([type=radio]):not(.datepicker)",b._onFieldEvent),e.on("click","["+t.validateAttribute+"*=validate][type=checkbox],["+t.validateAttribute+"*=validate][type=radio]",b._onFieldEvent),e.on(t.validationEventTrigger,"["+t.validateAttribute+"*=validate][class*=datepicker]",{delay:300},b._onFieldEvent)),t.autoPositionUpdate&&w(window).bind("resize",{noAnimation:!0,formElem:e},b.updatePromptsPosition),e.on("click","a[data-validation-engine-skip], a[class*='validate-skip'], button[data-validation-engine-skip], button[class*='validate-skip'], input[data-validation-engine-skip], input[class*='validate-skip']",b._submitButtonClick),e.removeData("jqv_submitButton"),e.on("submit",b._onSubmitEvent),this},detach:function(){var t=this,e=t.data("jqv");return t.find("["+e.validateAttribute+"*=validate]").not("[type=checkbox]").off(e.validationEventTrigger,b._onFieldEvent),t.find("["+e.validateAttribute+"*=validate][type=checkbox],[class*=validate][type=radio]").off("click",b._onFieldEvent),t.off("submit",b._onSubmitEvent),t.removeData("jqv"),t.off("click","a[data-validation-engine-skip], a[class*='validate-skip'], button[data-validation-engine-skip], button[class*='validate-skip'], input[data-validation-engine-skip], input[class*='validate-skip']",b._submitButtonClick),t.removeData("jqv_submitButton"),e.autoPositionUpdate&&w(window).off("resize",b.updatePromptsPosition),this},validate:function(){var t,e=w(this),i=null;
1if(e.is("form")||e.hasClass("validationEngineContainer")){if(e.hasClass("validating"))return!1;e.addClass("validating");var n=e.data("jqv"),i=b._validateFields(this);setTimeout(function(){e.removeClass("validating")},100),i&&n.onSuccess?n.onSuccess():!i&&n.onFailure&&n.onFailure()}else e.is("form")||e.hasClass("validationEngineContainer")?e.removeClass("validating"):(n=(t=e.closest("form, .validationEngineContainer")).data("jqv")?t.data("jqv"):w.validationEngine.defaults,(i=b._validateField(e,n))&&n.onFieldSuccess?n.onFieldSuccess():n.onFieldFailure&&0<n.InvalidFields.length&&n.onFieldFailure());return n.onValidationComplete?!!n.onValidationComplete(t,i):i},updatePromptsPosition:function(t){t&&this==window?(a=t.data.formElem,n=t.data.noAnimation):a=w(this.closest("form, .validationEngineContainer"));var n,a,s=a.data("jqv");return a.find("["+s.validateAttribute+"*=validate]").not(":disabled").each(function(){var t=w(this),e=(s.prettySelect&&t.is(":hidden")&&(t=a.find("#"+s.usePrefix+t.attr("id")+s.useSuffix)),b._getPrompt(t)),i=w(e).find(".formErrorContent").html();e&&b._updatePrompt(t,w(e),i,void 0,!1,s,n)}),this},showPrompt:function(t,e,i,n){var a=(a=this.closest("form, .validationEngineContainer").data("jqv"))||b._saveOptions(this,a);return i&&(a.promptPosition=i),a.showArrow=1==n,b._showPrompt(this,t,e,!1,a),this},hide:function(){var t=w(this).closest("form, .validationEngineContainer").data("jqv"),t=t&&t.fadeDuration?t.fadeDuration:.3,e=w(this).is("form")||w(this).hasClass("val
1idationEngineContainer")?"parentForm"+b._getClassName(w(this).attr("id")):b._getClassName(w(this).attr("id"))+"formError";return w("."+e).fadeTo(t,.3,function(){w(this).parent(".formErrorOuter").remove(),w(this).remove()}),this},hideAll:function(){var t=this.data("jqv"),t=t?t.fadeDuration:300;return w(".formError").fadeTo(t,300,function(){w(this).parent(".formErrorOuter").remove(),w(this).remove()}),this},_onFieldEvent:function(t){var e=w(this),i=e.closest("form, .validationEngineContainer").data("jqv");i.eventTrigger="field",window.setTimeout(function(){b._validateField(e,i),0==i.InvalidFields.length&&i.onFieldSuccess?i.onFieldSuccess():0<i.InvalidFields.length&&i.onFieldFailure&&i.onFieldFailure()},t.data?t.data.delay:0)},_onSubmitEvent:function(){var t=w(this),e=t.data("jqv");if(t.data("jqv_submitButton")){var i=w("#"+t.data("jqv_submitButton"));if(i&&0<i.length&&(i.hasClass("validate-skip")||"true"==i.attr("data-validation-engine-skip")))return!0}e.eventTrigger="submit";i=b._validateFields(t);return i&&e.ajaxFormValidation?(b._validateFormWithAjax(t,e),!1):e.onValidationComplete?!!e.onValidationComplete(t,i):i},_checkAjaxStatus:function(t){var i=!0;return w.each(t.ajaxValidCache,function(t,e){if(!e)return i=!1}),i},_checkAjaxFieldStatus:function(t,e){return 1==e.ajaxValidCache[t]},_validateFields:function(i){var n=i.data("jqv"),a=!1,s=(i.trigger("jqv.form.validating"),null);if(i.find("["+n.validateAttribute+"*=validate]").not(":disabled").each(function(){var t=w(this),e=[];if(w.inArray(t.attr("name"),e)<0)return(a|=b._validateField(t,n))&&null==s&&(s=t.is(":hidden")&&n.prettySelect?t=i.find("#"+n.usePrefix+b._jqSelector(t.attr("id"))+n.useSuffix):(t.data("jqv-prompt-at")instanceof jQuery?t=t.data("jqv-prompt-at"):t.data("jqv-prompt-at")&&(t=w(t.data("jqv-prompt-at"))),t)),!n.doNotShowAllErrosOnSubmit&&(e.push(t.attr("name")),(1!=n.showOneMessage||!a)&&void 0)}),i.trigger("jqv.form.result",[a]),a){if(n.scroll){var t=s.offset().top,e=s.offset().left,o=n.promptPosition;if("bottomRight"==(o="string"==typeof o&&-1!=o.indexOf(":")?o.substring(0,o.indexOf(":")):o)||"bottomLeft"==o||(o=b._getPrompt(s))&&(t=o.offset().top),n.scrollOffset&&(t-=n.scrollOffset),n.isOverflown){o=w(n.overflownDIV);if(!o.length)return!1;t+=o.scrollTop()+-parseInt(o.offset().top)-5,w(n.overflownDIV+":not(:animated)").animate({scrollTop:t},1100,function(){n.focusFirstField&&s.focus()})}else w("html, body").animate({scrollTop:t},1100,function(){n.focusFirstField&&s.focus()}),w("html, body").animate({scrollLeft:e},1100)}else n.focusFirstField&&s.focus();return!1}return!0},_validateFormWithAjax:function(r,l){var t=r.serialize(),e=l.ajaxFormValidationMethod||"GET",i=l.ajaxFormValidationURL||r.attr("action"),d=l.dataType||"json";w.ajax({type:e,url:i,cache:!1,dataType:d,data:t,form:r,methods:b,options:l,beforeSend:function(){return l.onBeforeAjaxFormValidation(r,l)},error:function(t,e){l.onFailure?l.onFailure(t,e):b._ajaxError(t,e)},success:function(t){if("json"==d&&!0!==t){for(var e=!1,i=0;i<t.length;i++){var n,a,s=t[i],o=s[0],o=w(w("#"+o)[0]);1==o.length&&(n=s[2],1==s[1]?""!=n&&n?(l.allrules[n]&&(a=l.allrules[n].alertTextOk)&&(n=a),l.showPrompts&&b._showPrompt(o,n,"pass",!1,l,!0)):b._closePrompt(o):(e|=!0,l.allrules[n]&&(a=l.allrules[n].alertText)&&(n=a),l.showPrompts&&b._showPrompt(o,n,"",!1,l,!0)))}l.onAjaxFormComplete(!e,r,t,l)}else l.onAjaxFormComplete(!0,r,t,l)}})},_validateField:function(t,e,i){if(t.attr("id")||(t.attr("id","form-validation-field-"+w.validationEngine.fieldIdCounter),++w.validationEngine.fieldIdCounter),
1!e.validateNonVisibleFields&&(t.is(":hidden")&&!e.prettySelect||t.parent().is(":hidden")))return!1;var n=t.attr(e.validateAttribute),n=/validate\[(.*)\]/.exec(n);if(!n)return!1;for(var a=n[1].split(/\[|,|\]/),s=t.attr("name"),o="",r="",l=!1,d=!1,c=(e.isError=!1,e.showArrow=!0,0<e.maxErrorsPerField&&(d=!0),w(t.closest("form, .validationEngineContainer"))),u=0;u<a.length;u++)a[u]=a[u].replace(" ",""),""===a[u]&&delete a[u];for(var h,u=0,f=0;u<a.length;u++){if(d&&f>=e.maxErrorsPerField){l||(l=-1!=(h=w.inArray("required",a))&&u<=h);break}var p=void 0;switch(a[u]){case"required":l=!0,p=b._getErrorMessage(c,t,a[u],a,u,e,b._required);break;case"custom":p=b._getErrorMessage(c,t,a[u],a,u,e,b._custom);break;case"groupRequired":var m="["+e.validateAttribute+"*="+a[u+1]+"]",g=c.find(m).eq(0);g[0]!=t[0]&&(b._validateField(g,e,i),e.showArrow=!0),(p=b._getErrorMessage(c,t,a[u],a,u,e,b._groupRequired))&&(l=!0),e.showArrow=!1;break;case"ajax":(p=b._ajax(t,a,u,e))&&(r="load");break;case"minSize":p=b._getErrorMessage(c,t,a[u],a,u,e,b._minSize);break;case"maxSize":p=b._getErrorMessage(c,t,a[u],a,u,e,b._maxSize);break;case"min":p=b._getErrorMessage(c,t,a[u],a,u,e,b._min);break;case"max":p=b._getErrorMessage(c,t,a[u],a,u,e,b._max);break;case"past":p=b._getErrorMessage(c,t,a[u],a,u,e,b._past);break;case"future":p=b._getErrorMessage(c,t,a[u],a,u,e,b._future);break;case"dateRange":m="["+e.validateAttribute+"*="+a[u+1]+"]";e.firstOfGroup=c.find(m).eq(0),e.secondOfGroup=c.find(m).eq(1),(p=e.firstOfGroup[0].value||e.secondOfGroup[0].value?b._getErrorMessage(c,t,a[u],a,u,e,b._dateRange):p)&&(l=!0),e.showArrow=!1;break;case"dateTimeRange":m="["+e.validateAttribute+"*="+a[u+1]+"]";e.firstOfGroup=c.find(m).eq(0),e.secondOfGroup=c.find(m).eq(1),(p=e.firstOfGroup[0].value||e.secondOfGroup[0].value?b._getErrorMessage(c,t,a[u],a,u,e,b._dateTimeRange):p)&&(l=!0),e.showArrow=!1;break;case"maxCheckbox":t=w(c.find("input[name='"+s+"']")),p=b._getErrorMessage(c,t,a[u],a,u,e,b._maxCheckbox);break;case"minCheckbox":t=w(c.find("input[name='"+s+"']")),p=b._getErrorMessage(c,t,a[u],a,u,e,b._minCheckbox);break;case"equals":p=b._getErrorMessage(c,t,a[u],a,u,e,b._equals);break;case"funcCall":p=b._getErrorMessage(c,t,a[u],a,u,e,b._funcCall);break;case"creditCard":p=b._getErrorMessage(c,t,a[u],a,u,e,b._creditCard);break;case"condRequired":void 0!==(p=b._getErrorMessage(c,t,a[u],a,u,e,b._condRequired))&&(l=!0)}var v=!1;if("object"==typeof p)switch(p.status){case"_break":v=!0;break;case"_error":p=p.message;break;case"_error_no_prompt":return!0}if(v)break;"string"==typeof p&&(o+=p+"<br/>",e.isError=!0,f++)}!l&&!t.val()&&t.val().length<1&&a.indexOf("equals")<0&&(e.isError=!1);var n=t.prop("type"),y=t.data("promptPosition")||e.promptPosition,n=(("radio"==n||"checkbox"==n)&&1<c.find("input[name='"+s+"']").length&&(t=w("inline"===y?c.find("input[name='"+s+"'][type!=hidden]:last"):c.find("input[name='"+s+"'][type!=hidden]:first")),e.showArrow=!1),t.is(":hidden")&&e.prettySelect&&(t=c.find("#"+e.usePrefix+b._jqSelector(t.attr("id"))+e.useSuffix)),e.isError&&e.showPrompts?b._showPrompt(t,o,r,!1,e):b._closePrompt(t),t.trigger("jqv.field.result",[t,e.isError,o]),w.inArray(t[0],e.InvalidFields));return-1==n?e.isError&&e.InvalidFields.push(t[0]):e.isError||e.InvalidFields.splice(n,1),b._handleStatusCssClasses(t,e),e.isError&&e.onFieldFailure&&e.onFieldFailure(t),!e.isError&&e.onFieldSuccess&&e.onFieldSuccess(t),e.isError},_handleStatusCssClasses:function(t,e){e.addSuccessCssClassToField&&t.removeClass(e.addSuccessCssClassToField),e.addFailureCssClassToField&&t.removeClass(e.addFailureCssClassToField),e.addSuccessCssClassToField&&!e.isError&&t.addClass(e.addSuccessCssClassToField),e.addFailureCssClassToField&&e.isError&&t.addClass(e.addFailureCssClassToField)},_getErrorMessage:function(t,e,i,n,a,s,o){var r=jQuery.inArray(i,n),r=("custom"!==i&&"funcCall"!==i||(i=i+"["+n[r+1]+"]",delete n[r]),i),l=(e.attr("data-validation-engine")?e.attr("data-validation-engine"):e.attr("class")).split(" "),i="future"==i||"past"==i||"maxCheckbox"==i||"minCheckbox"==i?o(t,e,n,a,s):o(e,n,a,s);return i=null!=i&&(t=b._getCustomErrorMessage(w(e),l,r,s))?t:i}
1,_getCustomErrorMessage:function(t,e,i,n){var a=!1,s=/^custom\[.*\]$/.test(i)?b._validityProp.custom:b._validityProp[i];if(null!=s&&null!=(a=t.attr("data-errormessage-"+s)))return a;if(null!=(a=t.attr("data-errormessage")))return a;s="#"+t.attr("id");if(void 0!==n.custom_error_messages[s]&&void 0!==n.custom_error_messages[s][i])a=n.custom_error_messages[s][i].message;else if(0<e.length)for(var o=0;o<e.length&&0<e.length;o++){var r="."+e[o];if(void 0!==n.custom_error_messages[r]&&void 0!==n.custom_error_messages[r][i]){a=n.custom_error_messages[r][i].message;break}}return a=a||void 0===n.custom_error_messages[i]||void 0===n.custom_error_messages[i].message?a:n.custom_error_messages[i].message},_validityProp:{required:"value-missing",custom:"custom-error",groupRequired:"value-missing",ajax:"custom-error",minSize:"range-underflow",maxSize:"range-overflow",min:"range-underflow",max:"range-overflow",past:"type-mismatch",future:"type-mismatch",dateRange:"type-mismatch",dateTimeRange:"type-mismatch",maxCheckbox:"range-overflow",minCheckbox:"range-underflow",equals:"pattern-mismatch",funcCall:"custom-error",creditCard:"pattern-mismatch",condRequired:"value-missing"},_required:function(t,e,i,n,a){switch(t.prop("type")){case"text":case"password":case"textarea":case"file":case"select-one":case"select-multiple":default:var s=w.trim(t.val()),o=w.trim(t.attr("data-validation-placeholder")),r=w.trim(t.attr("placeholder"));if(!s||o&&s==o||r&&s==r)return n.allrules[e[i]].alertText;break;case"radio":case"checkbox":if(a){if(t.attr("checked"))break;return n.allrules[e[i]].alertTextCheckboxMultiple}o=t.closest("form, .validationEngineContainer"),s=t.attr("name");if(0==o.find("input[name='"+s+"']:checked").length)return 1==o.find("input[name='"+s+"']:visible").length?n.allrules[e[i]].alertTextCheckboxe:n.allrules[e[i]].alertTextCheckboxMultiple}},_groupRequired:function(t,e,i,n){var a="["+n.validateAttribute+"*="+e[i+1]+"]",s=!1;if(t.closest("form, .validationEngineContainer").find(a).each(function(){if(!b._required(w(this),e,i,n))return!(s=!0)}),!s)return n.allrules[e[i]].alertText},_custom:function(t,e,i,n){var a=e[i+1],s=n.allrules[a];if(s)if(s.regex){var o=s.regex;if(o)return new RegExp(o).test(t.val())?void 0:n.allrules[a].alertText;else alert("jqv:custom regex not found - "+a)}else if(s.func){if("function"==typeof(o=s.func))return o(t,e,i,n)?void 0:n.allrules[a].alertText;alert("jqv:custom parameter 'function' is no function - "+a)}else alert("jqv:custom type not allowed "+a);else alert("jqv:custom rule not found - "+a)},_funcCall:function(t,e,i,n){var a,s=e[i+1];if(-1<s.indexOf(".")){for(var o=s.split("."),r=window;o.length;)r=r[o.shift()];a=r}else a=window[s]||n.customFunctions[s];if("function"==typeof a)return a(t,e,i,n)},_equals:function(t,e,i,n){e=e[i+1];if(t.val()!=w("#"+e).val())return n.allrules.equals.alertText},_maxSize:function(t,e,i,n){e=e[i+1];if(e<t.val().length)return(i=n.allrules.maxSize).alertText+e+i.alertText2},_minSize:function(t,e,i,n){e=e[i+1];if(t.val().length<e)return(i=n.allrules.minSize).alertText+e+i.alertText2},_min:function(t,e,i,n){e=parseFloat(e[i+1]);if(parseFloat(t.val())<e)return(i=n.allrules.min).alertText2?i.alertText+e+i.alertText2:i.alertText+e},_max:function(t,e,i,n){e=parseFloat(e[i+1]);if(e<parseFloat(t.val()))return(i=n.allrules.max).alertText2?i.alertText+e+i.alertText2:i.alertText+e},_past:function(t,e,i,n,a){var s,i=i[n+1],n=w(t.find("*[name='"+i.replace(/^#+/,"")+"']"));if("now"==i.toLowerCase())s=new Date;else if(null!=n.val()){if(n.is(":disabled"))return;s=b._parseDate(n.val())}else s=b._parseDate(i);if(s<b._parseDate(e.val()))return(t=a.allrules.past).alertText2?t.alertText+b._dateToString(s)+t.alertText2:t.alertText+b._dateToString(s)},_future:function(t,e,i,n,a){var s,i=i[n+1],n=w(t.find("*[name='"+i.replace(/^#+/,"")+"']"));if("now"==i.toLowerCase())s=new Date;else if(null!=n.val()){if(n.is(":disabled"))return;s=b._parseDate(n.val())}else s=b._parseDate(i);if(b._parseDate(e.val())<s)return(t=a.allrules.future).alertText2?t.alertText+b._dateToString(s)+t.alertText2:t.alertText+b._dateToString(s)},_isDate:function(t){return new RegExp(/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$|^(?:(?:(?
1:0?[13578]|1[02])(\/|-)31)|(?:(?:0?[1,3-9]|1[0-2])(\/|-)(?:29|30)))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^(?:(?:0?[1-9]|1[0-2])(\/|-)(?:0?[1-9]|1\d|2[0-8]))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^(0?2(\/|-)29)(\/|-)(?:(?:0[48]00|[13579][26]00|[2468][048]00)|(?:\d\d)?(?:0[48]|[2468][048]|[13579][26]))$/).test(t)},_isDateTime:function(t){return new RegExp(/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])\s+(1[012]|0?[1-9]){1}:(0?[1-5]|[0-6][0-9]){1}:(0?[0-6]|[0-6][0-9]){1}\s+(am|pm|AM|PM){1}$|^(?:(?:(?:0?[13578]|1[02])(\/|-)31)|(?:(?:0?[1,3-9]|1[0-2])(\/|-)(?:29|30)))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^((1[012]|0?[1-9]){1}\/(0?[1-9]|[12][0-9]|3[01]){1}\/\d{2,4}\s+(1[012]|0?[1-9]){1}:(0?[1-5]|[0-6][0-9]){1}:(0?[0-6]|[0-6][0-9]){1}\s+(am|pm|AM|PM){1})$/).test(t)},_dateCompare:function(t,e){return new Date(t.toString())<new Date(e.toString())},_dateRange:function(t,e,i,n){return!(!n.firstOfGroup[0].value&&n.secondOfGroup[0].value||n.firstOfGroup[0].value&&!n.secondOfGroup[0].value)&&b._isDate(n.firstOfGroup[0].value)&&b._isDate(n.secondOfGroup[0].value)&&b._dateCompare(n.firstOfGroup[0].value,n.secondOfGroup[0].value)?void 0:n.allrules[e[i]].alertText+n.allrules[e[i]].alertText2},_dateTimeRange:function(t,e,i,n){return!(!n.firstOfGroup[0].value&&n.secondOfGroup[0].value||n.firstOfGroup[0].value&&!n.secondOfGroup[0].value)&&b._isDateTime(n.firstOfGroup[0].value)&&b._isDateTime(n.secondOfGroup[0].value)&&b._dateCompare(n.firstOfGroup[0].value,n.secondOfGroup[0].value)?void 0:n.allrules[e[i]].alertText+n.allrules[e[i]].alertText2},_maxCheckbox:function(t,e,i,n,a){i=i[n+1],n=e.attr("name");if(i<t.find("input[name='"+n+"']:checked").length)return a.showArrow=!1,a.allrules.maxCheckbox.alertText2?a.allrules.maxCheckbox.alertText+" "+i+" "+a.allrules.maxCheckbox.alertText2:a.allrules.maxCheckbox.alertText},_minCheckbox:function(t,e,i,n,a){i=i[n+1],n=e.attr("name");if(t.find("input[name='"+n+"']:checked").length<i)return a.showArrow=!1,a.allrules.minCheckbox.alertText+" "+i+" "+a.allrules.minCheckbox.alertText2},_creditCard:function(t,e,i,n){var a=!1,s=t.val().replace(/ +/g,"").replace(/-+/g,""),t=s.length;if(14<=t&&t<=16&&0<parseInt(s)){for(var o,r=0,i=t-1,l=1,d=new String;o=parseInt(s.charAt(i)),d+=l++%2==0?2*o:o,0<=--i;);for(i=0;i<d.length;i++)r+=parseInt(d.charAt(i));a=r%10==0}if(!a)return n.allrules.creditCard.alertText},_ajax:function(o,t,e,r){var t=t[e+1],l=r.allrules[t],t=l.extraData,i=l.extraDataDynamic,n={fieldId:o.attr("id"),fieldValue:o.val()};if("object"==typeof t)w.extend(n,t);else if("string"==typeof t)for(var a=t.split("&"),e=0;e<a.length;e++){var s=a[e].split("=");s[0]&&s[0]&&(n[s[0]]=s[1])}if(i)for(var d=String(i).split(","),e=0;e<d.length;e++){var c,u=d[e];w(u).length&&(c=o.closest("form, .validationEngineContainer").find(u).val(),u.replace("#",""),escape(c),n[u.replace("#","")]=c)}if("field"==r.eventTrigger&&delete r.ajaxValidCache[o.attr("id")],!r.isError&&!b._checkAjaxFieldStatus(o.attr("id"),r))return w.ajax({type:r.ajaxFormValidationMethod,url:l.url,cache:!1,dataType:"json",data:n,field:o,rule:l,methods:b,options:r,beforeSend:function(){},error:function(t,e){r.onFailure?r.onFailure(t,e):b._ajaxError(t,e)},success:function(t){var e,i,n,a=t[0],s=w("#"+a).eq(0);1==s.length&&(e=t[1],i=t[2],e?(r.ajaxValidCache[a]=!0,i?r.allrules[i]&&(n=r.allrules[i].alertTextOk)&&(i=n):i=l.alertTextOk,r.showPrompts&&(i?b._showPrompt(s,i,"pass",!0,r):b._closePrompt(s)),"submit"==r.eventTrigger&&o.closest("form").submit()):(r.ajaxValidCache[a]=!1,r.isError=!0,i?r.allrules[i]&&(n=r.allrules[i].alertText)&&(i=n):i=l.alertText,r.showPrompts&&b._showPrompt(s,i,"",!0,r))),s.trigger("jqv.field.result",[s,r.isError,i])}}),l.alertTextLoad},_ajaxError:function(t,e){0==t.status&&null==e?alert("The page is not served from a server! ajax call failed"):"undefined"!=typeof console&&console.log("Ajax error: "+t.status+" "+e)},_dateToString:function(t){return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()},_parseDate:function(t){var e=t.split("-");return(e=e==t?t.split("/"):e)==t?(e=t.split("."),new Date(e[2],e[1]-1,e[0])):new Date(e[0],e[1]-1,e[2])}
1,_showPrompt:function(t,e,i,n,a,s){t.data("jqv-prompt-at")instanceof jQuery?t=t.data("jqv-prompt-at"):t.data("jqv-prompt-at")&&(t=w(t.data("jqv-prompt-at")));var o=b._getPrompt(t);s&&(o=!1),w.trim(e)&&(o?b._updatePrompt(t,o,e,i,n,a):b._buildPrompt(t,e,i,n,a))},_buildPrompt:function(t,e,i,n,a){t.removeClass("success").addClass("error"),t.parent(".cs").removeClass("success").addClass("error");var s=w("<div>");switch(s.addClass(b._getClassName(t.attr("id"))+"formError"),s.addClass("parentForm"+b._getClassName(t.closest("form, .validationEngineContainer").attr("id"))),s.addClass("formError"),i){case"pass":s.addClass("greenPopup");break;case"load":s.addClass("blackPopup")}n&&s.addClass("ajaxed");w("<div>").addClass("formErrorContent").html(e).appendTo(s);i=t.data("promptPosition")||a.promptPosition;if(a.showArrow){var o=w("<div>").addClass("formErrorArrow");switch(i="string"==typeof i&&-1!=(r=i.indexOf(":"))?i.substring(0,r):i){case"bottomLeft":case"bottomRight":s.find(".formErrorContent").before(o),o.addClass("formErrorArrowBottom").html('<div class="line1">\x3c!-- --\x3e</div><div class="line2">\x3c!-- --\x3e</div><div class="line3">\x3c!-- --\x3e</div><div class="line4">\x3c!-- --\x3e</div><div class="line5">\x3c!-- --\x3e</div><div class="line6">\x3c!-- --\x3e</div><div class="line7">\x3c!-- --\x3e</div><div class="line8">\x3c!-- --\x3e</div><div class="line9">\x3c!-- --\x3e</div><div class="line10">\x3c!-- --\x3e</div>');break;case"topLeft":case"topRight":o.html('<div class="line10">\x3c!-- --\x3e</div><div class="line9">\x3c!-- --\x3e</div><div class="line8">\x3c!-- --\x3e</div><div class="line7">\x3c!-- --\x3e</div><div class="line6">\x3c!-- --\x3e</div><div class="line5">\x3c!-- --\x3e</div><div class="line4">\x3c!-- --\x3e</div><div class="line3">\x3c!-- --\x3e</div><div class="line2">\x3c!-- --\x3e</div><div class="line1">\x3c!-- --\x3e</div>'),s.append(o)}}a.addPromptClass&&s.addClass(a.addPromptClass);var n=t.attr("data-required-class"),r=(void 0!==n?s.addClass(n):a.prettySelect&&w("#"+t.attr("id")).next().is("select")&&void 0!==(e=w("#"+t.attr("id").substr(a.usePrefix.length).substring(a.useSuffix.length)).attr("data-required-class"))&&s.addClass(e),s.css({opacity:0}),"inline"===i?(s.addClass("inline"),void 0!==t.attr("data-prompt-target")&&0<w("#"+t.attr("data-prompt-target")).length?s.appendTo(w("#"+t.attr("data-prompt-target"))):t.after(s)):t.before(s),b._calculatePosition(t,s,a));return s.css({position:"inline"===i?"relative":"absolute",top:r.callerTopPosition,left:r.callerleftPosition,marginTop:r.marginTopSize,opacity:0}
1).data("callerField",t),a.autoHidePrompt&&setTimeout(function(){s.animate({opacity:0},function(){s.closest(".formErrorOuter").remove(),s.remove()})},a.autoHideDelay),s.animate({opacity:.87})},_updatePrompt:function(t,e,i,n,a,s,o){e&&(void 0!==n&&("pass"==n?e.addClass("greenPopup"):e.removeClass("greenPopup"),"load"==n?e.addClass("blackPopup"):e.removeClass("blackPopup")),a?e.addClass("ajaxed"):e.removeClass("ajaxed"),e.find(".formErrorContent").html(i),a={top:(n=b._calculatePosition(t,e,s)).callerTopPosition,left:n.callerleftPosition,marginTop:n.marginTopSize},o?e.css(a):e.animate(a))},_closePrompt:function(t){var e=b._getPrompt(t);e&&e.fadeTo("fast",0,function(){e.parent(".formErrorOuter").remove(),e.remove(),t.removeClass("error").addClass("success"),t.parent(".cs").removeClass("error").addClass("success")})},closePrompt:function(t){return b._closePrompt(t)},_getPrompt:function(t){var e=w(t).closest("form, .validationEngineContainer").attr("id"),i=b._getClassName(t.attr("id"))+"formError",i=w("."+b._escapeExpression(i)+".parentForm"+b._getClassName(e))[0];if(i)return w(i);t.removeClass("error").addClass("success"),t.parent(".cs").removeClass("error").addClass("success")},_escapeExpression:function(t){return t.replace(/([#;&,\.\+\*\~':"\!\^$\[\]\(\)=>\|])/g,"\\$1")},isRTL:function(t){var e=w(document),i=w("body"),t=t&&t.hasClass("rtl")||t&&"rtl"===(t.attr("dir")||"").toLowerCase()||e.hasClass("rtl")||"rtl"===(e.attr("dir")||"").toLowerCase()||i.hasClass("rtl")||"rtl"===(i.attr("dir")||"").toLowerCase();return Boolean(t)},_calculatePosition:function(t,e,i){var n,a,s=t.width(),o=t.position().left,r=t.position().top,l=(t.height(),n=0),d=-e.height(),i=t.data("promptPosition")||i.promptPosition,c="",u=0,h=0;switch("string"==typeof i&&-1!=i.indexOf(":")&&(c=i.substring(i.indexOf(":")+1),i=i.substring(0,i.indexOf(":")),-1!=c.indexOf(",")&&(a=c.substring(c.indexOf(",")+1),c=c.substring(0,c.indexOf(",")),h=parseInt(a),isNaN(h)&&(h=0)),u=parseInt(c),isNaN(c)&&(c=0)),i){default:case"topRight":n+=o+s-30,l+=r;break;case"topLeft":l+=r,n+=o;break;case"centerRight":l=r+4,n=o+t.outerWidth(!(d=0))+5;break;case"centerLeft":n=o-(e.width()+2),l=r+4,d=0;break;case"bottomLeft":l=r+t.height()+5,d=0,n=o;break;case"bottomRight":n=o+s-30,l=r+t.height()+5,d=0;break;case"inline":d=l=n=0}return{callerTopPosition:(l+=h)+"px",callerleftPosition:(n+=u)+"px",marginTopSize:d+"px"}},_saveOptions:function(t,e){w.validationEngineLanguage?i=w.validationEngineLanguage.allRules:w.error("jQuery.validationEngine rules are not loaded, plz add localization files to the page"),w.validationEngine.defaults.allrules=i;var i=w.extend(!0,{},w.validationEngine.defaults,e);return t.data("jqv",i),i},_getClassName:function(t){if(t)return t.replace(/:/g,"_").replace(/\./g,"_")},_jqSelector:function(t){return t.replace(/([;&,\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1")},_condRequired:function(t,e,i,n){for(var a,s=i+1;s<e.length;s++)if((a=jQuery("#"+e[s]).first()).length&&null==b._required(a,["required"],0,n,!0))return b._required(t,["required"],0,n)},_submitButtonClick:function(t){var e=w(this);e.closest("form, .validationEngineContainer").data("jqv_submitButton",e.attr("id"))}};w.fn.validationEngine=function(t){var e=w(this);return e[0]?"string"==typeof t&&"_"!=t.charAt(0)&&b[t]?("showPrompt"!=t&&"hide"!=t&&"hideAll"!=t&&b.init.apply(e),b[t].apply(e,Array.prototype.slice.call(arguments,1))):"object"!=typeof t&&t?void w.error("Method "+t+" does not exist in jQuery.validationEngine"):(b.init.apply(e,arguments),b.attach.apply(e)):e},w.validationEngine={fieldIdCounter:0,defaults:{validationEventTrigger:"blur",scroll:!1,focusFirstField:!0,showPrompts:!0,validateNonVisibleFields:!1,promptPosition:"inline",bindMethod:"bind",inlineAjax:!1,ajaxFormValidation:!1,ajaxFormValidationURL:!1,ajaxFormValidationMethod:"get",onAjaxFormComplete:w.noop,onBeforeAjaxFormValidation:w.noop,onValidationComplete:!1,doNotShowAllErrosOnSubmit:!1,custom_error_messages:{},binded:!0,showArrow:!0,isError:!1,maxErrorsPerField:!1,ajaxValidCache:{},autoPositionUpdate:!1,InvalidFields:[],onFieldSuccess:!1,onFieldFailure:!1,onSuccess:!1,onFailure:!1,validateAttribute:"class",addSuccessCssClassToField:"",addFailureCssClassToField:"",autoHidePrompt:!1,autoHideDelay:1e4,fadeDuration:.3,prettySelect:!1,addPromptClass:"",usePrefix:"",useSuffix:"",showOneMessage:!1}}}(jQuery),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,
1i,n,a){return jQuery.easing[jQuery.easing.def](t,e,i,n,a)},easeInQuad:function(t,e,i,n,a){return n*(e/=a)*e+i},easeOutQuad:function(t,e,i,n,a){return-n*(e/=a)*(e-2)+i},easeInOutQuad:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},easeInCubic:function(t,e,i,n,a){return n*(e/=a)*e*e+i},easeOutCubic:function(t,e,i,n,a){return n*((e=e/a-1)*e*e+1)+i},easeInOutCubic:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e*e+i:n/2*((e-=2)*e*e+2)+i},easeInQuart:function(t,e,i,n,a){return n*(e/=a)*e*e*e+i},easeOutQuart:function(t,e,i,n,a){return-n*((e=e/a-1)*e*e*e-1)+i},easeInOutQuart:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e*e*e+i:-n/2*((e-=2)*e*e*e-2)+i},easeInQuint:function(t,e,i,n,a){return n*(e/=a)*e*e*e*e+i},easeOutQuint:function(t,e,i,n,a){return n*((e=e/a-1)*e*e*e*e+1)+i},easeInOutQuint:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e*e*e*e+i:n/2*((e-=2)*e*e*e*e+2)+i},easeInSine:function(t,e,i,n,a){return-n*Math.cos(e/a*(Math.PI/2))+n+i},easeOutSine:function(t,e,i,n,a){return n*Math.sin(e/a*(Math.PI/2))+i},easeInOutSine:function(t,e,i,n,a){return-n/2*(Math.cos(Math.PI*e/a)-1)+i},easeInExpo:function(t,e,i,n,a){return 0==e?i:n*Math.pow(2,10*(e/a-1))+i},easeOutExpo:function(t,e,i,n,a){return e==a?i+n:n*(1-Math.pow(2,-10*e/a))+i},easeInOutExpo:function(t,e,i,n,a){return 0==e?i:e==a?i+n:(e/=a/2)<1?n/2*Math.pow(2,10*(e-1))+i:n/2*(2-Math.pow(2,-10*--e))+i},easeInCirc:function(t,e,i,n,a){return-n*(Math.sqrt(1-(e/=a)*e)-1)+i},easeOutCirc:function(t,e,i,n,a){return n*Math.sqrt(1-(e=e/a-1)*e)+i},easeInOutCirc:function(t,e,i,n,a){return(e/=a/2)<1?-n/2*(Math.sqrt(1-e*e)-1)+i:n/2*(Math.sqrt(1-(e-=2)*e)+1)+i},easeInElastic:function(t,e,i,n,a){t=1.70158;var s=0,o=n;return 0==e?i:1==(e/=a)?i+n:(s=s||.3*a,t=o<Math.abs(n)?(o=n,s/4):s/(2*Math.PI)*Math.asin(n/o),-(o*Math.pow(2,10*--e)*Math.sin(2*(e*a-t)*Math.PI/s))+i)},easeOutElastic:function(t,e,i,n,a){t=1.70158;var s=0,o=n;return 0==e?i:1==(e/=a)?i+n:(s=s||.3*a,t=o<Math.abs(n)?(o=n,s/4):s/(2*Math.PI)*Math.asin(n/o),o*Math.pow(2,-10*e)*Math.sin(2*(e*a-t)*Math.PI/s)+n+i)},easeInOutElastic:function(t,e,i,n,a){t=1.70158;var s=0,o=n;return 0==e?i:2==(e/=a/2)?i+n:(s=s||.3*a*1.5,t=o<Math.abs(n)?(o=n,s/4):s/(2*Math.PI)*Math.asin(n/o),e<1?-.5*o*Math.pow(2,10*--e)*Math.sin(2*(e*a-t)*Math.PI/s)+i:o*Math.pow(2,-10*--e)*Math.sin(2*(e*a-t)*Math.PI/s)*.5+n+i)},easeInBack:function(t,e,i,n,a,s){return n*(e/=a)*e*(((s=null==s?1.70158:s)+1)*e-s)+i},easeOutBack:function(t,e,i,n,a,s){return n*((e=e/a-1)*e*(((s=null==s?1.70158:s)+1)*e+s)+1)+i},easeInOutBack:function(t,e,i,n,a,s){return null==s&&(s=1.70158),(e/=a/2)<1?n/2*e*e*((1+(s*=1.525))*e-s)+i:n/2*((e-=2)*e*((1+(s*=1.525))*e+s)+2)+i},easeInBounce:function(t,e,i,n,a){return n-jQuery.easing.easeOutBounce(t,a-e,0,n,a)+i},easeOutBounce:function(t,e,i,n,a){return(e/=a)<1/2.75?7.5625*n*e*e+i:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+i:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+i:n*(7.5625*(e-=2.625/2.75)*e+.984375)+i},easeInOutBounce:function(t,e,i,n,a){return e<a/2?.5*jQuery.easing.easeInBounce(t,2*e,0,n,a)+i:.5*jQuery.easing.easeOutBounce(t,2*e-a,0,n,a)+.5*n+i}}),function(f,p,m){function g(t,e,i){t=p.createElement(t);return e&&(t.id=j+e),i&&(t.style.cssText=i),f(t)}function h(){return m.innerHeight||f(m).height()}function r(t){var e=x.length,t=(F+t)%e;return t<0?e+t:t}function v(t,e){return Math.round((/%/.test(t)?("x"===e?d.width():h())/100:1)*parseInt(t,10))}function U(t,e){return t.photo||t.photoRegex.test(e)}function q(t,e){return t.retinaUrl&&1<m.devicePixelRatio?e.replace(t.photoRegex,t.retinaSuffix):e}function z(t){"contains"in b[0]&&!b[0].contains(t.target)&&(t.stopPropagation(),b.focus())}function V(){var t,e=f.data(P,Y);for(t in null==e?(k=f.extend({},at),console&&console.log&&console.log("Error: cboxElement missing settings object")):k=f.extend({},e),k)f.isFunction(k[t])&&"on"!==t.slice(0,2)&&(k[t]=k[t].call(P));k.rel=k.rel||P.rel||f(P).data("rel")||"nofollow",k.href=k.href||f(P).attr("href"),k.title=k.title||P.title,"string"==typeof k.href&&(k.href=f.trim(k.href))}function y(t,e){f(p).trigger(t),W.trigger(t),f.isFunction(e)&&e.call(P)}function a(t){var e,i,n,a,s,o,r,l,d,c,u,h;N||(P=t,V(),x=f(P),F=0,"nofollow"!==k.rel&&(x=f("."+R).filter(function(){var t,e=f.data(this,Y);return(t=e?f(this).data("rel")||e.rel||this.rel:t)===k.rel}),-1===(F=x.index(P))&&(x=x.add(P),F=x.length-1)),w.css({opacity:parseFloat(k.opacity),cursor:k.overlayClose?"pointer":"auto",visibility:"visible"}).show(),nt&&b.add(w).removeClass(nt),k.className&&b.add(w).addClass(k.className),nt=k.className,tt.html(k.close).show(),A||(A=I=!0,b.css({visibility:"hidden",display:"block"}),S=g(H,"LoadedContent","width:0; height:0; overflow:hidden").appendTo(_),D=G.height()+Q.height()+_.outerHeight(!0)-_.height(),$=B.width()+Z.width()+_.outerWidth(!0)-_.width(),E=S.outerHeight(!0),M=S.outerWidth(!0),k.w=v(k.initialWidth,"x"),k.h=v(k.initialHeight,"y"),L.position(),u=j+"Slideshow_",h="click."+j,k.slideshow&&x[1]?(r=function(){clearTimeout(o)},l=function(){(k.loop||x[F+1])&&(o=setTimeout(L.next,k.slideshowSpeed))},d=function(){T.html(k.slideshowStop).unbind(h).one(h,c),W.bind(rt,l).bind(ot,r).bind(lt,c),b.removeClass(u+"off").addClass(u+"on")},c=function(){r(),W.unbind(rt,l).unbind(ot,r).unbind(lt,c),T.html(k.slideshowStart).unbind(h).one(h,function(){L.next(),d()}),b.removeClass(u+"on").addClass(u+"off")},(k.slideshowAuto?d:c)()):b.removeClass(u+"off "+u+"on"),y(st,k.onOpen),et.add(X).hide(),b.focu
1s(),p.addEventListener&&(p.addEventListener("focus",z,!0),W.one(dt,function(){p.removeEventListener("focus",z,!0)})),k.returnFocus&&W.one(dt,function(){f(P).focus()})),a=L.prep,s=++ut,O=!(I=!0),P=x[F],V(),y(ct),y(ot,k.onLoad),k.h=k.height?v(k.height,"y")-E-D:k.innerHeight&&v(k.innerHeight,"y"),k.w=k.width?v(k.width,"x")-M-$:k.innerWidth&&v(k.innerWidth,"x"),k.mw=k.w,k.mh=k.h,k.maxWidth&&(k.mw=v(k.maxWidth,"x")-M-$,k.mw=k.w&&k.w<k.mw?k.w:k.mw),k.maxHeight&&(k.mh=v(k.maxHeight,"y")-E-D,k.mh=k.h&&k.h<k.mh?k.h:k.mh),e=k.href,it=setTimeout(function(){K.show()},100),k.inline?(n=g(H).hide().insertBefore(f(e)[0]),W.one(ct,function(){n.replaceWith(S.children())}),a(f(e))):k.iframe?a(" "):k.html?a(k.html):U(k,e)?(e=q(k,e),f(O=new Image).addClass(j+"Photo").bind("error",function(){k.title=!1,a(g(H,"Error").html(k.imgError))}).one("load",function(){var t;s===ut&&(O.alt=f(P).attr("alt")||f(P).attr("data-alt")||"",k.retinaImage&&1<m.devicePixelRatio&&(O.height=O.height/m.devicePixelRatio,O.width=O.width/m.devicePixelRatio),k.scalePhotos&&(i=function(){O.height-=O.height*t,O.width-=O.width*t},k.mw&&O.width>k.mw&&(t=(O.width-k.mw)/O.width,i()),k.mh&&O.height>k.mh&&(t=(O.height-k.mh)/O.height,i())),k.h&&(O.style.marginTop=Math.max(k.mh-O.height,0)/2+"px"),x[1]&&(k.loop||x[F+1])&&(O.style.cursor="pointer",O.onclick=function(){L.next()}),O.style.width=O.width+"px",O.style.height=O.height+"px",setTimeout(function(){a(O)},1))}),setTimeout(function(){O.src=e},1)):e&&C.on("load",e,k.data,function(t,e){s===ut&&a("error"===e?g(H,"Error").html(k.xhrError):f(this).contents())}))}function s(){!b&&p.body&&(o=!1,d=f(m),b=g(H).attr({id:Y,class:!1===f.support.opacity?j+"IE":"",role:"dialog",tabindex:"-1"}).hide(),w=g(H,"Overlay").hide(),K=g(H,"LoadingOverlay").add(g(H,"LoadingGraphic")),l=g(H,"Wrapper"),_=g(H,"Content").append(X=g(H,"Title"),J=g(H,"Current"),u=f('<button type="button"/>').attr({id:j+"Previous"}),c=f('<button type="button"/>').attr({id:j+"Next"}),T=g("button","Slideshow"),K,tt=f('<button type="button"/>').attr({id:j+"Close"})),l.append(g(H).append(g(H,"TopLeft"),G=g(H,"TopCenter"),g(H,"TopRight")),g(H,!1,"clear:left").append(B=g(H,"MiddleLeft"),_,Z=g(H,"MiddleRight")),g(H,!1,"clear:left").append(g(H,"BottomLeft"),Q=g(H,"BottomCenter"),g(H,"BottomRight"))).find("div div").css({float:"left"}),C=g(H,!1,"position:absolute; width:9999px; visibility:hidden; display:none"),et=c.add(u).add(J).add(T),f(p.body).append(w,b.append(l,C)))}var w,b,l,_,G,B,Z,Q,x,d,S,C,K,X,J,T,c,u,tt,et,k,D,$,E,M,P,F,O,A,I,N,it,L,nt,o,at={transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,className:!1,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",open:!1,returnFocus:!0,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp)((#|\?).*)?$/i,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0},Y="colorbox",j="cbox",R=j+"Element",st=j+"_open",ot=j+"_load",rt=j+"_complete",lt=j+"_cleanup",dt=j+"_closed",ct=j+"_purge",W=f("<a/>"),H="div",ut=0;f.colorbox||(f(s),(L=f.fn[Y]=f[Y]=function(t,e){var i=this;if(t=t||{},s(),b&&(o||(o=!0,c.click(function(){L.next()}),u.click(function(){L.prev()}),tt.click(function(){L.close()}),w.click(function(){k.overlayClose&&L.close()}),f(p).bind("keydown."+j,function(t){var e=t.keyCode;A&&k.escKey&&27===e&&(t.preventDefault(),L.close()),A&&k.arrowKey&&x[1]&&!t.altKey&&(37===e?(t.preventDefault(),u.click()):39===e&&(t.preventDefault(),c.click()))}),f.isFunction(f.fn.on)?f(p).on("click."+j,"."+R,n):f("."+R).live("click."+j,n)),1)){if(f.isFunction(i))i=f("<a/>"),t.open=!0;else if(!i[0])return i;e&&(t.onComplete=e),i.each(function(){f.data(this,Y,f.extend({},f.data(this,Y)||at,t))}).addClass(R),(f.isFunction(t.open)&&t.open.call(i)||t.open)&&a(i[0])}function n(t){1<t.which||t.shiftKey||t.altKey||t.metaKey||t.control||(t.preventDefault(),a(this))}return i}).position=function(t,e){function i(t){G[0].style.width=Q[0].style.width=_[0].style.width=parseInt(t.style.width,10)-$+"px",_[0].style.height=B[0].style.height=Z[0].style.height=parseInt(t.style.height,10)-D+"px"}var n,a,s=0,o=0,r=b.offset();d.unbind("resize."+j),b.css({top:-9e4,left:-9e4}),n=d.scrollTop(),a=d.scrollLeft(),k.fixed?(r.top-=n,r.left-=a,b.css({position:"fixed"})):(s=n,o=a,b.css({position:"absolute"})),o+=!1!==k.right?Math.max(d.width()-k.w-M-$-v(k.right,"x"),0):!1!==k.left?v(k.left,"x"):Math.round(Math.max(d.width()-k.w-M-$,0)/2),s+=!1!==k.bottom?Math.max(h()-k.h-E-D-v(k.bottom,"y"),0):!1!==k.top?v(k.top,"y"):Math.round(Math.max(h()-k.h-E-D,0)
1/2),b.css({top:r.top,left:r.left,visibility:"visible"}),t=(b.width()!==k.w+M||b.height()!==k.h+E)&&t||0,l[0].style.width=l[0].style.height="9999px",n={width:k.w+M+$,height:k.h+E+D,top:s,left:o},0===t&&b.css(n),b.dequeue().animate(n,{duration:t,complete:function(){i(this),I=!1,l[0].style.width=k.w+M+$+"px",l[0].style.height=k.h+E+D+"px",k.reposition&&setTimeout(function(){d.bind("resize."+j,L.position)},1),e&&e()},step:function(){i(this)}})},L.resize=function(t){A&&((t=t||{}).width&&(k.w=v(t.width,"x")-M-$),t.innerWidth&&(k.w=v(t.innerWidth,"x")),S.css({width:k.w}),t.height&&(k.h=v(t.height,"y")-E-D),t.innerHeight&&(k.h=v(t.innerHeight,"y")),t.innerHeight||t.height||(S.css({height:"auto"}),k.h=S.height()),S.css({height:k.h}),L.position("none"===k.transition?0:k.speed))},L.prep=function(t){var e,o;A&&(o="none"===k.transition?0:k.speed,S.empty().remove(),(S=g(H,"LoadedContent").append(t)).hide().appendTo(C.show()).css({width:(k.w=k.w||S.width(),k.w=k.mw&&k.mw<k.w?k.mw:k.w,k.w),overflow:k.scrolling?"auto":"hidden"}).css({height:(k.h=k.h||S.height(),k.h=k.mh&&k.mh<k.h?k.mh:k.h,k.h)}).prependTo(_),C.hide(),f(O).css({float:"none"}),e=function(){function t(){!1===f.support.opacity&&b[0].style.removeAttribute("filter")}var e,i,n=x.length,a="frameBorder",s="allowTransparency";A&&(i=function(){clearTimeout(it),K.hide(),y(rt,k.onComplete)},X.html(k.title).add(S).show(),1<n?("string"==typeof k.current&&J.html(k.current.replace("{current}",F+1).replace("{total}",n)).show(),c[k.loop||F<n-1?"show":"hide"]().html(k.next),u[k.loop||F?"show":"hide"]().html(k.previous),k.slideshow&&T.show(),k.preloading&&f.each([r(-1),r(1)],function(){var t,e=x[this],i=f.data(e,Y);i&&i.href?(t=i.href,f.isFunction(t)&&(t=t.call(e))):t=f(e).attr("href"),t&&U(i,t)&&(t=q(i,t),(new Image).src=t)})):et.hide(),k.iframe?(a in(e=g("iframe")[0])&&(e[a]=0),s in e&&(e[s]="true"),k.scrolling||(e.scrolling="no"),f(e).attr({src:k.href,name:(new Date).getTime(),class:j+"Iframe",allowFullScreen:!0,webkitAllowFullScreen:!0,mozallowfullscreen:!0}).one("load",i).appendTo(S),W.one(ct,function(){e.src="//about:blank"}),k.fastIframe&&f(e).trigger("load")):i(),"fade"===k.transition?b.fadeTo(o,1,t):t())},"fade"===k.transition?b.fadeTo(o,0,function(){L.position(0,e)}):L.position(o,e))},L.next=function(){!I&&x[1]&&(k.loop||x[F+1])&&(F=r(1),a(x[F]))},L.prev=function(){!I&&x[1]&&(k.loop||F)&&(F=r(-1),a(x[F]))},L.close=function(){A&&!N&&(A=!(N=!0),y(lt,k.onCleanup),d.unbind("."+j),w.fadeTo(k.fadeOut||0,0),b.stop().fadeTo(k.fadeOut||0,0,function(){b.add(w).css({opacity:1,cursor:"auto"}).hide(),y(ct),S.empty().remove(),setTimeout(function(){N=!1,y(dt,k.onClosed)},1)}))},L.remove=function(){b&&(b.stop(),f.colorbox.close(),b.stop().remove(),w.remove(),N=!1,b=null,f("."+R).removeData(Y).removeClass(R),f(p).unbind("click."+j))},L.element=function(){return f(P)},L.settings=at)}(jQuery,document,window),function(u){var i=!0;u.flexslider=function(f,t){var e,p=u(f),o=(p.vars=u.extend({},u.flexslider.defaults,t),p.vars.namespace),m=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,r=("ontouchstart"in window||m||window.DocumentTouch&&document instanceof DocumentTouch)&&p.vars.touch,s="click touchend MSPointerUp keyup",l="",g="vertical"===p.vars.direction,v=p.vars.reverse,y=0<p.vars.itemWidth,w="fade"===p.vars.animation,d=""!==p.vars.asNavFor,c={};u.data(f,"flexslider",p),c={init:function(){p.animating=!1,p.currentSlide=parseInt(p.vars.startAt||0,10),isNaN(p.currentSlide)&&(p.currentSlide=0),p.animatingTo=p.currentSlide,p.atEnd=0===p.currentSlide||p.currentSlide===p.last,p.containerSelector=p.vars.selector.substr(0,p.vars.selector.search(" ")),p.slides=u(p.vars.selector,p),p.container=u(p.containerSelector,p),p.count=p.slides.length,p.syncExists=0<u(p.vars.sync).length,"slide"===p.vars.animation&&(p.vars.animation="swing"),p.prop=g?"top":"marginLeft",p.args={},p.manualPause=!1,p.stopped=!1,p.started=!1,p.startTimeout=null,p.transitions=!p.vars.video&&!w&&p.vars.useCSS&&function(){var t,e=document.createElement("div"),i=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(t in i)if(void 0!==e.style[i[t]])return p.pfx=i[t].replace("Perspective","").toLowerCase(),p.prop="-"+p.pfx+"-transform",!0;return!1}(),(p.ensureAnimationEnd="")!==p.vars.controlsContainer&&(p.controlsContainer=0<u(p.vars.controlsContainer).length&&u(p.vars.controlsContainer)),""!==p.vars.manualControls&&(p.manualControls=0<u(p.vars.manualControls).length&&u(p.vars.manualControls)),""!==p.vars.customDirectionNav&&(p.customDirectionNav=2===u(p.vars.customDirectionNav).length&&u(p.vars.customDirectionNav)),p.vars.randomize&&(p.slides.sort(function(){return Math.round(Math.random())-.5}),p.container.empty().append(p.slides)),p.doMath(),p.setup("init"),p.vars.c
1ontrolNav&&c.controlNav.setup(),p.vars.directionNav&&c.directionNav.setup(),p.vars.keyboard&&(1===u(p.containerSelector).length||p.vars.multipleKeyboard)&&u(document).bind("keyup",function(t){var t=t.keyCode;p.animating||39!==t&&37!==t||(t=39===t?p.getTarget("next"):37===t&&p.getTarget("prev"),p.flexAnimate(t,p.vars.pauseOnAction))}),p.vars.mousewheel&&p.bind("mousewheel",function(t,e,i,n){t.preventDefault();t=e<0?p.getTarget("next"):p.getTarget("prev");p.flexAnimate(t,p.vars.pauseOnAction)}),p.vars.pausePlay&&c.pausePlay.setup(),p.vars.slideshow&&p.vars.pauseInvisible&&c.pauseInvisible.init(),p.vars.slideshow&&(p.vars.pauseOnHover&&p.hover(function(){p.manualPlay||p.manualPause||p.pause()},function(){p.manualPause||p.manualPlay||p.stopped||p.play()}),p.vars.pauseInvisible&&c.pauseInvisible.isHidden()||(0<p.vars.initDelay?p.startTimeout=setTimeout(p.play,p.vars.initDelay):p.play())),d&&c.asNav.setup(),r&&p.vars.touch&&c.touch(),w&&!p.vars.smoothHeight||u(window).bind("resize orientationchange focus",c.resize),p.find("img").attr("draggable","false"),setTimeout(function(){p.vars.start(p)},200)},asNav:{setup:function(){p.asNav=!0,p.animatingTo=Math.floor(p.currentSlide/p.move),p.currentItem=p.currentSlide,p.slides.removeClass(o+"active-slide").eq(p.currentItem).addClass(o+"active-slide"),m?(f._slider=p).slides.each(function(){var t=this;t._gesture=new MSGesture,(t._gesture.target=t).addEventListener("MSPointerDown",function(t){t.preventDefault(),t.currentTarget._gesture&&t.currentTarget._gesture.addPointer(t.pointerId)},!1),t.addEventListener("MSGestureTap",function(t){t.preventDefault();var t=u(this),e=t.index();u(p.vars.asNavFor).data("flexslider").animating||t.hasClass("active")||(p.direction=p.currentItem<e?"next":"prev",p.flexAnimate(e,p.vars.pauseOnAction,!1,!0,!0))})}):p.slides.on(s,function(t){t.preventDefault();var t=u(this),e=t.index();t.offset().left-u(p).scrollLeft()<=0&&t.hasClass(o+"active-slide")?p.flexAnimate(p.getTarget("prev"),!0):u(p.vars.asNavFor).data("flexslider").animating||t.hasClass(o+"active-slide")||(p.direction=p.currentItem<e?"next":"prev",p.flexAnimate(e,p.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){p.manualControls?c.controlNav.setupManual():c.controlNav.setupPaging()},setupPaging:function(){var t="thumbnails"===p.vars.controlNav?"control-thumbs":"control-paging",e=1;if(p.controlNavScaffold=u('<ol class="'+o+"control-nav "+o+t+'"></ol>'),1<p.pagingCount)for(var i=0;i<p.pagingCount;i++){void 0===(n=p.slides.eq(i)).attr("data-thumb-alt")&&n.attr("data-thumb-alt","");var n,a=""!==n.attr("data-thumb-alt")?' alt="'+n.attr("data-thumb-alt")+'"':"",a="thumbnails"===p.vars.controlNav?'<img src="'+n.attr("data-thumb")+'"'+a+"/>":'<a href="#">'+e+"</a>";"thumbnails"===p.vars.controlNav&&!0===p.vars.thumbCaptions&&""!==(n=n.attr("data-thumbcaption"))&&void 0!==n&&(a+='<span class="'+o+'caption">'+n+"</span>"),p.controlNavScaffold.append("<li>"+a+"</li>"),e++}(p.controlsContainer?u(p.controlsContainer):p).append(p.controlNavScaffold),c.controlNav.set(),c.controlNav.active(),p.controlNavScaffold.delegate("a, img",s,function(t){var e,i;t.preventDefault(),""!==l&&l!==t.type||(e=u(this),i=p.controlNav.index(e),e.hasClass(o+"active")||(p.direction=i>p.currentSlide?"next":"prev",p.flexAnimate(i,p.vars.pauseOnAction))),""===l&&(l=t.type),c.setToClearWatchedEvent()})},setupManual:function(){p.controlNav=p.manualControls,c.controlNav.active(),p.controlNav.bind(s,function(t){var e,i;t.preventDefault(),""!==l&&l!==t.type||(e=u(this),i=p.controlNav.index(e),e.hasClass(o+"active")||(i>p.currentSlide?p.direction="next":p.direction="prev",p.flexAnimate(i,p.vars.pauseOnAction))),""===l&&(l=t.type),c.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===p.vars.controlNav?"img":"a";p.controlNav=u("."+o+"control-nav li "+t,p.controlsContainer||p)},active:function(){p.controlNav.removeClass(o+"active").eq(p.animatingTo).addClass(o+"active")},update:function(t,e){1<p.pagingCount&&"add"===t?p.controlNavScaffold.append(u('<li><a href="#">'+p.count+"</a></li>")):(1===p.pagingCount?p.controlNavScaffold.find("li"):p.controlNav.eq(e).closest("li")).remove(),c.controlNav.set(),1<p.pagingCount&&p.pagingCount!==p.controlNav.length?p.update(e,t):c.controlNav.active()}},directionNav:{setup:function(){var t=u('<ul class="'+o+'direction-nav"><li class="'+o+'nav-prev"><a class="'+o+'prev" href="#">'+p.vars.prevText+'</a></li><li class="'+o+'nav-next"><a class="'+o+'next" href="#">'+p.vars.nextText+"</a></li></ul>");p.customDirectionNav?p.directionNav=p.customDirectionNav:p.controlsContainer?(u(p.controlsContainer).append(t),p.directionNav=u("."+o+"direction-nav li a",p.controlsContainer)):(p.append(t),p.directionNav=u("."+o+"direction-nav li a",p)),c.directionNav.update(
1),p.directionNav.bind(s,function(t){var e;t.preventDefault(),""!==l&&l!==t.type||(e=u(this).hasClass(o+"next")?p.getTarget("next"):p.getTarget("prev"),p.flexAnimate(e,p.vars.pauseOnAction)),""===l&&(l=t.type),c.setToClearWatchedEvent()})},update:function(){var t=o+"disabled";1===p.pagingCount?p.directionNav.addClass(t).attr("tabindex","-1"):p.vars.animationLoop?p.directionNav.removeClass(t).removeAttr("tabindex"):0===p.animatingTo?p.directionNav.removeClass(t).filter("."+o+"prev").addClass(t).attr("tabindex","-1"):p.animatingTo===p.last?p.directionNav.removeClass(t).filter("."+o+"next").addClass(t).attr("tabindex","-1"):p.directionNav.removeClass(t).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=u('<div class="'+o+'pauseplay"><a href="#"></a></div>');p.controlsContainer?(p.controlsContainer.append(t),p.pausePlay=u("."+o+"pauseplay a",p.controlsContainer)):(p.append(t),p.pausePlay=u("."+o+"pauseplay a",p)),c.pausePlay.update(p.vars.slideshow?o+"pause":o+"play"),p.pausePlay.bind(s,function(t){t.preventDefault(),""!==l&&l!==t.type||(u(this).hasClass(o+"pause")?(p.manualPause=!0,p.manualPlay=!1,p.pause()):(p.manualPause=!1,p.manualPlay=!0,p.play())),""===l&&(l=t.type),c.setToClearWatchedEvent()})},update:function(t){"play"===t?p.pausePlay.removeClass(o+"pause").addClass(o+"play").html(p.vars.playText):p.pausePlay.removeClass(o+"play").addClass(o+"pause").html(p.vars.pauseText)}},touch:function(){var n,a,s,o,r,l,d,c,u=!1,e=0,i=0,h=0;m?(f.style.msTouchAction="none",f._gesture=new MSGesture,(f._gesture.target=f).addEventListener("MSPointerDown",function(t){t.stopPropagation(),p.animating?t.preventDefault():(p.pause(),f._gesture.addPointer(t.pointerId),h=0,o=g?p.h:p.w,l=Number(new Date),s=y&&v&&p.animatingTo===p.last?0:y&&v?p.limit-(p.itemW+p.vars.itemMargin)*p.move*p.animatingTo:y&&p.currentSlide===p.last?p.limit:y?(p.itemW+p.vars.itemMargin)*p.move*p.currentSlide:v?(p.last-p.currentSlide+p.cloneOffset)*o:(p.currentSlide+p.cloneOffset)*o)},!1),f._slider=p,f.addEventListener("MSGestureChange",function(t){t.stopPropagation();var e,i,n=t.target._slider;if(n)return e=-t.translationX,i=-t.translationY,r=h+=g?i:e,u=g?Math.abs(h)<Math.abs(-e):Math.abs(h)<Math.abs(-i),t.detail===t.MSGESTURE_FLAG_INERTIA?void setImmediate(function(){f._gesture.stop()}):void((!u||500<Number(new Date)-l)&&(t.preventDefault(),!w&&n.transitions&&(n.vars.animationLoop||(r=h/(0===n.currentSlide&&h<0||n.currentSlide===n.last&&0<h?Math.abs(h)/o+2:1)),n.setProps(s+r,"setTouch"))))},!1),f.addEventListener("MSGestureEnd",function(t){var e,i;t.stopPropagation(),(t=t.target._slider)&&(t.animatingTo!==t.currentSlide||u||null===r||(i=0<(e=v?-r:r)?t.getTarget("next"):t.getTarget("prev"),t.canAdvance(i)&&(Number(new Date)-l<550&&50<Math.abs(e)||Math.abs(e)>o/2)?t.flexAnimate(i,t.vars.pauseOnAction):w||t.flexAnimate(t.currentSlide,t.vars.pauseOnAction,!0)),s=r=a=n=null,h=0)},!1)):(d=function(t){e=t.touches[0].pageX,i=t.touches[0].pageY,r=g?n-i:n-e;(!(u=g?Math.abs(r)<Math.abs(e-a):Math.abs(r)<Math.abs(i-a))||500<Number(new Date)-l)&&(t.preventDefault(),!w&&p.transitions&&(p.vars.animationLoop||(r/=0===p.currentSlide&&r<0||p.currentSlide===p.last&&0<r?Math.abs(r)/o+2:1),p.setProps(s+r,"setTouch")))},c=function(t){var e,i;f.removeEventListener("touchmove",d,!1),p.animatingTo!==p.currentSlide||u||null===r||(i=0<(e=v?-r:r)?p.getTarget("next"):p.getTarget("prev"),p.canAdvance(i)&&(Number(new Date)-l<550&&50<Math.abs(e)||Math.abs(e)>o/2)?p.flexAnimate(i,p.vars.pauseOnAction):w||p.flexAnimate(p.currentSlide,p.vars.pauseOnAction,!0)),f.removeEventListener("touchend",c,!1),s=r=a=n=null},f.addEventListener("touchstart",function(t){p.animating?t.preventDefault():!window.navigator.msPointerEnabled&&1!==t.touches.length||(p.pause(),o=g?p.h:p.w,l=Number(new Date),e=t.touches[0].pageX,i=t.touches[0].pageY,s=y&&v&&p.animatingTo===p.last?0:y&&v?p.limit-(p.itemW+p.vars.itemMargin)*p.move*p.animatingTo:y&&p.currentSlide===p.last?p.limit:y?(p.itemW+p.vars.itemMargin)*p.move*p.currentSlide:v?(p.last-p.currentSlide+p.cloneOffset)*o:(p.currentSlide+p.cloneOffset)*o,n=g?i:e,a=g?e:i,f.addEventListener("touchmove",d,!1),f.addEventListener("touchend",c,!1))},!1))},resize:function(){!p.animating&&p.is(":visible")&&(y||p.doMath(),w?c.smoothHeight():y?(p.slides.width(p.computedW),p.update(p.pagingCount),p.setProps()):g?(p.viewport.height(p.h),p.setProps(p.h,"setTotal")):(p.vars.smoothHeight&&c.smoothHeight(),p.newSlides.width(p.computedW),p.setProps(p.computedW,"setTotal")))},smoothHeight:function(t){var e;g&&!w||(e=w?p:p.viewport,t?e.animate({height:p.slides.eq(p.animatingTo).innerHeight()}
1,t):e.innerHeight(p.slides.eq(p.animatingTo).innerHeight()))},sync:function(t){var e=u(p.vars.sync).data("flexslider"),i=p.animatingTo;switch(t){case"animate":e.flexAnimate(i,p.vars.pauseOnAction,!1,!0);break;case"play":e.playing||e.asNav||e.play();break;case"pause":e.pause()}},uniqueID:function(t){return t.filter("[id]").add(t.find("[id]")).each(function(){var t=u(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var t=c.pauseInvisible.getHiddenProp();t&&(t=t.replace(/[H|h]idden/,"")+"visibilitychange",document.addEventListener(t,function(){c.pauseInvisible.isHidden()?p.startTimeout?clearTimeout(p.startTimeout):p.pause():!p.started&&0<p.vars.initDelay?setTimeout(p.play,p.vars.initDelay):p.play()}))},isHidden:function(){var t=c.pauseInvisible.getHiddenProp();return!!t&&document[t]},getHiddenProp:function(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;e<t.length;e++)if(t[e]+"Hidden"in document)return t[e]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(e),e=setTimeout(function(){l=""},3e3)}},p.flexAnimate=function(t,e,i,n,a){if(p.vars.animationLoop||t===p.currentSlide||(p.direction=t>p.currentSlide?"next":"prev"),d&&1===p.pagingCount&&(p.direction=p.currentItem<t?"next":"prev"),!p.animating&&(p.canAdvance(t,a)||i)&&p.is(":visible")){if(d&&n){i=u(p.vars.asNavFor).data("flexslider");if(p.atEnd=0===t||t===p.count-1,i.flexAnimate(t,!0,!1,!0,a),p.direction=p.currentItem<t?"next":"prev",i.direction=p.direction,Math.ceil((t+1)/p.visible)-1===p.currentSlide||0===t)return p.currentItem=t,p.slides.removeClass(o+"active-slide").eq(t).addClass(o+"active-slide"),!1;p.currentItem=t,p.slides.removeClass(o+"active-slide").eq(t).addClass(o+"active-slide"),t=Math.floor(t/p.visible)}var s;p.animating=!0,p.animatingTo=t,e&&p.pause(),p.vars.before(p),p.syncExists&&!a&&c.sync("animate"),p.vars.controlNav&&c.controlNav.active(),y||p.slides.removeClass(o+"active-slide").eq(t).addClass(o+"active-slide"),p.atEnd=0===t||t===p.last,p.vars.directionNav&&c.directionNav.update(),t===p.last&&(p.vars.end(p),p.vars.animationLoop||p.pause()),w?r?(p.slides.eq(p.currentSlide).css({opacity:0,zIndex:1}),p.slides.eq(t).css({opacity:1,zIndex:2}),p.wrapup(s)):(p.slides.eq(p.currentSlide).css({zIndex:1}).animate({opacity:0}
1,p.vars.animationSpeed,p.vars.easing),p.slides.eq(t).css({zIndex:2}).animate({opacity:1},p.vars.animationSpeed,p.vars.easing,p.wrapup)):(s=g?p.slides.filter(":first").height():p.computedW,e=y?(n=p.vars.itemMargin,(i=(p.itemW+n)*p.move*p.animatingTo)>p.limit&&1!==p.visible?p.limit:i):0===p.currentSlide&&t===p.count-1&&p.vars.animationLoop&&"next"!==p.direction?v?(p.count+p.cloneOffset)*s:0:p.currentSlide===p.last&&0===t&&p.vars.animationLoop&&"prev"!==p.direction?v?0:(p.count+1)*s:v?(p.count-1-t+p.cloneOffset)*s:(t+p.cloneOffset)*s,p.setProps(e,"",p.vars.animationSpeed),p.transitions?(p.vars.animationLoop&&p.atEnd||(p.animating=!1,p.currentSlide=p.animatingTo),p.container.unbind("webkitTransitionEnd transitionend"),p.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(p.ensureAnimationEnd),p.wrapup(s)}),clearTimeout(p.ensureAnimationEnd),p.ensureAnimationEnd=setTimeout(function(){p.wrapup(s)},p.vars.animationSpeed+100)):p.container.animate(p.args,p.vars.animationSpeed,p.vars.easing,function(){p.wrapup(s)})),p.vars.smoothHeight&&c.smoothHeight(p.vars.animationSpeed)}},p.wrapup=function(t){w||y||(0===p.currentSlide&&p.animatingTo===p.last&&p.vars.animationLoop?p.setProps(t,"jumpEnd"):p.currentSlide===p.last&&0===p.animatingTo&&p.vars.animationLoop&&p.setProps(t,"jumpStart")),p.animating=!1,p.currentSlide=p.animatingTo,p.vars.after(p)},p.animateSlides=function(){!p.animating&&i&&p.flexAnimate(p.getTarget("next"))},p.pause=function(){clearInterval(p.animatedSlides),p.animatedSlides=null,p.playing=!1,p.vars.pausePlay&&c.pausePlay.update("play"),p.syncExists&&c.sync("pause")},p.play=function(){p.playing&&clearInterval(p.animatedSlides),p.animatedSlides=p.animatedSlides||setInterval(p.animateSlides,p.vars.slideshowSpeed),p.started=p.playing=!0,p.vars.pausePlay&&c.pausePlay.update("pause"),p.syncExists&&c.sync("play")},p.stop=function(){p.pause(),p.stopped=!0},p.canAdvance=function(t,e){var i=d?p.pagingCount-1:p.last;return!!e||(d&&p.currentItem===p.count-1&&0===t&&"prev"===p.direction||(!d||0!==p.currentItem||t!==p.pagingCount-1||"next"===p.direction)&&((t!==p.currentSlide||d)&&(!!p.vars.animationLoop||(!p.atEnd||0!==p.currentSlide||t!==i||"next"===p.direction)&&(!p.atEnd||p.currentSlide!==i||0!==t||"next"!==p.direction))))},p.getTarget=function(t){return"next"===(p.direction=t)?p.currentSlide===p.last?0:p.currentSlide+1:0===p.currentSlide?p.last:p.currentSlide-1},p.setProps=function(t,e,i){n=t||(p.itemW+p.vars.itemMargin)*p.move*p.animatingTo;var n,a=-1*function(){if(y)return"setTouch"===e?t:v&&p.animatingTo===p.last?0:v?p.limit-(p.itemW+p.vars.itemMargin)*p.move*p.animatingTo:p.animatingTo===p.last?p.limit:n;switch(e){case"setTotal":return v?(p.count-1-p.currentSlide+p.cloneOffset)*t:(p.currentSlide+p.cloneOffset)*t;case"setTouch":return t;case"jumpEnd":return v?t:p.count*t;case"jumpStart":return v?p.count*t:t;default:return t}}()+"px";p.transitions&&(a=g?"translate3d(0,"+a+",0)":"translate3d("+a+",0,0)",p.container.css("-"+p.pfx+"-transition-duration",i=void 0!==i?i/1e3+"s":"0s"),p.container.css("transition-duration",i)),p.args[p.prop]=a,!p.transitions&&void 0!==i||p.container.css(p.args),p.container.css("transform",a)},p.setup=function(t){var e,i;w?(p.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(r?p.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+p.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(p.currentSlide).css({opacity:1,zIndex:2}):0==p.vars.fadeFirstSlide?p.slides.css({opacity:0,display:"block",zIndex:1}).eq(p.currentSlide).css({zIndex:2}).css({opacity:1}):p.slides.css({opacity:0,display:"block",zIndex:1}).eq(p.currentSlide).css({zIndex:2}).animate({opacity:1},p.vars.animationSpeed,p.vars.easing)),p.vars.smoothHeight&&c.smoothHeight()):("init"===t&&(p.viewport=u('<div class="'+o+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(p).append(p.container),p.cloneCount=0,p.cloneOffset=0,v&&(i=u.makeArray(p.slides).reverse(),p.slides=u(i),p.container.empty().append(p.slides))),p.vars.animationLoop&&!y&&(p.cloneCount=2,p.cloneOffset=1,"init"!==t&&p.container.find(".clone").remove(),p.container.append(c.uniqueID(p.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(c.uniqueID(p.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),p.newSlides=u(p.vars.selector,p),e=v?p.count-1-p.currentSlide+p.cloneOffset:p.currentSlide+p.cloneOffset,g&&!y?(p.container.height(200*(p.count+p.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){p.newSlides.css({display:"block"}),p.doMath(),p.viewport.height(p.h),p.setProps(e*p.h,"init")},"init"===t?100:0)):(p.container.width(200*(p.count+p.cloneCount)+"%"),p.setProps(e*p.computedW,"init"),setTimeout(function(){p.doMath(),p.newSlides.css({width:p.computedW,marginRight:p.computedM,float:"left",display:"block"}),p.vars.smoothHeight&&c.smoothHeight()},"init"===t?100:0))),y||p.slides.removeClass(o+"active-slide").eq(p.currentSlide).addClass(o+"active-slide"),p.vars.init(p)},p.doMath=function(){var t=p.slides.first(),e=p.vars.itemMargin,i=p.vars.minItems,n=p.vars.maxItems;p.w=(void 0===p.viewport?p:p.viewport).width(),p.h=t.height(),p.boxPadding=t.outerWidth()-t.width(),y?(p.itemT=p.vars.itemWidth+e,p.itemM=e,p.minW=i?i*p.itemT:p.w,p.maxW=n?n*p.itemT-e:p.w,p.itemW=p.minW>p.w?(p.w-e*(i-1))/i:p.maxW<p.w?(p.w-e*(n-1))/n:p.vars.itemWidth>p.w?p.w:p.vars.itemWidth,p.visible=Math.floor(p.w/p.itemW),p.move=0<p.vars.move&&p.vars.move<p.visible?p.vars.move:p.visible,p.pagingCount=Math.ceil((p.count-p.visible)/p.move+1),p.last=p.pagingCount-1,p.limit=1===
1p.pagingCount?0:p.vars.itemWidth>p.w?p.itemW*(p.count-1)+e*(p.count-1):(p.itemW+e)*p.count-p.w-e):(p.itemW=p.w,p.itemM=e,p.pagingCount=p.count,p.last=p.count-1),p.computedW=p.itemW-p.boxPadding,p.computedM=p.itemM},p.update=function(t,e){p.doMath(),y||(t<p.currentSlide?p.currentSlide+=1:t<=p.currentSlide&&0!==t&&--p.currentSlide,p.animatingTo=p.currentSlide),p.vars.controlNav&&!p.manualControls&&("add"===e&&!y||p.pagingCount>p.controlNav.length?c.controlNav.update("add"):("remove"===e&&!y||p.pagingCount<p.controlNav.length)&&(y&&p.currentSlide>p.last&&(--p.currentSlide,--p.animatingTo),c.controlNav.update("remove",p.last))),p.vars.directionNav&&c.directionNav.update()},p.addSlide=function(t,e){t=u(t);p.count+=1,p.last=p.count-1,g&&v?void 0!==e?p.slides.eq(p.count-e).after(t):p.container.prepend(t):void 0!==e?p.slides.eq(e).before(t):p.container.append(t),p.update(e,"add"),p.slides=u(p.vars.selector+":not(.clone)",p),p.setup(),p.vars.added(p)},p.removeSlide=function(t){var e=isNaN(t)?p.slides.index(u(t)):t;--p.count,p.last=p.count-1,(isNaN(t)?u(t,p.slides):g&&v?p.slides.eq(p.last):p.slides.eq(t)).remove(),p.doMath(),p.update(e,"remove"),p.slides=u(p.vars.selector+":not(.clone)",p),p.setup(),p.vars.removed(p)},c.init()},u(window).blur(function(t){i=!1}).focus(function(t){i=!0}),u.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},u.fn.flexslider=function(i){if("object"==typeof(i=void 0===i?{}:i))return this.each(function(){var t=u(this),e=i.selector||".slides > li",e=t.find(e);1===e.length&&!1===i.allowOneSlide||0===e.length?(e.fadeIn(400),i.start&&i.start(t)):void 0===t.data("flexslider")&&new u.flexslider(this,i)});var t=u(this).data("flexslider");switch(i){case"play":t.play();break;case"pause":t.pause();break;case"stop":t.stop();break;case"next":t.flexAnimate(t.getTarget("next"),!0);break;case"prev":case"previous":t.flexAnimate(t.getTarget("prev"),!0);break;default:"number"==typeof i&&t.flexAnimate(i,!0)}}}(jQuery),function(a){a.fn.fitVids=function(t){var e={customSelector:null},i=document.createElement("div"),n=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];return i.className="fit-vids-style",i.innerHTML="­<style>.fluid-width-video-wrapper {width: 100%;position: relative;padding: 0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position: absolute;top: 0;left: 0;width: 100%;height: 100%;}</style>\n",n.parentNode.insertBefore(i,n),t&&a.extend(e,t),this.each(function(){var t=["iframe[src^='http://player.vimeo.com']","iframe[src^='https://player.vimeo.com']","iframe[src^='//player.vimeo.com']","iframe[src^='http://www.youtube.com']","iframe[src^='https://www.youtube.com']","iframe[src^='//www.youtube.com']","iframe[src^='http://www.kickstarter.com']","object","embed"];e.customSelector&&t.push(e.customSelector),a(this).find(t.join(",")).each(function(){var t,e,i=a(this);"embed"==this.tagName.toLowerCase()&&i.parent("object").length||i.parent(".fluid-width-video-wrapper").length||(t=("object"==this.tagName.toLowerCase()?i.attr("height"):i.height())/i.width(),i.attr("id")||(e="fitvid"+Math.floor(999999*Math.random()),i.attr("id",e)),i.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*t+"%"),i.removeAttr("height").removeAttr("width"))})})}}(jQuery),$.fn.equalHeights=function(t){return $(this).each(function(){var e=0;$(this).children().each(function(t){$(this).height()>e&&(e=$(this).height())}),!t&&Number.prototype.pxToEm&&(e=e.pxToEm()),$.browser.msie&&6==$.browser.version&&$(this).children().css({height:e}),$(this).children().css({"min-height":e})}),this},function(y){var n=!1;function o(t,e,i){var n,a=t,a=(i.nostyle||a.css({position:"relative"}),a.data("nailthumb.originalImageDims")||a.css({width:"auto",height:"auto",top:0,left:0}).removeAttr("width").removeAttr("height"),h(e,i),function(t,e){var i;t.data("nailthumb.originalImageDims")?i=t.data("nailthumb.originalImageDims"):(i=_(t),t.data("nailthumb.originalImageDims",
1i),e.keepImageDimensions||t.one("load",function(){t.data("nailthumb.originalImageDims",null)}));return i}(t,i)),s=(S("image",t),S("imageDims",a),0!=a.width&&0!=a.height||S("imageCloneDims",a=function(t){var e,i=null,n=0;for(;e=t[n++];){var a,s,o=y(e).parents().andSelf().filter(":hidden");o.length?(a=[],o.each(function(){var t=void 0===(t=y(this).attr("style"))?"":t;a.push(t),y(this).attr("style",t+" display: block !important;")}),o.eq(0).css("left",-1e4),s=o.eq(0).clone(),y("body").append(s),i=g(s),o.each(function(){y(this).attr("style",a.shift())}),s.remove()):i=g(e)}return i}(t)),m(e,i)),o=(S("container",e),S("containerDims",s),function(t,e,i){{var n;return null!=i.proportions&&0<i.proportions?i.proportions:(n=t.innerWidth/e.width,i.method&&"resize"==i.method?t.innerHeight/e.height<n&&(n=t.innerHeight/e.height):t.innerHeight/e.height>n&&(n=t.innerHeight/e.height),i.maxEnlargement&&i.maxEnlargement<n&&(n=i.maxEnlargement),n=i.maxShrink&&i.maxShrink>n?i.maxShrink:n)}}(s,a,i)),r=(x("proportions",o),s),s=o,o=i,l=a.width*s,d=a.height*s,c=0,u=0,s=function(t){var e={h:"center",v:"center"};t&&(0<(t=t.split(" ")).length&&(e=p(t[0],e)),1<t.length&&(e=p(t[1],e)));return e}(o.fitDirection);if(d<r.innerHeight)switch(s.v){case"center":c=-(d-r.innerHeight)/2;break;case"bottom":c=-(d-r.innerHeight),n="bottom";break;case"top":c=0,n="top"}else if(d>r.innerHeight)switch(s.v){case"center":c=-(d-r.innerHeight)/2;break;case"bottom":c=-(d-r.innerHeight)}if(l<r.innerWidth)switch(s.h){case"center":u=-(l-r.innerWidth)/2;break;case"right":u=-(l-r.innerWidth)}else if(l>r.innerWidth)switch(s.h){case"center":u=-(l-r.innerWidth)/2;break;case"right":u=-(l-r.innerWidth)}t.addClass(o.imageClass),(t.data("nailthumb.replaceto")?function(t,e,i,n,a,s,o,r,l,d){var c=t.data("nailthumb.replaceto"),u=function(t){var e=null;return t.find("img").each(function(){e||y(this).data("nailthumb.replaceto")||(e=y(this))}),e}(c);t.data("nailthumb.replacing",!0),t.on("load",function(){t.data("nailthumb.replacing",null)}),u?u.replaceWith(t):c.append(t);d.afterReplace&&d.afterReplace(i,t,d);f(t,e,i,n,a,s,o,r,l,d)}:f)(t,a,e,r,d,l,u,c,n,o)}function r(t,e){e=y("<img />").attr("src",e.imageUrl).css("display","none").data("nailthumb.replaceto",t);return t.append(e),e}function l(t,e){var i,n=t.find("a").first();return(n=0==n.length&&t.is("a")?t:n).attr("href")&&(i=y("<img />").attr("src",n.attr("href")).css("display","none").data("nailthumb.replaceto",n),n.attr("title")&&i.attr("title",n.attr("title")),n.append(i)),i}function h(t,e){e.containerClass&&t.addClass(e.containerClass),e.nostyle||t.css({overflow:"hidden",padding:"0px"}),"animate"==e.replaceAnimation?(e.width||e.height)&&t.animate({width:e.width,height:e.height},e.animationTime,e.animation):(e.width&&t.width(e.width),e.height&&t.height(e.height)),t.find("span."+e.titleClass).remove()}function f(t,e,i,n,a,s,o,r,l,d){"animate"==d.replaceAnimation?(t.css("display","inline"),i.animate({width:n.innerWidth,height:n.innerHeight},d.animationTime,d.animation),t.animate({width:s,height:a,top:r,left:o},d.animationTime,d.animation,function(){c(t,e,i,n,a,s,o,0,l,d)})):(i.css({width:n.innerWidth,height:n.innerHeight}),d.replaceAnimation&&t.css("display","none"),t.css({width:s,height:a,top:r,left:o}),"fade"==d.replaceAnimation?t.fadeIn(d.animationTime,d.animation,function(){c(t,e,i,n,a,s,o,0,l,d)}):"slide"==d.replaceAnimation?t.slideDown(d.animationTime,d.animation,function(){c(t,e,i,n,a,s,o,0,l,d)}):d.replaceAnimation&&d.replaceAnimation instanceof Function?(d.replaceAnimation(t,function(){c(t,e,i,n,a,s,o,0,l,d)},d),d.selfStartAfterAppear||c(t,e,i,n,a,s,o,0,l,d)):(t.css("display","inline"),c(t,e,i,n,a,s,o,0,l,d)))}function c(t,e,i,n,a,s,o,r,l,d){d.afterAppear&&d.afterAppear(i,t,d),t.data("nailthumb.replaceto",null);var c,u,h,f,p,m=i,g=n,i=a,n=s,a=o,s=l,v=d;(v.title||v.titleAttr&&t.attr(v.titleAttr))&&(o=v.title||t.attr(v.titleAttr))&&(c=y('<span class="'+v.titleClass+'">'+o+"</span>"),g.innerHeight>i?c.css("top",g.innerHeight-i):c.css("top","0px"),m.append(c),u=_(c),o=_(t),S("decorate containerDims",g),S("decorate imageDims",e),S("decorate imageDims",o),S("decorate tit",u),h=g.offsetTop+g.innerHe
1ight-u.offsetTop,g.height>g.innerHeight&&(h+=(g.height-g.innerHeight)/2),c.css("top","+="+h),n<u.width&&c.css("width",n),0<a&&c.css("left",a),f=u.height,g.innerHeight>i&&"bottom"!=s&&(f+=(g.innerHeight-i)/("top"==s?1:2)),(e=c.clone()).css("width","auto").css("display","none").css("position","absolute"),m.append(e),p=_(e),e.remove(),S("decorate cloneDims",p),"hover"==v.titleWhen?m.unbind("mouseenter mouseleave").hover(function(){c.find("span."+v.titleScrollerClass).css("left",0),g=_(m),u=_(c),h=g.offsetTop+g.innerHeight-u.offsetTop,g.height>g.innerHeight&&(h+=(g.height-g.innerHeight)/2),S("decorate hover tit",u),x("decorate hover outbound",u);var t=0,t=h<0?(c.css("top","+="+h),f):f-h;v.animateTitle?(w(c,v),c.stop(!0).animate({top:"-="+t},v.titleAnimationTime,v.titleAnimation,function(){b(c,p.width,g.innerWidth,v)})):(c.css({top:"-="+t}),b(c,p.width,g.innerWidth,v))},function(){v.animateTitle?(w(c,v),c.animate({top:"+="+f},v.titleAnimationTime,v.titleAnimation,function(){w(c,v)})):(w(c,v),c.css({top:"+="+f}))}):v.animateTitle?c.animate({top:"-="+f},v.titleAnimationTime,v.titleAnimation,function(){b(c,p.width,g.innerWidth,v)}):(c.css({top:"-="+f}),b(c,p.width,g.innerWidth,v))),v.onFinish&&v.onFinish(m,v),v.loadingClass&&m.removeClass(v.loadingClass),t.data("nailthumb.working",null)}function w(t,e){t.find("span."+e.titleScrollerClass).stop()}function b(t,e,i,n){i<e&&n.titleScrolling&&(0==t.find("span."+n.titleScrollerClass).length&&(t.wrapInner('<span class="'+n.titleScrollerClass+'" />'),t.find("span."+n.titleScrollerClass).width(e).css("position","relative").css("white-space","nowrap")),t.find("span."+n.titleScrollerClass).css("left",0),setTimeout(function e(i,n,a,s){return function(){var t=Number(i.find("span."+s.titleScrollerClass).css("left").replace(/[^-\d]/g,"")),t=(x("indent",t),x("width",n),x("visibleWidth",a),x("width <= -indent",n<=-t),n+t);t<=0&&(i.find("span."+s.titleScrollerClass).css("left",a),t=n+a),t+=10,i.find("span."+s.titleScrollerClass).animate({left:"-="+t},1e3*n/30,"linear",e(i,n,a,s))}}(t,e,i,n),1e3))}function p(t,e){switch(t){case"top":e.v="top";break;case"bottom":e.v="bottom";break;case"left":e.h="left";break;case"right":e.h="right"}return e}function m(t,e){t=_(t);return e.width&&(t.innerWidth=e.width),e.height&&(t.innerHeight=e.height),t}function g(t){var e=y(t).offset();return{offsetTop:e.top,offsetLeft:e.left,width:y(t).outerWidth(),height:y(t).outerHeight(),innerWidth:y(t).innerWidth(),innerHeight:y(t).innerHeight()}}function _(t){for(var e,i=null,n=0;e=t[n++];){var a,s=y(e).parents().andSelf().filter(":hidden");s.length?(a=[],s.each(function(){var t=void 0===(t=y(this).attr("style"))?"":t;a.push(t),y(this).attr("style",t+" display: block !important;")}),s.eq(0).css("left",-1e4),i=g(e),s.each(function(){y(this).attr("style",a.shift())})):i=g(e)}return i}function x(t,e,i){try{(n&&window.console&&window.console.log||i)&&window.console.log(t+": "+e)}catch(t){}}function S(t,e,i){try{x(t,e=e||t),(n&&window.console&&window.console.log||i)&&window.console.debug(e)}catch(t){}}y.fn.nailthumb=function(t){var s=y.extend({},y.fn.nailthumb.defaults,t);return this.each(function(){var t=y(this),e=y.metadata?y.extend({},s,t.metadata()):s,i=e,n=function(t,e){var i=t.find("img").first(),n=e.imageCustomFinder;!n&&e.imageUrl?n=r:!n&&e.imageFromWrappingLink&&(n=l);n&&(S("finder",n=n(t,e)),0<(n=n||[]).length&&((i=n).css("display","none"),i.data("nailthumb.replaceto")||i.data("nailthumb.replaceto",t),i.data("nailthumb.originalImageDims",null)));0==i.length&&t.is("img")&&(i=t);return i}(t,i),a=function(t,e){var i=t;t.is("img")&&(e.ifImageAddContainer&&(e=y("<div></div>"),t.wrap(e)),i=t.parent());return i}(t,i);i.serverSideParams&&y.fn.nailthumb.setServerSideParams(n,a,i),S("image",n),S("container",a),i.onStart&&i.onStart(a,i),i.loadingClass&&a.addClass(i.loadingClass),i.preload||n.data("nailthumb.replaceto")?(x("wait on load"),n.one("load",function(){S("before check",n),n.data("nailthumb.working")||n.data("nailthumb.replacing")||(n.data("nailthumb.working",!0),S("inside check",n),o(n,a,i))}),t=n.attr("src"),n.attr("src",null).attr("src",t)):(x("nail thumb directly"),n.data("nailthumb.working",!0),o(n,a,i))})}
1,y.fn.nailthumb.evalServerSideParams=function(t,e,i){var n,a,s,o;return i.serverSideParams?(n={},i.serverSideParams.noServerResize||(s=a=null,i.serverSideParams.width?a=i.serverSideParams.width:i.width&&(a=i.width),i.serverSideParams.height?s=i.serverSideParams.height:i.height&&(s=i.height),a&&s||(h(e,i),a=(e=m(e,i)).innerWidth,s=e.innerHeight),a&&s&&(n.w=a,n.h=s,"resize"!=i.serverSideParams.mode&&("crop"==i.method&&(n.mode="crop"),i.serverSideParams.mode&&(n.mode=i.serverSideParams.mode)))),y.each(i.serverSideParams,function(t,e){"width"!=t&&"height"!=t&&"mode"!=t&&"noServerResize"!=t&&e&&(n[t]=e)}),o="",y.each(n,function(t,e){o+=";"+t+"="+e}),x(o,n),o):""},y.fn.nailthumb.setServerSideParams=function(t,e,i){var n;i.serverSideParams&&(n=t.attr("src"),t.data("nailthumb.originalImageUrl")&&(n=t.data("nailthumb.originalImageUrl")),t.data("nailthumb.originalImageUrl",n),e=y.fn.nailthumb.evalServerSideParams(t,e,i),t.attr("src",n+=e))},y.fn.nailthumb.toggleDebug=function(){n=!n},y.fn.nailthumb.doThumb=function(t,e,i){o(t,e,i)},y.fn.nailthumb.defaults={onStart:null,onFinish:null,loadingClass:"nailthumb-loading",imageUrl:null,imageFromWrappingLink:!1,imageCustomFinder:null,imageClass:"nailthumb-image",afterReplace:null,afterAppear:null,replaceAnimation:"fade",selfStartAfterAppear:!1,animationTime:1e3,animation:"swing",keepImageDimensions:!1,method:"crop",fitDirection:null,proportions:null,ifImageAddContainer:!0,containerClass:"nailthumb-container",maxEnlargement:null,maxShrink:null,preload:!0,nostyle:!1,width:null,height:null,title:null,titleClass:"nailthumb-title",titleAttr:"title",titleWhen:"hover",titleScrolling:!0,titleScrollerClass:"nailthumb-title-scroller",animateTitle:!0,titleAnimationTime:500,titleAnimation:"swing",serverSideParams:null}}(jQuery),function(n,p){"use strict";function m(t,e,i,n,a,s,o){if(o="number"==typeof o?o:0,t.css(i,n+s),e<=(s=t.width())){if(t.css(i,""),s===e)return{match:"exact",size:parseFloat((parseFloat(n)-.1).toFixed(3))};t=e-o,e=s-e;return{match:"estimate",size:parseFloat((parseFloat(n)-("word-spacing"===i&&o&&e<t?0:a)).toFixed(3))}}return s}var o=0,r=p("head"),e=n.BigText,i=p.fn.bigtext,g={DEBUG_MODE:!1,DEFAULT_MIN_FONT_SIZE_PX:null,DEFAULT_MAX_FONT_SIZE_PX:528,GLOBAL_STYLE_ID:"bigtext-style",STYLE_ID:"bigtext-id",LINE_CLASS_PREFIX:"bigtext-line",EXEMPT_CLASS:"bigtext-exempt",noConflict:function(t){return t&&(p.fn.bigtext=i,n.BigText=e),g},supports:{wholeNumberFontSizeOnly:function(){if(!("getComputedStyle"in n))return!0;var t=p("<div/>").css({position:"absolute","font-size":"14.1px"}).insertBefore(p("script").eq(0)),e=n.getComputedStyle(t[0],null),e=e&&"14px"===e.getPropertyValue("font-size");return t.remove(),e}()},init:function(){p("#"+g.GLOBAL_STYLE_ID).length||r.append(g.generateStyleTag(g.GLOBAL_STYLE_ID,[".bigtext * { white-space: nowrap; } .bigtext > * { display: block; }",".bigtext ."+g.EXEMPT_CLASS+", .bigtext ."+g.EXEMPT_CLASS+" * { white-space: normal; }"]))},bindResize:function(t,e){var i;p(n).unbind(t).bind(t,function(){i&&clearTimeout(i),i=setTimeout(e,100)})},getStyleId:function(t){return g.STYLE_ID+"-"+t},generateStyleTag:function(t,e){return p("<style>"+e.join("\n")+"</style>").attr("id",t)},clearCss:function(t){t=g.getStyleId(t);p("#"+t).remove()},generateCss:function(t,e,i,n){var a=[];g.clearCss(t);for(var s=0,o=e.length;s<o;s++)a.push("#"+t+" ."+g.LINE_CLASS_PREFIX+s+" {"+(n[s]?" white-space: normal;":"")+(e[s]?" font-size: "+e[s]+"px;":"")+(i[s]?" word-spacing: "+i[s]+"px;":"")+"}");return g.generateStyleTag(g.getStyleId(t),a)},jQueryMethod:function(a){return g.init(),a=p.extend({minfontsize:g.DEFAULT_MIN_FONT_SIZE_PX,maxfontsize:g.DEFAULT_MAX_FONT_SIZE_PX,childSelector:"",resize:!0},a||{}),this.each(function(){var l,d,c,u,s,h,f,t=p(this).addClass("bigtext"),e=t.width(),i=t.attr("id"),n=a.childSelector?t.find(a.childSelector):t.children(),e=(i||(i="bigtext-id"+o++,t.attr("id",i)),a.resize&&g.bindResize("resize.bigtext-event-"+i,function(){g.jQueryMethod.call(p("#"+i),a)}),g.clearCss(i),n.addClass(function(t,e){return[e.replace(new RegExp("\\b"+g.LINE_CLASS_PREFIX+"\\d+\\b"),""),g.LINE_CLASS_PREFIX+t].join(" ")}),t=t,n=n,l=e,d=a.maxfontsize,c=a.minfontsize,t=t.clone(!0).addClass("bigtext-cloned").css({fontFamily:t.css("font-family"),textTransform:t.css("text-transform"),wordSpacing:t.css("word-spacing"),letterSpacing:t.css("letter-spacing"),position:"absolute",left:g.DEBUG_MODE?0:-9999,top:g.DEBUG_MODE?0:-9999}).appendTo(document.body),u=[],s=[],h=[],f=[],n.css("float","left").each(function(){var t,e=p(this),i=g.supports.wholeNumberFontSizeOnly?[8,4,1]:[8,4,1,.1];
1if(e.hasClass(g.EXEMPT_CLASS))return u.push(null),f.push(null),void h.push(!1);var n=parseFloat(e.css("font-size")),n=(e.width()/n).toFixed(6),a=parseInt(l/n,10)-10;t:for(var s=0,o=i.length;s<o;s++)for(var r=1;r<=10;r++){if(d<a+r*i[s]){a=d;break t}if("number"!=typeof(t=m(e,l,"font-size",a+r*i[s],i[s],"px",t))){if(a=t.size,"exact"===t.match)break t;break}}f.push(l/a),d<a?(u.push(d),h.push(!1)):c&&a<c?(u.push(c),h.push(!0)):(u.push(a),h.push(!1))}).each(function(t){var e,i=p(this),n=0;if(i.hasClass(g.EXEMPT_CLASS))s.push(null);else{i.css("font-size",u[t]+"px");for(var a=1;a<3;a+=1)if("number"!=typeof(e=m(i,l,"word-spacing",a,1,"px",e))){n=e.size;break}i.css("font-size",""),s.push(n)}}).removeAttr("style"),g.DEBUG_MODE?t.css({"background-color":"rgba(255,255,255,.4)"}):t.remove(),{fontSizes:u,wordSpacings:s,ratios:f,minFontSizes:h});r.append(g.generateCss(i,e.fontSizes,e.wordSpacings,e.minFontSizes))}),this.trigger("bigtext:complete")}};p.fn.bigtext=g.jQueryMethod,n.BigText=g}(this,jQuery),function(i,c){function u(t){return"function"!=typeof c.createElement?c.createElement(t):v?c.createElementNS.call(c,"http://www.w3.org/2000/svg",t):c.createElement.apply(c,arguments)}function n(t,e,i,n){var a,s,o,r,l="modernizr",d=u("div");(r=c.body)||((r=u(v?"svg":"body")).fake=!0);if(parseInt(i,10))for(;i--;)(s=u("div")).id=n?n[i]:l+(i+1),d.appendChild(s);(a=u("style")).type="text/css",a.id="s"+l,(r.fake?r:d).appendChild(a),r.appendChild(d),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(c.createTextNode(t)),d.id=l,r.fake&&(r.style.background="",r.style.overflow="hidden",o=g.style.overflow,g.style.overflow="hidden",g.appendChild(r)),e(d,t),r.fake?(r.parentNode.removeChild(r),g.style.overflow=o,g.offsetHeight):d.parentNode.removeChild(d)}var e,t,a,s,o,r,l,d,h=[],f={_version:"3.2.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(t,e){var i=this;setTimeout(function(){e(i[t])},0)},addTest:function(t,e,i){h.push({name:t,fn:e,options:i})},addAsyncTest:function(t){h.push({name:null,fn:t})}},p=function(){},m=(p.prototype=f,(p=new p).addTest("json","JSON"in i&&"parse"in JSON&&"stringify"in JSON),[]),g=c.documentElement,v="svg"===g.nodeName.toLowerCase(),y=(e=i.matchMedia||i.msMatchMedia)?function(t){t=e(t);return t&&t.matches||!1}:function(t){var e=!1;return n("@media "+t+" { #modernizr { position: absolute; } }",function(t){e="absolute"==(i.getComputedStyle?i.getComputedStyle(t,null):t.currentStyle).position}),e};for(d in f.mq=y,h)if(h.hasOwnProperty(d)){if(t=[],(a=h[d]).name&&(t.push(a.name.toLowerCase()),a.options&&a.options.aliases&&a.options.aliases.length))for(s=0;s<a.options.aliases.length;s++)t.push(a.options.aliases[s].toLowerCase());for(o="function"==typeof a.fn?a.fn():a.fn,r=0;r<t.length;r++)1===(l=t[r].split(".")).length?p[l[0]]=o:(!p[l[0]]||p[l[0]]instanceof Boolean||(p[l[0]]=new Boolean(p[l[0]])),p[l[0]][l[1]]=o),m.push((o?"":"no-")+l.join("-"))}delete f.addTest,delete f.addAsyncTest;for(var w=0;w<p._q.length;w++)p._q[w]();i.Modernizr=p}(window,document),function(n){n.fn.resizeToParent=function(o){var t,o=n.extend({parent:"div",delay:100},o);function e(t){t.css({width:"",height:"","margin-left":"","margin-top":""});var e=t.parents(o.parent).width(),i=t.parents(o.parent).height(),n=t.width(),a=t.height(),s=n/e,s=(a/s<i?(t.css({width:"auto",height:i}),n/=a/i,a=i):(t.css({height:"auto",width:e}),n=e,a/=s),(n-e)/-2);t.css({"margin-left":s,"margin-top":(a-i)/-2})}var i=this;return n(window).on("resize",function(){clearTimeout(t),t=setTimeout(function(){i.each(function(){e(n(this))})},o.delay)}),this.each(function(){var t=n(this);t.attr("src",t.attr("src")),t.on("load",function(){e(t)}),this.complete&&e(t)})}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(f){"use strict";var o,r,l,d,t={minHeight:0,elements:[],percentage:!0,userTiming:!0,pixelDepth:!0,nonInteraction:!0,gaGlobal:!1,gtmOverride:!1,trackerName:!1,dataLayer:"dataLayer"},p=f(window),m=[],g=!1,v=0;return f.scrollDepth=function(c){function u(t,e,i,n){var a=c.trackerName?c.trackerName+".send":"send";d?(d({event:"ScrollDistance",eventCategory:"Scroll Depth",eventAction:t,eventLabel:e,eventValue:1,eventNonInteraction:c.nonInteraction}),c.pixelDepth&&2<arguments.length&&v<i&&d({event:"ScrollDistance",eventCategory:"Scroll Depth",eventAction:"Pixel Depth",eventLabel:s(v=i),eventValue:1,eventNonInteraction:c.nonInteraction}),c.userTiming&&3<arguments.length&&d({event:"ScrollTiming",eventCategory:"Scroll Depth",eventAction:t,eventLabel:e,eventTiming:n})):(o&&(window[l](a,"event","Scroll Depth",t,e,1,{nonInteraction:c.nonInteraction}),c.pixelDepth&&2<arguments.length&&v<i&&(v=i,window[l](a,"event","Scroll Depth","Pixel Depth",s(i),1,{nonInteraction:c.nonInteraction})),c.userTiming&&3<arguments.length&&window[l](a,"timing","Scroll Depth",t,n,e)),r&&(_gaq.push(["_trackEvent","Scroll Depth",t,e,1,c.nonInteraction]),c.pixelDepth&&2<arguments.length&&v<i&&(v=i,_gaq.pu
1sh(["_trackEvent","Scroll Depth","Pixel Depth",s(i),1,c.nonInteraction])),c.userTiming&&3<arguments.length&&_gaq.push(["_trackTiming","Scroll Depth",t,n,e,100])))}function s(t){return(250*Math.floor(t/250)).toString()}function e(){function i(){d=new Date,l=null,r=n.apply(s,o)}var n,a,s,o,r,l,d;g=!0,p.on("scroll.scrollDepth",(n=function(){var i,n,t,a,s,e=f(document).height(),o=window.innerHeight||p.height(),o=p.scrollTop()+o,e=(e=e,{"25%":parseInt(.25*e,10),"50%":parseInt(.5*e,10),"75%":parseInt(.75*e,10),"100%":e-5}),r=+new Date-h;return m.length>=c.elements.length+(c.percentage?4:0)?(p.off("scroll.scrollDepth"),void(g=!1)):(c.elements&&(t=c.elements,a=o,s=r,f.each(t,function(t,e){-1===f.inArray(e,m)&&f(e).length&&a>=f(e).offset().top&&(u("Elements",e,a,s),m.push(e))})),void(c.percentage&&(i=o,n=r,f.each(e,function(t,e){-1===f.inArray(t,m)&&e<=i&&(u("Percentage",t,i,n),m.push(t))}))))},a=500,l=null,d=0,function(){var t=new Date,e=a-(t-(d=d||t));return s=this,o=arguments,e<=0?(clearTimeout(l),l=null,d=t,r=n.apply(s,o)):l=l||setTimeout(i,e),r}))}var h=+new Date;c=f.extend({},t,c),f(document).height()<c.minHeight||(c.gaGlobal?(o=!0,l=c.gaGlobal):"function"==typeof ga?(o=!0,l="ga"):"function"==typeof __gaTracker&&(o=!0,l="__gaTracker"),"undefined"!=typeof _gaq&&"function"==typeof _gaq.push&&(r=!0),"function"==typeof c.eventHandler?d=c.eventHandler:void 0===window[c.dataLayer]||"function"!=typeof window[c.dataLayer].push||c.gtmOverride||(d=function(t){window[c.dataLayer].push(t)}),f.scrollDepth.reset=function(){m=[],v=0,p.off("scroll.scrollDepth"),e()},f.scrollDepth.addElements=function(t){void 0!==t&&f.isArray(t)&&(f.merge(c.elements,t),g||e())},f.scrollDepth.removeElements=function(t){void 0!==t&&f.isArray(t)&&f.each(t,function(t,e){var i=f.inArray(e,c.elements),e=f.inArray(e,m);-1!=i&&c.elements.splice(i,1),-1!=e&&m.splice(e,1)})},e())},f.scrollDepth}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";var N;function f(){return N.apply(null,arguments)}function l(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function L(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function s(t){return void 0===t}function Y(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function j(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function R(t,e){for(var i=[],n=0;n<t.length;++n)i.push(e(t[n],n));return i}function p(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function r(t,e){for(var i in e)p(e,i)&&(t[i]=e[i]);return p(e,"toString")&&(t.toString=e.toString),p(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,i,n){return $e(t,e,i,n,!0).utc()}function m(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function W(t){if(null==t._isValid){var e=m(t),i=U.call(e.parsedDateParts,function(t){return null!=t}),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&i);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function H(t){var e=d(NaN);return null!=t?r(m(e),t):m(e).userInvalidated=!0,e}var U=Array.prototype.some||function(t){for(var e=Object(this),i=e.length>>>0,n=0;n<i;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1},q=f.momentProperties=[];function z(t,e){var i,n,a;if(s(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),s(e._i)||(t._i=e._i),s(e._f)||(t._f=e._f),s(e._l)||(t._l=e._l),s(e._strict)||(t._strict=e._strict),s(e._tzm)||(t._tzm=e._tzm),s(e._isUTC)||(t._isUTC=e._isUTC),s(e._offset)||(t._offset=e._offset),s(e._pf)||(t._pf=m(e)),s(e._locale)||(t._locale=e._locale),0<q.length)for(i=0;i<q.length;i++)s(a=e[n=q[i]])||(t[n]=a);return t}var V=!1;function G(t){z(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,f.updateOffset(this),V=!1)}function o(t){return t instanceof G||null!=t&&null!=t._isAMomentObject}function c(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function u(t){var t=+t,e=0;return e=0!=t&&isFinite(t)?c(t):e}function B(t,e,i){for(var n=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),s=0,o=0;o<n;o++)(i&&t[o]!==e[o]||!i&&u(t[o])!==u(e[o]))&&s++;return s+a}function Z(t){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function t(a,s){var o=!0;return r(function(){if(null!=f.deprecationHandler&&f.deprecationHandler(null,a),o){for(var t,e=[],i=0;i<arguments.length;i++){if(t="","object"==typeof arguments[i]){for(var n in t+="\n["+i+"] ",arguments[0])t+=n+": "+arguments[0][n]+", ";t=t.slice(0,-2)}else t=arguments[i];e.push(t)}Z(a+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack),o=!1}return s.apply(this,arguments)},s)}var Q={};function K(t,e){null!=f.deprecationHandler&&f.deprecationHandler(t,e),Q[t]||(Z(e),Q[t]=!0)}function h(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function X(t,e){var i,n=r({},t);for(i in e)p(e,i)&&(L(t[i])&&L(e[i])?(n[i]={},r(n[i],t[i]),r(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);for(i in t)p(t,i)&&!p(e,i)&&L(t[i])&&(n[i]=r({},n[i]));return n}function J(t){null!=t&&this.set(t)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null;var tt=Object.keys||function(t){var e,i=[];for(e in t)p(t,e)&&i.push(e);return i},et={};function e(t,e){var i=t.toLowerCase();et[i]=et[i+"s"]=et[e]=t}function g(t){return"string"==typeof t?et[t]||et[t.toLowerCase()]:void 0}function it(t){var e,i,n={};for(i in t)p(t,i)&&(e=g(i))&&(n[e]=t[i]);return n}var nt={};function i(t,e){nt[t]=e}function v(t,e,i){var n=""+Math.abs(t);return(0<=t?i?"+":"":"-")+Math.pow(10,Math.max(0,e-n.length)).toString().substr(1)+n}var at=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}
vendor: 10,369 bytes, line 1
1|x|X|zz?|ZZ?|.)/g,st=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ot={},rt={};function n(t,e,i,n){var a="string"==typeof n?function(){return this[n]()}:n;t&&(rt[t]=a),e&&(rt[e[0]]=function(){return v(a.apply(this,arguments),e[1],e[2])}),i&&(rt[i]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function lt(t,e){return t.isValid()?(e=dt(e,t.localeData()),ot[e]=ot[e]||function(n){for(var t,a=n.match(at),e=0,s=a.length;e<s;e++)rt[a[e]]?a[e]=rt[a[e]]:a[e]=(t=a[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){for(var e="",i=0;i<s;i++)e+=h(a[i])?a[i].call(t,n):a[i];return e}}(e),ot[e](t)):t.localeData().invalidDate()}function dt(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(st.lastIndex=0;0<=i&&st.test(t);)t=t.replace(st,n),st.lastIndex=0,--i;return t}var a=/\d/,y=/\d\d/,ct=/\d{3}/,ut=/\d{4}/,ht=/[+-]?\d{6}/,w=/\d\d?/,ft=/\d\d\d\d?/,pt=/\d\d\d\d\d\d?/,mt=/\d{1,3}/,gt=/\d{1,4}/,vt=/[+-]?\d{1,6}/,yt=/\d+/,wt=/[+-]?\d+/,bt=/Z|[+-]\d\d:?\d\d/gi,_t=/Z|[+-]\d\d(?::?\d\d)?/gi,b=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,xt={};function _(t,i,n){xt[t]=h(i)?i:function(t,e){return t&&n?n:i}}function St(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ct={};function x(t,i){var e,n=i;for("string"==typeof t&&(t=[t]),Y(i)&&(n=function(t,e){e[i]=u(t)}),e=0;e<t.length;e++)Ct[t[e]]=n}function Tt(t,a){x(t,function(t,e,i,n){i._w=i._w||{},a(t,i._w,i,n)})}var S=0,C=1,T=2,k=3,D=4,$=5,kt=6,Dt=7,$t=8;function Et(t){return Mt(t)?366:365}function Mt(t){return t%4==0&&t%100!=0||t%400==0}n("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),n(0,["YY",2],0,function(){return this.year()%100}),n(0,["YYYY",4],0,"year"),n(0,["YYYYY",5],0,"year"),n(0,["YYYYYY",6,!0],0,"year"),e("year","y"),i("year",1),_("Y",wt),_("YY",w,y),_("YYYY",gt,ut),_("YYYYY",vt,ht),_("YYYYYY",vt,ht),x(["YYYYY","YYYYYY"],S),x("YYYY",function(t,e){e[S]=2===t.length?f.parseTwoDigitYear(t):u(t)}),x("YY",function(t,e){e[S]=f.parseTwoDigitYear(t)}),x("Y",function(t,e){e[S]=parseInt(t,10)}),f.parseTwoDigitYear=function(t){return u(t)+(68<u(t)?1900:2e3)};var E,Pt=Ft("FullYear",!0);function Ft(e,i){return function(t){return null!=t?(At(this,e,t),f.updateOffset(this,i),this):Ot(this,e)}}function Ot(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function At(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&Mt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),It(i,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function It(t,e){if(isNaN(t)||isNaN(e))return NaN;var i=(e%12+12)%12;return t+=(e-i)/12,1==i?Mt(t)?29:28:31-i%7%2}E=Array.prototype.indexOf||function(t){for(var e=0;e<this.length;++e)if(this[e]===t)return e;return-1},n("M",["MM",2],"Mo",function(){return this.month()+1}),n("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),n("MMMM",0,0,function(t){return this.localeData().months(this,t)}),e("month","M"),i("month",8),_("M",w),_("MM",w,y),_("MMM",function(t,e){return e.monthsShortRegex(t)}),_("MMMM",function(t,e){return e.monthsRegex(t)}),x(["M","MM"],function(t,e){e[C]=u(t)-1}),x(["MMM","MMMM"],function(t,e,i,n){n=i._locale.monthsParse(t,n,i._strict);null!=n?e[C]=n:m(i).invalidMonth=t});var Nt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Lt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Yt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function jt(t,e){var i;if(t.isValid()){if("string"==typeof e)if(/^\d+$/.test(e))e=u(e);else if(!Y(e=t.localeData().monthsParse(e)))return;i=Math.min(t.date(),It(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i)}}function Rt(t){return null!=t?(jt(this,t),f.updateOffset(this,!0),this):Ot(this,"Month")}var Wt=b,Ht=b;function Ut(){function t(t,e){return e.length-t.length}for(var e,i=[],n=[],a=[],s=0;s<12;s++)e=d([2e3,s]),i.push(this.monthsShort(e,"")),n.push(this.months(e,"")),a.push(this.months(e,"")),a.push(this.monthsShort(e,""));for(i.sort(t),n.sort(t),a.sort(t),s=0;s<12;s++)i[s]=St(i[s]),n[s]=St(n[s]);for(s=0;s<24;s++)a[s]=St(a[s]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function qt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&0<=t&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function zt(t,e,i){i=7+e-i;return-(7+qt(t,0,i).getUTCDay()-e)%7+i-1}function Vt(t,e,i,n,a){var s,e=1+7*(e-1)+(7+i-n)%7+zt(t,n,a),i=e<=0?Et(s=t-1)+e:e>Et(t)?(s=t+1,e-Et(t)):(s=t,e);return{year:s,dayOfYear:i}}function Gt(t,e,i){var n,a,s=zt(t.year(),e,i),s=Math.floor((t.dayOfYear()-s-1)/7)+1;return s<1?n=s+Bt(a=t.year()-1,e,i):s>Bt(t.year(),e,i)?(n=s-Bt(t.year(),e,i),a=t.year()+1):(a=t.year(),n=s),{week:n,year:a}}function Bt(t,e,i){var n=zt(t,e,i),e=zt(t+1,e,i);return(Et(t)-n+e)/7}n("w",["ww",2],"wo","week"),n("W",["WW",2],"Wo","isoWeek"),e("week","w"),e("isoWeek","W"),i("week",5),i("isoWeek",5),_("w",w),_("ww",w,y),_("W",w),_("WW",w,y),Tt(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=u(t)}),n("d",0,"do","day"),n("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),n("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),n("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),n("e",0,0,"weekday"),n("E",0,0,"isoWeekday"),e("day","d"),e("weekday","e"),e("isoWeekday","E"),i("day",11),i("weekday",11),i("isoWeekday",11),_("d",w),_("e",w),_("E",w),_("dd",function(t,e){return e.weekdaysMinRegex(t)}),_("ddd",function(t,e){return e.weekdaysShortRegex(t)}),_("dddd",function(t,e){return e.weekdaysRegex(t)}),Tt(["dd","ddd","dddd"],function(t,e,i,n){n=i._locale.weekdaysParse(t,n,i._strict);null!=n?e.d=n:m(i).invalidWeekday=t}),Tt(["d","e","E"],function(t,e,i,n){e[n]=u(t)});var Zt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Kt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xt=b,Jt=b,te=b;function ee(){function t(t,e){return e.length-t.length}for(var e,i,n,a=[],s=[],o=[],r=[],l=0;l<7;l++)n=d([2e3,1]).day(l),e=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),n=this.weekdays(n,""),a.push(e),s.push(i),o.push(n),r.push(e),r.push(i),r.push(n);for(a.sort(t),s.sort(t),o.sort(t),r.sort(t),l=0;l<7;l++)s[l]=St(s[l]),o[l]=St(o[l]),r[l]=St(r[l]);this._weekdaysRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function ie(){return this.hours()%12||12}function ne(t,e){n(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function ae(t,e){return e._meridiemParse}n("H",["HH",2],0,"hour"),n("h",["hh",2],0,ie),n("k",["kk",2],0,function(){return this.hours()||24}),n("hmm",0,0,function(){return""+ie.apply(this)+v(this.minutes(),2)}),n("hmmss",0,0,function(){return""+ie.apply(this)+v(this.minutes(),2)+v(this.seconds(),2)}),n("Hmm",0,0,function(){return""+this.hours()+v(this.minutes(),2)}),n("Hmmss",0,0,function(){return""+this.hours()+v(this.minutes(),2)+v(this.seconds(),2)}),ne("a",!0),ne("A",!1),e("hour","h"),i("hour",13),_("a",ae),_("A",ae),_("H",w),_("h",w),_("k",w),_("HH",w,y),_("hh",w,y),_("kk",w,y),_("hmm",ft),_("hmmss",pt),_("Hmm",ft),_("Hmmss",pt),x(["H","HH"],k),x(["k","kk"],function(t,e,i){t=u(t);e[k]=24===t?0:t}),x(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),x(["h","hh"],function(t,e,i){e[k]=u(t),m(i).bigHour=!0}),x("hmm",function(t,e,i){var n=t.length-2;e[k]=u(t.substr(0,n)),e[D]=u(t.substr(n)),m(i).bigHour=!0}),x("hmmss",function(t,e,i){var n=t.length-4,a=t.length-2;e[k]=u(t.substr(0,n)),e[D]=u(t.substr(n,2)),e[$]=u(t.substr(a)),m(i).bigHour=!0}),x("Hmm",function(t,e,i){var n=t.length-2;e[k]=u(t.substr(0,n)),e[D]=u(t.substr(n))}),x("Hmmss",function(t,e,i){var n=t.length-4,a=t.length-2;e[k]=u(t.substr(0,n)),e[D]=u(t.substr(n,2)),e[$]=u(t.substr(a))});var se,b=Ft("Hours",!0),oe={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Lt,monthsShort:Yt,week:{dow:0,doy:6},weekdays:Zt,weekdaysMin:Kt,weekdaysShort:Qt,meridiemParse:/[ap]\.?m?\.?/i},M={},re={};function le(t){return t&&t.toLowerCase().replace("_","-")}function de(t){var e;if(!M[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=se._abbr,require("./locale/"+t),ce(e)}catch(t){}return M[t]}function ce(t,e){return t&&((e=s(e)?he(t):ue(t,e))?se=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),se._abbr}function ue(t,e){if(null===e)return delete M[t],null;var i,n=oe;if(e.abbr=t,null!=M[t])K("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=M[t]._config;else if(null!=e.parentLocale)if(null!=M[e.parentLocale])n=M[e.parentLocale]._config;else{if(null==(i=de(e.parentLocale)))return re[e.parentLocale]||(re[e.parentLocale]=[]),re[e.parentLocale].push({name:t,config:e}),null;n=i._config}return M[t]=new J(X(n,e)),re[t]&&re[t].forEach(function(t){ue(t.name,t.config)}),ce(t),M[t]}function he(t){var e;if(!(t=t&&t._locale&&t._locale._abbr?t._locale._abbr:t))return se;if(!l(t)){if(e=de(t))return e;t=[t]}for(var i,n,a,s,o=t,r=0;r<o.length;){for(i=(s=le(o[r]).split("-")).length,n=(n=le(o[r+1]))?n.split("-"):null;0<i;){if(a=de(s.slice(0,i).join("-")))return a;
1if(n&&n.length>=i&&B(s,n,!0)>=i-1)break;i--}r++}return se}function fe(t){var e=t._a;return e&&-2===m(t).overflow&&(e=e[C]<0||11<e[C]?C:e[T]<1||e[T]>It(e[S],e[C])?T:e[k]<0||24<e[k]||24===e[k]&&(0!==e[D]||0!==e[$]||0!==e[kt])?k:e[D]<0||59<e[D]?D:e[$]<0||59<e[$]?$:e[kt]<0||999<e[kt]?kt:-1,m(t)._overflowDayOfYear&&(e<S||T<e)&&(e=T),m(t)._overflowWeeks&&-1===e&&(e=Dt),m(t)._overflowWeekday&&-1===e&&(e=$t),m(t).overflow=e),t}function pe(t,e,i){return null!=t?t:null!=e?e:i}function me(t){var e,i,n,a,s,o,r,l,d=[];if(!t._d){var c=t,u=new Date(f.now()),h=c._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()];for(t._w&&null==t._a[T]&&null==t._a[C]&&(null!=(u=(c=t)._w).GG||null!=u.W||null!=u.E?(a=1,s=4,r=pe(u.GG,c._a[S],Gt(P(),1,4).year),l=pe(u.W,1),((i=pe(u.E,1))<1||7<i)&&(n=!0)):(a=c._locale._week.dow,s=c._locale._week.doy,o=Gt(P(),a,s),r=pe(u.gg,c._a[S],o.year),l=pe(u.w,o.week),null!=u.d?((i=u.d)<0||6<i)&&(n=!0):null!=u.e?(i=u.e+a,(u.e<0||6<u.e)&&(n=!0)):i=a),l<1||l>Bt(r,a,s)?m(c)._overflowWeeks=!0:null!=n?m(c)._overflowWeekday=!0:(o=Vt(r,l,i,a,s),c._a[S]=o.year,c._dayOfYear=o.dayOfYear)),null!=t._dayOfYear&&(u=pe(t._a[S],h[S]),(t._dayOfYear>Et(u)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=qt(u,0,t._dayOfYear),t._a[C]=n.getUTCMonth(),t._a[T]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=d[e]=h[e];for(;e<7;e++)t._a[e]=d[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[k]&&0===t._a[D]&&0===t._a[$]&&0===t._a[kt]&&(t._nextDay=!0,t._a[k]=0),t._d=(t._useUTC?qt:function(t,e,i,n,a,s,o){e=new Date(t,e,i,n,a,s,o);return t<100&&0<=t&&isFinite(e.getFullYear())&&e.setFullYear(t),e}).apply(null,d),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[k]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(m(t).weekdayMismatch=!0)}}var ge=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ve=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ye=/Z|[+-]\d\d(?::?\d\d)?/,we=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],be=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],_e=/^\/?Date\((\-?\d+)/i;function xe(t){var e,i,n,a,s,o,r=t._i,l=ge.exec(r)||ve.exec(r);if(l){for(m(t).iso=!0,e=0,i=we.length;e<i;e++)if(we[e][1].exec(l[1])){a=we[e][0],n=!1!==we[e][2];break}if(null==a)return t._isValid=!1;if(l[3]){for(e=0,i=be.length;e<i;e++)if(be[e][1].exec(l[3])){s=(l[2]||" ")+be[e][0];break}if(null==s)return t._isValid=!1}if(!n&&null!=s)return t._isValid=!1;if(l[4]){if(!ye.exec(l[4]))return t._isValid=!1;o="Z"}t._f=a+(s||"")+(o||""),ke(t)}else t._isValid=!1}var Se=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;var Ce={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Te(t){var e,i,n,a,s,o,r=Se.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());r?(e=r[4],i=r[3],n=r[2],a=r[5],s=r[6],o=r[7],e=[(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e,Yt.indexOf(i),parseInt(n,10),parseInt(a,10),parseInt(s,10)],o&&e.push(parseInt(o,10)),n=i=e,a=t,(s=r[1])&&Qt.indexOf(s)!==new Date(n[0],n[1],n[2]).getDay()?(m(a).weekdayMismatch=!0,a._isValid=!1):(t._a=i,t._tzm=function(t,e,i){if(t)return Ce[t];if(e)return 0;t=parseInt(i,10),e=t%100;return(t-e)/100*60+e}(r[8],r[9],r[10]),t._d=qt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0)):t._isValid=!1}function ke(t){if(t._f!==f.ISO_8601)if(t._f!==f.RFC_2822){t._a=[],m(t).empty=!0;for(var e,i,n,a=""+t._i,s=a.length,o=0,r=dt(t._f,t._locale).match(at)||[],l=0;l<r.length;
vendor: 8,609 bytes, line 1
1l++)e=r[l],(h=(a.match((h=t,p(xt,u=e)?xt[u](h._strict,h._locale):new RegExp(St(u.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,a){return e||i||n||a})))))||[])[0])&&(0<(u=a.substr(0,a.indexOf(h))).length&&m(t).unusedInput.push(u),a=a.slice(a.indexOf(h)+h.length),o+=h.length),rt[e]?(h?m(t).empty=!1:m(t).unusedTokens.push(e),u=e,n=t,null!=(i=h)&&p(Ct,u)&&Ct[u](i,n._a,n,u)):t._strict&&!h&&m(t).unusedTokens.push(e);m(t).charsLeftOver=s-o,0<a.length&&m(t).unusedInput.push(a),t._a[k]<=12&&!0===m(t).bigHour&&0<t._a[k]&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[k]=(s=t._locale,d=t._a[k],null==(c=t._meridiem)?d:null!=s.meridiemHour?s.meridiemHour(d,c):(null!=s.isPM&&((s=s.isPM(c))&&d<12&&(d+=12),s||12!==d||(d=0)),d)),me(t),fe(t)}else Te(t);else xe(t);var d,c,u,h}function De(t){var e,i,n=t._i,a=t._f;return t._locale=t._locale||he(t._l),null===n||void 0===a&&""===n?H({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),o(n)?new G(fe(n)):(j(n)?t._d=n:l(a)?function(t){var e,i,n,a,s;if(0===t._f.length)return m(t).invalidFormat=!0,t._d=new Date(NaN);for(a=0;a<t._f.length;a++)s=0,e=z({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[a],ke(e),W(e)&&(s=(s+=m(e).charsLeftOver)+10*m(e).unusedTokens.length,m(e).score=s,(null==n||s<n)&&(n=s,i=e));r(t,i||e)}(t):a?ke(t):s(a=(n=t)._i)?n._d=new Date(f.now()):j(a)?n._d=new Date(a.valueOf()):"string"==typeof a?(e=n,null===(i=_e.exec(e._i))?(xe(e),!1===e._isValid&&(delete e._isValid,Te(e),!1===e._isValid&&(delete e._isValid,f.createFromInputFallback(e)))):e._d=new Date(+i[1])):l(a)?(n._a=R(a.slice(0),function(t){return parseInt(t,10)}),me(n)):L(a)?(e=n)._d||(i=it(e._i),e._a=R([i.year,i.month,i.day||i.date,i.hour,i.minute,i.second,i.millisecond],function(t){return t&&parseInt(t,10)}),me(e)):Y(a)?n._d=new Date(a):f.createFromInputFallback(n),W(t)||(t._d=null),t))}function $e(t,e,i,n,a){var s={};return!0!==i&&!1!==i||(n=i,i=void 0),(L(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;for(var e in t)if(t.hasOwnProperty(e))return;return 1}(t)||l(t)&&0===t.length)&&(t=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=a,s._l=i,s._i=t,s._f=e,s._strict=n,(a=new G(fe(De(s))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function P(t,e,i,n){return $e(t,e,i,n,!1)}f.createFromInputFallback=t("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){};ft=t("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=P.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:H()}),pt=t("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=P.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:H()});function Ee(t,e){var i,n;if(!(e=1===e.length&&l(e[0])?e[0]:e).length)return P();for(i=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](i)||(i=e[n]);return i}var Me=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pe(t){var t=it(t),e=t.year||0,i=t.quarter||0,n=t.month||0,a=t.week||0,s=t.day||0,o=t.hour||0,r=t.minute||0,l=t.second||0,d=t.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===E.call(Me,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var i=!1,n=0;n<Me.length;++n)if(t[Me[n]]){if(i)return!1;parseFloat(t[Me[n]])!==u(t[Me[n]])&&(i=!0)}return!0}(t),this._milliseconds=+d+1e3*l+6e4*r+1e3*o*60*60,this._days=+s+7*a,this._months=+n+3*i+12*e,this._data={},this._locale=he(),this._bubble()}function Fe(t){return t instanceof Pe}function Oe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ae(t,i){n(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+v(~~(t/60),2)+i+v(~~t%60,2)})}Ae("Z",":"),Ae("ZZ",""),_("Z",_t),_("ZZ",_t),x(["Z","ZZ"],function(t,e,i){i._useUTC=!0,i._tzm=Ne(_t,t)});var Ie=/([\+\-]|\d\d)/gi;function Ne(t,e){e=(e||"").match(t);if(null===e)return null;t=((e[e.length-1]||[])+"").match(Ie)||["-",0,0],e=60*t[1]+u(t[2]);return 0===e?0:"+"===t[0]?e:-e}function Le(t,e){var i;return e._isUTC?(e=e.clone(),i=(o(t)||j(t)?t:P(t)).valueOf()-e.valueOf(),e._d.setTime(e._d.valueOf()+i),f.updateOffset(e,!1),e):P(t).local()}function Ye(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function je(){return!!this.isValid()&&this._isUTC&&0===this._offset}f.updateOffset=function(){};var Re=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,We=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function F(t,e){var i,n,a=t,s=null;return Fe(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:Y(t)?(a={},e?a[e]=t:a.milliseconds=t):(s=Re.exec(t))?(i="-"===s[1]?-1:1,a={y:0,d:u(s[T])*i,h:u(s[k])*i,m:u(s[D])*i,s:u(s[$])*i,ms:u(Oe(1e3*s[kt]))*i}):(s=We.exec(t))?(i="-"===s[1]?-1:(s[1],1),a={y:He(s[2],i),M:He(s[3],i),w:He(s[4],i),d:He(s[5],i),h:He(s[6],i),m:He(s[7],i),s:He(s[8],i)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(e=P(a.from),s=P(a.to),i=e.isValid()&&s.isValid()?(s=Le(s,e),e.isBefore(s)?n=Ue(e,s):((n=Ue(s,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(a={}).ms=i.milliseconds,a.M=i.months),s=new Pe(a),Fe(t)&&p(t,"_locale")&&(s._locale=t._locale),s}function He(t,e){t=t&&parseFloat(t.replace(",","."));return(isNaN(t)?0:t)*e}function Ue(t,e){var i={milliseconds:0,months:0};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+t.clone().add(i.months,"M"),i}function qe(n,a){return function(t,e){var i;return null===e||isNaN(+e)||(K(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=t,t=e,e=i),ze(this,F(t="string"==typeof t?+t:t,e),n),this}}function ze(t,e,i,n){var a=e._milliseconds,s=Oe(e._days),e=Oe(e._months);t.isValid()&&(n=null==n||n,e&&jt(t,Ot(t,"Month")+e*i),s&&At(t,"Date",Ot(t,"Date")+s*i),a&&t._d.setTime(t._d.valueOf()+a*i),n&&f.updateOffset(t,s||e))}F.fn=Pe.prototype,F.invalid=function(){return F(NaN)};Lt=qe(1,"add"),Zt=qe(-1,"subtract");function Ve(t,e){var i=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(i,"months");return-(i+(e-n<0?(e-n)/(n-t.clone().add(i-1,"months")):(e-n)/(t.clone().add(1+i,"months")-n)))||0}function Ge(t){return void 0===t?this._locale._abbr:(null!=(t=he(t))&&(this._locale=t),this)}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Kt=t("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function Be(){return this._locale}function Ze(t,e){n(0,[t,t.length],0,e)}function Qe(t,e,i,n,a){var s;return null==t?Gt(this,n,a).year:((s=Bt(t,n,a))<e&&(e=s),function(t,e,i,n,a){t=Vt(t,e,i,n,a),e=qt(t.year,0,t.dayOfYear);return this.year(e.getUTCFullYear()),this.month(e.getUTCMonth()),this.date(e.getUTCDate()),this}.call(this,t,e,i,n,a))}n(0,["gg",2],0,function(){return this.weekYear()%100}),n(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ze("gggg","weekYear"),Ze("ggggg","weekYear"),Ze("GGGG","isoWeekYear"),Ze("GGGGG","isoWeekYear"),e("weekYear","gg"),e("isoWeekYear","GG"),i("weekYear",1),i("isoWeekYear",1),_("G",wt),_("g",wt),_("GG",w,y),_("gg",w,y),_("GGGG",gt,ut),_("gggg",gt,ut),_("GGGGG",vt,ht),_("ggggg",vt,ht),Tt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=u(t)}),Tt(["gg","GG"],function(t,e,i,n){e[n]=f.parseTwoDigitYear(t)}),n("Q",0,"Qo","quarter"),e("quarter","Q"),i("quarter",7),_("Q",a),x("Q",function(t,e){e[C]=3*(u(t)-1)}),n("D",["DD",2],"Do","date"),e("date","D"),i("date",9),_("D",w),_("DD",w,y),_("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),x(["D","DD"],T),x("Do",function(t,e){e[T]=u(t.match(w)[0])});gt=Ft("Date",!0),n("DDD",["DDDD",3],"DDDo","dayOfYear"),e("dayOfYear","DDD"),i("dayOfYear",4),_("DDD",mt),_("DDDD",ct),x(["DDD","DDDD"],function(t,e,
vendor: 5,148 bytes, line 1
1i){i._dayOfYear=u(t)}),n("m",["mm",2],0,"minute"),e("minute","m"),i("minute",14),_("m",w),_("mm",w,y),x(["m","mm"],D),ut=Ft("Minutes",!1);n("s",["ss",2],0,"second"),e("second","s"),i("second",15),_("s",w),_("ss",w,y),x(["s","ss"],$);var Ke,vt=Ft("Seconds",!1);for(n("S",0,0,function(){return~~(this.millisecond()/100)}),n(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),n(0,["SSS",3],0,"millisecond"),n(0,["SSSS",4],0,function(){return 10*this.millisecond()}),n(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),n(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),n(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),n(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),n(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),e("millisecond","ms"),i("millisecond",16),_("S",mt,a),_("SS",mt,y),_("SSS",mt,ct),Ke="SSSS";Ke.length<=9;Ke+="S")_(Ke,yt);function Xe(t,e){e[kt]=u(1e3*("0."+t))}for(Ke="S";Ke.length<=9;Ke+="S")x(Ke,Xe);ht=Ft("Milliseconds",!1),n("z",0,0,"zoneAbbr"),n("zz",0,0,"zoneName"),a=G.prototype;function Je(t){return t}a.add=Lt,a.calendar=function(t,e){var t=t||P(),i=Le(t,this).startOf("day"),i=f.calendarFormat(this,i)||"sameElse",e=e&&(h(e[i])?e[i].call(this,t):e[i]);return this.format(e||this.localeData().calendar(i,this,P(t)))},a.clone=function(){return new G(this)},a.diff=function(t,e,i){var n,a,s;if(!this.isValid())return NaN;if(!(n=Le(t,this)).isValid())return NaN;switch(a=6e4*(n.utcOffset()-this.utcOffset()),e=g(e)){case"year":s=Ve(this,n)/12;break;case"month":s=Ve(this,n);break;case"quarter":s=Ve(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-a)/864e5;break;case"week":s=(this-n-a)/6048e5;break;default:s=this-n}return i?s:c(s)},a.endOf=function(t){return void 0===(t=g(t))||"millisecond"===t?this:this.startOf(t="date"===t?"day":t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")},a.format=function(t){t=t||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat);t=lt(this,t);return this.localeData().postformat(t)},a.from=function(t,e){return this.isValid()&&(o(t)&&t.isValid()||P(t).isValid())?F({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},a.fromNow=function(t){return this.from(P(),t)},a.to=function(t,e){return this.isValid()&&(o(t)&&t.isValid()||P(t).isValid())?F({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},a.toNow=function(t){return this.to(P(),t)},a.get=function(t){return h(this[t=g(t)])?this[t]():this},a.invalidAt=function(){return m(this).overflow},a.isAfter=function(t,e){t=o(t)?t:P(t);return!(!this.isValid()||!t.isValid())&&("millisecond"===(e=g(s(e)?"millisecond":e))?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(e).valueOf())},a.isBefore=function(t,e){t=o(t)?t:P(t);return!(!this.isValid()||!t.isValid())&&("millisecond"===(e=g(s(e)?"millisecond":e))?this.valueOf()<t.valueOf():this.clone().endOf(e).valueOf()<t.valueOf())},a.isBetween=function(t,e,i,n){return("("===(n=n||"()")[0]?this.isAfter(t,i):!this.isBefore(t,i))&&(")"===n[1]?this.isBefore(e,i):!this.isAfter(e,i))},a.isSame=function(t,e){var t=o(t)?t:P(t);return!(!this.isValid()||!t.isValid())&&("millisecond"===(e=g(e||"millisecond"))?this.valueOf()===t.valueOf():(t=t.valueOf(),this.clone().startOf(e).valueOf()<=t&&t<=this.clone().endOf(e).valueOf()))},a.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},a.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},a.isValid=function(){return W(this)},a.lang=Kt,a.locale=Ge,a.localeData=Be,a.max=pt,a.min=ft,a.parsingFlags=function(){return r({},m(this))},a.set=function(i,t){if("object"==typeof i)for(var e=function(){var t,e=[];for(t in i)e.push({unit:t,priority:nt[t]});return e.sort(function(t,e){return t.priority-e.priority}),e}(i=it(i)),n=0;n<e.length;n++)this[e[n].unit](i[e[n].unit]);else if(h(this[i=g(i)]))return this[i](t);return this},a.startOf=function(t){switch(t=g(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},a.subtract=Zt,a.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},a.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},a.toDate=function(){return new Date(this.valueOf())},a.toISOString=function(t){if(!this.isValid())return null;var t=!0!==t,e=t?this.clone().utc():this;return e.year()<0||9999<e.year()?lt(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):h(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",lt(e,"Z")):lt(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}
vendor: 11,643 bytes, line 1
1,a.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",t=(this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z"),"["+t+'("]'),i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(t+i+"-MM-DD[T]HH:mm:ss.SSS"+(e+'[")]'))},a.toJSON=function(){return this.isValid()?this.toISOString():null},a.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},a.unix=function(){return Math.floor(this.valueOf()/1e3)},a.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},a.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},a.year=Pt,a.isLeapYear=function(){return Mt(this.year())},a.weekYear=function(t){return Qe.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},a.isoWeekYear=function(t){return Qe.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},a.quarter=a.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},a.month=Rt,a.daysInMonth=function(){return It(this.year(),this.month())},a.week=a.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},a.isoWeek=a.isoWeeks=function(t){var e=Gt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},a.weeksInYear=function(){var t=this.localeData()._week;return Bt(this.year(),t.dow,t.doy)},a.isoWeeksInYear=function(){return Bt(this.year(),1,4)},a.date=gt,a.day=a.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,i,n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,i=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=i.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-n,"d")):n},a.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},a.isoWeekday=function(t){return this.isValid()?null!=t?(e=t,i=this.localeData(),i="string"==typeof e?i.weekdaysParse(e)%7||7:isNaN(e)?null:e,this.day(this.day()%7?i:i-7)):this.day()||7:null!=t?this:NaN;var e,i},a.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},a.hour=a.hours=b,a.minute=a.minutes=ut,a.second=a.seconds=vt,a.millisecond=a.milliseconds=ht,a.utcOffset=function(t,e,i){var n,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?a:Ye(this);if("string"==typeof t){if(null===(t=Ne(_t,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(n=Ye(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),a!==t&&(!e||this._changeInProgress?ze(this,F(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.updateOffset(this,!0),this._changeInProgress=null)),this},a.utc=function(t){return this.utcOffset(0,t)},a.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ye(this),"m")),this},a.parseZone=function(){var t;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(t=Ne(bt,this._i))?this.utcOffset(t):this.utcOffset(0,!0)),this},a.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?P(t).utcOffset():0,(this.utcOffset()-t)%60==0)},a.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},a.isLocal=function(){return!!this.isValid()&&!this._isUTC},a.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},a.isUtc=je,a.isUTC=je,a.zoneAbbr=function(){return this._isUTC?"UTC":""},a.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},a.dates=t("dates accessor is deprecated. Use date instead.",gt),a.months=t("months accessor is deprecated. Use month instead",Rt),a.years=t("years accessor is deprecated. Use year instead",Pt),a.zone=t("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?(this.utcOffset(t="string"!=typeof t?-t:t,e),this):-this.utcOffset()}),a.isDSTShifted=t("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var t,e={};return z(e,this),(e=De(e))._a?(t=(e._isUTC?d:P)(e._a),this._isDSTShifted=this.isValid()&&0<B(e._a,t.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=J.prototype;function ti(t,e,i,n){var a=he(),n=d().set(n,e);return a[i](n,t)}function ei(t,e,i){if(Y(t)&&(e=t,t=void 0),t=t||"",null!=e)return ti(t,e,i,"month");for(var n=[],a=0;a<12;a++)n[a]=ti(t,a,i,"month");return n}function ii(t,e,i,n){"boolean"==typeof t?Y(e)&&(i=e,e=void 0):(e=t,t=!1,Y(i=e)&&(i=e,e=void 0)),e=e||"";var a=he(),s=t?a._week.dow:0;if(null!=i)return ti(e,(i+s)%7,n,"day");for(var o=[],r=0;r<7;r++)o[r]=ti(e,(r+s)%7,n,"day");return o}y.calendar=function(t,e,i){t=this._calendar[t]||this._calendar.sameElse;return h(t)?t.call(e,i):t},y.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(t){return this._ordinal.replace("%d",t)},y.preparse=Je,y.postformat=Je,y.relativeTime=function(t,e,i,n){var a=this._relativeTime[i];return h(a)?a(t,e,i,n):a.replace(/%d/i,t)},y.pastFuture=function(t,e){t=this._relativeTime[0<t?"future":"past"];return h(t)?t(e):t.replace(/%s/i,e)},y.set=function(t){var e,i;for(i in t)h(e=t[i])?this[i]=e:this["_"+i]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.months=function(t,e){return t?(l(this._months)?this._months:this._months[(this._months.isFormat||Nt).test(e)?"format":"standalone"])[t.month()]:l(this._months)?this._months:this._months.standalone},y.monthsShort=function(t,e){return t?(l(this._monthsShort)?this._monthsShort:this._monthsShort[Nt.test(e)?"format":"standalone"])[t.month()]:l(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(t,e,i){var n,a;if(this._monthsParseExact)return function(t,e,i){var n,a,s,t=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)s=d([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(a=E.call(this._shortMonthsParse,t))?a:null:-1!==(a=E.call(this._longMonthsParse,t))?a:null:"MMM"===e?-1!==(a=E.call(this._shortMonthsParse,t))||-1!==(a=E.call(this._longMonthsParse,t))?a:null:-1!==(a=E.call(this._longMonthsParse,t))||-1!==(a=E.call(this._shortMonthsParse,t))?a:null}.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=d([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(a="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=new RegExp(a.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},y.monthsRegex=function(t){return this._monthsParseExact?(p(this,"_monthsRegex")||Ut.call(this),t?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Ht),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(t){return this._monthsParseExact?(p(this,"_monthsRegex")||Ut.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Wt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(t){return Gt(t,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(t,e){return t?(l(this._weekdays)?this._weekdays:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"])[t.day()]:l(this._weekdays)?this._weekdays:this._weekdays.standalone},y.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},y.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},y.weekdaysParse=function(t,e,i){var n,a;if(this._weekdaysParseExact)return function(t,e,i){var n,a,s,t=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=d([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(a=E.call(this._weekdaysParse,t))?a:null:"ddd"===e?-1!==(a=E.call(this._shortWeekdaysParse,t))?a:null:-1!==(a=E.call(this._minWeekdaysParse,t))?a:null:"dddd"===e?-1!==(a=E.call(this._weekdaysParse,t))||-1!==(a=E.call(this._shortWeekdaysParse,t))||-1!==(a=E.call(this._minWeekdaysParse,t))?a:null:"ddd"===e?-1!==(a=E.call(this._shortWeekdaysParse,t))||-1!==(a=E.call(this._weekdaysParse,t))||-1!==(a=E.call(this._minWeekdaysParse,t))?a:null:-1!==(a=E.call(this._minWeekdaysParse,t))||-1!==(a=E.call(this._weekdaysParse,t))||-1!==(a=E.call(this._shortWeekdaysParse,t))?a:null}.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=d([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".",".?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},y.weekdaysRegex=function(t){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||ee.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Xt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||ee.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Jt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||ee.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=te),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)}
vendor: 4,156 bytes, line 1
1,y.meridiem=function(t,e,i){return 11<t?i?"pm":"PM":i?"am":"AM"},ce("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===u(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),f.lang=t("moment.lang is deprecated. Use moment.locale instead.",ce),f.langData=t("moment.langData is deprecated. Use moment.localeData instead.",he);var O=Math.abs;function ni(t,e,i,n){e=F(e,i);return t._milliseconds+=n*e._milliseconds,t._days+=n*e._days,t._months+=n*e._months,t._bubble()}function ai(t){return t<0?Math.floor(t):Math.ceil(t)}function si(t){return 4800*t/146097}function oi(t){return 146097*t/4800}function ri(t){return function(){return this.as(t)}}mt=ri("ms"),ct=ri("s"),Lt=ri("m"),pt=ri("h"),ft=ri("d"),Zt=ri("w"),b=ri("M"),ut=ri("y");function li(t){return function(){return this.isValid()?this._data[t]:NaN}}var vt=li("milliseconds"),ht=li("seconds"),gt=li("minutes"),Pt=li("hours"),y=li("days"),di=li("months"),ci=li("years"),ui=Math.round,A={ss:44,s:45,m:45,h:22,d:26,M:11},hi=Math.abs;function fi(t){return(0<t)-(t<0)||+t}function pi(){if(!this.isValid())return this.localeData().invalidDate();var t,e=hi(this._milliseconds)/1e3,i=hi(this._days),n=hi(this._months),a=c((t=c(e/60))/60),s=(e%=60,t%=60,c(n/12)),n=n%=12,e=e?e.toFixed(3).replace(/\.?0+$/,""):"",o=this.asSeconds();if(!o)return"P0D";var r=fi(this._months)!==fi(o)?"-":"",l=fi(this._days)!==fi(o)?"-":"",d=fi(this._milliseconds)!==fi(o)?"-":"";return(o<0?"-":"")+"P"+(s?r+s+"Y":"")+(n?r+n+"M":"")+(i?l+i+"D":"")+(a||t||e?"T":"")+(a?d+a+"H":"")+(t?d+t+"M":"")+(e?d+e+"S":"")}var I=Pe.prototype;return I.isValid=function(){return this._isValid},I.abs=function(){var t=this._data;return this._milliseconds=O(this._milliseconds),this._days=O(this._days),this._months=O(this._months),t.milliseconds=O(t.milliseconds),t.seconds=O(t.seconds),t.minutes=O(t.minutes),t.hours=O(t.hours),t.months=O(t.months),t.years=O(t.years),this},I.add=function(t,e){return ni(this,t,e,1)},I.subtract=function(t,e){return ni(this,t,e,-1)},I.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=g(t))||"year"===t)return e=this._days+n/864e5,i=this._months+si(e),"month"===t?i:i/12;switch(e=this._days+Math.round(oi(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},I.asMilliseconds=mt,I.asSeconds=ct,I.asMinutes=Lt,I.asHours=pt,I.asDays=ft,I.asWeeks=Zt,I.asMonths=b,I.asYears=ut,I.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*u(this._months/12):NaN},I._bubble=function(){var t=this._milliseconds,e=this._days,i=this._months,n=this._data;return 0<=t&&0<=e&&0<=i||t<=0&&e<=0&&i<=0||(t+=864e5*ai(oi(i)+e),i=e=0),n.milliseconds=t%1e3,t=c(t/1e3),n.seconds=t%60,t=c(t/60),n.minutes=t%60,t=c(t/60),n.hours=t%24,i+=t=c(si(e+=c(t/24))),e-=ai(oi(t)),t=c(i/12),i%=12,n.days=e,n.months=i,n.years=t,this},I.clone=function(){return F(this)},I.get=function(t){return t=g(t),this.isValid()?this[t+"s"]():NaN},I.milliseconds=vt,I.seconds=ht,I.minutes=gt,I.hours=Pt,I.days=y,I.weeks=function(){return c(this.days()/7)},I.months=di,I.years=ci,I.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e,i,n,a,s,o,r,l=this.localeData(),d=(e=!t,i=l,o=F(this).abs(),r=ui(o.as("s")),d=ui(o.as("m")),n=ui(o.as("h")),a=ui(o.as("d")),s=ui(o.as("M")),o=ui(o.as("y")),(r=(r<=A.ss?["s",r]:r<A.s&&["ss",r])||d<=1&&["m"]||d<A.m&&["mm",d]||n<=1&&["h"]||n<A.h&&["hh",n]||a<=1&&["d"]||a<A.d&&["dd",a]||s<=1&&["M"]||s<A.M&&["MM",s]||o<=1&&["y"]||["yy",o])[2]=e,r[3]=0<+this,r[4]=i,function(t,e,i,n,a){return a.relativeTime(e||1,!!i,t,n)}.apply(null,r));return t&&(d=l.pastFuture(+this,d)),l.postformat(d)},I.toISOString=pi,I.toString=pi,I.toJSON=pi,I.locale=Ge,I.localeData=Be,I.toIsoString=t("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",pi),I.lang=Kt,n("X",0,0,"unix"),n("x",0,0,"valueOf"),_("x",wt),_("X",/[+-]?\d+(\.\d{1,3}
vendor: 1,750 bytes, line 1
1)?/),x("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t,10))}),x("x",function(t,e,i){i._d=new Date(u(t))}),f.version="2.22.1",N=P,f.fn=a,f.min=function(){return Ee("isBefore",[].slice.call(arguments,0))},f.max=function(){return Ee("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=d,f.unix=function(t){return P(1e3*t)},f.months=function(t,e){return ei(t,e,"months")},f.isDate=j,f.locale=ce,f.invalid=H,f.duration=F,f.isMoment=o,f.weekdays=function(t,e,i){return ii(t,e,i,"weekdays")},f.parseZone=function(){return P.apply(null,arguments).parseZone()},f.localeData=he,f.isDuration=Fe,f.monthsShort=function(t,e){return ei(t,e,"monthsShort")},f.weekdaysMin=function(t,e,i){return ii(t,e,i,"weekdaysMin")},f.defineLocale=ue,f.updateLocale=function(t,e){var i,n;return null!=e?(n=oe,(i=new J(e=X(n=null!=(i=de(t))?i._config:n,e))).parentLocale=M[t],M[t]=i,ce(t)):null!=M[t]&&(null!=M[t].parentLocale?M[t]=M[t].parentLocale:null!=M[t]&&delete M[t]),M[t]},f.locales=function(){return tt(M)},f.weekdaysShort=function(t,e,i){return ii(t,e,i,"weekdaysShort")},f.normalizeUnits=g,f.relativeTimeRounding=function(t){return void 0===t?ui:"function"==typeof t&&(ui=t,!0)},f.relativeTimeThreshold=function(t,e){return void 0!==A[t]&&(void 0===e?A[t]:(A[t]=e,"s"===t&&(A.ss=e-1),!0))},f.calendarFormat=function(t,e){t=t.diff(e,"days",!0);return t<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},f.prototype=a,f.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},f});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.