=p[e.dim]?(p.transition=0,p.alpha=0,p.display="none",v.transition=0,v.alpha=0,v.display="none",v[e.dim]=p[e.dim],e.scrollTo(0,0)):($e(p,.35,{alpha:0,onComplete:function(){this.dislplay="none"}}),$e(v,.35,{alpha:0,onComplete:function(){setTimeout(function(){v.dislplay="none"},200),e.scrollTo(0,0)}}))},this.destroy=function(){e.parent.removeChild(v),e.parent.removeChild(p),v.removeEventListener(mn,t),v.removeEventListener(gn,i),v.removeEventListener(pn,n),v.removeEventListener(dn,n)},this.setAlpha=function(e){v.alpha=p.alpha=e},this.getBack=function(){return p},this.scrollTo=function(e){},this.hide=function(){m=!1},this.show=function(){m=!0},this.disable=function(){v.removeEventListener(mn,t),v.removeEventListener(gn,i),v.removeEventListener(pn,n),v.removeEventListener(dn,n)},this.enable=function(){v.addEventListener(mn,t),v.addEventListener(gn,i),v.addEventListener(pn,n),v.addEventListener(dn,n)}}function Ne(e){function t(t){e.active&&!e.ing&&e.dispatchEvent("WINDOW_SCROLL_TOP")}function i(t){Ca.setActive(e),r=o(t),l=e.percent||0,e.mask.addEventListener(hn,a),e.mask.addEventListener(cn,n)}function n(t){e.ing===!1&&(e.ing=!0,le()&&!Wi.podUseDesktop&&window.scrollTo(0,1),t.preventDefault()),s=o(t)-r,e.percent=-(s/e.scrollDist)+l,e.percent=e.percent<0?0:e.percent,e.percent=e.percent>1?1:e.percent,e.update(0),e.dispatchEvent(ro)}function o(t){return"x"===e.axis?fo?event.touches[0].pageX:event.clientX:fo?event.touches[0].pageY:event.clientY}function a(t){e.ing=!1,e.mask.removeEventListener(hn,a),e.mask.removeEventListener(cn,n)}var r=0,l=0,s=0;e.mask.addEventListener(dn,i),le()&&e.scrollTopCheck&&window.addEventListener("scroll",t),this.destroy=function(){r&&(e.ing=!1,e.mask.removeEventListener(hn,a),e.mask.removeEventListener(cn,n))}}function Xe(e){function t(){var t="offset"+e.dim[0].toUpperCase()+e.dim.substr(1),i=(e.margin||e.marginTop)+e.obj.element[t]+(e.margin||e.marginBottom),n=i-e.mask.element[t];return n>0}function i(){t()&&(s=!0,Ca.focusTarget=l,Sa.addEventListener(Cn,o,!1),Sa.addEventListener(bn,o,!1))}function n(){s=!1,Sa.removeEventListener(Cn,o,!1),Sa.removeEventListener(bn,o,!1)}function o(t){if(e.active){var i="x"===e.axis?t.deltaX:t.deltaY;(Math.abs(t.deltaX)>Math.abs(t.deltaY)&&"x"===e.axis||Math.abs(t.deltaY)>Math.abs(t.deltaX)&&"y"===e.axis)&&(e.percent>=0&&e.percent<1&&i>0?(a(i),t.preventDefault()):e.percent>0&&e.percent<=1&&i<0&&(a(i),t.preventDefault()))}}function a(t){t="bottom"===e.align?t=-t:t,isNaN(e.percent)&&(e.percent=0);var i="offset"+e.dim[0].toUpperCase()+e.dim.substr(1),n=(e.margin||e.marginTop)+e.obj.element[i]+(e.margin||e.marginBottom),o=n-e.mask.element[i],a=e.percent+t/o;e.percent=a<0?0:a,e.percent=a>1?1:a,e.update(0),e.dispatchEvent(ro)}var r=e.mask,l=this,s=!1;e.active=!1,r.addEventListener(mn,i),r.addEventListener(gn,n),this.destroy=function(){r.removeEventListener(mn,i),s&&n()}}function Ye(e){function t(){e.mask.addEventListener(vn,o),Sa.addEventListener(vn,i)}function i(t){e.mask.hitTestPoint(I(t),F(t))?c=!0:c&&(c=!1,n())}function n(){clearTimeout(r),e.mask.removeEventListener(vn,o),Sa.removeEventListener(vn,i)}function o(t){l.enabled&&(r=setTimeout(function(){var i="x"===e.axis?t.mouseX:t.mouseY,n="offset"+e.dim[0].toUpperCase()+e.dim.substr(1);s=i/e.mask.element[n],0===s&&i>.5*e.mask.element[n]?s=.98:0===s&&i<.5*e.mask.element[n]&&(s=.15),e.percent=s>.5?1:0;var o=e.position,r=e.obj._private[e.axis],l=Math.abs(o-r),h=Math.abs(l)/e.maxSpeed;if(d+=.1*(h-d),d+=.1*(a()-d),e.update(d,!0),e.dispatchEvent(ro),!c){var u,m={};u="x"===e.axis?e.obj.element.offsetLeft:e.obj.element.offsetTop,m[e.axis]=la.round(u),$e(e.obj,1,m)}},50))}function a(){var t=s<.5?2*s:s*-2+2;return Math.round(Math.pow(t,5)*e.maxSpeed+e.minSpeed)}var r,l=this,s=0,d=0,c=!1;return l.enabled=!0,l.destroy=n,e.mask.addEventListener(mn,t),l}function Ze(e){function t(e,t,n){return g.wrap?t:i(e,t,n)}function i(e,t,i){return"x"===e&&"center"===g.align||"y"===e&&"middle"===g.align?.5*(g.perpLength-i):"x"===e&&"right"===g.align||"y"===e&&"bottom"===g.align?g.perpLength-i:t}function n(t){if("y"===g.axis){var i=b[t].width;"thumbs"===e.name&&/fill|vMasonry/.test(e.type)&&(i=r(v+1,g.numberOfColumns)?g.lastColumnWidth:g.gridWidths),g.isWrap=w[f]&&b[t]&&w[f].size+i>g.perpLength,!g.wrap||g.isWrap?(f+=1,v=0):g.wrap&&!g.horizontalMasonry&&(v+=1)}else!g.wrap||C[v]&&b[t]&&C[v].size+b[t].height>g.perpLength?(v+=1,f=0):g.wrap&&(f+=1)}function o(e,t){for(var i=t.length,n=t[0]&&t[0].size?t[0].size:0;i--;)t[0]&&t[i].size<=n&&(n=t[i].size,e=i);return e}function a(e){for(var t=e.length,i=0;t--;)e[t]&&e[t].size>i&&(i=e[t].size);return i}function r(e,t){return e===t-1}function l(e){return!!e.ids.filter(function(e){return b[e].isDoubleSize}).length}function s(e){var t=b[e.ids[0]],i=t.isDoubleSize?Math.round(.5*(t.height-g.vGap)):t.height;return l(e)?2*i+g.vGap:i}function d(e){if(y.length)for(var t=0,i=y.length;tw+f?(c="top",h=b,p=v):b+v
Please try again later.
If problem persists, contact support."):ae(da,ca)?Ie.login=new Pi(e):Fe("Admin not supported for this browser ["+da+" "+ca+"]. Please use latest version of Chrome, Firefox, Safari or MS Edge.")),Ie.events.dispatchEvent(Xn,{id:"layoutModelInit"}),Ie.events.addEventListener(ea,p),Ie.events.addEventListener(Qo,v),Ie.events.addEventListener(Jn,f),Ie.events.addEventListener(Kn,b),Ie.events.addEventListener(no,g),Ie.events.addEventListener(oo,w),Ie.events.addEventListener($n,C),Ie.events.addEventListener(Dn,x),Ie.events.addEventListener("ADDRESS_URI_CHANGE_PASSIVE",E),Ie.events.addEventListener(jn,n),Ie.events.addEventListener(Fo,be),Ie.events.addEventListener(Ho,Ce),Ie.events.addEventListener(Ro,we),Ie.events.addEventListener(lo,m),Ie.events.addEventListener("OVER_LOGO",ye),Ie.events.addEventListener("privateGalleryAuthCheck",Q),Ie.events.addEventListener("passwordViewUpdate",ee),Ie.events.addEventListener("updateAssetId",z),Ie.events.addEventListener("UPDATE_CONTENT_HEIGHT",he),Ie.events.addEventListener(oa,o),Ie.events.addEventListener("siteAnchorCaptionUpdate",I),Ie.events.addEventListener("SEARCH_SUBMIT",B),Ie.events.addEventListener("lightboxDownloadOverlayOpen",D),Ie.events.addEventListener("lightboxUpdateItem",W),Ie.events.addEventListener("lightboxDownloadPdf",G),Ie.events.addEventListener("lightboxDownloadZip",U),Ie.events.addEventListener("attachmentDownload",$),Sa.addEventListener(rn,h),Sa.addEventListener(po,d),Sa.addEventListener(ho,u),Sa.addEventListener(wn,L),(re()||de())&&window.addEventListener("scroll",function(){clearTimeout(Oe),Re=!0,Oe=setTimeout(function(){
Oe=null,Re=!1,c()&&(Ie.events.dispatchEvent(rn),_e=!1)},200)}),Sa.zoom>1?Ie.events.dispatchEvent(rn):h(),Ie.events.addEventListener("cursorAxisUpdate",Se),co=90===Math.abs(window.orientation)?"horizontal":"vertical",window.isStaging){var t=Me();Ie.siteView.addChild(t)}Ea.cacheLightboxSection()}function n(){dx.admin.events.addEventListener(_n,ie),dx.admin.events.addEventListener(Wn,ne),dx.admin.events.addEventListener(Nn,oe),dx.admin.events.addEventListener(Xn,le),dx.admin.events.addEventListener(Yn,ue),dx.admin.events.addEventListener(Zn,me),dx.admin.events.addEventListener(Gn,pe),dx.admin.events.addEventListener(Un,ve),dx.admin.events.addEventListener(qn,fe),dx.admin.events.addEventListener(ta,a),dx.admin.events.addEventListener(ia,s),Ie.events.addEventListener("adminPageviewImageSizes",function(e){dx.admin.events.dispatchEvent("adminPageviewImageSizes",e)})}function o(){Ie.events.dispatchEvent(na,{name:"js"})}function a(){Ie.events.dispatchEvent(ta)}function s(){Ie.events.dispatchEvent(ia)}function d(){Sa.zoom<=1}function c(){return(re()||de())&&_e&&window.innerHeight===document.documentElement.clientHeight}function h(e){if(/responsive/.test(Di.menuAlignHorizontal)){var t=1;re()&&(t=window.devicePixelRatio||1);var i=(Di.screenWidthBreakpoint||800)*t,n=Va.isMenuResponsiveOverlay;Va.isMenuResponsiveOverlay=Sa.width-1)&&o&&"site"===a?(Ie.caption.text=P(o),Ie.caption.show(F)):(Ie.caption.text="",Ie.caption.hide(),Ie.caption.scroll&&Ie.caption.scroll.destroy())}}function I(e){if(Ve&&Ve.asset&&Ie.caption){var e=e||Ve.asset;e.overrides||(e.overrides={}),je=e.overrides||{},Ie.caption.text=P(O(e));var t=i(Ve.section)&&Di.slideshowCaptions,n=J(Yi!==Gi||t?void 0:"site",e.overrides.captionAnchorTo,Ea.overrides.captionAnchorTo);"site"===n&&(t||Ve.mode.indexOf("caption")>-1)?Ie.caption.show(F):(Ie.caption.text="",Ie.caption.hide(),Ie.caption.scroll&&Ie.caption.scroll.destroy())}else Ie.caption&&(Ie.caption.text="",Ie.caption.hide(),Ie.caption.scroll&&Ie.caption.scroll.destroy())}function F(){Yi!==Gi&&(Ie.caption.container.position="fixed"),Ie.caption.container.transition=0,Ie.caption.container.zIndex=Ea.captionView.zIndex(),J(je.captionCloseButton,Ea.overrides.captionCloseButton)?Ie.caption.showCloseButton():Ie.caption.hideCloseButton();var e={onInit:function(){Ie.caption.scroll&&Ie.caption.scroll.hide()},onComplete:function(){Ie.caption.scroll&&(Ie.caption.scroll.show(),Ie.caption.scroll.resize())}},t=J(je.captionBackgroundRectColor,Ea.overrides.captionBackgroundRectColor),i=J(Yi===Gi?Di.overlayAlpha:void 0,je.captionBackgroundAlpha,Ea.overrides.captionBackgroundAlpha);Ie.caption.backgroundColor=V(t,i),Ie.caption.fontFamily=je.captionFont||Ea.overrides.captionFont,Ie.caption.fontSize=Sa.width").replace(/\\r\\n/g,"
").replace(/\n\r/g,"
").replace(/\\n\\r/g,"
").replace(/\r/g,"
").replace(/\\r/g,"
").replace(/\n/g,"
").replace(/\\n/g,"
").replace(/\\/g,""),k.selectable=!0,k.setClass("dx_page_text ql-editor"),k.fontFamily=Di.contactFont,k.fontSize=Di.contactFontSize,k.fontColor=Di.contactFontColor,k.textAlign="right",k.textWrap=!1,z.addChild(k),z.addChild(O);var n=z.element.getElementsByTagName("img"),o=n.length;if(n.length>0)for(;o--;){var a=n[o];a.addEventListener(on,function(e){f()})}A>320&&(A=320,k.width=320,k.textWrap=!0,k.style["word-wrap"]="break-word");for(var o=0,r=L.length,s=0;o"+e.mediaItem.label+"
"}Z=T(),T()&&w()&&(n+="
"),n+=P(e.mediaItem.content);var s=k.element.getElementsByClassName("no-lazy-load");s.length||(k.text=n.replace(/src\=/g,"data-src=")),
O.addChild(k),z.addChild(O),H=k.element.getElementsByClassName("responsive"),A=k.element.getElementsByClassName("responsive-width")}function r(e){return function(t){return e.replace(/[^ -~]+/g,"")===t.src}}function l(e){return e.savedOpacity=e.style.opacity,e.style.opacity=0,e.originalWidth=e.style.width,e.originalHeight=e.style.height,e}function s(e){a(),W=Math.round(Ea.mediaView.maskWidth(z.element.offsetWidth)),Ea.overrides.pageMaxWidth&&W>Ea.overrides.pageMaxWidth&&(W=Ea.overrides.pageMaxWidth),F=c(k.element),I=F.filter(function(e){return"img"===e.tagName.toLowerCase()}).map(l),y(),L(),setTimeout(function(){y(),L()},150)}function c(e){return Array.prototype.slice.apply(e.getElementsByTagName("img")).concat(Array.prototype.slice.apply(e.getElementsByTagName("video"))).concat(Array.prototype.slice.apply(e.getElementsByTagName("iframe"))).concat(Array.prototype.slice.apply(e.getElementsByTagName("input")))}function h(e){var t=e.reduce(function(e,t){if("img"===t.img.tagName.toLowerCase()){var i=t.img.src.replace(Y,"");e=e.concat({src:i,width:t.img.naturalWidth,height:t.img.naturalHeight})}return e},[]);JSON.stringify(z.mediaItem.size.pageImages)!==JSON.stringify(t)&&(z.mediaItem.size.pageImages=t,X.dispatchEvent("adminPageviewImageSizes",z.mediaItem))}function u(e){return new Promise(function(t,i){var n,o=e.getAttribute("data-src");"img"===e.tagName.toLowerCase()?(n=setInterval(function(){e.naturalWidth&&e.naturalHeight&&(e.metaLoaded=!0,clearInterval(n),t({img:e}))},10),e.addEventListener("load",function(){$e(e,.35,{opacity:e.savedOpacity||1})}),e.addEventListener("error",function(){clearInterval(n)}),setTimeout(function(){n&&clearInterval(n)},1e4)):t({img:e}),e.src=o})}function m(e){var t=void 0===Wi.disableRightClick||Wi.disableRightClick;t&&e.preventDefault()}function p(e){return e.img.oncontextmenu=m,e.img.ondragstart=m,e}function v(e){Promise.all(e.map(u)).then(function(e){return e.map(p)}).then(h).then(L).catch(function(e){})}function f(){return"native"===Ea.overrides.pageScrollType||aa&&("nativeMacOs"===Ea.overrides.pageScrollType||Di.globalSmoothScroll)}function g(){if(Ea.section(z.section),Yi!==Gi&&Yi!==Zi||(O.element.style["-webkit-overflow-scrolling"]="touch"),/vScroll/.test(Ea.overrides.transitionType)&&Ea.siteView.unifiedPageScroll())O.element.style.overflow="hidden",O.element.style["-webkit-overflow-scrolling"]="touch",$e.defer(k,Mo,{alpha:1});else if(f()||/unifiedSite/.test(Ea.overrides.siteDisplayBehavior))O.element.style.overflowY="auto",O.element.style.overflowX="hidden",O.element.style["-webkit-overflow-scrolling"]="touch",$e.defer(k,Mo,{alpha:1});else{z.scroll&&z.scroll.destroy();var t=Ea.overrides.pageScrollbarWidth,i=Yi===Gi?-(t+5):Ea.overrides.pageScrollbarHorizontalOffset,n="right"===Ea.overrides.pageScrollbarAlignment?-i-t:i+t,o={name:"text page",types:["bar","wheel","touch"],axis:"y",align:"top",margin:Ea.overrides.pageScrollVerticalMargin,color:Ea.overrides.pageScrollbarColor,hover:Ea.overrides.pageScrollbarHover,side:Ea.overrides.pageScrollbarAlignment,alpha:Ea.overrides.pageScrollbarBgAlpha,width:t,offsetX:n,offsetY:Ea.overrides.pageScrollbarVerticalOffset,property:"translate",rounded:Ea.overrides.pageScrollbarRounded,visibility:Ea.overrides.pageScrollbarVisibility,scrollTopCheck:!0};("nativeMacOs"===Ea.overrides.pageScrollType||Di.globalSmoothScroll)&&(o.margin=0,o.color="#000000",o.hover="#000000",o.side="right",o.alpha=0,o.width=7,o.offsetX=0,o.offsetY=0,o.rounded=!0,o.visibility="when scrolling"),z.scroll=new _e(k,O,o),z.scroll.addEventListener("WINDOW_SCROLL_TOP",function(){z.scroll.percent=0,z.scroll.update(Mo)})}Ea.section(z.section);var a=E(Ea.overrides.pageMarginTop,Sa.height),r=E(Ea.overrides.pageMarginBottom,Sa.height),l=a+k.element.offsetHeight+r;if(w()&&!T()){var s=Re({width:e.mediaItem.size.featuredImage.width,height:e.mediaItem.size.featuredImage.height,filename:V.dataSrc}),d=(Math.round(s.width),Math.round(s.height));l=l>a+d+r?l:a+d+r}U=l!==z.contentHeight,z.contentHeight=l,b(z.section)?(Va._mediaMarginPrefix="page",O.height=Math.round(Ea.mediaView.maskHeight(void 0,z.section.key)),z.height=Math.round(Ea.mediaView.height(z.section.key))):(O.height=l,z.height=l),U&&setTimeout(function(){X.dispatchEvent("MEDIA_HEIGHT_CHANGE")},100),z.scroll&&z.scroll.resize(),$e.defer(k,Mo,{alpha:1})}function b(e){return Ea.section(z.section),(Yi!==Gi||!/vScroll/.test(Ea.overrides.transitionType))&&("none"===Ea.overrides.siteDisplayBehavior||!/vScroll/.test(Ea.overrides.transitionType)&&e.media.length>1)}function C(){return Ea.section(z.section),Ea.overrides.pageTitle&&""!==e.mediaItem.label}function w(){return""!==e.mediaItem.featuredImage}function y(e){Ea.section(z.section),V&&Di.imageRendering.optimizeQuality&&(V.style["image-rendering"]="optimizeQuality"),V&&Di.imageRendering.webkitOptimizeContrast&&(V.style["image-rendering"]="-webkit-optimize-contrast"),V&&"Safari"===da&&Di.imageRendering.webkitBackfaceVisibility&&(V.style["-webkit-backface-visibility"]="hidden"),k.fontFamily=Ea.overrides.pageTextFont,k.fontColor=Ea.overrides.pageTextFontColor,k.fontSize=Ea.overrides.pageTextFontSize,k.letterSpacing=Ea.overrides.pageTextKerning,$e(z,z.updateSpeed,{backgroundColor:Ea.mediaView.backgroundColor()})}function L(e){Ea.section(z.section),Va.activeMediaType=z.type,B=Math.round(Ea.mediaView.maskX()),D=Math.round(Ea.mediaView.maskY(z.section.key));var t=Ea.mediaView.maskWidth(z.element.offsetWidth);if(W=Math.round(Ea.mediaView.maskWidth(z.element.offsetWidth)),N=Math.round(Ea.mediaView.maskHeight(z.element.offsetHeight,z.section.key)),Ea.overrides.pageMaxWidth&&W>Ea.overrides.pageMaxWidth)switch(W=Ea.overrides.pageMaxWidth,Ea.overrides.pageMaxAlign){case"center":B+=Math.round(.5*(t-W));break;case"right":B+=Math.round(t-W)}V&&w()&&!T()&&(B+=R+_,W-=R+_,$e(V,z.updateSpeed,{x:B-R-_,y:D})),!Z&&T()?(V&&(z.removeChild(V),V=void 0),a(),F=c(k.element),I=F.filter(function(e){return"img"===e.tagName.toLowerCase()}).map(l)):Z&&!T()&&(k.text="",a(),F=c(k.element),I=F.filter(function(e){return"img"===e.tagName.toLowerCase()}).map(l)),$e(O,0,{x:B,y:D,width:W}),$e(k,0,{width:W}),S(),H&&H.length>0&&((re()||de())&&(O.style.overflow="auto",O.style["-webkit-overflow-scrolling"]="touch"),$e.defer(k,Mo,{alpha:1})),g()}function S(){if(H){var e=H[0];e&&(e.style.overflow="hidden",e.style.width=W-e.offsetLeft+"px",e.style.height=N-e.offsetTop+"px",e.style.border="none")}if(A){var t=A[0];t&&(t.style.overflow="hidden",t.style.width=W-t.offsetLeft+"px",t.style.border="none")}if(I){var i=I.length;if(i>0)for(;i--;){var n=I[i],o=n.getAttribute("data-src")?n.getAttribute("data-src").replace(Y,""):"";if(o&&z.mediaItem.size.pageImages){var a=window.getComputedStyle(n),l=a.getPropertyValue("max-width"),s=n.getAttribute("width"),d=n.getAttribute("height");if(n.metaLoaded)n.originalWidth?n.style.width=n.originalWidth:s?n.style.width=s+"px":n.style.removeProperty("width"),n.originalHeight?n.style.height=n.originalHeight:d?n.style.height=d+"px":n.style.removeProperty("height"),"none"===l&&(n.style.maxWidth="100%");else{var c=z.mediaItem.size.pageImages.filter(r(o)),h=c[0]||{},u=h.width||n.naturalWidth,m=h.height||n.naturalHeight,p=parseFloat(a.getPropertyValue("width"),10)||s||u,v=(p>W?W:p)||W,f=m/u;n.style.width=v+"px",n.style.height=f*v+"px"}}}}}function x(t){z.updateSpeed=0;var i=Re({width:V.element.offsetWidth,height:V.element.offsetHeight,filename:V.src});R=Math.round(i.width),j=Math.round(i.height),V.width=R,V.height=j,$e(V,1,{alpha:1}),z.updateSpeed=Ea.mediaView.transitionDuration(),z.events.dispatchEvent(xo,{type:"featuredImage",id:e.mediaItem.id,width:V.width,height:V.height})}function M(e){X.removeEventListener(an,L),X.removeEventListener(Xn,L),X.removeEventListener("destroy",M),X.removeEventListener("showCursor",t),X.removeEventListener("hideCursor",n),V&&V.removeEventListener(on,x),z.removeEventListener(To,s)}function T(){if(Yi===Gi)return!0;if(Sa.width<(Di.screenWidthBreakpoint||1e3))return!0;var e=250;return Ea.mediaView.maskWidth()1?(C=2*Io[Ea.overrides.thumbnailSize].width+Ea.overrides.thumbnailGap,w=2*Io[Ea.overrides.thumbnailSize].height+Ea.overrides.thumbnailGap,y=2*Io[Ea.overrides.thumbnailSize].width+Ea.overrides.thumbnailGap,L=2*Io[Ea.overrides.thumbnailSize].height+Ea.overrides.thumbnailGap):(C=Io[Ea.overrides.thumbnailSize].width,w=Io[Ea.overrides.thumbnailSize].height,y=Io[Ea.overrides.thumbnailSize].width,L=Io[Ea.overrides.thumbnailSize].height);var x=je({type:"fit",hRange:y,vRange:L,width:g.size.thumb.width||g.size.content.width||Io[Ea.overrides.thumbnailSize].width,height:g.size.thumb.height||g.size.content.height||Io[Ea.overrides.thumbnailSize].height,disableOrientationCheck:!0}),M=new Ve({hRange:C,vRange:w,hAlign:Ea.overrides.thumbnailAlignHorizontal||"center",vAlign:Ea.overrides.thumbnailAlignVertical||"center",width:x.width,height:x.height});h[u].thumb.width=Math.ceil(x.width),h[u].thumb.height=Math.ceil(x.height),h[u].thumb.x=Math.round(M.x),h[u].thumb.y=Math.round(M.y),h[u].playBtn&&(h[u].playBtn.x=Math.round(.5*(C-50)),h[u].playBtn.y=Math.round(.5*(w-50))),h[u].width=C,h[u].height=w,h[u].hit.width=C,h[u].hit.height=w;var T=/hMasonry|vMasonry/.test(Ea.overrides.thumbnailType)&&Ea.overrides.thumbnailMasonryMaintainOrder,V=!(!(v>1&&/fill|hMasonry|vMasonry/.test(Ea.overrides.thumbnailType))||T)&&b;r.addItem(C,w,V)}/fill|vMasonry/.test(Ea.overrides.thumbnailType)&&(r.gridWidths=bi(!1,Ea.overrides.thumbnailGap),r.lastColumnWidth=/vMasonry/.test(Ea.overrides.thumbnailType)&&Ea.overrides.thumbnailMasonryFill?p-(r.gridWidths+Ea.overrides.thumbnailGap)*(v-1):r.gridWidths,r.numberOfColumns=v),r.items.length&&t(),setTimeout(function(){Ea.section(e.section);var t=r.getBounds(),l=new Ve({hRange:Ea.overlayView.zoneWidth(),vRange:"hPaginatedGrid"===Ea.overrides.thumbnailType?Ea.mediaView.zoneHeight(e.section.key):Ea.overlayView.zoneHeight(e.section.key),width:r.perpLength,height:t.height,hAlign:"center",vAlign:"hPaginatedGrid"===Ea.overrides.thumbnailType?"center":"top",hOffset:0,vOffset:"hPaginatedGrid"===Ea.overrides.thumbnailType?0:e.verticalMargin});if((Ea.overrides.thumbnailMasonryFill||Ea.overrides.thumbnailMasonryEvenRowHeight)&&/hMasonry|vMasonry/.test(Ea.overrides.thumbnailType)?o.gridContainer.x=e.horizontalMargin:(o.gridContainer.x=Math.floor(l.x),a&&(a.width=r.perpLength,d=Ea.overrides.thumbnailTitleBlockTopMargin+a.element.offsetHeight,a.y=Ea.overrides.thumbnailTitleBlockTopMargin)),"hPaginatedGrid"===Ea.overrides.thumbnailType?o.gridContainer.y=Math.floor(l.y):(o.gridContainer.y=0,o.grid.y=d+e.verticalMargin),n.width=Ea.overlayView.zoneWidth(),o.width=Ea.overlayView.zoneWidth(),o.grid.width=r.perpLength,o.gridContainer.width=r.perpLength,"hPaginatedGrid"===Ea.overrides.thumbnailType){var c=Ea.mediaView.zoneHeight(e.section.key);n.height=c,o.height=c,i.height=c,o.grid.height=t.height,o.gridContainer.height=t.height,s=c}else if(/^unifiedSite/.test(Ea.overrides.siteDisplayBehavior)){var h=!f(e.section)&&Ea.mediaView.height(e.section.key)>t.height?Ea.mediaView.height(e.section.key):t.height,u=h+e.verticalMargin;s=d+(u+e.verticalMargin),n.height=s,o.height=s,o.grid.height=u,o.gridContainer.height=s}else if(Ea.siteView.unifiedPageScroll()&&(Yi!==Gi&&re()||Yi!==Zi&&de()||/native/.test(Ea.overrides.thumbnailScrollType)||Di.globalSmoothScroll)){var u=t.height+e.verticalMargin;u=u>Ea.mediaView.height()?u:Ea.mediaView.height(),s=d+(u+e.verticalMargin),n.height=s,o.height=s,o.grid.height=u,o.gridContainer.height=s}else s=d+(t.height+e.verticalMargin),n.height=Ea.overlayView.zoneHeight(),o.height=n.height,i.height=n.height,o.grid.height=t.height+e.verticalMargin,o.gridContainer.height=s;a&&"bottom"===Di.thumbnailTitleBlockPosition&&(a.y=t.height+e.verticalMargin+Ea.overrides.thumbnailTitleBlockTopMargin,o.grid.y=e.verticalMargin),i.totalHeight=s,e.localEvents.dispatchEvent("UPDATE_CONTENT_HEIGHT",{thumbs:s}),n.resizeThumbVideo()},20)},this.thumbLoaded=function(e){this.parent.loader&&this.parent.removeChild(this.parent.loader),"slideUp"!==Di.thumbLoadEffect&&"slideDown"!==Di.thumbLoadEffect||$e(this.parent,.85,{alpha:1,translateY:0}),$e(this,.25,{alpha:1})}}function Ti(e){function t(){switch(a){case"top":l.axis="x",l.perpLength=Io[r].height,n.height=Io[r].height,o.height=Io[r].height;break;case"right":l.axis="y",l.perpLength=Io[r].width,n.width=Io[r].width,o.width=Io[r].width;break;case"bottom":l.axis="x",l.perpLength=Io[r].height,n.height=Io[r].height,o.height=Io[r].height;break;case"left":l.axis="y",l.perpLength=Io[r].width,n.width=Io[r].width,o.width=Io[r].width}}function i(){l.layoutItems(),items=o.grid.children;for(var t=0,i=items.length;t573?573:Ea.mediaView.width(),F=Ea.mediaView.height(O.section.key)>400?400:Ea.mediaView.height(O.section.key),f.height=f.element.offsetHeight,T.width=T.element.offsetWidth,g.y=f.height+10,Wi.inquiryInfo?(b.y=f.height+20,C.x=2,C.y=b.y+b.element.offsetHeight+10):(C.x=2,C.y=f.height+20),Va.mediaView.width()>573?Wi.inquiryInfo?(w.x=222,w.y=b.y+b.element.offsetHeight+10):(w.x=222,w.y=C.y):(w.transition=0,w.x=H,w.width=Ea.mediaView.width()-2*H,w.y=C.y+k+10,C.x=.5*(Va.mediaView.width()-C.width),f.x=.5*(Va.mediaView.width()-f.element.offsetWidth),L.input.width=.5*w.width-H,x.input.width=.5*w.width,M.input.width=w.width,x.x=.5*w.width,g.alpha=0),T.x=w.element.offsetWidth-T.width,Wi.inquiryInfo?(A.x=w.x,A.y=b.y+b.element.offsetHeight+10):(A.x=w.x,A.y=40),0===O.updateSpeed?(O.width=Ea.mediaView.width(),O.height=Ea.mediaView.height(O.section.key),v.x=.5*(Ea.mediaView.width()-I),v.y=.5*(Ea.mediaView.height(O.section.key)-F),v.width=I,v.height=F):($e(O,O.updateSpeed,{width:Ea.mediaView.width(),height:Ea.mediaView.height(O.section.key)}),$e(v,O.updateSpeed,{x:.5*(Ea.mediaView.width()-I),y:.5*(Ea.mediaView.height(O.section.key)-F),width:I,height:F})),E.width=Ea.mediaView.width(),E.height=Ea.mediaView.height(O.section.key),O.updateSpeed=Mo},O.show=function(){O.updateSpeed=0,O.visible||(O.visible=!0,O.display="block",$e(O,Mo,{alpha:1}),$e(w,Mo,{alpha:1}),$e(A,Mo,{alpha:0})),O.updatePosition()},O.hide=function(){O.visible&&(O.visible=!1,$e(O,Mo,{alpha:0,onComplete:function(){this.display="none"}}))},O.updateInquiryInfo=function(){f.text=Wi.inquiryTitle?Wi.inquiryTitle:"Inquire about this image",Wi.inquiryInfo&&(b.text=Wi.inquiryInfo),O.updatePosition()},O.updateContent=function(e){var t=S(e.section.media);y=l(t[e.assetId]),C&&v.removeChild(C),C=new Qe,C.alpha=0,Wi.inquiryInfo?(C.x=2,C.y=b.y+b.element.offsetHeight+10):(C.x=2,C.y=f.height+20),C.src=c(200,200,y.thumb||y.content,y.demoFile),C.width=200,v.addChild(C),C.addEventListener(on,i)},O.addEventListener(To,function(e){t.call(O)}),O}function Ei(e){function t(){f=new La,f.backgroundColor="#cccccc",f.alpha=0,f.addEventListener(pn,o),C.addChild(f),a=new La,a.width=w,a.height=y,C.addChild(a),r=new ct,r.text="Share this item",r.fontFamily=Ea.overrides.overlayTitleFont,r.fontColor=Ea.overrides.overlayTitleFontColor,r.fontSize=Ea.overrides.overlayTitleFontSize,a.addChild(r),r.height=r.element.offsetHeight,s=new La,s.backgroundColor=V(Ea.overrides.overlayTitleFontColor,.35),s.width=w,s.height=1,s.y=Ea.overrides.overlayTitleFontSize+10,a.addChild(s),d=new Qe,d.alpha=0,a.addChild(d),d.addEventListener(on,i),h=new La,h.x=222,h.y=r.height+20,h.width=w-h.x,h.height=y-h.y,a.addChild(h);var e="https://"+window.location.host+window.location.pathname.split("/").slice(0,-1).join("/");m=new La({type:"iframe"}),m.src="https://www.facebook.com/plugins/share_button.php?href="+encodeURIComponent(e)+"&width="+M.width+"&layout="+M.layout+"&action=like&size="+M.size+"&show_faces="+M.showFaces+"&share="+M.showShareButton+"&height="+M.height,m.width=M.width,m.height=M.height,m.element.setAttribute("scrolling","no"),m.element.setAttribute("frameborder","0"),m.element.setAttribute("allowTransparency","true"),p=new et,p.addEventListener("click",function(){var e="https://"+window.location.host+window.location.pathname.split("/").slice(0,-1).join("/");window.open("https://twitter.com/intent/tweet?text="+encodeURI(e),"_blank")});var t=new Qe;t.position="relative",t.width=20,t.height=20,t.src="https://33acda504924667afc4c-95ab99cbba1f87315d458f4e201677b2.ssl.cf1.rackcdn.com/icon/twitter@2x.png",p.addChild(t),v=new et,v.addEventListener("click",function(){var e="https://"+window.location.host+window.location.pathname.split("/").slice(0,-1).join("/");window.location.href="mailto:?subject=Shared item from "+window.location.host+"&body="+Wi.portfolioEmailMessage+"%0A%0A"+e});var l=new Qe;l.position="relative",l.width=20,l.height=20,l.src="https://33acda504924667afc4c-95ab99cbba1f87315d458f4e201677b2.ssl.cf1.rackcdn.com/icon/email@2x.png",v.addChild(l),m.y=0,p.y=30,v.y=60,h.addChild(m),h.addChild(p),h.addChild(v),L.alpha=0,L.x=h.x,L.y=40,L.fontFamily=Ea.overrides.overlayTitleFont,L.fontColor=Ea.overrides.overlayTitleFontColor,L.fontSize=14,a.addChild(L),C.updateStyle(),C.updatePosition(),C.show(),x.addEventListener(Do,n)}function i(e){var t=Re({width:this.width,height:this.element.offsetHeight,filename:d.src}),i=De(null,0,{type:"fit",width:t.width,height:t.height,hRange:200,vRange:re()?200:300,hAlign:0,vAlign:0,disableOrientationCheck:!0});g=Math.ceil(i.scale.width),b=Math.ceil(i.scale.height),this.width=g,this.height=b,$e(this,Mo,{alpha:1}),C.updatePosition()}function n(e){L.text=e.response,$e(h,Mo,{alpha:0}),$e(L,Mo,{alpha:1}),C.addEventListener(pn,o)}function o(e){e.target===C&&C.removeEventListener(pn,o),x.dispatchEvent(ea,"share")}var a,r,s,d,h,u,m,p,v,f,g,b,C=new La(e),w=573,y=400,L=new La,x=e.localEvents;C.section=e.section;var M={layout:"button",size:"small",showFaces:!1,showShareButton:!0,width:67,height:20};return C.updateSpeed=0,C.backgroundColor=V(Di.overlayColor,Di.overlayAlpha),C.zIndex=100,C.alpha=0,C.visible=!1,C.updateStyle=function(e){Ea.overrides.overlayTitleFont!==r.fontFamily&&(r.fontFamily=Ea.overrides.overlayTitleFont,m.fontFamily=Ea.overrides.overlayTitleFont,p.fontFamily=Ea.overrides.overlayTitleFont,v.fontFamily=Ea.overrides.overlayTitleFont),Ea.overrides.overlayTitleFontSize!==r.fontSize&&$e(r,Mo,{fontSize:Ea.overrides.overlayTitleFontSize,onComplete:function(){C.updatePosition(e)}}),Ea.overrides.overlayTitleFontColor!==r.fontColor&&($e(r,Mo,{fontColor:Ea.overrides.overlayTitleFontColor}),$e(s,Mo,{backgroundColor:V(Ea.overrides.overlayTitleFontColor,.35)}),$e(m,Mo,{fontColor:V(Di.overlayColor,.35),backgroundColor:V(Ea.overrides.overlayTitleFontColor,.35)}),$e(p,Mo,{fontColor:V(Di.overlayColor,.35),backgroundColor:V(Ea.overrides.overlayTitleFontColor,.35)}),$e(v,Mo,{fontColor:V(Di.overlayColor,.35),backgroundColor:V(Ea.overrides.overlayTitleFontColor,.35)})),V(Di.overlayColor,Di.overlayAlpha)!==C.backgroundColor&&$e(C,Mo,{backgroundColor:V(Di.overlayColor,Di.overlayAlpha)})},C.updatePosition=function(e){Ea.section(C.section),C.x=0,C.y=0,w=Ea.mediaView.width()>573?573:Ea.mediaView.width(),y=Ea.mediaView.height(C.section.key)>400?400:Ea.mediaView.height(C.section.key),d.x=2,d.y=r.height+20,s.y=Ea.overrides.overlayTitleFontSize+10,Va.mediaMask.width()>573?(h.x=222,h.y=r.height+20):(h.transition=0,h.x=.5*(Va.mediaView.width()-h.width),h.y=d.y+b+10,d.x=.5*(Va.mediaView.width()-d.width),r.x=.5*(Va.mediaView.width()-r.element.offsetWidth),m.x=.5*(h.width-67),p.x=.5*(h.width-20),v.x=.5*(h.width-20),s.alpha=0),0===C.updateSpeed?(C.width=Ea.mediaView.width(),C.height=Ea.mediaView.height(C.section.key),a.x=.5*(Ea.mediaView.width()-w),a.y=.5*(Ea.mediaView.height(C.section.key)-y),a.width=w,a.height=y):($e(C,C.updateSpeed,{width:Ea.mediaView.width(),height:Ea.mediaView.height(C.section.key)}),$e(a,C.updateSpeed,{x:.5*(Ea.mediaView.width()-w),y:.5*(Ea.mediaView.height(C.section.key)-y),width:w,height:y})),f.width=Ea.mediaView.width(),f.height=Ea.mediaView.height(C.section.key),C.updateSpeed=Mo},C.show=function(){C.updateSpeed=0,C.updatePosition(),C.visible||(C.visible=!0,C.display="block",$e(C,Mo,{alpha:1}),$e(h,Mo,{alpha:1}),$e(L,Mo,{alpha:0}))},C.hide=function(e){C.visible&&(C.visible=!1,$e(C,Mo,{alpha:0,onComplete:function(){this.display="none"}}))},C.updateContent=function(e){var t=S(e.section.media);u=l(t[e.assetId]),r.text="Share this "+u.type;var n=r.element.offsetHeight;d&&a.removeChild(d),d=new Qe,d.alpha=0,d.x=2,d.y=n+20,d.width=200,d.src=c(200,200,u.thumb||u.content,u.demoFile),h.y=n+20;var o="https://"+window.location.host+window.location.pathname.split("/").slice(0,-1).join("/");m.src="https://www.facebook.com/plugins/share_button.php?href="+encodeURIComponent(o)+"&width="+M.width+"&layout="+M.layout+"&action=like&size="+M.size+"&show_faces="+M.showFaces+"&share="+M.showShareButton+"&height="+M.height,a.addChild(d),d.addEventListener(on,i)},C.addEventListener(To,function(e){t.call(C)}),C}function zi(e){function t(e){return window.scrollY>e?e:window.scrollY<0?0:window.scrollY;
}function i(e){Di.menuRevealOnInit!==!1&&k&&e<10?C.menuView.dock.toggleState()||C.menuView.dock.show():e>Sa.height*Di.menuScrollReveal?C.menuView.dock.toggleState()||C.menuView.dock.show():C.menuView.dock.toggleState()&&C.menuView.dock.hide()}function n(){"Safari"===da&&(C.menuView.menuText.translateZ=0)}function o(){"Safari"===da&&(C.menuView.menuText.style["-webkit-transform"]="none",C.menuView.menuText.style["-ms-transform"]="none",C.menuView.menuText.style.transform="none")}function a(){C.menuView.dock.toggleState()&&C.menuView.closeDock()}function r(e){if(C.menuView.isInitUri=!1,Yi===Gi||Yi===Zi){var t=e.info.isDeepLink||""===Di.menuAutoCloseMobile||void 0===Di.menuAutoCloseMobile||Di.menuAutoCloseMobile;""===Ea.introFile&&""===Di.introFile||e.path?!y&&I(e)&&C.menuView.dock.toggleState()?setTimeout(C.menuView.closeDock,200):y||t?t&&C.menuView.dock.toggleState()&&setTimeout(C.menuView.closeDock,2e3):C.menuView.dock.toggleState()&&(clearTimeout(b),b=setTimeout(C.menuView.closeDock,200)):(C.menuView.dock.toggleState()||C.menuView.openDock(),t&&setTimeout(C.menuView.closeDock,2e3))}else"overlay"===Ea.menuView.placement()?(!y&&C.menuView.dock.toggleState()&&C.menuView.closeDock(),y&&(Di.menuOpenOverlayOnInit?C.menuView.openDock():C.menuView.closeDock(),C.menuView.dock.toggleState()?C.menuView.showCloseButton():C.menuView.showMenuIcon())):ie()&&i();s(e),y=!1}function s(e){C.menuView.menuText.setActiveMenuItem(e)}function d(e){var t=S(e.value);return"media"===e.field&&"update"===e.method&&1===t.length&&"link"===l(t[0]).type}function c(e){return"media"===e.field&&"update"===e.method&&""===e.value}function h(e){setTimeout(function(){C.menuView.menuText.display="block",C.menuView.display="block",C.menuView.menuText.rebuild({model:e})},400)}function m(e){g&&clearTimeout(g),g=setTimeout(function(){e.action&&"sectionReorder"===e.action||(e.action&&"remove"===e.action?c(e)&&h(p()):e.action&&"addMediaToSection"===e.action||(e.action&&"addSelectionToSection"===e.action?d(e)&&h(p()):h(p())))},0)}function p(){var e={};for(var t in _i)_i[t].media&&_i[t].mediaItems&&_i.hasOwnProperty(t)&&(e[t]={id:_i[t].id,key:_i[t].key,hideFromMenu:_i[t].hideFromMenu,customLink:_i[t].customLink,isIndex:_i[t].isIndex,indexLink:_i[t].indexLink,linkTarget:_i[t].linkTarget,isOpen:_i[t].isOpen,hideSubs:_i[t].hideSubs,label:_i[t].label,alias:_i[t].alias,media:_i[t].media.slice(0),mediaItems:_i[t].mediaItems.slice(0),overrides:_i[t].overrides,password:_i[t].password,thumb:_i[t].thumb,visible:_i[t].visible,isSearch:_i[t].isSearch,isLightbox:_i[t].isLightbox});if((Yi===Gi||Yi===Zi&&Di.footerOnMenuTablet)&&(Ea.socialLinks.forEach(function(t){var i=Ri[t],n=u(e);e[t]={id:n,key:i.label,label:i.label,media:[t],mediaItems:[],overrides:{},password:"",thumb:{},visible:!0},e.ROOT_SECTION.media.push(n)}),Ea.copyright)){var i=u(e);e.copyright={id:i,key:"copyright",label:Ea.copyright,media:[],mediaItems:[],overrides:{},password:"",thumb:{},visible:!0},e.ROOT_SECTION.media.push(i)}return e}function v(e){if(w||e&&/menu|marginOverlap|dropdownSubMenu|sitePaddingTop|sitePaddingRight|sitePaddingBottom|sitePaddingLeft|footerIcon/.test(e.id)){C.menuView.updateStyle();var t=p();C.menuView.menuText.display="block",C.menuView.display="block",C.menuView.menuText.rebuild({model:t}),C.menuView.menuText.updatePosition(0),C.menuView.updatePosition("layoutModelChange"),C.menuView.updateScroll(),w=!1,h(t)}}function f(e){"link"===e.type&&"Footer Links"!==e.filters&&(C.menuView.updateStyle(),C.menuView.menuText.display="block",C.menuView.display="block",C.menuView.menuText.rebuild({model:p()}),C.menuView.menuText.updatePosition(0),C.menuView.updatePosition(),C.menuView.updateScroll())}var g,b,C=new tt({parentView:e.parentView,parentController:e.parentController,events:e.siteControllerEvents}),w=!0,y=!0,L=!0,x=350,M=!1,T=!1;C.updateSpeed=0,C.menuView=new e.MenuView(e),C.menuView.alpha=0,Yi===Gi&&Ea.overrides.menuDisplaceMobile?(Sa.addChild(C.menuView),C.menuView.addChild(e.parentView),C.menuView.setClass("MenuView invertSite")):Yi===Zi&&Ea.overrides.menuDisplaceTablet?(Sa.addChild(C.menuView),C.menuView.addChild(e.parentView),C.menuView.setClass("MenuView invertSite")):(C.parentView.addChild(C.menuView),C.parentView.setClass("SiteView invertSite")),e.model=_i,C.menuView.menuText=new Oi(e),C.menuView.menuText.element.setAttribute("class","menuText"),C.menuView.addContent(C.menuView.menuText),C.events.addEventListener("menuUpdatePosition",function(){C.menuView.updatePosition()}),C.events.addEventListener(Xn,v),C.events.addEventListener(Yn,f),C.events.addEventListener(qn,m),C.events.addEventListener(ho,function(){M=!0}),C.events.addEventListener(rn,function(){Va.isMenuOverlayStateChange?(C.menuView.transition=0,C.menuView.alpha=0,setTimeout(function(){Va.isMenuResponsiveOverlay&&Yi!==Gi?C.menuView.closeDock(0):C.menuView.openDock(0),C.menuView.menuText.display="block",C.menuView.display="block",C.menuView.menuText.rebuild({model:p()}),C.menuView.menuText.updatePosition(0),C.menuView.updatePosition(0),C.menuView.updateStyle(0),C.menuView.updateScroll(),C.menuView.dock.toggleState()&&setTimeout(function(){C.menuView.transition=0,C.menuView.alpha=1},350)},x)):(Yi===Gi&&(M||L)&&(C.menuView.menuText.rebuild({model:p()}),M=!1),C.menuView.menuText.updatePosition(0),C.menuView.updatePosition(),Yi===Gi||Yi===Zi||C.menuView.dock.toggleState()||Di.isMenuScrollReveal||setTimeout(function(){C.menuView.display="none"},x)),x=50,L=!1}),C.events.addEventListener(Rn,r),C.events.addEventListener("SITE_URI_CHANGE_PASSIVE",s),C.events.addEventListener(Xo,a),C.events.addEventListener(Uo,function(){g=setTimeout(function(){C.menuView.dock.toggleState()&&(C.menuView.menuText.display="block",C.menuView.display="block"),C.menuView.menuText.updatePosition(0),C.menuView.updatePosition()},0)}),C.events.addEventListener(qo,C.menuView.updatePosition),C.events.addEventListener("fillSiteMode",n),C.events.addEventListener("nonFillSiteMode",o),C.events.addEventListener("LOGO_LOADED",function(){C.menuView.menuText.display="block",C.menuView.display="block",C.menuView.menuText.updatePosition(0),C.menuView.updatePosition()});var V,E=0,z=!1,k=!0,O=void 0===Di.menuRevealOnInit||Di.menuRevealOnInit;Di.menuRevealOnInit===!1&&C.menuView.dock.hide(),window.addEventListener("scroll",function(){T=!1,Di.isMenuScrollReveal&&/top/.test(Ea.menuView.placement())&&(z=!0,clearTimeout(V),V=setTimeout(function(){var e=Ea.siteView.height()-Sa.height;E=t(e),Di.menuRevealOnInit!==!0&&k?(C.menuView.dock.hide(),O=!1):ie()?(T=!0,i(E)):Di.isMenuScrollReveal&&(0!==E&&E>window.oldScrollY-1?C.menuView.dock.toggleState()&&!k&&(C.menuView.dock.hide(),O=!1):E0)for(var t=e.children.length;t--;)this.removeChildren(e.children[t]),e.removeChild(e.children[t])},e.prototype.childAdded=function(e){for(var t=this.children.length;t--;)"Stage"===this.children[t].topParentName&&this.children[t]===e&&this.children[t].dispatchEvent&&this.children[t].dispatchEvent(To,this.children[t])},e.prototype.moveToTop=function(e){for(var t=0,i=this.children.length;i--;)this.children[i].zIndex>=t&&!this.children[i]===e?t=this.children[i].zIndex+1:this.children[i].zIndex--;e.zIndex=t},e.prototype.event=function(e){!this.proxy._private.selectable&&!fo&&"input"!==this.proxy.vars.type&&"textarea"!==this.proxy.vars.type&&"button"!==this.proxy.vars.type;var t={type:e.type,target:this.proxy,currentTarget:this.proxy,keyCode:e.which,detail:e.detail,pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX||e.layerX,offsetY:e.offsetY||e.layerY,mouseX:e.clientX-this.proxy.stageX,mouseY:e.clientY-this.proxy.stageY,preventDefault:function(){e.preventDefault()},stopPropagation:function(){e.stopPropagation()},dataTransfer:e.dataTransfer};e.touches&&(t.touches=e.touches),this.proxy.dispatchEvent(e.type,t)},e.prototype.hitTestPoint=function(e,t){return this._private.width||(this._private.width=this.element.offsetWidth||this.element.scrollWidth||0),"none"!==this.style.display&&e>=this.stageX&&e<=this.stageX+this._private.width&&t>=this.stageY&&t<=this.stageY+this._private.height},e.prototype.hitTestAbs=function(e,t){return"none"!==this.style.display&&e>=this.scrollAbsX&&e<=this.scrollAbsX+this._private.width&&t>=this.scrollAbsY&&t<=this.scrollAbsY+this._private.height},e.prototype.globalToLocal=function(e){return{x:e.x-this.stageX,y:e.y-this.stageY}},e.prototype.localToGlobal=function(e){return{x:e.x+this.stageX,y:e.y+this.stageY}},e.prototype.focus=function(){Sa.activeFocus=this,"input"!==this.vars.type&&"textarea"!==this.vars.type&&"button"!==this.vars.type||this.element.focus()},e.prototype.blur=function(){"input"!==this.vars.type&&"textarea"!==this.vars.type&&"button"!==this.vars.type||this.element.blur()},e.prototype.getClass=function(){return this.element.className},e.prototype.setClass=function(e){return this.element.setAttribute("class",e)},i.forEach(function(i){/width|height|fontSize|src|transition/.test(i)||Object.defineProperty(e.prototype,i,{get:function(){return this._private[i]},set:function(e){this._private[i]=e,this.element.style[i]=t.indexOf(i)>-1?e+"px":e}})}),Object.defineProperty(e.prototype,"fontFamily",{get:function(){return this.element.style.fontFamily},set:function(e){if(e.indexOf(":")>-1){var t=e.split(":"),i=t[0],n=t[1];this.fontWeight=n,this.element.style.fontFamily=i,this._private.fontFamily=i}else this.element.style.fontFamily=e,this._private.fontFamily=e}}),Object.defineProperty(e.prototype,"scrollLeft",{get:function(){return this.element.scrollLeft},set:function(e){this.element.scrollLeft=e}}),Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.element.scrollTop},set:function(e){this.element.scrollTop=e}}),Object.defineProperty(e.prototype,"offsetLeft",{get:function(){return this.element.offsetLeft}}),Object.defineProperty(e.prototype,"offsetTop",{get:function(){return this.element.offsetTop}}),Object.defineProperty(e.prototype,"value",{get:function(){return this.element.value},set:function(e){this.element.value=e}}),Object.defineProperty(e.prototype,"topParentName",{get:function(){return this.parent?this.parent.topParentName:this.topParentName}}),Object.defineProperty(e.prototype,"stageX",{get:function(){if(this.parent){var e=this.x>0?this.x:this.translateX;return this.parent.stageX+(e||0)}return this.x}}),Object.defineProperty(e.prototype,"stageY",{get:function(){if(this.parent){var e=this.y>0?this.y:this.translateY;return this.parent.stageY+(e||0)}return this.y}}),Object.defineProperty(e.prototype,"absX",{get:function(){var e=0,t=this.element;if(t.offsetParent)do{var i=new n(window.getComputedStyle(t).getPropertyValue("transform"));e+=t.offsetLeft+i.m41}while(t=t.offsetParent);return e}}),Object.defineProperty(e.prototype,"absY",{get:function(){var e=0,t=this.element;if(t.offsetParent)do{var i=new n(window.getComputedStyle(t).getPropertyValue("transform"));e+=t.offsetTop+i.m42}while(t=t.offsetParent);return e}}),Object.defineProperty(e.prototype,"scrollAbsX",{get:function(){var e=0,t=this.element;if(t.offsetParent)do{var i=new n(window.getComputedStyle(t).getPropertyValue("transform"));e+=t.offsetLeft+i.m41-t.scrollLeft}while(t=t.offsetParent);return e}}),Object.defineProperty(e.prototype,"scrollAbsY",{get:function(){var e=0,t=this.element;if(t.offsetParent)do{var i=new n(window.getComputedStyle(t).getPropertyValue("transform"));e+=t.offsetTop+i.m42-t.scrollTop}while(t=t.offsetParent);return e}}),Object.defineProperty(e.prototype,"src",{get:function(){return this._private.src},set:function(e){e&&(this._private.src=e,this.element.src=e)}}),Object.defineProperty(e.prototype,"text",{get:function(){return this._private.text},set:function(e){this._private.text=e,this.element.innerHTML=e}}),Object.defineProperty(e.prototype,"textAlignVertical",{get:function(){return this._private.textAlignVertical},set:function(e){this._private.textAlignVertical=e,"middle"!==e&&"bottom"!==e||(this.style.position="relative",this.style.display="table-cell"),this.style.verticalAlign=e}}),Object.defineProperty(e.prototype,"textWrap",{get:function(){return this._private.textWrap},set:function(e){this._private.textWrap=e,this.style.whiteSpace=e?"normal":"nowrap"}}),Object.defineProperty(e.prototype,"fontColor",{get:function(){return this._private.fontColor},set:function(e){this._private.fontColor=e,this.style.color=e}}),Object.defineProperty(e.prototype,"selectable",{get:function(){return this._private.selectable},set:function(e){this._private.selectable=e,this._private.selectable||"input"===this.vars.type||"textarea"===this.vars.type?(this.style.cursor="auto",this.style["-webkit-touch-callout"]="text",this.style["-webkit-user-select"]="text",this.style.MozUserSelect="text",this.style["-ms-touch-callout"]="text",this.style["user-select"]="text"):(this.style.cursor="default",this.style["-webkit-touch-callout"]="none",this.style["-webkit-user-select"]="none",this.style.MozUserSelect="none",this.style["-ms-touch-callout"]="none",this.style["user-select"]="none")}}),Object.defineProperty(e.prototype,"alpha",{get:function(){return this._private.opacity},set:function(e){this._private.opacity=e,this.style.opacity=e}}),Object.defineProperty(e.prototype,"x",{get:function(){return this._private.x||0},set:function(e){this._private.x=e,this.style.left=e+"px"}}),Object.defineProperty(e.prototype,"y",{get:function(){return this._private.y||0},set:function(e){"textinputpanel"===this.name,this._private.y=e,this.style.top=e+"px"}}),Object.defineProperty(e.prototype,"translate",{get:function(){return this._private.translate},set:function(e){this._private.translate=e,this._private.translateX=e[0],this._private.translateY=e[1],this.style["-webkit-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style["-ms-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style.transform="translate("+this._private.translateX+"px,"+this._private.translateY+"px)"}}),Object.defineProperty(e.prototype,"translateX",{get:function(){if(isNaN(this._private.translateX)){var e=new L(this.element);return Number(e.x)||0}return this._private.translateX},set:function(e){this._private.translateX=e,this._private.translateY=this._private.translateY||0,this.style["-webkit-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style["-ms-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style.transform="translate("+this._private.translateX+"px,"+this._private.translateY+"px)"}}),Object.defineProperty(e.prototype,"translateY",{get:function(){if(this._private.translateY)return this._private.translateY;var e=new L(this.element);return Number(e.y)||0},set:function(e){this._private.translateY=e,this._private.translateX=this._private.translateX||0,this.style["-webkit-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style["-ms-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style.transform="translate("+this._private.translateX+"px,"+this._private.translateY+"px)"}}),Object.defineProperty(e.prototype,"translateZ",{get:function(){return this._private.translateZ},set:function(e){this._private.translateZ=e,this.style["-webkit-transform"]="translateZ("+e+"px)",this.style["-ms-transform"]="translateZ("+e+"px)",this.style.transform="translateZ("+e+"px)"}}),Object.defineProperty(e.prototype,"translate3d",{get:function(){if(this._private.translate3d)return this._private.translate3d;var e=new L(this.element);return[e.x,e.y,e.z]||0},set:function(e){this._private.translate3d=e,this._private.translateX=e[0]||0,this._private.translateY=e[1]||0,this._private.translateZ=e[2]||0,this.style["-webkit-transform"]="translate3d("+e[0]+"px,"+e[1]+"px,"+e[2]+"px)",this.style["-ms-transform"]="translate3d("+e[0]+"px,"+e[1]+"px,"+e[2]+"px)",this.style.transform="translate3d("+e[0]+"px,"+e[1]+"px,"+e[2]+"px)"}}),Object.defineProperty(e.prototype,"rotate",{get:function(){return this._private.rotate},set:function(e){this._private.rotate=e,this.style["-webkit-transform"]="rotate("+e+"deg)",this.style["-moz-transform"]="rotate("+e+"deg)",this.style["-o-transform"]="rotate("+e+"deg)",this.style.transform="rotate("+e+"deg)"}}),Object.defineProperty(e.prototype,"width",{get:function(){return this._private.width=this._private.width||0,this._private.width},set:function(e){e<0&&(e=0),this._private.width=e,this.style.width=e+"px"}}),Object.defineProperty(e.prototype,"height",{get:function(){return this._private.height=this._private.height||0,this._private.height},set:function(e){e<0&&(e=0),this._private.height=e,this.style.height=e+"px"}}),Object.defineProperty(e.prototype,"numChildren",{get:function(){return this.children.length}}),Object.defineProperty(e.prototype,"fontSize",{get:function(){return this._private.fontSize},set:function(e){this._private.fontSize=e,isNaN(e)&&e.search("%")>-1?this.style.fontSize=e:isNaN(e)&&e.search("px")>-1?this.style.fontSize=e:isNaN(e)?this.style.fontSize=e:this.style.fontSize=e+"px"}}),Object.defineProperty(e.prototype,"transition",{get:function(){return this._private.transition},set:function(e){this._private.transition=e,e?(e="all "+e+"s cubic-bezier(1, 0, 0.3, 1)",this.style.WebkitTransition=e,this.style.MozTransition=e,this.style.OTransition=e,this.style.transition=e):(this.style.WebkitTransitionProperty="none",this.style.MozTransitionProperty="none",this.style.OTransitionProperty="none",this.style.transitionProperty="none")}}),Object.defineProperty(e.prototype,"isInViewport",{get:function(){var e=window.innerWidth,t=window.innerHeight,i={x:0,y:0,width:2*e,height:2*t},n=this.element.getBoundingClientRect();return n.x=n.x||n.left,n.y=n.y||n.top,o(i,n)}})}(i),e}(),Sa=at.call(at),xa={navArrowRight:{default:"M1.4,11.984l4.244-4.242L1.4,3.5",thin:""},navArrowLeft:{default:"M6.644,3.5L2.4,7.742l4.244,4.242",thin:""},navArrowUp:{default:"m 1.4562498,8.21905 5.1000001,-5.4 5.7000001,5.4",thin:""},navArrowDown:{default:"m 1.4562498,1.44405 5.1000001,5.4 5.7000001,-5.4",thin:""},navFullscreen:{default:"M0,0h15v9H0V0z M2,2v5h11V2H2z",thin:"M1.5,1.5 L12.5,1.5 L12.5,7.5 L1.5,7.5 L1.5,1.5 z"},navShare:{default:"M9.056,5.4 L9.056,3 L14.5,7.2 L9.056,11.4 L9.056,8.94 C5.167,8.94 2.444,9.9 0.5,12 C1.278,9 3.611,6 9.056,5.4 z",thin:"M9.056,5.4 L9.056,3 L14.5,7.2 L9.056,11.4 L9.056,8.94 C5.167,8.94 2.444,9.9 0.5,12 C1.278,9 3.611,6 9.056,5.4 z"},navInfo:{default:"M0.576,10.401c0.384,0.922,0.924,1.724,1.621,2.404c2.891,2.908,7.741,2.946,10.624,0c2.904-2.923,2.905-7.705,0-10.629 c-2.88-2.92-7.736-2.881-10.624,0c-0.738,0.715-1.274,1.525-1.607,2.43C-0.192,6.534-0.197,8.465,0.576,10.401 C0.959,11.324,0.192,9.479,0.576,10.401z M1.9,5.131c0.311-0.753,0.745-1.403,1.303-1.95c2.34-2.383,6.292-2.274,8.654,0 c2.316,2.448,2.284,6.187,0,8.643c-2.387,2.29-6.288,2.39-8.654,0c-0.543-0.542-0.985-1.207-1.329-1.994 c-0.293-0.738-0.44-1.528-0.44-2.371C1.435,6.661,1.59,5.885,1.9,5.131C2.211,4.378,1.59,5.885,1.9,5.131z M4.792,7.981 c0.562,0,1.844-0.876,2.245-0.566C7.531,7.798,6.011,9.726,5.89,9.94c-0.605,1.064-0.754,2.451,0.931,2.24 c1.02-0.128,2.904-0.903,3.41-1.88c0.232-0.451-2.039,0.442-2.189,0.278C7.69,10.194,8.925,8.421,9.058,8.096 C10.812,3.81,4.583,6.318,4.792,7.981C4.796,7.981,4.792,7.981,4.792,7.981z M8.151,4.869c0.465,0.459,1.194,0.432,1.651-0.025 c0.701-0.62,0.341-1.849-0.572-2.041C8.067,2.56,7.326,4.053,8.151,4.869C8.38,5.094,7.923,4.644,8.151,4.869z",thin:"M7.5,12.5 C4.739,12.5 2.5,10.261 2.5,7.5 C2.5,4.739 4.739,2.5 7.5,2.5 C10.261,2.5 12.5,4.739 12.5,7.5 C12.5,10.261 10.261,12.5 7.5,12.5 z M7.5,5.694 L7.5,4.306 M7.5,10.37 L7.5,6.435"},navCart:{default:"M 1.248,8.985 H 3.254 V 6.989 H 1.248 V 8.985 z M 0,0 1.05,5.992 h 9.235 L 11.271,0.966 13.248,0.968 13.256,0 H 0 z m 3.25,3.981 h -1 v -1 h 1 v 1 z M 3.25,2 h -1 V 1 h 1 v 1 z m 2,2 h -1 V 3 h 1 v 1 z m 0,-2 h -1 V 1 h 1 v 1 z m 2,1.979 h -1 v -1 h 1 v 1 z M 7.25,2 h -1 V 1 h 1 v 1 z m 2,1.979 h -1 v -1 h 1 v 1 z M 9.25,2 h -1 V 1 h 1 V 2 z M 7.252,9.007 H 9.25 V 7.002 H 7.252 v 2.005 z",thin:"M3.673,7.806 C3.866,7.806 4.023,7.963 4.023,8.157 C4.023,8.35 3.866,8.507 3.673,8.507 C3.479,8.507 3.322,8.35 3.322,8.157 C3.322,7.963 3.479,7.806 3.673,7.806 z M10.034,1.526 L8.552,6.278 L2.701,6.278 L1.5,1.5 L11.542,1.5 M7.333,7.806 C7.139,7.806 6.982,7.963 6.982,8.157 C6.982,8.35 7.139,8.507 7.333,8.507 C7.527,8.507 7.684,8.35 7.684,8.157 C7.684,7.963 7.527,7.806 7.333,7.806 z"},navThumbs:{default:"M0,3h7v4H0V3z M0,8h7v4H0V8z M8,3h7v4H8V3z M8,8h7v4H8V8z",thin:"M1.5,3.5 L6.5,3.5 L6.5,6.5 L1.5,6.5 L1.5,3.5 z M8.5,3.5 L8.5,6.5 L13.5,6.5 L13.5,3.5 L8.5,3.5 z M1.5,8.5 L1.5,11.5 L6.5,11.5 L6.5,8.5 L1.5,8.5 z M8.5,8.5 L8.5,11.5 L13.5,11.5 L13.5,8.5 L8.5,8.5 z"},play:"M2,1l8,5.031L2,11V1z",pause:"M2,2h3v8H2V2z M7,2h3v8H7V2z",volume:"M2,7.5h1V10H2V7.5z M4,7h1v3H4V7z M6,6h1v4H6V6z M8,4h1v6H8V4z M10,2h1v8h-1V2z M0,8h1v2H0V8z",mute:"M2,8h1v2H2V8z M4,8h1v2H4V8z M6,8h1v2H6V8z M8,8h1v2H8V8z M10,8h1v2h-1V8z M0,8h1v2H0V8z",arrowLeft:"M 8.812269,1.1126749 2.1862736,7.2790289 8.876226,13.512325",arrowRight:"M 1.0939806,1.1126749 7.719976,7.2790289 1.0300236,13.512325",arrowUp:"M 1.1126747,8.812269 7.2790287,2.1862738 13.512325,8.876226",arrowDown:"M 1.1126747,1.0939808 7.2790287,7.719976 13.512325,1.0300238",arrowUpSmall:"M10.535,8.768L7,5.232L3.465,8.768",arrowDownSmall:"M3.465,5.232L7,8.768l3.535-3.535",arrowRightSmall:"M4.5,11.001L9.5,6l-5-5",arrowLeftSmall:"M9.5,2l-5,5.001l5,5",edit:"M4.244,7.759L9.203,2.8l2.151,2.151L6.396,9.909L2.8,11.397L4.244,7.759z",popout:"M3,8 L3,1 L12,1 L12,8 L10,8 L10,11 L0,11 L0,3 L3,3 L2,3 L2,4 L1.969,9 L10,9 L10,8 L3,8 z M10,3 L5,3 L5,6 L10,6 L10,3 z",remove:"M4,7h6 M7,2.5C4.515,2.5,2.5,4.515,2.5,7c0,2.486,2.015,4.5,4.5,4.5 c2.486,0,4.5-2.014,4.5-4.5C11.5,4.515,9.485,2.5,7,2.5z",spacer:"M12,10H2V4h10V10z",chart:"M1.844,9.188 L5.094,6.188 L7.031,8.562 L12.156,4.188",eyeSmall:"M2.613,6.95c0-1.391,2.021-2.518,4.513-2.518 c2.493,0,4.514,1.127,4.514,2.518 M7.125,5.691c-0.682,0-1.235,0.553-1.235,1.235c0,0.681,0.553,1.235,1.235,1.235 c0.681,0,1.235-0.554,1.235-1.235C8.36,6.244,7.807,5.691,7.125,5.691z",lock:"M10,9.875H4v-5h6V9.875z M9.5,4.625c0-1.381-1.119-2.5-2.5-2.5s-2.5,1.119-2.5,2.5 M5.5,4.625c0-0.828,0.672-1.5,1.5-1.5s1.5,0.672,1.5,1.5",plusSmall:"M3,7h8 M7,11V3",listSmall:"M11,4H3V3h8V4z M11,9H3v1h8V9z M11,6H3v1h8V6z",thumbXSmall:"M6,6H2V3h4V6z M12,3H8v3h4V3z M6,8H2v3h4V8z M12,8H8v3h4V8z",eyeHide:"M19.781,4.592 L21.552,6.272 L19.239,8.467 C21.488,9.601 23.362,11.298 25,13.186 C20.879,18.097 14.534,21.593 8.14,19.004 L5.219,21.776 L3.448,20.096 L5.761,17.9 C3.573,16.71 1.624,15.072 0,13.186 C2.735,10.019 6.181,7.253 10.432,6.602 C11.132,6.495 11.845,6.518 12.551,6.476 C14.03,6.531 15.436,6.958 16.838,7.386 L19.781,4.592 z M17.152,10.449 L16.088,11.458 L16.098,11.48 L11.356,15.995 L11.902,16.512 L16.432,12.199 C16.554,12.509 16.546,12.855 16.578,13.182 C16.578,15.412 14.674,17.221 12.324,17.22 C11.124,17.106 11.733,17.245 10.508,16.756 L10.108,17.135 C14.331,18.386 17.629,16.231 20.391,13.185 C19.486,12.082 18.4,11.139 17.152,10.449 z M12.357,8.854 C8.758,9.069 6.619,10.465 4.257,13.185 C5.207,14.373 6.45,15.227 7.71,16.051 L8.665,15.144 C8.045,13.746 8.2,14.412 8.07,13.182 C8.07,10.952 9.974,9.144 12.324,9.144 C13.614,9.267 12.915,9.119 14.391,9.709 L14.748,9.37 C13.149,8.884 13.947,9.051 12.357,8.854 z",minimize:"M0,11.5 L12,11.5",maximize:"M12,0 L12,12 L0,12 L0,0 L12,0 z M11,1.998 L1,1.998 L1,11.002 L11,11.002 L11,1.998 z",desktop:"M1.195,26.607 C0.561,26.543 0.018,26 -0.018,25.395 L0.018,3.755 C0.018,3.086 0.561,2.542 1.23,2.542 L30.805,2.542 C31.474,2.542 32.018,3.086 32.018,3.755 L31.982,25.394 C32.018,26 31.474,26.543 30.77,26.608 L18.932,26.607 C18.932,26.607 18.719,28.746 20.05,29.45 C20.9,29.9 20.558,30.258 20.558,30.258 L11.407,30.258 C11.407,30.258 11.09,29.93 11.95,29.5 C13.45,28.75 13.144,26.607 13.144,26.607 L1.195,26.607 z M30.237,4.404 L1.798,4.404 L1.798,20.531 L30.237,20.531 L30.237,4.404 z",tablet:"M25.638,0 C26.307,0 26.85,0.543 26.85,1.213 L26.85,30.787 C26.85,31.457 26.307,32 25.638,32 L6.362,32 C5.693,32 5.15,31.457 5.15,30.787 L5.15,1.213 C5.15,0.543 5.693,0 6.362,0 L25.638,0 z M16,29.476 C15.553,29.476 15.19,29.838 15.19,30.286 C15.19,30.733 15.553,31.095 16,31.095 C16.447,31.095 16.81,30.733 16.81,30.286 C16.81,29.838 16.447,29.476 16,29.476 z M25.188,3.231 L6.812,3.231 L6.812,28.769 L25.188,28.769 L25.188,3.231 z M15.896,1.406 C15.729,1.406 15.594,1.54 15.594,1.707 C15.594,1.874 15.729,2.009 15.896,2.009 C16.062,2.009 16.198,1.874 16.198,1.707 C16.198,1.54 16.062,1.406 15.896,1.406 z",mobile:"M21.718,0 C22.754,0 23.594,0.836 23.594,1.869 L23.594,30.131 C23.594,31.164 22.754,32 21.718,32 L10.282,32 C9.246,32 8.406,31.164 8.406,30.132 L8.406,1.868 C8.406,0.836 9.246,0 10.282,0 L21.718,0 z M16,28.5 C15.352,28.5 14.826,29.023 14.826,29.668 C14.826,30.314 15.352,30.837 16,30.837 C16.648,30.837 17.174,30.314 17.174,29.668 C17.174,29.023 16.648,28.5 16,28.5 z M22.539,4.083 L9.461,4.083 L9.461,27.345 L22.539,27.345 L22.539,4.083 z M17.287,2.563 L14.938,2.563 C14.876,2.563 14.825,2.623 14.825,2.697 L14.825,2.999 C14.825,3.073 14.875,3.133 14.938,3.133 L17.287,3.133 C17.351,3.133 17.402,3.073 17.402,2.999 L17.402,2.697 C17.402,2.623 17.351,2.563 17.287,2.563 z M16.117,1.042 C15.923,1.042 15.766,1.199 15.766,1.393 C15.766,1.586 15.923,1.743 16.117,1.743 C16.31,1.743 16.467,1.586 16.467,1.393 C16.467,1.199 16.31,1.042 16.117,1.042 z",close:"M0,0l12,12 M0,12l12-12",closeSmall:"M3,3l8,8 M3,11l8-8",plus:"M 6.5591462,0.00335385 6.5033537,13.059146",minus:"M 0.0033543,6.5033535 13.059146,6.5591465",operand:"m 0.07131516,7.5193495 14.99702684,0",fullscreen:"M0,2h2.77v0.898H0.923v1.801H0V2z M0,8.3h0.923v1.8H2.77V11H0V8.3z M1.846,3.8h8.308v5.4H1.846V3.8z M2.77,4.699V8.3h6.46 V4.699H2.77z M9.23,2H12v2.699h-0.923V2.898H9.23V2z M9.23,10.1h1.847V8.3H12V11H9.23V10.1z",resize:"M5.795,11l5.121-5.125 M9.293,11l1.623-1.623 M2.314,10.979l8.608-8.607",arrow1Left:"M7.5,20l18.338,18.336l6.662-6.664L20.829,20L32.5,8.327l-6.662-6.663L7.5,20z",arrow1Right:"M7.5,8.329L19.172,20L7.5,31.674l6.664,6.662L32.5,20L14.164,1.665L7.5,8.329z",arrow2Left:"M9.5,20l16.792,16.151l4.208-4.046L17.913,20L30.5,7.896l-4.208-4.047L9.5,20z",arrow2Right:"M9.5,7.894L22.084,20L9.5,32.104l4.208,4.047L30.5,20L13.708,3.849L9.5,7.894z",arrow3Left:"M66.5,15 L33.5,50 L66.5,85",arrow3Right:"M33,85 L67,50 L33,15",arrow3Down:"M15,33 L50,67 L85,33",plus1Left:"M0,15v10h40V15H0z",plus1Right:"M0,15v9.999h15V40h9.998V24.999H40V15H24.998V0H15v15H0z",plus2Left:"M5,17v6h30v-6H5z",plus2Right:"M5,17.001v5.998h12V35h6V22.999H35v-5.998H23.001V5h-6v12.001H5z",cursorThumbs:"M8,12h11v7H8V12z M8,20h11v7H8V20z M20,12h11v7H20V12z M20,20h11v7H20V20z",updates:"M7,3.563v4.649 M7,1.541C3.986,1.541,1.541,3.986,1.541,7c0,3.017,2.445,5.459,5.459,5.459c3.017,0,5.459-2.442,5.459-5.459C12.459,3.986,10.014,1.541,7,1.541z M6.333,9.022L7,9.832l0.665-0.81H6.333z",menuIconMobile:"M0,0 L20,0 L20,20 L0,20 L0,20 L20,20 L20,15 L0,15 L0,12 L20,12 L20,9 L0,9 L0,6 L20,6 L20,3 L0,3 L0,0 z",bigX:"M38.5,38.5L20.5,20.5L38.5,2.5L20.5,20.5L38.5,38.5ZM2.5,2.5L20.5,20.5L2.5,38.5L20.5,20.5L2.5,2.5Z",liveBtn:"M7,11.5 C4.515,11.5 2.5,9.485 2.5,7 C2.5,4.515 4.515,2.5 7,2.5 C9.485,2.5 11.5,4.515 11.5,7 C11.5,9.485 9.485,11.5 7,11.5 z",search:"M9.216,0.017 C11.426,0.129 13.407,1.063 15,2.577 L15,2.577 C17.352,4.953 18.186,8.521 17.078,11.685 C16.691,12.792 16.082,13.715 15.347,14.616 L16.512,14.302 L17.787,15.578 L17.785,15.587 L24.981,22.783 L22.771,24.993 L15.572,17.794 L15.571,17.794 L14.295,16.518 L14.61,15.349 C14.029,15.823 13.915,15.952 13.253,16.343 C10.537,17.95 7.052,17.95 4.336,16.343 C3.693,15.962 3.128,15.5 2.589,14.988 C-0.838,11.56 -0.838,6.004 2.589,2.577 C4.537,0.698 6.547,0.017 9.216,0.017 z M8.762,2.634 C7.117,2.657 5.65,3.34 4.446,4.433 C2.044,6.835 2.044,10.729 4.446,13.131 C6.847,15.533 10.742,15.533 13.143,13.131 C15.545,10.729 15.545,6.835 13.143,4.433 C12.001,3.289 10.672,2.791 9.089,2.639 L8.762,2.634 z",cloud:"M8.279,2.576 L9.048,2.632 C10.89,2.933 12.369,3.804 13.452,5.307 C13.976,5.2 13.716,5.232 14.233,5.206 C16.032,5.236 17.521,6.473 17.878,8.229 C19.765,8.595 20.911,10.333 21.003,12.16 C20.965,14.315 19.296,16.099 17.129,16.208 L15.216,16.217 L16.412,14.939 L17.011,14.931 L14.093,14.931 L10.825,18.424 L7.557,14.931 L5.001,14.931 L5.001,14.927 L7.553,14.927 L7.551,14.925 L9.688,14.925 L9.688,10.046 L11.962,10.046 L11.962,14.925 L14.099,14.925 L14.096,14.927 L17.013,14.927 L17.013,14.931 C18.528,14.846 19.699,13.681 19.725,12.16 C19.725,10.625 18.48,9.38 16.945,9.38 L16.85,9.385 C16.907,9.219 16.861,9.362 16.893,8.938 C16.893,7.48 15.711,6.298 14.253,6.298 C13.727,6.325 13.202,6.435 12.776,6.765 C12.033,5.001 10.151,3.977 8.299,3.932 C5.544,3.932 3.31,6.173 3.31,8.938 L3.324,9.229 C2.09,9.75 1.31,10.619 1.278,12.017 C1.278,13.631 2.593,14.939 4.207,14.939 L5.237,14.939 L6.433,16.217 L3.915,16.203 C1.655,16.105 0.108,14.161 0,12.017 C0.009,10.539 0.757,9.297 1.96,8.484 C2.144,5.037 4.983,2.743 8.279,2.576 z",attachment:"M9.931,1.636 C9.583,1.288 9.177,1.017 8.724,0.833 C8.286,0.655 7.824,0.564 7.349,0.564 C6.876,0.564 6.412,0.653 5.975,0.829 C5.522,1.012 5.116,1.279 4.767,1.626 L0.846,5.538 C0.571,5.811 0.358,6.13 0.212,6.487 C0.072,6.83 -0,7.194 -0,7.568 C-0,7.94 0.071,8.302 0.21,8.646 C0.353,9.001 0.565,9.32 0.838,9.594 C1.112,9.869 1.431,10.081 1.787,10.225 C2.131,10.365 2.494,10.436 2.867,10.436 C3.24,10.436 3.603,10.365 3.947,10.227 C4.304,10.082 4.623,9.87 4.898,9.597 L8.014,6.493 C8.214,6.294 8.368,6.062 8.473,5.802 C8.575,5.552 8.626,5.287 8.626,5.016 C8.626,4.458 8.409,3.937 8.014,3.545 C7.62,3.149 7.097,2.931 6.54,2.928 C5.982,2.927 5.457,3.144 5.062,3.539 L3.122,5.48 C3.023,5.579 2.97,5.708 2.97,5.846 C2.97,5.984 3.023,6.115 3.122,6.212 L3.13,6.22 C3.331,6.423 3.66,6.423 3.863,6.221 L5.808,4.282 C6.214,3.879 6.874,3.877 7.281,4.277 C7.477,4.472 7.583,4.732 7.583,5.011 C7.583,5.293 7.474,5.557 7.276,5.754 L4.161,8.857 C4.156,8.863 4.151,8.867 4.148,8.874 C3.804,9.209 3.35,9.392 2.868,9.389 C2.383,9.387 1.928,9.198 1.587,8.857 C1.417,8.683 1.285,8.48 1.194,8.255 C1.106,8.036 1.062,7.804 1.062,7.568 C1.062,7.084 1.248,6.631 1.587,6.291 C1.592,6.287 1.596,6.284 1.6,6.28 L5.513,2.369 C5.516,2.366 5.52,2.361 5.523,2.356 C5.771,2.113 6.059,1.923 6.38,1.795 C6.693,1.67 7.021,1.607 7.36,1.607 C7.698,1.607 8.028,1.672 8.339,1.797 C8.662,1.928 8.952,2.119 9.199,2.366 C9.447,2.613 9.638,2.903 9.769,3.226 C9.895,3.537 9.959,3.867 9.959,4.205 C9.959,4.545 9.895,4.876 9.768,5.19 C9.637,5.514 9.444,5.806 9.195,6.056 L6.491,8.751 C6.393,8.85 6.338,8.979 6.338,9.118 C6.338,9.257 6.393,9.387 6.49,9.484 L6.496,9.49 C6.697,9.692 7.026,9.692 7.228,9.49 L9.929,6.796 C10.277,6.447 10.548,6.041 10.733,5.588 C10.911,5.15 11,4.688 11,4.214 C11,3.74 10.91,3.278 10.733,2.841 C10.55,2.389 10.28,1.983 9.931,1.636 z"},Ma=function(e){function t(e){this.vars={};var t;for(t in e)this.vars[t]=e[t];var i=document.createElementNS("http://www.w3.org/2000/svg",this.vars.type||"svg");i.style.position="absolute",i.style.display="block",i.proxy=this,this._private={},this.element=i,this.children=[],this.style=i.style,this.name=this.vars.type||"svg",this.events=this.vars.events||ya,this.listeners=this.events.listeners}var i=e.Sprite,n=["dispatchEvent","addEventListener","removeEventListener","removeAllListeners","addChild","removeChild","removeChildren","childAdded","moveToTop","event","hitTestPoint","hitTestAbs","globalToLocal","localToGlobal","focus","blur"],o=["backgroundPositionX","backgroundPositionY","backgroundRepeatX","backgroundRepeatY","baselineShift","borderBottomLeftRadius","borderBottomRightRadius","borderBottomWidth","borderImageWidth","borderLeftWidth","borderRadius","borderRightWidth","borderSpacing","borderTopLeftRadius","borderTopRightRadius","borderTopWidth","borderWidth","bottom","fontSize","height","left","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","maxHeight","maxWidth","minHeight","minWidth","outlineOffset","outlineWidth","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","right","strokeWidth","textIndent","textLineThroughWidth","textOverlineWidth","textUnderlineWidth","top","width","wordSpacing"],a=["cx","cy","d","points","r","rx","ry","fill","stroke","width","height"],r=["backfaceVisibility","background","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundRepeatX","backgroundRepeatY","backgroundSize","border","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderCollapse","borderColor","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","boxShadow","boxSizing","bufferedRendering","clear","color","content","cursor","direction","display","float","font","fontFamily","fontKerning","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","height","imageRendering","left","letterSpacing","lineHeight","listStyle","listStyleImage","listStylePosition","listStyleType","margin","marginBottom","marginLeft","marginRight","marginTop","mask","maskType","maxHeight","maxWidth","maxZoom","minHeight","minWidth","minZoom","opacity","order","orientation","outline","outlineColor","outlineOffset","outlineStyle","outlineWidth","overflow","overflowWrap","overflowX","overflowY","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","page","pageBreakAfter","paintOrder","pointerEvents","position","resize","right","size","src","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","tableLayout","textAlign","textAnchor","textDecoration","textIndent","textLineThroughColor","textLineThroughMode","textLineThroughStyle","textLineThroughWidth","textOverflow","textOverlineColor","textOverlineMode","textOverlineStyle","textOverlineWidth","textRendering","textShadow","textTransform","textUnderlineColor","textUnderlineMode","textUnderlineStyle","textUnderlineWidth","top","transform","transformOrigin","transformStyle","transition","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","userZoom","verticalAlign","visibility","webkitBackfaceVisibility","webkitBoxShadow","webkitFilter","webkitFontSmoothing","webkitHighlight","webkitTransformStyle","webkitTransition","webkitTransitionDelay","webkitTransitionDuration","webkitTransitionProperty","webkitTransitionTimingFunction","webkitUserDrag","webkitUserModify","webkitUserSelect","whiteSpace","width","wordBreak","wordSpacing","wordWrap","zIndex","zoom"];return function(e,n,a){for(var r=e.length;r--;)t.prototype[e[r]]=i.prototype[e[r]];n.forEach(function(e){/fill|stroke|strokeWidth|width|height|x|y|transition/.test(e)||Object.defineProperty(t.prototype,e,{get:function(){return this._private[e]},set:function(t){this._private[e]=t,this.element.style[e]=o.indexOf(e)>-1?t+"px":t}})}),a.forEach(function(e){Object.defineProperty(t.prototype,e,{get:function(){return this._private[e]},set:function(t){this._private[e]=t,this.element.setAttribute(e,t)}})}),Object.defineProperty(t.prototype,"scale",{get:function(){return this._private.scale},set:function(){var e=arguments[1]?arguments[0]+","+arguments[1]:arguments[0];this._private.scale=e,this.element.setAttribute("transform","scale("+e+")")}}),Object.defineProperty(t.prototype,"fillRule",{get:function(){return this._private.fillRule},set:function(e){this._private.fillRule=e,this.element.setAttribute("fill-rule",e)}}),Object.defineProperty(t.prototype,"strokeWidth",{get:function(){return this._private.strokeWidth},set:function(e){this._private.strokeWidth=e,this.element.setAttribute("stroke-width",e)}}),Object.defineProperty(t.prototype,"topParentName",{get:function(){return this.parent?this.parent.topParentName:this.topParentName}}),Object.defineProperty(t.prototype,"stageX",{get:function(){return this.parent?this.parent.stageX+this.x:this.x}}),Object.defineProperty(t.prototype,"stageY",{get:function(){return this.parent?this.parent.stageY+this.y:this.y}}),Object.defineProperty(t.prototype,"absX",{get:function(){var e=0,t=this.element;if(t.offsetParent)do e+=t.offsetLeft;while(t=t.offsetParent);return e}}),Object.defineProperty(t.prototype,"absY",{get:function(){var e=0,t=this.element;if(t.offsetParent)do e+=t.offsetTop;while(t=t.offsetParent);return e}}),Object.defineProperty(t.prototype,"class",{get:function(){return this.element.className},set:function(e){this.element.setAttribute("class",e)}}),Object.defineProperty(t.prototype,"selectable",{get:function(){return this._private.selectable},set:function(e){this._private.selectable=e,this._private.selectable||"input"===this.vars.type||"textarea"===this.vars.type?(this.style.cursor="auto",this.style["-webkit-touch-callout"]="auto",this.style["-webkit-user-select"]="auto",this.style["-khtml-user-select"]="auto",
this.style["-moz-user-select"]="auto",this.style["-ms-touch-callout"]="auto",this.style["user-select"]="auto"):(this.style.cursor="default",this.style["-webkit-touch-callout"]="none",this.style["-webkit-user-select"]="none",this.style["-khtml-user-select"]="none",this.style["-moz-user-select"]="none",this.style["-ms-touch-callout"]="none",this.style["user-select"]="none")}}),Object.defineProperty(t.prototype,"x",{get:function(){return this._private.x||0},set:function(e){this._private.x=e,this.style.left=e+"px"}}),Object.defineProperty(t.prototype,"y",{get:function(){return this._private.y||0},set:function(e){this._private.y=e,this.style.top=e+"px"}}),Object.defineProperty(t.prototype,"alpha",{get:function(){return this._private.opacity},set:function(e){this._private.opacity=e,this.style.opacity=e}}),Object.defineProperty(t.prototype,"translate",{get:function(){return this._private.translate},set:function(e){this._private.translate=e,this._private.translateX=e[0],this._private.translateY=e[1],this.style["-webkit-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style["-ms-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style.transform="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)"}}),Object.defineProperty(t.prototype,"translateX",{get:function(){var e=new L(this.element);return e.x},set:function(e){this._private.translateX=e,this._private.translateY=this._private.translateY||0,this.style["-webkit-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style["-ms-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style.transform="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)"}}),Object.defineProperty(t.prototype,"translateY",{get:function(){var e=new L(this.element);return e.y},set:function(e){this._private.translateY=e,this._private.translateX=this._private.translateX||0,this.style["-webkit-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style["-ms-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style.transform="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)"}}),Object.defineProperty(t.prototype,"translateZ",{get:function(){return this._private.translateZ},set:function(e){this._private.translateZ=e,this._private.translateZ=this._private.translateZ||0,this.style["-webkit-transform"]="translate3d("+this._private.translateZ+"px,"+this._private.translateZ+"px, 0px)",this.style["-ms-transform"]="translate3d("+this._private.translateZ+"px,"+this._private.translateZ+"px, 0px)",this.style.transform="translate3d("+this._private.translateZ+"px,"+this._private.translateZ+"px, 0px)"}}),Object.defineProperty(t.prototype,"rotate",{get:function(){return this._private.rotate},set:function(e){this._private.rotate=e,this.style["-webkit-transform"]="rotate("+e+"deg)",this.style["-moz-transform"]="rotate("+e+"deg)",this.style["-o-transform"]="rotate("+e+"deg)",this.style.transform="rotate("+e+"deg)"}}),Object.defineProperty(t.prototype,"numChildren",{get:function(){return this.children.length}}),Object.defineProperty(t.prototype,"transition",{get:function(){return this._private.transition},set:function(e){this._private.transition=e,e=0===e?"none":"all "+e+"s cubic-bezier(1, 0, 0.3, 1)",this.style.WebkitTransition=e,this.style.MozTransition=e,this.style.OTransition=e,this.style.transition=e}})}(n,r,a),t}({Sprite:La});pt.playerID=1,pt.getNextPlayerID=function(){return pt.playerID++},Sa.addEventListener(on,function(){dx.address=za,dx.site=new vt({Sprite:La,TextField:ct,Bitmap:Qe,Tile:Ze,FooterController:yt,FooterView:Lt,LogoController:St,LogoView:xt,SectionController:Mt,MediaModule:Oa,MenuController:zi,MenuView:ki,NavbarController:Ii,NavbarView:Fi,AddressController:wt,OverlayController:ii,OverlayView:ni,ImageView:Qt,VideoView:ti,PageView:ei,ContactView:$t,VideoPlayer:ut,VimeoPlayer:pt,LoadingIndicator:ot,ThumbsModule:ri,Cursor:Ee,StaticNav:ze,Tooltip:ke,passwordInput:He,searchInput:Be,IntroView:Ai,SiteService:Ct,Popup:Je,TouchNav:qe})});var Ta=[],Va={_logoWidth:0,_logoHeight:0,_footerWidth:0,_footerHeight:0,_fotomotoWidth:0,_fotomotoHeight:0,_navbarHeight:0,_section:void 0,_thumbContentHeight:0,_mediaContentHeight:0,_maskView:{},_uriState:{},mobileFooterPadding:5,isLandingMedia:!1,isMenuResponsiveOverlay:!1,_activeMediaType:void 0,_mediaMarginPrefix:void 0,_sectionStates:Object.keys(_i).reduce(function(e,t){return"ROOT_SECTION"===t?e["/"]={}:e[t]={id:_i[t].id,key:_i[t].key,height:Sa.height,zoneHeight:Sa.height,assetId:0,mode:""},e},{landingMedia:{key:"landingMedia",zoneHeight:Sa.height,height:Sa.height,assetId:0,mode:""}}),get _thumbsVisible(){return this._section&&this._section.key&&this._sectionStates[this._section.key]&&/thumbs/.test(this._sectionStates[this._section.key].mode)},set activeMediaType(e){this._mediaMarginPrefix=N(e),this._activeMediaType=e},updateSectionState:function(e,t){var i=this;i._sectionStates[e]=[t].reduce(function(e,t){return Object.keys(t).reduce(function(e,i){return e[i]=t[i],e},e)},i._sectionStates[e]||{})},resetSectionState:function(){this._sectionStates=Object.keys(_i).reduce(function(e,t){return"ROOT_SECTION"===t?e["/"]={}:e[t]={id:_i[t].id,key:_i[t].key,height:Sa.height,zoneHeight:Sa.height,assetId:0,mode:""},e},{landingMedia:{key:"landingMedia",zoneHeight:Sa.height,height:Sa.height,assetId:0,mode:""}})},getSectionState:function(e){return"string"==typeof e&&this._sectionStates[e]},getMaxScrollSectionHeight:function(e){var t=e.maxScroll.length,i=e.maxScroll.position,n=Ea.menuView.menuPositionFixed(),o=Di.marginOverlap||0,a=E(Di.menuWidth,Sa.height)-E(Di.menuOffsetX,Sa.height),r=E(Di.sitePaddingTop,Sa.height),l=E(Di.sitePaddingBottom,Sa.height),s=Sa.height,d=/top/.test(Ea.menuView.placement()),c=/bottom/.test(Ea.menuView.placement()),h=!Di.isMenuScrollReveal&&(d||c),u=0;return W(e.section)?s=Sa.height:0===i?h?n?d?(u=r+a-o,s=Sa.height-u):(u=l+a-o,s=Sa.height-u-r):d?(u=r+a-o,s=Sa.height-u):s=Sa.height-r:s=Sa.height-r:i===t-1?h?n?d?(u=r+a-o,s=Sa.height-u-l):(u=l+a-o,s=Sa.height-u):d?s=Sa.height-l:(u=l+a-o,s=Sa.height-u):s=Sa.height-l:1===t?h?n?d?(u=r+a-o,s=Sa.height-u-l):(u=l+a-o,s=Sa.height-u-r):d?(u=r+a-o,s=Sa.height-u-l):(u=l+a-o,s=Sa.height-u-r):s=Sa.height-r-l:h&&n?d?(u=r+a-o,s=Sa.height-u):(u=l+a-o,s=Sa.height-u):s=Sa.height,s},navbarView:{x:function(e){var t=E(Di.navbarOffsetX,Sa.width);if(Yi===Gi){var i=""===Di.menuDisplaceMobile||void 0===Di.menuDisplaceMobile||Di.menuDisplaceMobile,n=i?2*Sa.width:Sa.width;return n-e-15}switch(Di.navbarAlignHorizontal){case"left":return t;case"center":return Yi===Zi?.5*(Sa.width-e):.5*(Sa.width-e)+t;case"right":return Sa.width-e+t;default:return t}},y:function(e){e=e||Va._navbarHeight,Va._navbarHeight=e;var t=E(Di.navbarOffsetY,Sa.height);if(Yi!==Gi)switch(Di.navbarAlignVertical){case"top":return t;case"center":return.5*(Sa.height-e)+t;case"bottom":var i=Di.navbarPositionFixed?window.innerHeight:Ea.siteView.height();return Yi===Zi&&Va.isDisplace()&&"bottom"===Ea.overrides.thumbnailSide&&"horizontal"===Di.navbarLayout?Sa.height-22:i-e+t}return 15}},footerView:{x:function(e){e=e||Va._footerWidth,Va._footerWidth=e;var t=E(Di.copyrightOffsetX,Sa.width);if(Yi!==Gi)switch(Di.copyrightAlignHorizontal){case"left":return t;case"center":return Yi===Zi?.5*(Sa.width-e)+t:.5*(Sa.width-e)+t;case"right":return Yi===Zi?Sa.width-e+t:Sa.width-e+t}else if(Yi===Gi)return Va.mobileFooterPadding;return 0},y:function(e){e=e||Va._footerHeight,Va._footerHeight=e;var t=E(Di.copyrightOffsetY,Sa.height);if(Yi!==Gi)switch(Di.copyrightAlignVertical){case"top":return t;case"center":return.5*(Sa.height-e)+t;case"bottom":var i=Di.copyrightPositionFixed?window.innerHeight:Ea.siteView.height();return Yi===Zi&&Va.isDisplace()&&"bottom"===Ea.overrides.thumbnailSide?Sa.height-22:i-e+t}else if(Yi===Gi)return Sa.height-e-Va.mobileFooterPadding;return 0}},logoView:{x:function(e){e=e||Va._logoWidth,Va._logoWidth=e;var t=0,i="left";if(Yi===Gi)t=E(Di.mobileLogoOffsetX,Sa.width),i=Di.mobileLogoAlignHorizontal||"left";else if(Yi===Zi){var n=""===Di.menuDisplaceTablet||void 0===Di.menuDisplaceTablet||Di.menuDisplaceTablet;t=n?E(J(Di.tabletLogoOffsetX,Di.logoOffsetX),Sa.width)-Va.menuView.width():E(J(Di.tabletLogoOffsetX,Di.logoOffsetX),Sa.width),i=Di.tabletLogoAlignHorizontal||Di.logoAlignHorizontal}else t=E(Di.logoOffsetX,Sa.width),i=Di.logoAlignHorizontal;switch(i){case"left":return t||0;case"center":return.5*(Sa.width-e)+t;case"right":return Sa.width-e-t}return 0},y:function(e){e=e||Va._logoHeight,Va._logoHeight=e;var t=0;if(Yi===Gi)return E(Di.mobileLogoOffsetY||0,Sa.height);if(Yi===Zi)switch(t=E(J(Di.tabletLogoOffsetY,Di.logoOffsetY),Sa.height),Di.tabletLogoAlignVertical||Di.logoAlignVertical){case"top":return t;case"center":return.5*(Sa.height-e)+t;case"bottom":return Sa.height-e-t}else switch(t=E(Di.logoOffsetY,Sa.height),Di.logoAlignVertical){case"top":return t;case"center":return.5*(Sa.height-e)+t;case"bottom":var i=Di.logoPositionFixed?window.innerHeight:Ea.siteView.height();return i-e-t}return 0}},menuBullet:{updateSize:function(e){var t=x(Di.menuFont),i=document.createElement("div"),n=e?Di.menuSubFontSize:Di.menuFontSize;i.innerHTML=Fa[Di.menuBulletType],i.setAttribute("style","margin:0; padding:0; position:absolute; display:block; white-space:nowrap; opacity:0; font-family:"+t.family+"; font-weight:"+t.weight+"; font-size:"+n+"px"),document.body.appendChild(i),Va.menuBullet.width=parseInt(window.getComputedStyle(i,null).width,10),Va.menuBullet.height=parseInt(window.getComputedStyle(i,null).height,10),document.body.removeChild(i),i=null}},menuText:{x:function(e){e=e||Va._menuTextWidth,Va._menuTextWidth=e;var t=E(Ea.menuView.menuTextPaddingHorizontal(),Sa.width),i=Ea.menuView.menuTextAlignHorizontal();if(Yi===Gi)return 0;switch(Yi===Zi&&(t=J(E(Di.menuTextPaddingHorizontalTablet,Sa.width),10),i=Di.menuTextAlignHorizontalTablet||Ea.menuView.menuTextAlignHorizontal(),/top|bottom/.test(Ea.menuView.placement())&&(i=Di.menuTextAlignHorizontalTablet||"left")),i){case"left":return t;case"center":return.5*(Va.menuView.width()-e);case"right":return Va.menuView.width()-e-t}},y:function(e){if(Yi===Gi)return Va.logoView.y()+Va._logoHeight+E(J(Di.menuTextPaddingVerticalMobile,10),Sa.height);var t=Yi===Zi?Di.menuTextAlignVerticalTablet||Ea.menuView.menuTextAlignVertical():Ea.menuView.menuTextAlignVertical(),i=Yi===Zi?E(J(Di.menuTextPaddingVerticalTablet,Ea.menuView.menuTextPaddingVertical()),Sa.height):E(Ea.menuView.menuTextPaddingVertical(),Sa.height);switch(t){case"top":return i;case"center":return e>Va.menuView.height()?0:.5*(Va.menuView.height()-e)+i;case"bottom":return Va.menuView.height()-e-i}return 0}},menuView:{x:function(){return Yi===Gi||Yi===Zi||"overlay"===Ea.menuView.placement()?0:/top|bottom/.test(Ea.menuView.placement())?E(Di.sitePaddingLeft,Sa.width)+E(Di.menuOffsetY,Sa.width):"right"===Ea.menuView.placement()?E(Di.sitePaddingRight,Sa.width)-(Di.marginOverlap||0):E(Di.sitePaddingLeft,Sa.height)-(Di.marginOverlap||0)},y:function(){return Yi===Gi||Yi===Zi||"overlay"===Ea.menuView.placement()?0:/left|right/.test(Ea.menuView.placement())?E(Di.sitePaddingTop,Sa.height)+E(Di.menuOffsetY,Sa.height):"bottom"===Ea.menuView.placement()?E(Di.sitePaddingBottom,Sa.width)-(Di.marginOverlap||0):E(Di.sitePaddingTop,Sa.width)-(Di.marginOverlap||0)},width:function(){if(Yi===Gi||"overlay"===Ea.menuView.placement())return Sa.width;var e=!Va._menuTextWidth||Va._menuTextWidth<150?150:Va._menuTextWidth;return Yi===Zi&&E(Di.menuWidthMobile,Sa.width)?E(Di.menuWidthMobile,Sa.width)?E(Di.menuWidthMobile,Sa.width):e:Yi===Zi&&/top|bottom/.test(Ea.menuView.placement())?J(Di.menuWidthMobile,e):/left|right/.test(Ea.menuView.placement())?E(Di.menuWidth,Sa.width):Sa.width-(E(Di.sitePaddingLeft,Sa.width)+E(Di.sitePaddingRight,Sa.width))-E(Di.menuOffsetY,Sa.width)},height:function(){return Yi===Gi||Yi===Zi||"overlay"===Ea.menuView.placement()?Sa.height:/top|bottom/.test(Ea.menuView.placement())?E(Di.menuWidth,Sa.height):Sa.height-(E(Di.sitePaddingTop,Sa.height)+E(Di.sitePaddingBottom,Sa.height))-E(Di.menuOffsetY,Sa.height)}},mediaView:{x:function(){if(Yi===Gi||Yi===Zi||"overlay"===Ea.overrides.siteDisplayBehavior)return 0;var e=/left/.test(Ea.menuView.placement())?-Di.marginOverlap||0:0;return"left"===Ea.menuView.placement()?E(Di.sitePaddingLeft,Sa.width)+E(Di.menuWidth,Sa.width)-E(Di.menuOffsetX,Sa.width)+e:E(Di.sitePaddingLeft,Sa.width)+e},y:function(e){if(Yi===Gi||Yi===Zi||"overlay"===Ea.overrides.siteDisplayBehavior)return 0;var t=/top/.test(Ea.menuView.placement())&&!Di.isMenuScrollReveal?-Di.marginOverlap||0:0;return"unifiedSiteScrollVertical"===Ea.overrides.siteDisplayBehavior&&"multiple"===Va.sectionDisplayMode?!Di.isMenuScrollReveal&&Ea.menuView.menuPositionFixed()&&/top/.test(Ea.menuView.placement())?E(Di.menuWidth,Sa.height)-E(Di.menuOffsetX,Sa.height)+t:0:/top/.test(Ea.menuView.placement())&&!Di.isMenuScrollReveal?E(Di.sitePaddingTop,Sa.height)+E(Di.menuWidth,Sa.height)-E(Di.menuOffsetX,Sa.height)+t:E(Di.sitePaddingTop,Sa.height)+t},width:function(e){var t=e||0;if(Yi===Gi||Yi===Zi||"overlay"===Ea.overrides.siteDisplayBehavior)return Sa.width;if(/left|right/.test(Ea.menuView.placement())){var i=Di.marginOverlap||0;return Sa.width-(E(Di.sitePaddingLeft,Sa.width)+E(Di.sitePaddingRight,Sa.width)+E(Di.menuWidth,Sa.width)-E(Di.menuOffsetX,Sa.width)+t)+i}return Sa.width-(E(Di.sitePaddingLeft,Sa.width)+E(Di.sitePaddingRight,Sa.width))},height:function(e,t){var i="unifiedSiteScrollVertical"===Ea.overrides.siteDisplayBehavior?t?Ea.getSectionZoneHeight(e):Ea.getSectionHeight(e):Sa.height,n=Va.getSectionState(e),o=!!n&&n.isFullTextHeight,a=/top|bottom/.test(Ea.menuView.placement())&&!Di.isMenuScrollReveal?Di.marginOverlap||0:0,r=0,l=E(Di.menuWidth,Sa.height)-E(Di.menuOffsetX,Sa.height),s=E(Di.sitePaddingTop,Sa.height)+E(Di.sitePaddingBottom,Sa.height);return t||/unifiedSiteScrollVertical/.test(Ea.overrides.siteDisplayBehavior)||!Ea.siteView.unifiedPageScroll()||(i=/vScroll/.test(Ea.overrides.transitionType)?/top|bottom/.test(Ea.menuView.placement())&&!Di.isMenuScrollReveal?Ea.getSectionHeight(e)+(l+s)>Sa.height?Ea.getSectionHeight(e):Sa.height:Ea.getSectionHeight(e)>Sa.height?Ea.getSectionHeight(e):Sa.height:Sa.height),Yi===Zi&&"bottom"===Di.navbarAlignVertical&&Va.isDisplace()&&"bottom"===Ea.overrides.thumbnailSide?i-30:Yi===Gi||Yi===Zi||"overlay"===Ea.overrides.siteDisplayBehavior?i:(r="unifiedSiteScrollVertical"===Ea.overrides.siteDisplayBehavior&&"multiple"===Va.sectionDisplayMode?!Di.isMenuScrollReveal&&Ea.menuView.menuPositionFixed()&&/top|bottom/.test(Ea.menuView.placement())&&i>=Sa.height-l&&!o&&!t?i-l:i:Ea.siteView.unifiedPageScroll()&&/vScroll/.test(Ea.overrides.transitionType)?i===Sa.height&&/top|bottom/.test(Ea.menuView.placement())&&!Di.isMenuScrollReveal?i-(l+s):i:/top|bottom/.test(Ea.menuView.placement())&&!Di.isMenuScrollReveal?i-(l+s):i-s,r+a)},size:{x:function(){return/^unifiedSite/.test(Ea.overrides.siteDisplayBehavior)?0:Va.mediaView.x()},y:function(e){return/^unifiedSite/.test(Ea.overrides.siteDisplayBehavior)?0:Va.mediaView.y(e)},width:function(){return Va.mediaView.width()},height:function(e){return Va.mediaView.height(e)}}},landingMediaView:{x:function(){return 0},y:function(){return 0},width:function(){return Sa.width},height:function(){return Sa.height}},mediaMask:{x:function(){return"contact"===Va._mediaMarginPrefix?0:E(Ea.overrides[Va._mediaMarginPrefix+"MarginLeft"],Sa.width)},y:function(e){return"contact"===Va._mediaMarginPrefix?0:E(Ea.overrides[Va._mediaMarginPrefix+"MarginTop"],Sa.height)},width:function(e){return"contact"===Va._mediaMarginPrefix?Va.mediaView.width():(e||Va.mediaView.width())-(E(Ea.overrides[Va._mediaMarginPrefix+"MarginLeft"],Sa.width)+E(Ea.overrides[Va._mediaMarginPrefix+"MarginRight"],Sa.width))},height:function(e,t){return"contact"===Va._mediaMarginPrefix?Va.mediaView.height(t):(e||Va.mediaView.height(t))-(E(Ea.overrides[Va._mediaMarginPrefix+"MarginTop"],Sa.height)+E(Ea.overrides[Va._mediaMarginPrefix+"MarginBottom"],Sa.height))}},captionView:{size:function(e){Va.captionView.currentText=e||Va.captionView.currentText;var t=document.createElement("span"),i=x(Di.captionFont);t.innerHTML=Va.captionView.currentText,t.setAttribute("style","position:absolute; display:block; white-space:nowrap; opacity:0; font-family:"+i.family+"; font-weight:"+i.weight+"; font-size:"+Di.captionFontSize+"px"),document.body.appendChild(t);var n=E(Ea.overrides[Va._mediaMarginPrefix+"MarginLeft"],Sa.height),o=E(Ea.overrides[Va._mediaMarginPrefix+"MarginRight"],Sa.height),a=Ea.mediaView.width()-(n+o);t.clientWidth>a?(Va.captionView.width=a,t.style.width=a+"px",t.style.whiteSpace="normal",Va.captionView.height=t.clientHeight):(Va.captionView.width=t.clientWidth,Va.captionView.height=t.clientHeight),document.body.removeChild(t),t=null}},isDisplace:function(){return!(Yi===Gi||!Va._section||!Va._thumbsVisible)&&(Va._section.thumb&&"strip"===Ea.overrides.thumbnailType&&"displace"===Ea.overrides.thumbnailDock)}},Ea={get lightboxHash(){return localStorage.getItem("lightboxHash")},cacheLightboxSection:function(){var e=Object.keys(_i).map(function(e){return _i[e]}).filter(function(e){return e.isLightbox})[0];Ea.lightboxSection=e,e||localStorage.removeItem("lightboxHash")},lightboxButtonsEnabled:function(){return Ea.lightboxSection&&(Ea.lightboxSection.isUserEnableLightbox&&(Ea.userEnabledLightbox||Ea.lightboxSection.media.length)||!Ea.lightboxSection.isUserEnableLightbox)},setSectionHeight:function(e,t){Va.updateSectionState(e,{height:t})},getSectionHeight:function(e){var t=Va.getSectionState(e);return e&&t&&("unifiedSiteScrollVertical"===Ea.overrides.siteDisplayBehavior||Ea.siteView.unifiedPageScroll())?t.height:Sa.height},getSectionZoneHeight:function(e){var t=Va.getSectionState(e);return e&&t&&"unifiedSiteScrollVertical"===Ea.overrides.siteDisplayBehavior?t.zoneHeight:Sa.height},overrides:{containerColor:Di.containerColor,transitionType:gt()||Di.transitionType,transitionDuration:Di.transitionDuration,imageAlignHorizontal:Di.imageAlignHorizontal,imageAlignVertical:Di.imageAlignVertical,imageScaleType:Di.imageScaleType,videoScaleType:Di.videoScaleType,videoAutoPlay:Di.videoAutoPlay,mobileAutoPlay:Di.mobileAutoPlay,vimeoDefault:Di.vimeoDefault,videoLoop:Di.videoLoop,imageVideoMarginTop:Di.imageVideoMarginTop,imageVideoMarginRight:Di.imageVideoMarginRight,imageVideoMarginBottom:Di.imageVideoMarginBottom,imageVideoMarginLeft:Di.imageVideoMarginLeft,imageVideoInactiveAlpha:Di.imageVideoInactiveAlpha,imageVideoBgColor:Di.imageVideoBgColor,imageVideoBgAlpha:Di.imageVideoBgAlpha,imageVideoLoaderType:Di.imageVideoLoaderType,imageVideoScrollType:Di.imageVideoScrollType,imageVideoScrollbarRounded:Di.imageVideoScrollbarRounded,imageVideoScrollbarVisibility:Di.imageVideoScrollbarVisibility,imageVideoScrollbarAlignment:Di.imageVideoScrollbarAlignment,imageVideoScrollbarHorizontalOffset:Di.imageVideoScrollbarHorizontalOffset,imageVideoScrollbarVerticalOffset:Di.imageVideoScrollbarVerticalOffset,imageVideoScrollbarColor:Di.imageVideoScrollbarColor,imageVideoScrollbarHover:Di.imageVideoScrollbarHover,imageVideoScrollbarBgTransparency:Di.imageVideoScrollbarBgTransparency,imageVideoScrollbarWidth:Di.imageVideoScrollbarWidth,menuDisplaceMobile:""===Di.menuDisplaceMobile||void 0===Di.menuDisplaceMobile||Di.menuDisplaceMobile,menuDisplaceTablet:""===Di.menuDisplaceTablet||void 0===Di.menuDisplaceTablet||Di.menuDisplaceTablet,pageMarginTop:Di.pageMarginTop,pageMarginRight:Di.pageMarginRight,pageMarginBottom:Di.pageMarginBottom,pageMarginLeft:Di.pageMarginLeft,pageMaxWidth:Di.pageMaxWidth,pageMaxAlign:Di.pageMaxAlign,pageScrollVerticalMargin:Di.pageScrollVerticalMargin,pageTextFont:Di.pageTextFont,pageTextKerning:Di.pageTextKerning,pageTextFontSize:Di.pageTextFontSize,pageTextFontColor:Di.pageTextFontColor,pageTitle:Di.pageTitle,pageTitleFont:Di.pageTitleFont,pageTitleKerning:Di.pageTitleKerning,pageTitleFontSize:Di.pageTitleFontSize,pageTitleFontColor:Di.pageTitleFontColor,pageScrollType:Di.pageScrollType,pageScrollbarVisibility:Di.pageScrollbarVisibility,pageScrollbarRounded:Di.pageScrollbarRounded,pageScrollbarAlignment:Di.pageScrollbarAlignment,pageScrollbarHorizontalOffset:Di.pageScrollbarHorizontalOffset,pageScrollbarVerticalOffset:Di.pageScrollbarVerticalOffset,pageScrollbarColor:Di.pageScrollbarColor,pageScrollbarHover:Di.pageScrollbarHover,pageScrollbarBgAlpha:Di.pageScrollbarBgAlpha,pageScrollbarWidth:Di.pageScrollbarWidth,thumbnailOnly:Di.thumbnailOnly,thumbnailFullRes:Di.thumbnailFullRes,thumbnailDefaultOn:Di.thumbnailDefaultOn,thumbnailPositionFixed:Di.thumbnailPositionFixed,thumbnailMasonryType:Di.thumbnailMasonryType,thumbnailMasonry:Di.thumbnailMasonry,thumbnailMasonryEvenRowHeight:Di.thumbnailMasonryEvenRowHeight,thumbnailMasonryFill:Di.thumbnailMasonryFill,thumbnailMasonryMaintainOrder:Di.thumbnailMasonryMaintainOrder,thumbnailMaxCols:Di.thumbnailMaxCols,thumbnailGap:Number(Di.thumbnailGap),thumbnailGapVertical:Number(Di.thumbnailGapVertical),thumbnailDock:Di.thumbnailDock,thumbnailType:Di.thumbnailType,thumbnailSize:Di.thumbnailSize,thumbnailCustomWidth:Di.thumbnailCustomWidth,thumbnailCustomHeight:Di.thumbnailCustomHeight,thumbnailSide:Di.thumbnailSide,thumbnailHorizontalMargin:Di.thumbnailHorizontalMargin,thumbnailVerticalMargin:Di.thumbnailVerticalMargin,thumbnailAlignHorizontal:Di.thumbnailAlignHorizontal,thumbnailAlignVertical:Di.thumbnailAlignVertical,thumbnailGridColor:Di.thumbnailGridColor,thumbnailGridTransparency:Di.thumbnailGridTransparency,thumbnailHoverAlpha:Di.thumbnailHoverAlpha,thumbnailHoverAlphaMobile:Di.thumbnailHoverAlphaMobile,thumbnailHoverAlphaTablet:Di.thumbnailHoverAlphaTablet,thumbnailHoverColor:Di.thumbnailHoverColor,thumbnailLoaderType:Di.thumbnailLoaderType,thumbnailTitleFont:Di.thumbnailTitleFont,thumbnailTitleFontSize:Di.thumbnailTitleFontSize,thumbnailTitleFontColor:Di.thumbnailTitleFontColor,thumbnailLabelVerticalOffset:Di.thumbnailLabelVerticalOffset,thumbnailLabelColorMobile:Di.thumbnailLabelColorMobile,thumbnailLabelColorTablet:Di.thumbnailLabelColorTablet,thumbnailLabelPosition:Di.thumbnailLabelPosition,thumbnailLabelJustification:Di.thumbnailLabelJustification,thumbnailLabelPositionMobile:Di.thumbnailLabelPositionMobile,thumbnailLabelPositionTablet:Di.thumbnailLabelPositionTablet,thumbnailStdLabelPosition:Di.thumbnailStdLabelPosition,thumbnailStdLabelPositionMobile:Di.thumbnailStdLabelPositionMobile,thumbnailStdLabelPositionTablet:Di.thumbnailStdLabelPositionTablet,thumbnailVideoPlayIcon:Di.thumbnailVideoPlayIcon!==!1,thumbnailScrollbarAlignment:Di.thumbnailScrollbarAlignment,thumbnailScrollbarColor:Di.thumbnailScrollbarColor,thumbnailScrollbarHover:Di.thumbnailScrollbarHover,thumbnailSelectedColor:Di.thumbnailSelectedColor,thumbnailSelectedAlpha:Di.thumbnailSelectedAlpha,thumbnailScrollbarHorizontalOffset:Di.thumbnailScrollbarHorizontalOffset,thumbnailScrollbarVerticalOffset:Di.thumbnailScrollbarVerticalOffset,thumbnailScrollType:Di.thumbnailScrollType,thumbnailScrollbarBgAlpha:Di.thumbnailScrollbarBgAlpha,thumbnailScrollbarWidth:Di.thumbnailScrollbarWidth,thumbnailScrollbarVisibility:Di.thumbnailScrollbarVisibility,thumbnailScrollbarRounded:Di.thumbnailScrollbarRounded,captionAutoPosition:Di.captionAutoPosition,captionDefault:Di.captionDefault,captionUseTitle:Di.captionUseTitle,captionCloseButton:Di.captionCloseButton,captionBackgroundAlpha:Di.captionBackgroundAlpha,captionBackgroundRectColor:Di.captionBackgroundRectColor,captionFont:Di.captionFont,captionFontColor:Di.captionFontColor,captionFontSize:Di.captionFontSize,captionFontSizeBreakpoint:Di.captionFontSizeBreakpoint,captionWidth:Di.captionWidth,captionHeight:Di.captionHeight,captionAlignHorizontal:Di.captionAlignHorizontal,captionAlignVertical:Di.captionAlignVertical,captionOffsetX:Di.captionOffsetX,captionOffsetY:Di.captionOffsetY,captionTextAlign:Di.captionTextAlign,captionTextAlignVertical:Di.captionTextAlignVertical,captionPaddingTop:Di.captionPaddingTop,captionPaddingRight:Di.captionPaddingRight,captionPaddingBottom:Di.captionPaddingBottom,captionPaddingLeft:Di.captionPaddingLeft,captionScrollType:Di.captionScrollType,captionScrollbarWidth:Di.captionScrollbarWidth,captionScrollbarAlignment:Di.captionScrollbarAlignment,captionScrollbarColor:Di.captionScrollbarColor,captionScrollbarHover:Di.captionScrollbarHover,captionScrollbarHorizontalOffset:Di.captionScrollbarHorizontalOffset,captionScrollbarVerticalOffset:Di.captionScrollbarVerticalOffset,captionScrollbarBgAlpha:Di.captionScrollbarBgAlpha,captionAnchorTo:Di.captionAnchorTo,slideshowRandomize:Di.landingMediaRandomize,slideshowTransitionType:Di.landingMediaTransitionType,slideshowSpeed:Di.landingMediaSpeed,slideshowTransitionDuration:Di.landingMediaTransitionDuration,slideshowAlignHorizontal:Di.landingMediaAlignHorizontal,slideshowAlignVertical:Di.landingMediaAlignVertical,slideshowScaleType:Di.landingMediaScaleType,slideshowScrollDownIcon:Di.slideshowScrollDownIcon,siteDisplayBehavior:Di.siteDisplayBehavior},section:function(e){if(!e)return!1;var t=e.overrides||{},n=e.thumb||{};Va.isLandingMedia=i(e),Va._section=e,Ea.overrides={get containerColor(){return J(t.containerColor,Di.containerColor)},get transitionType(){if(Va.isLandingMedia)return J(t.transitionType,Di.landingMediaTransitionType);var i=J(gt(),t.transitionType,Di.transitionType);return(re()||de())&&"vScroll"!==i&&(i="mSlide"),fo&&"hSlide"===i&&(i="mSlide"),Ce(e)&&(i="vScrollStatic"),i},get transitionDuration(){return J(t.transitionDuration,Di.transitionDuration)},get imageAlignHorizontal(){return J(t.imageAlignHorizontal,Di.imageAlignHorizontal)},get imageAlignVertical(){return J(t.imageAlignVertical,Di.imageAlignVertical)},get imageScaleType(){return J(t.imageScaleType,Di.imageScaleType)},get videoScaleType(){return J(t.videoScaleType,Di.videoScaleType)},get mobileAutoPlay(){return Di.mobileAutoPlay},get videoAutoPlay(){return!!Va.isLandingMedia||J(t.videoAutoPlay,Di.videoAutoPlay)},get vimeoDefault(){var e=""===Di.vimeoDefault||void 0===Di.vimeoDefault||Di.vimeoDefault,t=Di.vimeoDefaultMobile,i=Di.vimeoDefaultTablet;return re()?J(t,e):de()?J(i,e):e},get videoLoop(){return J(t.videoLoop,Di.videoLoop)},get imageVideoMarginTop(){return Yi!==Gi||/vScroll/.test(Ea.overrides.transitionType)?J(t.imageVideoMarginTop,Di.imageVideoMarginTop):0},get imageVideoMarginRight(){return Yi===Gi?0:J(t.imageVideoMarginRight,Di.imageVideoMarginRight)},get imageVideoMarginBottom(){return Yi!==Gi||/vScroll/.test(Ea.overrides.transitionType)?J(t.imageVideoMarginBottom,Di.imageVideoMarginBottom):0},get imageVideoMarginLeft(){return Yi===Gi?0:J(t.imageVideoMarginLeft,Di.imageVideoMarginLeft)},get pageMarginTop(){var e=J(t.pageMarginTop,Di.pageMarginTop);return Yi===Gi?J(Di.pageMarginTopMobile,50):re()?J(Di.pageMarginTopMobile,e):e},get pageMarginRight(){var e=J(t.pageMarginRight,Di.pageMarginRight);return Yi===Gi?J(Di.pageMarginRightMobile,0):re()?J(Di.pageMarginRightMobile,e):e},get pageMarginBottom(){var e=J(t.pageMarginBottom,Di.pageMarginBottom);return Yi===Gi?J(Di.pageMarginBottomMobile,0):re()?J(Di.pageMarginBottomMobile,e):e},get pageMarginLeft(){var e=J(t.pageMarginLeft,Di.pageMarginLeft);return Yi===Gi?J(Di.pageMarginLeftMobile,0):re()?J(Di.pageMarginLeftMobile,e):e},get pageMaxWidth(){return E(J(t.pageMaxWidth,Di.pageMaxWidth),Sa.width)},get pageMaxAlign(){return J(t.pageMaxAlign,Di.pageMaxAlign)},get pageScrollVerticalMargin(){return J(t.pageScrollVerticalMargin,Di.pageScrollVerticalMargin)},get pageTextFont(){return J(t.pageTextFont,Di.pageTextFont)},get pageTextKerning(){return J(t.pageTextKerning,Di.pageTextKerning)},get pageTextFontSize(){return t.pageTextFontSize||Di.pageTextFontSize},get pageTextFontColor(){return J(t.pageTextFontColor,Di.pageTextFontColor)},get pageTitle(){return J(t.pageTitle,Di.pageTitle)},get pageTitleFont(){return J(t.pageTitleFont,Di.pageTitleFont)},get pageTitleKerning(){return J(t.pageTitleKerning,Di.pageTitleKerning)},get pageTitleFontSize(){return t.pageTitleFontSize||Di.pageTitleFontSize},get pageTitleFontColor(){return J(t.pageTitleFontColor,Di.pageTitleFontColor)},get pageScrollType(){return J(t.pageScrollType,Di.pageScrollType)},get pageScrollbarVisibility(){return J(t.pageScrollbarVisibility,Di.pageScrollbarVisibility)},get pageScrollbarRounded(){return J(t.pageScrollbarRounded,Di.pageScrollbarRounded)},get pageScrollbarAlignment(){return J(t.pageScrollbarAlignment,Di.pageScrollbarAlignment)},get pageScrollbarHorizontalOffset(){return J(t.pageScrollbarHorizontalOffset,Di.pageScrollbarHorizontalOffset)},get pageScrollbarVerticalOffset(){return J(t.pageScrollbarVerticalOffset,Di.pageScrollbarVerticalOffset)},get pageScrollbarColor(){return J(t.pageScrollbarColor,Di.pageScrollbarColor)},get pageScrollbarHover(){return J(t.pageScrollbarHover,Di.pageScrollbarHover)},get pageScrollbarBgAlpha(){return J(t.pageScrollbarBgAlpha,Di.pageScrollbarBgAlpha)},get pageScrollbarWidth(){return J(t.pageScrollbarWidth,Di.pageScrollbarWidth)},get imageVideoScrollType(){var e=""===t.imageVideoScrollType?"scrollbar":t.imageVideoScrollType;return J(e,Di.imageVideoScrollType)},get imageVideoScrollbarRounded(){return J(t.imageVideoScrollbarRounded,Di.imageVideoScrollbarRounded)},get imageVideoScrollbarVisibility(){return J(t.imageVideoScrollbarVisibility,Di.imageVideoScrollbarVisibility)},get imageVideoInactiveAlpha(){return J(t.imageVideoInactiveAlpha,Di.imageVideoInactiveAlpha)},get imageVideoBgColor(){return J(t.imageVideoBgColor,Di.imageVideoBgColor)},get imageVideoBgAlpha(){return J(t.imageVideoBgAlpha,Di.imageVideoBgAlpha)},get imageVideoLoaderType(){return J(t.imageVideoLoaderType,Di.imageVideoLoaderType)},get imageVideoScrollbarAlignment(){return J(t.imageVideoScrollbarAlignment,Di.imageVideoScrollbarAlignment)},get imageVideoScrollbarHorizontalOffset(){return J(t.imageVideoScrollbarHorizontalOffset,Di.imageVideoScrollbarHorizontalOffset)},get imageVideoScrollbarVerticalOffset(){return J(t.imageVideoScrollbarVerticalOffset,Di.imageVideoScrollbarVerticalOffset)},get imageVideoScrollbarColor(){return J(t.imageVideoScrollbarColor,Di.imageVideoScrollbarColor)},get imageVideoScrollbarHover(){return J(t.imageVideoScrollbarHover,Di.imageVideoScrollbarHover)},get imageVideoScrollbarBgTransparency(){return J(t.imageVideoScrollbarBgTransparency,Di.imageVideoScrollbarBgTransparency)},get imageVideoScrollbarWidth(){return J(t.imageVideoScrollbarWidth,Di.imageVideoScrollbarWidth)},get menuDisplaceMobile(){return""===Di.menuDisplaceMobile||void 0===Di.menuDisplaceMobile||Di.menuDisplaceMobile},get menuDisplaceTablet(){return""===Di.menuDisplaceTablet||void 0===Di.menuDisplaceTablet||Di.menuDisplaceTablet},get overlayTitleFont(){return J(Di.overlayTitleFont,Di.thumbnailTitleFont)},get overlayTitleFontSize(){return Di.overlayTitleFontSize||Di.thumbnailTitleFontSize},get overlayTitleFontColor(){return J(Di.overlayTitleFontColor,Di.thumbnailTitleFontColor)},get thumbnailOnly(){return J(n.only,Di.thumbnailOnly)},get thumbnailFullRes(){return J(n.fullRes,Di.thumbnailFullRes)},get thumbnailDefaultOn(){return Yi===Gi?n.only||Di.thumbnailOnly||J(Di.thumbnailDefaultOnMobile,n.defaultOn,Di.thumbnailDefaultOn):n.only||Di.thumbnailOnly||J(n.defaultOn,Di.thumbnailDefaultOn)},get thumbnailPositionFixed(){return Yi!==Gi&&J(n.positionFixed,Di.thumbnailPositionFixed)},get thumbnailMasonry(){if(Yi===Gi)return!0;var e=J(n.type,Di.thumbnailType);switch(e){case"vMasonry":return!0;case"hMasonry":return!0;default:return!1}},get thumbnailMasonryType(){return J(n.masonryType,Di.thumbnailMasonryType)},get thumbnailMasonryFill(){if(Yi===Gi)return!0;var e=J(n.masonryFill,Di.thumbnailMasonryFill),t=J(n.type,Di.thumbnailType);if(void 0===t)return e;switch(t){case"vMasonry":return e;case"hMasonry":return e;default:return!1}},get thumbnailMasonryEvenRowHeight(){
if(Yi===Gi)return!1;var e=J(n.type,Di.thumbnailType);switch(e){case"vMasonry":return!1;case"hMasonry":return!0;default:return!1}},get thumbnailMasonryMaintainOrder(){return J(n.masonryMaintainOrder,Di.thumbnailMasonryMaintainOrder)},get thumbnailMaxCols(){return J(n.maxCols,Di.thumbnailMaxCols)},get thumbnailGap(){return Yi===Gi?Number(Di.thumbnailGapMobile||0):Number(J(n.gap,Di.thumbnailGap))},get thumbnailGapVertical(){return Yi===Gi?Number(Di.thumbnailGapVerticalMobile||0):Number(J(n.gapVertical,Di.thumbnailGapVertical))},get thumbnailDock(){return J(n.dock,Di.thumbnailDock)},get thumbnailType(){if(Yi===Gi)return"none"===J(n.type,Di.thumbnailType)?"none":"vMasonry";var e=J(n.masonry,Di.thumbnailMasonry),t=n.type&&"default"!==n.type?J(n.type,Di.thumbnailType):Di.thumbnailType,i="fill"===t&&e?"vMasonry":t;return i},get thumbnailSize(){return Yi===Gi?(Io=bt(Di.thumbnailCustomWidthMobile,Di.thumbnailCustomHeightMobile),Di.thumbnailSizeMobile||"xLarge"):(Io=bt(J(n.customWidth,Di.thumbnailCustomWidth),J(n.customHeight,Di.thumbnailCustomHeight)),J(n.size,Di.thumbnailSize))},get thumbnailCustomWidth(){return Yi===Gi?(Io=bt(Di.thumbnailCustomWidthMobile,Di.thumbnailCustomHeightMobile),Di.thumbnailCustomWidthMobile):(Io=bt(J(n.customWidth,Di.thumbnailCustomWidth),J(n.customHeight,Di.thumbnailCustomHeight)),J(n.customWidth,Di.thumbnailCustomWidth))},get thumbnailCustomHeight(){return Yi===Gi?(Io=bt(Di.thumbnailCustomWidthMobile,Di.thumbnailCustomHeightMobile),Di.thumbnailCustomHeightMobile):(Io=bt(J(n.customWidth,Di.thumbnailCustomWidth),J(n.customHeight,Di.thumbnailCustomHeight)),J(n.customHeight,Di.thumbnailCustomHeight))},get thumbnailSide(){return J(n.side,Di.thumbnailSide)},get thumbnailHorizontalMargin(){return Yi===Gi?Di.thumbnailHorizontalMarginMobile||0:J(n.horizontalMargin,Di.thumbnailHorizontalMargin)},get thumbnailVerticalMargin(){return Yi===Gi?Di.thumbnailVerticalMarginMobile||0:J(n.verticalMargin,Di.thumbnailVerticalMargin)},get thumbnailAlignHorizontal(){return J(n.alignHorizontal,Di.thumbnailAlignHorizontal)},get thumbnailAlignVertical(){return J(n.alignVertical,Di.thumbnailAlignVertical)},get thumbnailGridColor(){return J(n.gridColor,Di.thumbnailGridColor)},get thumbnailGridTransparency(){return J(n.gridTransparency,Di.thumbnailGridTransparency)},get thumbnailHoverAlpha(){return J(n.hoverAlpha,Di.thumbnailHoverAlpha)},get thumbnailHoverAlphaMobile(){return Di.thumbnailHoverAlphaMobile},get thumbnailHoverAlphaTablet(){return Di.thumbnailHoverAlphaTablet},get thumbnailHoverColor(){return J(n.hoverColor,Di.thumbnailHoverColor)},get thumbnailLoaderType(){return J(n.loaderType,Di.thumbnailLoaderType,"spinner")},get thumbnailTitleFont(){return Yi===Gi?J(Di.thumbnailTitleFontMobile,Di.thumbnailTitleFont):Yi===Zi?J(Di.thumbnailTitleFontTablet,Di.thumbnailTitleFont):J(n.titleFont,Di.thumbnailTitleFont)},get thumbnailTitleFontSize(){return Yi===Gi?Di.thumbnailTitleFontSizeMobile||n.titleFontSize||Di.thumbnailTitleFontSize:Yi===Zi?Di.thumbnailTitleFontSizeTablet||n.titleFontSize||Di.thumbnailTitleFontSize:n.titleFontSize||Di.thumbnailTitleFontSize},get thumbnailTitleFontColor(){return Yi===Gi?J(Di.thumbnailTitleFontColorMobile,Di.thumbnailLabelColorMobile,n.titleFontColor,Di.thumbnailTitleFontColor):Yi===Zi?J(Di.thumbnailTitleFontColorTablet,Di.thumbnailLabelColorTablet,n.titleFontColor,Di.thumbnailTitleFontColor):J(n.titleFontColor,Di.thumbnailTitleFontColor)},get thumbnailLabelVerticalOffset(){return J(n.labelVerticalOffset,Di.thumbnailLabelVerticalOffset)},get thumbnailLabelColorMobile(){return Di.thumbnailLabelColorMobile},get thumbnailLabelColorTablet(){return Di.thumbnailLabelColorTablet},get thumbnailLabelPosition(){return J(n.labelPosition,Di.thumbnailLabelPosition)},get thumbnailLabelJustification(){return J(n.labelJustification,Di.thumbnailLabelJustification)},get thumbnailStdLabelPosition(){return n.stdLabelPosition},get thumbnailStdLabelJustification(){return n.stdLabelJustification},get thumbnailLabelPositionMobile(){return J(Di.thumbnailLabelPositionMobile,n.labelPosition,Di.thumbnailLabelPosition,"bottom")},get thumbnailStdLabelPositionMobile(){var e=J(n.stdLabelPositionMobile,Di.thumbnailStdLabelPositionMobile);return"hover"===e?"over":e},get thumbnailLabelPositionTablet(){return J(Di.thumbnailLabelPositionTablet,n.labelPosition,Di.thumbnailLabelPosition,"bottom")},get thumbnailStdLabelPositionTablet(){var e=J(n.stdLabelPositionTablet,Di.thumbnailStdLabelPositionTablet);return"hover"===e?"over":e},get thumbnailVideoPlayIcon(){return J(n.videoPlayIcon,Di.thumbnailVideoPlayIcon!==!1)},get thumbnailScrollbarAlignment(){return J(n.scrollbarAlignment,Di.thumbnailScrollbarAlignment)},get thumbnailScrollbarColor(){return J(n.scrollbarColor,Di.thumbnailScrollbarColor)},get thumbnailScrollbarHover(){return J(n.scrollbarHover,Di.thumbnailScrollbarHover)},get thumbnailSelectedColor(){return J(n.selectedColor,Di.thumbnailSelectedColor)},get thumbnailSelectedAlpha(){return J(n.selectedAlpha,Di.thumbnailSelectedAlpha,Di.thumbnailHoverAlpha)},get thumbnailScrollbarHorizontalOffset(){return J(n.scrollbarHorizontalOffset,Di.thumbnailScrollbarHorizontalOffset)},get thumbnailScrollbarVerticalOffset(){return J(n.scrollbarVerticalOffset,Di.thumbnailScrollbarVerticalOffset)},get thumbnailScrollType(){var e=J(n.scrollType,Di.thumbnailScrollType);return"mouse cursor"===e&&(e="nativeMacOs"),e},get thumbnailScrollbarBgAlpha(){return J(n.scrollbarBgAlpha,Di.thumbnailScrollbarBgAlpha)},get thumbnailScrollbarWidth(){return J(n.scrollbarWidth,Di.thumbnailScrollbarWidth)},get thumbnailScrollbarVisibility(){return J(n.scrollbarVisibility,Di.thumbnailScrollbarVisibility)},get thumbnailScrollbarRounded(){return J(n.scrollbarRounded,Di.thumbnailScrollbarRounded)},get thumbnailTitleBlockTopMargin(){return re()?J(Di.thumbnailTitleBlockTopMarginMobile,Di.thumbnailTitleBlockTopMargin)||0:Di.thumbnailTitleBlockTopMargin||0},get captionAutoPosition(){return J(t.captionAutoPosition,Di.captionAutoPosition)},get captionDefault(){return J(t.captionDefault,Di.captionDefault)},get captionUseTitle(){return J(t.captionUseTitle,Di.captionUseTitle)},get captionCloseButton(){return J(t.captionCloseButton,Di.captionCloseButton)},get captionBackgroundAlpha(){return J(t.captionBackgroundAlpha,Di.captionBackgroundAlpha)},get captionBackgroundRectColor(){return J(t.captionBackgroundRectColor,Di.captionBackgroundRectColor)},get captionFont(){return J(t.captionFont,Di.captionFont)},get captionFontColor(){return J(t.captionFontColor,Di.captionFontColor)},get captionFontSize(){return t.captionFontSize||Di.captionFontSize},get captionFontSizeBreakpoint(){return t.captionFontSizeBreakpoint||Di.captionFontSizeBreakpoint||t.captionFontSize||Di.captionFontSize},get captionWidth(){return E(J(t.captionWidth,Di.captionWidth),Sa.width)},get captionHeight(){return E(J(t.captionHeight,Di.captionHeight),Sa.height)},get captionAlignHorizontal(){return J(t.captionAlignHorizontal,Di.captionAlignHorizontal)},get captionAlignVertical(){return J(t.captionAlignVertical,Di.captionAlignVertical)},get captionOffsetX(){return E(J(t.captionOffsetX,Di.captionOffsetX),Sa.width)},get captionOffsetY(){return E(J(t.captionOffsetY,Di.captionOffsetY),Sa.height)},get captionTextAlign(){return J(t.captionTextAlign,Di.captionTextAlign)},get captionTextAlignVertical(){return J(t.captionTextAlignVertical,Di.captionTextAlignVertical)},get captionPaddingTop(){return E(J(t.captionPaddingTop,Di.captionPaddingTop),Sa.height)},get captionPaddingRight(){return E(J(t.captionPaddingRight,Di.captionPaddingRight),Sa.width)},get captionPaddingBottom(){return E(J(t.captionPaddingBottom,Di.captionPaddingBottom),Sa.height)},get captionPaddingLeft(){return E(J(t.captionPaddingLeft,Di.captionPaddingLeft),Sa.width)},get captionScrollType(){return J(t.captionScrollType,Di.captionScrollType)},get captionScrollbarWidth(){return J(t.captionScrollbarWidth,Di.captionScrollbarWidth)},get captionScrollbarAlignment(){return J(t.captionScrollbarAlignment,Di.captionScrollbarAlignment)},get captionScrollbarColor(){return J(t.captionScrollbarColor,Di.captionScrollbarColor)},get captionScrollbarHover(){return J(t.captionScrollbarHover,Di.captionScrollbarHover)},get captionScrollbarHorizontalOffset(){return J(t.captionScrollbarHorizontalOffset,Di.captionScrollbarHorizontalOffset)},get captionScrollbarVerticalOffset(){return J(t.captionScrollbarVerticalOffset,Di.captionScrollbarVerticalOffset)},get captionScrollbarBgAlpha(){return J(t.captionScrollbarBgAlpha,Di.captionScrollbarBgAlpha)},get captionAnchorTo(){return J(t.captionAnchorTo,Di.captionAnchorTo)},get slideshowRandomize(){return J(t.slideshowRandomize,Di.landingMediaRandomize)},get slideshowTransitionType(){return J(t.slideshowTransitionType,Di.landingMediaTransitionType)},get slideshowSpeed(){return J(t.slideshowSpeed,Di.landingMediaSpeed)},get slideshowTransitionDuration(){return J(t.slideshowTransitionDuration,Di.landingMediaTransitionDuration)},get slideshowAlignHorizontal(){return J(t.slideshowAlignHorizontal,Di.landingMediaAlignHorizontal)},get slideshowAlignVertical(){return J(t.slideshowAlignVertical,Di.landingMediaAlignVertical)},get slideshowScaleType(){var e=J(t.slideshowScaleType,Di.landingMediaScaleType);return re()?J(Di.landingMediaScaleTypeMobile,"fit"):de()?J(Di.landingMediaScaleTypeTablet,e):e},get slideshowScrollDownIcon(){return J(e.scrollDownIcon,Di.slideshowScrollDownIcon)},get siteDisplayBehavior(){return Yi===Gi||Yi===Zi?"none":J(e.displayBehavior,Di.siteDisplayBehavior,Di.unifiedPageScrolling?"unifiedPageScrolling":"none")}}},get backgroundImages(){var e=[];return e=window.isStaging&&Wi.hasOwnProperty("stagingBackgroundImages")?Wi.stagingBackgroundImages||e:Wi.backgroundImages.length?Wi.backgroundImages:DX_MODEL.designSettings.backgroundImages||e,e.filter(function(e){return l(e)})},get socialLinks(){var e=[];return e=window.isStaging&&Wi.hasOwnProperty("stagingSocialLinks")?Wi.stagingSocialLinks||e:Wi.socialLinks.length?Wi.socialLinks:DX_MODEL.designSettings.socialLinks||e,e.filter(function(e){return l(e)})},get copyright(){return window.isStaging&&Wi.hasOwnProperty("stagingCopyright")?Wi.stagingCopyright||"":J(Wi.copyright,DX_MODEL.designSettings.copyright)||""},get logoFile(){return window.isStaging&&Wi.hasOwnProperty("stagingLogoFile")?Wi.stagingLogoFile||"":J(Wi.logoFile,DX_MODEL.designSettings.logoFile)||""},get logoHtml(){return window.isStaging&&Wi.hasOwnProperty("stagingLogoHtml")?Wi.stagingLogoHtml||"":J(Wi.logoHtml,DX_MODEL.designSettings.logoHtml)||""},get logoText(){return window.isStaging&&Wi.hasOwnProperty("stagingLogoText")?Wi.stagingLogoText||"":J(Wi.logoText,DX_MODEL.designSettings.logoText)||""},get introFile(){return window.isStaging&&Wi.hasOwnProperty("stagingIntroFile")?Wi.stagingIntroFile||"":J(Wi.introFile,DX_MODEL.designSettings.introFile)||""},get blogSectionId(){return window.isStaging&&Wi.hasOwnProperty("stagingBlogSectionId")?Wi.stagingBlogSectionId||"":J(Wi.blogSectionId,DX_MODEL.designSettings.blogSectionId)||""},footerView:{zIndex:function(){return"overlay"===Ea.menuView.placement()?5:8}},introView:{zIndex:500},logoView:{zIndex:function(){return"overlay"===Ea.menuView.placement()?5:8}},mediaView:{zIndex:1,zoneX:function(){return _()&&Va.isLandingMedia?Va.landingMediaView.x():Va.mediaView.x()},zoneY:function(e){return _()&&Va.isLandingMedia?Va.landingMediaView.y():Va.mediaView.y(e)},zoneWidth:function(){return _()&&Va.isLandingMedia?Va.landingMediaView.width():Va.mediaView.width()},zoneHeight:function(e){return"unifiedSiteScrollVertical"===Ea.overrides.siteDisplayBehavior&&"multiple"===Va.sectionDisplayMode?_()&&Va.isLandingMedia?Va.landingMediaView.height():Va.mediaView.height(e,!0):_()&&Va.isLandingMedia?Va.landingMediaView.height():Va.mediaView.height(e)},contentHeight:function(){return Ea.siteView.unifiedPageScroll()&&Va._mediaContentHeight>Ea.mediaView.height()?Va._mediaContentHeight:Ea.mediaView.height()},x:function(){var e=_()&&Va.isLandingMedia?Va.landingMediaView.x():Va.mediaView.x();return Va.isDisplace()&&"left"===Ea.overrides.thumbnailSide?e+E(Ea.overrides.thumbnailHorizontalMargin,Sa.width)+Io[Ea.overrides.thumbnailSize].width:e},y:function(e){var t=_()&&Va.isLandingMedia?Va.landingMediaView.y():Va.mediaView.y(e);return Va.isDisplace()&&"top"===Ea.overrides.thumbnailSide?t+E(Ea.overrides.thumbnailVerticalMargin,Sa.height)+Io[Ea.overrides.thumbnailSize].height:t},width:function(){var e=_()&&Va.isLandingMedia?Va.landingMediaView.width():Va.mediaView.width();return!Va.isDisplace()||"left"!==Ea.overrides.thumbnailSide&&"right"!==Ea.overrides.thumbnailSide?e:e-E(Ea.overrides.thumbnailHorizontalMargin,Sa.width)-Io[Ea.overrides.thumbnailSize].width},height:function(e){var t=_()&&Va.isLandingMedia?Va.landingMediaView.height():Va.mediaView.height(e),i=E(Di.menuWidth,Sa.height)-E(Di.menuOffsetX,Sa.height),n=/unifiedSite/.test(Ea.overrides.siteDisplayBehavior)&&/top|bottom/.test(Ea.menuView.placement())?Sa.height-i:Sa.height;return!(t>=n)&&/unifiedSite/.test(Ea.overrides.siteDisplayBehavior)||!Va.isDisplace()||"top"!==Ea.overrides.thumbnailSide&&"bottom"!==Ea.overrides.thumbnailSide?t:t-E(Ea.overrides.thumbnailVerticalMargin,Sa.height)-Io[Ea.overrides.thumbnailSize].height},maskX:function(){return _()&&Va.isLandingMedia?Va.landingMediaView.x():Va.mediaMask.x()},maskY:function(e){return _()&&Va.isLandingMedia?Va.landingMediaView.y():Va.mediaMask.y(e)},maskWidth:function(e){return _()&&Va.isLandingMedia?Va.landingMediaView.width():Va.mediaMask.width(e)},maskHeight:function(e,t){return _()&&Va.isLandingMedia?Va.landingMediaView.height():Va.mediaMask.height(e,t)},hAlign:function(){return Yi===Gi?Va.isLandingMedia?J(Di.landingMediaAlignHorizontalMobile,Ea.overrides.slideshowAlignHorizontal):Ea.overrides.imageAlignHorizontal:Va.isLandingMedia?Ea.overrides.slideshowAlignHorizontal:Ea.overrides.imageAlignHorizontal},vAlign:function(){return Yi===Gi?Va.isLandingMedia?J(Di.landingMediaAlignVerticalMobile,Ea.overrides.slideshowAlignVertical):Ea.overrides.imageAlignVertical:Va.isLandingMedia?Ea.overrides.slideshowAlignVertical:Ea.overrides.imageAlignVertical},transitionDuration:function(e){return e?Ea.overrides.slideshowTransitionDuration:Ea.overrides.transitionDuration},imageScaleType:function(){return Va.isLandingMedia?re()?J(Di.landingMediaScaleTypeMobile,Ea.overrides.slideshowScaleType):de()?J(Di.landingMediaScaleTypeTablet,Ea.overrides.slideshowScaleType):Ea.overrides.slideshowScaleType:Ea.overrides.imageScaleType},videoScaleType:function(e){return Va.isLandingMedia?re()?J(Di.landingMediaScaleTypeMobile,Ea.overrides.slideshowScaleType):de()?J(Di.landingMediaScaleTypeTablet,Ea.overrides.slideshowScaleType):Ea.overrides.slideshowScaleType:e&&"fill"===Ea.overrides.videoScaleType?"fit":Ea.overrides.videoScaleType},videoAutoPlay:function(){return Ea.overrides.videoAutoPlay},backgroundColor:function(){return _()&&Va.isLandingMedia?Di.siteBackgroundColor:Va.isLandingMedia?Di.containerColor:Ea.overrides.containerColor}},menuView:{placement:function(){var e;switch(Di.menuAlignHorizontal){case"top-responsive":e=Va.isMenuResponsiveOverlay?"overlay":"top";break;case"right-responsive":e=Va.isMenuResponsiveOverlay?"overlay":"right";break;case"bottom-responsive":e=Va.isMenuResponsiveOverlay?"overlay":"bottom";break;case"left-responsive":e=Va.isMenuResponsiveOverlay?"overlay":"left";break;default:e=Di.menuAlignHorizontal}return Yi===Gi||Yi===Zi?"left":e},zIndex:6,menuPositionFixed:function(){return!!/bottom/.test(Ea.menuView.placement())||Di.menuPositionFixed},menuFontSize:function(){return"overlay"===Ea.menuView.placement()?Di.menuOverlayFontSize||Di.menuFontSize:Di.menuFontSize},menuSubFontSize:function(){return"overlay"===Ea.menuView.placement()?Di.menuOverlaySubFontSize||Di.menuSubFontSize:Di.menuSubFontSize},menuBgColor:function(){return"overlay"===Ea.menuView.placement()?Di.menuOverlayBgColor||Di.menuBgColor:Di.menuBgColor},menuBgAlpha:function(){return"overlay"===Ea.menuView.placement()?Di.menuOverlayBgAlpha||Di.menuBgAlpha:Di.menuBgAlpha},menuFontColor:function(){var e=Di.menuFontColor;return Yi===Gi&&(e=Di.menuFontColorMobile||e),Yi===Zi&&(e=Di.menuFontColorTablet||e),"overlay"===Ea.menuView.placement()?Di.menuOverlayFontColor||e:e},menuFontColorHover:function(){return"overlay"===Ea.menuView.placement()?Di.menuOverlayFontColorHover||Di.menuFontColorHover:Di.menuFontColorHover},menuFontColorSelected:function(){return"overlay"===Ea.menuView.placement()?Di.menuOverlayFontColorSelected||Di.menuFontColorSelected:Di.menuFontColorSelected},menuTextAlignHorizontal:function(){return"overlay"===Ea.menuView.placement()?Di.menuOverlayTextAlignHorizontal||Di.menuTextAlignHorizontal:Di.menuTextAlignHorizontal},menuTextAlignVertical:function(){return"overlay"===Ea.menuView.placement()?Di.menuOverlayTextAlignVertical||Di.menuTextAlignVertical:Di.menuTextAlignVertical},menuTextPaddingHorizontal:function(){return"overlay"===Ea.menuView.placement()?Di.menuOverlayTextPaddingHorizontal||Di.menuTextPaddingHorizontal:Di.menuTextPaddingHorizontal},menuTextPaddingVertical:function(){return"overlay"===Ea.menuView.placement()?Di.menuOverlayTextPaddingVertical||Di.menuTextPaddingVertical:Di.menuTextPaddingVertical},menuTextGap:function(){return"overlay"===Ea.menuView.placement()?Di.menuOverlayTextGap||Di.menuTextGap:Di.menuTextGap},menuSubTextAlignHorizontal:function(){return"overlay"===Ea.menuView.placement()?Di.menuOverlaySubTextAlignHorizontal||Di.menuSubTextAlignHorizontal:Di.menuSubTextAlignHorizontal},menuSubTextGap:function(){return"overlay"===Ea.menuView.placement()?Di.menuOverlaySubTextGap||Di.menuSubTextGap:Di.menuSubTextGap},menuIconOverlayColor:function(){return Di.menuIconOverlayColor||Di.menuOverlayFontColor||"#333333"}},navbarView:{zIndex:function(){return/^overlay/.test(Ea.overrides.siteDisplayBehavior)?101:Yi===Gi||"overlay"===Ea.menuView.placement()?3:7}},overlayView:{x:function(){return/^unifiedSite|overlay/.test(Ea.overrides.siteDisplayBehavior)&&/top|bottom/.test(Ea.menuView.placement())?0:Ea.mediaView.zoneX()},y:function(e){return/^unifiedSite|overlay/.test(Ea.overrides.siteDisplayBehavior)?0:Ea.mediaView.zoneY(e)},zoneWidth:function(){return/^overlay/.test(Ea.overrides.siteDisplayBehavior)?Sa.width:_()&&Va.isLandingMedia?Va.landingMediaView.width():Va.mediaView.width()},zoneHeight:function(e){if(/^overlay/.test(Ea.overrides.siteDisplayBehavior))return Sa.height;if(!/unifiedPageScroll/.test(Ea.overrides.siteDisplayBehavior)||Yi===Ji&&re()||Yi===Ji&&de()||/native/.test(Ea.overrides.thumbnailScrollType)||Di.globalSmoothScroll){if(Ea.siteView.unifiedPageScroll()){var t=_()&&Va.isLandingMedia?Va.landingMediaView.height():Va.mediaView.height(e);return Va._thumbsVisible&&/fill|hMasonry|vMasonry/.test(Ea.overrides.thumbnailType)&&Va._thumbContentHeight>t?Va._thumbContentHeight:t}return _()&&Va.isLandingMedia?Va.landingMediaView.height():Va.mediaView.height(e)}return Ea.mediaView.zoneHeight()},zIndex:4,size:{x:function(){return/^overlay/.test(Ea.overrides.siteDisplayBehavior)?0:Ea.overlayView.x()},y:function(e){return/^overlay/.test(Ea.overrides.siteDisplayBehavior)?0:Ea.overlayView.y(e)},width:function(){return Ea.overlayView.zoneWidth()},height:function(e){return Ea.overlayView.zoneHeight(e)}}},captionView:{zIndex:function(){return Yi===Gi||"overlay"===Ea.menuView.placement()?2:7}},siteView:{unifiedPageScroll:function(){return"overlay"!==Ea.overrides.siteDisplayBehavior&&(!/none/.test(Ea.overrides.siteDisplayBehavior)&&(/^unifiedSite/.test(Ea.overrides.siteDisplayBehavior)?/^vScroll/.test(Ea.overrides.transitionType)||Va._thumbsVisible&&/fill|hMasonry|vMasonry/.test(Ea.overrides.thumbnailType)||Ce(Va._section):/^unifiedPage/.test(Ea.overrides.siteDisplayBehavior)?/^vScroll/.test(Ea.overrides.transitionType)||Va._thumbsVisible&&/fill|hMasonry|vMasonry/.test(Ea.overrides.thumbnailType)||Ce(Va._section):Di.unifiedPageScrolling))},width:function(){return Sa.width},height:function(){if("single"===Va.sectionDisplayMode&&_()&&Va.isLandingMedia)return Va.landingMediaView.height();if(Yi===Gi||Yi===Zi)return Sa.height;if("unifiedSiteScrollVertical"===Ea.overrides.siteDisplayBehavior&&"multiple"===Va.sectionDisplayMode){var e=Di.marginOverlap||0,t=E(Di.sitePaddingTop,Sa.height),i=E(Di.sitePaddingBottom,Sa.height),n=Va.mediaModules&&Va.mediaModules[0],o=n&&n.controller.section,a=0,r=E(Di.menuWidth,Sa.height)-E(Di.menuOffsetX,Sa.height);return o&&W(o)?Va.mediaViewsHeight+i:/top/.test(Ea.menuView.placement())&&!Di.isMenuScrollReveal?(a=t+r-e,a+Va.mediaViewsHeight+i):/bottom/.test(Ea.menuView.placement())&&!Di.isMenuScrollReveal?(a=i+r-e,t+Va.mediaViewsHeight+a):t+Va.mediaViewsHeight+i}if(Ea.siteView.unifiedPageScroll()){var l=E(Di.sitePaddingTop,Sa.height),s=/top/.test(Ea.menuView.placement()),d=/bottom/.test(Ea.menuView.placement()),c=!Di.isMenuScrollReveal&&(s||d);if(c){var e=Di.marginOverlap||0,r=E(Di.menuWidth,Sa.height)-E(Di.menuOffsetX,Sa.height),t=E(Di.sitePaddingTop,Sa.height),i=E(Di.sitePaddingBottom,Sa.height),a=(Sa.height,r-e||0);l+=a}if(Va._thumbsVisible&&/fill|hMasonry|vMasonry/.test(Ea.overrides.thumbnailType)&&(re()||de()||/native/.test(Ea.overrides.thumbnailScrollType)||Di.globalSmoothScroll))l+=Va._thumbContentHeight>Ea.mediaView.zoneHeight()?Va._thumbContentHeight:Ea.mediaView.zoneHeight();else{var h=Va._section&&Va._section.key;l+=Ea.mediaView.height(h)>Ea.mediaView.zoneHeight()?Ea.mediaView.height(h):Ea.mediaView.zoneHeight()}return l+=E(Di.sitePaddingBottom,Sa.height)}return Sa.height}},setPassedSection:function(e){Ta.push(e)},getPassedSection:function(e){return Ta.indexOf(e)>-1}},za={url:"",path:"",query:"",fragment:"",listeners:[],onChange:function(){},init:function(){this.url=window.location.pathname+window.location.search,window.onpopstate=za.fireListeners,window.onhashchange=za.fireListeners,setTimeout(function(){window.history.pushState({value:za.url},"",za.url),za.fireListeners()},0)},fireListeners:function(e,t){e&&e.state&&e.state.value&&(za.url=e.state.value),za.onChange(decodeURIComponent(za.url)||"/",t)},setValue:function(e,t,i){if(0===e.indexOf("http"))window.location=e;else{var n=e.split("?"),o=i?"pushState":"replaceState";this.path=this.addDashes(this.trim(n[0])),this.query=n[1]?"?"+n[1]:"",this.url="/"+this.path+this.query,window.history[o]({value:this.url},"",this.url),this.fireListeners({},t)}"function"!=typeof window.ga||Hi||ga("send",{hitType:"pageview",page:window.location.pathname})},back:function(){history.back()},setLocation:function(e){window.location=e},getQuery:function(){return window.location.search},setTitle:function(e){document.title=e},getTitle:function(){return document.title},getHost:function(){return window.location.host},addDashes:function(e){return e.replace(/ /g,"-").replace(/%20/g,"-")},trim:function(e){return e.replace(/^\s+|\s+$/g,"").replace(/^\/|\/$/g,"")}},ka=function(){function e(e,n){function o(){B.dispatchEvent(to)}function a(e){D.dispatchEvent($o,e)}function r(){D.dispatchEvent(oa)}function l(e){B.dispatchEvent(Xn,e),H.section&&"layoutModelInit"!==e.id&&(R.test(e.id)||j.test(e.id)||_.test(e.id)||W.test(e.id))&&(B.dispatchEvent("SectionMediaFactory/buildItems",{section:H.section,media:y(H.section.media)}),B.dispatchEvent("assetReset")),t(H)}function d(e){return/page/.test(e)}function c(e){return/imageVideo|caption/.test(e)}function h(e,t){return/thumb/.test(t)&&"strip"!==e}function u(e){if(H.section&&(Ea.section(H.section),B.dispatchEvent(qn,e),"update"===e.method&&e.id===H.section.id&&!h(Ea.overrides.thumbnailType,H.state.mode))){if("media"===e.field)B.dispatchEvent("SectionMediaFactory/buildItems",{section:H.section,media:e.value?y(e.value):[]}),B.dispatchEvent("assetReset");else if("overrides"===e.field){var i=JSON.stringify(e.value);d(i)&&"html"===Va._activeMediaType?(B.dispatchEvent("SectionMediaFactory/buildItems",{section:H.section,media:y(H.section.media)}),B.dispatchEvent("assetReset")):c(i)&&/image|video/.test(Va._activeMediaType)&&(B.dispatchEvent("SectionMediaFactory/buildItems",{section:H.section,media:y(H.section.media)}),B.dispatchEvent("assetReset"))}else if(B.dispatchEvent("SectionMediaFactory/buildItems",{section:H.section,media:y(H.section.media)}),B.dispatchEvent("assetReset"),"slideshow"===e.field){var n=e.value?"landingMedia":"mediaView";P=n,H.mediaViewBehavior=H.behavior.navigationModeChange(n);var o=H.state;o.isLandingMedia=e.value,o.info.mediaViewState=n,H.mediaViewBehavior.uriChange(o)}t(H)}}function m(e){B.dispatchEvent(Un,e),"update"===e.method&&H.section&&("landingMedia"===H.section.id||H.section.isIntroGallery)&&"backgroundImages"===e.id&&D.dispatchEvent("resetUriChange",e)}function p(e){B.dispatchEvent(Yn,e),"update"===e.method&&H.section&&H.section.media.indexOf(e.id)>-1&&(B.dispatchEvent("SectionMediaFactory/buildItems",{section:H.section,media:y(H.section.media)}),B.dispatchEvent("assetReset")),t(H)}function v(e){B.dispatchEvent("MediaView/ContentReady",e.media)}function g(){B.dispatchEvent("layoutMediaView",{section:H.section}),N&&D.addEventListener(rn,b),N=!1,"landingMedia"===P||H.mediaToRender.length<2?B.dispatchEvent("hideCursor"):B.dispatchEvent("showCursor")}function b(){B.dispatchEvent(an),Ea.section(H.section),H.staticNav&&H.staticNav.resize({x:0,y:0,width:Ea.mediaView.zoneWidth(),height:H.getTotalHeight()})}function C(){B.dispatchEvent(ho)}function w(e){H.state&&H.state.assetId!==e.id&&(H.state.assetId=e.id,D.dispatchEvent("updateAssetId",e))}function L(e){H.section.key===e.section.key&&(H.state.mode=e.mode,B.dispatchEvent("checkCaption",e))}function S(e){/video|vimeo/.test(e.type)&&B.dispatchEvent("mediaSizeUpdate",e)}function x(){D.dispatchEvent(wo)}function M(){D.dispatchEvent(yo)}function T(e){H.cursorAxis=e,D.dispatchEvent("cursorAxisUpdate",e)}function V(e){D.dispatchEvent(Fo,e)}function E(e){D.dispatchEvent(Ho,e)}function z(e){D.dispatchEvent(Ro,e)}function k(e){B.dispatchEvent(Po,e)}function O(e){B.dispatchEvent(Do,e)}function I(e){B.dispatchEvent(_o,e)}function F(e){D.dispatchEvent(ea,e)}function A(e){D.dispatchEvent(Xo,e)}var P,H=this,B=e,D=n,R=/contactTitleFont|contactTitleFontSize|contactTitleShow|contactFont|contactFontSize|contactFontColor|contactFieldRectColor/,j=/attachmentGallery|containerColor|transitionType|imageAlignHorizontal|imageAlignVertical|imageScaleType|videoScaleType|imageVideoInactiveAlpha|imageVideoMarginTop|imageVideoMarginRight|imageVideoMarginBottom|imageVideoMarginLeft|imageVideoScrollType|imageVideoScrollbarRounded|imageVideoScrollVisibility|imageVideoScrollbarHorizontalOffset|imageVideoScrollbarVerticalOffset/,_=/pageMarginTop|pageMarginRight|pageMarginBottom|pageMarginLeft|pageScrollVerticalMargin|pageTextFont|pageTextKerning|pageTextFontSize|pageTextFontColor|pageTitle|pageTitleFont|pageTitleKerning|pageTitleFontSize|pageTitleFontColor|pageScrollbarAlignment|pageScrollbarHorizontalOffset|pageScrollbarVerticalOffset|pageScrollbarColor|pageScrollbarHover|pageScrollbarBgAlpha|pageScrollbarWidth/,W=/landingMediaRandomize|landingMediaTransitionType|landingMediaSpeed|landingMediaTransitionDuration|landingMediaAlignHorizontal|landingMediaAlignVertical|landingMediaScaleType/,N=!0;D.addEventListener(ho,C),D.addEventListener(Xn,l),D.addEventListener(qn,u),D.addEventListener(Un,m),D.addEventListener(Yn,p),D.addEventListener(to,o),D.addEventListener(Po,k),D.addEventListener(Do,O),D.addEventListener(_o,I),D.addEventListener("thumbStripDisplaceChange",b),D.addEventListener(Zo,function(e){B.dispatchEvent(Zo,e)}),D.addEventListener(Yo,function(e){B.dispatchEvent(Yo,e)}),D.addEventListener("SITE_URI_CHANGE_PASSIVE",L),B.addEventListener("SectionMediaFactory/mediaBuilt",v),B.addEventListener("MediaView/ContentAdded",g),B.addEventListener("ScrollTransition/updateAssetId",w),B.addEventListener(xo,S),B.addEventListener(wo,x),B.addEventListener(yo,M),B.addEventListener("cursorAxisUpdate",T),B.addEventListener($o,a),B.addEventListener(Fo,V),B.addEventListener(Ho,E),B.addEventListener(Ro,z),B.addEventListener(ea,F),B.addEventListener(Xo,A),B.addEventListener(oa,r),B.addEventListener("siteAnchorCaptionUpdate",function(e){D.dispatchEvent("siteAnchorCaptionUpdate",e)}),B.addEventListener("mediaOverlayClose",function(){D.dispatchEvent("mediaOverlayClose")}),B.addEventListener("adminPageviewImageSizes",function(e){D.dispatchEvent("adminPageviewImageSizes",e)}),B.addEventListener("lightboxDownloadOverlayOpen",function(){D.dispatchEvent("lightboxDownloadOverlayOpen")}),B.addEventListener("lightboxUpdateItem",function(e){D.dispatchEvent("lightboxUpdateItem",e)}),B.addEventListener("attachmentDownload",function(e){D.dispatchEvent("attachmentDownload",e)}),D.addEventListener(rn,function(e){Ea.section(H.section),(Ea.overrides.thumbnailOnly||s(H.section))&&H.overlayController.resize()}),B.addEventListener("UPDATE_CONTENT_HEIGHT",function(e){Ea.section(H.section),e.thumbs&&H.thumbsTotalHeight!==e.thumbs?(/strip/.test(Ea.overrides.thumbnailType)&&/thumbs/.test(H.state.mode)?/top|bottom/.test(Ea.overrides.thumbnailSide)?H.thumbsTotalHeight=Math.round(e.thumbs+H.totalHeight):H.thumbsTotalHeight=Math.round(H.totalHeight):H.thumbsTotalHeight=Math.round(e.thumbs),/^overlay/.test(Ea.overrides.siteDisplayBehavior)||(Va._thumbContentHeight=Math.round(e.thumbs))):e.gallery&&(H.totalHeight=Math.round(e.gallery),H.overlayController.resize());var t;/thumbs/.test(H.state.mode)&&(t=/strip/.test(Ea.overrides.thumbnailType)&&H.totalHeight>0&&H.totalHeight>H.thumbsTotalHeight?H.totalHeight:H.thumbsTotalHeight);var i=/top|bottom/.test(Ea.menuView.placement())&&!Di.isMenuScrollReveal?Di.marginOverlap||0:0;i&&(t-=i);var n={height:H.totalHeight};H.mediaView.container.children[0]&&(n.isFullTextHeight=X(H.mediaView.container.children[0],H.mediaView.container.children.length)),t&&(n.zoneHeight=t),Va.updateSectionState(H.section.key,n),H.staticNav&&H.staticNav.resize({x:0,y:0,width:Ea.mediaView.zoneWidth(),height:H.getTotalHeight()}),D.dispatchEvent("UPDATE_CONTENT_HEIGHT")}),H.getTotalHeight=function(){if(Ea.section(H.section),"none"===Ea.overrides.siteDisplayBehavior)return Ea.mediaView.zoneHeight();if(f(H.section)&&/thumbs/.test(H.state.mode))return H.thumbsTotalHeight?H.thumbsTotalHeight:Ea.mediaView.zoneHeight(H.section.key);if(i(H.section)||/none/.test(Ea.overrides.thumbnailType)||!/thumbs/.test(H.state.mode)){if(/unifiedSiteScrollVertical/.test(Ea.overrides.siteDisplayBehavior)){var e=H.mediaView.container.boundsHeight,t=Va.getMaxScrollSectionHeight(H.mediaView);return/vScroll/.test(Ea.overrides.transitionType)?e:e&&e