/*! For license information please see external-v2-lazy.js.LICENSE.txt */
!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 of %1",Aquamarine:"Aquamarine",Black:"Black",Blue:"Blue",Bold:"Bold","Bulleted List":"Bulleted List",Cancel:"Cancel","Dim grey":"Dim grey","Document colors":"Document colors",Downloadable:"Downloadable","Dropdown toolbar":"Dropdown toolbar","Edit link":"Edit link","Edit source":"Edit source","Editor toolbar":"Editor toolbar","Empty snippet content":"Empty snippet content","Font Color":"Font Color",Green:"Green",Grey:"Grey","HTML snippet":"HTML snippet","Insert HTML":"Insert HTML","Insert media":"Insert media","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block",Italic:"Italic","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link URL":"Link URL","Media URL":"Media URL","media widget":"media widget",Next:"Next","No preview available":"No preview available","Numbered List":"Numbered List","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab",Orange:"Orange","Paste raw HTML here...":"Paste raw HTML here...","Paste the media URL in the input.":"Paste the media URL in the input.",Previous:"Previous",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove color","Rich Text Editor":"Rich Text Editor","Rich Text Editor, %0":"Rich Text Editor, %0",Save:"Save","Save changes":"Save changes","Select all":"Select all","Show more items":"Show more items","The URL must not be empty.":"The URL must not be empty.","This link has no URL":"This link has no URL","This media URL is not supported.":"This media URL is not supported.","Tip: Paste the URL into the content to embed faster.":"Tip: Paste the URL into the content to embed faster.",Turquoise:"Turquoise",Undo:"Undo",Unlink:"Unlink",White:"White",Yellow:"Yellow"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=9)}({"1RPs":function(e,t){var n,i,o,s,a;n={grabTemplate:function(e){var t=$.parseHTML($(e).html());return $(t)},grabTemplateFromJson:function(e){if(!e||!e.length)return"";var t=e.replace(/\\/g,"");return t=$.parseHTML(t),$(t)}},i={serialize:function(e){var t={},n=$(e);return $("input[name],select[name],textarea[name]",n).each((function(e,n){if($(n).parent().is(":visible")){var i=$(n).attr("type"),o=$(n).attr("name"),s=$(n).val();("radio"!==i&&"checkbox"!==i||$(n).is(":checked"))&&(t[o]=s)}})),t},fill:function(e,t){var n,i,o=$(e);for(n in t)i=t[n],$('input[name="'+n+'"],textarea[name="'+n+'"],select[name="'+n+'"]',o).val(i)},reset:function(e){var t=$(e);$("input[name],select[name],textarea[name]",t).val("")}},o={_ajax:function(e,t,n,i,o){$.ajax(t,{type:e,headers:{"X-CSRF-TOKEN":getCsrfToken()},data:n,success:function(e){e.error?(Log.error(t),Log.error(e.message),Log.error(e.trace),o?o(e.message,e.trace):alert("Error: "+e.message)):i&&i(e)},error:function(e,n,i){Log.error(t),Log.error(i),Log.error(e.responseText);var s=e.responseText||i;o?o(s,null):alert("System error: "+s)}})},postAjax:function(e,t,n,i){this._ajax("post",e,t,n,i)},getAjax:function(e,t,n,i){this._ajax("get",e,t,n,i)}},s={getOrSetupFormValidation:function(e,t,n,i){if("string"==typeof e&&!/^[#].*/.test(e))throw new TypeError("Only ID selectors are supported: '"+e+"' is not valid");if(jQuery(e).length<1)return jQuery(e);var o=jQuery(e)[0],s=$(e).validate({errorClass:"validationError",highlight:function(e,t,n){$(e).parent("div").addClass(t),$(".error",$(e).parent("div")).show()},unhighlight:function(e,t,n){$(e).parent("div").removeClass(t),$(".error",$(e).parent("div")).hide()},errorPlacement:function(e,t){$(".formError",$(t).parent("div")).text($(e).text())},rules:t||{},messages:i||{},submitHandler:function(e){n&&n(e)}});return o._validationCtx=s,jQuery(e)},reset:function(e){this.setupBasicValidation(e).resetForm(),$(".error",$(e)).hide(),$(".validationError",$(e)).removeClass("validationError")}},a={initAcc:function(e,t){document.addEventListener("click",(function(n){if(n.target.matches(e+" .a-btn"))if(n.target.parentElement.classList.contains("active"))n.target.parentElement.classList.remove("active");else{if(t){var i=document.querySelectorAll(e+" .a-container");Array.prototype.forEach.call(i,(function(e){e.classList.remove("active")}))}n.target.parentElement.classList.add("active"),setTimeout((function(){window.scroll({top:$(e+" .a-container.active").offset().top-$("#header").height(),behavior:"smooth"})}),300)}}))}},window.Utils={Template:n,Form:i,Ajax:o,Validation:s,Accordion:a}},"6zzc":function(e,t){function n(e){e&&e.preventDefault();var t="";$("#register_asset_classes").val()&&$("#register_asset_classes").val().length>0&&(t=$("#register_asset_classes").val().toString());var n={_token:getCsrfToken(),email:$("#login_email_signin").val(),password:$("#login_password").val(),first_name:$("#register_first_name").val(),last_name:$("#register_last_name").val(),title:$("#register_title").val(),company:$("#register_company").val(),phone:$("#register_phone").val(),zip:$("#register_zip").val(),industry:$("#register_industry").val(),asset_classes:t,return_to_url:$("#return_to_url").val(),agree_to_terms:$('input[name="agree_to_terms"]:checked').val()};l(),$("#submit-loader-wrap").fadeIn(),Utils.Ajax.postAjax("/register",n,(function(e){$("body").trigger($.Event("login_modal_registration_attempt")),e.status?e.returnToUrl?($("body").trigger($.Event("login_modal_registration_success")),l(),window.location.href=e.returnToUrl):($("body").trigger($.Event("login_modal_registration_success")),l(),window.location.href="/subscribe?email="+$("input.login_email_signin").val()+"&remember_origin="+encodeURIComponent(window.location.href)):($("body").trigger($.Event("login_modal_registration_error")),e.userExists&&loginModalShow(),r(e.errorMessage),e.invalid&&e.invalid.length>0&&e.invalid.forEach((function(e){$(".input_"+e).addClass("has-invalid")})),$("#submit-loader-wrap").fadeOut())}),(function(e){$("body").trigger($.Event("login_modal_registration_error")),r(e.message),$("#submit-loader-wrap").fadeOut()}))}function i(e){e&&e.preventDefault()&&e.stopImmediatePropagation(),l(),$("#submit-loader-wrap").fadeIn(),$("body").trigger($.Event("login_modal_login_attempt")),$.ajax("/handleLogin",{type:"post",headers:{"X-CSRF-TOKEN":getCsrfToken()},data:$("#login-modal form.login-modal").serialize(),success:function(e){1==e.status?(l(),$("#login-modal").modal("hide"),$("body").trigger($.Event("login_modal_login_success")),e.returnToUrl?window.location.href=e.returnToUrl:window.location.reload()):($("body").trigger($.Event("login_modal_login_error")),r(e.message),$("#submit-loader-wrap").fadeOut())},error:function(e,t,n){$("body").trigger($.Event("login_modal_login_error"))}})}function o(e){e&&e.preventDefault(),l(),$.ajax("/password/modal/reset",{type:"post",headers:{"X-CSRF-TOKEN":getCsrfToken()},data:$("#login-modal form.reset").serialize(),success:function(e){1===e.error?($("#login-modal .modal-body .error").remove(),$("#login-modal .modal-body").prepend($('
"),$("#submit-loader-wrap").fadeOut()))}})}function a(e){!function(e){var t=$("#signin");switch(e){case"signin":$(".signin-element").show(),$(".signup-element").hide(),$(".new-user-inputs").slideUp(),$("#login-popup-form").data("type","signin"),$("input[name=password]").attr("autocomplete","off"),t.prop("checked",!0),$("#signup").prop("checked",!1);break;case"signup":$(".signin-element").hide(),$(".signup-element").show(),$(".new-user-inputs").slideDown(),$("#login-popup-form").data("type","signup"),$("input[name=password]").attr("autocomplete","new-password"),t.prop("checked",!1),$("#signup").prop("checked",!0)}l()}(e);var t="signin"==e?"Login to your Account":"Create an Account";$("#login-modal .modal-title").text(t)}function r(e){var t=$("#login-modal .message");if(Array.isArray(e)){var n="";e.forEach((function(e){n+="
Password Reset Link Sent. Please check your email.
')):$("#login-modal .modal-body").prepend($('
'+e.message+"
")),$("#submit-loader-wrap").fadeOut()}})}))})),window.loginModalShow=function(e,t,n){$("input[name=login-type]").change((function(){a($(this).val())})),d(),$("#register_asset_classes").select2({placeholder:"Select Asset Classes",multiple:!0,allowClear:!0});var i={show:!0};e?(i.keyboard=!1,i.backdrop="static",$("#login-modal .modal-close").hide()):$("#login-modal .modal-close").show(),function(e){e&&e.length&&$("#login-modal h4.modal-title").text(e).html(e)}(t);var o="signin";"signup"==n&&(o="signup"),a(o);var s=$("#login-modal");s.modal(i),s.on("show.bs.modal",(function(){$("body").trigger($.Event("login_modal_shown"))})),s.on("hide.bs.modal",(function(){$("body").trigger($.Event("login_modal_hidden"))})),s.modal(i)}},9:function(e,t,n){n("C/Ds"),n("r0Cq"),n("qfJY"),n("gwKz"),n("OPjq"),n("yzIm"),n("1RPs"),n("Yv0B"),n("LXjR"),n("EJus"),n("6zzc"),e.exports=n("dzwB")},"C/Ds":function(e,t){!function(e,t){var n="addEventListener"in e,i=!1;"complete"===t.readyState?i=!0:n&&e.addEventListener("load",(function t(){e.removeEventListener("load",t,!1),i=!0}),!1);var o,s=/\/ath(\/)?$/,a=/([\?&]ath=[^&]*$|&ath=[^&]*(&))/;function r(e){return o=o||new r.Class(e)}for(var l in r.intl={de_de:{ios:"Um diese Web-App zum Home-Bildschirm hinzuzufügen, tippen Sie auf %icon und dann Zum Home-Bildschirm.",android:'To add this web app to the home screen open the browser option menu and tap on Add to homescreen. The menu can be accessed by pressing the menu hardware button if your device has one, or by tapping the top right menu icon icon.'},en_us:{ios:"To add this web app to the home screen: tap %icon and then Add to Home Screen.",android:'To add this web app to the home screen open the browser option menu and tap on Add to homescreen. The menu can be accessed by pressing the menu hardware button if your device has one, or by tapping the top right menu icon icon.'},es_es:{ios:"Para añadir esta aplicación web a la pantalla de inicio: pulsa %icon y selecciona Añadir a pantalla de inicio.",android:'To add this web app to the home screen open the browser option menu and tap on Add to homescreen. The menu can be accessed by pressing the menu hardware button if your device has one, or by tapping the top right menu icon icon.'},fr_fr:{ios:"Pour ajouter cette application web sur l'écran d'accueil : Appuyez %icon et sélectionnez Ajouter sur l'écran d'accueil.",android:'To add this web app to the home screen open the browser option menu and tap on Add to homescreen. The menu can be accessed by pressing the menu hardware button if your device has one, or by tapping the top right menu icon icon.'},he_il:{ios:'להוספת האפליקציה למסך הבית: ללחוץ על %icon ואז הוסף למסך הבית.',android:'To add this web app to the home screen open the browser option menu and tap on Add to homescreen. The menu can be accessed by pressing the menu hardware button if your device has one, or by tapping the top right menu icon icon.'},it_it:{ios:"Per aggiungere questa web app alla schermata iniziale: premi %icon e poi Aggiungi a Home.",android:'Per aggiungere questa web app alla schermata iniziale, apri il menu opzioni del browser e premi su Aggiungi alla homescreen. Puoi accedere al menu premendo il pulsante hardware delle opzioni se la tua device ne ha uno, oppure premendo l\'icona icon in alto a destra.'},nb_no:{ios:"For å installere denne appen på hjem-skjermen: trykk på %icon og deretter Legg til på Hjem-skjerm.",android:'To add this web app to the home screen open the browser option menu and tap on Add to homescreen. The menu can be accessed by pressing the menu hardware button if your device has one, or by tapping the top right menu icon icon.'},pt_br:{ios:"Para adicionar este app à tela de início: clique %icon e então Tela de início.",android:'To add this web app to the home screen open the browser option menu and tap on Add to homescreen. The menu can be accessed by pressing the menu hardware button if your device has one, or by tapping the top right menu icon icon.'},pt_pt:{ios:"Para adicionar esta app ao ecrã principal: clique %icon e depois Ecrã principal.",android:'To add this web app to the home screen open the browser option menu and tap on Add to homescreen. The menu can be accessed by pressing the menu hardware button if your device has one, or by tapping the top right menu icon icon.'},nl_nl:{ios:"Om deze webapp op je telefoon te installeren, klik op %icon en dan Zet in beginscherm.",android:'To add this web app to the home screen open the browser option menu and tap on Add to homescreen. The menu can be accessed by pressing the menu hardware button if your device has one, or by tapping the top right menu icon icon.'},sv_se:{ios:"För att lägga till denna webbapplikation på hemskärmen: tryck på %icon och därefter Lägg till på hemskärmen.",android:'To add this web app to the home screen open the browser option menu and tap on Add to homescreen. The menu can be accessed by pressing the menu hardware button if your device has one, or by tapping the top right menu icon icon.'},zh_cn:{ios:"如要把应用程式加至主屏幕,请点击%icon, 然后加至主屏幕",android:'To add this web app to the home screen open the browser option menu and tap on Add to homescreen. The menu can be accessed by pressing the menu hardware button if your device has one, or by tapping the top right menu icon icon.'},zh_tw:{ios:"如要把應用程式加至主屏幕, 請點擊%icon, 然後加至主屏幕.",android:'To add this web app to the home screen open the browser option menu and tap on Add to homescreen. The menu can be accessed by pressing the menu hardware button if your device has one, or by tapping the top right menu icon icon.'}},r.intl)r.intl[l.substr(0,2)]=r.intl[l];r.defaults={appID:"org.cubiq.addtohome",fontSize:15,debug:!1,modal:!1,mandatory:!1,autostart:!0,skipFirstVisit:!1,startDelay:1,lifespan:15,displayPace:1440,maxDisplayCount:0,icon:!0,message:"",validLocation:[],onInit:null,onShow:null,onRemove:null,onAdd:null,onPrivate:null,privateModeOverride:!1,detectHomescreen:!1};var d=e.navigator.userAgent,c=e.navigator;h(r,{hasToken:"#ath"==t.location.hash||s.test(t.location.href)||a.test(t.location.search),isRetina:e.devicePixelRatio&&e.devicePixelRatio>1,isIDevice:/iphone|ipod|ipad/i.test(d),isMobileChrome:d.indexOf("Android")>-1&&/Chrome\/[.0-9]*/.test(d),isMobileIE:d.indexOf("Windows Phone")>-1,language:c.language&&c.language.toLowerCase().replace("-","_")||""}),r.language=r.language&&r.language in r.intl?r.language:"en_us",r.isMobileSafari=r.isIDevice&&d.indexOf("Safari")>-1&&d.indexOf("CriOS")<0,r.OS=r.isIDevice?"ios":r.isMobileChrome?"android":r.isMobileIE?"windows":"unsupported",r.OSVersion=d.match(/(OS|Android) (\d+[_\.]\d+)/),r.OSVersion=r.OSVersion&&r.OSVersion[2]?+r.OSVersion[2].replace("_","."):0,r.isStandalone=e.navigator.standalone||r.isMobileChrome&&screen.height-t.documentElement.clientHeight<40,r.isTablet=r.isMobileSafari&&d.indexOf("iPad")>-1||r.isMobileChrome&&d.indexOf("Mobile")<0,r.isCompatible=r.isMobileSafari&&r.OSVersion>=6||r.isMobileChrome;var u={lastDisplayTime:0,returningVisitor:!1,displayCount:0,optedout:!1,added:!1};function h(e,t){for(var n in t)e[n]=t[n];return e}function p(){"#ath"==t.location.hash&&history.replaceState("",e.document.title,t.location.href.split("#")[0]),s.test(t.location.href)&&history.replaceState("",e.document.title,t.location.href.replace(s,"$1")),a.test(t.location.search)&&history.replaceState("",e.document.title,t.location.href.replace(a,"$2"))}r.removeSession=function(e){try{localStorage.removeItem(e||r.defaults.appID)}catch(e){}},r.Class=function(i){if(this.options=h({},r.defaults),h(this.options,i),n&&(this.options.mandatory=this.options.mandatory&&("standalone"in e.navigator||this.options.debug),this.options.modal=this.options.modal||this.options.mandatory,this.options.mandatory&&(this.options.startDelay=-.5),this.options.detectHomescreen=!0===this.options.detectHomescreen?"hash":this.options.detectHomescreen,this.options.debug&&(r.isCompatible=!0,r.OS="string"==typeof this.options.debug?this.options.debug:"unsupported"==r.OS?"android":r.OS,r.OSVersion="ios"==r.OS?"8":"4"),this.container=t.documentElement,this.session=localStorage.getItem(this.options.appID),this.session=this.session?JSON.parse(this.session):void 0,!r.hasToken||r.isCompatible&&this.session||(r.hasToken=!1,p()),r.isCompatible)){this.session=this.session||u;try{localStorage.setItem(this.options.appID,JSON.stringify(this.session)),r.hasLocalStorage=!0}catch(e){r.hasLocalStorage=!1,this.options.onPrivate&&this.options.onPrivate.call(this)}for(var o=!this.options.validLocation.length,s=this.options.validLocation.length;s--;)if(this.options.validLocation[s].test(t.location.href)){o=!0;break}if(localStorage.getItem("addToHome")&&this.optOut(),!this.session.optedout&&!this.session.added&&o)if(r.isStandalone)this.session.added||(this.session.added=!0,this.updateSession(),this.options.onAdd&&r.hasLocalStorage&&this.options.onAdd.call(this));else{if(this.options.detectHomescreen){if(r.hasToken)return p(),void(this.session.added||(this.session.added=!0,this.updateSession(),this.options.onAdd&&r.hasLocalStorage&&this.options.onAdd.call(this)));"hash"==this.options.detectHomescreen?history.replaceState("",e.document.title,t.location.href+"#ath"):"smartURL"==this.options.detectHomescreen?history.replaceState("",e.document.title,t.location.href.replace(/(\/)?$/,"/ath$1")):history.replaceState("",e.document.title,t.location.href+(t.location.search?"&":"?")+"ath=")}!this.session.returningVisitor&&(this.session.returningVisitor=!0,this.updateSession(),this.options.skipFirstVisit)||(this.options.privateModeOverride||r.hasLocalStorage)&&(this.ready=!0,this.options.onInit&&this.options.onInit.call(this),this.options.autostart&&this.show())}}},r.Class.prototype={events:{load:"_delayedShow",error:"_delayedShow",orientationchange:"resize",resize:"resize",scroll:"resize",click:"remove",touchmove:"_preventDefault",transitionend:"_removeElements",webkitTransitionEnd:"_removeElements",MSTransitionEnd:"_removeElements"},handleEvent:function(e){var t=this.events[e.type];t&&this[t](e)},show:function(n){if(!this.options.autostart||i){if(!this.shown){var o=Date.now(),s=this.session.lastDisplayTime;if(!0!==n){if(!this.ready)return;if(o-s<6e4*this.options.displayPace)return;if(this.options.maxDisplayCount&&this.session.displayCount>=this.options.maxDisplayCount)return}this.shown=!0,this.session.lastDisplayTime=o,this.session.displayCount++,this.updateSession(),this.applicationIcon||("ios"==r.OS?this.applicationIcon=t.querySelector('head link[rel^=apple-touch-icon][sizes="152x152"],head link[rel^=apple-touch-icon][sizes="144x144"],head link[rel^=apple-touch-icon][sizes="120x120"],head link[rel^=apple-touch-icon][sizes="114x114"],head link[rel^=apple-touch-icon]'):this.applicationIcon=t.querySelector('head link[rel^="shortcut icon"][sizes="196x196"],head link[rel^=apple-touch-icon]'));var a="";a="
"+(a=this.options.message in r.intl?r.intl[this.options.message][r.OS]:""!==this.options.message?this.options.message:r.intl[r.language][r.OS]).replace("%icon",'icon')+"
",this.viewport=t.createElement("div"),this.viewport.className="ath-viewport",this.options.modal&&(this.viewport.className+=" ath-modal"),this.options.mandatory&&(this.viewport.className+=" ath-mandatory"),this.viewport.style.position="absolute",this.element=t.createElement("div"),this.element.className="ath-container ath-"+r.OS+" ath-"+r.OS+(r.OSVersion+"").substr(0,1)+" ath-"+(r.isTablet?"tablet":"phone"),this.element.style.cssText="-webkit-transition-property:-webkit-transform,opacity;-webkit-transition-duration:0s;-webkit-transition-timing-function:ease-out;transition-property:transform,opacity;transition-duration:0s;transition-timing-function:ease-out;",this.element.style.webkitTransform="translate3d(0,-"+e.innerHeight+"px,0)",this.element.style.transform="translate3d(0,-"+e.innerHeight+"px,0)",this.options.icon&&this.applicationIcon&&(this.element.className+=" ath-icon",this.img=t.createElement("img"),this.img.className="ath-application-icon",this.img.addEventListener("load",this,!1),this.img.addEventListener("error",this,!1),this.img.src=this.applicationIcon.href,this.element.appendChild(this.img)),this.element.innerHTML+=a,this.viewport.style.left="-99999em",this.viewport.appendChild(this.element),this.container.appendChild(this.viewport),this.img||this._delayedShow()}}else setTimeout(this.show.bind(this),50)},_delayedShow:function(e){setTimeout(this._show.bind(this),1e3*this.options.startDelay+500)},_show:function(){var n=this;this.updateViewport(),e.addEventListener("resize",this,!1),e.addEventListener("scroll",this,!1),e.addEventListener("orientationchange",this,!1),this.options.modal&&t.addEventListener("touchmove",this,!0),this.options.mandatory||setTimeout((function(){n.element.addEventListener("click",n,!0)}),1e3),setTimeout((function(){n.element.style.webkitTransitionDuration="1.2s",n.element.style.transitionDuration="1.2s",n.element.style.webkitTransform="translate3d(0,0,0)",n.element.style.transform="translate3d(0,0,0)"}),0),this.options.lifespan&&(this.removeTimer=setTimeout(this.remove.bind(this),1e3*this.options.lifespan)),this.options.onShow&&this.options.onShow.call(this)},remove:function(){clearTimeout(this.removeTimer),this.img&&(this.img.removeEventListener("load",this,!1),this.img.removeEventListener("error",this,!1)),e.removeEventListener("resize",this,!1),e.removeEventListener("scroll",this,!1),e.removeEventListener("orientationchange",this,!1),t.removeEventListener("touchmove",this,!0),this.element.removeEventListener("click",this,!0),this.element.addEventListener("transitionend",this,!1),this.element.addEventListener("webkitTransitionEnd",this,!1),this.element.addEventListener("MSTransitionEnd",this,!1),this.element.style.webkitTransitionDuration="0.3s",this.element.style.opacity="0"},_removeElements:function(){this.element.removeEventListener("transitionend",this,!1),this.element.removeEventListener("webkitTransitionEnd",this,!1),this.element.removeEventListener("MSTransitionEnd",this,!1),this.container.removeChild(this.viewport),this.shown=!1,this.options.onRemove&&this.options.onRemove.call(this)},updateViewport:function(){if(this.shown){this.viewport.style.width=e.innerWidth+"px",this.viewport.style.height=e.innerHeight+"px",this.viewport.style.left=e.scrollX+"px",this.viewport.style.top=e.scrollY+"px";var n=t.documentElement.clientWidth;this.orientation=n>t.documentElement.clientHeight?"landscape":"portrait";var i="ios"==r.OS?"portrait"==this.orientation?screen.width:screen.height:screen.width;this.scale=screen.width>n?1:i/e.innerWidth,this.element.style.fontSize=this.options.fontSize/this.scale+"px"}},resize:function(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(this.updateViewport.bind(this),100)},updateSession:function(){!1!==r.hasLocalStorage&&localStorage.setItem(this.options.appID,JSON.stringify(this.session))},clearSession:function(){this.session=u,this.updateSession()},optOut:function(){this.session.optedout=!0,this.updateSession()},optIn:function(){this.session.optedout=!1,this.updateSession()},clearDisplayCount:function(){this.session.displayCount=0,this.updateSession()},_preventDefault:function(e){e.preventDefault(),e.stopPropagation()}},e.addToHomescreen=r}(window,document)},EJus:function(e,t){jQuery(document).ready((function(){jQuery("body").on("click",".gdprSubmit",(function(e){answer=jQuery(this).attr("id"),"gdprAgree"==answer?answer=1:"gdprDisagree"==answer?answer=2:answer=0,e.preventDefault(),jQuery("form#gdprForm").ajaxSubmit({type:"post",data:{gdpr_consent:answer},dataType:"json",success:function(e){}}),jQuery("#gdpr_modal").modal("hide")})),jQuery("#gdprPreDisagree").click((function(){jQuery(".gdpr_initial").hide(),jQuery(".gdpr_secondary").show()})),jQuery(".gdprCancel").click((function(){jQuery(".gdpr_initial").show(),jQuery(".gdpr_secondary").hide()})),jQuery(".gdprLearnMore").click((function(){jQuery("#gdpr_opted_out").modal("hide"),jQuery("#gdpr_modal").modal({backdrop:"static",keyboard:!1,show:!0})})),jQuery(".gdprCancel").click((function(){jQuery("#gdpr_opted_out").modal("hide")}))}))},LXjR:function(e,t){if(jQuery((function(){if($("#back_button_check").val(1),isMobileBrowser()&&$("body").addClass("is-mobile").removeClass("is-not-mobile"),$("body").on("click",".formSubmit",(function(e){e.preventDefault(),$(this).closest("form").submit()})),$(".pageStory img").on("error",(function(){$(this).unbind("error").css("display","none"),$(".pageStory .relatedStories img").css("display","block")})),-1!=location.href.indexOf("arsen.ws")&&$("a").not('[href^="tel"]').not('[href^="mailto"]').each((function(){var e="http://arsen.ws/bisnow"+$(this).attr("href");$(this).attr("href",e)})),$.fn.preload=function(){this.each((function(){$("")[0].src=this}))},$("#pageSponsor").length){var e=location.href.toString();e.substr(0,e.lastIndexOf("/")+1);$(["https://cdn.bisnow.net/fit?height=97&type=png&url=https%3A%2F%2Fs3.amazonaws.com%2Fcdn.bisnow.net%2Fassets%2Fwebsite%2FsponsorStatsIcon1.png&width=64&sign=moV_ZTHmCKky1cWJvUmd2Q3zbX_SlzupOiFEzIEA-sM","https://cdn.bisnow.net/fit?height=90&type=png&url=https%3A%2F%2Fs3.amazonaws.com%2Fcdn.bisnow.net%2Fassets%2Fwebsite%2FsponsorStatsIcon2.png&width=121&sign=OSepE0EKvPd8J_uldLG_q-EIpNaGRp56t3lB9sveTYY","https://cdn.bisnow.net/fit?height=102&type=png&url=https%3A%2F%2Fs3.amazonaws.com%2Fcdn.bisnow.net%2Fassets%2Fwebsite%2FsponsorStatsIcon3.png&width=67&sign=itsYbRbYYGrBCpv4oIVMBttkl9Xue0KZZhPORrk_oKU","https://cdn.bisnow.net/fit?height=49&type=png&url=https%3A%2F%2Fs3.amazonaws.com%2Fcdn.bisnow.net%2Fassets%2Fwebsite%2FsponsorStatsIconSmall1.png&width=32&sign=YPnEFmaF_BDfIyMfIEJH8siznLUC33nU6wY4O7djcgg","https://cdn.bisnow.net/fit?height=46&type=png&url=https%3A%2F%2Fs3.amazonaws.com%2Fcdn.bisnow.net%2Fassets%2Fwebsite%2FsponsorStatsIconSmall2.png&width=62&sign=PPJE6-xKGd83lvcjrEm_bYNwjzdy4Ys4TWL_uoQGa80","https://cdn.bisnow.net/fit?height=52&type=png&url=https%3A%2F%2Fs3.amazonaws.com%2Fcdn.bisnow.net%2Fassets%2Fwebsite%2FsponsorStatsIconSmall3.png&width=34&sign=trb6UkwPEZMfRFqYEdnnnzNlLhco4CIOJC25HnluRVA","https://cdn.bisnow.net/fit?height=32&type=png&url=https%3A%2F%2Fs3.amazonaws.com%2Fcdn.bisnow.net%2Fassets%2Fwebsite%2FsponsorStatsIconTiny1.png&width=21&sign=QqRrOLO7yh02Swgj5Za-GVKQh2F7r8h7wNtXPS6xxVA","https://cdn.bisnow.net/fit?height=30&type=png&url=https%3A%2F%2Fs3.amazonaws.com%2Fcdn.bisnow.net%2Fassets%2Fwebsite%2FsponsorStatsIconTiny2.png&width=40&sign=kSZ7hm0Qh8rLEgbXnx3cHuFOyusd7Sa5aii1WXGdLMQ","https://cdn.bisnow.net/fit?height=33&type=png&url=https%3A%2F%2Fs3.amazonaws.com%2Fcdn.bisnow.net%2Fassets%2Fwebsite%2FsponsorStatsIconTiny3.png&width=22&sign=5VmWHdLkJD5A8T9tNtQDGBk3WJkfpusxQuXP6jeqlwY"]).preload()}if($.fn.readmore=function(e,t){var n=$(this);n.each((function(){$(this).height()>e+t?($(this).height(e).css("overflow","hidden").addClass("readMore collapsed"),$(this).after('')):$(this).css("min-height",e+t)})),n.next(".linkToggle").click((function(){$(".bioContent").css("overflow","hidden"),$(".bioContent").css("height","auto");var t=$(this),n=t.siblings(".readMore"),i=n.clone().css({height:"auto",width:n.width(),overflow:"hidden"}).insertAfter(n),o=i.outerHeight(!0);return i.remove(),$("body").find(".readMore.expanded").animate({height:e},600,(function(){$(this).removeClass("expanded").addClass("collapsed"),$(this).next(".linkToggle").text("Read More")})),n.hasClass("collapsed")?n.animate({height:o},600,(function(){n.removeClass("collapsed").addClass("expanded"),t.text("Close")})):n.hasClass("expanded")&&n.animate({height:e},600,(function(){n.removeClass("expanded").addClass("collapsed"),t.text("Read More")})),!1}))},$("#pageAbout, #pageAllBios").length&&$(window).on("load",(function(){$(".bioItem .bioInner").readmore(160,22)})),$('a[href^="#"]').click((function(){return $("html, body").animate({scrollTop:$($(this).attr("href")).offset().top},600),window.history.pushState({},"",$(this).attr("href")),!1})),$.fn.anchorFix=function(){var e=window.location.toString();if(window.location.hash&&"#_=_"==window.location.hash);else if(-1!=e.indexOf("#")){var t=e.substr(e.indexOf("#"));-1==t.indexOf("?")&&$(t).length&&$("html, body").delay(50).animate({scrollTop:$(t).offset().top},0)}},$("body").anchorFix(),$.fn.tabs=function(){var e=$(this),t=e.find("menu a"),n=e.find(".content");t.filter(".active").length||e.find("menu li:first a").addClass("active"),t.click((function(){t.removeClass("active"),$(this).addClass("active");var e=$(this).parent().index();return n.hide().eq(e).show(),!1})),t.filter(".active").click()},$(".tabs").tabs(),$.fn.rightMenuDropdown=function(){var e=$(this),t=".rightMenu > ul > li";e.find("a.logIn, a.signUp").add('nav li.subMenu:not(".desktopHidden") > a').click((function(){return!1})),e.click((function(e){$(event.target).is("a")||e.stopPropagation()})),$("body").click((function(){$(t).removeClass("open")})),$(t).mouseenter((function(){$(this).is(".open")||$(t).removeClass("open")})),$("#header nav a").mouseenter((function(){$(t).removeClass("open")})),e.find("input").on("click",(function(){var e=$(this).parents(t);e.is(".open")||($(t).removeClass("open"),e.addClass("open"))}))},$(".rightMenu").rightMenuDropdown(),$('[name="person"]').change((function(){var e=$(".textInputsBlock.speakerInfo");"thisisme"==$(this).attr("id")?e.slideUp().find("input.inin").removeClass("required"):e.slideDown().find("input.inin").addClass("required")})),$.fn.animateHeader=function(e){var t=$(this),n=$("#fakeHeader"),i=($("#fakeSubheader"),!!window.headerFixedShort),o={easing:"easeOutQuad",queue:!1,start:function(){$(this).css({overflow:"hidden"})},complete:function(){$(this).is("a.logo")||$(this).css({overflow:"visible"}),t.is(".init")||t.addClass("init")}};return"init"==e&&!0===i?(a(0),$("#header").removeClass("tall").addClass("short")):!0===i||("init"==e?$(window).scrollTop()<=t.offset().top?s(0):a(0):"tall"==e?t.is(".init")&&s(0):"short"==e&&a(0)),this;function s(e){t.animate({height:"76px"},$.extend(o,{duration:e})),t.find(".in").addBack().add(n).animate({height:"76px"},$.extend(o,{duration:e})),t.find("a.logo").animate({marginTop:22,width:130,height:35},$.extend(o,{duration:e})),$(".pageBisnowMatch").find("a.logo").animate({marginTop:22,width:180,height:28},$.extend(o,{duration:e})),t.find("a .arrow").animate({top:37},$.extend(o,{duration:e})),t.find("nav > ul > li > a").animate({height:76,lineHeight:"76px"},$.extend(o,{duration:e})),t.find(".rightMenu > ul > li > a, .rightMenu > ul > li > .search").animate({height:"76px",lineHeight:"76px"},$.extend(o,{duration:e}))}function a(e){t.animate({height:"44px"},$.extend(o,{duration:e})),t.find(".in").addBack().add(n).animate({height:"44px"},$.extend(o,{duration:e})),t.find("a.logo").animate({marginTop:14,width:100,height:17},$.extend(o,{duration:e})),t.find("a .arrow").animate({top:21},$.extend(o,{duration:e})),t.find("nav > ul > li > a").animate({height:44,lineHeight:"44px"},$.extend(o,{duration:e})),t.find(".rightMenu > ul > li > a, .rightMenu > ul > li > .search").animate({height:"44px",lineHeight:"44px"},$.extend(o,{duration:e}))}},$.fn.onScrollFixedPosition=function(e){var t=$(this),n=t.offset().top;if(e=void 0!==e?e:"",$(window).on("scroll",(function(){n==t.offset().top||t.is(".fixed")||(n=t.offset().top),$(window).scrollTop()<=n&&!t.is("#header")?(t.removeClass("fixed"),$("body").removeClass(e)):$(window).scrollTop()>n&&!t.is("#header")?(t.addClass("fixed"),$("body").addClass(e)):t.is("#header")&&(0==$(window).scrollTop()?($("body").removeClass(e),t.is(".tall")||window.headerFixedShort||$("#header").removeClass("short").addClass("tall").animateHeader("tall")):$(window).scrollTop()>=n&&($("body").addClass(e),t.is(".short")||$("#header").removeClass("tall").addClass("short").animateHeader("short")))})),$(window).scrollTop()>0){var i=$(window).scrollTop();$(window).scrollTop(0),setTimeout((function(){$(window).scrollTop(i)}),1)}},$("#header").length&&$("#header").animateHeader("init").onScrollFixedPosition("fixedHeader"),$("#pageSponsor").length&&$(".sponsorIcons").is(":visible")){$(".contactAnchor").css("display","none");var t=$(".sponsorIcons").offset().top;$(window).scroll((function(){$(window).scrollTop()>t?$(".contactAnchor").show(500):$(".contactAnchor").hide(500)}))}var n;$.fn.megaMenuPosition=function(){$(this).find(".subMenuContent").filter((function(){return $(this).children().is(".megaSubMenu")})).each((function(){var e=$(this),t=e.width();e.show();var n=parseInt(e.offset().left);e.css({display:""});var i=t+n;$(window).resize((function(){var n=$(this).width();if(nt+n+74&&$(window).on("scroll resize",(function(){if(t==e.offset().top||e.is(".fixed")||(t=e.offset().top),$("body").width()<769)e.css({left:"auto"}).removeClass("fixed"),e.appendTo(s);else if(e.appendTo(o),$(window).scrollTop()<=t-74)e.css({left:"auto"}).removeClass("fixed");else if($(window).scrollTop()>t-74){e.addClass("fixed");var a=i.offset().top-($(window).scrollTop()+n+74);a<74?e.css({top:a}):e.css({top:74})}}))},$("#faq").length&&$(".faqContactForm").faqContactFormFixedPosition(),$.fn.mobileNav=function(){var e;$("#mobNav").length||$("body").append(''),e=$("#mobNav"),$.fn.mobNavAccordion=function(){var e=$(this);e.find("li.open .subMenuContent").show(),e.find("a").click((function(){if(e.find(".subMenuContent").is(":animated"))return!1;if($(this).siblings(".subMenuContent").length){var t=$(this).siblings(".subMenuContent");if(t.parent().is(".open")?e.find(".open .subMenuContent").slideUp(200,"linear",(function(){$(this).parent().removeClass("open")})):(e.find(".open .subMenuContent").slideUp(200,"linear",(function(){$(this).parent().removeClass("open")})),t.slideDown(200,"linear").parent().addClass("open")),!($(this).parent().hasClass("desktopHidden")&&$(window).width()>=768))return!1}}))},e.mobNavAccordion(),$.fn.mobNavAction=function(t){var n=$("#wrapper"),i=$("#header .innerWrap"),o=e.width();"open"==t?e.is(".open")||n.is(":animated")||(n.css({position:"relative",width:n.width()}),e.addClass("open").animate({left:0},200,"swing"),$("a").filter((function(){return!$(this).parents().is("#mobNav")})).bind("click.blockContentLinks",(function(e){e.preventDefault()})),$("body").addClass("noscroll"),$("#mobNav-background").css("display","block"),$(".at-share-dock-outer").hide()):"close"==t&&e.is(".open")&&!n.is(":animated")&&(n.animate({left:0},200,"swing",(function(){n.css({position:"static",width:"auto"})})),e.animate({left:-o},200,"swing",(function(){e.removeClass("open")})),i.width("auto").animate({left:0},200,"swing"),$("a").filter((function(){return!$(this).parents().is("#mobNav")})).unbind("click.blockContentLinks"),$("body").removeClass("noscroll"),$(".at-share-dock-outer").css("display",""),$("#mobNav-background").css("display",""))},$.fn.mobNav=function(t){return e.is(".open")?(e.mobNavAction("close"),$("#wrapper").removeClass("noscroll"),$(".socialButtonsx").removeClass("mobilehide"),$(".contactAnchor").removeClass("mobilehide"),$("footer").css("padding-bottom","38px")):(e.mobNavAction("open"),$("#wrapper").addClass("noscroll"),$(".socialButtonsx").addClass("mobilehide"),$(".contactAnchor").addClass("mobilehide"),$("footer").css("padding-bottom","0")),!1},"ontouchstart"in window?$("#mobNavBtn").bind("touchstart",$.fn.mobNav):$("#mobNavBtn").click($.fn.mobNav),$("#mobNav-background").click((function(){e.is(".open")&&(e.mobNavAction("close"),$("#wrapper").removeClass("noscroll"))})),$("#header .innerWrap").click((function(){e.is(".open")&&(e.mobNavAction("close"),$("#wrapper").removeClass("noscroll"))})),$("#mobNav .subMenuContent a").click((function(){e.mobNavAction("close"),$("#wrapper").removeClass("noscroll")})),e.find("select").on("change",(function(){$(this).find(":selected").is(":disabled")||(window.location=$(this).val())})),$(window).resize((function(){$(window).width()>1023&&e.is(".open")&&e.mobNavAction("close")}))},$("#header nav").length&&$("#header").mobileNav(),$.fn.WFFormZindex=function(){var e=$(this).find(".WFSelect"),t=e.length;e.each((function(){$(this).css({zIndex:t}),t--}))},$("body").WFFormZindex(),$.fn.profilesMore=function(){$("body").on("click",".profiles-more",(function(e){if(!$(".profiles-more").hasClass("inactive")){var t=$("input[name=n]").serialize(),n=$(".primSend, input[name=_token]").serialize();n=n+"&showmore=true&"+t,$.ajax({url:window.app_url+"/profiles/filter",method:"get",dataType:"json",data:n,success:function(e,t,n){if(1==e.status){$('input[name="n"]').val(e.n),$("#pageProfiles .profiles").append(e.html),$("#pageProfiles .countprofiles").html(e.count);e.count.replace(" PROFILES","");e.returned>=64?($(".block4 a").removeClass("hidden"),$(".profiles-more").html("+ SEE MORE +")):$(".profiles-more").html("THAT'S ALL").addClass("inactive")}else alert("Please Try Your Search Again")}})}}))},$("body").profilesMore(),$.fn.expandProfileSearch=function(){$("#pageProfiles .expand").bind("click",(function(e){if($(this).hasClass("hide"))$("#pageProfiles .block2 .content").animate({height:"165px"},500),$("#pageProfiles .hide").html("+ SHOW ALL").removeClass("hide");else{var t=56*$(".content.market .item").length/($(window).width()>815?2:1);$("#pageProfiles .block2 .content").animate({height:t},500),$("#pageProfiles .expand").html("- HIDE ALL").addClass("hide")}}))},$("body").expandProfileSearch(),$.fn.sendProfileFilter=function(){$("input[name=n]").val(""),$(".profiles-more").removeClass("inactive");var e,t="",n="",i="",o=$("#market_select").val(),s=$("#topic_select").val();o&&(t="city="+o),s&&(i="&",n="topic="+s);var a="";a=(e=t+i+n)?window.app_url+"/profiles/filter?"+e:window.app_url+"/profiles/filter",$.ajax({url:a,method:"get",dataType:"json",success:function(t,n,i){history.pushState(null,"Profiles Filter","/profiles/filter?"+e),1==t.status?($("#pageProfiles .profiles").html(t.html),$("#pageProfiles .countprofiles").html(t.count),t.returned>=65?($(".block4 a").removeClass("hidden"),$(".profiles-more").html("+ SEE MORE +")):$(".block4 a").addClass("hidden"),$("body").searchProfileRemoveFilter()):alert("Please Try Your Search Again")}})},$("#pageProfiles .checkButton").click((function(){var e=!$(this).find("input").prop("checked");$(this).find("input").prop("checked",e),e?($(this).find("div").css("background-color","rgb(0, 0, 0)"),$(".clear-filers").append(''+$(this).find("div").html()+"")):($(this).find("div").css("background-color","#ccc"),$(".clear-filers ."+$(this).attr("id")).remove()),$("body").sendProfileFilter()})),$.fn.searchProfileRemoveFilter=function(){$(".clear-filers span").bind("click",(function(){if($(this).hasClass("search")&&$('input[name="q"]').val(""),$(this).attr("class").indexOf("g")>-1)$("#"+$(this).attr("class")).trigger("click");else{var e=$("#pageProfiles input[name=filters]").val(),t=$(this).attr("class").split(" "),n=t[0],i=t[1],o=e.replace(n+",","");if($("#pageProfiles input[name=filters]").val(o),"market_select"==i)var s="Choose Market";else s="Choose Topic";$("#"+i).parent().find("ul li span:first-child").html(s),$("#"+i).parent().find("ul li ul li.chosen").removeAttr("class"),$("#"+i).parent().find("ul li ul li:first-child").addClass("chosen"),$("#"+i+" option:selected").removeAttr("selected"),$(this).remove(),$("body").sendProfileFilter()}}))},$("body").searchProfileRemoveFilter(),$.fn.hideContactUsMobile=function(){$("input").bind("click",(function(){$(".contactAnchor").addClass("hidemobile"),$("#footer").css("margin-bottom","0")}))},$("body").hideContactUsMobile(),$.fn.searchProfiles=function(){$("#pageProfiles form").submit((function(){event.stopPropagation(),event.preventDefault(),$("span.clear-filers .search").remove(),""!=$('input[name="q"]').val()&&$(".clear-filers").append('Custom Search: '+$('input[name="q"]').val()+""),$.ajax({url:window.app_url+"/profiles",method:"post",headers:{"X-CSRF-TOKEN":getCsrfToken()},dataType:"json",data:$("#pageProfiles").find("form").serialize(),success:function(e,t,n){1==e.status?($("#pageProfiles .profiles").html(e.html),$("#pageProfiles .countprofiles").html(e.count),$("body").searchProfileRemoveFilter(),$("html, body").animate({scrollTop:$("#profiles").offset().top},1e3)):alert("Please Try Your Search Again")}})}))},$("body").searchProfiles(),$(".upload input[type=file]").bind("change",(function(e){if(n=e.target.files,e.stopPropagation(),e.preventDefault(),$(".upload").hasClass("job-apply"))return!1;$(".upload .over").html("UPLOADING FILE..."),$(".upload input").hide(),$(".error").html(""),$(".message").html("");var t=new FormData;$.each(n,(function(e,n){t.append(e,n)}));var i=$("input[name=_token]").val();t.append("_token",i);var o=$(".upload .url").val();$.ajax({url:o,type:"POST",data:t,headers:{"X-CSRF-TOKEN":getCsrfToken()},cache:!1,dataType:"json",processData:!1,contentType:!1,success:function(e,t,n){void 0===e.error||"success"==e.status?($(".upload .over").html("CHOOSE NEW FILE"),$(".upload input").show(),$(".upload .error").html("Upload Successful"),$(".upload .message").html('Click "Choose New File" to upload a different file.'),$(".resume_url").val(e.resume_url)):($(".upload .over").html("CHOOSE FILE"),$(".upload .error").html(e.error),$(".upload input").show())},error:function(e,t,n){$(".upload .over").html("CHOOSE FILE"),$(".upload .error").html("Error: Please Upload Again"),$(".upload input").show()}})})),$(".upload.job-apply input[type=file]").bind("change",(function(e){n=e.target.files,e.stopPropagation(),e.preventDefault();var t=$(".upload.job-apply input[type=file]")[0].files[0].name;$(".upload .over").html("FILE UPLOADED - CHOOSE NEW FILE"),$(".upload .file-name").html(t)}));var i={parameter:function(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^]*)|&|#|$)").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}};window.urlUtil=i,$.fn.youtube_iframe=function(){var e=9*$(".youtube-iframe").width()/16;$(".youtube-iframe").attr("height",e)},$("body").youtube_iframe(),$(window).on("resize",(function(){$("window").youtube_iframe()}));var o={checkboxBtnsBind:function(){var e=this;$("form .btn-options label").unbind().bind("click",(function(){e.checkboxBtns(this)}))},checkboxBtns:function(e){e=e,$(this).attr("for");$(e).hasClass("selected")?$(e).removeClass("selected"):$(e).addClass("selected")}};window.FormAction=o,FormAction.checkboxBtnsBind()})),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,n,i,o){return jQuery.easing[jQuery.easing.def](e,t,n,i,o)},easeOutQuad:function(e,t,n,i,o){return-i*(t/=o)*(t-2)+n}}),"#."===window.location.hash.substring(0,2)){var n=window.location.href.match(/(^[^#]*)/);window.location.replace(n[0])}window.self!==window.top&&(window.top.location.href=window.location.href)},OPjq:function(e,t){$((function(){"undefined"!=typeof addthis&&(addthis.init(),addthis.addEventListener("addthis.ready",(function(){!function e(t){null==i&&($("#email-modal .copy-to-clipboard").unbind().click((function(){window.prompt("Copy to clipboard: Ctrl+C, Enter",$("#share_url").val())})),$("#email-modal .email-share-btn").click((function(e){if(e.preventDefault(),n($("#email-modal"))){$("#email-modal .message *").remove();var t=$("#email-modal form").serialize();return $.ajax("/share/email",{type:"post",headers:{"X-CSRF-TOKEN":getCsrfToken()},data:t,success:function(e){$("#email-modal .modal-footer").fadeOut(),$("#email-modal .modal-body").fadeOut((function(){$('
Shared!
').insertAfter("#email-modal .modal-header").fadeIn((function(){setTimeout((function(){$("#email-modal").fadeOut((function(){i.modal("hide"),$("#email-modal .thanks").remove(),$("#email-modal").css("opacity",1),$("#email-modal .modal-body").show(),$("#email-modal .modal-footer").show()}))}),600)}))})),$('#email-modal input[type="text"]').val("")}}),!1}$("#email-modal .message").html("Both To and From email fields must be valid")})),i=$("#email-modal").modal({show:!1,onHide:function(e){e.data.fadeOut("slow",(function(){e.container.hide("slow",(function(){e.overlay.slideUp("slow",(function(){$.modal.hide()}))}))}))}}));if(!t)return;setTimeout((function(){var n=function(n){n.stopPropagation(),i.modal("show"),e(--t)};$(".at-svc-email").unbind(),$(".at-svc-email").click(n),$(".at-svc-mailto").unbind(),$(".at-svc-mailto").click(n)}),1e3)}(2)})))}));function n(){var e=!0;return $('#email-modal form input[type="text"]').each((function(t,n){e&=/^(([^<>()[\]\\.,;:\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,}))$/.test($(n).val())})),e}var i=null},Yv0B:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(){"use strict";"function"!=typeof String.prototype.format&&(String.prototype.format=function(){var e=arguments;return this.replace(/{(\d+)}/g,(function(t,n){return void 0!==e[n]?e[n]:t}))}),window.isMobileBrowser=function(){var e,t=!1;return e=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0),t},window.util_fixedDecimal=function(e){return e*=1,Math.round(e),e.toFixed(2)},window.util_dollarDecimal=function(e,t){return t=t||"$",e<0?"-"+t+util_fixedDecimal(Math.abs(e)):t+util_fixedDecimal(e)},window.util_usdDecimal=function(e){return util_dollarDecimal(e,"$")},window.util_gbpDecimal=function(e){return util_dollarDecimal(e,"£")},window.util_eurDecimal=function(e){return util_dollarDecimal(e,"€")},$((function(){$.fn.initAcc=function(e,t){document.addEventListener("click",(function(n){if(n.target.matches(e+" .a-btn"))if(n.target.parentElement.classList.contains("active"))n.target.parentElement.classList.remove("active");else{if(1==t){var i=document.querySelectorAll(e+" .a-container");Array.prototype.forEach.call(i,(function(e){e.classList.remove("active")}))}n.target.parentElement.classList.add("active")}}))},$.fn.makeLoading=function(e){var t=$(this).outerHeight(),n=$(this).outerWidth(),i=$(this).hasClass("orange")?"https://cdn.bisnow.net/assets/website/ajax-loader-square.gif":"https://cdn.bisnow.net/assets/website/ajax-loader-square-black.gif",o=$(this).hasClass("orange")?"#F58320":"#000000";e=$.extend({append:!1},e),$(this).css("height",t).css("width",n).css("background-color",o),$(this).attr("style",(function(e,t){return t+"padding-left: 0 !important; padding-right: 0 !important;"}));var s='';$(this).attr("disabled","disabled"),$(this).children("input").attr("disabled","disabled"),e.append?($(" > *",this).css("visibility","hidden"),$(this).css("position","relative"),$(this).append($(s))):$(this).html(s)},$.fn.makeLoadingAdmin=function(){var e=$(this).outerHeight(),t=$(this).outerWidth();$(this).css("visibility","hidden"),$(this).css("position","relative");$(this).before('');$(".makeLoadingAdmin").append('').css({background:"#000000",text:"center",height:e,width:t})},$.fn.unmakeLoading=function(){var e=$(this);$(".spinner",e).remove(),$(" > *",e).css("visibility","visible"),$(e).css("visibility","visible"),$(e).siblings(".makeLoadingAdmin").remove(),e.css("width","").css("background-color","").css("height","").css("color","").css("paddingLeft","").css("paddingRight",""),$(this).removeAttr("disabled"),$(this).children("input").removeAttr("disabled")},$.fn.stopLoading=function(e){var t=$.extend({text:"Submit",styleString:"",buttonStyleString:""},e),n=$(this).attr("style");$(this).attr("style",n+";"+t.styleString).css("background-color","inherit"),$(this).html('")},$.fn.highlight=function(e,t,n){var i=this,o=$(i).finish().css("backgroundColor");return $(i).animate({backgroundColor:"#ffffc9"},e||300,(function(){$(i).animate({backgroundColor:o},t||100,(function(){$(i).css("background-color",o),n&&n()}))})),this},$.fn.doubleHighlight=function(){var e=this;$(e).highlight(500,300,(function(){setTimeout((function(){$(e).highlight(300,100)}),250)}))},$.fn.serializeObject=function(){var e={},t=this.serializeArray();return $.each(t,(function(){void 0!==e[this.name]?(e[this.name].push||(e[this.name]=[e[this.name]]),e[this.name].push(this.value||"")):e[this.name]=this.value||""})),e},$.deepExtend=function(e){for(var t=1;t0&&-1!==$.inArray("Full Admin",e.groups)&&$("#link-to-edit-page").show()}(e),i=e.cart_version,$("body").removeClass("cart-v1").removeClass("cart-v2").addClass("cart-v"+i),function(e){void 0!==e.flash&&void 0!==e.flash.class&&e.flash.class&&$(".flash-message").removeClass("hidden").addClass(e.flash.class).html(e.flash.message)}(e),e.cart_v2_product&&(t=e.cart_v2_product,("events"!=(n=window.location.pathname.split("/"))[1]&&"checkout"!=n[1]||"events"===n[1]&&2===n.length)&&($.ajax({url:"https://www.bisnow.com/api/products/v2/"+t,type:"get",success:function(e){var n=e.productable,i=new Date(n.date_start),o="https://www.bisnow.com/checkout/v2/"+t;$("#eventCartPopout .popupEventName").html(n.name),$("#eventCartPopout .popupEventDate").html(i.toDateString()),$("#eventCartPopout .popupEventLink").attr("href",o),setTimeout((function(){$("#eventCartPopout").show(),$("#eventCartPopout").addClass("active")}),5e3)}}),$("body").on("click","a#closePopout",(function(e){e.preventDefault(),$("#eventCartPopout").removeClass("active").hide()}))))):window.$user=null,$(".subMenu").on("mouseover",(function(){$(".dropContent",this).show()})).on("mouseout",(function(e){$(e.target).is("input")||$(".dropContent",this).hide()}));var o,s=null==(o=new RegExp("[?&]"+"utm_source"+"=([^]*)").exec(window.location.href))?null:decodeURI(o[1])||0;s&&0===s.lastIndexOf("outbound_pub_",0)&&(e.bypassGate=!0);var a=$.Event("BN_user_data_loaded",e);window.user_data=JSON.stringify(e),$("body").trigger(a)},error:function(e,t,n){var i=$.Event("BN_user_data_loaded",null);$("body").trigger(i)}})}))},gwKz:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i;(i=jQuery).extend(i.fn,{validate:function(e){if(this.length){var t=i.data(this[0],"validator");return t||(this.attr("novalidate","novalidate"),t=new i.validator(e,this[0]),i.data(this[0],"validator",t),t.settings.onsubmit&&(this.validateDelegate(":submit","click",(function(e){t.settings.submitHandler&&(t.submitButton=e.target),i(e.target).hasClass("cancel")&&(t.cancelSubmit=!0),void 0!==i(e.target).attr("formnovalidate")&&(t.cancelSubmit=!0)})),this.submit((function(e){function n(){var n;return!t.settings.submitHandler||(t.submitButton&&(n=i("").attr("name",t.submitButton.name).val(i(t.submitButton).val()).appendTo(t.currentForm)),t.settings.submitHandler.call(t,t.currentForm,e),t.submitButton&&n.remove(),!1)}return t.settings.debug&&e.preventDefault(),t.cancelSubmit?(t.cancelSubmit=!1,n()):t.form()?t.pendingRequest?(t.formSubmitted=!0,!1):n():(t.focusInvalid(),!1)}))),t)}e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){if(i(this[0]).is("form"))return this.validate().form();var e=!0,t=i(this[0].form).validate();return this.each((function(){e=e&&t.element(this)})),e},removeAttrs:function(e){var t={},n=this;return i.each(e.split(/\s/),(function(e,i){t[i]=n.attr(i),n.removeAttr(i)})),t},rules:function(e,t){var n=this[0];if(e){var o=i.data(n.form,"validator").settings,s=o.rules,a=i.validator.staticRules(n);switch(e){case"add":i.extend(a,i.validator.normalizeRule(t)),delete a.messages,s[n.name]=a,t.messages&&(o.messages[n.name]=i.extend(o.messages[n.name],t.messages));break;case"remove":if(!t)return delete s[n.name],a;var r={};return i.each(t.split(/\s/),(function(e,t){r[t]=a[t],delete a[t]})),r}}var l=i.validator.normalizeRules(i.extend({},i.validator.classRules(n),i.validator.attributeRules(n),i.validator.dataRules(n),i.validator.staticRules(n)),n);if(l.required){var d=l.required;delete l.required,l=i.extend({required:d},l)}return l}}),i.extend(i.expr[":"],{blank:function(e){return!i.trim(""+i(e).val())},filled:function(e){return!!i.trim(""+i(e).val())},unchecked:function(e){return!i(e).prop("checked")}}),i.validator=function(e,t){this.settings=i.extend(!0,{},i.validator.defaults,e),this.currentForm=t,this.init()},i.validator.format=function(e,t){return 1===arguments.length?function(){var t=i.makeArray(arguments);return t.unshift(e),i.validator.format.apply(this,t)}:(arguments.length>2&&t.constructor!==Array&&(t=i.makeArray(arguments).slice(1)),t.constructor!==Array&&(t=[t]),i.each(t,(function(t,n){e=e.replace(RegExp("\\{"+t+"\\}","g"),(function(){return n}))})),e)},i.extend(i.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:!0,errorContainer:i([]),errorLabelContainer:i([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(e){this.lastActive=e,this.settings.focusCleanup&&!this.blockFocusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,e,this.settings.errorClass,this.settings.validClass),this.addWrapper(this.errorsFor(e)).hide())},onfocusout:function(e){this.checkable(e)||!(e.name in this.submitted)&&this.optional(e)||this.element(e)},onkeyup:function(e,t){(9!==t.which||""!==this.elementValue(e))&&(e.name in this.submitted||e===this.lastElement)&&this.element(e)},onclick:function(e){e.name in this.submitted?this.element(e):e.parentNode.name in this.submitted&&this.element(e.parentNode)},highlight:function(e,t,n){"radio"===e.type?this.findByName(e.name).addClass(t).removeClass(n):i(e).addClass(t).removeClass(n)},unhighlight:function(e,t,n){"radio"===e.type?this.findByName(e.name).removeClass(t).addClass(n):i(e).removeClass(t).addClass(n)}},setDefaults:function(e){i.extend(i.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:i.validator.format("Please enter no more than {0} characters."),minlength:i.validator.format("Please enter at least {0} characters."),rangelength:i.validator.format("Please enter a value between {0} and {1} characters long."),range:i.validator.format("Please enter a value between {0} and {1}."),max:i.validator.format("Please enter a value less than or equal to {0}."),min:i.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function e(e){var t=i.data(this[0].form,"validator"),n="on"+e.type.replace(/^validate/,"");t.settings[n]&&t.settings[n].call(t,this[0],e)}this.labelContainer=i(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||i(this.currentForm),this.containers=i(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var t=this.groups={};i.each(this.settings.groups,(function(e,n){"string"==typeof n&&(n=n.split(/\s/)),i.each(n,(function(n,i){t[i]=e}))}));var n=this.settings.rules;i.each(n,(function(e,t){n[e]=i.validator.normalizeRule(t)})),i(this.currentForm).validateDelegate(":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='phone'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'] ","focusin focusout keyup",e).validateDelegate("[type='radio'], [type='checkbox'], select, option","click",e),this.settings.invalidHandler&&i(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),i.extend(this.submitted,this.errorMap),this.invalid=i.extend({},this.errorMap),this.valid()||i(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var e=0,t=this.currentElements=this.elements();t[e];e++)this.check(t[e]);return this.valid()},element:function(e){e=this.validationTargetFor(this.clean(e)),this.lastElement=e,this.prepareElement(e),this.currentElements=i(e);var t=!1!==this.check(e);return t?delete this.invalid[e.name]:this.invalid[e.name]=!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),t},showErrors:function(e){if(e){for(var t in i.extend(this.errorMap,e),this.errorList=[],e)this.errorList.push({message:e[t],element:this.findByName(t)[0]});this.successList=i.grep(this.successList,(function(t){return!(t.name in e)}))}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){i.fn.resetForm&&i(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors(),this.elements().removeClass(this.settings.errorClass).removeData("previousValue")},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(e){var t=0;for(var n in e)t++;return t},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{i(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(e){}},findLastActive:function(){var e=this.lastActive;return e&&1===i.grep(this.errorList,(function(t){return t.element.name===e.name})).length&&e},elements:function(){var e=this,t={};return i(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter((function(){return!this.name&&e.settings.debug&&window.console&&console.error("%o has no name assigned",this),!(this.name in t||!e.objectLength(i(this).rules())||(t[this.name]=!0,0))}))},clean:function(e){return i(e)[0]},errors:function(){var e=this.settings.errorClass.replace(" ",".");return i(this.settings.errorElement+"."+e,this.errorContext)},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=i([]),this.toHide=i([]),this.currentElements=i([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(e){this.reset(),this.toHide=this.errorsFor(e)},elementValue:function(e){var t=i(e).attr("type"),n=i(e).val();return"radio"===t||"checkbox"===t?i("input[name='"+i(e).attr("name")+"']:checked").val():"string"==typeof n?n.replace(/\r/g,""):n},check:function(e){e=this.validationTargetFor(this.clean(e));var t,n=i(e).rules(),o=!1,s=this.elementValue(e);for(var a in n){var r={method:a,parameters:n[a]};try{if("dependency-mismatch"===(t=i.validator.methods[a].call(this,s,e,r.parameters))){o=!0;continue}if(o=!1,"pending"===t)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!t)return this.formatAndAdd(e,r),!1}catch(t){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+r.method+"' method.",t),t}}return o?void 0:(this.objectLength(n)&&this.successList.push(e),!0)},customDataMessage:function(e,t){return i(e).data("msg-"+t.toLowerCase())||e.attributes&&i(e).attr("data-msg-"+t.toLowerCase())},customMessage:function(e,t){var n=this.settings.messages[e];return n&&(n.constructor===String?n:n[t])},findDefined:function(){for(var e=0;arguments.length>e;e++)if(void 0!==arguments[e])return arguments[e]},defaultMessage:function(e,t){return this.findDefined(this.customMessage(e.name,t),this.customDataMessage(e,t),!this.settings.ignoreTitle&&e.title||void 0,i.validator.messages[t],"Warning: No message defined for "+e.name+"")},formatAndAdd:function(e,t){var n=this.defaultMessage(e,t.method),o=/\$?\{(\d+)\}/g;"function"==typeof n?n=n.call(this,t.parameters,e):o.test(n)&&(n=i.validator.format(n.replace(o,"{$1}"),t.parameters)),this.errorList.push({message:n,element:e}),this.errorMap[e.name]=n,this.submitted[e.name]=n},addWrapper:function(e){return this.settings.wrapper&&(e=e.add(e.parent(this.settings.wrapper))),e},defaultShowErrors:function(){var e,t;for(e=0;this.errorList[e];e++){var n=this.errorList[e];this.settings.highlight&&this.settings.highlight.call(this,n.element,this.settings.errorClass,this.settings.validClass),this.showLabel(n.element,n.message)}if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(e=0;this.successList[e];e++)this.showLabel(this.successList[e]);if(this.settings.unhighlight)for(e=0,t=this.validElements();t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return i(this.errorList).map((function(){return this.element}))},showLabel:function(e,t){var n=this.errorsFor(e);n.length?(n.removeClass(this.settings.validClass).addClass(this.settings.errorClass),n.html(t)):(n=i("<"+this.settings.errorElement+">").attr("for",this.idOrName(e)).addClass(this.settings.errorClass).html(t||""),this.settings.wrapper&&(n=n.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.append(n).length||(this.settings.errorPlacement?this.settings.errorPlacement(n,i(e)):n.insertAfter(e))),!t&&this.settings.success&&(n.text(""),"string"==typeof this.settings.success?n.addClass(this.settings.success):this.settings.success(n,e)),this.toShow=this.toShow.add(n)},errorsFor:function(e){var t=this.idOrName(e);return this.errors().filter((function(){return i(this).attr("for")===t}))},idOrName:function(e){return this.groups[e.name]||(this.checkable(e)?e.name:e.id||e.name)},validationTargetFor:function(e){return this.checkable(e)&&(e=this.findByName(e.name).not(this.settings.ignore)[0]),e},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(e){return i(this.currentForm).find("[name='"+e+"']")},getLength:function(e,t){switch(t.nodeName.toLowerCase()){case"select":return i("option:selected",t).length;case"input":if(this.checkable(t))return this.findByName(t.name).filter(":checked").length}return e.length},depend:function(e,t){return!this.dependTypes[n(e)]||this.dependTypes[n(e)](e,t)},dependTypes:{boolean:function(e){return e},string:function(e,t){return!!i(e,t.form).length},function:function(e,t){return e(t)}},optional:function(e){var t=this.elementValue(e);return!i.validator.methods.required.call(this,t,e)&&"dependency-mismatch"},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,this.pending[e.name]=!0)},stopRequest:function(e,t){this.pendingRequest--,0>this.pendingRequest&&(this.pendingRequest=0),delete this.pending[e.name],t&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(i(this.currentForm).submit(),this.formSubmitted=!1):!t&&0===this.pendingRequest&&this.formSubmitted&&(i(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e){return i.data(e,"previousValue")||i.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,t){e.constructor===String?this.classRuleSettings[e]=t:i.extend(this.classRuleSettings,e)},classRules:function(e){var t={},n=i(e).attr("class");return n&&i.each(n.split(" "),(function(){this in i.validator.classRuleSettings&&i.extend(t,i.validator.classRuleSettings[this])})),t},attributeRules:function(e){var t={},n=i(e),o=n[0].getAttribute("type");for(var s in i.validator.methods){var a;"required"===s?(""===(a=n.get(0).getAttribute(s))&&(a=!0),a=!!a):a=n.attr(s),/min|max/.test(s)&&(null===o||/number|range|text/.test(o))&&(a=Number(a)),a?t[s]=a:o===s&&"range"!==o&&(t[s]=!0)}return t.maxlength&&/-1|2147483647|524288/.test(t.maxlength)&&delete t.maxlength,t},dataRules:function(e){var t,n,o={},s=i(e);for(t in i.validator.methods)void 0!==(n=s.data("rule-"+t.toLowerCase()))&&(o[t]=n);return o},staticRules:function(e){var t={},n=i.data(e.form,"validator");return n.settings.rules&&(t=i.validator.normalizeRule(n.settings.rules[e.name])||{}),t},normalizeRules:function(e,t){return i.each(e,(function(o,s){if(!1!==s){if(s.param||s.depends){var a=!0;switch(n(s.depends)){case"string":a=!!i(s.depends,t.form).length;break;case"function":a=s.depends.call(t,t)}a?e[o]=void 0===s.param||s.param:delete e[o]}}else delete e[o]})),i.each(e,(function(n,o){e[n]=i.isFunction(o)?o(t):o})),i.each(["minlength","maxlength"],(function(){e[this]&&(e[this]=Number(e[this]))})),i.each(["rangelength","range"],(function(){var t;e[this]&&(i.isArray(e[this])?e[this]=[Number(e[this][0]),Number(e[this][1])]:"string"==typeof e[this]&&(t=e[this].split(/[\s,]+/),e[this]=[Number(t[0]),Number(t[1])]))})),i.validator.autoCreateRanges&&(e.min&&e.max&&(e.range=[e.min,e.max],delete e.min,delete e.max),e.minlength&&e.maxlength&&(e.rangelength=[e.minlength,e.maxlength],delete e.minlength,delete e.maxlength)),e},normalizeRule:function(e){if("string"==typeof e){var t={};i.each(e.split(/\s/),(function(){t[this]=!0})),e=t}return e},addMethod:function(e,t,n){i.validator.methods[e]=t,i.validator.messages[e]=void 0!==n?n:i.validator.messages[e],3>t.length&&i.validator.addClassRules(e,i.validator.normalizeRule(e))},methods:{required:function(e,t,n){if(!this.depend(n,t))return"dependency-mismatch";if("select"===t.nodeName.toLowerCase()){var o=i(t).val();return o&&o.length>0}return this.checkable(t)?this.getLength(e,t)>0:i.trim(e).length>0},email:function(e,t){return this.optional(t)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([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])))$/i.test(e)},url:function(e,t){return this.optional(t)||/^(https?|s?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.test(e)},date:function(e,t){return this.optional(t)||!/Invalid|NaN/.test(""+new Date(e))},dateISO:function(e,t){return this.optional(t)||/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/.test(e)},number:function(e,t){return this.optional(t)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)},digits:function(e,t){return this.optional(t)||/^\d+$/.test(e)},creditcard:function(e,t){if(this.optional(t))return"dependency-mismatch";if(/[^0-9 \-]+/.test(e))return!1;for(var n=0,i=0,o=!1,s=(e=e.replace(/\D/g,"")).length-1;s>=0;s--){var a=e.charAt(s);i=parseInt(a,10),o&&(i*=2)>9&&(i-=9),n+=i,o=!o}return 0==n%10},minlength:function(e,t,n){var o=i.isArray(e)?e.length:this.getLength(i.trim(e),t);return this.optional(t)||o>=n},maxlength:function(e,t,n){var o=i.isArray(e)?e.length:this.getLength(i.trim(e),t);return this.optional(t)||n>=o},rangelength:function(e,t,n){var o=i.isArray(e)?e.length:this.getLength(i.trim(e),t);return this.optional(t)||o>=n[0]&&n[1]>=o},min:function(e,t,n){return this.optional(t)||e>=n},max:function(e,t,n){return this.optional(t)||n>=e},range:function(e,t,n){return this.optional(t)||e>=n[0]&&n[1]>=e},equalTo:function(e,t,n){var o=i(n);return this.settings.onfocusout&&o.unbind(".validate-equalTo").bind("blur.validate-equalTo",(function(){i(t).valid()})),e===o.val()},remote:function(e,t,n){if(this.optional(t))return"dependency-mismatch";var o=this.previousValue(t);if(this.settings.messages[t.name]||(this.settings.messages[t.name]={}),o.originalMessage=this.settings.messages[t.name].remote,this.settings.messages[t.name].remote=o.message,n="string"==typeof n&&{url:n}||n,o.old===e)return o.valid;o.old=e;var s=this;this.startRequest(t);var a={};return a[t.name]=e,i.ajax(i.extend(!0,{url:n,mode:"abort",port:"validate"+t.name,dataType:"json",data:a,success:function(n){s.settings.messages[t.name].remote=o.originalMessage;var a=!0===n||"true"===n;if(a){var r=s.formSubmitted;s.prepareElement(t),s.formSubmitted=r,s.successList.push(t),delete s.invalid[t.name],s.showErrors()}else{var l={},d=n||s.defaultMessage(t,"remote");l[t.name]=o.message=i.isFunction(d)?d(e):d,s.invalid[t.name]=!0,s.showErrors(l)}o.valid=a,s.stopRequest(t,a)}},n)),"pending"}}}),i.format=i.validator.format,function(e){var t={};if(e.ajaxPrefilter)e.ajaxPrefilter((function(e,n,i){var o=e.port;"abort"===e.mode&&(t[o]&&t[o].abort(),t[o]=i)}));else{var n=e.ajax;e.ajax=function(i){var o=("mode"in i?i:e.ajaxSettings).mode,s=("port"in i?i:e.ajaxSettings).port;return"abort"===o?(t[s]&&t[s].abort(),t[s]=n.apply(this,arguments),t[s]):n.apply(this,arguments)}}}(jQuery),function(e){e.extend(e.fn,{validateDelegate:function(t,n,i){return this.bind(n,(function(n){var o=e(n.target);return o.is(t)?i.apply(o,arguments):void 0}))}})}(jQuery)},qfJY:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(e){"use strict";var t=function(t,n){this.options=n,this.$body=e(document.body),this.$element=e(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy((function(){this.$element.trigger("loaded.bs.modal")}),this))};function i(i,o){return this.each((function(){var s=e(this),a=s.data("bs.modal"),r=e.extend({},t.DEFAULTS,s.data(),"object"==n(i)&&i);a||s.data("bs.modal",a=new t(this,r)),"string"==typeof i?a[i](o):r.show&&a.show(o)}))}t.VERSION="3.4.1",t.TRANSITION_DURATION=300,t.BACKDROP_TRANSITION_DURATION=150,t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},t.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},t.prototype.show=function(n){var i=this,o=e.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(o),this.isShown||o.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"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",(function(){i.$element.one("mouseup.dismiss.bs.modal",(function(t){e(t.target).is(i.$element)&&(i.ignoreBackdropClick=!0)}))})),this.backdrop((function(){var o=e.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),o&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var s=e.Event("shown.bs.modal",{relatedTarget:n});o?i.$dialog.one("bsTransitionEnd",(function(){i.$element.trigger("focus").trigger(s)})).emulateTransitionEnd(t.TRANSITION_DURATION):i.$element.trigger("focus").trigger(s)})))},t.prototype.hide=function(n){n&&n.preventDefault(),n=e.Event("hide.bs.modal"),this.$element.trigger(n),this.isShown&&!n.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),e(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"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(t.TRANSITION_DURATION):this.hideModal())},t.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy((function(e){document===e.target||this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")}),this))},t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy((function(e){27==e.which&&this.hide()}),this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},t.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},t.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop((function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")}))},t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},t.prototype.backdrop=function(n){var i=this,o=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var s=e.support.transition&&o;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+o).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy((function(e){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())}),this)),s&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!n)return;s?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):n()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){i.removeBackdrop(),n&&n()};e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):a()}else n&&n()},t.prototype.handleUpdate=function(){this.adjustDialog()},t.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},t.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidthp;p++)if(f=e[p],g=k.style[f],s(f,"-")&&(f=r(f)),k.style[f]!==i){if(l||o(n,"undefined"))return d(),"pfx"!=t||f;try{k.style[f]=n}catch(e){}if(k.style[f]!=g)return d(),"pfx"!=t||f}return d(),!1}function m(e,t,n,i,s){var a=e.charAt(0).toUpperCase()+e.slice(1),r=(e+" "+S.join(a+" ")+a).split(" ");return o(t,"string")||o(t,"undefined")?p(r,t,i,s):function(e,t,n){var i;for(var s in e)if(e[s]in t)return!1===n?e[s]:o(i=t[e[s]],"function")?l(i,n||t):i;return!1}(r=(e+" "+C.join(a+" ")+a).split(" "),t,n)}function f(e,t,n){return m(e,i,i,t,n)}var g=[],v=[],b={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout((function(){t(n[e])}),0)},addTest:function(e,t,n){v.push({name:e,fn:t,options:n})},addAsyncTest:function(e){v.push({name:null,fn:e})}},$=function(){};$.prototype=b,$=new $;var w=t.documentElement,y="svg"===w.nodeName.toLowerCase(),F="Moz O ms Webkit",C=b._config.usePrefixes?F.toLowerCase().split(" "):[];b._domPrefixes=C;var S=b._config.usePrefixes?F.split(" "):[];b._cssomPrefixes=S;var x={elem:a("modernizr")};$._q.push((function(){delete x.elem}));var k={style:x.elem.style};$._q.unshift((function(){delete k.style})),b.testProp=function(e,t,n){return p([e],i,t,n)},b.testAllProps=m,b.testAllProps=f,$.addTest("csstransforms",(function(){return-1===navigator.userAgent.indexOf("Android 2.")&&f("transform","scale(1)",!0)})),function(){var e,t,n,i,s,a;for(var r in v)if(v.hasOwnProperty(r)){if(e=[],(t=v[r]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n