Andrew Hetherington Photography - NYC - 917 488 1045 - Available For Assignment Worldwide
INSTAGRAM
ABOUT - CONTACT
MOTION
PHOTOGRAPHY/OVERVIEW
PHOTOGRAPHY/COMMISSIONS
PHOTOGRAPHY/ENTERTAINMENT
PHOTOGRAPHY/FITTEST MAN IN THE WORLD
PHOTOGRAPHY/FOOD
PHOTOGRAPHY/B2
PHOTOGRAPHY/LIFE
PHOTOGRAPHY/PLACES
PHOTOGRAPHY/PORTRAITS
PHOTOGRAPHY/SPORT
PHOTOGRAPHY/TRAVEL
PHOTOGRAPHY/AMERICAN DINER
PHOTOGRAPHY/BAND CAMP
PHOTOGRAPHY/ARKANSAS DUCK HUNT
PHOTOGRAPHY/DARK MATTER
PHOTOGRAPHY/DEER ISLE BURNOUTS
PHOTOGRAPHY/ETSY HQ
PHOTOGRAPHY/DONEGAL
PHOTOGRAPHY/GOOD SHIP KID ROCK
PHOTOGRAPHY/DADCATION
PHOTOGRAPHY/FRIEZEING
PHOTOGRAPHY/IBIZA
PHOTOGRAPHY/ICELAND
PHOTOGRAPHY/KEEP AMERICA SAFE
PHOTOGRAPHY/LOBSTAH
PHOTOGRAPHY/MAMIL
PHOTOGRAPHY/IKEA TOWN
PHOTOGRAPHY/Mrs H
PHOTOGRAPHY/RED BULL PIT CREW
PHOTOGRAPHY/NASHVILLE
PHOTOGRAPHY/ONE DAY ONE GAME
PHOTOGRAPHY/SARAWAK RAIN FOREST
PHOTOGRAPHY/FOOTBALL TYKES
PHOTOGRAPHY/SNOWSHOE HARE HUNT
PHOTOGRAPHY/SCOTLANDS GOLF COAST
PHOTOGRAPHY/TOUR de BIKE MAINE
PHOTOGRAPHY/STAND IN'S
PHOTOGRAPHY/STADIA
PHOTOGRAPHY/SOUTHERN FOOD ROAD TRIP
PHOTOGRAPHY/RAF SIMONS AW18
PHOTOGRAPHY/BLOOMBERG GOVERNMENT
PHOTOGRAPHY/BRITISH COLOMBIA
PHOTOGRAPHY/PEEKO OYSTERS
PHOTOGRAPHY/TIMBERSPORTS CHAMP
PHOTOGRAPHY/CARNIVAL
PHOTOGRAPHY/BODY ISSUE
PHOTOGRAPHY/TGTBTH
PHOTOGRAPHY/MICHAEL KELLY
PHOTOGRAPHY/HOT ONES
PHOTOGRAPHY/SPOOKY
Office-Int_ConferenceSmall_02261
BGOV - Bloomberg Government - Washington D.C.
15 of 49
next
-1}function me(e){return pe(e)?!(xa.overrides.videoAutoPlay||xa.overrides.vimeoDefault):!xa.overrides.videoAutoPlay}function ve(e){switch(e){case"fade":case"hSlide":case"mSlide":case"hScroll":case"hScrollNC":case"grid":return"x";case"vSlide":case"vScroll":case"vScrollNC":return"y"}}function ge(e){return"%SPACER%"===e.label}function fe(e){return e&&e.media&&1===e.media.length&&/html|contact/.test(l(e.media[0]).type)}function be(e){var t=h(e);return!b(e)&&(e.isIndex?e.key:t?t.key:e.key)}function Ce(e){return function(){function t(){e.webkitSupportsPresentationMode&&e.webkitSupportsPresentationMode("fullscreen")&&"inline"===e.webkitPresentationMode?e.removeAttribute("controls"):document.isFullscreen||document.webkitIsFullscreen||e.removeAttribute("controls")}document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement?document.webkitExitFullscreen():e.webkitSupportsPresentationMode&&e.webkitSupportsPresentationMode("fullscreen")?(e.webkitSetPresentationMode("fullscreen"),e.setAttribute("controls",!0)):e.requestFullscreen?(e.requestFullscreen(),e.setAttribute("controls",!0)):e.webkitRequestFullscreen&&(e.webkitRequestFullscreen(),e.setAttribute("controls",!0)),document.addEventListener("fullscreenchange",t,!1),document.addEventListener("webkitfullscreenchange",t,!1),e.addEventListener("webkitendfullscreen",t,!1)}}function we(e){var t=new lt;switch(t.selectable=!1,t.fontFamily=e.font,t.fontColor=e.fontColor,t.fontSize=e.fontSize,e.alignVertical){case"top":t.element.style.top="calc(0% + "+(e.verticalOffset||20)+"px)";break;case"center":t.element.style.top="calc(50% + "+(e.verticalOffset||0)+"px)";break;case"bottom":t.element.style.bottom="calc(0% + "+(e.verticalOffset||20)+"px)"}switch(e.alignHorizontal){case"left":t.element.style.left="calc(0% + "+(e.horizontalOffset||20)+"px)";break;case"center":t.element.style.left="calc(50% + "+(e.horizontalOffset||0)+"px)";break;case"right":t.element.style.right="calc(0% + "+(e.horizontalOffset||20)+"px)"}return"center"===e.alignVertical&&"center"===e.alignHorizontal?t.element.style.transform="translate(-50%, -50%)":"center"===e.alignVertical?t.element.style.transform="translateY(-50%)":"center"===e.alignHorizontal&&(t.element.style.transform="translateX(-50%)"),t.element.style["mix-blend-mode"]=e.blendMode,t.cursor="pointer",t}function ye(e){var t=document.createElement("input");t.value=e,t.style.opacity=0,document.body.appendChild(t),t.select(),t.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(t)}function Le(e){function t(e){e.isOpen?o.closeItem(e):o.openItem(e)}function i(){n=new Ne,n.gap=o.gap,n.axis=o.axis,n.align=o.align,n.wrap=o.wrap,n.perpLength=0}e=e||{};var n,o=new ba(e),a=[];return o.identity="menu",o.element.setAttribute("data-identity","menu"),o.gap=e.gap||1,o.axis=e.axis||"y",o.align=e.align||"left",o.wrap=e.wrap||!1,o.perpLength=e.perpLength||o.width,o.expand="auto",o.toggle=e.toggle||!0,o.updateSpeed=e.updateSpeed||.35,o.animate=e.animate||!0,o.addEventListener(On,o.select),o.addItem=function(e,t,i,n){"all"===o.expand&&(n=!0);var r={container:e,title:t,content:i,isOpen:n||!1,hasSubs:e.hasSubs||!1};"x"===o.axis&&Ai.dropdownSubMenu?oe()||le()?(t.addEventListener("click",function(){o.animate=!0,o.updateSpeed=.25,o.openItem(r)}),i&&i.addEventListener("click",function(){o.closeItem(r)})):(t.addEventListener("mouseover",function(){o.animate=!0,o.updateSpeed=.25,o.openItem(r)}),t.addEventListener("mouseout",function(){o.animate=!0,o.updateSpeed=.25,o.closeItem(r)}),i&&(i.addEventListener("mouseover",function(){o.openItem(r)}),i.addEventListener("mouseout",function(){o.closeItem(r)}))):t.addEventListener(Tn,o.select),a.push(r),t.accordionItem=r,o.addChild(e)},o.select=function(e){for(var i=a.length;i--;)a[i]===this.accordionItem?"y"!==o.axis&&"x"===o.axis&&Ai.dropdownSubMenu||(o.toggle?t(this.accordionItem):this.accordionItem.isOpen||o.openItem(this.accordionItem),o.dispatchEvent(In,this.accordionItem)):"single"===o.expand&&o.closeItem(a[i]);o.layout(yo)},o.closeItem=function(e){"all"!==o.expand&&(e.isOpen=!1,e.content&&(e.content.overflow="hidden",qe(e.content,o.animate?o.updateSpeed:0,{height:0}),e.container.height=e.title.element.offsetHeight))},o.openItem=function(e){e.isOpen=!0,e.content&&(qe(e.content,o.animate?o.updateSpeed:0,{height:e.contentHeight,onComplete:function(){Ai.dropdownSubMenu&&/top|bottom/.test(xa.menuView.placement())||(e.content.overflow="visible")}}),e.container.height=e.title.element.offsetHeight+e.contentHeight)},o.layout=function(e){function t(e,t,i){return e+(t<0?-t:0)+(i+t-e<0?0:i+t-e)}o.updateSpeed=e||0,i();var r,l,s=a.length,d=-o.gap;for(n.perpLength=0,r=0;r
n.perpLength?u:n.perpLength:n.perpLength=h>n.perpLength?h:n.perpLength,n.addItem(h,u)}n.layoutItems();var p="x"===o.axis?o.gap+d:0,m="x"===o.axis?0:o.gap+d,v=n.getBounds(),g="x"===o.axis?v.width-o.gap:n.perpLength,f=v.height+("x"===o.axis?0:o.gap+d);for(r=0;r
Sa.menuView.width()&&(g=C)}}o.width=g,o.height=f,o.dispatchEvent(Fn,{width:g,height:f})},o}function Se(e,t,i){var n=new xe({hRange:i.hRange,vRange:i.vRange,hAlign:i.hAlign,vAlign:i.vAlign,width:i.width||e.width,height:i.height||e.height,hOffset:i.hOffset,vOffset:i.vOffset}),o=i.hOrigin||0,a=i.vOrigin||0,r={x:Math.round(n.x+o),y:Math.round(n.y+a),onComplete:i.onComplete,onCompleteParams:i.onCompleteParams,onCompleteScope:i.onCompleteScope,onUpdate:i.onUpdate,onUpdateParams:i.onUpdateParams,onUpdateScope:i.onUpdateScope,onInit:i.onInit,onInitScope:i.onInitScope,onInitParams:i.onInitParams};return qe(e,t,r),r}function xe(e){e=e||{};var t=e.hRange||0,i=e.vRange||0,n=e.width||0,o=e.height||0,a=e.hAlign||"left",r=e.vAlign||"top",l=e.hOffset||0,s=e.vOffset||0;return{set hRange(e){t=e},set vRange(e){i=e},set width(e){n=e},set height(e){o=e},set hAlign(e){a=e},set vAlign(e){r=e},set hOffset(e){l=e},set vOffset(e){s=e},get x(){return"center"===a?.5*(t-n)+l:"right"===a?t-n-l:l},get y(){return"center"===r||"middle"===r?.5*(i-o)+s:"bottom"===r?i-o-s:s}}}function Me(e){function t(){return{left:{arrow1:{fill:Ai.cursorColor,d:wa.arrow1Left,stroke:Ai.cursorColor,strokeWidth:0},arrow2:{fill:Ai.cursorColor,d:wa.arrow2Left,stroke:Ai.cursorColor,strokeWidth:0},arrow3:{fill:"none",d:wa.arrow3Left,stroke:Ai.cursorColor,strokeWidth:1.5},plus1:{fill:Ai.cursorColor,d:wa.plus1Left,stroke:Ai.cursorColor,strokeWidth:0},plus2:{fill:Ai.cursorColor,d:wa.plus2Left,stroke:Ai.cursorColor,strokeWidth:0},none:{fill:"none",d:"",stroke:"none",strokeWidth:0},disabled:{fill:"none",d:"",stroke:"none",strokeWidth:0}},right:{arrow1:{fill:Ai.cursorColor,d:wa.arrow1Right,stroke:Ai.cursorColor,strokeWidth:0},arrow2:{fill:Ai.cursorColor,d:wa.arrow2Right,stroke:Ai.cursorColor,strokeWidth:0},arrow3:{fill:"none",d:wa.arrow3Right,stroke:Ai.cursorColor,strokeWidth:1.5},plus1:{fill:Ai.cursorColor,d:wa.plus1Right,stroke:Ai.cursorColor,strokeWidth:0},plus2:{fill:Ai.cursorColor,d:wa.plus2Right,stroke:Ai.cursorColor,strokeWidth:0},none:{fill:"none",d:"",stroke:"none",strokeWidth:0},disabled:{fill:"none",d:"",stroke:"none",strokeWidth:0}}}}function i(){var e=_i!==Ni&&_i!==Wi&&Ai.cursorIconBlendMode?Ai.cursorIconBlendMode:"normal";v.element.style["mix-blend-mode"]=e}function n(e){S=e||"x"}function o(e){x=!/none|disabled/.test(Ai.navCursorType)&&e}function a(e){return uo&&e.touches?e.touches[0].pageX:e.clientX}function r(e){return uo&&e.touches?e.touches[0].pageY:e.clientY}function l(){g=new ya,g.left=-20,g.top=-20,g.width=40,g.height=40,v.addChild(g),g.element.style["pointer-events"]="none",v.svg=g,f=new nt,f.id="icon",g.addChild(f),f.element.style["pointer-events"]="none",v.iconLeft=f,b=new nt,b.id="icon",g.addChild(b),b.element.style["pointer-events"]="none",v.iconCenter=b,v.iconCenter.d=wa.cursorThumbs,C=new nt,C.id="icon",g.addChild(C),C.element.style["pointer-events"]="none",v.iconRight=C,s(),Ca.addEventListener(hn,d),v.listenerAdded=!0}function s(){var e=_i!==Ni&&_i!==Wi&&Ai.cursorIconBlendMode?Ai.cursorIconBlendMode:"normal";v.cursorIconStyle=Ai.cursorIconStyle||"arrow2";var t=L.left[v.cursorIconStyle],i=L.right[v.cursorIconStyle];v.element.style["mix-blend-mode"]=e,v.navCursorType=Ai.navCursorType,v.iconLeft.d=t.d,v.iconLeft.fill=t.fill,v.iconLeft.stroke=t.stroke,v.iconLeft.strokeWidth=t.strokeWidth,v.iconCenter.fill=Ai.cursorColor,v.iconRight.d=i.d,v.iconRight.fill=i.fill,v.iconRight.stroke=i.stroke,v.iconRight.strokeWidth=i.strokeWidth}function d(e){if(v.enabled){if(e.target!==g.element&&e.target!==f.element&&e.target!==b.element&&e.target!==C.element){var i=a(e),n=r(e),o=xa.mediaView.x(),l=xa.mediaView.y(),d=xa.mediaView.width(),c=xa.mediaView.height();v.transition=0,v.translateX=i-2,v.translateY=n-2,e.target.navigationCursor&&v.enabled?w||h(e):w&&u(e);var m=x?.333*d:.5*d,M=x?.333*c:.5*c,T="x"===S?m:M,V="x"===S?i-o:n-l,E=T,z=2*T;(Ai.cursorColor!==L.left.arrow1.fill||Ai.cursorIconStyle!==v.cursorIconStyle&&Ai.navCursorType!==v.navCursorType)&&(L=t(),s()),V
E&&V
z)&&(v.iconLeft.alpha=0,v.iconCenter.alpha=0,v.iconRight.alpha=1,v.svg.rotate="y"===S&&/arrow/.test(v.cursorIconStyle)?90:0,v.type="next")}}else p(e);clearTimeout(y),y=setTimeout(function(){p(e)},5e3)}function c(t){t.target.navigationCursor&&v.enabled&&(v.alpha=0,w=!1,"thumbs"===v.type?e.events.dispatchEvent(Ko,v.type):e.events.dispatchEvent(qo,{navDir:v.type}))}function h(e){"cursor"===Ai.navCursorType?(w=!0,v.display="block",v.alpha=.85,/none/.test(Ai.cursorIconStyle)||(e.target.style.cursor="none",v.iconLeft.cursor="none",v.iconCenter.cursor="none",v.iconRight.cursor="none",v.svg.cursor="none",v.cursor="none"),M||(Ca.element.addEventListener(Tn,c),Ca.element.addEventListener("contextmenu",m),Ca.element.addEventListener("dragstart",m),M=!0)):v.display="none"}function u(){w&&(w=!1,v.alpha=0,v.display="none"),M&&(Ca.element.removeEventListener(Tn,c),Ca.element.removeEventListener("contextmenu",m),Ca.element.removeEventListener("dragstart",m),M=!1)}function p(e){w=!1,v.alpha=0,v.display="none",e&&e.target&&e.target.style&&(e.target.style.cursor="default"),v.iconLeft.cursor="default",v.iconCenter.cursor="default",v.iconRight.cursor="default",v.svg.cursor="default",v.cursor="default","disabled"===Ai.navCursorType?v.display="none":M||(Ca.element.addEventListener(Tn,c),Ca.element.addEventListener("contextmenu",m),Ca.element.addEventListener("dragstart",m),M=!0)}function m(e){var t=void 0===Ri.disableRightClick||Ri.disableRightClick;t&&e.preventDefault()}var v=new ba({events:new $e});v.position="fixed";var g,f,b,C,w,y,L=t(),S="x",x=!1,M=!1;return v.enabled=!0,v.zIndex=999,v.alpha=0,v.display="none",v.addEventListener("cursorAxisUpdate",n),v.addEventListener("cursorThumbsUpdate",o),v.addEventListener("cursorBlendMode",i),v.destroy=function(){Ca.removeEventListener(hn,d),v.removeEventListener("cursorAxisUpdate",n),v.removeEventListener("cursorThumbsUpdate",o),v.removeEventListener("cursorBlendMode",i),v.iconLeft.cursor="default",v.iconCenter.cursor="default",v.iconRight.cursor="default",v.svg.cursor="default",v.cursor="default",M&&(Ca.element.removeEventListener(Tn,c),Ca.element.removeEventListener("contextmenu",m),Ca.element.removeEventListener("dragstart",m),M=!1),v.text=""},l.call(v),v}function Te(e){var t=new ba,i=t;t.element.className="staticnav",t.axis=e.axis||"x",t.zone=e.zone,t.zIndex=e.zIndex;var n=new ba,o=new ya,a=new ya({type:"g"}),r=new nt,l=new ba,s=new ya,d=new ya({type:"g"}),c=new nt;n.zIndex=e.zIndex,n.position="absolute",n.width=100*e.scale,n.height=100*e.scale,o.width=100*e.scale,o.height=100*e.scale,n.addEventListener("click",function(){e.prevClick(i)}),r.d=e.paths.prev.d,r.fill=e.paths.prev.fill,r.stroke=e.paths.prev.stroke,r.strokeWidth=e.paths.prev.strokeWidth,o.addChild(a),a.addChild(r),n.addChild(o),l.zIndex=e.zIndex,l.position="absolute",l.width=100*e.scale,l.height=100*e.scale,s.width=100*e.scale,s.height=100*e.scale,l.addEventListener("click",function(){e.nextClick(i)}),c.d=e.paths.next.d,c.fill=e.paths.next.fill,c.stroke=e.paths.next.stroke,c.strokeWidth=e.paths.next.strokeWidth,s.addChild(d),d.addChild(c),l.addChild(s),t.addChild(n),t.addChild(l);var h=_i!==Ni&&_i!==Wi&&Ai.cursorIconBlendMode?Ai.cursorIconBlendMode:"normal";return n.element.style["mix-blend-mode"]=h,l.element.style["mix-blend-mode"]=h,t.updateAxis=function(e){t.axis=e,n.element.style.transformOrigin="center",l.element.style.transformOrigin="center","y"===t.axis?(n.position="fixed",l.position="fixed",n.element.style.transform="rotate(90deg)",l.element.style.transform="rotate(90deg)"):(n.position="absolute",l.position="absolute",n.element.style.transform="rotate(0deg)",l.element.style.transform="rotate(0deg)"),t.resize(t.zone)},t.resize=function(i){t.zone=i;var o,r;if("y"===t.axis)switch(e.align){case"start":o={x:i.x,y:i.y},r={x:i.x,y:i.y+i.height-l.height};break;case"end":o={x:i.x+i.width-n.width,y:i.y},r={x:i.x+i.width-l.width,y:i.y+i.height-l.height};break;default:o={x:i.x+(i.width-n.width)/2,y:i.y},r={x:i.x+(i.width-l.width)/2,y:i.y+i.height-l.height}}else switch(e.align){case"start":o={x:i.x,y:i.y},r={x:i.x+i.width-l.width,y:i.y};break;case"end":o={x:i.x,y:i.y+i.height-n.height},r={x:i.x+i.width-l.width,y:i.y+i.height-l.height};break;default:o={x:i.x,y:i.y+(i.height-n.height)/2},r={x:i.x+i.width-l.width,y:i.y+(i.height-l.height)/2}}n.x=o.x+e.offset.prevX,n.y=o.y+e.offset.prevY,l.x=r.x+e.offset.nextX,l.y=r.y+e.offset.nextY,a.scale=e.scale,d.scale=e.scale},t.hide=function(e){switch(e){case"prev":n.display="none";break;case"next":l.display="none";break;default:n.display="none",l.display="none"}},t.show=function(e){switch(e){case"prev":n.display="block";break;case"next":l.display="block";break;default:n.display="block",l.display="block"}},t.resize(e.zone),t.updateAxis(e.axis),t}function Ve(e){function t(e){u.text=e.target.tooltip,u.alpha=1,c.width=u.element.offsetWidth+2*y,c.height=u.element.offsetHeight+2*y,d.width=c.width+2*w,d.height=c.height+2*w,T=M+d.height+.5*w,V=M+w}function i(e){S=e.pageX/window.innerWidth;var t=Math.round(d.width*S);t-h.point-b
d.width?(h.x=d.width-(w+h.width+b),d.x=e.pageX-d.width+w+h.point+b):(h.x=t-(w-h.width),d.x=e.pageX-t)}function n(e){e.pageY
=o-1&&t<=o+1},default:function(e){return e.isInViewport}};this.update=function(e){setTimeout(function(){e&&(o=e),n()},0)}}function ke(e,t){function i(e){qe(this,.2,{backgroundColor:Oa.bgColorLighter,fontColor:Oa.fontColorSelected})}function n(e){qe(this,.2,{backgroundColor:Oa.bgColor,fontColor:Oa.fontColor})}t=t||{};var o=new ba;o.backgroundColor=t.backgroundColor||Oa.bgColorLight,o.width=250,o.height=150,o.borderRadius=4,o.overflow="hidden",o.boxShadow=Oa.shadowDark,o.addEventListener(Tn,function(e){e.stopPropagation()});var a=new ba;a.x=25,a.y=20,a.fontColor=t.fontColor||Oa.fontColor,a.fontFamily="Helvetica Neue, Arial, sans-serif",a.fontSize=15.5,a.selectable=!0,a.text=e,a.textAlign="center";var r=new ba({type:"button"});r.width=65,r.height=40,r.text="OK",r.outline="none",r.border="none",r.fontWeight="bold",r.fontSize=Oa.fontSize,r.fontColor=Oa.fontColor,r.fontFamily="Helvetica Neue, Arial, sans-serif",r.backgroundColor=Oa.bgColor,o.addChild(r),o.addChild(a);var l=[];dx&&q(dx,"site.siteView")&&(l=[q(dx,"site.siteView")]),dx&&q(dx,"admin.adminView")&&(l=[dx.site.siteView,dx.admin.adminView]);var s=new pa(o,{userOverride:t.userOverride||!0,backgroundColor:t.backgroundColor||"#000000",alpha:t.alpha||.5,blurLayers:t.blurLayers||l});s.open(),r.addEventListener(dn,i),r.addEventListener(pn,n),r.addEventListener(nn,i),r.addEventListener(on,n),r.addEventListener(Tn,function(e){t.onClose&&t.onClose(),s.close()});var d=r.element.offsetHeight,c=a.element.offsetWidth;return o.width=c+50,a.width=o.width-50,o.height=a.element.offsetHeight+d+50,r.width=o.width,r.y=o.height-d-0,s.overlayResize(),r.focus(),s}function Oe(e,t){function i(e){qe(this,.2,{backgroundColor:Oa.bgColorLighter,fontColor:Oa.fontColorSelected})}function n(e){a.call(this)}function o(e){Ca.activeFocus&&(a.call(Ca.activeFocus),Ca.activeFocus.blur()),qe(this,.2,{backgroundColor:Oa.bgColorLighter,fontColor:Oa.fontColorSelected})}function a(e){qe(this,.2,{backgroundColor:Oa.bgColor,fontColor:Oa.fontColor})}t=t||{};var r,l=new ba;l.backgroundColor=t.backgroundColor||Oa.bgColorLight,l.width=t.width||250,l.height=150,l.borderRadius=5,l.overflow="hidden",l.boxShadow=Oa.shadowDark,l.addEventListener(Tn,function(e){e.stopPropagation()});var s=new ba;s.x=25,s.y=23,s.fontColor=t.fontColor||Oa.fontColor,s.fontFamily="Helvetica Neue, Arial, sans-serif",s.fontSize=15.5,s.selectable=!0,s.text=e,s.textAlign="center";var d=new ba({type:"button"});d.width=65,d.height=40,d.text=t.cancelLabel||"CANCEL",d.outline="none",d.border="none",d.fontWeight="bold",d.fontSize=Oa.fontSize,d.fontColor=Oa.fontColor,d.fontFamily="Helvetica Neue, Arial, sans-serif",d.backgroundColor=Oa.bgColor,l.addChild(d);var c=new ba({type:"button"});c.width=65,c.height=40,c.text=t.okLabel||"OK",c.outline="none",c.border="none",c.fontWeight="bold",c.fontSize=Oa.fontSize,c.fontColor=Oa.fontColor,c.fontFamily="Helvetica Neue, Arial, sans-serif",c.backgroundColor=Oa.bgColor,l.addChild(c),l.addChild(s);var h=[dx.site.siteView];dx&&q(dx,"admin.adminView")&&(h=[dx.site.siteView,dx.admin.adminView]);var u=new pa(l,{userOverride:!0,backgroundColor:"#000000",alpha:.5,blurLayers:h,onClose:function(){t.onCancel&&!r&&t.onCancel()}});u.open(),d.addEventListener(dn,o),d.addEventListener(pn,a),c.addEventListener(dn,o),c.addEventListener(pn,a),d.addEventListener(nn,i),d.addEventListener(on,n),c.addEventListener(nn,i),c.addEventListener(on,n),d.addEventListener(Tn,function(e){t.onCancel&&t.onCancel(),u.close()}),c.addEventListener(Tn,function(e){r=!0,t.onConfirm&&t.onConfirm(),u.close()});var p=c.element.offsetHeight,m=s.element.offsetWidth;return l.width=m+50,s.width=l.width-50,l.height=s.element.offsetHeight+d.element.offsetHeight+p+50,d.width=l.width,d.y=l.height-d.height-p,c.width=l.width,c.y=l.height-p-0,u.overlayResize(),c.focus(),u}function Ie(e){function t(){i.width=d,i.height=c,i.backgroundColor=s,i.boxShadow="0px 2px 10px rgba(0,0,0,0.05)",i.borderRadius=2,i.display="flex",a=new Je,a.textTransform="uppercase",a.text="share ↑",a.position="relative",a.element.style.padding="0 20px",a.element.style.margin="0 10px",a.height=38,a.fontFamily=Ai.menuFont,a.fontSize=16,a.fontColor=l,a.element.style.flexGrow=1,a.backgroundColor="transparent",a.addEventListener(Tn,function(){ke("The lightbox link was copied to your clipboard."), ye(window.location.href)}),a.addEventListener(dn,function(){this.style.textDecoration="underline"}),a.addEventListener(pn,function(){this.style.textDecoration="none"}),a.style.cursor="pointer",i.addChild(a),/pdf/.test(Ai.lightboxDownloadOptions)&&(n=new Je,n.textTransform="uppercase",n.text="pdf ↓",n.position="relative",n.element.style.padding="0 20px",n.element.style.margin="0 10px",n.height=38,n.fontFamily=Ai.menuFont,n.fontSize=16,n.fontColor=l,n.element.style.flexGrow=1,n.backgroundColor="transparent",n.addEventListener(Tn,function(){ke("Please wait, it may take a few minutes while we build your PDF file."),i.events.dispatchEvent("lightboxDownloadPdf")}),n.addEventListener(dn,function(){this.style.textDecoration="underline"}),n.addEventListener(pn,function(){this.style.textDecoration="none"}),n.style.cursor="pointer",i.addChild(n)),/zip/.test(Ai.lightboxDownloadOptions)&&(o=new Je,o.textTransform="uppercase",o.text="zip ↓",o.position="relative",o.element.style.padding="0 20px",o.element.style.margin="0 10px",o.height=38,o.fontFamily=Ai.menuFont,o.fontSize=16,o.fontColor=l,o.element.style.flexGrow=1,o.backgroundColor="transparent",o.addEventListener(Tn,function(){ke("Please wait, it may take a few minutes while we build your ZIP file."),i.events.dispatchEvent("lightboxDownloadZip")}),o.addEventListener(dn,function(){this.style.textDecoration="underline"}),o.addEventListener(pn,function(){this.style.textDecoration="none"}),o.style.cursor="pointer",i.addChild(o));var e=dx&&q(dx,"admin.adminView")?[dx.site.siteView,dx.admin.adminView]:[dx.site.siteView];r=new pa(i,{userOverride:!0,backgroundColor:m,alpha:v,blurLayers:e,zIndex:99}),r.zIndex=99,i.open(),r.onClose=function(){p=!1},i.overlay=r,r.overlayResize(),p=!0}var i=new ba({events:e.events});i.display="flex",i.element.style.alignItems="center",i.element.style.padding="0px 10px";var n,o,a,r,l,s,d=.9*Ca.width>530?530:.9*Ca.width,c=78,h=!(!Ai.inputOverlayFontColor||!Ai.inputOverlayBarColor),u=!(!Ai.menuOverlayFontColor||!Ai.menuOverlayBgColor);h?(l=Ai.inputOverlayFontColor,s=Ai.inputOverlayBarColor):u?(l=Ai.menuOverlayFontColor,s=Ai.menuOverlayBgColor):(l="#000000",s="#FFFFFF");var p,m=Ai.inputOverlayBgColor||Ai.menuOverlayBgColor||"#000000",v=Ai.inputOverlayBgAlpha||Ai.menuOverlayBgAlpha||.5;return i.updateSpeed=0,i.addEventListener(Lo,function(e){}),i.updatePosition=function(e){d=.9*Ca.width>800?800:.9*Ca.width,n.x=d-.5*(c-n.width),i.width=d,i.x=Sa.mediaView.x()+.5*(Sa.mediaView.width()-d),i.y=Sa.mediaView.y()+.5*(Sa.mediaView.height()-c),i.updateSpeed=yo},i.close=function(){p=!1,r.close()},i.open=function(t){t&&(e.section=t),r.open(),setTimeout(function(){},100),p=!0},t(),i}function Fe(e){function t(){u.width=p,u.height=m,l=new ba,l.backgroundColor=h,l.boxShadow="0px 2px 10px rgba(0,0,0,0.05)",l.borderRadius=2,l.width=p,l.height=m,r=new et,r.backgroundColor="transparent",r.fontFamily=Ai.menuFont,r.fontColor=c,r.fontSize=16,r.height=m,r.x=0,r.y=0,r.element.style.padding="0px 46px",r.addEventListener(nn,a),r.addEventListener(on,o),r.element.addEventListener(Tn,function(e){e.stopPropagation()}),r.element.tabIndex=1,u.setMessage("PASSWORD"),s=new ya;var e=new nt;e.d=wa.arrowRight,e.strokeWidth=3,e.fill="none",e.stroke=c,s.addChild(e),s.width=11,s.height=15,s.x=p-.5*(m-s.width),s.y=.5*(m-s.height),s.alpha=.5,s.cursor="pointer",s.addEventListener(dn,function(){qe(this,yo,{alpha:1})}),s.addEventListener(pn,function(){qe(this,yo,{alpha:.5})}),r.width=p-m-96,u.addChild(l),u.addChild(r),u.addChild(s);var t=dx&&q(dx,"admin.adminView")?[dx.site.siteView,dx.admin.adminView]:[dx.site.siteView];d=new pa(u,{userOverride:!0,backgroundColor:b,alpha:C,blurLayers:t,zIndex:99}),d.zIndex=99,u.open(),d.onClose=function(){f=!1,r.removeEventListener(fn,i),s.removeEventListener(Tn,n)},u.overlay=d,d.overlayResize(),f=!0}function i(e){f&&13===e.keyCode&&n(e)}function n(t){u.events.dispatchEvent("SITE_SERVICE_PASSWORD_CHECK",{sectionKey:e.section.key,value:r.value})}function o(e){Ca.isInputFocus=!1,""===r.value&&u.setMessage("PASSWORD")}function a(e){Ca.isInputFocus=!0,r.value=""}var r,l,s,d,c,h,u=new ba({events:e.events}),p=.9*Ca.width>800?800:.9*Ca.width,m=78,v=!(!Ai.inputOverlayFontColor||!Ai.inputOverlayBarColor),g=!(!Ai.menuOverlayFontColor||!Ai.menuOverlayBgColor);v?(c=Ai.inputOverlayFontColor,h=Ai.inputOverlayBarColor):g?(c=Ai.menuOverlayFontColor,h=Ai.menuOverlayBgColor):(c="#000000",h="#FFFFFF");var f,b=Ai.inputOverlayBgColor||Ai.menuOverlayBgColor||"#000000",C=Ai.inputOverlayBgAlpha||Ai.menuOverlayBgAlpha||.5;return u.updateSpeed=0,u.addEventListener(Lo,function(e){}),u.updatePosition=function(e){p=.9*Ca.width>800?800:.9*Ca.width,s.x=p-.5*(m-s.width),r.width=p-m-96,l.width=p,u.width=p,u.x=Sa.mediaView.x()+.5*(Sa.mediaView.width()-p),u.y=Sa.mediaView.y()+.5*(Sa.mediaView.height()-m),u.updateSpeed=yo},u.close=function(){f=!1,r.removeEventListener(fn,i),s.removeEventListener(Tn,n),d.close()},u.setMessage=function(e){r.value=e},u.open=function(t){t&&(e.section=t),d.open(),setTimeout(function(){r.addEventListener(fn,i),s.addEventListener(Tn,n)},100),f=!0},t(),u}function Ae(e){function t(){b.width=C,b.height=w,h=new ba,h.backgroundColor=f,h.boxShadow="0px 2px 10px rgba(0,0,0,0.05)",h.borderRadius=2,h.width=C,h.height=w,c=new et,c.backgroundColor="transparent",c.fontFamily=Ai.menuFont,c.fontColor=g,c.fontSize=16,c.height=w,c.x=0,c.y=0,c.element.style.padding="0px 46px",c.addEventListener(nn,d),c.addEventListener(on,s),c.element.addEventListener(Tn,function(e){e.stopPropagation()}),c.element.tabIndex=1,b.setMessage("Search"),u=new ya,x=new nt,x.d=wa.search,x.fill=g,x.fillRule="evenodd",u.addChild(x),u.width=25,u.height=25,u.x=C-u.width-24,u.y=.5*(w-u.height),u.alpha=.5,u.cursor="pointer",u.addEventListener(dn,function(){qe(this,yo,{alpha:1})}),u.addEventListener(pn,function(){qe(this,yo,{alpha:.5})}),c.width=C-w-92,m=new ba,m.display="flex",m.width=C-20,m.x=20,m.y=w,m.zIndex=-1,v=new ya,v.element.style["user-select"]="none",v.alpha=0,v.x=4,v.width=14,v.height=14,v.transition=.25,v.cursor="pointer",v.addEventListener("click",function(){a(c.value),c.value=""}),v.alpha=0,M=new nt,M.d=wa.plusSmall,M.strokeWidth=2,M.fill="none",M.stroke=g,v.addChild(M),b.addChild(v),b.addChild(h),b.addChild(c),b.addChild(u),b.addChild(m);var e=dx&&q(dx,"admin.adminView")?[dx.site.siteView,dx.admin.adminView]:[dx.site.siteView];p=new pa(b,{userOverride:!0,backgroundColor:E,alpha:z,blurLayers:e,zIndex:99}),p.onClose=function(){T=!1,c.removeEventListener(fn,r),u.removeEventListener(Tn,l)},b.open(),b.overlay=p,p.overlayResize(),T=!0}function i(e){m.text="",e=e.filter(function(e,t,i){return i.indexOf(e)===t}).map(n),e.forEach(function(e){m.addChild(e)})}function n(e){var t=new ba;t.position="relative",t.backgroundColor=V(f,.35),t.boxShadow="0px 2px 10px rgba(0,0,0,0.05)",t.borderRadius=20,t.display="flex",t.element.style.padding="3px 8px 3px 10px",t.element.style.margin="8px 0 0 8px";var n=new Je;n.position="relative",n.background="transparent",n.fontSize=12,n.fontFamily=Ai.menuFont,n.color=g,n.text="×",n.alpha=.2,n.top=0,n.cursor="pointer",n.addEventListener(dn,function(){qe(this,yo,{alpha:1})}),n.addEventListener(pn,function(){qe(this,yo,{alpha:.2})});var o=new ba;return o.position="relative",o.color=g,o.fontSize=12,o.fontFamily=Ai.menuFont,o.paddingRight=7,o.text=e,n.addEventListener("click",function(){y=y.filter(function(t){return e!==t}),i(y)}),t.addChild(o),t.addChild(n),t}function o(e){return e.replace(/^\s+|\s+$/g,"")}function a(e){""===c.value||c.isPlaceholder||(y=y.concat(c.value.split(",").map(o)),i(y)),v.y=w+4+.5*((m.element.offsetHeight||25)-14)}function r(e){T&&(13===e.keyCode?""===c.value||c.isPlaceholder?y.length&&l():(a(c.value),c.value="",l()):(v.y=w+4+.5*((m.element.offsetHeight||25)-14),v.alpha=""===c.value||c.isPlaceholder?0:1,c.isPlaceholder=!1))}function l(t){c.value&&!c.isPlaceholder&&(y=y.concat(c.value.split(",").map(o))),y.length&&b.events.dispatchEvent("SEARCH_SUBMIT",Object.assign({},e.navEvent,{searchTerm:y.join(","),searchSubmit:!0}))}function s(e){Ca.isInputFocus=!1,""===c.value&&b.setMessage("Search")}function d(e){Ca.isInputFocus=!0,c.isPlaceholder&&(c.value="")}var c,h,u,p,m,a,v,g,f,b=new ba({events:e.events}),C=.9*Ca.width>800?800:.9*Ca.width,w=78,y=e.tags||[],L=!(!Ai.inputOverlayFontColor||!Ai.inputOverlayBarColor),S=!(!Ai.menuOverlayFontColor||!Ai.menuOverlayBgColor);L?(g=Ai.inputOverlayFontColor,f=Ai.inputOverlayBarColor):S?(g=Ai.menuOverlayFontColor,f=Ai.menuOverlayBgColor):(g="#000000",f="#FFFFFF");var x,M,T,E=Ai.inputOverlayBgColor||Ai.menuOverlayBgColor||"#000000",z=Ai.inputOverlayBgAlpha||Ai.menuOverlayBgAlpha||.5;return b.updateSpeed=0,b.addEventListener(Lo,function(e){}),b.updatePosition=function(e){C=.9*Ca.width>800?800:.9*Ca.width,u.x=C-u.width-24,c.width=C-w-92,h.width=C,m.width=C,v.y=w+4+.5*((m.element.offsetHeight||25)-14),b.width=C,b.x=Sa.mediaView.x()+.5*(Sa.mediaView.width()-C),b.y=Sa.mediaView.y()+.5*(Sa.mediaView.height()-w),b.updateSpeed=yo},b.setMessage=function(e){c.value=e,c.isPlaceholder=!0},b.setTags=function(e){y=e},b.setSortBy=function(e){},b.close=function(){T=!1,c.removeEventListener(fn,r),u.removeEventListener(Tn,l),p.close()},b.blur=function(){c.element.blur()},b.open=function(t){t&&(e.section=t),p.open(),i(y),setTimeout(function(){c.addEventListener(fn,r),u.addEventListener(Tn,l)},100),T=!0},t(),b}function Pe(e,t,i){var n=new De({type:i.type,hRange:i.hRange,vRange:i.vRange,width:i.width||e.width,height:i.height||e.height,disableOrientationCheck:i.disableOrientationCheck}),o=new xe({hRange:i.hRange,vRange:i.vRange,hAlign:i.hAlign,vAlign:i.vAlign,width:n.width,height:n.height}),a={x:Math.round(o.x),y:Math.round(o.y),width:n.width,height:n.height,onComplete:i.onComplete,onCompleteParams:i.onCompleteParams,onCompleteScope:i.onCompleteScope,onUpdate:i.onUpdate,onUpdateParams:i.onUpdateParams,onUpdateScope:i.onUpdateScope,onInit:i.onInit,onInitScope:i.onInitScope,onInitParams:i.onInitParams};return i.onComplete&&(a.onComplete=i.onComplete),e&&qe(e,t,a),{scale:n,align:o}}function He(e){function t(e){var t=e.match(/[@]([0-9]*\.?[0-9]+)?[x]/i),i=e.match(/__at__([0-9]*\.?[0-9]+)?x/i);return t?Number(t[1]):i?Number(i[1]):1}var i=e.width,n=e.height,o=t(e.filename);return{width:Math.round(i/o),height:Math.round(n/o)}}function De(e){function t(){return m=d/c,"fit"===l||"native"===l?m
p}function i(){p=h/u,n(),"fitWidth"===e.type||t()?(h=d,u=d/p):c?(h=c*p,u=c):(h=d,u=d/p),"native"===e.type&&(h>e.width||u>e.height)&&(h=e.width,u=e.height)}function n(){s||o(h,u,d,c)||r(h,u)||(l="fit")}function o(e,t,i,n){return a(e,t)===a(i,n)}function a(e,t){return e>t}function r(e,t){return e===t}e=e||{};var l=e.type||"fit",s=e.disableOrientationCheck||!1,d=e.hRange,c=e.vRange,h=e.width||0,u=e.height||0,p=-1,m=-1;return i(),{set hRange(e){d=e},set vRange(e){c=e},set type(e){l=e},get type(){return l},set width(e){h=e},set height(e){u=e},get width(){return h},get height(){return u}}}function Re(e,t,i){function n(e,t){e>t?u.alignSave||(u.alignSave=u.align,u.align="width"===u.dim?"left":"top",l=u.alignment()):(u.alignSave&&(u.align=u.alignSave,delete u.alignSave),l=u.alignment())}function o(e,t){e